/* ==========================================================
   KickUp — shop.css
   Styles for the store pages: shop.html, product.html, cart.html, checkout.html.

   This extends the existing KickUp design system rather than replacing it:
   fonts, the red/black palette, the .app phone column, the theme toggle and the
   animation-mode rules all come from kickup-base.css / landing.css and are loaded
   BEFORE this file. Only shop-specific components live here.

   Rules kept from landing.css, for the same reason (the visitor hates lag):
     - animate only transform + opacity
     - no animated blur, no infinite loops, no scroll listeners that lay out
     - every transition is short and finite
   ========================================================== */

/* ---------- shop-only tokens ---------- */
:root {
  --sk-card:#fff;
  --sk-chip:rgba(10,10,10,.05);
  --sk-shadow-s:0 2px 8px rgba(0,0,0,.06);
  --sk-shadow-m:0 8px 24px rgba(0,0,0,.09);
  --sk-shadow-l:0 18px 44px rgba(0,0,0,.14);
  --sk-ok:#0F8A4A;
  --sk-ok-bg:rgba(15,138,74,.10);
  --sk-warn:#B26A00;
  --sk-warn-bg:rgba(178,106,0,.10);
  --sk-err:#D32029;
  --sk-err-bg:rgba(211,32,41,.09);
}
:root[data-theme="dark"] {
  --sk-card:#1C1C20;
  --sk-chip:rgba(255,255,255,.07);
  --sk-shadow-s:0 2px 8px rgba(0,0,0,.4);
  --sk-shadow-m:0 8px 24px rgba(0,0,0,.5);
  --sk-shadow-l:0 18px 44px rgba(0,0,0,.6);
  --sk-ok:#3FCE84;
  --sk-ok-bg:rgba(63,206,132,.14);
  --sk-warn:#E8A33D;
  --sk-warn-bg:rgba(232,163,61,.14);
  --sk-err:#FF6B72;
  --sk-err-bg:rgba(255,107,114,.14);
}

/* ---------- cart badge ---------- */
/* `hidden` must win: a bare `display:inline-flex` on the class would override the
   hidden attribute and leave a "0" badge on screen. */
[data-cart-count][hidden] { display:none !important; }
/* the badge sitting inside the desktop header cart pill */
.site-header__cart .cart-fab__n { min-width:22px; height:22px; padding:0 6px; border-radius:99px;
  background:var(--color-red); color:#fff; display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--font-body); font-style:normal; font-weight:800; font-size:12px; letter-spacing:0; }

/* ---------- shared page scaffolding ---------- */

/* kickup-base.css hides the header with `.js .site-header{opacity:0}` because the
   LANDING page fades it in from its loader. Shop pages load no loader, so the
   header would never appear — un-hide it on every page except home. */
html.js:not([data-page="home"]) .site-header { opacity:1; }

/* The landing page's `.reveal` is driven by landing.js, which shop pages do not
   load. Scroll reveals here use [data-reveal] + the observer in shop.js instead. */
.js [data-reveal] { opacity:0; -webkit-transform:translateY(18px); transform:translateY(18px);
  transition:opacity .5s ease, transform .5s ease; }
.js [data-reveal].is-in { opacity:1; -webkit-transform:none; transform:none; }
.lite [data-reveal], .vlow [data-reveal] { opacity:1 !important; -webkit-transform:none !important; transform:none !important; transition:none !important; }

/* every shop page starts under the fixed header */
.page { padding: calc(74px + var(--safe-top)) 0 40px; }
.page-head { margin-bottom:22px; }
.page-head .h-display { font-size:clamp(38px, calc(var(--col) * .125), 54px); margin-top:6px; }
.page-head p { margin-top:10px; color:var(--text-soft); font-size:14.5px; line-height:1.55; }

.shop-wrap { width:100%; max-width:1100px; margin:0 auto; padding:0 16px; }

/* section rhythm — the visitor asked for generous spacing between blocks */
.block { margin-top:44px; }
.block:first-child { margin-top:0; }
.block__head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:16px; }
.block__title { font-size:clamp(26px, calc(var(--col) * .083), 34px); }
.block__link { font-size:12.5px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--color-red); }

/* ---------- breadcrumb ---------- */
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:16px; font-size:12.5px; color:var(--mute); }
.crumbs a { color:var(--mute); }
.crumbs a:hover { color:var(--color-red); }
.crumbs span[aria-hidden] { opacity:.5; }
.crumbs b { color:var(--color-black); font-weight:700; }

/* ==========================================================
   HERO BANNER (shop.html)
   ========================================================== */
.shop-hero {
  position:relative; overflow:hidden; border-radius:26px; padding:30px 22px 28px; margin-top:10px;
  background:var(--promo-bg); color:#fff;
}
.shop-hero__orb { position:absolute; right:-60px; top:-70px; width:190px; height:190px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle at 35% 35%, #FF3B3F 0, #E50910 55%, #A5050B 100%); }
.shop-hero > *:not(.shop-hero__orb) { position:relative; z-index:1; }
.shop-hero__eyebrow { display:block; font-size:10.5px; letter-spacing:3.4px; text-transform:uppercase; color:var(--color-red); }
/* Two words on two lines, sized so "SHOP ALL" and "PAIRS" never overflow the
   panel or run under the orb. overflow-wrap is the safety net on tiny screens. */
.shop-hero__title {
  margin-top:10px; font-size:clamp(34px, calc(var(--col) * .12), 58px); color:#fff;
  overflow-wrap:break-word; max-width:9ch;
}
.shop-hero__title em { display:block; color:var(--color-red); }
.shop-hero__text { margin-top:12px; max-width:44ch; font-size:14.5px; line-height:1.6; color:rgba(255,255,255,.74); }
.shop-hero__row { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.shop-hero__stat { padding:9px 14px; border-radius:99px; border:1px solid rgba(255,255,255,.26); font-size:11.5px; letter-spacing:1.2px; text-transform:uppercase; }
.shop-hero__stat b { color:var(--color-red); }

/* ==========================================================
   TOOLBAR — search, categories, sort
   ========================================================== */
.toolbar { margin-top:26px; }
.search {
  position:relative; display:flex; align-items:center; gap:10px;
  height:52px; padding:0 14px; border-radius:16px;
  background:var(--surface); border:1.5px solid var(--line); box-shadow:var(--sk-shadow-s);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.search:focus-within { border-color:var(--color-red); box-shadow:0 0 0 4px rgba(229,9,16,.12); }
.search svg { flex:0 0 auto; width:19px; height:19px; color:var(--mute); }
.search input {
  flex:1 1 auto; min-width:0; height:100%; border:0; outline:none; background:none;
  font-family:var(--font-body); font-size:15px; font-weight:500; color:var(--color-black);
}
.search input::placeholder { color:var(--mute); }
.search__clear { flex:0 0 auto; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--mute); }
.search__clear:hover { background:var(--sk-chip); color:var(--color-black); }
.search__clear svg { width:14px; height:14px; }

/* sort sits on its own line above the category rail on phones: side by side they
   squeezed the rail down to one visible chip */
.filters { display:flex; flex-direction:column; align-items:stretch; gap:10px; margin-top:14px; }
.sort { align-self:flex-start; }
/* the category rail scrolls sideways on a phone; the scrollbar is hidden on purpose */
.filters__rail { flex:1 1 auto; min-width:0; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:2px; }
.filters__rail::-webkit-scrollbar { display:none; }
.chip-btn {
  flex:0 0 auto; padding:9px 16px; border-radius:99px; white-space:nowrap;
  border:1.5px solid var(--line); background:var(--surface); color:var(--text-soft);
  font-family:var(--font-body); font-size:12.5px; font-weight:700; letter-spacing:.4px;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.chip-btn:hover { border-color:var(--color-red); color:var(--color-red); }
.chip-btn:active { transform:scale(.96); }
.chip-btn[aria-pressed="true"] { background:var(--color-red); border-color:var(--color-red); color:#fff; }

.sort { flex:0 0 auto; position:relative; }
.sort select {
  -webkit-appearance:none; appearance:none;
  height:40px; padding:0 34px 0 14px; border-radius:99px; cursor:pointer;
  border:1.5px solid var(--line); background:var(--surface); color:var(--text-soft);
  font-family:var(--font-body); font-size:12.5px; font-weight:700;
}
.sort::after { content:''; position:absolute; right:14px; top:50%; width:8px; height:8px; margin-top:-6px; pointer-events:none;
  border-right:2px solid var(--mute); border-bottom:2px solid var(--mute); transform:rotate(45deg); }
.sort select:focus-visible { outline:3px solid var(--color-red); outline-offset:2px; }

.results-line { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; font-size:13px; color:var(--mute); }
.results-line b { color:var(--color-black); }

/* ==========================================================
   PRODUCT GRID + CARDS
   ========================================================== */
.grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin-top:16px; }
.grid--related { margin-top:4px; }

.card2 {
  display:flex; flex-direction:column; overflow:hidden;
  border-radius:24px; background:var(--sk-card); border:1px solid var(--line); box-shadow:var(--sk-shadow-s);
  transition:transform .22s ease, box-shadow .22s ease;
}
.card2:hover { transform:translateY(-3px); box-shadow:var(--sk-shadow-m); }
.card2__media { position:relative; background:var(--tile); }
.card2__media a { display:block; }
.card2__img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.card2__img.is-opaque { mix-blend-mode:multiply; }
:root[data-theme="dark"] .card2__img.is-opaque { mix-blend-mode:normal; background:#fff; }
.card2__badges { position:absolute; left:12px; top:12px; z-index:2; display:flex; flex-wrap:wrap; gap:6px; }
.badge { padding:6px 11px; border-radius:99px; font-family:var(--font-heading); font-weight:800; font-style:italic; text-transform:uppercase;
  font-size:13px; line-height:1; letter-spacing:.7px; }
.badge--cat { background:var(--color-red); color:#fff; }
.badge--sale { background:var(--color-black); color:var(--color-bg); }
.badge--out { background:var(--mute); color:var(--card); }
.card2__wish { position:absolute; right:12px; top:12px; z-index:2; width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; background:var(--surface); color:var(--mute);
  border:1px solid var(--line); transition:color .18s ease, background-color .18s ease, transform .18s ease; }
.card2__wish svg { width:18px; height:18px; }
.card2__wish:hover { color:var(--color-red); transform:scale(1.08); }
.card2__wish[aria-pressed="true"] { background:var(--color-red); border-color:var(--color-red); color:#fff; }
.card2__body { display:flex; flex-direction:column; flex:1 1 auto; padding:14px 15px 16px; }
.card2__row { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.card2__title { font-family:var(--font-heading); font-weight:900; font-style:italic; text-transform:uppercase;
  font-size:24px; line-height:1; letter-spacing:.3px; }
.card2__title a { color:inherit; }
.card2__title a:hover { color:var(--color-red); }
.card2__meta { margin-top:7px; font-size:12.5px; color:var(--mute); }
.card2__rating { display:flex; align-items:center; gap:5px; flex:0 0 auto; font-size:12.5px; font-weight:700; color:var(--text-soft); }
.card2__rating svg { width:15px; height:15px; color:#F5A623; }
.card2__foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:14px; }
.card2__price { font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:27px; line-height:1; color:var(--color-red); }
.card2__was { margin-left:7px; font-family:var(--font-body); font-size:12.5px; font-weight:600; font-style:normal; color:var(--mute); text-decoration:line-through; }
.card2__actions { display:flex; align-items:center; gap:8px; }

/* ==========================================================
   BUTTONS (shop-scoped: the landing .btn is tuned for big hero CTAs)
   ========================================================== */
.b {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap;
  min-height:44px; padding:0 18px; border-radius:99px; border:2px solid transparent;
  font-family:var(--font-heading); font-weight:800; font-style:italic; text-transform:uppercase;
  font-size:19px; letter-spacing:.7px; line-height:1;
  transition:transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.b svg { width:18px; height:18px; }
.b:active { transform:scale(.97); }
.b:disabled { opacity:.45; cursor:not-allowed; }
.b--red { background:var(--color-red); color:#fff; }
.b--red:hover:not(:disabled) { background:var(--color-red-deep); }
.b--out { background:transparent; color:var(--color-red); border-color:var(--color-red); }
.b--out:hover:not(:disabled) { background:var(--color-red); color:#fff; }
.b--dark { background:var(--color-black); color:var(--color-bg); }
.b--dark:hover:not(:disabled) { opacity:.86; }
.b--quiet { background:var(--sk-chip); color:var(--color-black); }
.b--quiet:hover:not(:disabled) { background:var(--line); }
.b--wide { width:100%; }
.b--sm { min-height:38px; padding:0 14px; font-size:17px; }
.b--sm svg { width:16px; height:16px; }
.b:focus-visible, .icon-btn:focus-visible, .chip-btn:focus-visible, .card2__wish:focus-visible,
.qty button:focus-visible, .dot:focus-visible, .link-btn:focus-visible {
  outline:3px solid var(--color-red); outline-offset:2px;
}
.link-btn { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--color-red); }
.link-btn svg { width:15px; height:15px; }
.link-btn:hover { color:var(--color-red-deep); }
.icon-btn { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--mute); background:var(--sk-chip); transition:background-color .18s ease, color .18s ease, transform .18s ease; }
.icon-btn svg { width:17px; height:17px; }
.icon-btn:hover { background:var(--color-red); color:#fff; }
.icon-btn:active { transform:scale(.94); }

/* ==========================================================
   QUANTITY STEPPER
   ========================================================== */
.qty { display:inline-flex; align-items:center; gap:2px; padding:4px; border-radius:99px; border:1.5px solid var(--line); background:var(--surface); }
.qty button { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--color-black); transition:background-color .16s ease, color .16s ease; }
.qty button svg { width:15px; height:15px; }
.qty button:hover:not(:disabled) { background:var(--color-red); color:#fff; }
.qty button:disabled { opacity:.3; cursor:not-allowed; }
.qty input {
  width:42px; height:34px; border:0; outline:none; background:none; text-align:center;
  font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:19px; color:var(--color-black);
  -moz-appearance:textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.qty--sm button { width:30px; height:30px; }
.qty--sm input { width:36px; height:30px; font-size:17px; }

/* ==========================================================
   PRODUCT DETAIL PAGE
   ========================================================== */
.pdp { display:grid; grid-template-columns:1fr; gap:26px; }
.gallery { position:relative; }
.gallery__main { position:relative; border-radius:26px; overflow:hidden; background:var(--tile); border:1px solid var(--line); }
.gallery__main img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.gallery__main img.is-opaque { mix-blend-mode:multiply; }
:root[data-theme="dark"] .gallery__main img.is-opaque { mix-blend-mode:normal; background:#fff; }
.gallery__tag { position:absolute; left:14px; top:14px; z-index:2; }
/* thumbnails sit on the LEFT of the main photo (phone + laptop) */
.gallery.has-thumbs { display:flex; align-items:flex-start; gap:10px; }
.gallery.has-thumbs .gallery__main { flex:1 1 auto; min-width:0; }
.thumbs { display:flex; flex-direction:column; gap:8px; flex:0 0 auto; width:70px; max-height:520px; overflow-y:auto; scrollbar-width:none; }
.thumbs::-webkit-scrollbar { display:none; }
.thumb { display:block; width:100%; padding:0; border-radius:12px; overflow:hidden; cursor:pointer; background:var(--tile);
  border:2px solid var(--line); }
.thumb img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; }
.thumb[aria-current="true"] { border-color:var(--color-red); }
.thumb:focus-visible { outline:2px solid var(--color-red); outline-offset:2px; }

.pdp__title { font-size:clamp(38px, calc(var(--col) * .125), 56px); margin-top:8px; }
.pdp__rating { display:flex; align-items:center; gap:8px; margin-top:12px; }
.stars { display:flex; gap:2px; }
.stars svg { width:17px; height:17px; }
.stars .full { color:#F5A623; }
.stars .empty { color:var(--line); }
.pdp__rating span { font-size:13px; color:var(--mute); }
.pdp__price { display:flex; align-items:baseline; gap:10px; margin-top:16px; }
.pdp__price b { font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:42px; line-height:1; color:var(--color-red); }
.pdp__price s { font-size:15px; font-weight:600; color:var(--mute); }
.pdp__price em { padding:5px 11px; border-radius:99px; background:var(--sk-ok-bg); color:var(--sk-ok); font-style:normal; font-size:12px; font-weight:800; letter-spacing:.4px; }
.pdp__desc { margin-top:16px; font-size:14.5px; line-height:1.68; color:var(--text-soft); }
.specs { display:grid; grid-template-columns:1fr; gap:0; margin-top:20px; border-top:1px solid var(--line); }
.specs div { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px solid var(--line); }
.specs dt { font-size:12.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--mute); }
.specs dd { font-size:14px; font-weight:600; text-align:right; }

.opt-label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:24px; margin-bottom:10px;
  font-size:12px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:var(--mute); }
.opt-label b { color:var(--color-black); letter-spacing:.4px; text-transform:none; font-size:13px; }
.sizes { display:flex; flex-wrap:wrap; gap:9px; }
.size {
  min-width:56px; padding:11px 14px; border-radius:14px; border:1.5px solid var(--line); background:var(--surface);
  font-family:var(--font-body); font-size:14px; font-weight:700; color:var(--text-soft);
  transition:border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.size:hover:not(:disabled) { border-color:var(--color-red); color:var(--color-red); }
.size:active:not(:disabled) { transform:scale(.96); }
.size[aria-pressed="true"] { background:var(--color-red); border-color:var(--color-red); color:#fff; }
.size:disabled { opacity:.34; cursor:not-allowed; text-decoration:line-through; }
.size:focus-visible { outline:3px solid var(--color-red); outline-offset:2px; }

.buy { display:flex; align-items:center; gap:12px; margin-top:26px; }
.buy .qty { flex:0 0 auto; }
.buy .b { flex:1 1 auto; min-height:54px; }
.stock-line { display:flex; align-items:center; gap:8px; margin-top:14px; font-size:13px; font-weight:600; }
.stock-line i { width:9px; height:9px; border-radius:50%; background:var(--sk-ok); }
.stock-line.is-low i { background:var(--sk-warn); }
.stock-line.is-out i { background:var(--sk-err); }
.stock-line.is-out { color:var(--sk-err); }
.stock-line.is-low { color:var(--sk-warn); }

/* ==========================================================
   CART
   ========================================================== */
.cart-layout { display:grid; grid-template-columns:1fr; gap:24px; align-items:start; }
.lines { display:flex; flex-direction:column; gap:14px; }
.line {
  display:grid; grid-template-columns:96px 1fr auto; gap:14px; align-items:start;
  padding:14px; border-radius:22px; background:var(--sk-card); border:1px solid var(--line); box-shadow:var(--sk-shadow-s);
}
.line__media { border-radius:16px; overflow:hidden; background:var(--tile); }
.line__media img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.line__media img.is-opaque { mix-blend-mode:multiply; }
:root[data-theme="dark"] .line__media img.is-opaque { mix-blend-mode:normal; background:#fff; }
.line__title { font-family:var(--font-heading); font-weight:900; font-style:italic; text-transform:uppercase; font-size:23px; line-height:1; }
.line__title a { color:inherit; } .line__title a:hover { color:var(--color-red); }
.line__meta { margin-top:6px; font-size:12.5px; color:var(--mute); }
.line__unit { margin-top:6px; font-size:13px; color:var(--text-soft); }
.line__unit b { font-weight:700; color:var(--color-red); }
.line__foot { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:12px; }
.line__total { text-align:right; font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:25px; line-height:1; color:var(--color-black); }
.line__remove { margin-top:8px; }

.summary { padding:20px; border-radius:24px; background:var(--sk-card); border:1px solid var(--line); box-shadow:var(--sk-shadow-m); }
.summary__title { font-size:26px; }
.summary__rows { margin-top:16px; }
.summary__row { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:9px 0; font-size:14px; color:var(--text-soft); }
.summary__row b { font-weight:700; color:var(--color-black); }
.summary__row--free b { color:var(--sk-ok); }
.summary__row--promo b { color:var(--sk-ok); }
.summary__total { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-top:8px; padding-top:14px; border-top:1.5px solid var(--line); }
.summary__total span { font-family:var(--font-heading); font-weight:800; font-style:italic; text-transform:uppercase; font-size:20px; letter-spacing:.8px; }
.summary__total b { font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:34px; line-height:1; color:var(--color-red); }
.summary__cta { display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.ship-note { display:flex; gap:10px; margin-top:16px; padding:12px 14px; border-radius:16px; background:var(--sk-warn-bg); color:var(--sk-warn); font-size:12.5px; line-height:1.5; }
.ship-note b { font-weight:800; }
.ship-note--ok { background:var(--sk-ok-bg); color:var(--sk-ok); }
.ship-note svg { flex:0 0 auto; width:16px; height:16px; margin-top:1px; }

/* promo code entry (cart + checkout) */
.promo { display:flex; gap:8px; margin-top:14px; }
.promo input {
  flex:1 1 auto; min-width:0; height:46px; padding:0 14px; border-radius:14px;
  border:1.5px solid var(--line); background:var(--surface); color:var(--color-black);
  font-family:var(--font-body); font-size:14px; font-weight:600; letter-spacing:1px; text-transform:uppercase; outline:none;
}
.promo input:focus { border-color:var(--color-red); box-shadow:0 0 0 4px rgba(229,9,16,.12); }
.promo .b { flex:0 0 auto; min-height:46px; }
.promo-msg { margin-top:8px; font-size:12.5px; font-weight:700; }
.promo-msg.ok { color:var(--sk-ok); }
.promo-msg.bad { color:var(--sk-err); }

/* ==========================================================
   EMPTY STATE
   ========================================================== */
.empty { text-align:center; padding:52px 22px; border-radius:26px; background:var(--sk-card); border:1px dashed var(--line); }
.empty__icon { width:74px; height:74px; margin:0 auto 18px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--sk-chip); color:var(--mute); }
.empty__icon svg { width:32px; height:32px; }
.empty h2 { font-size:32px; }
.empty p { margin:10px auto 22px; max-width:38ch; font-size:14.5px; line-height:1.6; color:var(--text-soft); }

/* ==========================================================
   CHECKOUT
   ========================================================== */
.co-layout { display:grid; grid-template-columns:1fr; gap:24px; align-items:start; }
.panel { padding:20px; border-radius:24px; background:var(--sk-card); border:1px solid var(--line); box-shadow:var(--sk-shadow-s); }
.panel + .panel { margin-top:18px; }
.panel__title { display:flex; align-items:center; gap:10px; font-size:25px; }
.panel__step { flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:var(--color-red); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-body); font-style:normal; font-weight:800; font-size:13px; }
.panel__hint { margin-top:8px; font-size:12.5px; color:var(--mute); }

.form { display:grid; grid-template-columns:1fr; gap:14px; margin-top:18px; }
.field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.field label { font-size:12px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:var(--mute); }
.field .req { color:var(--color-red); }
.field input, .field textarea, .field select {
  width:100%; min-width:0; padding:13px 14px; border-radius:14px;
  border:1.5px solid var(--line); background:var(--surface); color:var(--color-black);
  font-family:var(--font-body); font-size:15px; font-weight:500; outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height:88px; resize:vertical; line-height:1.55; }
.field select { -webkit-appearance:none; appearance:none; cursor:pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:var(--color-red); box-shadow:0 0 0 4px rgba(229,9,16,.12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color:var(--sk-err); background:var(--sk-err-bg); }
.field__err { display:none; font-size:12px; font-weight:700; color:var(--sk-err); }
.field.has-error .field__err { display:block; }
.field--full { grid-column:1 / -1; }

/* --- robot check: a real math challenge, not a fake checkmark --- */
.captcha { margin-top:18px; padding:16px; border-radius:18px; border:1.5px dashed var(--line); background:var(--sk-chip); }
.captcha__top { display:flex; align-items:center; gap:12px; }
.captcha__box {
  flex:0 0 auto; width:30px; height:30px; border-radius:9px; border:2px solid var(--mute); background:var(--surface);
  display:flex; align-items:center; justify-content:center; color:transparent;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.captcha__box svg { width:18px; height:18px; }
.captcha__label { flex:1 1 auto; font-size:14px; font-weight:600; }
.captcha__brand { flex:0 0 auto; font-size:9.5px; letter-spacing:1.6px; text-transform:uppercase; color:var(--mute); text-align:right; line-height:1.5; }
.captcha.is-ok .captcha__box { background:var(--sk-ok); border-color:var(--sk-ok); color:#fff; transform:scale(1.04); }
.captcha.is-ok .captcha__label { color:var(--sk-ok); }
.captcha__challenge { display:none; align-items:center; gap:10px; margin-top:14px; flex-wrap:wrap; }
.captcha.is-open .captcha__challenge { display:flex; }
.captcha__sum { font-family:var(--font-heading); font-weight:900; font-style:italic; font-size:26px; letter-spacing:1px; color:var(--color-black); }
.captcha__challenge input {
  width:88px; padding:11px 12px; border-radius:12px; border:1.5px solid var(--line);
  background:var(--surface); color:var(--color-black); font-family:var(--font-body); font-size:16px; font-weight:700;
  text-align:center; outline:none;
}
.captcha__challenge input:focus { border-color:var(--color-red); box-shadow:0 0 0 4px rgba(229,9,16,.12); }
.captcha__refresh { margin-left:auto; }
.captcha__msg { display:none; margin-top:10px; font-size:12.5px; font-weight:700; }
.captcha.is-bad .captcha__msg { display:block; color:var(--sk-err); }

/* DM checkout block */
.dm { margin-top:18px; }
.dm__row { display:flex; flex-wrap:wrap; gap:10px; }
.dm__btn { flex:1 1 140px; }
.dm__btn--wa { background:#25D366; color:#04331A; }
.dm__btn--wa:hover { opacity:.88; }
.dm__btn--ig { background:linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); color:#fff; }
.dm__btn--ig:hover { opacity:.9; }
.dm__btn--tg { background:#229ED9; color:#fff; }
.dm__btn--tg:hover { opacity:.9; }
.dm__preview { margin-top:14px; }
.dm__preview summary { cursor:pointer; font-size:12.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--color-red); }
.dm__preview pre {
  margin-top:10px; padding:14px; border-radius:14px; background:var(--sk-chip);
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; line-height:1.6;
  white-space:pre-wrap; word-break:break-word; color:var(--text-soft); max-height:230px; overflow:auto;
}

/* ==========================================================
   TOASTS
   ========================================================== */
.toasts {
  position:fixed; z-index:1300; left:0; right:0; margin:0 auto; width:var(--col);
  bottom:calc(20px + var(--safe-bottom)); padding:0 16px;
  display:flex; flex-direction:column; align-items:center; gap:9px; pointer-events:none;
}
.toast {
  display:flex; align-items:center; gap:11px; width:100%; max-width:420px;
  padding:13px 16px; border-radius:16px;
  background:var(--color-black); color:var(--color-bg); box-shadow:var(--sk-shadow-l);
  font-size:13.5px; font-weight:600; line-height:1.4;
  opacity:0; transform:translateY(14px); transition:opacity .26s ease, transform .3s cubic-bezier(.2,.85,.28,1);
}
.toast.is-in { opacity:1; transform:none; }
.toast svg { flex:0 0 auto; width:18px; height:18px; }
.toast--ok svg { color:#4ADE80; }
.toast--err svg { color:#FF6B72; }
.toast--info svg { color:#7DD3FC; }
.toast b { font-weight:800; }
.toast__link { margin-left:auto; flex:0 0 auto; font-size:12px; font-weight:800; color:#fff; text-decoration:underline; }

/* ==========================================================
   MODAL (order success)
   ========================================================== */
.modal {
  position:fixed; z-index:1400; left:0; right:0; bottom:0; top:0; margin:0 auto; width:var(--col);
  display:flex; align-items:center; justify-content:center; padding:20px;
  background:rgba(10,10,12,.5);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility 0s linear .28s;
}
.modal.is-open { opacity:1; visibility:visible; transition:opacity .25s ease, visibility 0s linear 0s; }
.modal__card {
  width:100%; max-width:420px; padding:26px 22px; border-radius:26px; text-align:center;
  background:var(--sk-card); border:1px solid var(--line); box-shadow:var(--sk-shadow-l);
  transform:translateY(16px) scale(.97); transition:transform .32s cubic-bezier(.2,.85,.28,1);
}
.modal.is-open .modal__card { transform:none; }
.modal__tick { width:66px; height:66px; margin:0 auto 16px; border-radius:50%; background:var(--sk-ok-bg); color:var(--sk-ok);
  display:flex; align-items:center; justify-content:center; }
.modal__tick svg { width:32px; height:32px; }
.modal__title { font-size:32px; }
.modal__text { margin-top:10px; font-size:14px; line-height:1.6; color:var(--text-soft); }
.modal__ref { display:inline-block; margin-top:14px; padding:9px 16px; border-radius:99px; background:var(--sk-chip);
  font-family:ui-monospace, Menlo, Consolas, monospace; font-size:13px; font-weight:700; letter-spacing:1.4px; }
.modal__rows { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); text-align:left; }
.modal__rows div { display:flex; justify-content:space-between; gap:12px; padding:6px 0; font-size:13.5px; color:var(--text-soft); }
.modal__rows b { color:var(--color-black); font-weight:700; }
.modal__cta { display:flex; flex-direction:column; gap:9px; margin-top:20px; }

/* ==========================================================
   FOOTER (shop pages use the landing footer, tightened up)
   ========================================================== */
.shop-foot { margin-top:56px; padding-top:26px; border-top:1px solid var(--line); }
.shop-foot__grid { display:grid; grid-template-columns:1fr; gap:22px; }
.shop-foot__logo { width:118px; height:auto; }
.shop-foot p { margin-top:12px; max-width:40ch; font-size:13.5px; line-height:1.65; color:var(--text-soft); }
.shop-foot h4 { font-family:var(--font-heading); font-weight:900; font-style:italic; text-transform:uppercase; font-size:20px; letter-spacing:.5px; }
.shop-foot ul { display:flex; flex-direction:column; gap:9px; margin-top:12px; }
.shop-foot ul a { font-size:13.5px; color:var(--text-soft); }
.shop-foot ul a:hover { color:var(--color-red); }
.shop-foot__legal { margin-top:26px; padding-top:16px; border-top:1px solid var(--line); font-size:12.5px; color:var(--mute); text-align:center; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width:560px) {
  .grid { gap:18px; }
  .form { grid-template-columns:1fr 1fr; }
  .specs { grid-template-columns:1fr 1fr; column-gap:26px; }
  .shop-foot__grid { grid-template-columns:1.6fr 1fr 1fr; }
}

@media (min-width:900px) and (min-aspect-ratio:5/4) {
  .page { padding:130px 0 60px; }
  .shop-wrap { padding:0 48px; }
  /* the content column is capped at 1100px, so the headings are capped too —
     otherwise a wide monitor would push "Your Cart" past the wrap. */
  .page-head .h-display { font-size:clamp(38px, 4.6vw, 60px); }
  .block__title { font-size:clamp(26px, 3.4vw, 44px); }
  .pdp__title { font-size:clamp(38px, 3.6vw, 56px); }
  .shop-hero { padding:52px 54px 50px; border-radius:36px; }
  .shop-hero__orb { width:320px; height:320px; right:-100px; top:-110px; }
  .shop-hero__text { font-size:16.5px; }
  .shop-hero__title { font-size:clamp(52px, 5vw, 78px); max-width:14ch; }
  .shop-hero__title em { display:inline; }

  .toolbar { display:flex; align-items:center; gap:16px; margin-top:34px; }
  .search { flex:0 0 320px; }
  .filters { flex:1 1 auto; margin-top:0; }
  .results-line { margin-top:26px; }

  .grid { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:26px; }
  .grid--related { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .card2__title { font-size:27px; }

  .pdp { grid-template-columns:1.05fr 1fr; gap:56px; align-items:start; }
  .gallery.has-thumbs { gap:14px; }
  .thumbs { width:104px; gap:10px; max-height:620px; }
  .thumb { border-radius:14px; }
  .cart-layout { grid-template-columns:1.65fr 1fr; gap:36px; }
  .co-layout { grid-template-columns:1.65fr 1fr; gap:36px; }
  .summary, .panel { padding:28px; }
  .line { grid-template-columns:128px 1fr auto; padding:18px; }
  .block { margin-top:84px; }
  .shop-foot { margin-top:100px; }
}

/* The mobile toolbar keeps search reachable while scrolling the grid. */
/* (sticky is intentionally NOT used: it forces a repaint on every scroll frame,
   which is exactly the lag the visitor asked us to avoid.) */

/* Cards animate in from the reveal observer in shop.js, not from the page loader. */

/* ==========================================================
   PERFORMANCE / ACCESSIBILITY MODES
   ========================================================== */
/* weak phones: no blur anywhere, and the toast slides without easing */
.lite .toast, .perf .modal { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
.lite .card2, .lite .toast, .lite .modal__card, .lite .chip-btn, .lite .b, .lite .size, .lite .icon-btn,
.lite .captcha__box, .lite .search, .lite .field input, .lite .field textarea, .lite .field select {
  transition:none !important;
}
.vlow .toasts { display:none; }

@media (prefers-reduced-motion: reduce) {
  .card2, .card2__wish, .toast, .modal__card, .chip-btn, .b, .size, .icon-btn, .captcha__box,
  .search, .qty button, .field input, .field textarea, .field select {
    transition:none !important;
  }
  .card2:hover { transform:none; }
}

/* old browsers: no aspect-ratio, so let the images size themselves */
@supports not (aspect-ratio: 1 / 1) {
  .card2__img, .gallery__main img, .line__media img { height:auto; }
}

/* ---- phones: two compact cards per row ---- */
@media (max-width:559px) {
  .card2 { border-radius:16px; }
  .card2__badges { left:7px; top:7px; gap:4px; }
  .card2__badges .badge { font-size:9.5px; padding:3px 7px; }
  .card2__wish { width:30px; height:30px; right:7px; top:7px; }
  .card2__wish svg { width:15px; height:15px; }
  .card2__body { padding:10px 10px 12px; }
  .card2__row { flex-direction:column; gap:3px; }
  .card2__title { font-size:17px; line-height:1.05; }
  .card2__meta { display:none; }
  .card2__foot { flex-direction:column; align-items:stretch; gap:8px; padding-top:10px; }
  .card2__price { font-size:20px; }
  .card2__was { display:block; margin:3px 0 0; }
  .card2__actions { gap:6px; }
  .card2__actions .b { flex:1 1 0; justify-content:center; padding-left:6px; padding-right:6px; font-size:12px; }
  .card2__actions .b svg { display:none; }
}

.points { display:grid; gap:9px; margin-top:18px; }
.points li { display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:600; color:var(--text-soft); }
.points svg { flex:0 0 auto; width:18px; height:18px; padding:3px; border-radius:50%; background:var(--color-red); color:#fff; }

/* ------------------------------------------------------------
   CHECKOUT (WhatsApp) — option cards, checkboxes, captcha image
   ------------------------------------------------------------ */
.co-gap { margin-top:30px; }
.field .opt { text-transform:none; letter-spacing:0; font-weight:500; }
.field__hint { font-size:12px; color:var(--mute); }
.opts { display:grid; gap:10px; margin-top:14px; }
.opt-card { position:relative; display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:16px;
  background:var(--sk-card); border:1.5px solid var(--line); cursor:pointer; transition:border-color .2s ease, box-shadow .2s ease; }
.opt-card input { position:absolute; opacity:0; pointer-events:none; }
.opt-card__dot { flex:0 0 auto; width:20px; height:20px; border-radius:50%; border:2px solid var(--line); background:transparent; position:relative; }
.opt-card.is-on { border-color:var(--color-red); box-shadow:0 0 0 4px rgba(229,9,16,.10); }
.opt-card.is-on .opt-card__dot { border-color:var(--color-red); }
.opt-card.is-on .opt-card__dot::after { content:''; position:absolute; inset:3px; border-radius:50%; background:var(--color-red); }
.opt-card input:focus-visible ~ .opt-card__dot { box-shadow:0 0 0 4px rgba(229,9,16,.25); }
.opt-card__txt { flex:1 1 auto; display:flex; flex-direction:column; gap:2px; min-width:0; }
.opt-card__txt b { font-size:15px; font-weight:700; }
.opt-card__txt small { font-size:12.5px; color:var(--mute); }
.opt-card__price { font-weight:800; font-size:15px; }
#billingFields { margin-top:14px; }
.check { display:flex; align-items:center; gap:10px; font-size:14px; cursor:pointer; }
.check input { position:absolute; opacity:0; pointer-events:none; }
.check__box { flex:0 0 auto; width:20px; height:20px; border-radius:6px; border:2px solid var(--line); background:var(--sk-card); position:relative; transition:background .2s ease, border-color .2s ease; }
.check input:checked + .check__box { background:var(--color-red); border-color:var(--color-red); }
.check input:checked + .check__box::after { content:''; position:absolute; left:5px; top:1px; width:5px; height:10px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }
.check input:focus-visible + .check__box { box-shadow:0 0 0 4px rgba(229,9,16,.25); }
#captchaCanvas { display:block; width:240px; max-width:100%; height:auto; border-radius:12px; border:1.5px solid var(--line); background:#eee; }
.captcha__challenge input { flex:1 1 130px; min-width:0; text-transform:uppercase; letter-spacing:4px; font-weight:800; }
.captcha__ts { margin-top:14px; }
.b--wa { margin-top:26px; min-height:56px; gap:10px; font-size:18px; }
.b--wa svg { width:24px; height:24px; }
.co-preview { margin-top:14px; }
.summary__row[hidden], .opts [hidden], [hidden].form { display:none !important; }
.ship-note[hidden] { display:none !important; }

/* product video slot (only used by products that have a video) */
.pdp-video { display:block; width:100%; max-height:min(78vh,640px); aspect-ratio:9/16; object-fit:contain; background:var(--tile); }
.pdp-video[hidden], .gallery__main img[hidden] { display:none; }
.thumb--video { position:relative; }
.thumb--video img { object-fit:cover; }
.thumb__play { position:absolute; left:50%; top:50%; width:26px; height:26px; margin:-13px 0 0 -13px; border-radius:50%; background:rgba(0,0,0,.62); pointer-events:none; }
.thumb__play::after { content:""; position:absolute; left:10px; top:7px; border-style:solid; border-width:6px 0 6px 9px; border-color:transparent transparent transparent #fff; }
