/* cart button + drawer */
.cart-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-left:10px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;flex-shrink:0}
.cart-btn:hover{background:rgba(255,255,255,.14)}
.cart-btn svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8}
.cart-count{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--amber);color:var(--ink);font:700 .72rem/20px var(--sans);text-align:center}
.cart-count:empty{display:none}
@media (max-width:1020px){.cart-btn{margin-left:8px}.menu-toggle{margin-left:auto}}
.drawer-wrap{position:fixed;inset:0;z-index:100}
.drawer-wrap[hidden]{display:none}
.drawer-backdrop{position:absolute;inset:0;background:rgba(1,28,38,.55)}
.drawer{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.2);outline:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.drawer-head h2{margin:0;font-size:1.6rem}
.drawer-x{background:none;border:0;font-size:2rem;line-height:1;cursor:pointer;color:var(--fjord)}
.drawer-body{flex:1;overflow:auto;padding:10px 22px}
.drawer-foot{padding:18px 22px;border-top:1px solid var(--line)}
.drawer-foot .tot{display:flex;justify-content:space-between;font-size:1.1rem;margin-bottom:6px}
.cart-line{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-line img,.cart-line .ph-empty{width:76px;height:76px;object-fit:cover;border-radius:10px;background:var(--ice);flex-shrink:0}
.cl-body{flex:1;min-width:0}
.cl-name{font-weight:700;line-height:1.3}
.cl-desc{color:var(--muted);font-size:.88rem}
.cl-warn{color:#c0392b;font-size:.85rem}
.cl-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.cl-price{font-weight:700}
.stepper{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;overflow:hidden}
.stepper button{width:34px;height:34px;border:0;background:#fff;font-size:1.1rem;cursor:pointer;color:var(--fjord)}
.stepper button:disabled{opacity:.35;cursor:default}
.stepper span{min-width:30px;text-align:center;font-weight:600}
.link-btn{background:none;border:0;padding:6px 0 0;color:var(--muted);font:inherit;font-size:.85rem;text-decoration:underline;cursor:pointer}
.cart-empty{text-align:center;padding:40px 0}
.muted{color:var(--muted)}
.small{font-size:.85rem}
.center{text-align:center;margin-top:28px}

/* shop listing */
.shop-bar{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-bottom:18px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1.5px solid var(--line);background:#fff;color:var(--fjord);font:600 .9rem var(--sans);padding:9px 16px;border-radius:999px;cursor:pointer}
.chip:hover{border-color:var(--blue)}
.chip[aria-pressed=true]{background:var(--fjord);border-color:var(--fjord);color:#fff}
.shop-controls{display:flex;gap:10px;flex-wrap:wrap}
.shop-controls input,.shop-controls select{font:inherit;font-size:.95rem;padding:10px 14px;border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--text)}
.shop-controls input{min-width:220px}
#grid.dim{opacity:.55;transition:opacity .2s}
.product-card .ph{aspect-ratio:1/1;background:#f3f6f7}
.product-card .ph img{object-fit:contain;padding:10px;background:#fff}
.product-card .price{font-weight:700;color:var(--fjord)}
.product-card .price s{color:var(--muted);font-weight:400;margin-left:6px}
.product-card .opts{font-size:.85rem;color:var(--muted)}
.product-card .tags{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap}
.product-card .tags .tag{position:static}
.tag.soldout{background:var(--fjord);color:#fff}
.pc-actions{padding:0 20px 20px}
.pc-actions .btn{width:100%;justify-content:center}
.card.product-card{cursor:default}
.card.product-card:hover{transform:none}
.pc-link{display:block;text-decoration:none;color:inherit}
.state{padding:40px;text-align:center;background:var(--mist);border-radius:var(--r)}

/* product page */
.pdp{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;padding:40px 0 20px}
.crumbs{font-size:.9rem;color:var(--muted);margin:24px 0 0}
.crumbs a{color:var(--muted)}
.g-main{background:#fff;border:1px solid var(--line);border-radius:var(--r);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.g-main img{width:100%;height:100%;object-fit:contain}
.g-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.g-thumbs button{width:68px;height:68px;padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;cursor:pointer}
.g-thumbs button[aria-current=true]{border-color:var(--blue)}
.g-thumbs img{width:100%;height:100%;object-fit:cover}
.pdp-info h1{font-size:clamp(1.9rem,3.2vw,2.8rem);color:var(--fjord)}
.pdp-price{font-size:1.6rem;font-weight:700;color:var(--fjord);margin:14px 0 4px}
.pdp-price s{font-size:1.1rem;color:var(--muted);font-weight:400;margin-left:8px}
.opt-group{border:0;padding:0;margin:20px 0 0}
.opt-group legend{font-weight:700;margin-bottom:8px}
.opt-group .chips button[disabled]{opacity:.4;text-decoration:line-through;cursor:default}
.buy-row{display:flex;gap:12px;align-items:center;margin-top:24px;flex-wrap:wrap}
.buy-row .btn{flex:1;justify-content:center;min-width:200px}
.buy-row .btn[disabled]{opacity:.5;cursor:default;transform:none}
.blocked{color:var(--muted);margin-top:10px}
.pdp-desc{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}
.pdp-desc p{margin:0 0 .7em}
.info-sec{border-bottom:1px solid var(--line)}
.info-sec summary{cursor:pointer;font-weight:700;padding:14px 0;color:var(--fjord)}
.info-sec div{padding-bottom:14px}
.notify{display:flex;gap:8px;margin-top:14px}
.notify input{flex:1;font:inherit;padding:11px 14px;border:1.5px solid var(--line);border-radius:10px}
.shop-banner{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:var(--r);overflow:hidden;background:var(--fjord);color:#dcecf2}
.shop-banner .sb-img{min-height:320px;background:var(--img) center/cover}
.shop-banner .sb-txt{padding:48px}
.shop-banner h2{color:#fff;margin-top:0}
@media (max-width:860px){.pdp{grid-template-columns:1fr;gap:24px}.shop-banner{grid-template-columns:1fr}.shop-controls input{min-width:0;flex:1}}
.cta-btn{white-space:nowrap}
@media (min-width:1021px) and (max-width:1200px){.nav .cta-btn{display:none}}

/* shop filters – sidebar categories (gosup style) */
.shop-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.shop-side{position:sticky;top:96px}
.shop-cats{border:1px solid var(--line);border-radius:var(--r-sm);background:#fff}
.shop-cats summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;font-weight:600;color:var(--fjord)}
.shop-cats summary::-webkit-details-marker{display:none}
.shop-cats__ico{transition:transform .2s}
.shop-cats[open] .shop-cats__ico{transform:rotate(180deg)}
.shop-cats nav{padding:0 8px 10px;max-height:calc(100vh - 190px);overflow:auto}
.cat-group{padding:6px 0;border-top:1px solid var(--line)}
.cat-group:first-child{border-top:0}
.cat-group__t{margin:8px 10px 4px;font:700 .74rem var(--sans);text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.cat{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;border-radius:8px;background:none;font:500 .93rem/1.35 var(--sans);color:var(--text);text-align:left;cursor:pointer}
.cat:hover{background:var(--mist)}
.cat[aria-pressed=true]{background:var(--fjord);color:#fff}
.cat small{font-size:.78rem;color:var(--muted)}
.cat[aria-pressed=true] small{color:#cfe3ea}
.shop-main{min-width:0}
.shop-count{margin:0}
@media (max-width:900px){.shop-layout{grid-template-columns:1fr;gap:16px}.shop-side{position:static}.shop-cats nav{max-height:none}}
.shop-main .cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
