/* ============================================================
   MASH STORE — premium e-commerce frontend
   Distinct visual layer that sits ON TOP of the core design tokens.
   The store leans warmer + more editorial than the SaaS app shell:
   richer surfaces, larger product imagery, generous type scale.
   ============================================================ */

/* ── Local store tokens (riff on brand, but warmer) ────── */
:root,
[data-theme="dark"] {
  --shop-bg:        #0B0D14;
  --shop-surface:   #11141F;
  --shop-surface-2: #161B2A;
  --shop-line:      #20263A;
  --shop-line-strong:#2D3547;
  --shop-ink:       #ECEEF6;
  --shop-ink-2:     #A8AFC2;
  --shop-ink-3:     #6B7389;
  --shop-accent:    #C9A66B;       /* warm-gold — for "premium" tones */
  --shop-accent-2:  #6B72F5;       /* still indigo for primary CTA */
  --shop-tile-1:    linear-gradient(135deg, #1A1F33, #11141F);
  --shop-tile-2:    linear-gradient(135deg, #2A1F3D, #14141F);
  --shop-tile-3:    linear-gradient(135deg, #1A2A33, #11141F);
}
[data-theme="light"] {
  --shop-bg:        #FAFAF7;
  --shop-surface:   #FFFFFF;
  --shop-surface-2: #F2F0EB;
  --shop-line:      #E5E2DA;
  --shop-line-strong:#C7C2B6;
  --shop-ink:       #14171F;
  --shop-ink-2:     #4A5163;
  --shop-ink-3:     #777E8E;
  --shop-tile-1:    linear-gradient(135deg, #F4F1EA, #EAE6DC);
  --shop-tile-2:    linear-gradient(135deg, #EFE9F2, #E7DFEC);
  --shop-tile-3:    linear-gradient(135deg, #E4ECEF, #D8E2E8);
}

/* ── Page chrome — a public storefront, not the app shell ── */
.shop-page {
  min-height: 100vh;
  background: var(--shop-bg);
  color: var(--shop-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
}

.shop-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--shop-bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--shop-line);
}
.shop-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-7);
  padding: var(--s-5) var(--s-7);
  height: 64px;
}
.shop-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
  font-weight: 600; letter-spacing: -0.01em;
}
.shop-brand .mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #6B72F5 0%, #8B5CF6 60%, #C9A66B 100%);
}
.shop-brand .word { font-size: 16px; }
.shop-brand .word small { color: var(--shop-ink-3); font-weight: 500; margin-left: 6px; }

.shop-nav-menu {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
}
.shop-nav-menu a {
  padding: 8px 14px;
  font-size: var(--fs-md);
  color: var(--shop-ink-2);
  text-decoration: none;
  border-radius: var(--r-md);
  font-weight: 500;
  position: relative;
}
.shop-nav-menu a:hover { color: var(--shop-ink); background: var(--shop-surface); }
.shop-nav-menu a.active { color: var(--shop-ink); }
.shop-nav-menu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -19px;
  height: 2px; background: var(--shop-accent); border-radius: 2px;
}

.shop-nav-trail { display: flex; align-items: center; gap: 4px; }
.shop-icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--shop-ink-2);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.shop-icon-btn:hover { background: var(--shop-surface); color: var(--shop-ink); }
.shop-icon-btn .dot {
  position: absolute; top: 6px; right: 6px;
  background: var(--shop-accent);
  color: #1a1208;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--shop-bg);
}
.shop-pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 36px;
  border-radius: var(--r-full);
  background: var(--shop-ink);
  color: var(--shop-bg);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.shop-pill-btn.ghost {
  background: transparent;
  color: var(--shop-ink);
  border: 1px solid var(--shop-line-strong);
}
.shop-pill-btn.ghost:hover { background: var(--shop-surface); }
.shop-pill-btn.gold {
  background: var(--shop-accent);
  color: #1a1208;
}

.shop-promo-bar {
  background: var(--shop-ink);
  color: var(--shop-bg);
  font-size: var(--fs-xs);
  text-align: center;
  padding: 6px var(--s-7);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.shop-promo-bar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.shop-main { max-width: 1320px; margin: 0 auto; padding: var(--s-9) var(--s-7) var(--s-12); }
.shop-section { margin-bottom: 80px; }

.shop-section-hd {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: var(--s-7);
  gap: var(--s-7);
}
.shop-section-hd .meta { max-width: 560px; }
.shop-section-hd .eyebrow {
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shop-accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.shop-section-hd h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
}
.shop-section-hd .desc {
  margin-top: 10px;
  color: var(--shop-ink-2);
  font-size: var(--fs-md);
  line-height: 1.55;
  text-wrap: pretty;
}
.shop-section-hd .more {
  font-size: var(--fs-sm);
  color: var(--shop-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--shop-ink-3);
  padding-bottom: 2px;
  white-space: nowrap;
  font-weight: 500;
}
.shop-section-hd .more:hover { border-color: var(--shop-accent); color: var(--shop-accent); }

/* ── HERO ─────────────────────────────────────────────── */
.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  margin-bottom: 80px;
  min-height: 540px;
}
.shop-hero-text {
  padding: clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px;
  position: relative;
}
.shop-hero-text .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shop-accent);
  font-weight: 600;
  width: fit-content;
}
.shop-hero-text .eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--shop-accent);
}
.shop-hero-text h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.shop-hero-text h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--shop-accent);
  font-family: "Cormorant Garamond", serif;
}
.shop-hero-text p {
  color: var(--shop-ink-2);
  font-size: var(--fs-lg);
  line-height: 1.55;
  max-width: 480px;
  text-wrap: pretty;
}
.shop-hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.shop-hero-stats {
  display: flex; gap: 48px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--shop-line);
}
.shop-hero-stat .num {
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.shop-hero-stat .lbl {
  font-size: var(--fs-xs); color: var(--shop-ink-3);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: 2px;
}

.shop-hero-vis {
  position: relative;
  background: var(--shop-tile-1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.shop-hero-vis::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 60% 40%, color-mix(in oklab, var(--shop-accent) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 70%, color-mix(in oklab, var(--shop-accent-2) 22%, transparent), transparent 60%);
}
.shop-hero-vis .product-stage {
  position: relative;
  width: 80%;
  aspect-ratio: 4/5;
  max-width: 460px;
}
.shop-hero-vis .pedestal {
  position: absolute;
  bottom: 8%; left: 8%; right: 8%;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35) 80%);
  border-radius: 50%;
  filter: blur(20px);
}

/* placeholder hero product visual — geometric "premium watch face" */
.hero-product {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-product .ring {
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--shop-accent) 60%, transparent);
  position: absolute;
  display: flex; align-items: center; justify-content: center;
}
.hero-product .ring::before {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--shop-accent) 40%, transparent);
}
.hero-product .ring::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--shop-accent) 50%, transparent), transparent 60%),
    linear-gradient(135deg, #1a1f30, #2a1f3a);
  border: 1px solid var(--shop-line-strong);
  box-shadow: inset 0 2px 24px rgba(0,0,0,0.5);
}
.hero-product .core {
  position: relative; z-index: 2;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--shop-accent) 80%, white 5%), color-mix(in oklab, var(--shop-accent) 50%, black 30%));
  box-shadow:
    0 0 0 6px color-mix(in oklab, var(--shop-accent) 14%, transparent),
    0 16px 40px color-mix(in oklab, var(--shop-accent) 35%, transparent);
}

.shop-hero-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--shop-ink-3);
  display: flex; align-items: center; gap: 8px;
}
.shop-hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--shop-accent); }

/* ── Marquee / trust strip ────────────────────────────── */
.shop-marquee {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--shop-line);
  border-bottom: 1px solid var(--shop-line);
  margin: -40px 0 80px;
  overflow: hidden;
  font-family: var(--font-sans);
}
.shop-marquee .item {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--shop-ink-3);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.shop-marquee .item svg { color: var(--shop-accent); }
.shop-marquee .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--shop-line-strong); }

/* ── Category cards ───────────────────────────────────── */
.shop-cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-5);
  grid-auto-rows: 320px;
}
.shop-cat-grid .tall { grid-row: span 2; }
.shop-cat-grid > * { min-width: 0; }
.shop-cat-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--shop-tile-1);
  border: 1px solid var(--shop-line);
  padding: var(--s-7);
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; color: inherit;
  transition: all var(--dur-fast);
  cursor: pointer;
}
.shop-cat-card:hover { transform: translateY(-2px); border-color: var(--shop-line-strong); }
.shop-cat-card.t-2 { background: var(--shop-tile-2); }
.shop-cat-card.t-3 { background: var(--shop-tile-3); }
.shop-cat-card .top {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs);
  color: var(--shop-ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.shop-cat-card .top .num { font-feature-settings: "tnum"; color: var(--shop-ink-2); font-weight: 600; }
.shop-cat-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.shop-cat-card .blurb {
  font-size: var(--fs-sm); color: var(--shop-ink-2); line-height: 1.5;
  margin-top: 6px; max-width: 280px;
}
.shop-cat-card .arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--shop-ink);
  color: var(--shop-bg);
  align-self: flex-end;
}
.shop-cat-card .visual {
  position: absolute; right: -20px; bottom: -20px;
  width: 60%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--shop-accent) 24%, transparent), transparent 65%);
  pointer-events: none;
}

/* ── Product card ─────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}
.shop-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.shop-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

.shop-product {
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
  transition: transform var(--dur-fast);
}
.shop-product:hover { transform: translateY(-3px); }
.shop-product .img-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--shop-tile-1);
  overflow: hidden;
  border: 1px solid var(--shop-line);
  margin-bottom: var(--s-5);
}
.shop-product:nth-child(3n) .img-wrap { background: var(--shop-tile-2); }
.shop-product:nth-child(3n+1) .img-wrap { background: var(--shop-tile-3); }
.shop-product .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, color-mix(in oklab, var(--shop-accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.shop-product .badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 4px; z-index: 2;
}
.shop-product .b {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: var(--shop-ink);
  color: var(--shop-bg);
}
.shop-product .b.gold { background: var(--shop-accent); color: #1a1208; }
.shop-product .b.sale { background: #EF4444; color: #fff; }
.shop-product .b.soft {
  background: color-mix(in oklab, var(--shop-bg) 80%, transparent);
  color: var(--shop-ink);
  border: 1px solid var(--shop-line-strong);
  backdrop-filter: blur(4px);
}
.shop-product .quick-fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px;
  background: color-mix(in oklab, var(--shop-bg) 70%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--shop-line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--shop-ink-2);
  cursor: pointer;
  opacity: 0; transform: translateY(-4px);
  transition: all var(--dur-fast);
}
.shop-product:hover .quick-fav { opacity: 1; transform: translateY(0); }
.shop-product .quick-fav.on { color: #EF4444; opacity: 1; }
.shop-product .quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  height: 38px;
  background: var(--shop-ink);
  color: var(--shop-bg);
  border: none;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: all var(--dur-fast);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.shop-product:hover .quick-add { opacity: 1; transform: translateY(0); }

.shop-product .swatches {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: flex; gap: 4px;
  transition: opacity var(--dur-fast);
}
.shop-product:hover .swatches { opacity: 0; }
.shop-product .swatches .sw {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--shop-bg) 70%, transparent);
  box-shadow: 0 0 0 1px var(--shop-line-strong);
}

.shop-product .info { display: flex; flex-direction: column; gap: 2px; }
.shop-product .info .cat {
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-ink-3);
  font-weight: 500;
}
.shop-product .info .name {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--shop-ink);
  letter-spacing: -0.01em;
}
.shop-product .info .price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 4px;
  font-feature-settings: "tnum";
}
.shop-product .info .price { font-size: var(--fs-md); font-weight: 600; color: var(--shop-ink); }
.shop-product .info .compare { font-size: var(--fs-sm); color: var(--shop-ink-3); text-decoration: line-through; }
.shop-product .info .rating { font-size: var(--fs-xs); color: var(--shop-ink-3); margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.shop-product .info .rating svg { color: var(--shop-accent); }

/* Mock product imagery — abstract shapes, replaced per item */
.prod-vis {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.prod-vis svg { width: 70%; height: 70%; }

/* ── Editorial / lookbook strip ───────────────────────── */
.shop-editorial {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--shop-line);
  background: var(--shop-surface);
  min-height: 460px;
}
.shop-editorial .copy {
  padding: clamp(36px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 16px;
}
.shop-editorial .copy h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em; line-height: 1.05;
  font-weight: 600;
  text-wrap: balance;
}
.shop-editorial .copy h3 em {
  font-style: italic; font-weight: 400; color: var(--shop-accent);
}
.shop-editorial .copy p { color: var(--shop-ink-2); line-height: 1.6; max-width: 480px; }
.shop-editorial .vis {
  background: var(--shop-tile-2);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  padding: 32px;
}
.shop-editorial .vis .frame {
  border-radius: var(--r-lg);
  background: var(--shop-tile-3);
  border: 1px solid var(--shop-line);
  position: relative;
  overflow: hidden;
}
.shop-editorial .vis .frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-editorial .vis .frame:nth-child(1) { grid-row: 1 / span 2; }
.shop-editorial .vis .frame .prod-vis {
  color: var(--shop-accent);
  transform: scale(0.8);
}

/* ── PDP — Product detail page ────────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  margin-bottom: 80px;
}
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-main {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background: var(--shop-tile-1);
  border: 1px solid var(--shop-line);
  position: relative;
  overflow: hidden;
}
.pdp-main::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, color-mix(in oklab, var(--shop-accent) 16%, transparent), transparent 70%);
}
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pdp-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--shop-tile-2);
  border: 1px solid var(--shop-line);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pdp-thumb.active { border-color: var(--shop-accent); box-shadow: 0 0 0 1px var(--shop-accent); }
.pdp-thumb:nth-child(2) { background: var(--shop-tile-3); }
.pdp-thumb:nth-child(4) { background: var(--shop-tile-3); }

.pdp-buy {
  display: flex; flex-direction: column; gap: var(--s-6);
}
.pdp-crumbs { font-size: var(--fs-xs); color: var(--shop-ink-3); display: flex; gap: 8px; align-items: center; }
.pdp-crumbs a { color: var(--shop-ink-3); text-decoration: none; }
.pdp-crumbs a:hover { color: var(--shop-ink); }
.pdp-crumbs .sep { color: var(--shop-line-strong); }

.pdp-title-row .name {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.pdp-title-row .vendor {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--shop-accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.pdp-rating { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--shop-ink-2); margin-top: 8px; }
.pdp-rating .stars { display: inline-flex; gap: 2px; }
.pdp-rating .stars svg { color: var(--shop-accent); }
.pdp-rating a { color: var(--shop-ink); text-decoration: underline; text-underline-offset: 2px; }

.pdp-price-block { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; font-feature-settings: "tnum"; }
.pdp-compare { font-size: var(--fs-md); color: var(--shop-ink-3); text-decoration: line-through; }
.pdp-save {
  font-size: var(--fs-2xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-xs);
  background: color-mix(in oklab, #10B981 22%, transparent);
  color: #34D399;
}
.pdp-pay-options {
  font-size: var(--fs-xs); color: var(--shop-ink-3);
  margin-top: 6px;
}
.pdp-pay-options strong { color: var(--shop-ink); font-weight: 600; }

.pdp-blurb { color: var(--shop-ink-2); line-height: 1.6; font-size: var(--fs-md); max-width: 520px; }

.pdp-opt-row { display: flex; flex-direction: column; gap: 10px; }
.pdp-opt-row .lbl {
  font-size: var(--fs-xs);
  color: var(--shop-ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.pdp-opt-row .lbl .v { color: var(--shop-ink); font-weight: 500; text-transform: none; letter-spacing: 0; }
.pdp-color-swatches { display: flex; gap: 10px; }
.pdp-color {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--dur-fast);
  padding: 3px;
  background: var(--shop-surface);
}
.pdp-color .inner { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2); }
.pdp-color.active { border-color: var(--shop-accent); }
.pdp-color:hover { transform: scale(1.05); }

.pdp-size-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pdp-size {
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--shop-line-strong);
  background: var(--shop-surface);
  color: var(--shop-ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  font-feature-settings: "tnum";
}
.pdp-size:hover { border-color: var(--shop-ink-2); }
.pdp-size.active { background: var(--shop-ink); color: var(--shop-bg); border-color: var(--shop-ink); }
.pdp-size.out { color: var(--shop-ink-3); position: relative; cursor: not-allowed; }
.pdp-size.out::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 50%;
  height: 1px; background: var(--shop-ink-3); transform: rotate(-15deg);
}

.pdp-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--shop-line-strong);
  border-radius: var(--r-md);
  height: 48px;
  background: var(--shop-surface);
}
.pdp-qty button {
  width: 44px; height: 100%; background: transparent; border: none;
  color: var(--shop-ink); cursor: pointer; font-size: 18px;
}
.pdp-qty .v {
  min-width: 36px; text-align: center; font-feature-settings: "tnum"; font-weight: 600;
}

.pdp-buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.pdp-buy-row > .pdp-qty { grid-column: 1; }
.shop-cta {
  height: 48px; padding: 0 24px;
  font-size: var(--fs-md);
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.shop-cta.primary { background: var(--shop-ink); color: var(--shop-bg); }
.shop-cta.primary:hover { background: color-mix(in oklab, var(--shop-ink) 88%, var(--shop-accent)); }
.shop-cta.gold { background: var(--shop-accent); color: #1a1208; }
.shop-cta.ghost { background: transparent; color: var(--shop-ink); border: 1px solid var(--shop-line-strong); }
.shop-cta.icon-only { width: 48px; padding: 0; }
.shop-cta:hover.ghost { border-color: var(--shop-ink); }

.pdp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--shop-line);
  padding-top: var(--s-7);
}
.pdp-feat {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: var(--fs-sm);
}
.pdp-feat .ico {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: var(--shop-surface-2);
  color: var(--shop-ink);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pdp-feat .t { font-weight: 600; }
.pdp-feat .s { color: var(--shop-ink-3); font-size: var(--fs-xs); margin-top: 2px; }

/* ── PDP secondary sections (tabs / specs / reviews) ── */
.pdp-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--shop-line);
  margin-bottom: var(--s-7);
}
.pdp-tab {
  padding: 16px 0;
  margin-right: 32px;
  font-size: var(--fs-md);
  color: var(--shop-ink-3);
  font-weight: 500;
  cursor: pointer;
  background: transparent; border: none;
  border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 8px;
}
.pdp-tab.active { color: var(--shop-ink); border-bottom-color: var(--shop-accent); }
.pdp-tab .count {
  font-size: var(--fs-xs);
  background: var(--shop-surface-2);
  padding: 2px 6px; border-radius: var(--r-xs);
  font-feature-settings: "tnum";
}

.pdp-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
}
.pdp-specs .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--shop-line);
  font-size: var(--fs-sm);
}
.pdp-specs .row .k { color: var(--shop-ink-3); }
.pdp-specs .row .v { color: var(--shop-ink); font-weight: 500; }

/* ── CART ─────────────────────────────────────────────── */
.cart-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 48px;
}
.cart-table {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cart-table-head {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px 80px;
  padding: 16px 24px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--shop-ink-3);
  border-bottom: 1px solid var(--shop-line);
  background: var(--shop-surface-2);
}
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px 140px 80px;
  padding: 24px;
  align-items: center;
  border-bottom: 1px solid var(--shop-line);
  gap: 16px;
}
.cart-row:last-child { border-bottom: none; }
.cart-row .thumb {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  background: var(--shop-tile-1);
  border: 1px solid var(--shop-line);
  position: relative; overflow: hidden;
}
.cart-row .thumb.t-2 { background: var(--shop-tile-2); }
.cart-row .thumb.t-3 { background: var(--shop-tile-3); }
.cart-row .item-info { display: flex; flex-direction: column; gap: 4px; }
.cart-row .item-info .name { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.01em; }
.cart-row .item-info .opts {
  font-size: var(--fs-xs); color: var(--shop-ink-3);
  display: flex; gap: 12px;
}
.cart-row .item-info .actions {
  display: flex; gap: 12px; margin-top: 4px;
  font-size: var(--fs-xs); color: var(--shop-ink-3);
}
.cart-row .item-info .actions button {
  background: transparent; border: none; cursor: pointer; color: inherit;
  text-decoration: underline; text-underline-offset: 2px;
}
.cart-row .item-info .actions button:hover { color: var(--shop-ink); }
.cart-row .qty-cell .pdp-qty { height: 38px; }
.cart-row .qty-cell .pdp-qty button { width: 32px; }
.cart-row .price-cell { text-align: right; font-weight: 600; font-feature-settings: "tnum"; }
.cart-row .price-cell .compare { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--shop-ink-3); text-decoration: line-through; margin-top: 2px; }
.cart-row .x-cell { text-align: right; }
.cart-row .x-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.cart-row .x-btn:hover { background: var(--shop-surface-2); color: var(--shop-ink); }

.cart-foot {
  padding: 20px 24px;
  background: var(--shop-surface-2);
  border-top: 1px solid var(--shop-line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-sm);
  color: var(--shop-ink-2);
}

.cart-summary {
  position: sticky; top: 100px;
  align-self: start;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.cart-summary h3 {
  font-size: var(--fs-lg); font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cart-line {
  display: flex; justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--shop-ink-2);
  font-feature-settings: "tnum";
}
.cart-line .v { color: var(--shop-ink); font-weight: 500; }
.cart-line.total {
  font-size: var(--fs-md);
  padding-top: 14px;
  border-top: 1px solid var(--shop-line);
  margin-top: 4px;
}
.cart-line.total .v {
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cart-line.discount .v { color: #34D399; }

.cart-promo {
  display: flex; gap: 8px; margin-top: 4px;
}
.cart-promo .input {
  flex: 1;
  height: 40px;
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink);
  border-radius: var(--r-md);
  padding: 0 12px;
  font-size: var(--fs-sm);
}
.cart-promo .input::placeholder { color: var(--shop-ink-3); }
.cart-promo button {
  height: 40px; padding: 0 16px;
  border: 1px solid var(--shop-line-strong);
  background: var(--shop-surface-2);
  color: var(--shop-ink);
  border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 500;
  cursor: pointer;
}

.cart-trust {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--shop-line);
}
.cart-trust .row {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); color: var(--shop-ink-2);
}
.cart-trust .row svg { color: var(--shop-accent); }

.cart-pay-icons { display: flex; gap: 6px; margin-top: 6px; }
.cart-pay-icons .pi {
  height: 26px; padding: 0 8px;
  border: 1px solid var(--shop-line);
  border-radius: var(--r-sm);
  background: var(--shop-surface-2);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shop-ink-2);
  display: inline-flex; align-items: center;
}

/* Cross-sell row inside cart page */
.cart-xsell { margin-top: 80px; }

/* Empty cart state */
.cart-empty {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.cart-empty .ico {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--shop-surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--shop-ink-2);
}
.cart-empty h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.cart-empty p { color: var(--shop-ink-3); font-size: var(--fs-md); max-width: 380px; line-height: 1.5; }

/* ── CHECKOUT ─────────────────────────────────────────── */
.co-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 64px;
  align-items: flex-start;
}

.co-steps {
  display: flex; gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--shop-line);
  padding-bottom: 28px;
}
.co-step {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.co-step .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--shop-surface-2);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm); font-weight: 600;
  margin-bottom: 8px;
}
.co-step.done .num { background: var(--shop-accent); border-color: var(--shop-accent); color: #1a1208; }
.co-step.active .num { background: var(--shop-ink); border-color: var(--shop-ink); color: var(--shop-bg); }
.co-step .lbl { font-size: var(--fs-xs); color: var(--shop-ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.co-step.active .lbl { color: var(--shop-accent); }
.co-step .ttl { font-size: var(--fs-md); font-weight: 500; color: var(--shop-ink); }
.co-step::after {
  content: "";
  position: absolute; top: 14px; left: 36px; right: 0;
  height: 1px; background: var(--shop-line);
  z-index: -1;
}
.co-step:last-child::after { display: none; }
.co-step.done::after { background: var(--shop-accent); }

.co-section { background: var(--shop-surface); border: 1px solid var(--shop-line); border-radius: var(--r-xl); padding: 28px; margin-bottom: 16px; }
.co-section h3 {
  font-size: var(--fs-lg); font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
}
.co-section h3 .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--shop-accent);
  color: #1a1208;
  font-size: var(--fs-xs); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.co-section .sub { color: var(--shop-ink-3); font-size: var(--fs-sm); margin-bottom: 20px; }

.co-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.co-form .full { grid-column: 1 / -1; }
.co-field { display: flex; flex-direction: column; gap: 6px; }
.co-field label { font-size: var(--fs-xs); color: var(--shop-ink-3); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.co-field input,
.co-field select {
  height: 44px;
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink);
  border-radius: var(--r-md);
  padding: 0 14px;
  font-size: var(--fs-md);
  font-family: inherit;
}
.co-field input:focus,
.co-field select:focus { outline: none; border-color: var(--shop-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--shop-accent) 22%, transparent); }
.co-field input::placeholder { color: var(--shop-ink-3); }

.co-radio-row { display: flex; flex-direction: column; gap: 8px; }
.co-radio {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--shop-line);
  border-radius: var(--r-md);
  background: var(--shop-bg);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.co-radio:hover { border-color: var(--shop-line-strong); }
.co-radio.active { border-color: var(--shop-accent); background: color-mix(in oklab, var(--shop-accent) 5%, var(--shop-bg)); }
.co-radio .dot {
  width: 18px; height: 18px;
  border: 2px solid var(--shop-line-strong);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.co-radio.active .dot { border-color: var(--shop-accent); }
.co-radio.active .dot::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--shop-accent); border-radius: 50%;
}
.co-radio .body { flex: 1; }
.co-radio .body .t { font-weight: 600; font-size: var(--fs-md); }
.co-radio .body .s { font-size: var(--fs-xs); color: var(--shop-ink-3); margin-top: 2px; }
.co-radio .price { font-weight: 600; font-feature-settings: "tnum"; font-size: var(--fs-md); }
.co-radio .badge {
  font-size: var(--fs-2xs); font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-xs);
  background: color-mix(in oklab, #10B981 22%, transparent);
  color: #34D399;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.co-pay-method-icons {
  display: flex; gap: 6px;
  margin-left: auto;
}
.co-pay-method-icons .ic {
  height: 24px; min-width: 36px; padding: 0 6px;
  background: var(--shop-surface-2);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-xs);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.04em;
  color: var(--shop-ink-2);
}

.co-card-grid {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  gap: 12px;
  margin-top: 14px;
}

/* Order summary on the right */
.co-summary {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-xl);
  padding: 24px;
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column; gap: 14px;
}
.co-summary .sum-items {
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--shop-line);
}
.co-sum-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}
.co-sum-item .thumb {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--shop-tile-1);
  border: 1px solid var(--shop-line);
  position: relative; overflow: hidden;
}
.co-sum-item .thumb.t-2 { background: var(--shop-tile-2); }
.co-sum-item .thumb.t-3 { background: var(--shop-tile-3); }
.co-sum-item .thumb .qty-bubble {
  position: absolute; top: -6px; right: -6px;
  background: var(--shop-ink-2); color: var(--shop-bg);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--shop-surface);
}
.co-sum-item .info .name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; }
.co-sum-item .info .opts { font-size: var(--fs-xs); color: var(--shop-ink-3); margin-top: 2px; }
.co-sum-item .price { font-size: var(--fs-sm); font-weight: 600; font-feature-settings: "tnum"; }

/* ── Categories index page ────────────────────────────── */
.cats-hero {
  padding: 80px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--shop-line);
  margin-bottom: 64px;
}
.cats-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em; line-height: 1.05;
  font-weight: 600;
  text-wrap: balance;
}
.cats-hero h1 em { font-style: italic; font-weight: 400; color: var(--shop-accent); }
.cats-hero p { color: var(--shop-ink-2); margin-top: 14px; max-width: 540px; margin-inline: auto; line-height: 1.6; }

.cats-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--r-md);
}
.cats-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.cats-tag {
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: transparent;
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
}
.cats-tag.active { background: var(--shop-ink); color: var(--shop-bg); border-color: var(--shop-ink); }
.cats-toolbar .right { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--shop-ink-3); }
.cats-toolbar select {
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink);
  border-radius: var(--r-sm);
  padding: 6px 10px; font-size: var(--fs-sm);
}

/* Filter sidebar in categories */
.cats-shell { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.cats-side {
  position: sticky; top: 90px; align-self: flex-start;
  display: flex; flex-direction: column; gap: 24px;
  font-size: var(--fs-sm);
}
.cats-side .grp { padding-bottom: 20px; border-bottom: 1px solid var(--shop-line); }
.cats-side .grp:last-child { border-bottom: none; }
.cats-side h4 {
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-ink-3);
  margin-bottom: 12px;
  font-weight: 600;
}
.cats-side .opt {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  color: var(--shop-ink-2);
}
.cats-side .opt:hover { color: var(--shop-ink); }
.cats-side .opt input { accent-color: var(--shop-accent); }
.cats-side .opt .count { margin-left: auto; font-size: var(--fs-xs); color: var(--shop-ink-3); font-feature-settings: "tnum"; }
.cats-side .swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cats-side .swatch-row .sw {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  padding: 2px;
}
.cats-side .swatch-row .sw .inner { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2); }
.cats-side .swatch-row .sw.active { border-color: var(--shop-accent); }

.range-line {
  display: flex; gap: 8px; margin-top: 8px;
}
.range-line input {
  flex: 1; height: 32px;
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  border-radius: var(--r-sm);
  color: var(--shop-ink);
  padding: 0 10px;
  font-size: var(--fs-sm);
  font-feature-settings: "tnum";
}

/* ── Footer ───────────────────────────────────────────── */
.shop-footer {
  background: var(--shop-surface);
  border-top: 1px solid var(--shop-line);
  padding: 80px var(--s-7) 32px;
  margin-top: 80px;
}
.shop-footer-inner { max-width: 1320px; margin: 0 auto; }
.shop-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
.shop-footer h5 {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
  color: var(--shop-ink-3);
  margin-bottom: 14px;
}
.shop-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.shop-footer ul a { color: var(--shop-ink-2); text-decoration: none; font-size: var(--fs-sm); }
.shop-footer ul a:hover { color: var(--shop-ink); }
.shop-footer .news {
  font-size: var(--fs-sm); color: var(--shop-ink-2); line-height: 1.5;
  margin-bottom: 14px; max-width: 320px;
}
.shop-footer .news-input {
  display: flex; gap: 8px; max-width: 340px;
}
.shop-footer .news-input input {
  flex: 1; height: 40px;
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  border-radius: var(--r-md);
  padding: 0 12px;
  color: var(--shop-ink);
  font-size: var(--fs-sm);
}
.shop-footer .news-input button {
  height: 40px; padding: 0 16px;
  background: var(--shop-ink); color: var(--shop-bg);
  border: none; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer;
}
.shop-footer-bottom {
  border-top: 1px solid var(--shop-line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--shop-ink-3);
}
.shop-footer-bottom .links { display: flex; gap: 24px; }
.shop-footer-bottom .links a { color: inherit; text-decoration: none; }
.shop-footer-bottom .links a:hover { color: var(--shop-ink); }

/* ── Responsive — coarse for design preview ──────────── */
@media (max-width: 980px) {
  .shop-hero, .shop-editorial { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-wrap, .co-wrap { grid-template-columns: 1fr; gap: 32px; }
  .shop-cat-grid { grid-template-columns: 1fr 1fr; }
  .cats-shell { grid-template-columns: 1fr; }
  .shop-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Reviews block on PDP */
.pdp-reviews-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}
.pdp-rev-summary { padding: 24px; background: var(--shop-surface); border: 1px solid var(--shop-line); border-radius: var(--r-xl); }
.pdp-rev-summary .num { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pdp-rev-summary .stars { display: inline-flex; gap: 2px; margin: 8px 0; }
.pdp-rev-summary .stars svg { color: var(--shop-accent); }
.pdp-rev-summary .count { font-size: var(--fs-xs); color: var(--shop-ink-3); }
.pdp-rev-summary .bars { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.pdp-rev-summary .br { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--shop-ink-2); }
.pdp-rev-summary .br .bar { flex: 1; height: 6px; background: var(--shop-surface-2); border-radius: 3px; overflow: hidden; }
.pdp-rev-summary .br .bar > div { height: 100%; background: var(--shop-accent); }

.pdp-rev { padding: 24px 0; border-bottom: 1px solid var(--shop-line); }
.pdp-rev:last-child { border-bottom: none; }
.pdp-rev .hd { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pdp-rev .hd .name { font-weight: 600; }
.pdp-rev .hd .when { font-size: var(--fs-xs); color: var(--shop-ink-3); margin-left: auto; }
.pdp-rev .stars { display: inline-flex; gap: 2px; }
.pdp-rev .stars svg { color: var(--shop-accent); }
.pdp-rev .ttl { font-weight: 600; margin: 4px 0 6px; }
.pdp-rev .body { color: var(--shop-ink-2); line-height: 1.6; font-size: var(--fs-sm); }
.pdp-rev .meta-row { font-size: var(--fs-xs); color: var(--shop-ink-3); margin-top: 8px; display: flex; gap: 16px; }
.pdp-rev .meta-row .v { color: #34D399; }

/* Mash storefront production bindings */
body.storefront {
  margin: 0;
  background: var(--shop-bg);
  color: var(--shop-ink);
}
.store-logo {
  width: auto;
  max-width: 132px;
  object-fit: contain;
}
.shop-nav-search {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}
.shop-nav-search input {
  width: 0;
  opacity: 0;
  border: 0;
  padding: 0;
  height: 34px;
  color: var(--shop-ink);
  background: var(--shop-surface);
  transition: width var(--dur-fast), opacity var(--dur-fast), padding var(--dur-fast), border-color var(--dur-fast);
}
.shop-nav-search:focus-within input,
.shop-nav-search:hover input {
  width: 190px;
  opacity: 1;
  border: 1px solid var(--shop-line-strong);
  border-radius: var(--r-md);
  padding: 0 12px;
}
.shop-product .img-wrap > img,
.pdp-main > img,
.pdp-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.shop-product .quick-add:disabled,
.shop-cta:disabled,
.shop-pill-btn:disabled {
  opacity: .62;
  cursor: not-allowed;
}
.is-hidden,
[hidden] {
  display: none !important;
}
.shop-cat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--shop-ink-3);
}
.shop-eyebrow-inline {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--shop-accent);
  font-weight: 600;
}
.shop-editorial-meta {
  font-size: 11px;
  color: var(--shop-ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--shop-line);
}
.shop-gift-card-block {
  min-height: 280px;
}
.shop-gift-card-block .vis {
  background: var(--shop-tile-3);
  grid-template-columns: 1fr;
}
.shop-gift-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f30, #2a1f3a);
}
.shop-gift-card {
  width: min(70%, 420px);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #C9A66B 0%, #8B7340 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #1a1208;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.shop-gift-card > div:first-child {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.shop-gift-card strong {
  display: block;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.shop-gift-card span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  opacity: .7;
}
.shop-inline-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.shop-page-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
}
.shop-page-head h1 {
  font-size: 40px;
  letter-spacing: -.025em;
  font-weight: 600;
  line-height: 1.1;
}
.shop-page-head p {
  color: var(--shop-ink-3);
  margin-top: 6px;
  font-size: 15px;
}
.cart-shipping-progress {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.cart-shipping-progress svg {
  color: var(--shop-accent);
  flex: 0 0 auto;
}
.cart-shipping-progress span {
  color: var(--shop-ink-2);
}
.cart-shipping-progress strong {
  color: var(--shop-ink);
}
.cart-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--shop-surface-2);
  border-radius: 2px;
  overflow: hidden;
}
.cart-progress-bar > div {
  width: 0;
  height: 100%;
  background: var(--shop-accent);
  transition: width .4s;
}
.cart-progress-bar > div.is-free {
  background: #34D399;
}
.cart-gift {
  margin-top: 16px;
  padding: 18px;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-gift > div:nth-child(2) {
  flex: 1;
}
.cart-gift-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--shop-tile-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-accent);
}
.cart-gift-title {
  font-weight: 600;
  font-size: 14px;
}
.cart-gift-sub {
  font-size: 12px;
  color: var(--shop-ink-3);
  margin-top: 2px;
}
.cart-gift label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
}
.cart-status {
  min-height: 18px;
  font-size: var(--fs-xs);
  color: var(--shop-ink-3);
}
.pdp-current {
  color: var(--shop-ink);
}
.pdp-add-cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-add-status {
  min-height: 18px;
  color: var(--shop-ink-2);
  font-size: var(--fs-sm);
}
.pdp-rich-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  font-size: 15px;
  color: var(--shop-ink-2);
  line-height: 1.7;
}
.pdp-rich-grid h3 {
  color: var(--shop-ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.pdp-rich-grid ul {
  margin-top: 12px;
  padding-left: 20px;
}
.pdp-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  color: var(--shop-ink-2);
  line-height: 1.7;
  font-size: 14px;
}
.pdp-service-grid .ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--shop-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-accent);
  margin-bottom: 14px;
}
.pdp-service-grid h4 {
  color: var(--shop-ink);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.co-express-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.checkout-total-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cats-search-mini,
.shop-search-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cats-search-mini input,
.shop-search-field input {
  height: 36px;
  background: var(--shop-bg);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink);
  border-radius: var(--r-sm);
  padding: 0 10px;
  font-size: var(--fs-sm);
}
.cats-search-mini button {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--shop-line-strong);
  color: var(--shop-ink);
  background: var(--shop-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shop-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--shop-ink-3);
}
.shop-search-field input {
  width: min(520px, 70vw);
}
.shop-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  color: var(--shop-ink-3);
  font-size: var(--fs-sm);
}
.shop-pagination a,
.cats-side a.opt {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 760px) {
  .shop-nav-inner {
    grid-template-columns: 1fr auto;
    height: auto;
    gap: 10px;
  }
  .shop-nav-menu {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .shop-nav-menu a.active::after {
    display: none;
  }
  .shop-nav-search:hover input,
  .shop-nav-search:focus-within input {
    width: 130px;
  }
  .shop-page-head,
  .cart-shipping-progress,
  .cats-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .pdp-rich-grid,
  .pdp-service-grid,
  .co-express-grid {
    grid-template-columns: 1fr;
  }
  .cart-table-head {
    display: none;
  }
  .cart-row {
    grid-template-columns: 72px 1fr;
  }
  .cart-row .qty-cell,
  .cart-row .price-cell,
  .cart-row .x-cell {
    grid-column: 2;
    text-align: left;
  }
}
