/* ==========================================================================
   BARBELL INDIA · "Zen" storefront design system
   One file, no build step. Loaded after the legacy theme CSS; every class is
   prefixed `z-` so redesigned pages and not-yet-migrated pages can coexist.

   1. Tokens          5. Product card & price
   2. Base            6. Overlays (modal, drawer, toast)
   3. Layout          7. Content (accordion, breadcrumbs, skeleton, rating)
   4. Controls        8. Sale (bar, countdown, hero, landing)
   ========================================================================== */

/* 0. FONTS (self-hosted, OFL; licences in fonts/) ========================= */
@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-var.woff") format("woff"); font-weight: 300 800; font-style: normal; font-display: swap; }

/* 1. TOKENS ================================================================ */
:root {
  /* Colour: monochrome + one accent (sale, urgency, low stock, errors only) */
  --z-black: #000000;
  --z-ink: #1A1A1A;          /* body text */
  --z-graphite: #3D3D3D;
  --z-steel: #666666;        /* secondary text, 5.7:1 on white */
  --z-concrete: #9E9E9E;     /* disabled, placeholders on dark */
  --z-line: #E3E3E3;         /* hairlines, borders */
  --z-chalk: #F3F3F3;        /* quiet surfaces, image wells */
  --z-white: #FFFFFF;
  --z-accent: #C8102E;       /* "plate red": 5.9:1 on white */
  --z-accent-ink: #FFFFFF;
  --z-accent-wash: #FCEDEF;
  --z-success: #1F6F43;      /* stock/confirmation text only */

  /* Type */
  --z-font-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --z-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --z-display-stretch: 112%;  /* Archivo width axis: athletic, expanded */

  /* Scale: 1.25 (major third) on 16px; display steps are fluid */
  --z-text-xs: 0.75rem;   /* 12 */
  --z-text-sm: 0.875rem;  /* 14 */
  --z-text-md: 1rem;      /* 16 */
  --z-text-lg: 1.25rem;   /* 20 */
  --z-text-xl: 1.5625rem; /* 25 */
  --z-text-2xl: clamp(1.5625rem, 1.2rem + 1.4vw, 1.9375rem); /* 25→31 */
  --z-text-3xl: clamp(1.9375rem, 1.3rem + 2.6vw, 2.4375rem); /* 31→39 */
  --z-text-4xl: clamp(2.4375rem, 1.4rem + 4.4vw, 3.8125rem); /* 39→61 */
  --z-text-5xl: clamp(3rem, 1.2rem + 8vw, 7.5rem);           /* hero */
  --z-leading-tight: 0.95;
  --z-leading-snug: 1.2;
  --z-leading-body: 1.55;

  /* Spacing: 8px grid (4px half-step for tight UI) */
  --z-s-0: 0.25rem;  /* 4 */
  --z-s-1: 0.5rem;   /* 8 */
  --z-s-2: 1rem;     /* 16 */
  --z-s-3: 1.5rem;   /* 24 */
  --z-s-4: 2rem;     /* 32 */
  --z-s-5: 3rem;     /* 48 */
  --z-s-6: 4rem;     /* 64 */
  --z-s-7: 6rem;     /* 96 */
  --z-s-8: 8rem;     /* 128 */

  /* Radius: imagery is square; controls are barely softened; swatches round */
  --z-r-0: 0;
  --z-r-1: 2px;
  --z-r-round: 999px;

  /* Elevation: only floating layers get a shadow */
  --z-shadow-float: 0 12px 40px rgba(0, 0, 0, 0.16);
  --z-shadow-sticky: 0 -1px 0 var(--z-line), 0 -8px 24px rgba(0, 0, 0, 0.06);

  /* Motion */
  --z-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --z-dur-fast: 120ms;
  --z-dur: 240ms;

  /* Layout */
  --z-container: 1360px;
  --z-gutter: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --z-bar-h: 40px;
  --z-tap: 44px;   /* minimum touch target (WCAG 2.5.8) */
}

/* 2. BASE ================================================================== */
.z-skip-link {
  position: absolute; left: var(--z-s-2); top: -100px; z-index: 10000;
  background: var(--z-black); color: var(--z-white); padding: var(--z-s-1) var(--z-s-2);
  font: 600 var(--z-text-sm)/1 var(--z-font-body); text-decoration: none;
}
.z-skip-link:focus { top: var(--z-s-1); color: var(--z-white); }

.z-sr-only {
  position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.z-scope, .z-scope *, .z-scope *::before, .z-scope *::after { box-sizing: border-box; }
.z-scope { font-family: var(--z-font-body); color: var(--z-ink); line-height: var(--z-leading-body); -webkit-font-smoothing: antialiased; }
.z-scope img { max-width: 100%; height: auto; display: block; }

.z-display, .z-h1, .z-h2, .z-h3 {
  font-family: var(--z-font-display); font-stretch: var(--z-display-stretch);
  color: var(--z-black); margin: 0; letter-spacing: -0.01em; text-wrap: balance;
}
.z-display { font-size: var(--z-text-5xl); font-weight: 900; line-height: var(--z-leading-tight); letter-spacing: -0.03em; }
.z-h1 { font-size: var(--z-text-4xl); font-weight: 800; line-height: 1; }
.z-h2 { font-size: var(--z-text-3xl); font-weight: 800; line-height: 1.05; }
.z-h3 { font-size: var(--z-text-lg); font-weight: 700; line-height: var(--z-leading-snug); }
.z-lead { font-size: var(--z-text-lg); color: var(--z-graphite); max-width: 60ch; }
.z-muted { color: var(--z-steel); }
.z-num { font-variant-numeric: tabular-nums; }

/* Visible, consistent focus for keyboard users only */
.z-scope :focus-visible, .z-bar :focus-visible, .z-dialog :focus-visible {
  outline: 2px solid var(--z-black); outline-offset: 3px; box-shadow: 0 0 0 5px var(--z-white);
}
.z-on-dark :focus-visible { outline-color: var(--z-white); box-shadow: 0 0 0 5px var(--z-black); }

/* 3. LAYOUT ================================================================ */
.z-container { width: 100%; max-width: var(--z-container); margin-inline: auto; padding-inline: var(--z-gutter); }
.z-section { padding-block: var(--z-s-6); }
.z-section--tight { padding-block: var(--z-s-4); }
.z-stack > * + * { margin-top: var(--z-s-2); }
.z-cluster { display: flex; flex-wrap: wrap; gap: var(--z-s-1); align-items: center; }
.z-section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--z-s-2); margin-bottom: var(--z-s-4); }
.z-grid-products {
  display: grid; gap: var(--z-s-4) var(--z-s-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) { .z-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-s-5) var(--z-s-3); } }
@media (min-width: 1200px) { .z-grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 4. CONTROLS ============================================================== */
.z-btn {
  --_bg: var(--z-black); --_fg: var(--z-white); --_bd: var(--z-black);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--z-s-1);
  min-height: var(--z-tap); padding: 0 var(--z-s-3);
  font: 600 var(--z-text-sm)/1 var(--z-font-body); letter-spacing: 0.02em;
  color: var(--_fg); background: var(--_bg); border: 1.5px solid var(--_bd); border-radius: var(--z-r-1);
  text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none;
  transition: background var(--z-dur-fast) var(--z-ease), color var(--z-dur-fast) var(--z-ease), transform var(--z-dur-fast) var(--z-ease);
}
.z-btn:hover { --_bg: var(--z-graphite); --_bd: var(--z-graphite); color: var(--_fg); text-decoration: none; }
.z-btn:active { transform: translateY(1px); }
.z-btn--secondary { --_bg: transparent; --_fg: var(--z-black); }
.z-btn--secondary:hover { --_bg: var(--z-black); --_fg: var(--z-white); --_bd: var(--z-black); }
.z-btn--ghost { --_bg: transparent; --_fg: var(--z-black); --_bd: transparent; padding-inline: var(--z-s-1); text-decoration: underline; text-underline-offset: 4px; }
.z-btn--ghost:hover { --_bg: transparent; --_bd: transparent; --_fg: var(--z-graphite); }
.z-btn--inverse { --_bg: var(--z-white); --_fg: var(--z-black); --_bd: var(--z-white); }
.z-btn--inverse:hover { --_bg: var(--z-chalk); --_bd: var(--z-chalk); --_fg: var(--z-black); }
.z-btn--sm { min-height: 36px; padding: 0 var(--z-s-2); font-size: var(--z-text-xs); }
.z-btn--lg { min-height: 56px; padding: 0 var(--z-s-4); font-size: var(--z-text-md); }
.z-btn--block { width: 100%; }
.z-btn[disabled], .z-btn[aria-disabled="true"] { --_bg: var(--z-chalk); --_fg: var(--z-concrete); --_bd: var(--z-line); cursor: not-allowed; transform: none; }
.z-btn[aria-busy="true"] { color: transparent; position: relative; pointer-events: none; }
.z-btn[aria-busy="true"]::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--_fg); border-right-color: transparent; animation: z-spin .7s linear infinite;
}
@keyframes z-spin { to { transform: rotate(360deg); } }

.z-field { display: grid; gap: var(--z-s-0); align-content: start; }
.z-label { font: 600 var(--z-text-sm)/1.3 var(--z-font-body); color: var(--z-ink); }
.z-hint { font-size: var(--z-text-xs); color: var(--z-steel); }
.z-input, .z-select {
  width: 100%; min-height: var(--z-tap); padding: 0 var(--z-s-2);
  font: 400 var(--z-text-md)/1.2 var(--z-font-body); color: var(--z-ink); /* 16px stops iOS zoom */
  background: var(--z-white); border: 1.5px solid var(--z-line); border-radius: var(--z-r-1);
  transition: border-color var(--z-dur-fast) var(--z-ease);
}
.z-input::placeholder { color: var(--z-concrete); }
.z-input:hover, .z-select:hover { border-color: var(--z-concrete); }
.z-input:focus, .z-select:focus { border-color: var(--z-black); outline: none; box-shadow: 0 0 0 1px var(--z-black); }
.z-select {
  appearance: none; padding-right: var(--z-s-5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--z-s-2) center;
}
.z-field--error .z-input, .z-field--error .z-select, .z-input[aria-invalid="true"] { border-color: var(--z-accent); }
.z-error { font-size: var(--z-text-xs); color: var(--z-accent); font-weight: 600; }

.z-check { display: flex; align-items: center; gap: var(--z-s-1); min-height: 36px; cursor: pointer; font-size: var(--z-text-sm); }
.z-check input { width: 18px; height: 18px; accent-color: var(--z-black); margin: 0; }

/* Size chips (filters + quick add) */
.z-chips { display: flex; flex-wrap: wrap; gap: var(--z-s-0); }
.z-chip {
  min-width: 40px; min-height: 36px; padding: 0 var(--z-s-1);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 var(--z-text-xs)/1 var(--z-font-body); color: var(--z-ink);
  background: var(--z-white); border: 1.5px solid var(--z-line); border-radius: var(--z-r-1); cursor: pointer;
}
.z-chip:hover { border-color: var(--z-black); }
.z-chip[aria-pressed="true"], input:checked + .z-chip { background: var(--z-black); border-color: var(--z-black); color: var(--z-white); }
.z-chip[disabled] { color: var(--z-concrete); background: linear-gradient(to top left, transparent calc(50% - 0.75px), var(--z-line) 50%, transparent calc(50% + 0.75px)); cursor: not-allowed; }

.z-swatches { display: flex; gap: var(--z-s-0); align-items: center; }
.z-swatch { width: 16px; height: 16px; border-radius: var(--z-r-round); border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px var(--z-white); }
.z-swatch-more { font-size: var(--z-text-xs); color: var(--z-steel); }

/* Badges: neutral by default; accent only for sale/urgency */
.z-badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 var(--z-s-1);
  font: 700 0.6875rem/1 var(--z-font-body); letter-spacing: 0.02em;
  color: var(--z-black); background: var(--z-white); border-radius: var(--z-r-1); white-space: nowrap;
}
.z-badge--dark { background: var(--z-black); color: var(--z-white); }
.z-badge--sale { background: var(--z-accent); color: var(--z-accent-ink); }
.z-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.z-badge--muted { background: var(--z-chalk); color: var(--z-steel); }

/* 5. PRODUCT CARD & PRICE ================================================== */
.z-card { position: relative; display: flex; flex-direction: column; gap: var(--z-s-1); min-width: 0; }
.z-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--z-chalk); overflow: hidden; }
.z-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--z-dur) var(--z-ease), transform 600ms var(--z-ease); }
.z-card__img-alt { opacity: 0; }
@media (hover: hover) {
  .z-card:hover .z-card__img-alt { opacity: 1; }
  .z-card:hover .z-card__media img:only-of-type { transform: scale(1.03); }
}
.z-card__badges { position: absolute; top: var(--z-s-1); left: var(--z-s-1); display: flex; flex-direction: column; align-items: flex-start; gap: var(--z-s-0); z-index: 2; pointer-events: none; }
.z-card__wish {
  position: absolute; top: var(--z-s-0); right: var(--z-s-0); z-index: 2;
  width: var(--z-tap); height: var(--z-tap); display: grid; place-items: center;
  color: var(--z-black); background: transparent; border: 0; border-radius: var(--z-r-round);
}
.z-card__wish svg { width: 20px; height: 20px; }
.z-card__wish:hover svg, .z-card__wish[aria-pressed="true"] svg { fill: var(--z-black); }
.z-card__quick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--z-s-1); background: rgba(255,255,255,.96);
  transform: translateY(100%); transition: transform var(--z-dur) var(--z-ease);
}
.z-card__quick-label { font-size: var(--z-text-xs); font-weight: 600; margin-bottom: var(--z-s-0); }
@media (hover: hover) { .z-card:hover .z-card__quick, .z-card:focus-within .z-card__quick { transform: none; } }
@media (hover: none) { .z-card__quick { display: none; } }  /* touch: tap through to the product page */
.z-card__body { display: grid; gap: 2px; }
.z-card__cat { font-size: var(--z-text-xs); color: var(--z-steel); }
.z-card__title { font: 500 var(--z-text-sm)/1.35 var(--z-font-body); margin: 0; color: var(--z-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.z-card__title a { color: inherit; text-decoration: none; }
.z-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.z-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--z-s-1); margin-top: 2px; }
.z-card--soldout .z-card__media img { opacity: .55; }

.z-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--z-s-1); font-variant-numeric: tabular-nums; }
.z-price__now { font: 700 var(--z-text-md)/1.2 var(--z-font-body); color: var(--z-black); }
.z-price__mrp { font-size: var(--z-text-sm); color: var(--z-steel); }
.z-price__mrp s { text-decoration-thickness: 1px; }
.z-price__off { font-size: var(--z-text-sm); font-weight: 700; color: var(--z-accent); }
.z-price__tax { flex-basis: 100%; font-size: var(--z-text-xs); color: var(--z-steel); }
.z-price--lg .z-price__now { font-size: var(--z-text-xl); }
.z-price--lg .z-price__mrp, .z-price--lg .z-price__off { font-size: var(--z-text-md); }

/* 6. OVERLAYS ============================================================== */
.z-dialog {
  padding: 0; border: 0; color: var(--z-ink); background: var(--z-white);
  font-family: var(--z-font-body); max-width: min(640px, calc(100vw - 2rem)); width: 100%;
  max-height: calc(100dvh - 2rem); box-shadow: var(--z-shadow-float);
}
.z-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.z-dialog[open] { animation: z-fade var(--z-dur) var(--z-ease); }
.z-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--z-s-2); padding: var(--z-s-2) var(--z-s-3); background: var(--z-white); border-bottom: 1px solid var(--z-line); }
.z-dialog__title { font: 700 var(--z-text-lg)/1.2 var(--z-font-display); font-stretch: var(--z-display-stretch); margin: 0; }
.z-dialog__body { padding: var(--z-s-3); overflow: auto; }
.z-dialog__foot { position: sticky; bottom: 0; padding: var(--z-s-2) var(--z-s-3); background: var(--z-white); border-top: 1px solid var(--z-line); }
.z-icon-btn { width: var(--z-tap); height: var(--z-tap); display: inline-grid; place-items: center; background: transparent; border: 0; color: var(--z-black); cursor: pointer; border-radius: var(--z-r-round); }
.z-icon-btn:hover { background: var(--z-chalk); }
.z-icon-btn svg { width: 20px; height: 20px; }

/* Drawer = dialog docked to an edge */
.z-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 92vw); max-width: none; display: none; flex-direction: column; }
.z-drawer[open] { display: flex; animation: z-slide-in var(--z-dur) var(--z-ease); }
.z-drawer--left { margin: 0 auto 0 0; }
.z-drawer--left[open] { animation-name: z-slide-in-left; }
.z-drawer .z-dialog__body { flex: 1; }
@keyframes z-fade { from { opacity: 0; } }
@keyframes z-slide-in { from { transform: translateX(100%); } }
@keyframes z-slide-in-left { from { transform: translateX(-100%); } }

/* Toasts */
.z-toasts { position: fixed; z-index: 9999; left: 50%; bottom: var(--z-s-2); transform: translateX(-50%); display: grid; gap: var(--z-s-1); width: min(420px, calc(100vw - 2rem)); pointer-events: none; }
@media (min-width: 768px) { .z-toasts { left: auto; right: var(--z-s-3); bottom: var(--z-s-3); transform: none; } }
.z-toast {
  pointer-events: auto; display: flex; align-items: center; gap: var(--z-s-2);
  padding: var(--z-s-2); background: var(--z-black); color: var(--z-white);
  font: 500 var(--z-text-sm)/1.4 var(--z-font-body); box-shadow: var(--z-shadow-float); border-radius: var(--z-r-1);
  animation: z-toast-in var(--z-dur) var(--z-ease);
}
.z-toast--error { background: var(--z-white); color: var(--z-ink); box-shadow: inset 4px 0 0 var(--z-accent), var(--z-shadow-float); }
.z-toast__msg { flex: 1; }
.z-toast a { color: inherit; font-weight: 700; }
.z-toast--leaving { opacity: 0; transition: opacity var(--z-dur) var(--z-ease); }
@keyframes z-toast-in { from { opacity: 0; transform: translateY(8px); } }

/* 7. CONTENT =============================================================== */
.z-accordion { border-top: 1px solid var(--z-line); }
.z-accordion details { border-bottom: 1px solid var(--z-line); }
.z-accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; font: 600 var(--z-text-md)/1.3 var(--z-font-body); color: var(--z-black);
}
.z-accordion summary::-webkit-details-marker { display: none; }
.z-accordion summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-left: var(--z-s-2); background: linear-gradient(currentColor 0 0) center/12px 1.5px no-repeat, linear-gradient(currentColor 0 0) center/1.5px 12px no-repeat; transition: transform var(--z-dur) var(--z-ease); }
.z-accordion details[open] > summary::after { transform: rotate(45deg); }
.z-accordion__panel { padding-bottom: var(--z-s-3); color: var(--z-graphite); max-width: 70ch; }

.z-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--z-s-0) var(--z-s-1); margin: 0; padding: 0; font-size: var(--z-text-xs); color: var(--z-steel); }
.z-breadcrumbs li + li::before { content: "/"; margin-right: var(--z-s-1); color: var(--z-concrete); }
.z-breadcrumbs a { color: var(--z-steel); text-decoration: none; }
.z-breadcrumbs a:hover { color: var(--z-black); text-decoration: underline; }
.z-breadcrumbs [aria-current] { color: var(--z-ink); }

.z-skeleton { background: linear-gradient(90deg, var(--z-chalk) 0, #EAEAEA 50%, var(--z-chalk) 100%) 0 0 / 200% 100%; animation: z-shimmer 1.4s linear infinite; border-radius: var(--z-r-1); }
.z-skeleton--media { aspect-ratio: 4 / 5; border-radius: 0; }
.z-skeleton--line { height: 0.8em; margin-top: var(--z-s-1); }
.z-skeleton--line.short { width: 40%; }
@keyframes z-shimmer { to { background-position: -200% 0; } }

.z-rating { display: inline-flex; align-items: center; gap: var(--z-s-0); font-size: var(--z-text-xs); color: var(--z-steel); }
.z-rating__stars { --_pct: 0%; position: relative; display: inline-block; font-size: 0.8125rem; letter-spacing: 1px; line-height: 1; color: var(--z-line); }
.z-rating__stars::before { content: "★★★★★"; }
.z-rating__stars::after { content: "★★★★★"; position: absolute; inset: 0; width: var(--_pct); overflow: hidden; color: var(--z-black); }

.z-empty { text-align: center; padding: var(--z-s-7) var(--z-s-2); }
.z-empty p { color: var(--z-steel); margin: var(--z-s-1) auto var(--z-s-3); max-width: 44ch; }

/* 8. SALE ================================================================== */
/* Announcement bar: fixed height so the countdown can never shift layout */
.z-bar {
  --_bg: var(--z-black); --_fg: var(--z-white);
  position: relative; z-index: 1030; height: var(--z-bar-h); overflow: hidden;
  background: var(--_bg); color: var(--_fg); font-family: var(--z-font-body);
}
.z-bar__inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: var(--z-s-2); padding-inline: var(--z-gutter); white-space: nowrap; }
.z-bar a.z-bar__link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: var(--z-s-2); min-height: var(--z-bar-h); }
.z-bar a.z-bar__link:hover .z-bar__text { text-decoration: underline; text-underline-offset: 3px; }
.z-bar__text { font-size: var(--z-text-xs); font-weight: 600; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; }
.z-bar__sep { width: 1px; height: 14px; background: currentColor; opacity: .35; }
.z-bar .z-countdown--mini { font-size: var(--z-text-xs); }
@media (max-width: 480px) { .z-bar .z-countdown__label { display: none; } .z-bar__inner { gap: var(--z-s-1); } .z-bar a.z-bar__link { gap: var(--z-s-1); } }

.z-countdown { display: inline-flex; align-items: baseline; gap: var(--z-s-1); font-variant-numeric: tabular-nums; }
.z-countdown__label { font-weight: 500; opacity: .8; }
.z-countdown__units { display: inline-flex; gap: 2px; }
.z-countdown--mini .z-cd-unit { display: inline-flex; align-items: baseline; }
.z-countdown--mini .z-cd-num { display: inline-block; min-width: 2ch; text-align: right; font-weight: 700; }
.z-countdown--mini .z-cd-lbl { margin-right: 4px; opacity: .7; }
.z-countdown__done { display: none; }
.is-done .z-countdown__units, .is-done .z-countdown__label { display: none; }
.is-done .z-countdown__done { display: inline; }

/* Full countdown (hero): four fixed-width tiles */
.z-countdown--full { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s-1); max-width: 440px; }
.z-countdown--full .z-cd-unit { display: grid; justify-items: center; gap: var(--z-s-0); padding: var(--z-s-2) var(--z-s-1); border: 1px solid rgba(255,255,255,.22); }
.z-countdown--full .z-cd-num { font: 800 clamp(1.75rem, 1rem + 3vw, 2.75rem)/1 var(--z-font-display); font-stretch: var(--z-display-stretch); }
.z-countdown--full .z-cd-lbl { font-size: var(--z-text-xs); opacity: .7; }
.z-countdown--full .z-countdown__done { grid-column: 1 / -1; font-size: var(--z-text-md); }

/* Home hero: black field, the event name set huge in Archivo Expanded */
.z-sale-hero { position: relative; background: var(--z-black); color: var(--z-white); overflow: hidden; isolation: isolate; }
.z-sale-hero__grid { display: grid; gap: var(--z-s-5); padding-block: var(--z-s-6) var(--z-s-6); align-items: end; }
@media (min-width: 992px) { .z-sale-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding-block: var(--z-s-8) var(--z-s-7); } }
.z-sale-hero__event { font: 600 var(--z-text-sm)/1.2 var(--z-font-body); letter-spacing: 0.08em; opacity: .75; margin: 0 0 var(--z-s-2); }
.z-sale-hero__title { font-family: var(--z-font-display); font-stretch: 125%; font-weight: 900; font-size: var(--z-text-5xl); line-height: .9; letter-spacing: -0.035em; margin: 0; color: var(--z-white); }
.z-sale-hero__sub { font: 700 var(--z-text-lg)/1.3 var(--z-font-display); font-stretch: var(--z-display-stretch); margin: var(--z-s-3) 0 0; color: var(--z-white); }
.z-sale-hero__side { display: grid; gap: var(--z-s-3); justify-items: start; }
.z-sale-hero__side .z-countdown--full { width: 100%; }
.z-sale-hero__label { margin: 0; color: rgba(255, 255, 255, 0.75); }
.z-sale-hero__note { font-size: var(--z-text-xs); opacity: .65; max-width: 40ch; }
.z-sale-hero__rule { height: 6px; background: var(--z-accent); width: 72px; }
.z-sale-hero__media { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.z-sale-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.z-sale-hero--ended .z-sale-hero__title { font-size: var(--z-text-4xl); opacity: .5; }

/* Sale landing page */
.z-sale-head { background: var(--z-black); color: var(--z-white); }
.z-sale-head__inner { padding-block: var(--z-s-5); display: grid; gap: var(--z-s-3); }
@media (min-width: 992px) { .z-sale-head__inner { grid-template-columns: 1fr auto; align-items: end; } }
.z-sale-head .z-h1, .z-sale-head .z-breadcrumbs a, .z-sale-head .z-breadcrumbs [aria-current] { color: var(--z-white); }
.z-sale-head .z-breadcrumbs { margin-bottom: var(--z-s-2); }
.z-sale-head .z-breadcrumbs, .z-sale-head .z-breadcrumbs a { color: rgba(255,255,255,.7); }

.z-listing { display: grid; gap: var(--z-s-4); padding-block: var(--z-s-4) var(--z-s-7); }
@media (min-width: 992px) { .z-listing { grid-template-columns: 260px minmax(0, 1fr); gap: var(--z-s-5); } }

.z-filters__group legend, .z-filters__title { font: 700 var(--z-text-sm)/1.3 var(--z-font-body); margin-bottom: var(--z-s-1); padding: 0; }
.z-filters legend { float: left; width: 100%; } /* keeps legend inside the padding box */
.z-filters legend + * { clear: both; }
.z-filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.z-filters .z-filters__group { padding: var(--z-s-2) 0; border-bottom: 1px solid var(--z-line); }
.z-filters .z-filters__group:first-of-type { padding-top: 0; }
.z-filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: var(--z-s-1); }
.z-filters__actions { display: flex; gap: var(--z-s-1); padding-top: var(--z-s-3); }
.z-filters__desktop { display: none; }
@media (min-width: 992px) { .z-filters__desktop { display: block; position: sticky; top: var(--z-s-3); align-self: start; } }

.z-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--z-s-2); margin-bottom: var(--z-s-3); }
.z-toolbar__count { font-size: var(--z-text-sm); color: var(--z-steel); }
.z-toolbar .z-select { width: auto; min-width: 180px; }

/* Sticky mobile filter/sort bar */
.z-mobile-bar { position: sticky; bottom: 0; z-index: 1020; display: grid; grid-template-columns: 1fr 1fr; background: var(--z-white); box-shadow: var(--z-shadow-sticky); }
.z-mobile-bar > * { min-height: 52px; border: 0; border-radius: 0; }
.z-mobile-bar > * + * { border-left: 1px solid var(--z-line); }
@media (min-width: 992px) { .z-mobile-bar { display: none; } }

.z-pagination { display: flex; justify-content: center; margin-top: var(--z-s-6); }
.z-pagination .pagination { gap: var(--z-s-0); }
.z-pagination .page-link { min-width: var(--z-tap); min-height: var(--z-tap); display: grid; place-items: center; color: var(--z-black); border: 1px solid var(--z-line); border-radius: var(--z-r-1) !important; }
.z-pagination .page-item.active .page-link { background: var(--z-black); border-color: var(--z-black); color: var(--z-white); }

/* Product-page sale strip */
.z-sale-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--z-s-2); flex-wrap: wrap; padding: var(--z-s-1) var(--z-s-2); background: var(--z-accent-wash); color: var(--z-ink); font-size: var(--z-text-sm); border-left: 3px solid var(--z-accent); margin-block: var(--z-s-2); }
.z-sale-strip strong { color: var(--z-accent); }

/* Legacy cards: let our badge sit where the old discount badge was */
.product-thumb .z-badge { position: absolute; z-index: 3; top: 10px; right: 10px; }

/* Reduced motion: keep information, drop movement */
@media (prefers-reduced-motion: reduce) {
  .z-scope *, .z-dialog, .z-toast, .z-card__media img, .z-card__quick { animation: none !important; transition: none !important; }
  .z-skeleton { animation: none; }
}

/* 9. HEADER ================================================================ */
/* Zen pages sit on white; overrides the legacy grey body. */
body { background: var(--z-white); }
:root { --z-header-h: 56px; --z-tabbar-h: 60px; }
@media (min-width: 992px) { :root { --z-header-h: 72px; } }

.z-icon { display: block; flex: none; }
.z-header { position: sticky; top: 0; z-index: 1020; background: var(--z-white); border-bottom: 1px solid transparent; transition: border-color var(--z-dur) var(--z-ease); }
.z-header.is-scrolled { border-bottom-color: var(--z-line); }
.z-header__row { height: var(--z-header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--z-s-1); }
@media (min-width: 992px) { .z-header__row { grid-template-columns: auto 1fr auto; gap: var(--z-s-4); } }
.z-header__menu-btn { justify-self: start; margin-left: -10px; }
.z-header__logo { display: block; justify-self: center; }
.z-header__logo img { height: 36px; width: auto; }
@media (min-width: 992px) { .z-header__menu-btn { display: none; } .z-header__logo { justify-self: start; } .z-header__logo img { height: 44px; } }
.z-header__actions { justify-self: end; display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.z-header__desk, .z-header__pin { display: none !important; }
@media (min-width: 992px) { .z-header__desk { display: inline-grid !important; } }
@media (min-width: 1200px) { .z-header__pin { display: inline-flex !important; } }
.z-header__pin {
  align-items: center; gap: 6px; height: var(--z-tap); padding: 0 var(--z-s-1); margin-right: var(--z-s-1);
  background: none; border: 0; cursor: pointer; color: var(--z-ink); font: 500 var(--z-text-xs)/1.2 var(--z-font-body); text-align: left;
}
.z-header__pin-k { color: var(--z-steel); }
.z-header__pin:hover [data-z-pincode-label] { text-decoration: underline; text-underline-offset: 3px; }
.z-header a.z-icon-btn { color: var(--z-black); }

.z-count-wrap { position: relative; }
.z-count {
  position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: var(--z-r-round);
  background: var(--z-black); color: var(--z-white); font: 700 10px/1 var(--z-font-body); font-variant-numeric: tabular-nums;
}
.z-count[hidden] { display: none; }

/* Desktop nav + mega menu */
.z-nav { display: none; }
@media (min-width: 992px) { .z-nav { display: block; height: 100%; } }
.z-nav__list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; gap: var(--z-s-1); }
.z-nav__item { display: flex; align-items: center; }
.z-nav__link {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 var(--z-s-1);
  font: 600 var(--z-text-sm)/1 var(--z-font-body); letter-spacing: .01em; color: var(--z-black); text-decoration: none;
}
.z-nav__link::after { content: ""; position: absolute; left: var(--z-s-1); right: var(--z-s-1); bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--z-dur) var(--z-ease); }
.z-nav__item:hover .z-nav__link::after, .z-nav__item.is-open .z-nav__link::after, .z-nav__link:focus-visible::after { transform: scaleX(1); }
.z-nav__link:hover { color: var(--z-black); text-decoration: none; }
.z-nav__link--sale, .z-nav__link--sale:hover { color: var(--z-accent); }
.z-nav__toggle { width: 20px; height: 32px; margin-left: -6px; display: grid; place-items: center; background: none; border: 0; padding: 0; color: var(--z-steel); cursor: pointer; }
.z-nav__item.is-open .z-nav__toggle svg { transform: rotate(180deg); }

.z-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 10;
  background: var(--z-white); border-top: 1px solid var(--z-line); box-shadow: 0 24px 40px rgba(0,0,0,.08);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity var(--z-dur-fast) var(--z-ease), transform var(--z-dur-fast) var(--z-ease), visibility 0s linear var(--z-dur-fast);
}
@media (hover: hover) { .z-nav__item.has-panel:hover .z-mega { transition-delay: 120ms; } }
@media (hover: hover) and (min-width: 992px) { .z-nav__item.has-panel:hover .z-mega { visibility: visible; opacity: 1; transform: none; } }
.z-nav__item.is-open .z-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.z-nav__item.is-closed .z-mega { visibility: hidden !important; opacity: 0 !important; }
.z-mega__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--z-s-5); padding-block: var(--z-s-4) var(--z-s-5); }
.z-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--z-s-3) var(--z-s-4); align-content: start; }
.z-mega__title { display: block; margin: 0 0 var(--z-s-1); font: 700 var(--z-text-sm)/1.3 var(--z-font-body); color: var(--z-black); text-decoration: none; }
a.z-mega__title:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--z-black); }
.z-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.z-mega__col li a { display: inline-block; padding: 4px 0; font-size: var(--z-text-sm); color: var(--z-graphite); text-decoration: none; }
.z-mega__col li a:hover { color: var(--z-black); text-decoration: underline; text-underline-offset: 3px; }
.z-mega__all { font: 600 var(--z-text-sm)/1.3 var(--z-font-body); color: var(--z-black); text-decoration: underline; text-underline-offset: 4px; }
.z-mega__feature { position: relative; display: block; width: 200px; aspect-ratio: 4 / 5; background: var(--z-chalk); overflow: hidden; color: var(--z-white); text-decoration: none; }
.z-mega__feature img { width: 100%; height: 100%; object-fit: cover; }
.z-mega__feature span { position: absolute; left: var(--z-s-2); bottom: var(--z-s-2); font: 700 var(--z-text-md)/1.2 var(--z-font-display); font-stretch: var(--z-display-stretch); text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* Mobile slide-in menu */
.z-menu .z-dialog__body { padding: 0; }
.z-menu__list, .z-menu__secondary, .z-menu__group ul { list-style: none; margin: 0; padding: 0; }
.z-menu__list > li { border-bottom: 1px solid var(--z-line); }
.z-menu__link, .z-menu__group > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 var(--z-s-3);
  font: 700 var(--z-text-lg)/1.2 var(--z-font-display); font-stretch: var(--z-display-stretch); color: var(--z-black); text-decoration: none; cursor: pointer; list-style: none;
}
.z-menu__group > summary::-webkit-details-marker { display: none; }
.z-menu__group > summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor 0 0) center/12px 1.5px no-repeat, linear-gradient(currentColor 0 0) center/1.5px 12px no-repeat; transition: transform var(--z-dur) var(--z-ease); }
.z-menu__group[open] > summary::after { transform: rotate(45deg); }
.z-menu__group ul { padding: 0 var(--z-s-3) var(--z-s-2); }
.z-menu__group li a { display: block; padding: 10px 0; color: var(--z-ink); text-decoration: none; font-size: var(--z-text-md); }
.z-menu__group .z-menu__child { padding-left: var(--z-s-2); color: var(--z-graphite); font-size: var(--z-text-sm); }
.z-menu__group .z-menu__all { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.z-menu__sub { padding: var(--z-s-1) 0 2px; font-size: var(--z-text-xs); font-weight: 700; color: var(--z-steel); }
.z-menu__secondary { padding: var(--z-s-2) var(--z-s-3) var(--z-s-4); }
.z-menu__secondary a, .z-menu__secondary button {
  display: flex; align-items: center; gap: var(--z-s-2); width: 100%; min-height: var(--z-tap);
  background: none; border: 0; padding: 0; color: var(--z-ink); text-decoration: none; font: 500 var(--z-text-sm)/1.2 var(--z-font-body); text-align: left; cursor: pointer;
}

/* Search (top sheet) */
.z-search { margin: 0 0 auto; width: 100%; max-width: none; max-height: 100dvh; }
.z-search[open] { animation: z-drop var(--z-dur) var(--z-ease); }
@keyframes z-drop { from { transform: translateY(-16px); opacity: 0; } }
.z-search__inner { padding-block: var(--z-s-2) var(--z-s-4); max-width: 880px; }
.z-search__form { display: flex; align-items: center; gap: var(--z-s-1); border-bottom: 2px solid var(--z-black); }
.z-search__input { flex: 1; min-width: 0; height: 60px; border: 0; background: transparent; outline: none; font: 500 var(--z-text-lg)/1 var(--z-font-body); color: var(--z-black); }
.z-search__input::-webkit-search-cancel-button { display: none; }
.z-search__input:focus-visible { outline: none; box-shadow: none; }
.z-search__results { padding-top: var(--z-s-3); max-height: calc(100dvh - 120px); overflow: auto; }
.z-search__label { font-size: var(--z-text-xs); font-weight: 600; color: var(--z-steel); margin: 0 0 var(--z-s-1); }
.z-search__results .z-chip { text-decoration: none; padding: 0 var(--z-s-2); font-size: var(--z-text-sm); font-weight: 500; }
.z-search__list { list-style: none; margin: 0 0 var(--z-s-3); padding: 0; display: grid; gap: 2px; }
@media (min-width: 768px) { .z-search__list { grid-template-columns: 1fr 1fr; gap: var(--z-s-1) var(--z-s-3); } }
.z-search__hit { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: var(--z-s-2); align-items: center; padding: var(--z-s-1); color: var(--z-ink); text-decoration: none; }
.z-search__hit:hover, .z-search__hit:focus-visible { background: var(--z-chalk); color: var(--z-ink); text-decoration: none; }
.z-search__hit img { grid-row: span 2; width: 56px; height: 70px; object-fit: cover; background: var(--z-chalk); }
.z-search__name { font-size: var(--z-text-sm); font-weight: 500; align-self: end; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.z-search__hit .z-price { align-self: start; }
.z-search__hit .z-price__now { font-size: var(--z-text-sm); }
.z-search__none p { margin: 0 0 var(--z-s-1); }
.z-search.is-loading .z-search__form { border-bottom-color: var(--z-concrete); }

/* Cart drawer */
.z-cart-drawer .z-dialog__body { padding: 0; display: flex; flex-direction: column; }
.z-cart, .z-cart__inner { display: flex; flex-direction: column; flex: 1; min-height: 100%; }
.z-ship { padding: var(--z-s-2) var(--z-s-3); background: var(--z-chalk); }
.z-ship__msg { margin: 0 0 var(--z-s-1); font-size: var(--z-text-sm); }
.z-ship__track { height: 4px; background: var(--z-line); }
.z-ship__track span { display: block; height: 100%; background: var(--z-black); transition: width var(--z-dur) var(--z-ease); }
.z-cart__list { list-style: none; margin: 0; padding: 0 var(--z-s-3); flex: 1; }
.z-cart__line { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--z-s-2); padding: var(--z-s-2) 0; border-bottom: 1px solid var(--z-line); }
.z-cart__thumb img { width: 72px; height: 90px; object-fit: cover; background: var(--z-chalk); }
.z-cart__info { display: grid; align-content: start; gap: 2px; min-width: 0; }
.z-cart__name { font-size: var(--z-text-sm); font-weight: 600; color: var(--z-ink); text-decoration: none; line-height: 1.35; }
.z-cart__name:hover { text-decoration: underline; color: var(--z-ink); }
.z-cart__opt, .z-cart__qty { font-size: var(--z-text-xs); color: var(--z-steel); }
.z-cart__end { display: grid; justify-items: end; align-content: space-between; }
.z-cart__total { font-weight: 700; font-size: var(--z-text-sm); font-variant-numeric: tabular-nums; }
.z-cart__remove { font-size: var(--z-text-xs); color: var(--z-steel); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: end; }
.z-cart__remove:hover { color: var(--z-accent); }
.z-cart__foot { position: sticky; bottom: 0; padding: var(--z-s-2) var(--z-s-3) var(--z-s-3); background: var(--z-white); border-top: 1px solid var(--z-line); display: grid; gap: var(--z-s-1); }
.z-cart__sum { display: flex; justify-content: space-between; font-size: var(--z-text-md); font-variant-numeric: tabular-nums; }
.z-cart__foot .z-hint { margin: 0 0 var(--z-s-1); }
.z-trust-mini { list-style: none; margin: var(--z-s-1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px var(--z-s-2); justify-content: center; font-size: var(--z-text-xs); color: var(--z-steel); }
.z-cart__empty { padding-inline: var(--z-s-3); display: grid; justify-items: center; align-content: center; flex: 1; }

/* Pincode */
.z-pincode__result { padding: var(--z-s-2); background: var(--z-chalk); }
.z-pincode__result ul { list-style: none; margin: var(--z-s-1) 0; padding: 0; display: grid; gap: var(--z-s-1); font-size: var(--z-text-sm); }
.z-pincode__result li { display: flex; gap: var(--z-s-1); align-items: flex-start; }
.z-pincode__result p { margin: 0; }
#z-pincode { max-width: 420px; }

/* Mobile tab bar */
.z-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--z-tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97); border-top: 1px solid var(--z-line);
}
.z-tabbar > a, .z-tabbar > button {
  display: grid; justify-items: center; align-content: center; gap: 3px; background: none; border: 0; padding: 0;
  color: var(--z-steel); text-decoration: none; font: 600 10px/1 var(--z-font-body); cursor: pointer;
}
.z-tabbar [aria-current="page"] { color: var(--z-black); }
.z-tabbar .is-sale { color: var(--z-accent); }
.z-tabbar .z-count { top: 4px; right: calc(50% - 20px); }
body:has(.z-tabbar) { padding-bottom: calc(var(--z-tabbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { .z-tabbar { display: none; } body:has(.z-tabbar) { padding-bottom: 0; } }
/* Keep toasts above the tab bar on mobile */
@media (max-width: 767.98px) { body:has(.z-tabbar) .z-toasts { bottom: calc(var(--z-tabbar-h) + var(--z-s-2)); } }

/* 10. FOOTER =============================================================== */
.z-footer { background: var(--z-chalk); color: var(--z-ink); margin-top: var(--z-s-6); }
.z-footer a { color: var(--z-ink); text-decoration: none; }
.z-footer a:hover { color: var(--z-black); text-decoration: underline; text-underline-offset: 3px; }
.z-footer__news { display: grid; gap: var(--z-s-2); padding-block: var(--z-s-5); border-bottom: 1px solid var(--z-line); }
@media (min-width: 992px) { .z-footer__news { grid-template-columns: 1fr minmax(360px, 480px); align-items: center; gap: var(--z-s-5); } }
.z-footer__news p { margin: var(--z-s-0) 0 0; font-size: var(--z-text-sm); }
.z-footer__news-form { display: flex; gap: var(--z-s-1); }
.z-footer__news-form .z-input { flex: 1; min-width: 0; }
.z-footer__grid { display: grid; gap: var(--z-s-4) var(--z-s-3); padding-block: var(--z-s-5); grid-template-columns: 1fr 1fr; }
@media (min-width: 992px) { .z-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.z-footer__brand { grid-column: 1 / -1; }
@media (min-width: 992px) { .z-footer__brand { grid-column: auto; } }
.z-footer__logo img { height: 44px; width: auto; }
.z-footer__brand p { margin: var(--z-s-2) 0; font-size: var(--z-text-sm); color: var(--z-graphite); }
.z-footer__social { display: flex; gap: 2px; list-style: none; margin: 0 0 0 -10px; padding: 0; }
.z-footer__title { font: 700 var(--z-text-sm)/1.3 var(--z-font-body); margin: 0 0 var(--z-s-2); color: var(--z-black); }
.z-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.z-footer__col li { font-size: var(--z-text-sm); margin: 0; }
.z-footer__contact p { font-size: var(--z-text-sm); margin: 0 0 var(--z-s-1); }
.z-footer__col li a { display: inline-block; padding-block: 2px; }
.z-footer__contact { font-style: normal; grid-column: 1 / -1; }
@media (min-width: 992px) { .z-footer__contact { grid-column: auto; } }
.z-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--z-s-2); padding-block: var(--z-s-3); border-top: 1px solid var(--z-line); }
.z-footer__copy { margin: 0; font-size: var(--z-text-xs); color: var(--z-steel); }
.z-footer__pay { display: flex; flex-wrap: wrap; gap: var(--z-s-0); list-style: none; margin: 0; padding: 0; }
.z-footer__pay li { padding: 4px 8px; font: 600 var(--z-text-xs)/1 var(--z-font-body); color: var(--z-graphite); background: var(--z-white); border: 1px solid var(--z-line); border-radius: var(--z-r-1); }
.z-footer__currency .z-select { min-height: 36px; font-size: var(--z-text-sm); width: auto; }

@media (prefers-reduced-motion: reduce) {
  .z-mega, .z-nav__link::after, .z-search[open], .z-ship__track span { transition: none !important; animation: none !important; }
}

/* 11. HOME ================================================================= */
.z-sale-hero__event { color: var(--z-white); }
h1.z-sale-hero__event { font: 600 var(--z-text-sm)/1.2 var(--z-font-body); letter-spacing: 0.08em; }

/* Default hero: full-bleed photo, type bottom-left */
.z-hero { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--z-black); color: var(--z-white); overflow: hidden; }
.z-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.z-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.z-hero__inner { padding-block: var(--z-s-6); display: grid; gap: var(--z-s-3); justify-items: start; }
.z-hero__title { margin: 0; max-width: 14ch; font-family: var(--z-font-display); font-stretch: 125%; font-weight: 900; font-size: var(--z-text-5xl); line-height: .92; letter-spacing: -0.03em; color: inherit; text-wrap: balance; }
.z-hero__sub { margin: 0; max-width: 46ch; font-size: var(--z-text-lg); opacity: .9; }
.z-hero--type { min-height: auto; background: var(--z-white); color: var(--z-black); }
.z-hero--type::after { display: none; }
.z-hero--type .z-hero__inner { padding-block: var(--z-s-7); }

/* Trust strip */
.z-trust { border-bottom: 1px solid var(--z-line); background: var(--z-white); }
.z-trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--z-s-2); padding-block: var(--z-s-2); }
@media (min-width: 992px) { .z-trust__list { grid-template-columns: repeat(4, 1fr); padding-block: var(--z-s-3); } }
.z-trust__list li { display: flex; align-items: center; gap: var(--z-s-1); font-size: var(--z-text-sm); font-weight: 500; color: var(--z-ink); }

/* Category tiles */
.z-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--z-s-1); grid-template-columns: repeat(2, 1fr); }
.z-tiles--1 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .z-tiles--3 { grid-template-columns: repeat(3, 1fr); } .z-tiles--4 { grid-template-columns: repeat(4, 1fr); } .z-tiles { gap: var(--z-s-2); } }
.z-tiles--3 > li:first-child:nth-last-child(3) { grid-column: 1 / -1; }
@media (min-width: 768px) { .z-tiles--3 > li:first-child:nth-last-child(3) { grid-column: auto; } }
.z-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--z-chalk); color: var(--z-white); text-decoration: none; }
.z-tiles--3 > li:first-child:nth-last-child(3) .z-tile { aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .z-tiles--3 > li:first-child:nth-last-child(3) .z-tile { aspect-ratio: 4 / 5; } }
.z-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--z-ease); }
.z-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); }
@media (hover: hover) { .z-tile:hover img { transform: scale(1.03); } }
.z-tile__label { position: absolute; z-index: 1; left: var(--z-s-2); bottom: var(--z-s-2); font: 800 var(--z-text-2xl)/1 var(--z-font-display); font-stretch: var(--z-display-stretch); letter-spacing: -0.01em; }
.z-tile:hover { color: var(--z-white); text-decoration: none; }
.z-tile--type { color: var(--z-black); }
.z-tile--type::after { display: none; }
.z-tile--type:hover { color: var(--z-black); background: var(--z-line); }

/* Workout tiles: type only unless a photo is configured */
.z-workouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--z-s-1); }
@media (min-width: 768px) { .z-workouts { grid-template-columns: repeat(4, 1fr); gap: var(--z-s-2); } }
.z-workout { position: relative; display: flex; align-items: flex-end; height: clamp(96px, 18vw, 180px); padding: var(--z-s-2); overflow: hidden; background: var(--z-chalk); color: var(--z-black); text-decoration: none; }
.z-workout span { position: relative; z-index: 1; font: 900 clamp(1.5rem, 1rem + 2.4vw, 2.75rem)/0.9 var(--z-font-display); font-stretch: 125%; letter-spacing: -0.03em; }
.z-workout:hover { background: var(--z-black); color: var(--z-white); text-decoration: none; }
.z-workout.has-img { color: var(--z-white); }
.z-workout.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.z-workout.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }

/* Product rail: swipe on mobile, grid on desktop */
.z-rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: var(--z-s-2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--z-gutter); margin-inline: calc(var(--z-gutter) * -1); padding: 0 var(--z-gutter) var(--z-s-1); list-style: none; scrollbar-width: none; }
.z-rail::-webkit-scrollbar { display: none; }
.z-rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .z-rail { grid-auto-columns: 42%; } }
@media (min-width: 992px) { .z-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: var(--z-s-5) var(--z-s-3); } }
.z-rail:focus-visible { outline-offset: 6px; }

/* Shop the look */
.z-look { display: grid; gap: var(--z-s-4); align-items: start; }
@media (min-width: 992px) { .z-look { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--z-s-6); align-items: center; } }
.z-look__media { margin: 0; aspect-ratio: 4 / 5; background: var(--z-chalk); overflow: hidden; }
.z-look__media img { width: 100%; height: 100%; object-fit: cover; }
.z-look__body .z-lead { margin: var(--z-s-1) 0 var(--z-s-4); }
.z-look__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--z-s-4) var(--z-s-2); }

/* Reviews */
.z-reviews { background: var(--z-chalk); }
.z-reviews__agg { display: flex; align-items: center; gap: var(--z-s-1); margin: var(--z-s-1) 0 0; font-size: var(--z-text-sm); color: var(--z-graphite); }
.z-rail--reviews { grid-auto-columns: 82%; }
@media (min-width: 576px) { .z-rail--reviews { grid-auto-columns: 46%; } }
@media (min-width: 992px) { .z-rail--reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-s-3); } }
.z-review { display: flex; flex-direction: column; gap: var(--z-s-1); padding: var(--z-s-3); background: var(--z-white); }
.z-review__subject { margin: 0; font-weight: 700; }
.z-review__text { margin: 0; font-size: var(--z-text-md); line-height: var(--z-leading-body); color: var(--z-graphite); flex: 1; }
.z-review__by { margin: 0; font-size: var(--z-text-sm); font-weight: 600; }
.z-review__by a { color: var(--z-ink); }

/* Instagram grid */
.z-ig { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 992px) { .z-ig { grid-template-columns: repeat(6, 1fr); } }
.z-ig a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--z-chalk); }
.z-ig img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--z-dur) var(--z-ease); }
.z-ig a:hover img { opacity: .85; }
.z-ig__video { position: absolute; top: var(--z-s-1); left: var(--z-s-1); }
.z-home .z-section-head .z-btn { flex: none; }

@media (prefers-reduced-motion: reduce) { .z-tile img { transition: none; } }

/* 12. LISTING ============================================================== */
.z-listing-head { padding-top: var(--z-s-3); display: grid; gap: var(--z-s-2); }
.z-listing-head .z-h1 { font-size: var(--z-text-3xl); }
@media (min-width: 992px) { .z-listing-head .z-h1 { font-size: var(--z-text-4xl); } }
.z-subnav ul { list-style: none; margin: 0; padding: 0 0 2px; display: flex; gap: var(--z-s-1); overflow-x: auto; scrollbar-width: none; }
.z-subnav ul::-webkit-scrollbar { display: none; }
.z-subnav .z-chip { white-space: nowrap; text-decoration: none; padding: 0 var(--z-s-2); font-size: var(--z-text-sm); font-weight: 500; }
.z-subnav .z-chip[aria-current="page"] { background: var(--z-black); border-color: var(--z-black); color: var(--z-white); }
[data-z-listing].is-loading #z-results { opacity: .45; transition: opacity var(--z-dur-fast) var(--z-ease); pointer-events: none; }
.z-toolbar__count:focus { outline: none; }
.z-active-filters { list-style: none; margin: 0 0 var(--z-s-3); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--z-s-1); }
.z-chip--remove { gap: 6px; padding: 0 var(--z-s-1) 0 var(--z-s-2); text-decoration: none; background: var(--z-chalk); border-color: var(--z-chalk); font-size: var(--z-text-sm); font-weight: 500; }
.z-chip--remove:hover { border-color: var(--z-black); color: var(--z-black); text-decoration: none; }
.z-filters__bands { margin-top: var(--z-s-1); }
.z-filters__bands .z-chip { text-decoration: none; font-weight: 500; }
.z-pagination__meta { text-align: center; font-size: var(--z-text-xs); color: var(--z-steel); margin-top: var(--z-s-1); }
.z-pagination .page-item.disabled .page-link { color: var(--z-concrete); background: transparent; }
.z-pagination .page-link:hover { background: var(--z-chalk); color: var(--z-black); }

/* Quick view button on cards (pointer devices; keyboard reaches it via Tab) */
.z-card__qv {
  position: absolute; z-index: 3; top: auto; left: 50%; bottom: var(--z-s-1); transform: translate(-50%, 8px);
  min-height: 36px; padding: 0 var(--z-s-2); border: 0; border-radius: var(--z-r-1);
  background: var(--z-white); color: var(--z-black); font: 600 var(--z-text-xs)/1 var(--z-font-body); cursor: pointer;
  opacity: 0; transition: opacity var(--z-dur-fast) var(--z-ease), transform var(--z-dur-fast) var(--z-ease);
}
.z-card__qv:focus-visible, .z-card:hover .z-card__qv { opacity: 1; transform: translate(-50%, 0); }
.z-card:has(.z-card__quick) .z-card__qv { bottom: auto; top: 50%; }
@media (hover: none) { .z-card__qv { display: none; } }

/* Quick view dialog */
.z-qv-dialog { max-width: min(920px, calc(100vw - 2rem)); }
.z-qv { display: grid; gap: var(--z-s-3); }
@media (min-width: 768px) { .z-qv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-s-4); } }
.z-qv__main { aspect-ratio: 4 / 5; background: var(--z-chalk); overflow: hidden; }
.z-qv__main img { width: 100%; height: 100%; object-fit: cover; }
.z-qv__thumbs { display: flex; gap: var(--z-s-1); margin-top: var(--z-s-1); }
.z-qv__thumbs button { padding: 0; border: 1.5px solid transparent; background: none; cursor: pointer; width: 64px; }
.z-qv__thumbs button[aria-pressed="true"] { border-color: var(--z-black); }
.z-qv__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.z-qv__body .z-card__cat { margin: 0; }
.z-chip--lg { min-width: 48px; min-height: var(--z-tap); font-size: var(--z-text-sm); }
.z-stock-low { margin: var(--z-s-1) 0 0; font-size: var(--z-text-sm); font-weight: 600; color: var(--z-accent); }
/* Sticky filter/sort bar sits above the mobile tab bar */
body:has(.z-tabbar) .z-mobile-bar { bottom: calc(var(--z-tabbar-h) + env(safe-area-inset-bottom)); }

/* ==========================================================================
   13. CHALK & IRON (v2 art direction)
   Poster-grade condensed display type, full-bleed photography, quieter UI.
   Overrides earlier sections; tokens first.
   ========================================================================== */
:root {
  --z-display-stretch: 75%;                       /* Archivo condensed */
  --z-r-1: 0;                                     /* square controls: athletic, precise */
  --z-text-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --z-text-3xl: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --z-text-4xl: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);
  --z-text-5xl: clamp(3.75rem, 1rem + 11vw, 11rem);
  --z-iron: #111111;                              /* photo overlays only */
}

/* Display type: Big Shoulders 700 (one weight; no faux bold), uppercase, tight. */
.z-scope, .z-bar, .z-dialog { font-synthesis: none; }
.z-display, .z-h1, .z-h2 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: .92; }
.z-h3 { font-family: var(--z-font-body); font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.z-section { padding-block: clamp(3rem, 2rem + 4vw, 6.5rem); }
.z-section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 4rem); }
.z-section-head { margin-bottom: var(--z-s-3); }

/* Buttons: square, slightly heavier */
.z-btn { font-weight: 700; letter-spacing: .01em; }
.z-btn--lg { min-height: 56px; padding: 0 var(--z-s-5); }

/* Header nav: a touch larger and calmer */
.z-nav__link { font-size: 15px; font-weight: 600; padding: 0 12px; }
.z-header.is-scrolled { box-shadow: 0 1px 0 var(--z-line); border-bottom-color: transparent; }

/* ---- Hero diptych ---- */
.z-hero2 { position: relative; isolation: isolate; background: var(--z-black); color: var(--z-white); }
.z-hero2__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: clamp(520px, 86svh, 900px); }
.z-hero2__panel { position: relative; display: block; overflow: hidden; color: var(--z-white); text-decoration: none; }
.z-hero2__panel picture, .z-hero2__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.z-hero2__panel img { transition: transform 1.2s var(--z-ease); }
@media (hover: hover) { .z-hero2__panel:hover img { transform: scale(1.03); } }
.z-hero2__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 42%, rgba(0,0,0,0) 70%); }
.z-hero2__cta {
  position: absolute; z-index: 2; top: var(--z-s-2); left: var(--z-s-2);
  font: 700 var(--z-text-sm)/1 var(--z-font-body); letter-spacing: .02em;
  padding: 10px 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.z-hero2__panel:hover .z-hero2__cta { background: var(--z-white); color: var(--z-black); }
@media (min-width: 992px) { .z-hero2__cta { top: auto; left: auto; right: var(--z-s-3); bottom: var(--z-s-3); } }
.z-hero2__copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); pointer-events: none; }
.z-hero2__copy a, .z-hero2__copy button { pointer-events: auto; }
.z-hero2__event { margin: 0 0 var(--z-s-1); font: 700 var(--z-text-sm)/1.2 var(--z-font-body); letter-spacing: .14em; color: var(--z-white); }
.z-hero2__title {
  margin: 0; color: var(--z-white); max-width: 11ch;
  font-family: var(--z-font-display); font-stretch: 75%; font-weight: 900; text-transform: uppercase;
  font-size: var(--z-text-5xl); line-height: .84; letter-spacing: -0.01em; text-wrap: balance;
}
h1.z-hero2__title { max-width: 12ch; }
.z-hero2__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--z-s-3); margin-top: var(--z-s-3); }
.z-hero2__actions { display: grid; gap: var(--z-s-1); justify-items: start; }
@media (min-width: 992px) { .z-hero2__actions { justify-items: end; text-align: right; } }
.z-hero2__label { margin: 0; font-size: var(--z-text-sm); color: rgba(255,255,255,.82); }
.z-countdown--glass { max-width: 380px; gap: 6px; }
.z-countdown--glass .z-cd-unit { border: 0; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px 6px; }
.z-countdown--glass .z-cd-num { font-stretch: 75%; font-size: clamp(1.75rem, 1rem + 2.6vw, 2.75rem); }
@media (max-width: 767.98px) {
  .z-hero2__panels { height: auto; grid-template-rows: auto; }
  .z-hero2__panel { aspect-ratio: 3 / 4.6; }
  .z-hero2__copy { position: relative; background: var(--z-black); padding-top: var(--z-s-3); }
  .z-hero2__panel::after { background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 40%); }
  .z-hero2__row { flex-direction: column; align-items: stretch; }
  .z-hero2__actions .z-btn { width: 100%; }
  .z-countdown--glass { max-width: none; }
}

/* ---- Ticker ---- */
.z-ticker { background: var(--z-accent); color: var(--z-white); overflow: hidden; height: 48px; display: flex; align-items: center; }
.z-ticker__track { display: flex; width: max-content; animation: z-ticker 38s linear infinite; }
.z-ticker:hover .z-ticker__track { animation-play-state: paused; }
.z-ticker__set { display: flex; align-items: center; gap: var(--z-s-3); list-style: none; margin: 0; padding: 0 var(--z-s-3) 0 0; }
.z-ticker__set li { font: 800 var(--z-text-lg)/1 var(--z-font-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.z-ticker__mark { opacity: .7; display: flex; }
@keyframes z-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .z-ticker__track { animation: none; } .z-ticker { justify-content: flex-start; } }

/* ---- Categories: full-bleed ---- */
.z-cats { padding-bottom: 0; }
.z-cats .z-h2 { margin-bottom: var(--z-s-3); }
.z-cats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .z-cats__list--3 { grid-template-columns: repeat(3, 1fr); } .z-cats__list--4 { grid-template-columns: repeat(4, 1fr); } }
.z-cats__list--3 > li:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .z-cats__list--3 > li:first-child { grid-column: auto; } }
.z-cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--z-chalk); color: var(--z-white); text-decoration: none; }
.z-cats__list--3 > li:first-child .z-cat { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .z-cats__list--3 > li:first-child .z-cat { aspect-ratio: 3 / 4; } }
.z-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--z-ease); }
.z-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 50%); }
@media (hover: hover) { .z-cat:hover img { transform: scale(1.04); } }
.z-cat__label { position: absolute; z-index: 1; left: var(--z-s-3); bottom: calc(var(--z-s-3) + 28px); font: 900 var(--z-text-3xl)/.9 var(--z-font-display); font-stretch: 75%; text-transform: uppercase; }
.z-cat__cta { position: absolute; z-index: 1; left: var(--z-s-3); bottom: var(--z-s-3); font: 600 var(--z-text-sm)/1 var(--z-font-body); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.z-cat:hover { color: var(--z-white); text-decoration: none; }
.z-cat--type { color: var(--z-black); } .z-cat--type::after { display: none; }
.z-cat--type:hover { color: var(--z-black); background: var(--z-line); }

/* ---- Product tabs ---- */
.z-tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--z-s-2); margin-bottom: var(--z-s-4); border-bottom: 1px solid var(--z-line); }
.z-tabs__list { display: flex; gap: var(--z-s-4); overflow-x: auto; scrollbar-width: none; }
.z-tabs__tab {
  position: relative; padding: 0 0 var(--z-s-2); border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 800 var(--z-text-3xl)/.92 var(--z-font-display); font-stretch: 75%; text-transform: uppercase; color: var(--z-concrete);
}
.z-tabs__tab[aria-selected="true"] { color: var(--z-black); }
.z-tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--z-black); }
.z-tabs__tab:hover { color: var(--z-black); }
.z-tabs__all { flex: none; padding-bottom: var(--z-s-2); font-weight: 600; font-size: var(--z-text-sm); color: var(--z-black); text-decoration: underline; text-underline-offset: 4px; }
.z-products:not(.is-tabbed) .z-rail + .z-rail { margin-top: var(--z-s-5); }

/* ---- Product card v2: quieter ---- */
.z-card { gap: var(--z-s-1); }
.z-card__media { aspect-ratio: 3 / 4; background: #ECECEC; }
.z-card__cat { display: none; }
.z-card__body { gap: 4px; padding-top: 2px; }
.z-card__title { font-size: 14px; font-weight: 500; line-height: 1.4; -webkit-line-clamp: 2; }
.z-card .z-price__now { font-size: 15px; }
.z-card .z-price__mrp, .z-card .z-price__off { font-size: 13px; }
.z-card__badges { top: 10px; left: 10px; }
.z-card .z-badge { height: 20px; font-size: 10.5px; letter-spacing: .03em; }
@media (hover: hover) { .z-card__wish { opacity: 0; transition: opacity var(--z-dur-fast) var(--z-ease); } .z-card:hover .z-card__wish, .z-card__wish:focus-visible { opacity: 1; } }
.z-card__quick { background: rgba(255,255,255,.98); padding: 10px; }
.z-card__quick-label { font-size: 11px; color: var(--z-steel); }
.z-card__quick .z-chip { min-width: 36px; min-height: 32px; }
.z-grid-products, .z-rail { row-gap: var(--z-s-5); }

/* ---- Workouts as a typographic index ---- */
.z-workouts__title { margin-bottom: var(--z-s-3); }
.z-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--z-black); }
@media (min-width: 992px) { .z-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; } }
.z-index li { border-bottom: 1px solid var(--z-black); }
@media (min-width: 992px) { .z-index li { border: 1px solid var(--z-black); margin-left: -1px; } }
.z-index__link { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--z-s-2); min-height: 88px; padding: var(--z-s-2) 0; color: var(--z-black); text-decoration: none; overflow: hidden; }
@media (min-width: 992px) { .z-index__link { min-height: 220px; padding: var(--z-s-3); } }
.z-index__word { position: relative; z-index: 1; font: 900 clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem)/.85 var(--z-font-display); font-stretch: 75%; text-transform: uppercase; }
.z-index__arrow { position: relative; z-index: 1; flex: none; transition: transform var(--z-dur) var(--z-ease); }
@media (min-width: 992px) { .z-index__arrow { position: absolute; top: var(--z-s-3); right: var(--z-s-3); } }
.z-index__link::before { content: ""; position: absolute; inset: 0; background: var(--z-black); transform: translateY(101%); transition: transform var(--z-dur) var(--z-ease); }
.z-index__link:hover, .z-index__link:focus-visible { color: var(--z-white); text-decoration: none; }
.z-index__link:hover::before, .z-index__link:focus-visible::before { transform: none; }
.z-index__link:hover .z-index__arrow { transform: translate(3px, -3px); }
@media (max-width: 991.98px) { .z-index__link::before { display: none; } .z-index__link:hover { color: var(--z-black); } }

/* ---- Story band ---- */
.z-story { background: var(--z-black); color: var(--z-white); }
.z-story__inner { display: grid; gap: var(--z-s-4); padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }
@media (min-width: 992px) { .z-story__inner { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--z-s-6); } }
.z-story__title { margin: 0; color: var(--z-white); font: 900 var(--z-text-4xl)/.88 var(--z-font-display); font-stretch: 75%; text-transform: uppercase; text-wrap: balance; }
.z-story__points { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.z-story__points li { padding: var(--z-s-2) 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: var(--z-text-lg); }

/* ---- Shop the look v2 ---- */
.z-look2 { display: grid; gap: var(--z-s-4); }
@media (min-width: 992px) { .z-look2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-s-6); align-items: start; } }
.z-look2__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #ECECEC; }
@media (min-width: 992px) { .z-look2__media { position: sticky; top: calc(var(--z-header-h) + var(--z-s-2)); } }
.z-look2__media img { width: 100%; height: 100%; object-fit: cover; }
.z-look2__body .z-lead { margin: var(--z-s-2) 0 var(--z-s-4); }
.z-look2__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--z-line); }
.z-row { display: grid; grid-template-columns: 96px 1fr; gap: var(--z-s-2); padding: var(--z-s-2) 0; border-bottom: 1px solid var(--z-line); }
.z-row__img img { width: 96px; height: 120px; object-fit: cover; background: #ECECEC; }
.z-row__body { display: grid; gap: 8px; align-content: start; }
.z-row__name { font-weight: 600; color: var(--z-ink); text-decoration: none; line-height: 1.35; }
.z-row__name:hover { text-decoration: underline; color: var(--z-ink); }
.z-row .z-btn--ghost { justify-self: start; padding: 0; }

/* Trust strip: bigger, calmer */
.z-trust__list li { font-size: var(--z-text-sm); gap: 12px; }
.z-trust__list .z-icon { width: 22px; height: 22px; }

/* Listing heads in the new type */
.z-listing-head .z-h1 { font-size: var(--z-text-4xl); }
.z-sale-hero__title { font-stretch: 75%; text-transform: uppercase; line-height: .84; }

@media (prefers-reduced-motion: reduce) { .z-hero2__panel img, .z-cat img, .z-index__link::before { transition: none !important; } }

/* v2.1: Big Shoulders sizing + hero composition fixes */
:root {
  --z-text-3xl: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --z-text-4xl: clamp(3rem, 1.6rem + 6vw, 6.5rem);
  --z-text-5xl: clamp(4.25rem, 1.6rem + 10vw, 10.5rem);
}
.z-display, .z-h1, .z-h2, .z-tabs__tab, .z-hero2__title, .z-story__title, .z-cat__label, .z-index__word, .z-ticker__set li, .z-sale-hero__title, .z-hero__title, .z-tile__label, .z-workout span { font-weight: 700; letter-spacing: 0; }
.z-hero2__title { font-size: clamp(4.5rem, 2rem + 8.5vw, 10rem); line-height: .8; max-width: none; }
.z-hero2__copy { padding-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.z-hero2__panel::after { background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 34%, rgba(0,0,0,0) 58%); }
@media (min-width: 992px) { .z-hero2__cta { top: var(--z-s-3); right: var(--z-s-3); bottom: auto; left: auto; } }
.z-countdown--glass .z-cd-num { font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.8vw, 3rem); }
.z-ticker__set li { font-size: 1.375rem; letter-spacing: .02em; }
.z-tabs__tab { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.z-index__word { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.z-cat__label { font-size: clamp(2.5rem, 1.8rem + 3vw, 4.75rem); }
.z-price__now, .z-cd-num, .z-countdown { font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
  .z-hero2__title { font-size: clamp(4rem, 2.5rem + 9vw, 6rem); }
}
@media (max-width: 767.98px) {
  .z-tabs { flex-wrap: wrap; row-gap: 0; }
  .z-tabs__list { gap: var(--z-s-3); }
  .z-tabs__tab { font-size: 2rem; }
  .z-tabs__all { display: none; }
}

/* 14. PRODUCT PAGE ========================================================= */
.z-pdp__crumbs { padding-block: var(--z-s-2); }
.z-pdp__grid { display: grid; gap: var(--z-s-4); }
@media (min-width: 992px) { .z-pdp__grid { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: var(--z-s-6); align-items: start; } }

/* Gallery: swipe on mobile, 2-column stack on desktop */
.z-gallery { position: relative; margin-inline: calc(var(--z-gutter) * -1); }
@media (min-width: 992px) { .z-gallery { margin: 0; } }
.z-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.z-gallery__track::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .z-gallery__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 4px; overflow: visible; } .z-gallery__item:first-child { grid-column: 1 / -1; } }
.z-gallery__item { position: relative; display: block; padding: 0; border: 0; background: #ECECEC; aspect-ratio: 3 / 4; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.z-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) { .z-gallery__item:first-child { aspect-ratio: 4 / 5; } }
.z-gallery__video { cursor: pointer; }
.z-gallery__video img { filter: brightness(.7); }
.z-gallery__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--z-white); color: var(--z-black); }
.z-gallery__count { position: absolute; right: calc(var(--z-gutter) + 8px); bottom: 12px; margin: 0; padding: 4px 10px; font-size: var(--z-text-xs); font-weight: 600; background: rgba(255,255,255,.9); }
@media (min-width: 992px) { .z-gallery__count { display: none; } }

/* Buy box */
.z-buy__inner { display: grid; gap: var(--z-s-2); }
@media (min-width: 992px) { .z-buy { position: sticky; top: calc(var(--z-header-h) + var(--z-s-2)); } }
.z-buy__badges { gap: 6px; }
.z-buy__badges:empty { display: none; }
.z-buy__title { margin: 0; font: 700 clamp(2rem, 1.5rem + 1.8vw, 3rem)/.95 var(--z-font-display); text-transform: uppercase; color: var(--z-black); text-wrap: balance; }
.z-buy__rating { text-decoration: none; justify-self: start; }
.z-buy__short { margin: 0; color: var(--z-graphite); }
.z-buy__form { display: grid; gap: var(--z-s-3); padding-top: var(--z-s-1); }
.z-opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.z-opt__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--z-s-1); }
.z-opt__legend { float: left; width: auto; margin: 0; padding: 0; font: 600 var(--z-text-sm)/1.3 var(--z-font-body); }
.z-opt__value { font-weight: 400; color: var(--z-steel); }
.z-opt__head + * { clear: both; }
.z-opt__choice { margin: 0; cursor: pointer; }
.z-opt .z-chips { gap: 8px; }
.z-opt .z-chip--lg { min-width: 56px; min-height: 48px; font-size: var(--z-text-sm); }
.z-opt input:checked + .z-chip { background: var(--z-black); border-color: var(--z-black); color: var(--z-white); }
.z-opt input:focus-visible + .z-chip, .z-opt input:focus-visible + .z-swatch-lg { outline: 2px solid var(--z-black); outline-offset: 3px; }
.z-chip.is-sold { color: var(--z-concrete); background: linear-gradient(to top left, transparent calc(50% - .75px), var(--z-line) 50%, transparent calc(50% + .75px)); }
.z-opt input:checked + .z-chip.is-sold { background: var(--z-chalk); color: var(--z-ink); border-color: var(--z-black); }
.z-swatch-set { display: flex; flex-wrap: wrap; gap: 10px; }
.z-swatch-lg { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; }
.z-opt input:checked + .z-swatch-lg { box-shadow: 0 0 0 2px var(--z-white), 0 0 0 3.5px var(--z-black); }
.z-swatch-lg.is-sold::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1.5px; background: var(--z-white); transform: rotate(45deg); box-shadow: 0 0 0 .5px rgba(0,0,0,.3); }
.z-buy__actions { display: grid; grid-template-columns: auto 1fr auto; gap: var(--z-s-1); align-items: stretch; }
.z-buy__actions[hidden] { display: none; }
.z-buy__add { min-height: 56px; }
.z-buy__wish { width: 56px; height: 56px; border: 1.5px solid var(--z-line); border-radius: 0; }
.z-buy__wish:hover { border-color: var(--z-black); background: transparent; }
.z-buy__now { margin-top: calc(var(--z-s-1) * -1); }
.z-buy__now[hidden] { display: none; }
.z-qty { display: inline-grid; grid-template-columns: 40px 44px 40px; border: 1.5px solid var(--z-line); height: 56px; }
.z-qty button { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--z-black); }
.z-qty input { border: 0; text-align: center; font: 600 var(--z-text-md)/1 var(--z-font-body); -moz-appearance: textfield; width: 100%; }
.z-qty input::-webkit-outer-spin-button, .z-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.z-notify { padding: var(--z-s-2); background: var(--z-chalk); display: grid; gap: var(--z-s-1); }
.z-notify[hidden] { display: none; }
.z-notify p { margin: 0; }
.z-notify__fields { display: grid; gap: var(--z-s-1); }
@media (min-width: 576px) { .z-notify__fields { grid-template-columns: 1fr 1fr; } }
.z-deliver { border-top: 1px solid var(--z-line); padding-top: var(--z-s-2); display: grid; gap: var(--z-s-1); }
.z-deliver__title { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; font-size: var(--z-text-sm); }
.z-deliver__row { display: grid; grid-template-columns: 1fr auto; gap: var(--z-s-1); }
.z-deliver__result { font-size: var(--z-text-sm); background: var(--z-chalk); padding: var(--z-s-1) var(--z-s-2); }
.z-deliver__result p { margin: 0; }
.z-buy__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--z-s-1) var(--z-s-3); font-size: var(--z-text-sm); color: var(--z-graphite); }
.z-buy__trust li { display: flex; align-items: center; gap: 6px; }
.z-buy__acc { margin-top: var(--z-s-1); }
.z-prose { font-size: var(--z-text-sm); line-height: 1.65; }
.z-prose img { max-width: 100%; height: auto; }
.z-prose table { width: 100%; border-collapse: collapse; }
.z-prose td, .z-prose th { border: 1px solid var(--z-line); padding: 6px 8px; }
.z-spec { width: 100%; border-collapse: collapse; font-size: var(--z-text-sm); }
.z-spec th, .z-spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--z-line); vertical-align: top; }
.z-spec th { width: 40%; font-weight: 600; color: var(--z-ink); padding-right: var(--z-s-2); }
.z-list { margin: 0 0 var(--z-s-1); padding-left: 1.1em; display: grid; gap: 6px; font-size: var(--z-text-sm); }

/* Reviews on product page */
.z-rv { display: grid; gap: var(--z-s-4); }
@media (min-width: 992px) { .z-rv { grid-template-columns: 340px 1fr; gap: var(--z-s-6); align-items: start; } }
.z-rv__summary { display: grid; gap: var(--z-s-2); align-content: start; justify-items: start; }
.z-rv__avg { display: flex; align-items: center; gap: var(--z-s-2); margin: 0; }
.z-rv__avg > span { font: 700 4.5rem/.9 var(--z-font-display); }
.z-rv__dist { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; font-size: var(--z-text-xs); }
.z-rv__dist li { display: grid; grid-template-columns: 28px 1fr 24px; gap: 8px; align-items: center; }
.z-rv__bar { height: 6px; background: var(--z-line); }
.z-rv__bar span { display: block; height: 100%; background: var(--z-black); }
.z-fit { width: 100%; }
.z-fit .z-label { margin: 0 0 6px; }
.z-fit__scale { display: flex; gap: 2px; font-size: 11px; }
.z-fit__scale span { flex: 1 1 0; padding: 6px 4px; text-align: center; background: var(--z-line); color: var(--z-steel); white-space: nowrap; }
.z-fit__scale span.is-top { background: var(--z-black); color: var(--z-white); }
.z-rv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--z-s-2); }
.z-rv__item { background: var(--z-white); padding: var(--z-s-3); display: grid; gap: var(--z-s-1); }
.z-rv__meta { display: flex; align-items: center; gap: var(--z-s-1); }
.z-rate-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.z-rate-input legend { width: 100%; }
.z-rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.z-rate-input label { font-size: 32px; line-height: 1; color: var(--z-line); cursor: pointer; }
.z-rate-input input:checked ~ label, .z-rate-input label:hover, .z-rate-input label:hover ~ label { color: var(--z-black); }
.z-rate-input input:focus-visible + label { outline: 2px solid var(--z-black); outline-offset: 2px; }
.z-textarea { min-height: 120px; padding: var(--z-s-1) var(--z-s-2); resize: vertical; }
.z-pdp-faq .z-h2 { margin-bottom: var(--z-s-3); }
@media (min-width: 992px) { .z-pdp-faq { display: grid; grid-template-columns: 340px 1fr; gap: var(--z-s-6); } }

/* Sticky add-to-cart (mobile) */
.z-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; display: grid; grid-template-columns: 1fr auto; gap: var(--z-s-2); align-items: center;
  padding: 10px var(--z-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--z-white); box-shadow: var(--z-shadow-sticky);
  transform: translateY(110%); transition: transform var(--z-dur) var(--z-ease); }
.z-sticky-buy.is-on { transform: none; }
.z-sticky-buy__info { display: grid; min-width: 0; }
.z-sticky-buy__name { font-size: var(--z-text-xs); color: var(--z-steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.z-sticky-buy__price { font-weight: 700; }
@media (min-width: 992px) { .z-sticky-buy { display: none; } }

/* Lightbox */
.z-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--z-white); }
.z-lightbox::backdrop { background: var(--z-white); }
.z-lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.z-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform 250ms var(--z-ease); touch-action: pinch-zoom; }
.z-lightbox.is-zoomed .z-lightbox__stage img { transform: scale(2.2); cursor: zoom-out; }
.z-lightbox__stage iframe { width: min(1100px, 94vw); aspect-ratio: 16 / 9; border: 0; }
.z-lightbox__close { position: absolute; top: var(--z-s-2); right: var(--z-s-2); z-index: 2; background: var(--z-white); }
.z-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: var(--z-white); }
.z-lightbox__prev { left: var(--z-s-2); } .z-lightbox__next { right: var(--z-s-2); }
.z-lightbox__hint { position: absolute; bottom: var(--z-s-2); left: 0; right: 0; text-align: center; margin: 0; font-size: var(--z-text-xs); color: var(--z-steel); }

/* Size guide table */
.z-table-wrap { overflow-x: auto; }
.z-size-table { width: 100%; border-collapse: collapse; font-size: var(--z-text-sm); font-variant-numeric: tabular-nums; }
.z-size-table th, .z-size-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--z-line); }
.z-size-table thead th { font-weight: 700; background: var(--z-chalk); }
.z-size-table tbody th { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .z-sticky-buy, .z-lightbox__stage img { transition: none; } }
body:has(.z-sticky-buy.is-on) .z-toasts { bottom: 96px; }
.z-pdp__grid > * { min-width: 0; }
@media (max-width: 991.98px) { .z-gallery { width: calc(100% + var(--z-gutter) * 2); } }
.z-buy__add { padding-inline: var(--z-s-2); min-width: 0; }
@media (max-width: 400px) { .z-qty { grid-template-columns: 36px 36px 36px; } .z-buy__wish { width: 48px; } }

/* v2.2 Shop by workout: black band, tall photo cards */
.z-workouts2 { background: var(--z-black); color: var(--z-white); padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); margin-top: clamp(3rem, 2rem + 4vw, 6.5rem); }
.z-workouts2 .z-h2 { color: var(--z-white); }
.z-workouts2__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--z-s-1) var(--z-s-3); margin-bottom: var(--z-s-4); }
.z-workouts2__sub { margin: 0; color: rgba(255,255,255,.7); font-size: var(--z-text-md); }
.z-workouts2__list {
  list-style: none; margin: 0 calc(var(--z-gutter) * -1); padding: 0 var(--z-gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--z-gutter); scrollbar-width: none;
}
.z-workouts2__list::-webkit-scrollbar { display: none; }
.z-workouts2__list > li { scroll-snap-align: start; }
@media (min-width: 576px) { .z-workouts2__list { grid-auto-columns: 44%; } }
@media (min-width: 992px) { .z-workouts2__list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; gap: 16px; } }
.z-wcard { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5.4; overflow: hidden; background: #1c1c1c; color: var(--z-white); text-decoration: none; }
.z-wcard picture, .z-wcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.z-wcard img { filter: grayscale(1) contrast(1.05); transition: filter 600ms var(--z-ease), transform 900ms var(--z-ease); }
.z-wcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.05) 70%); }
.z-wcard__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: var(--z-s-3); }
.z-wcard__label { font: 700 clamp(2.75rem, 2rem + 2.6vw, 4.25rem)/.85 var(--z-font-display); text-transform: uppercase; }
.z-wcard__blurb { font-size: var(--z-text-sm); color: rgba(255,255,255,.8); max-width: 26ch; }
.z-wcard__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; justify-self: start; font-weight: 600; font-size: var(--z-text-sm); padding-bottom: 3px; border-bottom: 1.5px solid currentColor; }
.z-wcard__cta svg { transition: transform var(--z-dur) var(--z-ease); }
@media (hover: hover) {
  .z-wcard:hover img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
  .z-wcard:hover .z-wcard__cta svg { transform: translateX(4px); }
}
.z-wcard:hover, .z-wcard:focus-visible { color: var(--z-white); text-decoration: none; }
.z-wcard:focus-visible { outline: 2px solid var(--z-white); outline-offset: 4px; }
.z-wcard--type { background: #1c1c1c; }
@media (prefers-reduced-motion: reduce) { .z-wcard img, .z-wcard__cta svg { transition: none; } }

/* 15. CART & CHECKOUT (restyle only) ======================================= */
.z-checkout-page { padding-bottom: var(--z-s-7); }
.z-co-head { padding-block: var(--z-s-3) var(--z-s-2); display: grid; gap: var(--z-s-2); }
.z-co-head .z-h1 { font-size: var(--z-text-3xl); }
.z-co { display: grid; gap: var(--z-s-4); align-items: start; }
@media (min-width: 992px) { .z-co { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--z-s-6); } }
.z-co > * { min-width: 0; }
.z-co__main { display: grid; gap: var(--z-s-3); align-content: start; }
.z-co__main > .z-h2 { font-size: var(--z-text-2xl); }
.z-co__bar { display: flex; align-items: center; justify-content: space-between; }
.z-co__bar .z-h3 { margin: 0; }
.z-ship--page { border: 1px solid var(--z-line); background: var(--z-white); }
.z-co__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--z-line); }
.z-co__line { display: grid; grid-template-columns: 104px 1fr auto; gap: var(--z-s-2); padding: var(--z-s-3) 0; border-bottom: 1px solid var(--z-line); }
@media (max-width: 575.98px) { .z-co__line { grid-template-columns: 80px 1fr; } .z-co__total { grid-column: 2; } }
.z-co__thumb img { width: 104px; height: 130px; object-fit: cover; background: #ECECEC; }
@media (max-width: 575.98px) { .z-co__thumb img { width: 80px; height: 100px; } }
.z-co__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.z-co__name { font-weight: 600; color: var(--z-ink); text-decoration: none; line-height: 1.35; }
.z-co__name:hover { text-decoration: underline; color: var(--z-ink); }
.z-co__opt, .z-co__unit { font-size: var(--z-text-sm); color: var(--z-steel); }
.z-co__row { display: flex; align-items: center; gap: var(--z-s-3); margin-top: var(--z-s-1); }
.z-co__total { font-variant-numeric: tabular-nums; }
.z-qty--sm { height: 40px; grid-template-columns: 36px 40px 36px; }
.z-qty--sm button[disabled] { color: var(--z-concrete); cursor: not-allowed; }
.z-qty input:disabled { background: transparent; color: var(--z-black); -webkit-text-fill-color: var(--z-black); opacity: 1; }

.z-summary { background: var(--z-chalk); padding: var(--z-s-3); display: grid; gap: var(--z-s-2); }
@media (min-width: 992px) { .z-co__aside { position: sticky; top: calc(var(--z-header-h) + var(--z-s-2)); } }
.z-summary .z-h3 { margin: 0; }
.z-summary__rows { margin: 0; display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.z-summary__rows > div { display: flex; justify-content: space-between; gap: var(--z-s-2); align-items: baseline; }
.z-summary__rows > div.d-none { display: none; }
.z-summary__rows dt { font-weight: 400; color: var(--z-graphite); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.z-summary__rows dd { margin: 0; font-weight: 600; }
.z-summary__rows .is-discount dd { color: var(--z-success); }
.z-summary__rows .is-total { padding-top: var(--z-s-2); border-top: 1px solid var(--z-line); font-size: var(--z-text-lg); }
.z-summary__rows .is-total dt { color: var(--z-black); font-weight: 700; }
.z-summary__rows .is-total dd { font-weight: 700; }
.z-summary__remove { font-size: var(--z-text-xs); color: var(--z-steel); }
.z-summary .z-hint { margin: 0; }
.z-summary__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--z-text-sm); color: var(--z-graphite); }
.z-summary__trust li { display: flex; gap: 8px; align-items: center; }
.z-coupon { display: grid; gap: 6px; }
.z-coupon__row { display: grid; grid-template-columns: 1fr auto; gap: var(--z-s-1); }
.z-coupon .z-input { text-transform: uppercase; }
.z-coupon .z-input::placeholder { text-transform: none; }

/* Collapsible summary on checkout (mobile shows total in the bar) */
.z-summary--co > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.z-summary--co > summary::-webkit-details-marker { display: none; }
.z-summary__mini { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 992px) { .z-summary--co > summary { pointer-events: none; } .z-summary__mini { display: none; } }
.z-summary--co[open] > summary { margin-bottom: var(--z-s-1); }
.z-summary__items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--z-s-2); }
.z-summary__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--z-s-2); align-items: center; font-size: var(--z-text-sm); }
.z-summary__thumb { position: relative; }
.z-summary__thumb img { width: 56px; height: 70px; object-fit: cover; background: #e2e2e2; }
.z-summary__qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--z-black); color: var(--z-white); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.z-summary__name { display: grid; gap: 2px; line-height: 1.35; }
.z-summary__name small { color: var(--z-steel); }
.z-summary__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.z-summary__free { padding: var(--z-s-1) var(--z-s-2); background: var(--z-white); }

/* Steps */
.z-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--z-s-1); counter-reset: none; }
.z-steps li { flex: 1; border-top: 3px solid var(--z-line); padding-top: var(--z-s-1); font-size: var(--z-text-sm); color: var(--z-steel); }
.z-steps li.is-done, .z-steps li.is-current { border-top-color: var(--z-black); color: var(--z-black); }
.z-steps li.is-current { font-weight: 700; }
.z-steps a, .z-steps span { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.z-steps a:hover { text-decoration: underline; }
.z-steps__n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--z-line); color: var(--z-ink); flex: none; }
.z-steps .is-done .z-steps__n, .z-steps .is-current .z-steps__n { background: var(--z-black); color: var(--z-white); }

/* Forms */
.z-form { display: grid; gap: var(--z-s-3); }
.z-form__group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--z-s-2); }
.z-form__legend { float: left; width: 100%; margin: 0 0 var(--z-s-1); padding: 0; font: 700 var(--z-text-md)/1.3 var(--z-font-body); }
.z-form__legend + * { clear: both; }
.z-form__grid { display: grid; gap: var(--z-s-2); }
@media (min-width: 576px) { .z-form__grid { grid-template-columns: 1fr 1fr; } .z-form__full { grid-column: 1 / -1; } }
.z-form__actions { display: flex; justify-content: space-between; align-items: center; gap: var(--z-s-2); padding-top: var(--z-s-1); }
@media (max-width: 575.98px) { .z-form__actions { flex-direction: column-reverse; align-items: stretch; } .z-form__actions .z-btn--lg { width: 100%; } }
.z-check--box { align-items: flex-start; font-size: var(--z-text-sm); }
.z-check--box input { margin-top: 2px; }
.z-co__login { margin: 0; font-size: var(--z-text-sm); color: var(--z-graphite); }
.z-co__login a { font-weight: 600; color: var(--z-black); }

/* Review & pay */
.z-review-addr { display: grid; gap: var(--z-s-2); }
@media (min-width: 576px) { .z-review-addr { grid-template-columns: 1fr 1fr; } }
.z-review-addr__box { border: 1px solid var(--z-line); padding: var(--z-s-2); }
.z-review-addr__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.z-review-addr__head .z-label { margin: 0; }
.z-review-addr__head a { font-size: var(--z-text-sm); color: var(--z-black); }
.z-review-addr p { margin: 0; font-size: var(--z-text-sm); line-height: 1.6; color: var(--z-graphite); }
.z-paymethods { display: grid; gap: var(--z-s-1); }
@media (min-width: 576px) { .z-paymethods { grid-template-columns: 1fr 1fr; } }
.z-paymethod {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: var(--z-s-2); align-items: center; text-align: left;
  min-height: 72px; padding: var(--z-s-2); background: var(--z-white); border: 1.5px solid var(--z-line); cursor: pointer; font-family: var(--z-font-body);
}
.z-paymethod:hover { border-color: var(--z-black); }
.z-paymethod__logo { grid-row: span 2; width: 56px; height: 40px; display: grid; place-items: center; }
.z-paymethod__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.z-paymethod__name { font-weight: 700; color: var(--z-black); align-self: end; }
.z-paymethod__hint { font-size: var(--z-text-xs); color: var(--z-steel); align-self: start; }

/* Legacy gateway modals (Bootstrap), restyled in place */
.z-checkout-page .modal-content { border: 0; border-radius: 0; font-family: var(--z-font-body); box-shadow: var(--z-shadow-float); }
.z-checkout-page .modal-header { border-bottom: 1px solid var(--z-line); padding: var(--z-s-2) var(--z-s-3); }
.z-checkout-page .modal-title { font: 700 var(--z-text-lg)/1.2 var(--z-font-body); }
.z-checkout-page .modal-header .close { border: 0; background: none; font-size: 28px; line-height: 1; }
.z-checkout-page .modal-body, .z-checkout-page .modal .card-body { padding: var(--z-s-3); }
.z-checkout-page .modal-footer { border-top: 1px solid var(--z-line); padding: var(--z-s-2) var(--z-s-3); gap: var(--z-s-1); }
.z-checkout-page .modal .btn { border-radius: 0; min-height: 44px; padding: 0 var(--z-s-3); font-weight: 700; background: var(--z-black); border-color: var(--z-black); color: var(--z-white); }
.z-checkout-page .modal .btn[data-bs-dismiss] { background: transparent; color: var(--z-black); }
.z-checkout-page .modal .form-control { border-radius: 0; min-height: 44px; border: 1.5px solid var(--z-line); }

/* Mobile sticky checkout bar on cart */
.z-co-sticky { display: none; }
@media (max-width: 991.98px) {
  .z-co-sticky { position: fixed; z-index: 1025; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--z-s-2);
    padding: 10px var(--z-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--z-white); box-shadow: var(--z-shadow-sticky); }
  .z-checkout-page:has(.z-co-sticky) { padding-bottom: 96px; }
}

/* Success */
.z-success { max-width: 640px; text-align: center; padding-block: var(--z-s-7); display: grid; gap: var(--z-s-2); justify-items: center; }
.z-success__mark { width: 72px; height: 72px; border-radius: 50%; background: var(--z-black); color: var(--z-white); display: grid; place-items: center; }
.z-success .z-lead { margin: 0 auto; }
.z-success__num { display: grid; gap: 4px; padding: var(--z-s-2) var(--z-s-4); background: var(--z-chalk); }
.z-success__num strong { font: 700 var(--z-text-2xl)/1 var(--z-font-display); letter-spacing: .04em; }

/* Focused checkout chrome */
.z-header--co .z-header__row { grid-template-columns: auto 1fr auto; }
.z-header--co .z-header__logo { justify-self: start; }
.z-header__secure { margin: 0; justify-self: center; display: flex; align-items: center; gap: 6px; font-size: var(--z-text-sm); font-weight: 600; }
.z-header__help { justify-self: end; font-size: var(--z-text-sm); }
.z-header__help a { color: var(--z-ink); text-decoration: none; }
.z-header__help a:hover { text-decoration: underline; }
@media (max-width: 575.98px) { .z-header__help a { font-size: 0; } .z-header__help strong { font-size: var(--z-text-sm); } .z-header__secure { font-size: 0; gap: 0; } .z-header__secure svg { width: 20px; height: 20px; } }
.z-footer--co { margin-top: 0; }
.z-footer__colinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--z-s-1) var(--z-s-3); font-size: var(--z-text-xs); }
.z-header--co + * { border-top: 1px solid var(--z-line); }
@media (max-width: 991.98px) { .z-co:has(.z-summary--co) .z-co__aside { order: -1; } }
