:root{color-scheme:light;--ink:#172433;--muted:#637384;--line:#e2e8ee;--accent:#e96b32;--accent-dark:#c94d1b;--bg:#f5f7f8;--card:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}button,input{font:inherit}button{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.shop-header{background:#111b26;color:#fff;padding:calc(16px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 26px max(18px,env(safe-area-inset-left))}.brand-line{display:flex;align-items:center;gap:10px;max-width:1100px;margin:auto}.brand-line img{object-fit:cover;border-radius:13px;border:1px solid #ffffff36}.brand-line>div{display:flex;flex-direction:column;line-height:1.15}.brand-line strong{font-size:19px;letter-spacing:.03em}.brand-line span{font-size:11px;color:#b5c5d2;margin-top:4px}.header-cart{margin-left:auto;border:1px solid #ffffff3a;border-radius:13px;background:#ffffff13;color:#fff;padding:10px 12px;font-size:12px}.header-cart b{display:inline-grid;place-items:center;background:var(--accent);border-radius:50%;width:19px;height:19px;margin-left:4px;font-size:11px}
.hero{max-width:1100px;margin:28px auto 0}.hero p{margin:0 0 6px;color:#ffad85;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hero h1{font-size:clamp(26px,5vw,42px);line-height:1.1;letter-spacing:-.03em;max-width:650px;margin:0 0 10px}.hero span{display:block;max-width:610px;color:#c2ced8;font-size:14px}
main{max-width:1100px;margin:auto;padding:18px max(14px,env(safe-area-inset-right)) calc(110px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.shop-controls{margin-bottom:14px}.search-box{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;height:48px;padding:0 14px;box-shadow:0 2px 10px #1724330b}.search-box input{border:0;outline:none;background:none;width:100%;color:var(--ink)}.search-box span:last-child{font-size:27px;color:#7e8b95;line-height:1}.categories{display:flex;gap:8px;overflow-x:auto;padding:13px 0 4px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{flex:none;border:1px solid #dce3e8;border-radius:100px;background:#fff;color:#394c5a;padding:8px 14px;font-size:12px;font-weight:700;white-space:nowrap}.categories button[aria-pressed=true]{color:#fff;border-color:#243d50;background:#243d50}.result-line{display:flex;align-items:baseline;justify-content:space-between;margin:14px 2px 8px}.result-line h2{font-size:20px;margin:0}.result-line span{color:var(--muted);font-size:12px}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{display:flex;flex-direction:column;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 3px 12px #17243308}.product-detail{text-align:left;border:0;background:none;color:inherit;padding:0;display:flex;flex-direction:column;min-width:0;flex:1}.product-media{height:190px;width:100%;display:grid;place-items:center;background:#edf0f1;overflow:hidden}.product-media img{width:100%;height:100%;object-fit:cover}.product-placeholder{font-size:38px;font-weight:900;color:#30475b;letter-spacing:.08em}.product-category{color:#b45024;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin:12px 12px 4px}.product-name{font-size:14px;line-height:1.25;margin:0 12px 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.product-unit{font-size:11px;color:var(--muted);margin:0 12px 12px}.product-purchase{padding:0 12px 12px;display:flex;flex-direction:column;gap:9px}.product-purchase>strong{font-size:17px}.inline-cart>button,.inline-stepper{height:37px;width:100%;border:0;border-radius:10px;background:var(--accent);color:#fff;font-size:12px;font-weight:800}.inline-stepper{display:flex;justify-content:space-between;align-items:center}.inline-stepper button{border:0;background:none;color:#fff;width:35px;height:37px;font-size:20px;line-height:1}.inline-stepper b{font-size:13px}.inline-cart>button:active,.dialog-bottom button:active{background:var(--accent-dark)}
.empty-results{padding:38px 10px;text-align:center;color:var(--muted)}.shop-help{border:1px solid var(--line);background:#fff;border-radius:16px;margin:20px 0 0;padding:17px 18px}.shop-help strong{font-size:15px}.shop-help p{color:var(--muted);font-size:13px;margin:5px 0 0}.cart-footer{position:fixed;z-index:10;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));max-width:600px;margin:auto;border:0;border-radius:15px;background:var(--accent);color:#fff;padding:15px 17px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 9px 30px #91370752;font-weight:700}.cart-footer strong{margin-left:auto;margin-right:14px}.cart-footer>span:last-child{font-size:21px}
.product-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:600px;max-height:92dvh;margin:auto;border:0;border-radius:20px 20px 0 0;padding:0;overflow-y:auto;background:#fff;box-shadow:0 -5px 40px #08121c44;color:var(--ink)}.product-dialog::backdrop{background:#0b1626a8}.dialog-close{position:absolute;z-index:1;right:12px;top:12px;border:0;border-radius:50%;width:34px;height:34px;font-size:25px;line-height:1;background:#ffffffdf;color:var(--ink)}.dialog-media{height:min(45dvh,370px);display:grid;grid-template-rows:minmax(0,1fr);place-items:center;overflow:hidden;background:#edf0f1}.dialog-media img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.dialog-media>span{font-size:70px;font-weight:900;color:#30475b}.dialog-body{padding:20px 20px calc(20px + env(safe-area-inset-bottom))}.dialog-category{font-size:11px;color:#b45024;text-transform:uppercase;font-weight:800;letter-spacing:.08em}.dialog-body h2{font-size:22px;line-height:1.2;margin:8px 0}.dialog-body p{color:var(--muted);margin:0 0 22px}.dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-bottom strong{font-size:22px}.dialog-bottom button{border:0;background:var(--accent);color:#fff;border-radius:12px;padding:13px 20px;font-weight:800}
@media(min-width:680px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-media{height:230px}.product-name{font-size:15px}.hero{margin-top:34px}.shop-header{padding-bottom:34px}}
@media(min-width:950px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-media{height:260px}}
@media(max-width:360px){.product-media{height:156px}.product-name{font-size:13px}.product-purchase>strong{font-size:15px}}
