:root{--ink:#173b36;--muted:#5b665f;--blue:#205f55;--yellow:#efb84c;--border:#deded5;--bg:#f6f4ee;--green:#125b38;--red:#a11e29;font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.5;color-scheme:light}
*{box-sizing:border-box}body{margin:0;padding-bottom:100px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation;transition:background .15s,color .15s}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:var(--blue)}:focus-visible{outline:3px solid #286be0;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;overflow-wrap:anywhere}
button,.primary,.outline,.whatsapp{border-radius:10px;min-height:48px;padding:12px 18px;font-weight:700;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary{border:0;background:var(--yellow);color:var(--ink)}.primary:hover{background:#f4ca77}.outline{border:1px solid var(--border);background:white;color:var(--ink)}.outline:hover{background:var(--bg)}.text-button{border:0;background:transparent;color:var(--blue);text-decoration:underline;padding:10px}.icon-button{width:48px;padding:0;font-size:28px;border:1px solid var(--border);background:white;flex-shrink:0}
.skip{position:absolute;top:-100px}.skip:focus{top:5px;left:5px;z-index:100;background:white;padding:15px}.top{max-width:1240px;margin:auto;min-height:100px;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:21px;letter-spacing:.02em;line-height:1.1}.brand b{display:block;font-size:27px;font-weight:900;letter-spacing:.07em}.brand small{font-size:10px;letter-spacing:.13em;display:block;margin-top:6px}.contact{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:700;color:var(--ink);padding:12px;background:var(--bg);border-radius:10px}.contact span:first-of-type{color:var(--green)}
.hero{background:var(--ink);color:white;padding:34px max(32px,calc((100vw - 1176px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.09em;margin-bottom:10px}.hero .eyebrow{color:#edf0e9}.hero h1{font-size:clamp(30px,3.5vw,46px);letter-spacing:-.03em}.hero h1 span{color:var(--yellow)}.hero p:last-child{margin-top:14px;max-width:540px;color:#edf0e9;font-size:17px}.hero-detail{display:flex;align-items:center;gap:24px;font-size:23px;line-height:1.2;opacity:.9;white-space:nowrap}.hero-detail>span{border:5px solid var(--yellow);border-radius:50%;height:100px;width:100px;display:grid;place-items:center;font-weight:900;font-size:35px;color:var(--yellow);transform:rotate(-12deg)}
.catalog-section{max-width:1240px;margin:auto;padding:0 32px 35px}.search-zone{padding:26px 0 16px;position:sticky;top:0;background:white;z-index:5}.search-zone>label{display:block;font-size:22px;font-weight:800;margin-bottom:10px}.search-box{border:2px solid var(--ink);border-radius:13px;padding:6px 6px 6px 18px;display:flex;align-items:center;gap:12px;box-shadow:0 3px 0 #173b360b}.search-box svg{width:27px;height:27px;fill:none;stroke:var(--ink);stroke-width:2.3;flex-shrink:0}.search-box input{width:100%;min-width:0;border:0;outline:0;min-height:46px;background:transparent;font-size:18px;color:var(--ink)}.search-box:focus-within{outline:3px solid #9dbcf5;outline-offset:2px}.search-zone>p{color:var(--muted);font-size:14px;margin-top:8px}
.filters{border-bottom:1px solid var(--border);padding:4px 0 22px;display:flex;gap:20px;justify-content:space-between;align-items:start}.filters fieldset{border:0;padding:0;margin:0;min-width:0}.filters legend,.brand-filter label{font-size:13px;display:block;font-weight:700;margin-bottom:9px;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:44px;padding:8px 13px;background:var(--bg);color:var(--ink);font-size:14px;border:1px solid var(--border);border-radius:8px;white-space:normal;text-align:left}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.brand-filter{flex-shrink:0}.brand-filter select{display:block;max-width:100%;min-height:44px;padding:8px 28px 8px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.brand-filter .text-button{font-size:13px;padding:8px 0;min-height:40px}
.results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:25px 0 8px}.results-head h2{font-size:23px}.results-head p{color:var(--muted);font-size:14px;margin-top:5px}.results-head button{font-size:13px;padding:8px 12px;min-height:44px}.status-line{color:var(--muted);font-size:13px;padding-bottom:20px}.status-line.offline{color:var(--red);font-size:15px;font-weight:700}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{border:1px solid var(--border);border-radius:15px;overflow:hidden;display:flex;flex-direction:column;background:white}.product-image{aspect-ratio:4/3;background:#f4f6f8;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;display:block}.photo-note{position:absolute;left:10px;bottom:8px;color:#46556b;background:#ffffffeb;padding:3px 7px;border-radius:5px;font-size:12px}.product-body{padding:20px;display:flex;flex-direction:column;flex:1;gap:10px}.product .category{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}.product h3{font-size:18px;font-weight:700;line-height:1.35}.sku{font-family:Consolas,'Courier New',monospace;font-size:15px;font-weight:700;color:var(--blue);overflow-wrap:anywhere}.part-brand{font-size:13px;color:var(--muted)}.stock{font-size:14px;color:var(--green);font-weight:700;display:flex;gap:7px;align-items:center;margin-top:auto;padding-top:6px}.stock::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}.stock.none{color:var(--red)}.product button{border:1px solid var(--ink);background:white;color:var(--ink);margin-top:5px;width:100%;font-size:15px}.product button:hover{background:var(--ink);color:white}.product button.selected{background:#edf3ff;border-color:#c0d0ec;color:#205f55}.product button:disabled{background:var(--bg);border-color:var(--border);color:var(--muted)}.similar-label{display:inline-block;font-size:13px;padding:4px 8px;background:#fff3cf;color:#6d4c00;border-radius:5px;margin-top:8px}
.empty{grid-column:1/-1;padding:30px;background:var(--bg);border-radius:12px;color:var(--muted)}.help-card{padding:25px;background:#f0f4fc;border:1px solid #d6e2f4;border-radius:14px;margin-top:20px}.help-card p{margin:10px 0 18px;color:var(--muted)}.how{background:var(--bg);padding:32px max(32px,calc((100vw - 1176px)/2))}.how h2{font-size:24px}.how ol{list-style:none;padding:0;margin:23px 0 0;display:flex;gap:30px;justify-content:space-between}.how li{display:flex;gap:12px;align-items:flex-start}.how li>span{background:var(--ink);color:white;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;font-weight:700}.how p{font-size:14px;color:var(--muted);margin-top:4px}
footer{max-width:1240px;margin:auto;padding:30px 32px;color:var(--muted);font-size:13px}footer>b{color:var(--ink);font-size:16px}footer p{margin-top:10px;max-width:670px}footer a{color:var(--ink)}.owner-link{display:inline-block;padding:15px 0;font-size:12px}.cart-bar{background:var(--ink);color:white;position:fixed;bottom:0;left:0;right:0;z-index:15;min-height:90px;padding:16px max(24px,calc((100vw - 1176px)/2));padding-bottom:max(16px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 -4px 22px #173b361a}.cart-bar small{display:block;color:#e2e7df;font-size:13px;margin-top:4px}.cart-bar b{font-size:18px}.cart-bar.has-items{background:#113c2a}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:var(--ink);color:white;padding:14px 20px;border-radius:10px;z-index:40;box-shadow:0 8px 25px #0002}
dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 32px);border:0;border-radius:18px;padding:25px;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#173b36a6}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.dialog-head h2{font-size:26px}.dialog-head .eyebrow{color:var(--muted);margin-bottom:5px}.cart-line{padding:17px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;justify-content:space-between}.cart-line>div:first-child{min-width:0}.cart-line small{display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.quantity{display:flex;gap:8px;align-items:center;flex-shrink:0}.quantity button{padding:0;min-height:44px;width:44px;border:1px solid var(--border);background:var(--bg);font-size:22px}.quantity span{min-width:21px;text-align:center;font-weight:700}
.field{display:block;font-weight:700;margin-top:20px}.field small{font-weight:400;color:var(--muted)}input,textarea,select{border:1px solid #b6c1d1;border-radius:9px;padding:12px;background:white;color:var(--ink)}.field input,.field textarea,.field select{display:block;width:100%;margin-top:8px;min-height:48px;font-weight:400;resize:vertical}.field textarea{min-height:95px}.message-note{background:var(--bg);padding:13px 15px;margin:20px 0 12px;border-radius:8px;font-size:14px}.whatsapp{background:#146c43;color:white;width:100%;border:0;font-size:16px;margin-top:8px}.whatsapp[aria-disabled=true]{opacity:.5;pointer-events:none}.small{font-size:13px;margin-top:10px}.muted{color:var(--muted)}.error{color:var(--red);font-weight:700;font-size:14px}
.login-card,.admin-main{width:min(850px,100%);margin:28px auto;padding:24px}.login-card{max-width:470px;background:var(--bg);border:1px solid var(--border);border-radius:15px}.login-card h1{font-size:29px;margin-bottom:10px}.login-card button{width:100%;margin-top:20px}.admin-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:24px 0}.admin-toolbar input{flex:1;min-width:180px}.admin-row{padding:18px;border:1px solid var(--border);border-radius:12px;margin-top:13px;display:flex;gap:15px;align-items:center}.admin-info{flex:1;min-width:0}.admin-info p{font-size:14px;color:var(--muted);margin-top:5px}.stock-editor{display:flex;align-items:end;gap:8px}.stock-editor label{font-size:13px}.stock-editor input{display:block;width:95px;min-height:48px;margin-top:5px}.admin-row>button{font-size:13px}.admin-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-title h1{font-size:30px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.check-field{display:flex;align-items:center;gap:10px;margin:20px 0}.check-field input{width:22px;height:22px}.admin-dialog-actions{display:flex;gap:10px;margin-top:20px}.admin-dialog-actions button{flex:1}[hidden]{display:none!important}
.product{border-top:4px solid var(--blue)}.product[data-type="Cables de freno"]{border-top-color:#b97c08}.product[data-type="Cables de embrague"]{border-top-color:#11747b}.product[data-type="Bombas auxiliares"]{border-top-color:#714baa}.vehicle-badge{position:absolute;top:10px;left:10px;background:#173b36;color:#fff;font-weight:700;font-size:12px;padding:5px 9px;border-radius:5px;max-width:calc(100% - 20px);overflow-wrap:anywhere}
@media(min-width:1500px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-detail{display:none}.filters{flex-direction:column;gap:15px}.brand-filter{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}.brand-filter label{margin:0}.brand-filter select{min-width:180px}.how ol{gap:18px}.how li{flex:1}.admin-row{flex-wrap:wrap}.admin-info{flex-basis:calc(100% - 80px)}}
@media(max-width:580px){body{padding-bottom:100px}.top{min-height:82px;padding:16px;gap:8px}.brand{font-size:16px;gap:9px}.brand b{font-size:22px}.brand img{width:42px;height:42px}.brand small{font-size:8px}.contact{font-size:13px;padding:10px;gap:4px;display:block;text-align:right;background:transparent}.contact span:first-of-type{display:block;font-size:14px}.contact span:last-child{display:none}.hero{padding:24px 20px}.hero h1{font-size:31px}.hero .eyebrow{font-size:10px;margin-bottom:10px}.hero p:last-child{font-size:15px;margin-top:12px}.catalog-section{padding:0 16px 26px}.search-zone{padding:20px 0 12px}.search-zone>label{font-size:21px}.search-box{padding:5px 5px 5px 12px;gap:7px}.search-box input{font-size:16px;min-height:46px}.search-box svg{width:24px;height:24px}.search-box button{padding:12px 14px;font-size:14px}.search-zone>p{font-size:13px;line-height:1.4}.chip{font-size:13px;padding:8px 10px}.chips{gap:7px}.brand-filter{gap:8px}.brand-filter label{font-size:12px}.brand-filter select{min-width:150px;font-size:14px;padding-right:22px}.brand-filter .text-button{margin-left:auto}.results-head h2{font-size:20px}.results-head button{font-size:12px;max-width:100px;line-height:1.25}.grid{grid-template-columns:1fr;gap:15px}.product{display:grid;grid-template-columns:125px minmax(0,1fr);padding:12px;gap:12px;overflow:visible}.product-image{border-radius:10px;aspect-ratio:1/1;align-self:start;margin-top:2px}.photo-note{left:4px;right:4px;bottom:4px;font-size:10px;padding:2px;text-align:center}.product-body{padding:0;gap:7px}.product .category{font-size:10px;line-height:1.3}.product h3{font-size:16px;line-height:1.35}.product .sku{font-size:13px}.part-brand{font-size:12px}.stock{font-size:13px;line-height:1.3;padding-top:0}.product button{font-size:14px;padding:10px 7px;min-height:46px;margin-top:3px}.how{padding:26px 20px}.how ol{flex-direction:column;gap:21px}.how h2{font-size:23px}footer{padding:25px 20px}.cart-bar{padding:13px 16px;gap:10px;padding-bottom:max(13px,env(safe-area-inset-bottom))}.cart-bar b{font-size:15px}.cart-bar small{font-size:11px;max-width:170px}.cart-bar button{font-size:14px;padding:12px 13px;white-space:nowrap}dialog{padding:20px 17px;max-height:calc(100dvh - 20px)}.dialog-head h2{font-size:25px}.cart-line{align-items:flex-start;gap:10px;flex-wrap:wrap}.quantity{margin-left:auto}.admin-main,.login-card{padding:18px}.login-card{width:calc(100% - 32px)}.admin-title h1{font-size:25px}.admin-grid{grid-template-columns:1fr}.admin-row{padding:14px;gap:10px}.stock-editor{width:100%}.stock-editor input{width:100px}.admin-row>button{margin-left:auto}.status-line{line-height:1.4}}
@media(max-width:580px){.product .category{font-size:12px}.product .sku{font-size:14px}.product .stock{font-size:14px}.photo-note{font-size:12px;line-height:1.25}.part-brand{font-size:13px}.vehicle-badge{top:6px;left:6px;font-size:11px;padding:4px 6px;max-width:calc(100% - 12px)}}
@media(max-width:350px){.product{grid-template-columns:95px minmax(0,1fr);gap:10px}.brand b{font-size:19px}.contact span:first-of-type{font-size:12px}.search-box button{padding:12px 9px}.brand-filter select{min-width:140px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Brand v3: simple rotor/letter A, warm paper, dark petrol and one amber action accent. */
body{background:#fbfaf7}.top{background:#fbfaf7;min-height:108px}.brand{gap:13px;font-size:16px;font-weight:600;letter-spacing:.1em}.brand b{font-size:29px;letter-spacing:.04em;line-height:1.1}.brand small{font-size:9px;letter-spacing:.1em;font-weight:500}.top-nav{display:flex;align-items:center;gap:14px}.inventory-entry{display:flex;align-items:center;gap:10px;padding:9px 14px;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:var(--ink);font-size:14px;font-weight:700;background:#fff;min-height:48px}.inventory-entry small{display:block;font-size:11px;font-weight:400;color:var(--muted)}.inventory-entry svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.inventory-entry:hover{background:var(--bg)}.contact{background:transparent;font-size:14px}.hero{background:#173b36;padding-top:32px;padding-bottom:32px;position:relative;overflow:hidden}.hero h1{font-weight:750;letter-spacing:-.035em;max-width:720px}.hero p:last-child{max-width:600px}.hero-detail{gap:16px}.hero-detail img{width:112px;height:112px;opacity:.95}.hero-detail b{font-size:30px;letter-spacing:.04em;line-height:1.05}.hero-detail small{display:block;font-size:11px;letter-spacing:.15em;margin-top:10px;color:#e2e7df}.catalog-section{background:#fbfaf7}.search-zone{background:#fbfaf7}.search-box{background:#fff;box-shadow:0 5px 18px #173b3608}.chip{background:#fff}.chip[aria-pressed=true]{background:var(--ink)}.product{border-radius:16px;box-shadow:0 6px 22px #173b3605}.product button{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.product button:hover{background:#f4ca77;border-color:#f4ca77;color:var(--ink)}.product button.selected{background:#eaf1ea;border-color:#c9d9ce;color:#173b36}.product[data-type="Bombas de embrague"]{border-top-color:#205f55}.product[data-type="Bombas auxiliares"]{border-top-color:#6c7b65}.product[data-type="Cables de embrague"]{border-top-color:#557b79}.product-image{background:#f4f5f2}.how{border-top:1px solid var(--border);background:#f0f1e9}.admin-steps{list-style:none;padding:14px;margin:20px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:var(--bg);border-radius:12px;font-size:14px;color:var(--muted)}.admin-steps li{display:flex;align-items:center;gap:8px}.admin-steps b{width:25px;height:25px;border-radius:50%;background:var(--ink);color:white;display:grid;place-items:center;flex-shrink:0;font-size:12px}.stock-stepper{display:flex;gap:6px;align-items:center;margin-top:5px}.stock-step{width:44px;min-width:44px;min-height:48px;padding:0;border:1px solid var(--border);background:var(--bg);color:var(--ink);font-size:24px;border-radius:9px}.stock-step:hover{background:#e5e9dc}.stock-editor input{width:78px;margin:0;text-align:center;min-height:48px;padding:9px}.stock-editor label{font-size:13px}.login-card{background:#fff}.admin-row{background:#fff}.admin-main{max-width:1000px}
@media(max-width:950px){.hero-detail{display:none}}
@media(max-width:580px){.top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 10px;min-height:0;padding:16px}.top-nav{display:contents}.brand{grid-column:1;grid-row:1;font-size:13px;gap:9px}.brand b{font-size:23px}.brand img{width:47px;height:47px}.brand small{font-size:8px;letter-spacing:.02em}.contact{grid-column:2;grid-row:1;padding:0;font-size:12px}.contact span:first-of-type{font-size:14px}.inventory-entry{grid-column:1/-1;grid-row:2;justify-content:center;min-height:44px;padding:8px 10px;font-size:13px}.inventory-entry small{display:inline;margin-left:8px;font-size:11px}.inventory-entry svg{width:17px;height:17px}.hero{padding:23px 20px}.hero h1{font-size:29px}.hero p:last-child{font-size:15px}.product{box-shadow:0 4px 14px #173b3605}.stock-editor{display:grid;grid-template-columns:1fr;gap:10px;align-items:stretch}.stock-stepper{max-width:270px;justify-content:space-between}.stock-editor input{flex:1;min-width:0;width:100px}.stock-editor>button{width:100%}.admin-steps{font-size:12px;gap:8px;padding:12px}.admin-steps li{gap:5px;align-items:flex-start}.admin-steps b{width:22px;height:22px;font-size:11px}}
@media(max-width:350px){.brand b{font-size:20px}.contact span:first-of-type{font-size:13px}.brand img{width:43px;height:43px}.hero h1{font-size:26px}.inventory-entry small{font-size:10px;margin-left:5px}}
