/* ==========================================================================
   theme.css — HARDTRAC storefront skin "Steel & Signal"               (v1)

   Loaded LAST in index.html. It repaints what app.css / amazon.css /
   home.css / reco.css / rewards.css already lay out. No class is renamed and
   no JS hook is touched, so store.js, home.js, reco.js, boost.js and
   rewards.js work exactly as before.

   Why it exists: the previous skin kept Amazon's silhouette — a dark two-tier
   bar, a grey/white/yellow search, "Hello, sign in / Account & Lists", dense
   white quad tiles on grey, and a dark link-column footer. This file moves
   away from that silhouette, not just the colours:

     header   light, single row, rounded search capsule, icon actions,
              dark cart pill, category chips underneath
     cards    image sits in a tinted steel well, generous 16px gutters,
              bottle-green primary actions, HARDTRAC red only for deals
     type     Bricolage Grotesque for headings and prices, Figtree for text
     footer   light, bordered, compact — no dark slab

   Palette
     --st-canvas  #ECEFED   brushed-steel page
     --st-well    #F3F5F4   image wells, input fills
     --st-ink     #17201E   text
     --st-green   #1D4A42   primary action (add to cart, submit)
     --st-green-2 #143831   hover / pressed
     --st-mint    #DCEBE6   soft brand tint
     --st-red     #D42A2F   logo red — deals, discounts, buy now
     --st-sun     #F2B233   stars
     --st-line    #D9E0DD   borders

   To roll back: delete the theme.css <link> in index.html.
   ========================================================================== */

:root{
  --st-canvas:#ECEFED;
  --st-well:#F3F5F4;
  --st-surface:#FFFFFF;
  --st-ink:#17201E;
  --st-ink-2:#4E5B57;
  --st-ink-3:#7F8B87;
  --st-green:#1D4A42;
  --st-green-2:#143831;
  --st-mint:#DCEBE6;
  --st-red:#D42A2F;
  --st-red-2:#B51F24;
  --st-red-soft:#FBE9E9;
  --st-sun:#F2B233;
  --st-line:#E2E7E5;
  --st-line-2:#D0D8D5;

  /* re-point the tokens the older sheets read */
  --ht-nav:#FFFFFF; --ht-sub:#FFFFFF; --ht-hover:var(--st-well);
  --ht-gold:var(--st-green); --ht-violet:var(--st-green); --ht-violet-ink:var(--st-green-2);
  --ht-coral:var(--st-red); --ht-pink:var(--st-red); --ht-teal:#0F8A76;
  --amz-nav:#fff; --amz-sub:#fff; --amz-hover:var(--st-well);
  --amz-search:var(--st-green); --amz-cart:var(--st-green); --amz-buy:var(--st-red);

  --brand:var(--st-green);
  --brand-ink:var(--st-green-2);
  --brand-2:var(--st-green);
  --brand-soft:#EAF3F0;
  --brand-line:#C4DCD4;

  --ink:var(--st-ink);
  --ink-2:var(--st-ink-2);
  --ink-3:var(--st-ink-3);
  --bg:#fff; --bg-2:var(--st-well); --bg-3:#E6EBE9;
  --canvas:var(--st-canvas);
  --line:var(--st-line); --line-2:var(--st-line-2);
  --green:#17804F; --green-bg:#E3F3EA;
  --star:var(--st-sun);
  --hm-red:var(--st-red);

  --radius:12px; --radius-sm:10px; --radius-lg:16px; --radius-xs:6px;
  --shadow-sm:0 1px 2px rgba(23,32,30,.06);
  --shadow-lg:0 10px 30px -12px rgba(23,32,30,.22);
  --shadow-glow:none;
  --ring:0 0 0 3px rgba(29,74,66,.25);

  --font:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --display:"Bricolage Grotesque","Figtree",system-ui,sans-serif;

  --hm-gap:16px; --hm-pad:16px; --hm-r:18px;
  --maxw:1440px;
}

html,body{background:var(--st-canvas)}
body{font-family:var(--font);color:var(--st-ink);letter-spacing:0;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--display);letter-spacing:-.015em}
.wrap{max-width:var(--maxw);padding:0 24px}
@media (max-width:700px){ .wrap{padding:0 14px} }

a,.link{color:var(--st-green)}
a:hover,.link:hover{color:var(--st-green-2);text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--st-green);outline-offset:2px}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.hdr{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--st-line);
  box-shadow:none;
}
@supports (backdrop-filter:blur(8px)){
  .hdr{background:rgba(255,255,255,.88);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px)}
}
.hdr-stick{background:transparent}
.hdr-main{min-height:72px;gap:14px;padding:0 24px}
.hdr-main>*{border:0;border-radius:0}

.brand-logo{padding:0;border:0;flex:0 0 auto}
.brand-logo:hover{border:0;background:transparent}
.brand-logo img{height:32px}

/* delivery chip */
.nav-geo{
  border:1px solid var(--st-line);border-radius:999px;background:var(--st-surface);
  padding:6px 13px 6px 9px;align-items:center;gap:7px;color:var(--st-ink);
}
.nav-geo:hover{border-color:var(--st-line-2);background:var(--st-well);text-decoration:none}
.nav-geo svg{width:17px;height:17px;stroke:var(--st-red);margin:0}
.nav-geo .t1{font-size:11px;color:var(--st-ink-3);line-height:1.15}
.nav-geo .t2{font-size:13px;font-weight:700;color:var(--st-ink);line-height:1.15}

/* search capsule */
.search-box{
  height:46px;margin:0;border-radius:999px;
  background:var(--st-well);border:1px solid var(--st-line);
  padding:4px;gap:4px;overflow:visible;
}
.search-box:focus-within{background:#fff;border-color:var(--st-green);box-shadow:var(--ring)}
.search-box select{
  background:#fff!important;color:var(--st-ink);
  border:1px solid var(--st-line)!important;border-radius:999px!important;box-shadow:none!important;
  font-size:12.5px;font-weight:600;padding:0 26px 0 14px;max-width:160px;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5B57' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 9px center!important;background-size:13px!important;
}
.search-box select:hover{border-color:var(--st-line-2)!important}
.search-box select:focus{box-shadow:none!important;border-color:var(--st-green)!important}
.search-box input{
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  font-size:15px;padding:0 8px;color:var(--st-ink);
}
.search-box input:focus{box-shadow:none!important}
.search-box input::placeholder{color:var(--st-ink-3)}
.search-box button{
  flex:0 0 38px;width:38px;height:38px;border-radius:50%;
  background:var(--st-green);color:#fff;align-self:center;
}
.search-box button:hover{background:var(--st-green-2)}
.search-box button svg{width:18px;height:18px;stroke:#fff}

/* actions */
.hdr-actions{gap:4px}
.hdr-btn{
  flex-direction:row;align-items:center;gap:9px;
  padding:6px 10px;border:0;border-radius:12px;color:var(--st-ink);
}
.hdr-btn:hover{background:var(--st-well);border:0;text-decoration:none}
.hdr-btn .hb-ico{
  width:34px;height:34px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;
  background:var(--st-well);color:var(--st-ink);
}
.hdr-btn:hover .hb-ico{background:#fff}
.hdr-btn .hb-ico svg{width:18px;height:18px}
.hdr-btn .hb-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;min-width:0}
.hdr-btn .t1{font-size:11.5px;color:var(--st-ink-3);font-weight:500}
.hdr-btn .t2{font-size:13.5px;color:var(--st-ink);font-weight:700}

.hdr-cart{
  background:var(--st-ink);color:#fff;border:0;border-radius:999px;
  padding:0 16px 0 12px;height:44px;align-items:center;gap:8px;margin-left:6px;
}
.hdr-cart:hover{background:var(--st-green);border:0}
.hdr-cart svg{width:21px;height:21px;stroke:#fff;stroke-width:1.9}
.hdr-cart .t2{color:#fff;font-size:13.5px;font-weight:700;margin:0}
.cart-count{
  top:-9px;left:12px;right:auto;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  background:var(--st-red);color:#fff;font-size:11px;font-weight:800;
  border:2px solid var(--st-ink);line-height:15px;text-align:center;
}
.hdr-cart:hover .cart-count{border-color:var(--st-green)}

/* Open Box — a quiet outlined chip, not a glowing advert */
.hdr-openbox{
  margin:0 4px;padding:5px 12px 5px 6px;gap:8px;
  background:#fff;border:1px solid var(--st-line);border-radius:999px;
  color:var(--st-ink);box-shadow:none;animation:none!important;
}
.hdr-openbox::after{content:none!important}
.hdr-openbox:hover{background:#E8F5F1;border-color:#9FD2C4;color:var(--st-ink);transform:none;box-shadow:none}
.hdr-openbox .ob-ico{width:30px;height:30px;border-radius:50%;background:#0F8A76;display:grid;place-items:center}
.hdr-openbox .ob-ico svg{width:17px;height:17px;stroke:#fff}
.hdr-openbox .t1{font-size:10.5px;font-weight:600;color:#0F8A76;text-transform:none;letter-spacing:0}
.hdr-openbox .t2{font-size:13.5px;font-weight:700;color:var(--st-ink)}
.hdr-openbox .ob-new{background:var(--st-red);font-size:9.5px;letter-spacing:.02em;padding:2px 6px}

/* category chips */
.subnav{background:transparent;border-top:1px solid var(--st-line)}
.subnav-inner{gap:6px;min-height:50px}
.subnav-inner a{
  color:var(--st-ink-2);font-size:13px;font-weight:600;
  padding:6px 13px;border:1px solid transparent;border-radius:999px;line-height:1.3;
}
.subnav-inner a:hover,.subnav-inner a:active{color:var(--st-ink);background:var(--st-well);border-color:var(--st-line);text-decoration:none}
.subnav-inner a.on{color:#fff;background:var(--st-green);border-color:var(--st-green)}
.subnav-inner a.sub-all{background:var(--st-ink);color:#fff;border-color:var(--st-ink);padding:6px 14px 6px 12px}
.subnav-inner a.sub-all:hover{background:var(--st-green);border-color:var(--st-green);color:#fff}
.subnav-inner a.deals{color:var(--st-red);font-weight:700;background:var(--st-red-soft);border-color:#F4CFD0}
.subnav-inner a.deals:hover{background:#F7DADB;border-color:#EDB4B6;color:var(--st-red-2)}
.subnav-inner a.sub-openbox{
  background:#E8F5F1;color:#0B6B5B;border:1px solid #BFE3D9;border-radius:999px;
  padding:6px 13px;margin:0;line-height:1.3;
}
.subnav-inner a.sub-openbox:hover{background:#D6EEE7;color:#085347;border-color:#9FD2C4}

/* ==========================================================================
   2. PAGE FURNITURE
   ========================================================================== */
#view{background:var(--st-canvas)}
.crumbs{font-size:12.5px;color:var(--st-ink-3);padding:16px 0 8px}
.crumbs a{color:var(--st-ink-2)}
.page-h1{font-family:var(--display);font-size:26px;font-weight:700;letter-spacing:-.02em}

.card,.panel,.summary-box,.pay-kpi,.pay-row,.pay-alert,.atc-main,.atc-side{
  border-radius:var(--radius-lg);border:1px solid var(--st-line);box-shadow:none;
}
.summary-box{background:var(--st-well)}

/* ==========================================================================
   3. BUTTONS + FIELDS
   ========================================================================== */
.btn{
  border-radius:12px;font-family:var(--font);font-size:13.5px;font-weight:700;
  box-shadow:none;border:1px solid transparent;letter-spacing:0;
}
.btn:active{box-shadow:none;transform:scale(.98)}
.btn-amber,.btn-primary{background:var(--st-green);border-color:var(--st-green);color:#fff}
.btn-amber:hover,.btn-primary:hover{background:var(--st-green-2);border-color:var(--st-green-2);color:#fff;text-decoration:none}
.btn-buy,#bbBuy{background:var(--st-red);border-color:var(--st-red);color:#fff}
.btn-buy:hover,#bbBuy:hover{background:var(--st-red-2);border-color:var(--st-red-2);color:#fff}
.btn-outline{background:#fff;border:1px solid var(--st-line-2);color:var(--st-ink);box-shadow:none}
.btn-outline:hover{background:var(--st-well);border-color:var(--st-ink-3);color:var(--st-ink)}
.btn-ghost{background:transparent;border-color:transparent;color:var(--st-ink-2);box-shadow:none}
.btn-ghost:hover{background:var(--st-well);color:var(--st-ink);border-color:transparent}
.btn-sm{border-radius:10px;font-size:12.5px}

input,select,textarea{
  border-radius:10px!important;border:1px solid var(--st-line-2)!important;
  box-shadow:none!important;background-color:#fff;color:var(--st-ink);
}
input:focus,select:focus,textarea:focus{
  border-color:var(--st-green)!important;box-shadow:var(--ring)!important;outline:0;
}
input[type=checkbox],input[type=radio]{accent-color:var(--st-green)}

.chip{border-radius:999px;border-color:var(--st-line-2);color:var(--st-ink-2);font-weight:600}
.chip.on{background:var(--st-mint);border-color:#B7D5CC;color:var(--st-green-2)}
.chip.on:hover{background:#CFE4DD}
.fcount{background:var(--st-red)}
.pill{border-radius:999px;padding:3px 9px}

.seg,.pay-seg{border-radius:12px;background:var(--st-well);border:1px solid var(--st-line)}
.seg button,.pay-seg button{border-radius:9px}
.seg button.on,.pay-seg button.on{background:#fff;box-shadow:0 1px 3px rgba(23,32,30,.12);color:var(--st-ink)}

.pager button{border-radius:10px;border-color:var(--st-line-2);background:#fff}
.pager button:hover:not(:disabled){border-color:var(--st-green);color:var(--st-green)}
.pager button.on{background:var(--st-ink);border-color:var(--st-ink);color:#fff}

/* ==========================================================================
   4. HOME
   ========================================================================== */
.hm-hero-band{padding-top:18px}
.hm-sec{padding-top:28px}
.hm-h2{
  font-family:var(--display);font-size:24px;font-weight:700;letter-spacing:-.02em;
  margin:0 0 14px;color:var(--st-ink);
}
.pill-red{background:var(--st-red);border-radius:999px;padding:2px 8px}

.hcard,.deck,.mcard,.hm-tile,.hm-picks,.hist,.hm-strip{
  background:var(--st-surface);border:1px solid var(--st-line);border-radius:var(--hm-r);box-shadow:none;
}
.hcard:hover,.deck:hover,.mcard:hover,.hm-tile:hover{border-color:var(--st-line-2);box-shadow:var(--shadow-lg)}
@media (hover:hover){
  html:not(.lite) .deck:hover,html:not(.lite) .mcard:hover,html:not(.lite) .hm-tile:hover{transform:none}
}
.hcard.slot-ph{background:repeating-linear-gradient(135deg,#F3F5F4 0 12px,#EEF1F0 12px 24px);border:1px dashed var(--st-line-2)}
.slot-ph b{font-family:var(--display);color:var(--st-ink)}
.hcard-head b,.hm-picks-head h2,.hist h2{font-family:var(--display);font-weight:700;letter-spacing:-.015em}
.hcard-badge{background:var(--st-red);border-radius:999px}
.hp-dot.on,.hb-bar.on{background:var(--st-green)}

/* cube faces + mini cards: steel wells */
.pc-face{border-radius:14px;border:1px solid var(--st-line);background:var(--st-well);box-shadow:none}
.pc-off,.mcard-off{background:var(--st-red);border-radius:999px}
.mcard{padding:10px}
.mcard b{font-weight:600}
.mcard-pic{background:var(--st-well);border-radius:12px}

/* wall of decks */
.hm-wall{gap:var(--hm-gap)}
.deck{padding:18px 18px 16px}
.deck h3{font-family:var(--display);font-size:17px;font-weight:700;letter-spacing:-.015em;margin-bottom:12px}
.deck-sub{font-family:var(--font);font-size:13px;color:var(--st-ink-3)}
.deck-chev{
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:var(--st-well);font-size:17px;top:-3px;color:var(--st-ink-2);
}
.deck:hover .deck-chev{background:var(--st-ink);color:#fff;transform:none}
.deck-grid{gap:10px}
.deck-more{
  margin-top:14px;font-weight:700;font-size:13px;color:var(--st-green);
  align-self:flex-start;padding:6px 12px;border-radius:999px;background:var(--brand-soft);
}
.deck:hover .deck-more{color:var(--st-green-2);text-decoration:none;background:var(--st-mint)}

.cell{gap:6px}
.cell-pic{background:var(--st-well);border-radius:12px}
.cell-img{padding:8px;mix-blend-mode:multiply}
.cell-flag{left:6px;top:6px;border-radius:999px;background:var(--st-red);padding:2px 7px}
.c-tag{color:var(--st-red)}
.c-off{color:var(--st-ink)}
.c-name{font-size:12px;color:var(--st-ink-2)}
.c-price{font-family:var(--display);font-size:14.5px;font-weight:700}
.c-r i{color:var(--st-sun)}
.c-r u{color:var(--st-ink-2)}
.cell:hover .c-tag,.cell:hover .c-price,.cell:hover .c-name{text-decoration:none}
.cell:hover .c-name{color:var(--st-ink)}

.hm-picks,.hist{padding:18px}
.pk-pic{background:var(--st-well);border-radius:12px}
.pk-name{color:var(--st-ink)}
.pk-name:hover{color:var(--st-green)}
.pk-stars{color:var(--st-sun)}
.pk-rate{color:var(--st-ink-2)}
.pk-now{font-family:var(--display);font-weight:700}
.pk-off,.pk-low{color:var(--st-red)}
.pk-ltd{border-radius:999px;border-color:#F4CFD0;color:var(--st-red);background:var(--st-red-soft)}
.hm-tile-badge{background:var(--st-red);border-radius:999px}
.hm-strip-copy b{font-family:var(--display)}

/* ==========================================================================
   5. RESULTS PAGE
   ========================================================================== */
.shell{gap:18px}
.filter-group{border:1px solid var(--st-line);border-radius:var(--radius-lg);background:#fff;box-shadow:none;padding:14px 15px}
.filter-group h4{
  font-family:var(--display);text-transform:none;letter-spacing:-.01em;
  font-size:14.5px;font-weight:700;color:var(--st-ink);
}
.filter-group h4 a,.filter-group h4 button{font-family:var(--font);font-size:12px;font-weight:600;color:var(--st-green)}
.filter-opt:hover{background:var(--st-well);color:var(--st-ink)}
.filter-opt.on{background:var(--st-mint);color:var(--st-green-2)}

.results-bar{border-radius:var(--radius-lg);border:1px solid var(--st-line);box-shadow:none;padding:12px 16px}
.results-bar h2{font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-.02em}
.sort-sel{border-radius:999px!important;font-weight:600}

.pgrid{gap:14px}

/* ==========================================================================
   6. PRODUCT CARD
   ========================================================================== */
.pcard{
  background:#fff;border:1px solid var(--st-line);border-radius:18px;
  padding:8px;box-shadow:none;transform:none;
}
.pcard:hover{border-color:var(--st-line-2);box-shadow:var(--shadow-lg);transform:none}
.pcard-imgwrap{
  background:var(--st-well);border:0;border-radius:12px;aspect-ratio:1/1;
}
.pcard-imgwrap img{mix-blend-mode:multiply;padding:14px}
.pcard-deal{
  top:8px;left:8px;background:var(--st-red);color:#fff;border-radius:999px;
  font-size:11px;font-weight:700;padding:3px 9px;box-shadow:none;letter-spacing:0;
}
.pcard-fav{
  top:8px;right:8px;width:34px;height:34px;background:#fff;border:0;
  color:var(--st-ink-2);box-shadow:0 1px 3px rgba(23,32,30,.14);
}
.pcard-fav:hover{color:var(--st-red)}
.pcard-fav.on{color:var(--st-red);background:#fff;border:0}

.pcard-body{padding:12px 6px 4px;gap:4px}
.pcard-brand{
  font-size:11.5px;font-weight:600;color:var(--st-ink-3);
  text-transform:none;letter-spacing:0;
}
.pcard-name{font-size:14px;font-weight:500;line-height:1.38;min-height:38px;color:var(--st-ink)}
.pcard:hover .pcard-name{color:var(--st-ink)}
.pcard-rating{font-size:12px}
.pcard-rating .rc{color:var(--st-ink-3);font-weight:500}
.stars{color:var(--st-sun)}

.pcard-price{gap:8px;margin-top:6px}
.pcard-price .price-now,.rcard-price .now,.pdp-price .now,.bb-price,.price-now{
  font-family:var(--display);font-weight:700;letter-spacing:-.02em;color:var(--st-ink);
}
.pcard-price .price-now{font-size:21px}
.price-now .cur,.rcard-price .now .cur,.pdp-price .now .cur,.bb-price .cur{
  font-size:.62em;vertical-align:.3em;margin-right:2px;font-weight:600;
}
.pcard-price .price-was,.rcard-price .was,.pdp-price .was{font-size:12.5px;color:var(--st-ink-3)}
.pcard-save{
  background:var(--st-red-soft);color:var(--st-red-2);font-size:11.5px;font-weight:700;
  padding:2px 8px;border-radius:999px;margin-top:4px;
}
.pcard-meta{color:#17804F;font-size:12px;font-weight:600}
.pcard-eta{font-size:12px;color:var(--st-ink-2);font-weight:500}
.pcard-actions{padding-top:12px}
.pcard-actions .btn{min-height:42px}
.rcard-price .off,.pcard-price .off{background:var(--st-red);border-radius:999px;padding:2px 7px}

/* ==========================================================================
   7. PRODUCT PAGE
   ========================================================================== */
.pdp{border-radius:22px;border:1px solid var(--st-line);padding:24px}
.pdp-title,.pdp h1{font-family:var(--display);font-size:26px;font-weight:600;line-height:1.25;letter-spacing:-.02em}
.pdp-main-img{background:var(--st-well);border-radius:18px;border:0}
.pdp-main-img img{mix-blend-mode:multiply}
.pdp-thumbs button,.pdp-thumbs>*{border-radius:12px}
.pdp-brand-link{color:var(--st-green);font-weight:600}
.pdp-save{color:var(--st-red)}
.pdp-price .now{font-size:32px}
.pdp-offers .offer-card,.offer-card{border-radius:14px;border:1px solid var(--st-line);background:var(--st-well)}
.offer-ico{background:#fff;color:var(--st-green);border-radius:10px}
.highlight{border-radius:12px;background:var(--st-well);border:1px solid var(--st-line)}
.hl-l{text-transform:none;letter-spacing:0;font-weight:600;color:var(--st-ink-3)}
.rating-sum{border-radius:16px;background:var(--st-well);border:1px solid var(--st-line)}
.rb-fill{background:var(--st-sun)}
.spec-table{border-radius:14px;overflow:hidden;border:1px solid var(--st-line)}
.spec-table td,.spec-table th{border-color:var(--st-line)!important}

.buybox{
  border:1px solid var(--st-line);border-radius:20px;padding:20px;
  background:linear-gradient(#fff,#fff) padding-box;
  box-shadow:0 18px 40px -26px rgba(23,32,30,.35);
  position:relative;overflow:hidden;
}
.buybox::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--st-green)}
.bb-price{font-size:30px}
.bb-stock{color:#17804F;font-size:15px;font-weight:700}
.bb-trust svg{color:var(--st-green)}
.qty-sel,.qty,.qty-box{border-radius:999px;border:1px solid var(--st-line-2);background:#fff;box-shadow:none}
.qty-sel button:hover{color:var(--st-green);background:var(--st-well)}

.ht-buybar{border-top:1px solid var(--st-line);box-shadow:0 -6px 18px -8px rgba(23,32,30,.18)}
.buybar-price{font-family:var(--display);font-weight:700}

/* ==========================================================================
   8. RAILS + ADDED-TO-CART
   ========================================================================== */
.rail{border:1px solid var(--st-line);border-radius:20px;padding:18px 18px 10px}
.rail-head h2{font-family:var(--display);font-size:21px;font-weight:700;letter-spacing:-.02em}
.rail-btn{
  width:38px;height:38px;border-radius:50%;border:1px solid var(--st-line-2);
  background:#fff;color:var(--st-ink);box-shadow:none;font-size:18px;
}
.rail-btn:hover{background:var(--st-ink);border-color:var(--st-ink);color:#fff}
.rail-track::-webkit-scrollbar-thumb{background:var(--st-line-2)}
.rcard{border:1px solid transparent;border-radius:16px;padding:6px}
.rcard:hover{border-color:var(--st-line);box-shadow:none;background:#fff}
.rcard-img{background:var(--st-well);border-radius:12px}
.rcard-img img{mix-blend-mode:multiply}
.rcard-name{font-size:13px;color:var(--st-ink)}
.rcard-name:hover{color:var(--st-green);text-decoration:none}
.rcard-rating .rc{color:var(--st-ink-3)}
.rcard-oos{color:var(--st-red)}

.atc-ok h1{font-family:var(--display);font-weight:700;color:#17804F}
.atc-tick{background:var(--green-bg);border-radius:50%}
.atc-thumb{background:var(--st-well);border-radius:14px}
.atc-sub-val{font-family:var(--display);color:var(--st-ink)}
.atc-price .off{color:var(--st-red)}
.atc-bar{background:var(--st-line);height:8px}
.atc-bar span{background:#17804F;border-radius:99px}

.pay-row-amt{color:var(--st-ink)}
.pay-row-ico.out{background:var(--st-red-soft);color:var(--st-red)}
.pay-alert{border-left:4px solid var(--st-red)}
.pay-kpi .v{font-family:var(--display)}

/* ==========================================================================
   9. DRAWERS + MODALS
   ========================================================================== */
.overlay{background:rgba(23,32,30,.42)}
@supports (backdrop-filter:blur(2px)){ html:not(.lite) .overlay{backdrop-filter:blur(2px)} }
.drawer-head{padding-top:calc(16px + var(--safe-t, 0px));padding-bottom:16px}
.drawer-head h3,.modal-head h3{font-family:var(--display);font-size:20px;font-weight:700;letter-spacing:-.02em}
.cart-line{padding:14px 0;border-color:var(--st-line)}
.cart-thumb{background:var(--st-well);border-radius:12px}
.drawer-foot{background:var(--st-well)}
.icon-btn{border-radius:50%}
.modal-head::before{background:var(--st-line-2)}
.role-seg button.on{background:var(--st-green);border-color:var(--st-green);color:#fff}

/* browse menu */
.nav-dr-head{background:var(--st-ink)!important}
.nav-dr-ava{background:rgba(255,255,255,.14)}
.nm-sec{border-color:var(--st-line)}
.nm-sec h4{font-family:var(--display);color:var(--st-ink);font-weight:700}
.nm-row{color:var(--st-ink-2);border-radius:0}
.nm-row:hover,.nm-row:focus-visible{background:var(--st-well);color:var(--st-ink)}
.nm-row.strong .nm-lbl{color:var(--st-green)}
.nm-row:focus-visible{box-shadow:inset 3px 0 0 var(--st-green)}
.nm-back{border-color:var(--st-line);color:var(--st-ink)}
.nm-back:hover{background:var(--st-well)}

.toast{border-radius:12px;background:var(--st-ink);font-family:var(--font)}

/* ==========================================================================
   10. FOOTER — light, bordered
   ========================================================================== */
.ft{background:#fff;color:var(--st-ink);margin-top:48px;border-top:1px solid var(--st-line);position:relative}
.ft-top{
  position:absolute;left:50%;top:0;transform:translate(-50%,-50%);
  width:auto;padding:9px 18px;border-radius:999px;
  background:#fff;color:var(--st-ink);border:1px solid var(--st-line-2);
  font-size:12.5px;font-weight:600;box-shadow:var(--shadow-sm);z-index:2;
}
.ft-top:hover{background:var(--st-ink);color:#fff;border-color:var(--st-ink)}
.ft-cols{background:#fff}
.ft-cols-inner{padding:52px 24px 34px;gap:28px}
.ft-col{gap:10px}
.ft-col h4{font-family:var(--display);font-size:15px;font-weight:700;color:var(--st-ink);margin-bottom:4px}
.ft-col a{color:var(--st-ink-2);font-size:13.5px}
.ft-col a:hover{color:var(--st-green);text-decoration:none}
.ft-base{background:var(--st-well);border-top:1px solid var(--st-line)}
.ft-inner{color:var(--st-ink-3);font-size:12.5px;padding:18px 24px;justify-content:space-between}
.ft a,.ft .link{color:var(--st-ink-2)}
.ft a:hover{color:var(--st-green)}

/* ---- PDP gallery: own pictures + product video (lib/media.js) ---- */
.pdp-grid>*,.pdp-gallery{min-width:0}
.pdp-thumbs{max-width:100%;padding-bottom:2px}
@media (min-width:861px){ .pdp-thumbs{flex-wrap:wrap;overflow:visible} }
.pdp-thumb{appearance:none;-webkit-appearance:none;padding:0;cursor:pointer;background:var(--st-well);overflow:hidden}
.pdp-thumb img{mix-blend-mode:multiply}
.pdp-thumb-video{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:var(--st-ink);color:#fff;border-color:var(--st-ink)}
.pdp-thumb-video .pv-play{font-size:15px;line-height:1}
.pdp-thumb-video .pv-lbl{font-size:10.5px;font-weight:600}
.pdp-thumb-video.on{background:var(--st-green);border-color:var(--st-green)}
.pdp-main-img .pdp-video{width:100%;height:100%;object-fit:contain;background:#000;border-radius:inherit;display:block}
.pdp-feats li{margin-bottom:6px;line-height:1.5}

/* ---- shelves: the deck wall is two wide cards per row, each one a single
   row of four products, instead of a wall of 2 x 2 quads ---- */
.hm-wall{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-wall .deck-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hm-wall-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-wall-3 .deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.deck{display:flex;flex-direction:column}
.deck-grid{flex:1}
.hm-mini-wrap{padding-top:16px}
.hm-mini{gap:12px}
.mcard{flex-basis:160px;height:200px}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */
@media (max-width:1360px){
  .nav-geo{display:none}
}
@media (max-width:1180px){
  .hdr-btn .hb-txt .t1{display:none}
}
@media (max-width:1000px){
  .hdr-btn .hb-txt{display:none}
  .hdr-btn{padding:4px}
  .hdr-btn .hb-ico{width:40px;height:40px}
  .hdr-cart .t2{display:none}
  .hdr-cart{padding:0 13px;width:auto}
}
@media (max-width:1050px){
  .hm-wall{grid-template-columns:1fr}
  .hm-wall-3{grid-template-columns:1fr 1fr}
  .hm-wall-3 .deck-panel:last-child:nth-child(odd){grid-column:1/-1}
  .hm-wall-3 .deck-panel:last-child:nth-child(odd) .deck-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:860px){
  .hdr-main{flex-wrap:wrap;padding:10px 14px 12px;gap:8px 6px;min-height:0}
  .brand-logo img{height:26px}
  .hdr-actions{margin-left:auto}
  .search-box{order:3;flex:1 0 100%;height:44px;margin:2px 0 0}
  .search-box select{max-width:92px;font-size:12px;padding:0 22px 0 11px}
  .search-box input{font-size:16px}
  .hdr-openbox{margin:0;padding:4px 10px 4px 4px}
  .hdr-openbox .ob-ico{width:28px;height:28px}
  .hdr-openbox .t2{font-size:12.5px}
  .hdr-btn .hb-ico{width:38px;height:38px}
  .hdr-cart{height:40px;margin-left:2px}
  .subnav-inner{min-height:46px}
  .subnav-inner a{font-size:12.5px;padding:5px 11px}
  .subnav-inner a.sub-openbox{padding:5px 11px;margin:0}

  :root{--hm-gap:10px;--hm-r:16px}
  .hm-sec{padding-top:22px}
  .hm-wall .deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hm-wall-3{grid-template-columns:1fr}
  .hm-wall-3 .deck-panel:last-child:nth-child(odd) .deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mcard{flex-basis:140px;height:180px}
  .hm-h2{font-size:20px}
  .deck{padding:14px}
  .pgrid{gap:10px}
  .pcard{padding:6px;border-radius:16px}
  .pcard-body{padding:10px 4px 2px}
  .pcard-name{font-size:13px}
  .pcard-price .price-now{font-size:18px}
  .pdp{padding:14px;border-radius:18px}
  .pdp-title,.pdp h1{font-size:20px}
  .rail{padding:14px 12px 6px;border-radius:18px}
  .rail-head h2{font-size:18px}
  .ft-cols-inner{padding:44px 16px 24px;gap:20px}
  .ft-inner{padding:16px}
}
@media (max-width:420px){
  .hdr-btn#ordersBtn{display:none}
}

@media (prefers-reduced-motion:reduce){
  .hdr-openbox,.hdr-openbox::after{animation:none!important}
}
@media print{
  .hdr{backdrop-filter:none;background:#fff}
  .ft-top{display:none}
}
