/* Shinpo POS · storefront v0.9. Editorial retail aesthetic, not dashboard UI. */
.theme-emerald{--accent:#245a48;--ink:#252820;--soft:#f5f4ef}
.theme-blue{--accent:#304e68;--ink:#222e37;--soft:#f4f6f7}
.theme-terracotta{--accent:#8d4c35;--ink:#372923;--soft:#faf5f1}
.theme-charcoal{--accent:#323232;--ink:#202020;--soft:#f5f4f2}
.font-modern{--store-font:system-ui,-apple-system,'Segoe UI',sans-serif}
.font-classic{--store-font:Georgia,'Times New Roman',serif}
.font-friendly{--store-font:'Trebuchet MS',Verdana,sans-serif}
.font-editorial{--store-font:'Palatino Linotype',Palatino,Georgia,serif}
.font-compact{--store-font:Arial,Helvetica,sans-serif}
.scale-small{--store-size:14px}.scale-normal{--store-size:16px}.scale-large{--store-size:18px}
.store-body{background:#fff;color:var(--ink);font-family:var(--store-font);font-size:var(--store-size);margin:0;line-height:1.5}
.store-body *, .store-body *::before,.store-body *::after{box-sizing:border-box}
.store-body [hidden]{display:none!important}
.store-announcement{background:var(--ink);color:white;text-align:center;font-size:.77em;letter-spacing:.07em;padding:8px 14px}
.store-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:clamp(14px,3vw,36px);background:#fff;border-bottom:1px solid #e9e8e3;padding:14px max(20px,calc((100vw - 1320px)/2));box-shadow:0 2px 18px #00000004}
.brand-pill{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);white-space:nowrap;font-size:1.12em}
.brand-pill strong{font-weight:750;letter-spacing:-.04em}
.brand-logo{height:45px;width:auto;max-width:160px;object-fit:contain}.brand-symbol{color:var(--accent);font-size:1.8em;font-weight:700}
.search-holder{position:relative;flex:1;max-width:590px;margin-left:auto}
.top-search{display:flex;align-items:center;gap:10px;border:1px solid #deded9;background:#fafaf8;padding:10px 17px;border-radius:4px}
.top-search:focus-within{outline:2px solid var(--accent);outline-offset:1px}
.top-search span{font-size:1.5em;line-height:1;color:#777}
.top-search input{border:0;background:transparent;outline:none;width:100%;font:inherit;min-width:0}
.search-results{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:80;background:white;border:1px solid #e8e8e3;box-shadow:0 18px 50px #11111122;border-radius:7px;overflow:hidden;max-height:380px;overflow-y:auto}
.search-result-item{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%;border:0;border-bottom:1px solid #f0f0ee;background:#fff;text-align:left;padding:14px 18px;cursor:pointer;color:var(--ink);font:inherit}
.search-result-item:hover,.search-result-item:focus{background:#f3f5f0}
.search-result-item strong{white-space:nowrap;font-size:.9em}.search-empty{padding:8px 18px;color:#777}
.store-account,.store-cart-button{border:0;background:none;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;padding:8px}
.store-cart-button{display:flex;align-items:center;gap:8px;font-weight:650}.store-cart-button span{background:var(--accent);color:white;display:inline-grid;place-items:center;border-radius:50%;min-width:26px;height:26px;padding:0 5px;font-size:.75em}
.store-wrap{max-width:1320px;padding:0 24px;margin:auto}
.hero{min-height:clamp(270px,36vw,510px);display:flex;align-items:center;margin:25px 0 10px;padding:clamp(30px,6vw,90px);color:#fff;background:linear-gradient(105deg,#344f42,#6f8d75);border-radius:2px}
.hero-with-image{background:linear-gradient(95deg,#0009,#0001),var(--hero-image) center/cover no-repeat}
.hero-copy{max-width:650px}.hero-copy small{letter-spacing:.2em;text-transform:uppercase;font-size:.7em;color:#fff;opacity:.85}
.hero h1{font-family:var(--store-font);font-weight:650;line-height:1.09;letter-spacing:-.045em;font-size:clamp(2.1em,4.8vw,4.6em);margin:16px 0}
.hero p{font-size:1.02em;line-height:1.6;max-width:480px;color:#f3f4ee}
.shop-cta{display:inline-block;margin-top:16px;background:#fff;color:#242b25;padding:13px 22px;text-decoration:none;font-size:.88em;letter-spacing:.015em;font-weight:650;border-radius:2px}
.store-address{color:#777;padding:15px 0 10px;font-size:.82em}
.store-grid{display:block}.toolrow{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #e6e6e1;padding-bottom:12px;gap:16px;margin-top:38px}
.section-eyebrow{font-size:.68em;text-transform:uppercase;letter-spacing:.16em;color:var(--accent)}.toolrow h2{font-weight:650;letter-spacing:-.04em;font-size:clamp(1.5em,2.5vw,2.2em);margin:5px 0}
.toolrow .muted{font-size:.8em;color:#999}.category-bar{display:flex;flex-wrap:wrap;gap:9px;padding:21px 0 25px}
.category-chip{border:1px solid #d9dbd4;background:#fff;border-radius:2px;padding:9px 15px;cursor:pointer;font:inherit;font-size:.78em;color:#464a43}
.category-chip.active,.category-chip:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 19px;padding-bottom:30px}
.product-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:0;border:0;box-shadow:none;border-radius:0;background:white}
.product-card .store-product-image{width:100%;aspect-ratio:1 / 1;height:auto;object-fit:contain;background:#f6f6f3;display:block;border-radius:1px;margin:0 0 8px}
.product-card:not(:has(img))::before{content:'Imagen próximamente';display:grid;place-items:center;text-align:center;color:#9da49e;background:#f6f6f3;aspect-ratio:1 / 1;font-size:.75em}
.product-card strong{font-weight:550;line-height:1.35;font-size:.89em;min-height:unset}
.product-card .price{font-size:.98em;color:var(--ink);font-weight:750}.product-card small{color:#8a8a84;font-size:.7em}
.product-card button{background:transparent;color:var(--accent);border:1px solid #cccfc7;padding:10px 12px;font:inherit;font-size:.78em;cursor:pointer;margin-top:5px;border-radius:2px}
.product-card button:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.store-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;color:#85857e;border-top:1px solid #e8e8e2;padding:35px 0;font-size:.77em;margin-top:35px}
.store-footer strong{color:var(--ink)}
.cart-backdrop{position:fixed;inset:0;background:#171a18a8;z-index:90}
.basket{position:fixed!important;z-index:100;right:0;top:0;bottom:0;width:min(100%,470px);padding:28px 30px;background:#fff;box-shadow:-16px 0 70px #0002;overflow-y:auto;transform:translateX(105%);transition:transform .25s ease;border:0;border-radius:0!important}
.basket.is-open{transform:translateX(0)}.cart-open{overflow:hidden}.drawer-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e7e7e4;padding-bottom:14px}
.drawer-heading h2{font-size:1.35em;font-weight:650;letter-spacing:-.03em}.drawer-close{border:0;background:none;font-size:1.3em;cursor:pointer;padding:8px}
.cart-line{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:13px 0;gap:12px;font-size:.87em}
.cart-lines{max-height:240px;overflow:auto}.total-line{display:flex;justify-content:space-between;padding:15px 0}.grand{border-top:1px solid #ddd}.grand strong{font-size:1.7em}
.basket .stack{display:grid;gap:12px}.basket input,.basket select{width:100%;padding:11px;border:1px solid #ddd;border-radius:2px;font:inherit}.basket label{font-size:.83em;display:grid;gap:5px}
.basket button.primary{background:var(--ink);color:white;border:0;padding:15px 20px;width:100%;font:inherit;cursor:pointer;border-radius:2px}
.basket button.quiet,.store-body .quiet{background:white;color:var(--ink);border:1px solid #ddd;padding:9px;cursor:pointer;border-radius:2px}
.fulfillment-tabs{display:flex;gap:10px}.fulfillment-tabs label{display:flex;align-items:center;flex:1;gap:6px;font-size:.75em;background:#f7f7f4;padding:12px}.fulfillment-tabs input{width:auto}.pickup-details{font-size:.82em;padding:12px;background:#f5f5f0}
.toast{position:fixed;z-index:200;bottom:22px;right:22px;background:var(--ink);color:#fff;padding:14px 18px;max-width:340px;font-size:.85em}
.store-body dialog{border:0;border-radius:4px;box-shadow:0 15px 80px #0005;max-width:400px;width:calc(100% - 32px);padding:25px}.store-body dialog::backdrop{background:#1117}
.store-body .btnline{display:flex;gap:8px}.store-body .btnline button{flex:1}.store-body .muted{color:#838981}.store-body .tiny{font-size:.72em}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-top{flex-wrap:wrap}.search-holder{order:4;max-width:none;flex-basis:100%}.hero{padding:35px;min-height:270px}}
@media(max-width:600px){.store-top{gap:8px 12px;padding:12px 14px}.store-wrap{padding:0 15px}.brand-logo{height:37px}.brand-pill strong{font-size:.95em}.store-account{margin-left:auto}.hero{margin-top:14px;padding:28px 24px;min-height:250px}.hero h1{font-size:2.1em}.toolrow .muted{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 13px}.category-bar{flex-wrap:nowrap;overflow-x:auto}.category-chip{white-space:nowrap}.basket{padding:20px}.store-footer{display:grid;gap:7px}}
@media(prefers-reduced-motion:reduce){.basket{transition:none}}
