/* ============================================================
   HELIXIUS SHOP — storefront styles (extends styles.css vars)
   ============================================================ */

/* ---------- Shop header ---------- */
.shop-head{position:sticky;top:0;z-index:1000;background:var(--navy);color:#fff;box-shadow:0 6px 24px -14px rgba(0,0,0,.5)}
.shop-head .row1{display:flex;align-items:center;gap:1.4rem;height:72px}
.shop-brand{display:flex;align-items:center;gap:.6rem;font-family:var(--ff-head);font-weight:800;font-size:1.35rem;color:#fff;flex:none}
.shop-brand img{width:40px;height:40px}
.shop-brand .tm{font-size:.55rem;vertical-align:super;color:var(--orange)}
.shop-search{flex:1;display:flex;align-items:center;background:#fff;border-radius:12px;overflow:hidden;max-width:620px;height:46px}
.shop-search svg{width:20px;height:20px;color:var(--slate);margin:0 .4rem 0 .9rem;flex:none}
.shop-search input{flex:1;border:0;outline:none;font-family:var(--ff-body);font-size:.97rem;color:var(--ink);padding:0 .4rem}
.shop-search button{border:0;background:var(--tan);color:var(--navy);font-family:var(--ff-head);font-weight:600;font-size:.92rem;padding:0 1.3rem;height:100%;cursor:pointer;transition:.2s}
.shop-search button:hover{background:var(--tan-deep);color:#fff}
.shop-head-actions{display:flex;align-items:center;gap:.4rem;flex:none}
.head-btn{display:inline-flex;align-items:center;gap:.5rem;color:#cdd8ec;font-family:var(--ff-head);font-weight:500;
  font-size:.9rem;padding:.5rem .8rem;border-radius:10px;cursor:pointer;background:none;border:0;transition:.2s;text-decoration:none}
.head-btn:hover{background:rgba(255,255,255,.1);color:#fff}
.head-btn svg{width:22px;height:22px}
.head-btn .cart-wrap{position:relative}
.cart-count{position:absolute;top:-8px;right:-9px;background:var(--orange);color:#fff;font-size:.66rem;font-weight:700;
  font-family:var(--ff-head);min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;
  border:2px solid var(--navy);transition:transform .25s}
.cart-count.bump{animation:bump .4s}
@keyframes bump{0%,100%{transform:scale(1)}40%{transform:scale(1.5)}}
.shop-head .row2{display:flex;align-items:center;gap:.3rem;height:46px;border-top:1px solid rgba(255,255,255,.1);overflow-x:auto}
.shop-head .row2::-webkit-scrollbar{display:none}
.shop-nav-link{font-family:var(--ff-head);font-weight:500;font-size:.9rem;color:#cdd8ec;padding:.45rem .85rem;border-radius:8px;
  cursor:pointer;white-space:nowrap;transition:.2s;text-decoration:none;display:inline-flex;align-items:center;gap:.4rem}
.shop-nav-link svg{width:16px;height:16px}
.shop-nav-link:hover,.shop-nav-link.active{background:rgba(255,255,255,.12);color:#fff}
.shop-nav-link.home-link{color:var(--orange)}
.menu-toggle-s{display:none;background:none;border:0;color:#fff;cursor:pointer;padding:6px;flex:none}
.menu-toggle-s svg{width:26px;height:26px}

/* ---------- Page shell ---------- */
.shop-main{min-height:60vh;background:var(--bg-soft)}
.shop-container{max-width:1280px;margin:0 auto;padding:0 24px;width:100%}
.view{display:none;animation:viewIn .45s cubic-bezier(.16,1,.3,1)}
.view.active{display:block}
@keyframes viewIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.crumbs{display:flex;align-items:center;gap:.5rem;font-size:.86rem;color:var(--slate);padding:20px 0 0;flex-wrap:wrap}
.crumbs a{color:var(--slate);cursor:pointer}.crumbs a:hover{color:var(--orange)}
.crumbs .sep{opacity:.5}
.crumbs .cur{color:var(--navy);font-weight:600}

/* ---------- Hero / offers banner ---------- */
.shop-hero{background:linear-gradient(120deg,var(--navy),var(--navy-700));color:#fff;border-radius:22px;
  margin-top:22px;padding:42px 46px;display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;
  position:relative;overflow:hidden}
.shop-hero::before{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle,rgba(249,115,22,.35),transparent 65%)}
.shop-hero .sh-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(249,115,22,.18);color:#ffd9bd;
  font-family:var(--ff-head);font-weight:600;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.4rem .9rem;border-radius:100px;margin-bottom:1rem}
.shop-hero h1{color:#fff;font-size:clamp(1.8rem,3.4vw,2.7rem);margin-bottom:.5rem;position:relative}
.shop-hero p{color:#bcd0ee;font-size:1.05rem;margin-bottom:1.4rem;max-width:440px;position:relative}
.shop-hero .sh-art{position:relative;display:flex;justify-content:flex-end}
.shop-hero .sh-art img{width:100%;max-width:320px;border-radius:18px;box-shadow:var(--shadow-lg);transform:rotate(2deg)}
.sh-offer-chip{position:absolute;left:-6px;bottom:14px;background:#fff;color:var(--navy);border-radius:14px;
  padding:.7rem 1rem;box-shadow:var(--shadow);font-family:var(--ff-head);transform:rotate(-3deg);text-align:center;white-space:nowrap}
.sh-offer-chip b{display:block;color:var(--orange);font-size:1.25rem;line-height:1.1}
.sh-offer-chip span{font-size:.72rem;color:var(--slate)}

/* ---------- Section headers in shop ---------- */
.shop-section{padding:46px 0}
.shop-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:26px;flex-wrap:wrap}
.shop-sec-head h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin:0;display:flex;align-items:center;gap:.6rem}
.shop-sec-head h2 .pill{font-family:var(--ff-head);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  background:var(--orange);color:#fff;padding:.25rem .6rem;border-radius:100px}
.shop-sec-head p{margin:.2rem 0 0;color:var(--slate);font-size:.95rem}
.see-all{font-family:var(--ff-head);font-weight:600;font-size:.9rem;color:var(--blue);cursor:pointer;display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.see-all svg{width:16px;height:16px;transition:transform .25s}
.see-all:hover svg{transform:translateX(3px)}

/* ---------- Category tiles ---------- */
.cat-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cat-tile{position:relative;border-radius:16px;overflow:hidden;min-height:170px;cursor:pointer;
  display:flex;align-items:flex-end;background:#222;box-shadow:var(--shadow-sm);isolation:isolate}
.cat-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}
.cat-tile::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(11,29,61,0) 30%,rgba(11,29,61,.9) 100%)}
.cat-tile:hover img{transform:scale(1.08)}
.cat-tile .ct-body{padding:16px 18px;color:#fff}
.cat-tile h3{color:#fff;font-size:1.12rem;margin:0 0 .15rem}
.cat-tile p{color:#cdd8ec;font-size:.78rem;margin:0;line-height:1.4}

/* ---------- Product grid + cards ---------- */
.shop-layout{display:grid;grid-template-columns:248px 1fr;gap:28px;align-items:start;padding:26px 0 60px}
.filters{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;position:sticky;top:140px}
.filters h4{font-size:1rem;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}
.filter-group{border-top:1px solid var(--line);padding:16px 0}
.filter-group:first-of-type{border-top:0;padding-top:0}
.filter-group .fg-title{font-family:var(--ff-head);font-weight:600;font-size:.85rem;color:var(--navy);margin-bottom:.7rem;letter-spacing:.02em}
.fopt{display:flex;align-items:center;gap:.55rem;font-size:.9rem;color:var(--slate);padding:.28rem 0;cursor:pointer;user-select:none}
.fopt input{accent-color:var(--orange);width:16px;height:16px;cursor:pointer}
.fopt:hover{color:var(--navy)}
.fopt .cnt{margin-left:auto;font-size:.78rem;color:#9aa7bf}
.price-range{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}
.price-range input{width:100%}
.range-val{font-family:var(--ff-head);font-weight:600;color:var(--navy);font-size:.85rem;margin-top:.4rem}
.clear-filters{margin-top:1rem;width:100%;font-family:var(--ff-head);font-weight:600;font-size:.85rem;color:var(--blue);
  background:var(--blue-soft);border:0;border-radius:10px;padding:.6rem;cursor:pointer;transition:.2s}
.clear-filters:hover{background:#dceafb}

.listing-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:18px;flex-wrap:wrap}
.listing-top .res-count{font-size:.92rem;color:var(--slate)}
.listing-top .res-count b{color:var(--navy);font-family:var(--ff-head)}
.sort-wrap{display:flex;align-items:center;gap:.6rem}
.sort-wrap label{font-size:.85rem;color:var(--slate);font-family:var(--ff-head);font-weight:500}
.sort-wrap select{font-family:var(--ff-body);font-size:.9rem;padding:.5rem .8rem;border:1.5px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;outline:none}
.sort-wrap select:focus{border-color:var(--blue)}
.filter-toggle{display:none}

.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pgrid.wide{grid-template-columns:repeat(4,1fr)}
.pcard{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s,border-color .3s;cursor:pointer}
.pcard:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.pthumb{position:relative;aspect-ratio:1/1;background:var(--bg-soft2);overflow:hidden}
.pthumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pcard:hover .pthumb img{transform:scale(1.07)}
.p-badge{position:absolute;top:10px;left:10px;background:var(--navy);color:#fff;font-family:var(--ff-head);font-weight:600;
  font-size:.66rem;letter-spacing:.04em;text-transform:uppercase;padding:.28rem .55rem;border-radius:7px;white-space:nowrap}
.p-off{position:absolute;top:10px;right:10px;background:var(--orange);color:#fff;font-family:var(--ff-head);font-weight:700;
  font-size:.72rem;padding:.3rem .5rem;border-radius:7px;white-space:nowrap}
.p-wish{position:absolute;bottom:10px;right:10px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);
  display:grid;place-items:center;cursor:pointer;opacity:0;transform:translateY(6px);transition:.25s;border:0}
.pcard:hover .p-wish{opacity:1;transform:none}
.p-wish svg{width:18px;height:18px;color:var(--slate)}
.p-wish.on svg{color:var(--orange);fill:var(--orange)}
.pbody{padding:14px 15px 16px;display:flex;flex-direction:column;flex:1}
.p-cat{font-size:.7rem;color:var(--slate);font-family:var(--ff-head);font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.3rem}
.pbody h3{font-size:1rem;margin:0 0 .35rem;line-height:1.25}
.p-rating{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;color:var(--slate);margin-bottom:.6rem}
.p-rating .stars{color:#f5a623;letter-spacing:1px}
.p-rating b{background:#1f8a5b;color:#fff;font-family:var(--ff-head);font-size:.72rem;padding:.1rem .4rem;border-radius:5px;display:inline-flex;align-items:center;gap:2px}
.p-price{display:flex;align-items:baseline;gap:.5rem;margin-top:auto}
.p-price .now{font-family:var(--ff-head);font-weight:700;font-size:1.18rem;color:var(--navy)}
.p-price .was{font-size:.85rem;color:#9aa7bf;text-decoration:line-through}
.p-price .save{font-size:.78rem;color:#1f8a5b;font-weight:600;font-family:var(--ff-head)}
.p-actions{display:flex;gap:.5rem;margin-top:.9rem}
.btn-add{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-family:var(--ff-head);
  font-weight:600;font-size:.88rem;padding:.6rem;border-radius:10px;border:1.5px solid var(--orange);background:var(--orange);
  color:#fff;cursor:pointer;transition:.2s}
.btn-add svg{width:16px;height:16px}
.btn-add:hover{background:var(--orange-600);border-color:var(--orange-600)}
.btn-add.added{background:#1f8a5b;border-color:#1f8a5b}
.btn-view{display:inline-flex;align-items:center;justify-content:center;padding:.6rem .7rem;border-radius:10px;
  border:1.5px solid var(--line);background:#fff;color:var(--navy);cursor:pointer;transition:.2s}
.btn-view svg{width:17px;height:17px}
.btn-view:hover{border-color:var(--navy)}

/* ---------- Carousel rows ---------- */
.prow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:18px;overflow-x:auto;
  scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:thin}
.prow .pcard{scroll-snap-align:start}
.prow::-webkit-scrollbar{height:8px}
.prow::-webkit-scrollbar-thumb{background:#cfd8e6;border-radius:8px}

/* ---------- Single product ---------- */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:46px;padding:26px 0 50px;align-items:start}
.pdp-gallery{position:sticky;top:140px}
.pdp-main{border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line);aspect-ratio:1/1}
.pdp-main img{width:100%;height:100%;object-fit:cover}
.pdp-thumbs{display:flex;gap:.6rem;margin-top:.8rem}
.pdp-thumbs .t{width:74px;height:74px;border-radius:11px;overflow:hidden;border:2px solid var(--line);cursor:pointer;transition:.2s;flex:none}
.pdp-thumbs .t.active{border-color:var(--orange)}
.pdp-thumbs .t img{width:100%;height:100%;object-fit:cover}
.pdp-info .p-cat{font-size:.78rem}
.pdp-info h1{font-size:clamp(1.6rem,3vw,2.1rem);margin:.2rem 0 .5rem}
.pdp-code{font-family:var(--ff-head);font-size:.82rem;color:var(--slate);margin-bottom:.7rem}
.pdp-rating{display:flex;align-items:center;gap:.6rem;margin-bottom:1.2rem;font-size:.9rem;color:var(--slate)}
.pdp-rating .stars{color:#f5a623}
.pdp-price{display:flex;align-items:baseline;gap:.8rem;margin-bottom:.3rem}
.pdp-price .now{font-family:var(--ff-head);font-weight:800;font-size:2rem;color:var(--navy)}
.pdp-price .was{font-size:1.05rem;color:#9aa7bf;text-decoration:line-through}
.pdp-price .save{background:var(--orange-soft);color:var(--orange-600);font-family:var(--ff-head);font-weight:700;font-size:.85rem;padding:.2rem .6rem;border-radius:7px;white-space:nowrap}
.pdp-tax{font-size:.82rem;color:var(--slate);margin-bottom:1.3rem}
.pdp-desc{color:var(--slate);font-size:1rem;line-height:1.7;margin-bottom:1.4rem}
.pdp-colors{margin-bottom:1.4rem}
.pdp-colors .lbl{font-family:var(--ff-head);font-weight:600;font-size:.85rem;color:var(--navy);margin-bottom:.5rem}
.swatches{display:flex;gap:.5rem}
.swatch{width:30px;height:30px;border-radius:50%;cursor:pointer;border:2px solid #fff;box-shadow:0 0 0 1.5px var(--line);transition:.2s}
.swatch.active{box-shadow:0 0 0 2px var(--orange)}
.qty-row{display:flex;align-items:center;gap:1rem;margin-bottom:1.4rem}
.qty-ctl{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden}
.qty-ctl button{width:40px;height:42px;border:0;background:#fff;font-size:1.2rem;color:var(--navy);cursor:pointer;transition:.2s}
.qty-ctl button:hover{background:var(--bg-soft)}
.qty-ctl span{width:46px;text-align:center;font-family:var(--ff-head);font-weight:600}
.stock-ok{font-size:.85rem;color:#1f8a5b;font-weight:600;font-family:var(--ff-head);display:inline-flex;align-items:center;gap:.35rem}
.stock-low{color:var(--orange-600)}
.pdp-cta{display:flex;gap:.8rem;margin-bottom:1.6rem;flex-wrap:wrap}
.pdp-cta .btn{flex:1;min-width:160px}
.pdp-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;border-top:1px solid var(--line);padding-top:1.4rem}
.trust-item{display:flex;gap:.6rem;align-items:flex-start;font-size:.82rem;color:var(--slate)}
.trust-item svg{width:22px;height:22px;color:var(--blue);flex:none}
.trust-item b{display:block;color:var(--navy);font-family:var(--ff-head);font-size:.86rem}

/* Specs table */
.pdp-specs{padding:14px 0 40px}
.specs-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;max-width:760px}
.specs-card h3{margin:0;padding:18px 22px;border-bottom:1px solid var(--line);font-size:1.1rem}
.specs-table{width:100%;border-collapse:collapse}
.specs-table tr{border-bottom:1px solid var(--line)}
.specs-table tr:last-child{border-bottom:0}
.specs-table td{padding:13px 22px;font-size:.92rem}
.specs-table td:first-child{color:var(--slate);font-family:var(--ff-head);font-weight:500;width:38%}
.specs-table td:last-child{color:var(--navy);font-weight:500}

/* ---------- Cart drawer ---------- */
.drawer-backdrop{position:fixed;inset:0;background:rgba(11,29,61,.5);z-index:1200;opacity:0;visibility:hidden;transition:.3s}
.drawer-backdrop.show{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100vw);background:#fff;z-index:1201;
  transform:translateX(100%);transition:transform .4s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.cart-drawer.show{transform:none}
.cart-drawer .cd-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}
.cart-drawer .cd-head h3{margin:0;font-size:1.2rem;display:flex;align-items:center;gap:.5rem}
.cart-drawer .cd-close{background:none;border:0;cursor:pointer;color:var(--slate);padding:4px}
.cart-drawer .cd-close svg{width:24px;height:24px}
.cd-items{flex:1;overflow-y:auto;padding:8px 22px}
.cd-empty{text-align:center;padding:60px 20px;color:var(--slate)}
.cd-empty svg{width:64px;height:64px;color:#cdd6e6;margin-bottom:1rem}
.cd-empty h4{color:var(--navy);margin-bottom:.4rem}
.cart-item{display:flex;gap:.9rem;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-item img{width:74px;height:74px;border-radius:11px;object-fit:cover;background:var(--bg-soft2);flex:none}
.cart-item .ci-info{flex:1;min-width:0}
.cart-item .ci-info h4{font-size:.94rem;margin:0 0 .15rem;line-height:1.25}
.cart-item .ci-code{font-size:.74rem;color:var(--slate);margin-bottom:.4rem}
.cart-item .ci-bottom{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.ci-qty{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:8px;overflow:hidden}
.ci-qty button{width:28px;height:30px;border:0;background:#fff;cursor:pointer;color:var(--navy);font-size:1rem;transition:.2s}
.ci-qty button:hover{background:var(--bg-soft)}
.ci-qty span{width:32px;text-align:center;font-family:var(--ff-head);font-weight:600;font-size:.88rem}
.ci-price{font-family:var(--ff-head);font-weight:700;color:var(--navy)}
.ci-remove{background:none;border:0;color:#b9c2d4;cursor:pointer;font-size:.78rem;font-family:var(--ff-head);transition:.2s;padding:0}
.ci-remove:hover{color:#d23b3b}
.cd-foot{border-top:1px solid var(--line);padding:18px 22px;background:var(--bg-soft)}
.cd-row{display:flex;justify-content:space-between;font-size:.92rem;color:var(--slate);margin-bottom:.5rem}
.cd-row.total{font-family:var(--ff-head);font-weight:700;color:var(--navy);font-size:1.15rem;margin:.7rem 0 1rem;padding-top:.7rem;border-top:1px dashed var(--line)}

/* ---------- Cart page ---------- */
.cart-page{display:grid;grid-template-columns:1fr 360px;gap:28px;padding:26px 0 60px;align-items:start}
.cart-list{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.cart-list-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.cart-list-head h2{margin:0;font-size:1.2rem}
.cart-row{display:flex;gap:1.1rem;padding:20px 22px;border-bottom:1px solid var(--line)}
.cart-row:last-child{border-bottom:0}
.cart-row img{width:104px;height:104px;border-radius:12px;object-fit:cover;background:var(--bg-soft2);flex:none;cursor:pointer}
.cart-row .cr-info{flex:1;min-width:0}
.cart-row .cr-info h3{font-size:1.05rem;margin:0 0 .2rem;cursor:pointer}
.cart-row .cr-info h3:hover{color:var(--orange)}
.cart-row .cr-code{font-size:.78rem;color:var(--slate);margin-bottom:.5rem}
.cart-row .cr-meta{display:flex;gap:1rem;align-items:center;margin-top:.6rem;flex-wrap:wrap}
.cart-row .cr-price{font-family:var(--ff-head);font-weight:700;font-size:1.15rem;color:var(--navy);text-align:right;flex:none}
.cart-row .cr-price .was{display:block;font-size:.8rem;color:#9aa7bf;text-decoration:line-through;font-weight:400}
.summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;position:sticky;top:140px}
.summary h3{margin:0 0 1.2rem;font-size:1.15rem}
.sum-row{display:flex;justify-content:space-between;font-size:.94rem;color:var(--slate);margin-bottom:.7rem}
.sum-row b{color:var(--navy);font-family:var(--ff-head)}
.sum-row.free{color:#1f8a5b}
.sum-total{display:flex;justify-content:space-between;font-family:var(--ff-head);font-weight:800;color:var(--navy);font-size:1.3rem;
  margin:1rem 0 1.2rem;padding-top:1rem;border-top:1.5px dashed var(--line)}
.coupon{display:flex;gap:.5rem;margin-bottom:1.2rem}
.coupon input{flex:1;border:1.5px solid var(--line);border-radius:10px;padding:.6rem .8rem;font-size:.9rem;outline:none}
.coupon input:focus{border-color:var(--blue)}
.coupon button{border:0;background:var(--navy);color:#fff;font-family:var(--ff-head);font-weight:600;font-size:.85rem;padding:0 1.1rem;border-radius:10px;cursor:pointer}
.coupon button:hover{background:var(--navy-700)}
.coupon-msg{font-size:.82rem;font-family:var(--ff-head);font-weight:600;margin:-.6rem 0 1rem}
.coupon-msg.ok{color:#1f8a5b}.coupon-msg.bad{color:#d23b3b}

/* ---------- Checkout ---------- */
.checkout{display:grid;grid-template-columns:1fr 360px;gap:28px;padding:26px 0 60px;align-items:start}
.co-steps{display:flex;gap:.5rem;margin-bottom:24px}
.co-step{flex:1;display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;border-radius:12px;background:#fff;border:1px solid var(--line);font-family:var(--ff-head);font-size:.88rem;color:var(--slate)}
.co-step .n{width:24px;height:24px;border-radius:50%;background:var(--bg-soft2);display:grid;place-items:center;font-weight:700;font-size:.78rem;flex:none}
.co-step.active{border-color:var(--navy);color:var(--navy)}
.co-step.active .n{background:var(--orange);color:#fff}
.co-step.done .n{background:#1f8a5b;color:#fff}
.co-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:20px}
.co-card h3{margin:0 0 1.2rem;font-size:1.15rem;display:flex;align-items:center;gap:.5rem}
.co-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.co-field{margin-bottom:0}
.co-field.full{grid-column:1/-1}
.co-field label{display:block;font-family:var(--ff-head);font-weight:500;font-size:.84rem;color:var(--navy);margin-bottom:.4rem}
.co-field input,.co-field select,.co-field textarea{width:100%;font-family:var(--ff-body);font-size:.95rem;padding:.75rem .9rem;border:1.5px solid var(--line);border-radius:10px;background:var(--bg-soft);outline:none;transition:.2s}
.co-field input:focus,.co-field select:focus,.co-field textarea:focus{border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px rgba(31,111,214,.1)}
.pay-methods{display:grid;gap:.8rem}
.pay-opt{display:flex;align-items:center;gap:.9rem;border:1.5px solid var(--line);border-radius:12px;padding:1rem 1.1rem;cursor:pointer;transition:.2s}
.pay-opt:hover{border-color:#cdd6e6}
.pay-opt.active{border-color:var(--orange);background:var(--orange-soft)}
.pay-opt input{accent-color:var(--orange);width:18px;height:18px}
.pay-opt .pm-ic{width:40px;height:28px;border-radius:6px;background:var(--bg-soft2);display:grid;place-items:center;flex:none}
.pay-opt .pm-ic svg{width:22px;height:22px;color:var(--navy)}
.pay-opt .pm-txt b{display:block;font-family:var(--ff-head);font-size:.95rem;color:var(--navy)}
.pay-opt .pm-txt span{font-size:.8rem;color:var(--slate)}
.pay-detail{margin-top:1rem;padding-top:1rem;border-top:1px dashed var(--line);display:none}
.pay-detail.show{display:block;animation:viewIn .3s}

/* ---------- Order success ---------- */
.order-done{max-width:620px;margin:0 auto;text-align:center;padding:70px 24px 90px}
.order-done .od-check{width:96px;height:96px;border-radius:50%;background:#e8f7ef;color:#1f8a5b;display:grid;place-items:center;margin:0 auto 1.6rem;animation:pop .5s cubic-bezier(.34,1.56,.64,1)}
.order-done .od-check svg{width:50px;height:50px}
@keyframes pop{from{transform:scale(0)}to{transform:scale(1)}}
.order-done h1{font-size:2rem;margin-bottom:.5rem}
.order-done p{color:var(--slate);font-size:1.05rem;margin-bottom:.4rem}
.order-id{display:inline-block;font-family:var(--ff-head);font-weight:700;color:var(--navy);background:var(--bg-soft);border:1px dashed var(--line);padding:.6rem 1.2rem;border-radius:10px;margin:1.2rem 0 1.8rem}
.order-summary-mini{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 22px;text-align:left;margin-bottom:1.8rem}

/* ---------- Future products ---------- */
.future-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.future-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.future-card .fthumb{aspect-ratio:16/10;overflow:hidden;position:relative;filter:saturate(.85)}
.future-card .fthumb img{width:100%;height:100%;object-fit:cover}
.future-card .fthumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,29,61,.1),rgba(11,29,61,.5))}
.future-eta{position:absolute;top:12px;left:12px;z-index:2;background:rgba(255,255,255,.92);color:var(--navy);font-family:var(--ff-head);font-weight:700;font-size:.74rem;padding:.3rem .7rem;border-radius:100px}
.future-body{padding:16px 18px 20px}
.future-body .p-cat{margin-bottom:.3rem}
.future-body h3{font-size:1.08rem;margin:0 0 .35rem}
.future-body p{font-size:.88rem;color:var(--slate);margin:0 0 1rem;line-height:1.5}
.notify-btn{width:100%;font-family:var(--ff-head);font-weight:600;font-size:.88rem;padding:.6rem;border-radius:10px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;gap:.4rem}
.notify-btn svg{width:16px;height:16px}
.notify-btn:hover{background:var(--navy);color:#fff}
.notify-btn.done{background:#e8f7ef;border-color:#1f8a5b;color:#1f8a5b}

/* ---------- Toast ---------- */
.toast-wrap{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1300;display:flex;flex-direction:column;gap:.6rem;align-items:center}
.toast{display:flex;align-items:center;gap:.7rem;background:var(--navy);color:#fff;padding:.85rem 1.2rem;border-radius:12px;
  box-shadow:var(--shadow-lg);font-family:var(--ff-head);font-weight:500;font-size:.92rem;
  transform:translateY(20px);opacity:0;transition:.35s cubic-bezier(.16,1,.3,1)}
.toast.show{transform:none;opacity:1}
.toast svg{width:20px;height:20px;color:#4ade80;flex:none}
.toast .t-link{color:var(--orange);font-weight:600;cursor:pointer;margin-left:.4rem}

/* ---------- Empty / loading ---------- */
.empty-state{text-align:center;padding:70px 20px;color:var(--slate)}
.empty-state svg{width:72px;height:72px;color:#cdd6e6;margin-bottom:1rem}
.empty-state h3{color:var(--navy);margin-bottom:.4rem}

/* ---------- Shop footer ---------- */
.shop-foot{background:var(--navy-800);color:#9fb0cd;padding:48px 0 0;margin-top:20px}
.shop-foot .sf-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px}
.shop-foot h5{color:#fff;font-family:var(--ff-head);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:1rem}
.shop-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.shop-foot ul a{color:#9fb0cd;font-size:.9rem;cursor:pointer}
.shop-foot ul a:hover{color:var(--orange)}
.shop-foot .sf-brand{color:#fff;font-family:var(--ff-head);font-weight:800;font-size:1.3rem;margin-bottom:.8rem;display:flex;align-items:center;gap:.5rem}
.shop-foot .sf-brand img{width:36px;height:36px}
.shop-foot p{font-size:.9rem;line-height:1.6}
.shop-foot .sf-bottom{border-top:1px solid rgba(255,255,255,.09);padding:18px 0;text-align:center;font-size:.84rem}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .pgrid,.pgrid.wide{grid-template-columns:repeat(3,1fr)}
  .cat-tiles{grid-template-columns:repeat(2,1fr)}
  .future-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:960px){
  .shop-layout{grid-template-columns:1fr}
  .filters{position:fixed;top:0;left:0;height:100%;width:min(86vw,330px);border-radius:0;z-index:1250;overflow-y:auto;
    transform:translateX(-100%);transition:transform .35s cubic-bezier(.16,1,.3,1);box-shadow:var(--shadow-lg)}
  .filters.show{transform:none}
  .filter-toggle{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--ff-head);font-weight:600;font-size:.9rem;
    background:#fff;border:1.5px solid var(--line);border-radius:10px;padding:.55rem 1rem;cursor:pointer;color:var(--navy)}
  .filter-toggle svg{width:18px;height:18px}
  .pdp{grid-template-columns:1fr;gap:28px}
  .pdp-gallery{position:static}
  .cart-page,.checkout{grid-template-columns:1fr}
  .summary{position:static}
  .shop-foot .sf-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .shop-head .row1{height:62px;gap:.7rem}
  .shop-search{display:none}
  .shop-search.mobile-show{display:flex;position:absolute;top:62px;left:0;right:0;margin:0 16px;max-width:none;z-index:5}
  .menu-toggle-s{display:block}
  .shop-head-actions .head-btn .lbl{display:none}
  .pgrid,.pgrid.wide{grid-template-columns:repeat(2,1fr)}
  .shop-hero{grid-template-columns:1fr;padding:30px 26px}
  .shop-hero .sh-art{display:none}
  .future-grid{grid-template-columns:1fr}
  .pdp-trust{grid-template-columns:1fr}
  .co-grid{grid-template-columns:1fr}
}
@media (max-width:460px){
  .shop-container{padding:0 16px}
  .pgrid,.pgrid.wide{grid-template-columns:1fr 1fr;gap:12px}
  .pbody h3{font-size:.9rem}
  .p-price .now{font-size:1.05rem}
  .btn-add{font-size:.8rem;padding:.55rem .4rem}
  .cat-tiles{grid-template-columns:1fr 1fr}
  .shop-foot .sf-grid{grid-template-columns:1fr}
}

/* ============================================================
   ADVANCED FEATURES
   ============================================================ */

/* ---- card tools: wishlist + compare (top-right stack) ---- */
.p-tools{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:.4rem;z-index:3}
.pthumb .p-off{right:auto;left:10px;top:auto;bottom:10px}
.p-wish,.p-cmp{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;cursor:pointer;border:0;
  opacity:0;transform:translateX(8px);transition:.25s;box-shadow:var(--shadow-sm)}
.pcard:hover .p-wish,.pcard:hover .p-cmp{opacity:1;transform:none}
.p-wish svg,.p-cmp svg{width:17px;height:17px;color:var(--slate)}
.p-wish:hover svg,.p-cmp:hover svg{color:var(--navy)}
.p-wish.on{background:#fff}.p-wish.on svg{color:var(--orange);fill:var(--orange)}
.p-cmp.on{background:var(--navy)}.p-cmp.on svg{color:#fff}
.p-quick{position:absolute;left:50%;bottom:12px;transform:translate(-50%,12px);z-index:3;display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(11,29,61,.9);color:#fff;border:0;border-radius:100px;padding:.5rem 1rem;font-family:var(--ff-head);font-weight:600;
  font-size:.8rem;cursor:pointer;opacity:0;transition:.28s;backdrop-filter:blur(4px);white-space:nowrap}
.p-quick svg{width:15px;height:15px}
.pcard:hover .p-quick{opacity:1;transform:translate(-50%,0)}
.p-quick:hover{background:var(--orange)}

/* ---- stock bar ---- */
.p-stock-bar{height:5px;border-radius:5px;background:var(--bg-soft2);overflow:hidden;margin:.4rem 0 .25rem}
.p-stock-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--orange),#ffb070);border-radius:5px}
.p-stock-txt{font-size:.72rem;color:var(--orange-600);font-family:var(--ff-head);font-weight:600;margin-bottom:.3rem}

/* ---- promo countdown ---- */
.promo-timer{display:flex;align-items:center;gap:.7rem;margin-bottom:1.4rem}
.pt-label{font-family:var(--ff-head);font-weight:600;font-size:.82rem;color:#ffd9bd;text-transform:uppercase;letter-spacing:.06em}
.pt-clock{display:flex;gap:.3rem;font-family:var(--ff-head);font-weight:800}
.pt-clock span{background:rgba(255,255,255,.14);color:#fff;padding:.35rem .55rem;border-radius:8px;font-size:1.05rem;min-width:2.2rem;text-align:center;display:inline-block}

/* ---- modals ---- */
.modal-backdrop{position:fixed;inset:0;background:rgba(11,29,61,.55);z-index:1300;display:flex;align-items:center;justify-content:center;
  padding:24px;opacity:0;visibility:hidden;transition:.3s;backdrop-filter:blur(2px)}
.modal-backdrop.show{opacity:1;visibility:visible}
.modal{background:#fff;border-radius:20px;box-shadow:var(--shadow-lg);max-width:880px;width:100%;max-height:90vh;overflow-y:auto;
  position:relative;padding:30px;transform:translateY(18px) scale(.98);transition:.35s cubic-bezier(.16,1,.3,1)}
.modal-backdrop.show .modal{transform:none}
.modal-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:50%;background:var(--bg-soft);border:0;cursor:pointer;
  display:grid;place-items:center;color:var(--navy);z-index:4;transition:.2s}
.modal-close:hover{background:var(--orange);color:#fff}
.modal-close svg{width:20px;height:20px}

/* quick view */
.qv-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:28px}
.qv-img{position:relative;border-radius:14px;overflow:hidden;background:var(--bg-soft2);aspect-ratio:1/1}
.qv-img img{width:100%;height:100%;object-fit:cover}
.qv-info h2{font-size:1.5rem;margin:.2rem 0 .4rem}
.qv-desc{color:var(--slate);font-size:.95rem;margin:.6rem 0 1rem}
.qv-specs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1.3rem}
.qv-specs div{background:var(--bg-soft);border-radius:9px;padding:.5rem .7rem}
.qv-specs span{display:block;font-size:.7rem;color:var(--slate);font-family:var(--ff-head);text-transform:uppercase;letter-spacing:.04em}
.qv-specs b{font-size:.86rem;color:var(--navy);font-family:var(--ff-head)}
.qv-cta{display:flex;gap:.7rem;flex-wrap:wrap}
.qv-cta .btn{flex:1;min-width:140px}

/* compare bar */
.compare-bar{position:fixed;left:50%;bottom:0;transform:translate(-50%,120%);z-index:1150;background:#fff;border-radius:16px 16px 0 0;
  box-shadow:var(--shadow-lg);border:1px solid var(--line);border-bottom:0;padding:14px 18px;display:flex;align-items:center;gap:1.2rem;
  max-width:760px;width:calc(100% - 32px);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.compare-bar.show{transform:translate(-50%,0)}
.cb-items{display:flex;gap:.6rem;flex:1;overflow-x:auto}
.cb-chip{display:flex;align-items:center;gap:.5rem;background:var(--bg-soft);border-radius:10px;padding:.35rem .6rem;flex:none;max-width:200px}
.cb-chip img{width:34px;height:34px;border-radius:7px;object-fit:cover;flex:none}
.cb-chip span{font-size:.8rem;font-family:var(--ff-head);font-weight:500;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-chip button{background:none;border:0;color:var(--slate);cursor:pointer;font-size:.9rem;flex:none}
.cb-chip button:hover{color:#d23b3b}
.cb-actions{display:flex;gap:.6rem;flex:none}
.btn-sm{padding:.55rem 1rem;font-size:.85rem}

/* compare modal */
.compare-modal{max-width:980px}
.cmp-scroll{overflow-x:auto}
.cmp-table{width:100%;border-collapse:collapse;min-width:520px}
.cmp-table th,.cmp-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:.9rem;vertical-align:top}
.cmp-table thead th{border-bottom:2px solid var(--line)}
.cmp-table td:first-child,.cmp-table th:first-child{color:var(--slate);font-family:var(--ff-head);font-weight:600;width:130px;position:sticky;left:0;background:#fff}
.cmp-head{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}
.cmp-head img{width:100%;max-width:120px;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:var(--bg-soft2)}
.cmp-name{font-family:var(--ff-head);font-weight:600;color:var(--navy);font-size:.92rem;line-height:1.2}
.cmp-price{font-family:var(--ff-head);font-weight:700;color:var(--navy)}

/* pincode check */
.pincode-check{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:1.3rem}
.pincode-check .lbl{font-family:var(--ff-head);font-weight:600;font-size:.85rem;color:var(--navy);margin-bottom:.6rem}
.pin-row{display:flex;gap:.5rem}
.pin-row input{flex:1;border:1.5px solid var(--line);border-radius:9px;padding:.55rem .8rem;font-size:.9rem;outline:none}
.pin-row input:focus{border-color:var(--blue)}
.pin-result{font-size:.85rem;font-family:var(--ff-head);font-weight:500;margin-top:.6rem}
.pin-result.ok{color:#1f8a5b}.pin-result.bad{color:#d23b3b}
.pin-result b{font-weight:700}

/* frequently bought together */
.fbt-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.fbt-items{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.fbt-item{display:flex;align-items:center;gap:.7rem;border:1.5px solid var(--line);border-radius:12px;padding:.7rem .9rem;cursor:pointer;transition:.2s;max-width:260px}
.fbt-item:has(input:checked){border-color:var(--orange);background:var(--orange-soft)}
.fbt-item input{accent-color:var(--orange);width:17px;height:17px;flex:none}
.fbt-item img{width:48px;height:48px;border-radius:9px;object-fit:cover;flex:none}
.fbt-meta b{display:block;font-size:.85rem;color:var(--navy);font-family:var(--ff-head);line-height:1.2;max-width:150px}
.fbt-meta span{font-size:.82rem;color:var(--slate)}
.fbt-plus{font-size:1.3rem;color:var(--slate);font-weight:300}
.fbt-buy{display:flex;flex-direction:column;gap:.6rem;align-items:flex-end}
.fbt-total{font-family:var(--ff-head);font-size:.95rem;color:var(--slate)}
.fbt-total b{color:var(--navy);font-size:1.25rem}

/* reviews */
.rev-grid{display:grid;grid-template-columns:300px 1fr;gap:36px;align-items:start}
.rev-summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;position:sticky;top:140px}
.rev-score{text-align:center;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1rem}
.rev-score b{display:block;font-family:var(--ff-head);font-size:3rem;font-weight:800;color:var(--navy);line-height:1}
.rev-score .stars{color:#f5a623;font-size:1.1rem;letter-spacing:2px}
.rev-score small{display:block;color:var(--slate);font-size:.84rem;margin-top:.3rem}
.rev-bars{display:grid;gap:.5rem}
.rev-bar{display:flex;align-items:center;gap:.6rem;font-size:.8rem;color:var(--slate)}
.rb-star{width:26px;font-family:var(--ff-head);font-weight:600;color:var(--navy)}
.rb-track{flex:1;height:7px;background:var(--bg-soft2);border-radius:7px;overflow:hidden}
.rb-track span{display:block;height:100%;background:#f5a623;border-radius:7px}
.rb-pct{width:34px;text-align:right}
.rev-list{display:grid;gap:16px}
.rev-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.rev-top{display:flex;align-items:center;gap:.7rem;margin-bottom:.5rem}
.rev-av{width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-family:var(--ff-head);font-weight:700;flex:none}
.rev-top b{font-family:var(--ff-head);font-size:.95rem;color:var(--navy)}
.rev-verified{display:block;font-size:.74rem;color:#1f8a5b;font-weight:600;font-family:var(--ff-head)}
.rev-when{margin-left:auto;font-size:.78rem;color:#9aa7bf}
.rev-stars{color:#f5a623;letter-spacing:1.5px;font-size:.92rem;margin-bottom:.4rem}
.rev-item p{margin:0;color:var(--slate);font-size:.92rem;line-height:1.6}

/* filter chips + view toggle */
.filter-chips{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:16px}
.fchip{display:inline-flex;align-items:center;gap:.4rem;background:var(--blue-soft);color:var(--navy);border:0;border-radius:100px;
  padding:.4rem .8rem;font-family:var(--ff-head);font-weight:600;font-size:.82rem;cursor:pointer;transition:.2s}
.fchip span{color:var(--slate)}
.fchip:hover{background:#dceafb}
.fchip.clear{background:transparent;color:var(--blue);text-decoration:underline}
.view-toggle{display:flex;gap:.2rem;margin-left:.6rem;border:1.5px solid var(--line);border-radius:10px;padding:2px}
.view-toggle button{width:34px;height:32px;border:0;background:none;border-radius:8px;cursor:pointer;color:var(--slate);display:grid;place-items:center}
.view-toggle button svg{width:17px;height:17px}
.view-toggle button.active{background:var(--navy);color:#fff}
.pgrid.list-view{grid-template-columns:1fr}
.pgrid.list-view .pcard{flex-direction:row}
.pgrid.list-view .pthumb{width:230px;aspect-ratio:4/3;flex:none}
.pgrid.list-view .pbody{flex:1}
.pgrid.list-view .p-quick{display:none}

@media (max-width:860px){
  .qv-grid{grid-template-columns:1fr;gap:18px}
  .rev-grid{grid-template-columns:1fr;gap:20px}
  .rev-summary{position:static}
  .fbt-box{flex-direction:column;align-items:stretch}
  .fbt-buy{align-items:stretch}
  .pgrid.list-view .pthumb{width:140px}
}
@media (max-width:600px){
  .pgrid.list-view .pcard{flex-direction:column}
  .pgrid.list-view .pthumb{width:100%}
  .compare-bar{flex-direction:column;gap:.7rem;align-items:stretch}
  .cb-actions{justify-content:space-between}
  .modal{padding:22px}
  .p-wish,.p-cmp{opacity:1;transform:none}
}
