/* ==========================================================================
   Zeesh Tools — storefront design system.

   Every visual decision reads a CSS custom property. The values below are the
   fallbacks; the live values are printed inline from inc/tokens.php, which is
   what lets Zeesh Studio restyle the whole shop without touching this file.
   ========================================================================== */

:root{
  /* --- Brand tokens (Studio-editable) --- */
  --brand:            #F4570C;
  --brand-600:        #DB4B05;
  --brand-700:        #B93E04;
  --brand-soft:       #FFF1E8;
  --brand-ring:       rgba(244,87,12,.28);

  --accent:           #0E7C86;
  --accent-soft:      #E6F5F6;

  /* --- Neutrals --- */
  --ink:              #0B1220;
  --ink-2:            #2C3852;
  --muted:            #6B7A90;
  --muted-2:          #93A1B5;
  --line:             #E5EAF1;
  --line-2:           #EFF3F8;
  --bg:               #FFFFFF;
  --surface:          #F7F9FC;
  --surface-2:        #F1F5FA;

  /* --- Status --- */
  --ok:               #12805C;
  --ok-soft:          #E7F5EF;
  --warn:             #B45309;
  --warn-soft:        #FDF4E7;
  --danger:           #D4183D;
  --danger-soft:      #FDECEF;
  --info:             #1D5FD0;
  --info-soft:        #EAF1FE;

  /* --- Typography --- */
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(1.85rem, 1.1rem + 3.2vw, 3.6rem);
  --fs-h1:   clamp(1.8rem, 1.2rem + 2vw, 2.7rem);
  --fs-h2:   clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
  --fs-h3:   clamp(1.12rem, 1rem + .5vw, 1.35rem);

  /* --- Shape --- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* --- Elevation --- */
  --sh-1: 0 1px 2px rgba(11,18,32,.05), 0 1px 3px rgba(11,18,32,.04);
  --sh-2: 0 4px 12px rgba(11,18,32,.06), 0 2px 4px rgba(11,18,32,.04);
  --sh-3: 0 12px 32px rgba(11,18,32,.10), 0 4px 10px rgba(11,18,32,.05);
  --sh-4: 0 24px 64px rgba(11,18,32,.14), 0 8px 20px rgba(11,18,32,.06);

  /* --- Layout --- */
  --container: 1300px;
  --gutter: 24px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip; }

body{
  margin:0;
  overflow-x:clip;
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.6;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
h1,h2,h3,h4,h5{ font-family:var(--font-display); font-weight:700; line-height:1.16; letter-spacing:-.02em; margin:0 0 .5em; }
h1{ font-size:var(--fs-h1); }
h2{ font-size:var(--fs-h2); }
h3{ font-size:var(--fs-h3); letter-spacing:-.01em; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em; padding-left:1.15em; }
hr{ border:0; border-top:1px solid var(--line); margin:28px 0; }
::selection{ background:var(--brand); color:#fff; }

:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
  border-radius:var(--r-xs);
}

/* Grid children default to min-width:auto, so a wide table or long word can
   blow out the track. Every layout grid opts out. */
.g2 > *, .g3 > *, .g4 > *, .grid > *,
.shop-layout > *, .cart-layout > *, .checkout-layout > *,
.acct-layout > *, .pdp > *, .footer-top > *, .article-layout > *{ min-width:0; }

/* ---------- Layout primitives ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.container-wide{ max-width:1560px; }
.section{ padding-block:clamp(40px,5vw,72px); }
.section-tight{ padding-block:clamp(28px,3.5vw,44px); }
.row{ display:flex; align-items:center; gap:12px; }
.row-between{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.grid{ display:grid; gap:20px; }
.spacer{ flex:1 1 auto; }
.muted{ color:var(--muted); }
.small{ font-size:13px; }
.tiny{ font-size:12px; }
.center{ text-align:center; }
.nowrap{ white-space:nowrap; }
.hide{ display:none !important; }
.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; }
.surface{ background:var(--surface); }

/* ---------- Section heading ---------- */
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; flex-wrap:wrap; }
.sec-head h2{ margin:0; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--brand); margin-bottom:10px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--brand); border-radius:2px; }
.sec-head p{ margin:8px 0 0; color:var(--muted); max-width:62ch; }

/* ---------- Buttons ---------- */
.btn{
  --btn-bg:var(--ink); --btn-fg:#fff; --btn-bd:transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:0 20px; height:44px;
  background:var(--btn-bg); color:var(--btn-fg);
  border:1px solid var(--btn-bd); border-radius:var(--r-sm);
  font-weight:650; font-size:14.5px; letter-spacing:-.01em;
  cursor:pointer; white-space:nowrap;
  transition:transform .16s var(--ease), box-shadow .2s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--sh-2); }
.btn:active{ transform:translateY(0); box-shadow:none; }
.btn svg{ width:18px; height:18px; flex:none; }

.btn-primary{ --btn-bg:var(--brand); --btn-fg:#fff; box-shadow:0 1px 2px rgba(244,87,12,.28); }
.btn-primary:hover{ --btn-bg:var(--brand-600); box-shadow:0 8px 20px rgba(244,87,12,.26); }
.btn-dark{ --btn-bg:var(--ink); }
.btn-ghost{ --btn-bg:transparent; --btn-fg:var(--ink); --btn-bd:var(--line); }
.btn-ghost:hover{ --btn-bd:var(--ink); background:var(--surface); }
.btn-soft{ --btn-bg:var(--surface-2); --btn-fg:var(--ink); }
.btn-soft:hover{ --btn-bg:#E7EDF6; }
.btn-brand-soft{ --btn-bg:var(--brand-soft); --btn-fg:var(--brand-700); }
.btn-white{ --btn-bg:#fff; --btn-fg:var(--ink); }
.btn-lg{ height:52px; padding:0 26px; font-size:15.5px; border-radius:var(--r); }
.btn-sm{ height:36px; padding:0 14px; font-size:13.5px; border-radius:var(--r-xs); }
.btn-block{ width:100%; }
.btn-pill{ border-radius:var(--r-pill); }
.btn[disabled], .btn.is-disabled{ opacity:.5; pointer-events:none; }
.btn-link{ background:none; border:0; padding:0; height:auto; color:var(--brand-700); font-weight:650; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }

.icon-btn{
  display:inline-grid; place-items:center; width:40px; height:40px; flex:none;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-sm);
  color:var(--ink-2); cursor:pointer;
  transition:.16s var(--ease);
}
.icon-btn:hover{ border-color:var(--ink); color:var(--ink); background:var(--surface); }
.icon-btn svg{ width:18px; height:18px; }
.icon-btn.is-active{ background:var(--brand-soft); border-color:var(--brand); color:var(--brand-700); }

/* ---------- Badges / chips ---------- */
.badge{
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 9px; border-radius:var(--r-pill);
  font-size:11.5px; font-weight:700; letter-spacing:.02em;
  background:var(--surface-2); color:var(--ink-2);
}
.badge-brand{ background:var(--brand); color:#fff; }
.badge-danger{ background:var(--danger); color:#fff; }
.badge-ok{ background:var(--ok-soft); color:var(--ok); }
.badge-warn{ background:var(--warn-soft); color:var(--warn); }
.badge-info{ background:var(--info-soft); color:var(--info); }
.badge-dark{ background:var(--ink); color:#fff; }
.badge-outline{ background:#fff; border:1px solid var(--line); color:var(--ink-2); }
.dot{ width:7px; height:7px; border-radius:50%; background:currentColor; flex:none; }

.chip{
  display:inline-flex; align-items:center; gap:7px;
  height:34px; padding:0 13px; border-radius:var(--r-pill);
  background:#fff; border:1px solid var(--line); color:var(--ink-2);
  font-size:13.5px; font-weight:550; cursor:pointer; transition:.16s var(--ease);
}
.chip:hover{ border-color:var(--ink-2); color:var(--ink); }
.chip.is-active{ background:var(--ink); border-color:var(--ink); color:#fff; }
.chip .x{ opacity:.6; font-size:15px; line-height:1; }

/* ---------- Forms ---------- */
.field{ display:block; margin-bottom:16px; }
.field > label, .lbl{ display:block; font-size:13px; font-weight:650; color:var(--ink-2); margin-bottom:6px; }
.req{ color:var(--danger); }
.input, .select, .textarea{
  width:100%; height:46px; padding:0 14px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-sm);
  font-size:14.5px; color:var(--ink);
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.textarea{ height:auto; padding:12px 14px; min-height:120px; resize:vertical; }
.input::placeholder,.textarea::placeholder{ color:var(--muted-2); }
.input:focus,.select:focus,.textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-ring); }
.input[aria-invalid="true"]{ border-color:var(--danger); box-shadow:0 0 0 4px var(--danger-soft); }
.select{
  appearance:none; padding-right:38px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:16px;
}
.field-hint{ font-size:12.5px; color:var(--muted); margin-top:6px; }
.field-error{ font-size:12.5px; color:var(--danger); margin-top:6px; font-weight:550; }
.field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
@media (max-width:620px){ .field-grid{ grid-template-columns:1fr; } }

.check{ display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-size:14px; padding:3px 0; }
.check input{ appearance:none; width:18px; height:18px; margin:1px 0 0; flex:none;
  border:1.5px solid var(--muted-2); border-radius:5px; background:#fff; cursor:pointer; transition:.14s var(--ease); }
.check input[type=radio]{ border-radius:50%; }
.check input:checked{ background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; border-color:var(--brand); }
.check input[type=radio]:checked{ background-image:none; box-shadow:inset 0 0 0 4px #fff; }
.check input:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.check .cnt{ flex:1; min-width:0; }
.check .count{ color:var(--muted-2); font-size:12.5px; }

.switch{ position:relative; display:inline-flex; align-items:center; gap:10px; cursor:pointer; }
.switch input{ position:absolute; opacity:0; width:0; height:0; }
.switch .track{ width:40px; height:23px; border-radius:var(--r-pill); background:#CBD5E1; position:relative; transition:.18s var(--ease); flex:none; }
.switch .track::after{ content:""; position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:50%; background:#fff; box-shadow:var(--sh-1); transition:.18s var(--ease); }
.switch input:checked + .track{ background:var(--brand); }
.switch input:checked + .track::after{ transform:translateX(17px); }
.switch input:focus-visible + .track{ outline:2px solid var(--brand); outline-offset:2px; }

/* ---------- Stars ---------- */
.stars{ display:inline-flex; align-items:center; gap:1px; color:#F5A524; }
.stars svg{ width:14px; height:14px; }
.stars.lg svg{ width:18px; height:18px; }
.stars .off{ color:#DCE2EB; }

/* ---------- Notices ---------- */
.notice{
  display:flex; gap:12px; padding:14px 16px; border-radius:var(--r);
  background:var(--surface); border:1px solid var(--line); font-size:14px;
}
.notice svg{ width:20px; height:20px; flex:none; margin-top:1px; }
.notice p:last-child{ margin-bottom:0; }
.notice-ok{ background:var(--ok-soft); border-color:#C7E7DA; color:#0B5C42; }
.notice-warn{ background:var(--warn-soft); border-color:#F2DFC0; color:#8A4008; }
.notice-info{ background:var(--info-soft); border-color:#CFE0FB; color:#14428F; }
.notice-danger{ background:var(--danger-soft); border-color:#F7CBD5; color:#9C0F2C; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar{ background:var(--ink); color:#C6D0E0; font-size:12.5px; }
.topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; height:38px; }
.topbar a{ color:#fff; }
.topbar-links{ display:flex; align-items:center; gap:18px; }
.topbar-links a{ color:#C6D0E0; transition:color .15s; }
.topbar-links a:hover{ color:#fff; }
.topbar .ticker{ display:flex; align-items:center; gap:8px; }
.topbar svg{ width:14px; height:14px; }
@media (max-width:900px){ .topbar .ticker span{ display:none; } .topbar-links a:nth-child(n+3){ display:none; } }
@media (max-width:620px){
  .topbar .container{ height:34px; }
  .topbar{ font-size:11.5px; }
  .topbar .ticker b{ white-space:nowrap; }
  .topbar-links{ gap:14px; }
  .topbar-links a:nth-child(n+2){ display:none; }
}

.site-header{ position:sticky; top:0; z-index:60; background:#fff; border-bottom:1px solid var(--line); }
.header-main{ display:flex; align-items:center; gap:24px; height:80px; }

.logo{ display:flex; align-items:center; gap:11px; flex:none; }
.logo-mark{
  width:42px; height:42px; border-radius:12px; flex:none;
  background:linear-gradient(140deg, var(--brand) 0%, #FF8A3D 100%);
  display:grid; place-items:center; color:#fff; box-shadow:0 4px 12px rgba(244,87,12,.3);
}
.logo-mark svg{ width:24px; height:24px; }
.logo-text{ line-height:1.05; }
.logo-text b{ font-family:var(--font-display); font-size:19px; font-weight:700; letter-spacing:-.03em; display:block; }
.logo-text span{ font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-weight:600; }

.search{ flex:1; max-width:640px; position:relative; }
.search-box{ display:flex; align-items:center; height:48px; border:1.5px solid var(--line); border-radius:var(--r-sm); background:#fff; overflow:hidden; transition:.16s var(--ease); }
.search-box:focus-within{ border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-ring); }
.search-cat{ border:0; background:var(--surface); height:100%; padding:0 34px 0 14px; font-size:13.5px; font-weight:600; color:var(--ink-2); border-right:1px solid var(--line); cursor:pointer; 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='%236B7A90' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:15px; }
.search-input{ flex:1; border:0; height:100%; padding:0 14px; font-size:14.5px; outline:none; min-width:0; }
.search-btn{ height:100%; width:52px; border:0; background:var(--brand); color:#fff; display:grid; place-items:center; cursor:pointer; transition:background .16s; }
.search-btn:hover{ background:var(--brand-600); }
.search-btn svg{ width:19px; height:19px; }

.header-actions{ display:flex; align-items:center; gap:6px; flex:none; }
.h-action{
  display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:var(--r-sm);
  color:var(--ink); position:relative; transition:background .15s; border:0; background:none; cursor:pointer;
}
.h-action:hover{ background:var(--surface); }
.h-action > svg{ width:22px; height:22px; stroke-width:1.7; }
.h-action .txt{ line-height:1.2; text-align:left; }
.h-action .txt small{ display:block; font-size:11px; color:var(--muted); }
.h-action .txt b{ font-size:13.5px; font-weight:650; }
.h-count{
  position:absolute; top:2px; left:24px; min-width:18px; height:18px; padding:0 5px;
  background:var(--brand); color:#fff; border-radius:var(--r-pill);
  font-size:11px; font-weight:700; display:grid; place-items:center; border:2px solid #fff;
}
.burger{ display:none; }
@media (max-width:1340px){ .h-action .txt{ display:none; } }
@media (max-width:1180px){ .navbar .btn-brand-soft{ display:none; } }
@media (max-width:860px){
  .header-main{ height:auto; min-height:0; gap:10px; flex-wrap:wrap; padding-block:10px; }
  .search{ order:5; flex-basis:100%; max-width:none; margin-bottom:2px; }
  .search-box{ height:44px; }
  .search-cat{ display:none; }
  .burger{ display:inline-grid; }
  .site-header{ position:static; }
  .header-actions{ margin-left:auto; gap:2px; }
  .h-action{ padding:7px; }
  .h-action > svg{ width:21px; height:21px; }
  .logo-mark{ width:38px; height:38px; }
  .logo-text b{ font-size:17px; }
  .logo-text span{ font-size:9.5px; letter-spacing:.13em; }
}
@media (max-width:400px){
  .h-action[aria-label="Support"]{ display:none; }
}

/* ---------- Primary nav + mega menu ---------- */
.navbar{ border-top:1px solid var(--line-2); background:#fff; }
.navbar .container{ display:flex; align-items:center; gap:8px; }
.nav-cats{
  display:flex; align-items:center; gap:9px; height:46px; padding:0 18px; margin-right:8px;
  white-space:nowrap; flex:none;
  background:var(--ink); color:#fff; border-radius:var(--r-sm) var(--r-sm) 0 0;
  font-weight:650; font-size:14px; cursor:pointer; border:0;
}
.nav-cats svg{ width:17px; height:17px; }
.nav-list{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.nav-list > li > a{
  display:flex; align-items:center; gap:6px; height:46px; padding:0 12px;
  font-size:14px; font-weight:550; color:var(--ink-2); position:relative; transition:color .15s;
  white-space:nowrap;
}
.nav-list > li > a:hover, .nav-list > li.is-active > a{ color:var(--brand-700); }
.nav-list > li > a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:0; height:2px; background:var(--brand);
  transform:scaleX(0); transition:transform .2s var(--ease); border-radius:2px;
}
.nav-list > li:hover > a::after, .nav-list > li.is-active > a::after{ transform:scaleX(1); }
.nav-list .caret{ width:14px; height:14px; opacity:.6; }
.nav-hot{ color:var(--danger) !important; font-weight:650 !important; }
@media (max-width:1080px){ .navbar{ display:none; } }

.mega{
  position:absolute; left:0; right:0; top:100%; z-index:70;
  background:#fff; border-top:1px solid var(--line); box-shadow:var(--sh-3);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:.2s var(--ease);
}
.has-mega{ position:relative; }
.has-mega:hover .mega, .mega:hover{ opacity:1; visibility:visible; transform:translateY(0); }
.mega-inner{ display:grid; grid-template-columns:repeat(4,1fr) 300px; gap:32px; padding:30px 0 34px; }
.mega-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:.09em; color:var(--brand); margin-bottom:12px; }
.mega-col ul{ list-style:none; margin:0; padding:0; }
.mega-col li a{ display:block; padding:5px 0; font-size:14px; color:var(--ink-2); transition:.14s; }
.mega-col li a:hover{ color:var(--brand-700); transform:translateX(3px); }
.mega-promo{ background:var(--surface); border-radius:var(--r); padding:20px; display:flex; flex-direction:column; }
.mega-promo .thumb{ background:#fff; border-radius:var(--r-sm); padding:14px; margin-bottom:14px; }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.p-card{
  position:relative; display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; transition:.2s var(--ease);
}
.p-card:hover{ border-color:#D3DCE8; box-shadow:var(--sh-3); transform:translateY(-3px); }
.p-media{
  position:relative; aspect-ratio:1/1; background:var(--surface);
  display:grid; place-items:center; padding:18px; overflow:hidden;
}
.p-media svg.tool{ width:100%; height:100%; transition:transform .35s var(--ease); }
.p-card:hover .p-media svg.tool{ transform:scale(1.06) rotate(-2deg); }
.p-flags{ position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:5px; align-items:flex-start; z-index:2; }
.p-quick{
  position:absolute; top:10px; right:10px; display:flex; flex-direction:column; gap:6px; z-index:2;
  opacity:0; transform:translateX(8px); transition:.2s var(--ease);
}
.p-card:hover .p-quick{ opacity:1; transform:translateX(0); }
.p-quick .icon-btn{ width:34px; height:34px; box-shadow:var(--sh-1); }
.p-quick .icon-btn svg{ width:16px; height:16px; }
.p-body{ padding:14px 16px 16px; display:flex; flex-direction:column; flex:1; }
.p-brand{ font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); margin-bottom:5px; }
.p-title{ font-family:var(--font-body); font-size:14.5px; font-weight:600; line-height:1.4; margin:0 0 8px; letter-spacing:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.p-card:hover .p-title{ color:var(--brand-700); }
.p-rating{ display:flex; align-items:center; gap:6px; margin-bottom:10px; font-size:12.5px; color:var(--muted); }
.p-price{ display:flex; align-items:baseline; gap:8px; margin-top:auto; }
.p-price .now{ font-family:var(--font-display); font-size:19px; font-weight:700; letter-spacing:-.02em; }
.p-price .was{ font-size:13px; color:var(--muted-2); text-decoration:line-through; }
.p-price .off{ font-size:12px; font-weight:700; color:var(--ok); }
.p-meta{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); margin-top:8px; }
.p-stock{ margin-top:10px; }
.p-stock .bar{ height:5px; border-radius:3px; background:var(--surface-2); overflow:hidden; }
.p-stock .bar i{ display:block; height:100%; background:linear-gradient(90deg,var(--brand),#FF9351); border-radius:3px; }
.p-stock .lbl{ font-size:11.5px; color:var(--muted); margin-top:5px; }
.p-actions{ margin-top:12px; display:flex; gap:8px; }
.p-actions .btn{ flex:1; }

/* Product grid */
.p-grid{ display:grid; gap:20px; grid-template-columns:repeat(4,1fr); }
.p-grid.cols-5{ grid-template-columns:repeat(5,1fr); }
.p-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1200px){ .p-grid, .p-grid.cols-5{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:860px){ .p-grid, .p-grid.cols-5, .p-grid.cols-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){ .p-grid{ gap:12px; } }

/* List view */
.p-grid.is-list{ grid-template-columns:1fr; gap:14px; }
.p-grid.is-list .p-card{ flex-direction:row; }
.p-grid.is-list .p-media{ width:210px; flex:none; aspect-ratio:auto; }
.p-grid.is-list .p-body{ padding:20px 24px; }
.p-grid.is-list .p-title{ font-size:17px; -webkit-line-clamp:1; }
.p-grid.is-list .p-actions{ max-width:340px; }
.p-grid.is-list .list-only{ display:block; }
.list-only{ display:none; }
@media (max-width:700px){ .p-grid.is-list .p-media{ width:120px; } .p-grid.is-list .list-only{ display:none; } }

/* ==========================================================================
   HERO / HOME
   ========================================================================== */
.hero{ background:linear-gradient(180deg,#fff 0%, var(--surface) 100%); border-bottom:1px solid var(--line); overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; padding-block:clamp(32px,4.5vw,64px); }
.hero h1{ font-size:var(--fs-hero); margin-bottom:18px; }
.hero h1 em{ font-style:normal; color:var(--brand); position:relative; white-space:nowrap; }
.hero h1 em::after{ content:""; position:absolute; left:0; right:0; bottom:.06em; height:.14em; background:var(--brand-soft); z-index:-1; }
.hero-lead{ font-size:17px; color:var(--ink-2); max-width:52ch; margin-bottom:26px; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px; }
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stats b{ font-family:var(--font-display); font-size:24px; display:block; letter-spacing:-.02em; }
.hero-stats span{ font-size:12.5px; color:var(--muted); }
.hero-visual{ position:relative; }
.hero-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); padding:26px;
  box-shadow:var(--sh-4); position:relative; z-index:2;
}
.hero-card .p-media{ border-radius:var(--r-lg); aspect-ratio:4/3; }
.hero-blob{ position:absolute; width:340px; height:340px; border-radius:50%; filter:blur(70px); opacity:.4; z-index:1; }
.hero-blob.b1{ background:var(--brand); top:-60px; right:-40px; }
.hero-blob.b2{ background:var(--accent); bottom:-70px; left:-50px; opacity:.25; }
.hero-float{
  position:absolute; background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:12px 15px; box-shadow:var(--sh-3); z-index:3; display:flex; align-items:center; gap:11px; font-size:13px;
}
.hero-float b{ display:block; font-size:14px; }
.hero-float .ic{ width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex:none; }
.hero-float.f1{ left:-26px; top:28%; }
.hero-float.f2{ right:-18px; bottom:16%; }
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:34px; }
  .hero-float.f1{ left:0; } .hero-float.f2{ right:0; }
}
@media (max-width:520px){ .hero-float{ display:none; } }

/* USP strip */
.usp{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.usp-item{ background:#fff; padding:20px 22px; display:flex; gap:14px; align-items:center; }
.usp-item .ic{ width:44px; height:44px; border-radius:12px; background:var(--brand-soft); color:var(--brand); display:grid; place-items:center; flex:none; }
.usp-item .ic svg{ width:22px; height:22px; }
.usp-item b{ display:block; font-size:14.5px; }
.usp-item span{ font-size:12.5px; color:var(--muted); }
@media (max-width:900px){ .usp{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:500px){ .usp{ grid-template-columns:1fr; } }

/* Category tiles */
.cat-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.cat-tile{
  background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px 14px;
  text-align:center; transition:.2s var(--ease);
}
.cat-tile:hover{ border-color:var(--brand); box-shadow:var(--sh-2); transform:translateY(-3px); }
.cat-tile .ic{ width:64px; height:64px; margin:0 auto 12px; border-radius:16px; background:var(--surface); display:grid; place-items:center; transition:.2s var(--ease); }
.cat-tile:hover .ic{ background:var(--brand-soft); }
.cat-tile .ic svg{ width:38px; height:38px; }
.cat-tile b{ display:block; font-size:13.5px; font-weight:600; }
.cat-tile span{ font-size:11.5px; color:var(--muted); }
@media (max-width:1100px){ .cat-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:640px){ .cat-grid{ grid-template-columns:repeat(3,1fr); gap:10px; } .cat-tile .ic{ width:52px; height:52px; } }

/* Deal banner */
.deal{
  display:grid; grid-template-columns:1.1fr 1fr; gap:34px; align-items:center;
  background:var(--ink); color:#fff; border-radius:var(--r-lg); padding:36px 40px; overflow:hidden; position:relative;
}
.deal::after{ content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:var(--brand); opacity:.16; filter:blur(60px); right:-80px; top:-120px; }
.deal h2{ color:#fff; font-size:clamp(1.6rem,1.2rem+1.4vw,2.3rem); }
.deal p{ color:#B6C2D4; max-width:46ch; }
.countdown{ display:flex; gap:10px; margin:22px 0 26px; }
.cd-unit{ background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.14); border-radius:var(--r-sm); padding:10px 4px; text-align:center; min-width:66px; }
.cd-unit b{ font-family:var(--font-display); font-size:24px; display:block; line-height:1; }
.cd-unit span{ font-size:10.5px; text-transform:uppercase; letter-spacing:.1em; color:#94A3B8; }
.deal-visual{ position:relative; z-index:2; background:#fff; border-radius:var(--r); padding:20px; }
@media (max-width:860px){ .deal{ grid-template-columns:1fr; padding:28px 24px; } }

/* Brands */
.brand-row{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.brand-chip{
  height:80px; background:#fff; border:1px solid var(--line); border-radius:var(--r);
  display:grid; place-items:center; font-family:var(--font-display); font-weight:700; font-size:17px;
  color:var(--muted); letter-spacing:-.02em; transition:.18s var(--ease);
}
.brand-chip:hover{ color:var(--ink); border-color:var(--ink); transform:translateY(-2px); }
@media (max-width:900px){ .brand-row{ grid-template-columns:repeat(3,1fr); } }

/* Split promo */
.promo-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.promo{
  border-radius:var(--r-lg); padding:28px; position:relative; overflow:hidden; min-height:210px;
  display:flex; flex-direction:column; justify-content:space-between; border:1px solid var(--line);
}
.promo h3{ margin-bottom:6px; max-width:16ch; }
.promo p{ font-size:13.5px; color:var(--muted); margin-bottom:16px; max-width:28ch; }
.promo.p-orange{ background:var(--brand-soft); border-color:#FBDDC9; }
.promo.p-teal{ background:var(--accent-soft); border-color:#C9E7E9; }
.promo.p-slate{ background:var(--surface-2); }
.promo .art{ position:absolute; right:-10px; bottom:-10px; width:130px; opacity:.9; }
@media (max-width:880px){ .promo-grid{ grid-template-columns:1fr; } }

/* Newsletter */
.newsletter{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(28px,4vw,48px); text-align:center; }
.newsletter form{ display:flex; gap:10px; max-width:480px; margin:22px auto 12px; }
@media (max-width:520px){ .newsletter form{ flex-direction:column; } }

/* Blog cards */
.post-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; transition:.2s var(--ease); }
.post-card:hover{ box-shadow:var(--sh-3); transform:translateY(-3px); }
.post-media{ aspect-ratio:16/10; background:var(--surface-2); position:relative; overflow:hidden; }
.post-media .cover{ width:100%; height:100%; }
.post-card .body{ padding:18px 20px 22px; }
.post-card h3{ font-size:17px; margin:8px 0 8px; }
.post-card:hover h3{ color:var(--brand-700); }
.post-meta{ display:flex; gap:12px; font-size:12.5px; color:var(--muted); }

/* ==========================================================================
   BREADCRUMB / PAGE HEAD
   ========================================================================== */
.crumbs{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); padding:14px 0; flex-wrap:wrap; }
.crumbs a:hover{ color:var(--brand-700); }
.crumbs svg{ width:14px; height:14px; opacity:.5; }
.crumbs .cur{ color:var(--ink); font-weight:550; }
.page-head{ background:var(--surface); border-bottom:1px solid var(--line); padding-block:26px 30px; }
.page-head h1{ margin:0 0 6px; }
.page-head p{ margin:0; color:var(--muted); max-width:70ch; }

/* ==========================================================================
   SHOP / ARCHIVE
   ========================================================================== */
.shop-layout{ display:grid; grid-template-columns:278px 1fr; gap:32px; align-items:start; }
@media (max-width:1000px){ .shop-layout{ grid-template-columns:1fr; } }

.filters{ position:sticky; top:96px; }
.filter-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); margin-bottom:14px; overflow:hidden; }
.filter-head{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 16px; cursor:pointer; user-select:none; list-style:none;
}
.filter-head::-webkit-details-marker{ display:none; }
.filter-head h4{ margin:0; font-size:14px; font-family:var(--font-body); font-weight:650; }
.filter-head .chev{ width:16px; height:16px; color:var(--muted); transition:transform .2s var(--ease); }
details[open] .filter-head .chev{ transform:rotate(180deg); }
.filter-body{ padding:0 16px 16px; }
.filter-body .check + .check{ margin-top:2px; }
.filter-search{ height:38px; margin-bottom:10px; font-size:13.5px; }
.filter-more{ margin-top:8px; font-size:13px; }

.price-inputs{ display:flex; align-items:center; gap:8px; margin-top:12px; }
.price-inputs .input{ height:38px; font-size:13.5px; padding:0 10px; }
.range{ position:relative; height:30px; display:flex; align-items:center; }
.range input[type=range]{ position:absolute; width:100%; appearance:none; background:none; pointer-events:none; height:20px; margin:0; }
.range input[type=range]::-webkit-slider-thumb{
  appearance:none; pointer-events:all; width:18px; height:18px; border-radius:50%;
  background:#fff; border:2px solid var(--brand); box-shadow:var(--sh-1); cursor:grab;
}
.range .track{ height:4px; width:100%; background:var(--surface-2); border-radius:2px; position:relative; }
.range .fill{ position:absolute; height:100%; background:var(--brand); border-radius:2px; }

.swatches{ display:flex; flex-wrap:wrap; gap:8px; }
.swatch{ width:34px; height:34px; border-radius:9px; border:2px solid var(--line); cursor:pointer; padding:2px; background:#fff; }
.swatch i{ display:block; width:100%; height:100%; border-radius:6px; }
.swatch.is-active{ border-color:var(--ink); }

.toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:12px 16px; margin-bottom:18px;
}
.view-toggle{ display:flex; gap:4px; background:var(--surface); border-radius:var(--r-xs); padding:3px; }
.view-toggle button{ width:32px; height:30px; border:0; background:none; border-radius:5px; display:grid; place-items:center; cursor:pointer; color:var(--muted); }
.view-toggle button.is-active{ background:#fff; color:var(--ink); box-shadow:var(--sh-1); }
.view-toggle svg{ width:16px; height:16px; }
.active-filters{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; align-items:center; }

.pagination{ display:flex; align-items:center; justify-content:center; gap:6px; margin-top:36px; flex-wrap:wrap; }
.pagination a, .pagination span{
  min-width:40px; height:40px; padding:0 12px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:var(--r-sm); font-size:14px; font-weight:550; background:#fff; transition:.15s;
}
.pagination a:hover{ border-color:var(--ink); }
.pagination .is-current{ background:var(--ink); border-color:var(--ink); color:#fff; }
.pagination .gap{ border:0; background:none; }

.filter-drawer-btn{ display:none; }
@media (max-width:1000px){
  .filters{ position:fixed; inset:0 auto 0 0; width:min(88vw,340px); background:#fff; z-index:120; overflow:auto; padding:20px; transform:translateX(-102%); transition:transform .28s var(--ease); box-shadow:var(--sh-4); }
  .filters.is-open{ transform:none; }
  .filter-drawer-btn{ display:inline-flex; }
}

/* ==========================================================================
   PRODUCT SINGLE
   ========================================================================== */
.pdp{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px; gap:34px; align-items:start; }
@media (max-width:1180px){ .pdp{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .pdp-buy{ grid-column:1/-1; } }
@media (max-width:760px){ .pdp{ grid-template-columns:1fr; } }

.gallery-main{
  position:relative; aspect-ratio:1/1; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); display:grid; place-items:center; padding:34px; overflow:hidden;
}
.gallery-main svg.tool{ width:100%; height:100%; }
.gallery-zoom{ position:absolute; right:14px; bottom:14px; }
.gallery-flags{ position:absolute; left:14px; top:14px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.gallery-thumbs{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.g-thumb{
  width:76px; height:76px; border:1.5px solid var(--line); border-radius:var(--r-sm);
  background:var(--surface); padding:8px; cursor:pointer; transition:.16s var(--ease);
}
.g-thumb:hover{ border-color:var(--muted-2); }
.g-thumb.is-active{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-ring); }

.pdp-title{ font-size:clamp(1.4rem,1.1rem+1vw,1.85rem); margin:10px 0 12px; }
.pdp-meta{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; font-size:13px; color:var(--muted); margin-bottom:18px; }
.pdp-price{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
.pdp-price .now{ font-family:var(--font-display); font-size:34px; font-weight:700; letter-spacing:-.03em; }
.pdp-price .was{ font-size:17px; color:var(--muted-2); text-decoration:line-through; }
.pdp-save{ font-size:13.5px; color:var(--ok); font-weight:650; margin-bottom:18px; }

.variants{ margin-bottom:20px; }
.variant-group + .variant-group{ margin-top:16px; }
.variant-label{ font-size:13px; font-weight:650; color:var(--ink-2); margin-bottom:8px; display:flex; gap:6px; }
.variant-label span{ color:var(--muted); font-weight:450; }
.variant-opts{ display:flex; flex-wrap:wrap; gap:8px; }
.v-opt{
  min-width:56px; height:42px; padding:0 14px; border:1.5px solid var(--line); border-radius:var(--r-sm);
  background:#fff; font-size:13.5px; font-weight:600; cursor:pointer; transition:.16s var(--ease);
  display:inline-flex; align-items:center; justify-content:center; gap:7px; position:relative;
}
.v-opt:hover{ border-color:var(--ink-2); }
.v-opt.is-active{ border-color:var(--brand); background:var(--brand-soft); color:var(--brand-700); }
.v-opt.is-out{ color:var(--muted-2); border-style:dashed; cursor:not-allowed; text-decoration:line-through; text-decoration-color:var(--muted-2); }
.v-opt.is-out::after{ content:"Out of stock"; position:absolute; top:-8px; right:-6px; background:var(--surface-2); color:var(--muted);
  font-size:9.5px; font-weight:700; letter-spacing:.02em; padding:1px 6px; border-radius:var(--r-pill); text-decoration:none; }

.qty{ display:inline-flex; align-items:center; border:1.5px solid var(--line); border-radius:var(--r-sm); height:52px; overflow:hidden; }
.qty button{ width:46px; height:100%; border:0; background:#fff; cursor:pointer; font-size:19px; color:var(--ink-2); transition:background .15s; }
.qty button:hover{ background:var(--surface); }
.qty input{ width:52px; height:100%; border:0; text-align:center; font-weight:650; font-size:15px; -moz-appearance:textfield; }
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.pdp-buy{ position:sticky; top:96px; }
.buy-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:20px; box-shadow:var(--sh-2); }
.buy-card .price-line{ display:flex; align-items:baseline; gap:10px; margin-bottom:4px; }
.buy-card .price-line b{ font-family:var(--font-display); font-size:26px; letter-spacing:-.02em; }
.trust-list{ list-style:none; padding:0; margin:16px 0 0; font-size:13px; }
.trust-list li{ display:flex; gap:10px; padding:9px 0; border-top:1px solid var(--line-2); align-items:flex-start; }
.trust-list li:first-child{ border-top:0; }
.trust-list svg{ width:17px; height:17px; color:var(--brand); flex:none; margin-top:2px; }
.trust-list b{ display:block; font-size:13px; }
.trust-list span{ color:var(--muted); font-size:12.5px; }

.seller-box{ border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; margin-top:14px; background:var(--surface); }

/* Tabs */
.tabs{ border-bottom:1px solid var(--line); display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }
.tabs::-webkit-scrollbar{ display:none; }
.tab{
  padding:14px 18px; border:0; background:none; font-size:14.5px; font-weight:600; color:var(--muted);
  cursor:pointer; position:relative; white-space:nowrap; transition:color .16s;
}
.tab:hover{ color:var(--ink); }
.tab.is-active{ color:var(--brand-700); }
.tab.is-active::after{ content:""; position:absolute; left:12px; right:12px; bottom:-1px; height:2.5px; background:var(--brand); border-radius:2px; }
.tab .n{ font-size:12px; color:var(--muted-2); margin-left:5px; }
.tab-panel{ padding-top:28px; }
.tab-panel[hidden]{ display:none; }

.spec-table{ width:100%; border-collapse:collapse; font-size:14px; }
.spec-table th, .spec-table td{ text-align:left; padding:11px 14px; border-bottom:1px solid var(--line-2); vertical-align:top; }
.spec-table th{ width:38%; color:var(--muted); font-weight:550; background:var(--surface); }
.spec-table tr:last-child th,.spec-table tr:last-child td{ border-bottom:0; }

.prose{ max-width:74ch; font-size:15.5px; line-height:1.75; color:var(--ink-2); }
.prose h3{ color:var(--ink); margin-top:1.7em; }
.prose ul{ padding-left:1.2em; }
.prose li{ margin-bottom:.4em; }
.prose blockquote{ margin:1.6em 0; padding:16px 20px; border-left:3px solid var(--brand); background:var(--surface); border-radius:0 var(--r-sm) var(--r-sm) 0; font-size:16px; color:var(--ink); }
.prose img, .prose .figure{ border-radius:var(--r); margin:1.6em 0; }

/* Reviews */
.rev-summary{ display:grid; grid-template-columns:220px 1fr; gap:34px; align-items:center; padding-bottom:26px; border-bottom:1px solid var(--line); margin-bottom:26px; }
.rev-score{ text-align:center; }
.rev-score b{ font-family:var(--font-display); font-size:52px; line-height:1; letter-spacing:-.03em; display:block; }
.rev-bars{ display:grid; gap:7px; }
.rev-bar{ display:grid; grid-template-columns:52px 1fr 42px; gap:12px; align-items:center; font-size:13px; color:var(--muted); }
.rev-bar .bar{ height:8px; background:var(--surface-2); border-radius:4px; overflow:hidden; }
.rev-bar .bar i{ display:block; height:100%; background:#F5A524; border-radius:4px; }
@media (max-width:700px){ .rev-summary{ grid-template-columns:1fr; gap:20px; } }
.review{ padding:20px 0; border-bottom:1px solid var(--line-2); display:grid; grid-template-columns:44px 1fr; gap:16px; }
.avatar{ width:44px; height:44px; border-radius:50%; background:var(--surface-2); display:grid; place-items:center; font-weight:700; color:var(--ink-2); font-size:15px; flex:none; }
.avatar.sm{ width:34px; height:34px; font-size:13px; }
.review-head{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.review-imgs{ display:flex; gap:8px; margin-top:10px; }
.review-imgs .ri{ width:64px; height:64px; border-radius:var(--r-sm); background:var(--surface); border:1px solid var(--line); padding:6px; }

/* Sticky add-to-cart */
.sticky-buy{
  position:fixed; left:0; right:0; bottom:0; z-index:80; background:#fff; border-top:1px solid var(--line);
  box-shadow:0 -6px 24px rgba(11,18,32,.08); padding:12px 0;
  transform:translateY(105%); transition:transform .28s var(--ease);
}
.sticky-buy.is-visible{ transform:none; }
.sticky-buy .container{ display:flex; align-items:center; gap:18px; }
.sticky-buy .mini{ width:52px; height:52px; background:var(--surface); border-radius:var(--r-sm); padding:6px; flex:none; }
@media (max-width:700px){ .sticky-buy .hide-sm{ display:none; } }

/* ==========================================================================
   CART / CHECKOUT
   ========================================================================== */
.cart-layout{ display:grid; grid-template-columns:1fr 380px; gap:32px; align-items:start; }
@media (max-width:960px){ .cart-layout{ grid-template-columns:1fr; } }

.cart-table{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.cart-row{ display:grid; grid-template-columns:96px 1fr auto auto 40px; gap:18px; align-items:center; padding:18px; border-bottom:1px solid var(--line-2); }
.cart-row:last-child{ border-bottom:0; }
.cart-thumb{ width:96px; height:96px; background:var(--surface); border-radius:var(--r-sm); padding:10px; }
.cart-name{ font-weight:600; font-size:15px; margin-bottom:4px; display:block; }
.cart-attrs{ font-size:12.5px; color:var(--muted); }
.cart-line-price{ font-family:var(--font-display); font-size:17px; font-weight:700; text-align:right; letter-spacing:-.02em; }
.qty.sm{ height:40px; }
.qty.sm button{ width:34px; font-size:16px; }
.qty.sm input{ width:42px; font-size:14px; }
@media (max-width:720px){
  .cart-row{ grid-template-columns:76px 1fr 34px; grid-template-areas:"img info del" "img qty price"; row-gap:12px; }
  .cart-thumb{ width:76px; height:76px; grid-area:img; align-self:start; }
  .cart-row > .cart-info{ grid-area:info; }
  .cart-row > .cart-qty{ grid-area:qty; }
  .cart-row > .cart-line-price{ grid-area:price; align-self:center; }
  .cart-row > .cart-del{ grid-area:del; }
}

.summary{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:22px; position:sticky; top:96px; }
.sum-line{ display:flex; justify-content:space-between; gap:16px; padding:9px 0; font-size:14.5px; }
.sum-line.total{ border-top:1px solid var(--line); margin-top:10px; padding-top:16px; font-size:17px; font-weight:700; }
.sum-line.total b{ font-family:var(--font-display); font-size:24px; letter-spacing:-.02em; }
.coupon-row{ display:flex; gap:8px; margin:16px 0; }

.steps{ display:flex; align-items:center; gap:6px; justify-content:center; margin-bottom:34px; flex-wrap:wrap; }
.step{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--muted); font-weight:550; }
.step .n{ width:28px; height:28px; border-radius:50%; background:var(--surface-2); display:grid; place-items:center; font-size:13px; font-weight:700; color:var(--muted); }
.step.is-done .n{ background:var(--ok); color:#fff; }
.step.is-active{ color:var(--ink); }
.step.is-active .n{ background:var(--brand); color:#fff; box-shadow:0 0 0 4px var(--brand-ring); }
.step-sep{ width:36px; height:1.5px; background:var(--line); }
@media (max-width:640px){ .step-sep{ width:14px; } .step .lbl-t{ display:none; } }

.checkout-layout{ display:grid; grid-template-columns:1fr 400px; gap:34px; align-items:start; }
@media (max-width:980px){ .checkout-layout{ grid-template-columns:1fr; } }
.co-block{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; margin-bottom:18px; }
.co-block > h3{ display:flex; align-items:center; gap:10px; margin-bottom:18px; font-size:17px; }
.co-block > h3 .n{ width:26px; height:26px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px; font-family:var(--font-body); }

.pay-opt, .ship-opt{
  display:flex; align-items:flex-start; gap:12px; padding:15px 16px; border:1.5px solid var(--line);
  border-radius:var(--r-sm); cursor:pointer; margin-bottom:10px; transition:.16s var(--ease);
}
.pay-opt:hover, .ship-opt:hover{ border-color:var(--muted-2); }
.pay-opt.is-active, .ship-opt.is-active{ border-color:var(--brand); background:var(--brand-soft); }
.pay-opt .cnt, .ship-opt .cnt{ flex:1; }
.pay-opt b, .ship-opt b{ display:block; font-size:14.5px; }
.pay-opt span, .ship-opt span{ font-size:12.5px; color:var(--muted); }
.pay-logos{ display:flex; gap:6px; }
.pay-logos i{ width:36px; height:24px; border-radius:4px; background:var(--surface-2); display:grid; place-items:center; font-size:8px; font-weight:800; color:var(--muted); font-style:normal; }

.mini-cart-item{ display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line-2); font-size:13.5px; }
.mini-cart-item .th{ width:56px; height:56px; background:var(--surface); border-radius:var(--r-xs); padding:6px; position:relative; }
.mini-cart-item .th .q{ position:absolute; top:-6px; right:-6px; width:20px; height:20px; border-radius:50%; background:var(--ink); color:#fff; font-size:11px; font-weight:700; display:grid; place-items:center; }

/* Order confirmation */
.confirm-hero{ text-align:center; padding-block:clamp(34px,5vw,60px); }
.confirm-mark{ width:80px; height:80px; border-radius:50%; background:var(--ok-soft); color:var(--ok); display:grid; place-items:center; margin:0 auto 20px; }
.confirm-mark svg{ width:40px; height:40px; }
.track{ display:flex; align-items:flex-start; justify-content:space-between; position:relative; margin:34px 0 10px; }
.track::before{ content:""; position:absolute; left:24px; right:24px; top:17px; height:2px; background:var(--line); }
.track-fill{ position:absolute; left:24px; top:17px; height:2px; background:var(--ok); }
.track-step{ position:relative; z-index:2; text-align:center; flex:1; }
.track-step .n{ width:36px; height:36px; border-radius:50%; background:#fff; border:2px solid var(--line); display:grid; place-items:center; margin:0 auto 10px; color:var(--muted-2); }
.track-step .n svg{ width:17px; height:17px; }
.track-step.is-done .n{ background:var(--ok); border-color:var(--ok); color:#fff; }
.track-step.is-active .n{ border-color:var(--brand); color:var(--brand); box-shadow:0 0 0 4px var(--brand-ring); }
.track-step b{ font-size:13px; display:block; }
.track-step span{ font-size:11.5px; color:var(--muted); }
@media (max-width:640px){ .track-step span{ display:none; } .track-step b{ font-size:11.5px; } }

/* ==========================================================================
   ACCOUNT
   ========================================================================== */
.acct-layout{ display:grid; grid-template-columns:262px 1fr; gap:30px; align-items:start; }
@media (max-width:900px){ .acct-layout{ grid-template-columns:1fr; } }
.acct-nav{ background:#fff; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; position:sticky; top:96px; }
.acct-user{ padding:20px; border-bottom:1px solid var(--line); display:flex; gap:12px; align-items:center; }
.acct-nav a{ display:flex; align-items:center; gap:11px; padding:11px 20px; font-size:14px; color:var(--ink-2); border-left:3px solid transparent; transition:.15s; }
.acct-nav a:hover{ background:var(--surface); }
.acct-nav a.is-active{ background:var(--brand-soft); color:var(--brand-700); border-left-color:var(--brand); font-weight:600; }
.acct-nav svg{ width:17px; height:17px; }
.acct-nav .sep{ height:1px; background:var(--line-2); margin:8px 0; }

.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
.stat{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px; }
.stat .ic{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; margin-bottom:12px; }
.stat b{ font-family:var(--font-display); font-size:26px; display:block; letter-spacing:-.02em; }
.stat span{ font-size:12.5px; color:var(--muted); }

.card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); }
.card-head{ padding:16px 20px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.card-head h3{ margin:0; font-size:16px; }
.card-body{ padding:20px; }
.card-body.flush{ padding:0; }

.table{ width:100%; border-collapse:collapse; font-size:14px; }
.table th{ text-align:left; padding:12px 16px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); background:var(--surface); border-bottom:1px solid var(--line); font-weight:650; white-space:nowrap; }
.table td{ padding:14px 16px; border-bottom:1px solid var(--line-2); vertical-align:middle; }
.table tr:last-child td{ border-bottom:0; }
.table tbody tr:hover{ background:var(--surface); }
.table-wrap{ overflow-x:auto; }

.addr-card{ border:1.5px solid var(--line); border-radius:var(--r); padding:18px; position:relative; font-size:14px; }
.addr-card.is-default{ border-color:var(--brand); }
.addr-card .badge{ position:absolute; top:14px; right:14px; }

/* ==========================================================================
   COMPARE
   ========================================================================== */
.compare-table{ width:100%; border-collapse:separate; border-spacing:0; font-size:14px; min-width:840px; }
.compare-table th, .compare-table td{ padding:14px 16px; border-bottom:1px solid var(--line-2); text-align:left; vertical-align:top; }
.compare-table thead th{ background:#fff; position:sticky; top:80px; z-index:5; border-bottom:1px solid var(--line); }
.compare-table tbody th{ background:var(--surface); font-weight:550; color:var(--muted); width:200px; }
.compare-table td.win{ background:var(--ok-soft); }
.cmp-head{ text-align:center; }
.cmp-head .th{ background:var(--surface); border-radius:var(--r-sm); padding:14px; margin-bottom:12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--ink); color:#9FADC2; margin-top:clamp(48px,6vw,80px); }
.footer-top{ display:grid; grid-template-columns:1.4fr repeat(3,1fr) 1.2fr; gap:34px; padding-block:52px 40px; }
@media (max-width:1000px){ .footer-top{ grid-template-columns:1fr 1fr; gap:28px; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.site-footer h4{ color:#fff; font-size:14px; letter-spacing:.02em; margin-bottom:16px; font-family:var(--font-body); font-weight:650; }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer li a{ display:block; padding:5px 0; font-size:13.5px; transition:color .15s; }
.site-footer li a:hover{ color:#fff; }
.site-footer .logo-text b{ color:#fff; }
.site-footer .logo-text span{ color:#7A8AA3; }
.foot-contact{ font-size:13.5px; }
.foot-contact li{ display:flex; gap:10px; padding:7px 0; align-items:flex-start; }
.foot-contact svg{ width:16px; height:16px; color:var(--brand); flex:none; margin-top:3px; }
.socials{ display:flex; gap:8px; margin-top:16px; }
.socials a{ width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,.07); display:grid; place-items:center; transition:.16s; }
.socials a:hover{ background:var(--brand); color:#fff; }
.socials svg{ width:17px; height:17px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.09); padding-block:20px; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:13px; }
.pay-strip{ display:flex; gap:7px; }
.pay-strip i{ height:26px; padding:0 9px; border-radius:5px; background:rgba(255,255,255,.09); display:grid; place-items:center; font-size:9.5px; font-weight:800; font-style:normal; color:#C6D0E0; letter-spacing:.04em; }

/* ==========================================================================
   OVERLAYS: cart drawer, quick view, mobile menu
   ========================================================================== */
.scrim{ position:fixed; inset:0; background:rgba(11,18,32,.5); backdrop-filter:blur(2px); z-index:110; opacity:0; visibility:hidden; transition:.24s var(--ease); }
.scrim.is-open{ opacity:1; visibility:visible; }

.drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(92vw,420px); background:#fff; z-index:130;
  display:flex; flex-direction:column; transform:translateX(103%); transition:transform .3s var(--ease); box-shadow:var(--sh-4);
}
.drawer.is-open{ transform:none; visibility:visible; }
.drawer:not(.is-open){ visibility:hidden; }
.drawer-head{ padding:18px 20px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.drawer-head h3{ margin:0; font-size:17px; }
.drawer-body{ flex:1; overflow:auto; padding:8px 20px; }
.drawer-foot{ padding:18px 20px; border-top:1px solid var(--line); background:var(--surface); }
.drawer.left{ left:0; right:auto; transform:translateX(-103%); }

.free-ship-bar{ background:var(--ok-soft); padding:12px 16px; border-radius:var(--r-sm); font-size:13px; margin-bottom:14px; }
.free-ship-bar .bar{ height:6px; background:#fff; border-radius:3px; margin-top:8px; overflow:hidden; }
.free-ship-bar .bar i{ display:block; height:100%; background:var(--ok); border-radius:3px; }

.modal{
  position:fixed; inset:0; z-index:130; display:grid; place-items:center; padding:20px;
  opacity:0; visibility:hidden; transition:.22s var(--ease);
}
.modal.is-open{ opacity:1; visibility:visible; }
.modal-card{
  background:#fff; border-radius:var(--r-lg); width:min(920px,100%); max-height:88vh; overflow:auto;
  box-shadow:var(--sh-4); transform:translateY(14px) scale(.98); transition:.24s var(--ease); position:relative;
}
.modal.is-open .modal-card{ transform:none; }
.modal-close{ position:absolute; top:14px; right:14px; z-index:3; }

.toast-wrap{ position:fixed; bottom:24px; left:24px; z-index:200; display:flex; flex-direction:column; gap:10px; }
.toast{
  background:var(--ink); color:#fff; padding:13px 18px; border-radius:var(--r-sm); font-size:14px;
  display:flex; align-items:center; gap:11px; box-shadow:var(--sh-4);
  animation:toastIn .3s var(--ease);
}
.toast svg{ width:18px; height:18px; color:#4ADE80; }
@keyframes toastIn{ from{ opacity:0; transform:translateY(12px); } }

/* Mobile nav */
.mnav a{ display:flex; align-items:center; justify-content:space-between; padding:13px 4px; border-bottom:1px solid var(--line-2); font-size:15px; font-weight:550; }
.mnav svg{ width:16px; height:16px; color:var(--muted-2); }

/* Bottom app bar (mobile) */
.appbar{ display:none; }
@media (max-width:760px){
  .appbar{
    display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:90;
    background:#fff; border-top:1px solid var(--line); padding:6px 0 max(6px, env(safe-area-inset-bottom));
  }
  .appbar a{ display:grid; place-items:center; gap:3px; font-size:10.5px; color:var(--muted); padding:5px 0; position:relative; }
  .appbar a.is-active{ color:var(--brand); }
  .appbar svg{ width:21px; height:21px; }
  body{ padding-bottom:62px; }
  .sticky-buy{ bottom:60px; }
}

/* Skeletons */
.skel{ background:linear-gradient(90deg,var(--surface-2) 25%,#E8EEF6 37%,var(--surface-2) 63%); background-size:400% 100%; animation:shimmer 1.4s infinite; border-radius:var(--r-xs); }
@keyframes shimmer{ 0%{ background-position:100% 0; } 100%{ background-position:0 0; } }

/* Empty state */
.empty{ text-align:center; padding:clamp(40px,6vw,80px) 20px; }
.empty .ic{ width:96px; height:96px; margin:0 auto 20px; border-radius:28px; background:var(--surface); display:grid; place-items:center; color:var(--muted-2); }
.empty .ic svg{ width:44px; height:44px; }

/* Accordion (FAQ) */
.acc{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:#fff; }
.acc details{ border-bottom:1px solid var(--line-2); }
.acc details:last-child{ border-bottom:0; }
.acc summary{ padding:16px 20px; cursor:pointer; font-weight:600; font-size:14.5px; display:flex; align-items:center; justify-content:space-between; gap:14px; list-style:none; }
.acc summary::-webkit-details-marker{ display:none; }
.acc summary .chev{ width:18px; height:18px; color:var(--muted); transition:transform .2s var(--ease); flex:none; }
.acc details[open] summary .chev{ transform:rotate(45deg); }
.acc .acc-body{ padding:0 20px 18px; color:var(--ink-2); font-size:14.5px; }

/* Utilities used inline by pages */
.g2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.g3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.g4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .g3,.g4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .g2,.g3,.g4{ grid-template-columns:1fr; } }
.mt0{ margin-top:0 } .mt8{ margin-top:8px } .mt12{ margin-top:12px } .mt16{ margin-top:16px } .mt24{ margin-top:24px } .mt32{ margin-top:32px }
.mb0{ margin-bottom:0 } .mb8{ margin-bottom:8px } .mb12{ margin-bottom:12px } .mb16{ margin-bottom:16px } .mb24{ margin-bottom:24px }
.gap8{ gap:8px } .gap12{ gap:12px } .gap16{ gap:16px }
.wrap{ flex-wrap:wrap }


/* ==========================================================================
   WORDPRESS + WOOCOMMERCE BRIDGE
   Core and plugin markup we do not control, mapped onto the design system.
   ========================================================================== */

/* --- Core alignment & blocks ------------------------------------------- */
.prose > .alignwide{ max-width:min(1100px, 100%); margin-inline:auto; }
.prose > .alignfull{ max-width:100%; margin-inline:0; width:100%; }
.prose .wp-block-image img{ border-radius:var(--r); }
.prose .wp-block-quote{ margin:1.6em 0; padding:16px 20px; border-left:3px solid var(--brand); background:var(--surface); border-radius:0 var(--r-sm) var(--r-sm) 0; }
.prose .wp-block-button__link{ background:var(--brand); color:#fff; border-radius:var(--r-sm); padding:12px 22px; font-weight:650; }
.prose .wp-block-table table{ width:100%; border-collapse:collapse; font-size:14.5px; }
.prose .wp-block-table td,.prose .wp-block-table th{ padding:10px 14px; border-bottom:1px solid var(--line-2); text-align:left; }
.prose .wp-block-separator{ border-top:1px solid var(--line); margin:2em 0; }
.prose .wp-block-code{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm); padding:16px; font-size:13.5px; overflow-x:auto; }
.has-brand-color{ color:var(--brand) !important; }
.has-brand-background-color{ background:var(--brand) !important; }
.has-ink-color{ color:var(--ink) !important; }
.has-surface-background-color{ background:var(--surface) !important; }

/* --- Widgets ----------------------------------------------------------- */
.widget-title{ font-size:14px; font-weight:650; margin:0 0 12px; font-family:var(--font-body); }
.widget ul{ list-style:none; padding:0; margin:0; font-size:14px; }
.widget li{ padding:6px 0; border-bottom:1px solid var(--line-2); }
.widget li:last-child{ border-bottom:0; }
.widget li a:hover{ color:var(--brand-700); }
.widget select{ width:100%; height:40px; border:1px solid var(--line); border-radius:var(--r-sm); padding:0 12px; }

/* --- Woo notices ------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px; border-radius:var(--r); border:1px solid var(--line);
  background:var(--surface); font-size:14px; margin:0 0 18px; list-style:none;
}
.woocommerce-message{ background:var(--ok-soft); border-color:#C7E7DA; color:#0B5C42; }
.woocommerce-info{ background:var(--info-soft); border-color:#CFE0FB; color:#14428F; }
.woocommerce-error{ background:var(--danger-soft); border-color:#F7CBD5; color:#9C0F2C; flex-direction:column; }
.woocommerce-message .button,
.woocommerce-info .button{ margin-left:auto; }

/* --- Woo buttons ------------------------------------------------------- */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.wc-block-components-button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 20px;
  background:var(--ink); color:#fff; border:1px solid transparent; border-radius:var(--r-sm);
  font-weight:650; font-size:14.5px; letter-spacing:-.01em; cursor:pointer; white-space:nowrap;
  transition:transform .16s var(--ease), box-shadow .2s var(--ease), background .18s var(--ease);
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{ transform:translateY(-1px); box-shadow:var(--sh-2); color:#fff; }
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button{
  background:var(--brand); color:#fff;
}
.woocommerce .button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover{ background:var(--brand-600); }
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button{ width:100%; height:52px; font-size:15.5px; border-radius:var(--r); }
.woocommerce .button.loading{ opacity:.7; pointer-events:none; }
.woocommerce a.added_to_cart{ display:inline-block; font-size:13px; margin-top:8px; color:var(--brand-700); text-decoration:underline; }

/* --- Woo forms --------------------------------------------------------- */
.woocommerce form .form-row{ margin-bottom:16px; padding:0; }
.woocommerce form .form-row label{ display:block; font-size:13px; font-weight:650; color:var(--ink-2); margin-bottom:6px; }
.woocommerce form .form-row .required{ color:var(--danger); text-decoration:none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{
  width:100%; height:46px; padding:0 14px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-sm);
  font-size:14.5px; color:var(--ink);
}
.woocommerce form .form-row textarea{ height:auto; min-height:110px; padding:12px 14px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-ring); }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last{ width:calc(50% - 8px); float:none; display:inline-block; vertical-align:top; }
.woocommerce form .form-row-first{ margin-right:12px; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:44px; padding-left:0; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{ height:44px; }
.woocommerce-form__label-for-checkbox{ display:flex !important; align-items:center; gap:10px; font-weight:450 !important; }

/* --- Woo layout blocks -------------------------------------------------- */
.woocommerce-wrapper{ display:block; }
.zeesh-pdp .summary{ margin:0 !important; width:auto !important; float:none !important; }
.zeesh-pdp .product_title{ font-size:clamp(1.4rem,1.1rem+1vw,1.85rem); margin:10px 0 12px; }
.zeesh-pdp .woocommerce-product-rating{ display:flex; align-items:center; gap:12px; margin-bottom:16px; font-size:13px; }
.zeesh-pdp .woocommerce-product-details__short-description{ color:var(--ink-2); font-size:15px; }
.zeesh-pdp .price{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.zeesh-pdp .buy-card .price{ margin-bottom:4px; }
.zeesh-pdp .buy-card .price .amount{ font-family:var(--font-display); font-size:26px; font-weight:700; letter-spacing:-.02em; }
.zeesh-pdp .buy-card .price del{ color:var(--muted-2); font-size:15px; }
.zeesh-pdp .buy-card .price del .amount{ font-size:15px; font-weight:500; }
.zeesh-pdp .buy-card .price ins{ text-decoration:none; }
.zeesh-pdp .stock.in-stock{ color:var(--ok); font-weight:600; font-size:13.5px; }
.zeesh-pdp .stock.out-of-stock{ color:var(--danger); font-weight:600; font-size:13.5px; }
.zeesh-pdp form.cart{ margin:0 0 12px; display:flex; gap:8px; flex-wrap:wrap; }
.zeesh-pdp form.cart .quantity{ flex:none; }
.zeesh-pdp form.variations_form{ display:block; }
.zeesh-pdp .variations{ width:100%; border-collapse:collapse; margin-bottom:14px; }
.zeesh-pdp .variations th{ text-align:left; font-size:13px; font-weight:650; color:var(--ink-2); padding:8px 0 4px; }
.zeesh-pdp .variations td{ padding-bottom:10px; }
.zeesh-pdp .variations select{ width:100%; height:44px; border:1.5px solid var(--line); border-radius:var(--r-sm); padding:0 12px; }
.zeesh-pdp .woocommerce-variation-price{ margin-bottom:12px; }
.zeesh-pdp .product_meta{ font-size:13px; color:var(--muted); margin-top:16px; }
.zeesh-pdp .product_meta > span{ display:block; padding:4px 0; }

.woocommerce-tabs .tabs{ border-bottom:1px solid var(--line); display:flex; gap:4px; overflow-x:auto; list-style:none; margin:0 0 0; padding:0; }
.woocommerce-tabs .tabs li{ margin:0; }
.woocommerce-tabs .tabs li a{
  display:block; padding:14px 18px; font-size:14.5px; font-weight:600; color:var(--muted); position:relative; white-space:nowrap;
}
.woocommerce-tabs .tabs li.active a{ color:var(--brand-700); }
.woocommerce-tabs .tabs li.active a::after{ content:""; position:absolute; left:12px; right:12px; bottom:-1px; height:2.5px; background:var(--brand); border-radius:2px; }
.woocommerce-tabs .panel{ padding-top:28px; }
.woocommerce-tabs .panel > h2:first-child{ display:none; }
.woocommerce-tabs .panel p,
.woocommerce-tabs .panel li{ max-width:74ch; font-size:15.5px; line-height:1.75; color:var(--ink-2); }
.shop_attributes{ width:100%; border-collapse:collapse; font-size:14px; }
.shop_attributes th,.shop_attributes td{ text-align:left; padding:11px 14px; border-bottom:1px solid var(--line-2); }
.shop_attributes th{ width:38%; color:var(--muted); font-weight:550; background:var(--surface); }
.shop_attributes p{ margin:0; }

.related.products > h2,
.upsells.products > h2,
.cross-sells > h2{ font-family:var(--font-display); font-size:22px; margin:36px 0 20px; }

/* Woo product gallery */
.woocommerce-product-gallery{ position:relative; }
.woocommerce-product-gallery__wrapper{ margin:0; }
.woocommerce-product-gallery__image img{ border-radius:var(--r-lg); background:var(--surface); }
.woocommerce-product-gallery .flex-control-thumbs{ display:flex; gap:10px; margin:12px 0 0; padding:0; list-style:none; flex-wrap:wrap; }
.woocommerce-product-gallery .flex-control-thumbs li{ width:76px; }
.woocommerce-product-gallery .flex-control-thumbs img{ border:1.5px solid var(--line); border-radius:var(--r-sm); padding:6px; background:var(--surface); cursor:pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-ring); }
.woocommerce-product-gallery__trigger{ position:absolute; right:14px; bottom:14px; z-index:3; width:40px; height:40px; border-radius:var(--r-sm); border:1px solid var(--line); background:#fff; }

/* Cart & checkout */
.woocommerce .cart-collaterals{ width:auto; }
.woocommerce .cart_totals > h2{ display:none; }
.woocommerce-checkout #payment{ background:transparent; border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods{ padding:0; border:0; list-style:none; margin:0 0 16px; }
.woocommerce-checkout #payment ul.payment_methods li{
  display:block; padding:15px 16px; border:1.5px solid var(--line); border-radius:var(--r-sm); margin-bottom:10px; cursor:pointer;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){ border-color:var(--brand); background:var(--brand-soft); }
.woocommerce-checkout #payment ul.payment_methods li label{ font-weight:650; font-size:14.5px; cursor:pointer; }
.woocommerce-checkout #payment div.payment_box{ background:transparent; padding:10px 0 0; font-size:13px; color:var(--muted); }
.woocommerce-checkout #payment div.payment_box::before{ display:none; }
.woocommerce-checkout #payment .place-order{ padding:0; }
.woocommerce-checkout-review-order-table{ width:100%; border-collapse:collapse; font-size:14.5px; margin-bottom:20px; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{ padding:10px 0; border-bottom:1px solid var(--line-2); text-align:left; }
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td{ font-size:17px; font-weight:700; border-bottom:0; padding-top:14px; }
.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table th:last-child{ text-align:right; }

/* Order tables */
.woocommerce table.shop_table{ width:100%; border-collapse:collapse; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; font-size:14px; }
.woocommerce table.shop_table th{ text-align:left; padding:12px 16px; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); background:var(--surface); border-bottom:1px solid var(--line); }
.woocommerce table.shop_table td{ padding:14px 16px; border-bottom:1px solid var(--line-2); }
.woocommerce table.shop_table tfoot th{ background:#fff; text-transform:none; font-size:14px; color:var(--ink); }

/* My account */
.woocommerce-MyAccount-content{ min-width:0; }
.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3{ font-size:20px; margin-bottom:16px; }
.woocommerce-Address{ border:1.5px solid var(--line); border-radius:var(--r); padding:18px; margin-bottom:16px; }
.woocommerce-Address address{ font-style:normal; font-size:14px; color:var(--ink-2); line-height:1.7; }
.woocommerce-orders-table__cell-order-actions .button{ height:34px; padding:0 12px; font-size:13px; }

/* Password strength / validation */
.woocommerce form .form-row.woocommerce-invalid input.input-text{ border-color:var(--danger); box-shadow:0 0 0 4px var(--danger-soft); }
.woocommerce form .form-row.woocommerce-validated input.input-text{ border-color:#C7E7DA; }
.woocommerce-password-strength{ font-size:12.5px; font-weight:650; padding:6px 0; }
.woocommerce-password-strength.strong{ color:var(--ok); }
.woocommerce-password-strength.short,.woocommerce-password-strength.bad{ color:var(--danger); }

/* Mini cart inside the drawer */
.widget_shopping_cart_content .cart_list{ list-style:none; padding:0; margin:0; }
.widget_shopping_cart_content .cart_list li{
  display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center;
  padding:12px 0; border-bottom:1px solid var(--line-2); font-size:13.5px; position:relative;
}
.widget_shopping_cart_content .cart_list li img{ width:56px; height:56px; object-fit:contain; background:var(--surface); border-radius:var(--r-xs); padding:6px; grid-row:span 2; }
.widget_shopping_cart_content .cart_list li a.remove{ position:absolute; top:8px; right:0; width:20px; height:20px; text-align:center; color:var(--muted-2); font-size:16px; }
.widget_shopping_cart_content .total{ display:flex; justify-content:space-between; padding:14px 0; border-top:1px solid var(--line); font-size:15px; }
.widget_shopping_cart_content .buttons{ display:grid; gap:8px; }
.widget_shopping_cart_content .buttons .button{ width:100%; }
.widget_shopping_cart_content .buttons .checkout{ background:var(--brand); }

/* --- Section visibility toggles from the Studio -------------------------- */
@media (min-width:1025px){ .hide-desktop{ display:none !important; } }
@media (min-width:761px) and (max-width:1024px){ .hide-tablet{ display:none !important; } }
@media (max-width:760px){ .hide-mobile{ display:none !important; } }

.zeesh-section.is-dark{ background:var(--ink); color:#fff; }
.zeesh-section.is-dark h1,.zeesh-section.is-dark h2,.zeesh-section.is-dark h3{ color:#fff; }
.zeesh-section.is-dark p,.zeesh-section.is-dark .muted{ color:#B6C2D4; }
.zeesh-section.is-brand-soft{ background:var(--brand-soft); }
.zeesh-section.has-rules{ border-block:1px solid var(--line); }
.zeesh-section .container > .sec-head:first-child{ margin-top:0; }

/* --- Image banner section ---------------------------------------------- */
.zeesh-banner{ position:relative; border-radius:var(--r-lg); overflow:hidden; display:flex; align-items:center; }
.zeesh-banner__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.zeesh-banner__scrim{ position:absolute; inset:0; background:linear-gradient(90deg, var(--ink), transparent 70%); }
.zeesh-banner__body{ position:relative; z-index:2; padding:clamp(24px,4vw,48px); max-width:52ch; color:#fff; }
.zeesh-banner__body h2{ color:#fff; }
.zeesh-banner.align-center{ justify-content:center; text-align:center; }
.zeesh-banner.align-center .zeesh-banner__scrim{ background:rgba(11,18,32,.5); }
.zeesh-banner.align-right{ justify-content:flex-end; text-align:right; }
.zeesh-banner.align-right .zeesh-banner__scrim{ background:linear-gradient(270deg, var(--ink), transparent 70%); }

/* --- Article layout ----------------------------------------------------- */
.article-layout{ display:grid; grid-template-columns:minmax(0,820px) 300px; gap:44px; justify-content:center; }
@media (max-width:1100px){ .article-layout{ grid-template-columns:1fr; } .article-layout aside{ display:none; } }

/* --- Back to top -------------------------------------------------------- */
.zeesh-top{
  position:fixed; right:20px; bottom:20px; z-index:70; width:44px; height:44px;
  box-shadow:var(--sh-3); opacity:0; pointer-events:none; transition:opacity .2s var(--ease);
}
@media (max-width:760px){ .zeesh-top{ bottom:74px; } }

/* --- Header live search results ----------------------------------------- */
.search{ position:relative; }
.search-results{
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:80;
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--sh-3); padding:8px; max-height:60vh; overflow:auto;
}
.search-results a{ display:grid; grid-template-columns:44px 1fr auto; gap:12px; align-items:center; padding:8px 10px; border-radius:var(--r-sm); font-size:14px; }
.search-results a:hover{ background:var(--surface); }
.search-results .th{ width:44px; height:44px; background:var(--surface); border-radius:var(--r-xs); padding:5px; }
.search-results .group{ font-size:10.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted-2); font-weight:700; padding:10px 10px 4px; }

/* --- Filter drawer close (mobile only) ---------------------------------- */
.filter-close{ display:none; }
@media (max-width:1000px){ .filter-close{ display:inline-grid; } }

/* --- Skip link ---------------------------------------------------------- */
.skip-link:focus{ z-index:100001; }

/* --- Preview affordances (Studio iframe only) --------------------------- */
.zeesh-edit-tag{ display:none; }

/* --- Print -------------------------------------------------------------- */
@media print{
  .site-header,.site-footer,.appbar,.sticky-buy,.zeesh-top,.drawer,.scrim,.topbar{ display:none !important; }
  body{ padding:0; }
  .container{ max-width:none; }
}

/* ==========================================================================
   SINGLE-ROW HEADER
   Logo left, navigation centred, icon actions right — one row, nothing above.
   ========================================================================== */

.site-header{ position:relative; }

/* The mega menu spans the header, not the menu item it hangs off. */
.has-mega{ position:static; }

.site-header--single .header-bar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  min-height:72px;
}
.site-header--single .header-bar__logo{ display:flex; }
.site-header--single .header-bar__nav{ display:flex; justify-content:center; min-width:0; }
.site-header--single .nav-list{ flex-wrap:wrap; justify-content:center; }
.site-header--single .nav-list > li > a{ height:auto; padding:10px 14px; font-size:14.5px; font-weight:600; color:var(--ink); }
.site-header--single .nav-list > li > a::after{ bottom:2px; }
.site-header--single .header-bar__actions{ display:flex; align-items:center; gap:8px; }
.site-header--single .icon-btn{ width:42px; height:42px; border-color:transparent; }
.site-header--single .icon-btn:hover{ border-color:var(--line); background:var(--surface); }
.site-header--single .icon-btn svg{ width:21px; height:21px; }

.icon-btn.has-count{ position:relative; }
.icon-btn.has-count .h-count{
  position:absolute; top:-3px; right:-3px; left:auto;
  min-width:19px; height:19px;
}

@media (max-width:1080px){
  .site-header--single .header-bar__nav{ display:none; }
  .site-header--single .header-bar{ grid-template-columns:auto 1fr auto; gap:12px; min-height:62px; }
}
@media (min-width:1081px){
  .site-header--single .burger{ display:none; }
}

/* ==========================================================================
   SEARCH PANEL
   ========================================================================== */

.search-panel{
  position:fixed; top:0; left:0; right:0; z-index:130;
  background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--sh-3);
  padding:18px 0;
  transform:translateY(-102%);
  transition:transform .28s var(--ease);
  visibility:hidden;
}
.search-panel.is-open{ transform:none; visibility:visible; }
.search-panel .container{ display:flex; align-items:flex-start; gap:12px; }
.search-panel .search{ flex:1; max-width:none; }
.search-panel .search-box{ height:52px; }
.search-panel__close{ flex:none; width:52px; height:52px; }
.search-panel .search-results{ position:static; margin-top:10px; box-shadow:none; max-height:52vh; }

/* ==========================================================================
   MOBILE APP BAR — column count follows what is enabled
   ========================================================================== */

@media (max-width:760px){
  .appbar--4{ grid-template-columns:repeat(4,1fr); }
  .appbar--5{ grid-template-columns:repeat(5,1fr); }
}

/* ==========================================================================
   PRODUCT PAGE — layout hardening
   WooCommerce's own stylesheet floats .images and .summary, which fights the
   grid and lets the summary overlap the tabs. These win in every layout.
   ========================================================================== */

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary,
.zeesh-pdp .images,
.zeesh-pdp .summary{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  clear:none !important;
  position:static !important;
}

.zeesh-pdp .pdp{ align-items:start; }
.zeesh-pdp .pdp::after{ content:""; display:table; clear:both; }

/* Two-column: gallery beside a single buy column. */
.pdp.pdp--two{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
@media (max-width:900px){ .pdp.pdp--two{ grid-template-columns:1fr; } }

/* The tabs must never sit under a floated or sticky summary. */
.zeesh-pdp .woocommerce-tabs,
.zeesh-pdp .related,
.zeesh-pdp .upsells{ clear:both; position:relative; z-index:1; }

/* Buy area */
.zeesh-buy{ border:1px solid var(--line); border-radius:var(--r-lg); padding:20px; background:#fff; margin-top:18px; }
.zeesh-buy .price{ margin-bottom:4px; }
.zeesh-buy .price .amount{ font-family:var(--font-display); font-size:30px; font-weight:700; letter-spacing:-.03em; }
.zeesh-buy .price del{ opacity:1; color:var(--muted-2); }
.zeesh-buy .price del .amount{ font-size:17px; font-weight:500; }
.zeesh-buy .price ins{ text-decoration:none; }

.zeesh-pdp form.cart{ display:block; margin:16px 0 0; }
.zeesh-pdp form.cart .zeesh-cart-row{ display:flex; gap:10px; align-items:stretch; flex-wrap:wrap; }
.zeesh-pdp form.cart .quantity{ flex:none; }
.zeesh-pdp form.cart .single_add_to_cart_button{ flex:1; min-width:180px; width:auto; }
.zeesh-buy-now{
  width:100%; height:52px; margin-top:10px;
  background:var(--ink); color:#fff; border:0; border-radius:var(--r);
  font-weight:650; font-size:15.5px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition:transform .16s var(--ease), box-shadow .2s var(--ease);
}
.zeesh-buy-now:hover{ transform:translateY(-1px); box-shadow:var(--sh-2); }
.zeesh-buy-now svg{ width:18px; height:18px; }

/* The stepper, matching the theme's own control. */
.woocommerce div.product form.cart div.quantity,
.zeesh-pdp .quantity.qty{
  display:inline-flex; align-items:center; height:52px;
  border:1.5px solid var(--line); border-radius:var(--r-sm); overflow:hidden; float:none;
}
.quantity.qty .qty-minus,
.quantity.qty .qty-plus{
  width:46px; height:100%; border:0; background:#fff; cursor:pointer;
  font-size:19px; line-height:1; color:var(--ink-2); transition:background .15s;
}
.quantity.qty .qty-minus:hover,
.quantity.qty .qty-plus:hover{ background:var(--surface); }
.quantity.qty input.qty{
  width:56px; height:100%; border:0; text-align:center;
  font-weight:650; font-size:15px; -moz-appearance:textfield; background:#fff;
}
.quantity.qty input.qty::-webkit-outer-spin-button,
.quantity.qty input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* An <svg> with no width inside a WooCommerce button falls back to 300×150 and
   blows the button apart. Size any icon we or a plugin puts in one. */
.woocommerce .button svg,
.woocommerce button.button svg,
.woocommerce a.button svg,
.single_add_to_cart_button svg,
.checkout-button svg{ width:18px; height:18px; flex:none; }

/* ==========================================================================
   WOOCOMMERCE CART / CHECKOUT / ACCOUNT PAGES
   These are ordinary pages holding a shortcode or a block, so they get the
   full container and none of the editorial reading measure.
   ========================================================================== */

.zeesh-shop-page{ max-width:none; width:100%; }
.zeesh-shop-page > *{ max-width:none; }
.zeesh-shop-page .alignwide,
.zeesh-shop-page .alignfull{ max-width:100%; margin-inline:0; }

/* ---- WooCommerce Blocks (the cart and checkout blocks) ----------------- */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout{ max-width:none; margin:0; }

.wc-block-cart,
.wc-block-checkout__form,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{
  display:flex; gap:32px; align-items:flex-start; flex-wrap:wrap;
}
.wc-block-components-main{ flex:1 1 460px; min-width:0; }
.wc-block-components-sidebar{ flex:0 1 360px; min-width:0; }

@media (max-width:900px){
  .wc-block-cart,
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout{ flex-direction:column; }
  .wc-block-components-main,
  .wc-block-components-sidebar{ flex:1 1 100%; }
}

/* The totals panel matches the theme's summary card. */
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-block,
.wc-block-components-order-summary{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
}
.wp-block-woocommerce-cart-order-summary-block{ padding:22px; }

.wc-block-components-totals-item{ font-size:14.5px; padding:9px 0; }
.wc-block-components-totals-footer-item{ border-top:1px solid var(--line); padding-top:16px; margin-top:10px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-family:var(--font-display); font-size:24px; font-weight:700; letter-spacing:-.02em;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button:not(.is-link){
  background:var(--brand) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:var(--r) !important;
  height:52px;
  font-weight:650 !important;
  font-size:15.5px !important;
  font-family:var(--font-body) !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover{ background:var(--brand-600) !important; }

.wc-block-components-product-name{ font-weight:600; color:var(--ink); }
.wc-block-components-product-name:hover{ color:var(--brand-700); }
.wc-block-cart-item__image img{ border-radius:var(--r-sm); background:var(--surface); }
.wc-block-cart-items__header{
  font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted);
}
.wc-block-components-sale-badge{
  background:var(--ok-soft); color:var(--ok); border-radius:var(--r-pill);
  font-size:11.5px; font-weight:700; padding:3px 9px;
}
.wc-block-components-quantity-selector{ border:1.5px solid var(--line); border-radius:var(--r-sm); }
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-address-form input,
.wc-block-components-textarea{
  border:1px solid var(--line) !important;
  border-radius:var(--r-sm) !important;
  height:46px;
}
.wc-block-components-panel__button{ font-weight:650; color:var(--ink); }
.wc-block-components-title{ font-family:var(--font-display); letter-spacing:-.02em; }
