/* =============================================================================
   Dashmesh Gift Center — Customer Site CSS
   Phase 2 A3-frontend. Mobile-first. No build tools.
   DO NOT redefine --primary/--accent/--bg/--text — they come from head.ejs.
   ============================================================================= */

/* =========================================================================
   SECTION 0 — Extended tokens (not in dashboard.css)
   ========================================================================= */
:root {
  --primary-dark:   #5C141F;
  --primary-soft:   rgba(122, 31, 43, 0.06);
  --primary-line:   rgba(122, 31, 43, 0.12);
  --accent-soft:    rgba(201, 162, 39, 0.14);
  --accent-glow:    rgba(201, 162, 39, 0.45);
  --bg-deep:        #F2E8D2;
  --surface:        #FFFFFF;
  --paper:          #F6EFE0;
  --text-muted:     #6E6862;
  --text-faint:     #9E9893;
  --hairline:       rgba(42, 37, 34, 0.08);
  --ok:             #2F7D58;
  --warn:           #C77A12;
  --danger:         #B3261E;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #128C7E;
  --radius-card:    14px;
  --radius-tile:    12px;
  --radius-chip:    999px;
  --radius-input:   12px;
  --shadow-1:       0 1px 2px rgba(42,37,34,0.05), 0 1px 1px rgba(42,37,34,0.04);
  --shadow-2:       0 4px 16px rgba(42,37,34,0.08), 0 1px 3px rgba(42,37,34,0.05);
  --shadow-3:       0 18px 50px rgba(42,37,34,0.18), 0 4px 12px rgba(42,37,34,0.08);
  --topbar-h:       60px;
  --container-max:  1200px;
  --side-pad:       20px;
}

/* =========================================================================
   SECTION 1 — Base
   ========================================================================= */
/* R3-FIX-F1: removed `overflow-x: hidden` from `html`. On real iOS Safari
   that combo (html + body both with overflow-x:hidden) sometimes promotes
   the body into a containing block for `position: fixed` descendants, which
   broke the sticky bottom .cust-contact-bar — it scrolled with the page
   instead of pinning to the visual viewport bottom (the very symptom Deep
   reported). Keeping horizontal-scroll containment on the body alone is
   enough and is the documented fix. */
html {
  /* no overflow-x here — see R3-FIX-F1 note above */
}

.customer-body {
  background:
    radial-gradient(ellipse at top, rgba(201,162,39,0.05), transparent 55%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

* , *::before, *::after { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Container helper */
.cust-canvas {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* =========================================================================
   SECTION 2 — Topbar (customer variant, sticky)
   ========================================================================= */
.cust-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251,247,240,0.94);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  min-height: var(--topbar-h);
}

.cust-topbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand group wrapper — gesture surface (separate from <a> navigation) */
.cust-brand-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  touch-action: manipulation; /* prevents mobile double-tap-zoom */
}

/* Brand mark */
.cust-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.cust-brand__mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, #8B2535, var(--primary) 70%);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 1px 2px rgba(42,37,34,0.15);
}

.cust-brand__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cust-brand__name small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

/* Desktop nav (hidden on mobile) */
.cust-topbar__nav {
  display: none;
  gap: 24px;
}

.cust-topbar__nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  padding: 8px 0;
  position: relative;
}

.cust-topbar__nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--accent);
}

/* Desktop contact icon buttons (hidden on mobile) */
.cust-topbar__actions {
  display: none;
  gap: 4px;
  margin-right: 4px;
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.icon-btn svg { width: 16px; height: 16px; }

@media (hover: hover) {
  .icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .icon-btn--wa:hover { background: var(--whatsapp); border-color: var(--whatsapp); }
}

/* Right cluster */
.cust-topbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Language pills */
.lang-pills {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  padding: 3px;
}

.lang-pill {
  border: none;
  background: transparent;
  padding: 5px 9px;
  border-radius: var(--radius-chip);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 26px;
  min-width: 30px;
  transition: background 150ms ease, color 150ms ease;
}

.lang-pill.is-active {
  background: var(--primary);
  color: var(--bg);
}

/* Language switcher dropdown (replaces flat lang-pills) */
.cust-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cust-lang-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  padding: 5px 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 30px;
  min-width: 48px;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cust-lang-switcher__current:hover,
.cust-lang-switcher__current[aria-expanded="true"] {
  background: var(--bg-deep);
  color: var(--text);
  border-color: var(--primary-line);
}

.cust-lang-switcher__chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.cust-lang-switcher__current[aria-expanded="true"] .cust-lang-switcher__chevron {
  transform: rotate(180deg);
}

.cust-lang-switcher__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 4px;
  min-width: 52px;
  box-shadow: 0 4px 16px rgba(42,37,34,0.12);
  z-index: 200;
  list-style: none;
  margin: 0;
}

.cust-lang-switcher__menu li {
  margin: 0;
}

.cust-lang-switcher__menu button {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  transition: background 120ms ease, color 120ms ease;
}

.cust-lang-switcher__menu button:hover {
  background: var(--bg-deep);
  color: var(--text);
}

/* Cart button */
.cust-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  padding: 6px 12px 6px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  min-height: 36px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.cust-cart-btn svg { width: 18px; height: 18px; }

.cust-cart-btn__count {
  background: var(--primary);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}

.cust-cart-btn__label {
  display: none;
}

/* =========================================================================
   SECTION 3 — Topbar responsive (tablet + desktop)
   ========================================================================= */
@media (min-width: 768px) {
  :root {
    --side-pad: 32px;
  }
  .cust-cart-btn__label { display: inline; }
}

@media (min-width: 1024px) {
  :root {
    --side-pad: 64px;
  }
  .cust-topbar__nav { display: flex; }
  .cust-topbar__actions { display: inline-flex; }
}

/* =========================================================================
   SECTION 4 — Toast notifications
   ========================================================================= */
.toast-bar {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-chip);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}

.toast-bar.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================================
   SECTION 5 — Hero (home page)
   ========================================================================= */
.cust-hero {
  padding: 32px 0 24px;
}

.cust-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.cust-hero__eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.cust-hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.cust-hero__title em {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}

.cust-hero__sub {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 32ch;
}

.cust-hero__actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cust-hero__pill {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px 8px 10px;
  border-radius: var(--radius-chip);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  transition: background 150ms ease, color 150ms ease;
}

.cust-hero__pill svg { width: 14px; height: 14px; color: var(--primary); }
.cust-hero__pill--wa svg { color: var(--whatsapp); }

/* V4-13: Shop Gifts pill — gold-accent emphasis */
.cust-hero__pill--shop {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 14px;
  padding: 9px 16px 9px 12px;
}
.cust-hero__pill--shop svg { color: var(--accent); }

@media (hover: hover) {
  .cust-hero__pill:hover { background: var(--bg-deep); }
  .cust-hero__pill--shop:hover {
    background: color-mix(in srgb, var(--primary) 80%, #000);
    color: #fff;
  }
}

.cust-hero__finder {
  margin-top: 14px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-input, 12px);
  padding: 10px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .cust-hero__finder:hover {
    background: var(--primary);
    color: var(--bg);
  }
  .cust-hero__finder:hover svg { color: var(--bg); }
}

.cust-hero__finder svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* V4-13: Finder Option A — default, same as base .cust-hero__finder with gold star reinforcement */
.cust-hero__finder--a {
  /* inherits all base styles */
}

/* V4-13: Finder Option B — warm card block with subtitle */
.cust-hero__finder--b {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  text-align: left;
}

.cust-hero__finder-b-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cust-hero__finder-b-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.cust-hero__finder-b-sub {
  font-family: var(--font-body, sans-serif);
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 21px; /* aligns with text after icon */
}

/* V4-13: Finder Option C — editorial minimal text-link style */
.cust-hero__finder--c {
  background: transparent;
  border: none;
  padding: 8px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--primary);
  position: relative;
  min-height: auto;
}

.cust-hero__finder--c em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

@media (hover: hover) {
  .cust-hero__finder--c:hover em {
    text-decoration-thickness: 2.5px;
  }
}

/* Hero art — desktop only */
.cust-hero__art {
  display: none;
}

@media (min-width: 1024px) {
  .cust-hero {
    padding: 0;
  }

  .cust-hero__title { font-size: 76px; line-height: 1.02; }
  .cust-hero__sub { font-size: 17px; max-width: 38ch; }
  .cust-hero__actions { display: none; }

  .cust-hero__art {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    box-shadow: 0 8px 24px rgba(42,37,34,0.10);
    display: grid;
    place-items: center;
  }

  .cust-hero__art img {
    width: 78%; height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(42,37,34,0.12));
  }

  .cust-hero__art-caption {
    position: absolute;
    left: 22px; bottom: 22px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--text-muted);
  }

  .cust-hero__art-caption strong {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
  }
}

/* =========================================================================
   SECTION 6 — Three Moments
   ========================================================================= */
.cust-moments {
  padding: 40px var(--side-pad) 0;
}

@media (min-width: 1024px) {
  .cust-moments { padding: 96px 0 0; }
}

.cust-moments__rail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  border-top: 1px solid var(--accent);
  padding-top: 18px;
}

@media (min-width: 1024px) {
  .cust-moments__rail { margin-bottom: 40px; padding-top: 24px; }
}

.cust-moments__title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
  margin: 0;
}

@media (min-width: 1024px) {
  .cust-moments__title { font-size: 32px; }
}

.cust-moments__title strong { font-style: normal; font-weight: 700; color: var(--primary); }

.cust-moments__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cust-moments__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cust-moments__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cust-moments__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.cust-moment {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cust-moment__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 24px rgba(42,37,34,0.10);
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .cust-moment:hover .cust-moment__img { transform: translateY(-2px); }
}

@media (min-width: 1024px) {
  .cust-moment__img { aspect-ratio: 4 / 5; border-radius: 14px; }
}

.cust-moment__img img { width: 72%; height: 72%; object-fit: contain; }

.cust-moment__img-overlay {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,255,255,0.92);
  padding: 4px 8px;
  border-radius: 999px;
}

.cust-moment__meta { padding: 16px 4px 0; }

@media (min-width: 1024px) {
  .cust-moment__meta { padding: 22px 0 0; }
}

.cust-moment__chapter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--primary);
}

.cust-moment__caption {
  margin-top: 6px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.005em;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .cust-moment__caption { font-size: 26px; line-height: 1.18; }
}

.cust-moment__caption em { font-style: italic; color: var(--primary); font-weight: 700; }

.cust-moment__body {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .cust-moment__body { font-size: 15px; }
}

.cust-moment__foot {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: space-between;
}

.cust-moment__price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.cust-moment__price .cust-rupee {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  opacity: 0.7;
  margin-right: 1px;
}

.cust-moment__link {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* =========================================================================
   SECTION 7 — Generic section wrapper
   ========================================================================= */
.cust-section {
  padding: 40px var(--side-pad) 0;
}

@media (min-width: 1024px) {
  .cust-section { padding: 96px 0 0; }
}

.cust-section__rail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

@media (min-width: 1024px) {
  .cust-section__rail { margin-bottom: 32px; }
}

.cust-section__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
}

@media (min-width: 1024px) {
  .cust-section__title { font-size: 42px; }
}

.cust-section__title em { font-style: italic; color: var(--primary); font-weight: 400; }

.cust-section__see-all {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* =========================================================================
   SECTION 8 — Product card (pixel-for-pixel from dashboard.css)
   NOTE: copied here to keep customer.css self-contained without depending on
   dashboard.css. This avoids loading a file that contains dashboard-only rules.
   ========================================================================= */
.cust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .cust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (min-width: 1024px) {
  .cust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1280px) {
  .cust-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) {
  .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
}

.card.is-oos {
  opacity: 0.55;
  border-top: 2px solid var(--danger);
}

.card.is-oos .card__name { color: var(--text-muted); }

.card__img {
  aspect-ratio: 1;
  background: #ffffff; /* V4-2: explicit white — matches home tile treatment; cream body bg must not show through */
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--hairline), 0 1px 4px rgba(42,37,34,0.05);
}

.card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 8%;
}

.card__badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--surface);
  color: var(--ok);
  border-radius: var(--radius-chip);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow-1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.card__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.card__badge--amber { color: var(--warn); }
.card__badge--amber::before { background: var(--warn); }
.card__badge--red { color: var(--danger); }
.card__badge--red::before { background: var(--danger); }

.card__body {
  padding: 10px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin-top: 2px;
}

.card__price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.cust-card__price .cust-rupee {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-right: 1px;
}

/* Quick-buy CTA — visually dominant per spec. N4 from mockup. */
.card__qbuy {
  margin: 8px 10px 10px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 42px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 3px 10px rgba(122,31,43,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  text-decoration: none;
}

.card__qbuy::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}

@media (hover: hover) {
  .card__qbuy:hover { background: var(--primary-dark); }
}

.card__qbuy svg { width: 14px; height: 14px; }

.card.is-oos .card__qbuy {
  background: var(--bg-deep);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.card.is-oos .card__qbuy::before { background: var(--text-faint); }

/* Gold flash animation for reverse-direction wow */
.card.is-flash {
  animation: card-flash 1500ms ease-out;
}

@keyframes card-flash {
  0%   { box-shadow: 0 0 0 2px var(--accent-glow), var(--shadow-1); }
  100% { box-shadow: 0 0 0 0 rgba(201,162,39,0), var(--shadow-1); }
}

@media (prefers-reduced-motion: reduce) {
  .card.is-flash { animation: none; }
  .card { transition: none; }
}

/* =========================================================================
   SECTION 9 — Why us
   ========================================================================= */
.cust-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 1024px) {
  .cust-why { gap: 32px; }
}

.cust-why-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-1);
}

@media (min-width: 1024px) {
  .cust-why-item {
    text-align: left;
    padding: 28px 0;
    background: none;
    border: none;
    box-shadow: none;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    align-items: start;
  }
}

.cust-why-item__icon {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
}

@media (min-width: 1024px) {
  .cust-why-item__icon { margin: 4px 0 0; background: none; }
}

.cust-why-item__icon svg { width: 18px; height: 18px; }

.cust-why-item__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .cust-why-item__title { font-size: 18px; }
}

.cust-why-item__sub {
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .cust-why-item__sub { font-size: 14px; margin-top: 6px; }
}

/* =========================================================================
   SECTION 10 — Birthday club
   ========================================================================= */
.cust-birthday {
  margin: 40px var(--side-pad);
  padding: 28px 24px;
  background: linear-gradient(160deg, var(--primary) 0%, #4F1019 100%);
  border-radius: 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cust-birthday {
    margin: 96px 0 0;
    padding: 56px 64px;
    text-align: left;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.cust-birthday::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.14), transparent 65%);
  pointer-events: none;
}

.cust-birthday__eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cust-birthday__title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

@media (min-width: 1024px) {
  .cust-birthday__title { font-size: 44px; }
}

.cust-birthday__sub {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 38ch;
}

@media (min-width: 1024px) {
  .cust-birthday__sub { font-size: 16px; }
}

.cust-birthday__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-chip);
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
}

.cust-birthday__cta svg { width: 14px; height: 14px; }

/* =========================================================================
   SECTION 11 — Footer (customer variant)
   ========================================================================= */
.cust-foot {
  margin: 40px var(--side-pad);
  padding: 32px 0 80px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 1024px) {
  .cust-foot {
    margin: 96px 0 0;
    padding: 32px 0 48px;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
}

.cust-foot a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.cust-foot__copy {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
}

/* Taaj Studios footer credit link */
.cust-foot__taaj {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--text-muted);
  transition: color 200ms ease, border-color 200ms ease;
}

.cust-foot__taaj:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* =========================================================================
   SECTION 12 — Sticky WhatsApp FAB (bottom-right)
   ========================================================================= */
.cust-wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.40);
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

@media (hover: hover) {
  .cust-wa-fab:hover { transform: scale(1.06); box-shadow: 0 14px 28px rgba(37,211,102,0.50); }
}

.cust-wa-fab svg { width: 26px; height: 26px; }

/* Checkout / confirmation pages: hide the WA FAB */
.no-wa-fab .cust-wa-fab { display: none; }

/* =========================================================================
   SECTION 13 — Listing page search + chips + sort
   ========================================================================= */
/* R2-1 (round-2 mobile): add horizontal gutter to the controls wrapper so the
   tag chips + sort dropdown + finder icon align to the same inner edge as the
   product grid below. Without this, controls sat at viewport edge while the
   grid sat at --side-pad inside, creating a visible misalignment on mobile. */
.cust-listing-controls {
  padding: 24px var(--side-pad) 0;
}

/* When inside the controls wrapper, strip the children's own horizontal side-pad
   (the wrapper now owns the gutter — children sit flush with controls' inner edge) */
.cust-listing-controls .cust-chip-rail,
.cust-listing-controls .cust-listing-row,
.cust-listing-controls .cust-listing-finder-row {
  padding-left: 0;
  padding-right: 0;
}

.cust-listing-controls h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.cust-listing-controls h1 em { font-style: italic; color: var(--primary); }

.cust-listing-controls__sub {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.cust-listing-search-wrap {
  padding: 16px var(--side-pad) 0;
}

.cust-listing-search {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  box-shadow: var(--shadow-1);
}

.cust-listing-search svg { width: 20px; height: 20px; color: var(--text-muted); flex: 0 0 auto; }

.cust-listing-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 0;
  min-width: 0;
}

.cust-listing-search input::placeholder { color: var(--text-faint); }

.cust-chip-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px var(--side-pad) 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cust-chip-rail::-webkit-scrollbar { display: none; }

.cust-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  border-radius: var(--radius-chip);
  padding: 7px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.cust-chip.is-active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.cust-listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--side-pad) 0;
  gap: 12px;
  flex-wrap: wrap;
}

/* V4-7: Right side of filter row — sort + finder button grouped */
.cust-listing-row__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cust-listing-row__count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.cust-listing-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  padding: 0 8px 0 12px;
  min-height: 32px;
}

.cust-sort-select__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 11px;
}

.cust-sort-select {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 20px 4px 4px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%237A1F2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 5 5 9 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.cust-listing-main {
  padding: 16px var(--side-pad) 0;
}

.cust-load-more-row {
  display: flex;
  justify-content: center;
  padding: 16px var(--side-pad) 32px;
}

.cust-load-more-btn {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-chip);
  padding: 10px 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .cust-load-more-btn:hover { background: var(--primary); color: var(--bg); }
}

/* =========================================================================
   SECTION 14 — Product detail page (Q10 magazine dazzle)
   ========================================================================= */
.cust-pdp {
  padding: 12px 0 80px;
}

.cust-breadcrumb {
  padding: 8px var(--side-pad) 12px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.cust-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.cust-breadcrumb a:hover { color: var(--primary); }
.cust-breadcrumb__sep { color: var(--text-faint); margin: 0 6px; }
.cust-breadcrumb__current { color: var(--primary); }

.cust-pdp__img-wrap {
  margin: 0 var(--side-pad);
  background: var(--bg-deep);
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow-1);
}

.cust-pdp__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 8%;
}

.cust-pdp__info {
  padding: 24px var(--side-pad) 0;
}

.cust-pdp__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.cust-pdp__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 32px;
  line-height: 1.1;
  margin: 8px 0 0;
  letter-spacing: -0.015em;
  color: var(--text);
}

.cust-pdp__price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 0;
}

.cust-pdp__price .cust-rupee {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 26px;
}

/* Gold-rule divider */
.cust-gold-rule {
  width: 56px;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 16px 0;
  border-radius: 2px;
}

/* Stock badge on PDP */
.cust-pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: var(--radius-chip);
  background: rgba(47,125,88,0.10);
  color: var(--ok);
}

.cust-pdp__stock::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.cust-pdp__stock.is-amber { background: rgba(199,122,18,0.12); color: var(--warn); }
.cust-pdp__stock.is-amber::before { background: var(--warn); }
.cust-pdp__stock.is-red { background: rgba(179,38,30,0.10); color: var(--danger); }
.cust-pdp__stock.is-red::before { background: var(--danger); }

/* CTA row on PDP — primary + secondary side by side */
.cust-pdp__cta-row {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

/* CTA stack on PDP (legacy name kept for safety) */
.cust-pdp__ctas {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cust-pdp__cta--primary {
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(122,31,43,0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 150ms ease;
  flex: 1 1 140px;
  max-width: 200px;
  white-space: nowrap;
}

@media (hover: hover) {
  .cust-pdp__cta--primary:hover { background: var(--primary-dark); }
}

.cust-pdp__cta--primary svg { width: 18px; height: 18px; }

.cust-pdp__cta--secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 150ms ease, color 150ms ease;
  flex: 1 1 140px;
  max-width: 200px;
  white-space: nowrap;
}

@media (hover: hover) {
  .cust-pdp__cta--secondary:hover { background: var(--primary); color: var(--bg); }
}

.cust-pdp__cta--secondary svg { width: 16px; height: 16px; }

.cust-pdp__cta--tertiary {
  align-self: center;
  background: transparent;
  border: none;
  color: var(--whatsapp-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cust-pdp__cta--tertiary svg { width: 16px; height: 16px; }

.cust-pdp__desc {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  padding: 0;
}

.cust-pdp__desc p { margin: 0 0 12px; }
.cust-pdp__desc p:last-child { margin-bottom: 0; }

.cust-pdp__qbuy-foot {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.cust-pdp__qbuy-foot h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin: 0 0 12px;
}

/* Assurance icons on PDP */
.cust-pdp__assurance {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.cust-assurance-item { text-align: center; padding: 4px; }

.cust-assurance-item__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--primary);
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
}

.cust-assurance-item__icon svg { width: 14px; height: 14px; }
.cust-assurance-item__label { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cust-assurance-item__sub { font-size: 10px; color: var(--text-muted); margin-top: 1px; line-height: 1.3; }

/* Desktop two-column PDP layout */
@media (min-width: 1024px) {
  .cust-pdp {
    padding: 32px 0 80px;
  }

  .cust-pdp__img-wrap {
    margin: 0;
    aspect-ratio: 1;
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }

  .cust-pdp__info { padding: 0; }
  .cust-pdp__name { font-size: 48px; }
  .cust-pdp__price { font-size: 56px; }
  .cust-pdp__price .cust-rupee { font-size: 32px; }
}

/* =========================================================================
   SECTION 15 — Cart page
   ========================================================================= */
.cust-cart-main {
  padding: 0 0 100px;
}

.cust-cart-header {
  padding: 20px var(--side-pad) 16px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cust-cart-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  margin: 0;
  line-height: 1.15;
}

.cust-cart-items {
  padding: 12px var(--side-pad) 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cust-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--hairline);
}

.cust-cart-item__img {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: var(--bg-deep);
  overflow: hidden;
  flex: 0 0 auto;
}

.cust-cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.cust-cart-item__body { min-width: 0; }

.cust-cart-item__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cust-cart-item__price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-top: 4px;
}

.cust-cart-item__oos-notice {
  font-size: 11px;
  color: var(--warn);
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 150ms ease;
}

@media (hover: hover) {
  .qty-btn:hover { background: var(--bg-deep); }
}

.qty-value {
  font-weight: 700;
  font-size: 15px;
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cust-cart-item__remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 150ms ease;
}

@media (hover: hover) {
  .cust-cart-item__remove:hover { color: var(--danger); }
}

.cust-cart-summary {
  padding: 16px var(--side-pad);
  border-top: 1px solid var(--hairline);
}

.cust-cart-summary__line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cust-cart-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--hairline);
  padding-top: 12px;
  margin-top: 6px;
}

.cust-cart-summary__total-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
}

.cust-cart-summary__total-value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.cust-cart-actions {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 12px var(--side-pad);
  display: flex;
  gap: 10px;
  z-index: 50;
}

@media (min-width: 1024px) {
  .cust-cart-actions {
    position: static;
    border-top: none;
    padding: 16px 0 0;
    background: transparent;
  }
}

/* Two-column cart layout (desktop) */
.cust-cart-layout {
  display: block;
}

@media (min-width: 1024px) {
  .cust-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    padding-top: 8px;
  }
}

.cust-cart-col-items {
  min-width: 0;
}

.cust-cart-col-items .cust-cart-continue-btn {
  display: none;
}

@media (min-width: 1024px) {
  .cust-cart-col-items .cust-cart-continue-btn {
    display: inline-flex;
    margin-top: 16px;
  }
}

.cust-cart-col-summary {
  /* R7: was display:none on mobile — that hid the Proceed-to-Checkout CTA
     entirely (cart was a dead-end). Show on every viewport. The actions row
     inside is position:fixed on mobile so the Checkout button pins to the
     bottom of the viewport as a sticky CTA bar. */
  display: block;
}

.cust-cart-summary-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 16px var(--side-pad);
  margin: 8px var(--side-pad) 0;
}

@media (min-width: 1024px) {
  .cust-cart-summary-card {
    padding: 20px;
    margin: 0;
    position: sticky;
    top: calc(var(--topbar-h, 60px) + 20px);
  }
}

@media (min-width: 1024px) {
  .cust-cart-summary {
    padding: 0;
    border-top: none;
  }
}

.cust-cart-checkout-btn {
  flex: 1;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-chip);
  padding: 0 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 150ms ease;
}

@media (hover: hover) {
  .cust-cart-checkout-btn:hover { background: var(--primary-dark); }
}

.cust-cart-checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cust-cart-checkout-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.cust-cart-continue-btn {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-chip);
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .cust-cart-continue-btn:hover { background: var(--primary); color: var(--bg); }
}

.cust-cart-empty {
  padding: 60px var(--side-pad);
  text-align: center;
}

.cust-cart-empty__icon {
  width: 96px; height: 96px;
  margin: 0 auto 16px;
  color: var(--text-faint);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.cust-cart-empty__icon svg {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  max-width: 96px;
  max-height: 96px;
}

.cust-cart-empty h2 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  margin: 0 0 8px;
}

.cust-cart-empty p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

/* =========================================================================
   SECTION 16 — Checkout page
   ========================================================================= */
.cust-checkout-main {
  padding: 0 0 100px;
}

.cust-checkout-header {
  padding: 20px var(--side-pad) 16px;
  border-bottom: 1px solid var(--hairline);
}

.cust-checkout-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  margin: 0;
  line-height: 1.15;
}

.cust-checkout-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cust-checkout-form {
  padding: 16px var(--side-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cust-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cust-form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 150ms ease;
  min-height: 48px;
}

.cust-form-input:focus { border-color: var(--primary); }
.cust-form-input.has-error { border-color: var(--danger); }

.cust-form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  font-weight: 600;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cust-radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.cust-radio-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.cust-radio-card input[type=radio] { accent-color: var(--primary); width: 18px; height: 18px; flex: 0 0 auto; }

.cust-radio-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.cust-radio-card__sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pickup-info {
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  display: none;
}

.pickup-info.is-visible { display: block; }

.address-field { display: none; margin-top: 8px; }
.address-field.is-visible { display: block; }

.address-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 150ms ease;
}

.address-field textarea:focus { border-color: var(--primary); }
.address-field textarea.has-error { border-color: var(--danger); }

/* UPI mock block */
.cust-upi-mock {
  display: none;
  margin-top: 8px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  text-align: center;
}

.cust-upi-mock.is-visible { display: block; }

.cust-upi-mock__qr {
  width: 120px; height: 120px;
  margin: 0 auto 12px;
  background: var(--bg-deep);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cust-upi-mock__disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

/* Order summary collapsible */
.cust-checkout-summary__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.cust-checkout-summary__toggle svg { width: 14px; height: 14px; transition: transform 200ms ease; }

.cust-checkout-summary__items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
  border-top: 0 solid var(--hairline);
}

.cust-checkout-summary__items.is-open {
  max-height: 400px;
  border-top-width: 1px;
  padding-top: 8px;
  margin-top: 8px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--hairline);
}

.summary-line:last-child { border-bottom: none; }

.summary-line__name { font-weight: 600; color: var(--text); }

.cust-checkout-submit-wrap {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 12px var(--side-pad);
  z-index: 50;
}

.cust-checkout-submit {
  width: 100%;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-chip);
  padding: 0 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  min-height: 52px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 150ms ease;
}

@media (hover: hover) {
  .cust-checkout-submit:hover { background: var(--primary-dark); }
}

.cust-checkout-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.cust-checkout-submit .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cust-checkout-submit .spinner { animation: none; }
}

.cust-checkout-submit.is-loading .spinner { display: block; }
.cust-checkout-submit.is-loading .btn-text { display: none; }

/* =========================================================================
   SECTION 17 — Order confirmation page
   ========================================================================= */
.cust-confirm-main {
  padding: 32px var(--side-pad) 100px;
  max-width: 600px;
  margin: 0 auto;
}

.cust-confirm-check {
  width: 56px; height: 56px;
  color: var(--ok);
  margin-bottom: 16px;
}

.cust-confirm-main h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.cust-confirm-number {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin: 16px 0;
}

.cust-confirm-number__value {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  flex: 1;
}

.cust-confirm-number__copy {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .cust-confirm-number__copy:hover { background: var(--accent-soft); color: var(--primary); }
}

.cust-confirm-number__copy svg { width: 14px; height: 14px; }

.cust-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-chip);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cust-status-pill--pending { background: rgba(201,162,39,0.12); color: var(--warn); }
.cust-status-pill--confirmed { background: rgba(47,125,88,0.10); color: var(--ok); }
.cust-status-pill--out_for_delivery { background: rgba(45,111,159,0.10); color: #2D6F9F; }
.cust-status-pill--delivered { background: rgba(47,125,88,0.10); color: var(--ok); }
.cust-status-pill--cancelled { background: rgba(179,38,30,0.10); color: var(--danger); }

.cust-confirm-details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 16px;
}

.cust-confirm-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.cust-confirm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline);
}

.cust-confirm-detail-row:last-child { border-bottom: none; }
.cust-confirm-detail-label { color: var(--text-muted); font-weight: 600; }
.conf-row__value { color: var(--text); font-weight: 600; }

.cust-confirm-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}

.cust-confirm-item:last-child { border-bottom: none; }

.cust-confirm-item__img {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-deep);
  overflow: hidden;
}

.cust-confirm-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cust-confirm-item__name { font-weight: 600; color: var(--text); }
.cust-confirm-item__qty { color: var(--text-muted); font-size: 11px; }
.cust-confirm-item__total { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; }

.cust-confirm-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0 0;
  border-top: 2px solid var(--hairline);
  margin-top: 8px;
}

.cust-confirm-total__label { font-weight: 700; font-size: 15px; }
.cust-confirm-total__amount { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; font-variant-numeric: tabular-nums; }

.cust-confirm-next {
  margin-top: 20px;
  padding: 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cust-confirm-next h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--text);
}

.cust-confirm-track__content {
  margin-top: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px dashed var(--hairline);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
}

.cust-confirm-next__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* =========================================================================
   SECTION 18 — Quick-buy modal sheet
   ========================================================================= */
/* R3-P1.1: closed quick-buy sheet must be fully hidden — visibility + pointer-events
   in addition to transform. Same pattern as the gift-finder modal below. iOS Safari
   URL-bar reflow + safe-area padding could otherwise leave a 1–2px white sliver
   visible BELOW the sticky contact bar (z-index 200, this sheet at z-index 101). */
.cust-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42,37,34,0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.cust-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}

.cust-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s linear 300ms;
  box-shadow: 0 -10px 40px rgba(42,37,34,0.18);
}

.cust-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .cust-sheet { transition: none; }
  .cust-sheet-backdrop { transition: none; }
}

.cust-sheet__handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--hairline);
  margin: 10px auto 0;
}

.cust-sheet__header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cust-sheet__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.cust-sheet__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-deep);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cust-sheet__close svg { width: 14px; height: 14px; }

.cust-sheet__product {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.cust-sheet__product-img {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--bg-deep);
  overflow: hidden;
  flex: 0 0 auto;
}

.cust-sheet__product-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.cust-sheet__product-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cust-sheet__product-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px; margin-top: 2px; }

.cust-sheet__form {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cust-sheet__error {
  background: rgba(179,38,30,0.08);
  border: 1px solid rgba(179,38,30,0.2);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
/* R7: was display:none + .is-visible class, but the JS toggles the [hidden]
   attribute — which meant validation errors silently never showed. Visibility
   now driven by [hidden] (kept globally in reset.css). */

.cust-sheet__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  position: sticky;
  bottom: 0;
}

/* =========================================================================
   SECTION 19 — Gift Finder modal
   ========================================================================= */
/* R2-6 (round-2): backdrop + modal sit ABOVE the .cust-contact-bar (z-index 200)
   when open, and are fully hidden (visibility + pointer-events) when closed so
   nothing peeks at the bottom of the page. Previously the modal was at z-index
   101 (below the sticky bar), and relied on transform: translateY(100%) alone
   to hide — which on iOS Safari can leave a 1–2px sliver when the URL bar
   reflows. Adding `visibility: hidden` makes the closed state unambiguous. */
.cust-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42,37,34,0.5);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.cust-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}

.cust-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 251;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s linear 300ms;
  box-shadow: 0 -10px 40px rgba(42,37,34,0.18);
}

.cust-modal.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .cust-modal { transition: none; }
  .cust-modal-backdrop { transition: none; }
}

.cust-modal__handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--hairline);
  margin: 10px auto 0;
}

.cust-modal__header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cust-modal__header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0;
}

.cust-modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-deep);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cust-modal__close svg { width: 14px; height: 14px; }

.cust-finder__panel {
  display: none;
  padding: 20px;
}

.cust-finder__panel.is-active { display: block; }

.cust-finder__panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 16px;
}

.cust-finder__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cust-finder__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 150ms ease, background 150ms ease;
  min-height: 52px;
  text-align: left;
  border-width: 1px;
  color: var(--text);
}

/* R5 Task C — the .cust-finder__option { display: flex } above wins over the
   default hidden-attribute style, so options that are hidden via the
   recipient-driven filter would still render. Restore display: none. */
.cust-finder__option[hidden] { display: none; }

.cust-finder__option:hover, .cust-finder__option.is-selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.cust-finder__results {
  padding: 0 20px 4px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* V4-14: 3-column results grid on desktop */
@media (min-width: 600px) {
  .cust-finder__results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cust-finder__results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 16px;
  grid-column: 1 / -1;
}

.cust-finder__results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 500px) {
  .cust-finder__results-grid { grid-template-columns: repeat(3, 1fr); }
}

.cust-finder__disclaimer {
  margin-top: 16px;
  padding: 8px 12px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
}

.cust-finder__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--hairline);
}

/* V4-14: results panel nav has two buttons */
.cust-finder__nav--results {
  gap: 12px;
}

/* V4-14: reset button (secondary action) */
.cust-finder__reset {
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 150ms ease;
}
.cust-finder__reset:hover { color: var(--text); }

/* V4-14: empty state for finder results */
.cust-finder__empty {
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
/* R3-P1.8: [hidden] must trump display:flex above. */
.cust-finder__empty[hidden] { display: none; }

.cust-finder__empty-icon {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cust-finder__empty-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

.cust-finder__empty-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.cust-finder__empty-browse {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-chip);
  padding: 8px 16px;
  transition: background 150ms ease, color 150ms ease;
}
.cust-finder__empty-browse:hover {
  background: var(--primary);
  color: #fff;
}

.cust-finder__step-indicator {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Shimmer animation for finder results */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* R3-P1.7: shimmer is HIDDEN by default. submitFinder() adds .is-active for
   the brief fetch window, then removes it. Previously the block had no display
   rule and stayed visible permanently — a perpetual animated empty rectangle
   between the stepper and "Our picks for you". */
.cust-finder__results-shimmer {
  display: none;
  background: linear-gradient(90deg, var(--bg-deep) 25%, var(--surface) 50%, var(--bg-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
  height: 120px;
}

.cust-finder__results-shimmer.is-active {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .cust-finder__results-shimmer { animation: none; background: var(--bg-deep); }
}

/* =========================================================================
   SECTION 20 — Missing cust-* selectors (prefix-fix round-2 additions)
   Covers HTML classes that had no CSS rule at all after the rename pass.
   ========================================================================= */

/* --- Layout scaffold --- */
.cust-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.cust-hero__copy { /* text column — natural flow on mobile */ }
.cust-hero__date {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

@media (min-width: 1024px) {
  /* R5 Task F — desktop hero: text top-aligned so the headline + subtext sit
     directly under the topbar instead of being pushed down by the (taller)
     right-hand product card column. Previously align-items: end vertically
     centred-bottomed the text against the card, leaving a large empty gap
     above the headline. The CTA buttons live in a separate section
     (.cust-home-ctas) below .cust-hero so they're unaffected by this change.
     Mobile (< 1024px) is single-column flow — also unaffected. */
  .cust-hero__inner {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: start;
    padding: 72px var(--side-pad) 24px;
  }
}

/* --- Toast stack container --- */
.cust-toast-stack {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Individual toast items (JS-created, uses .toast-bar class) */
.toast-bar {
  background: var(--text);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-chip);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 250ms ease, transform 250ms ease;
}
.toast-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Grid skeleton --- */
.cust-grid__skeleton {
  background: linear-gradient(90deg, var(--bg-deep) 25%, var(--paper) 50%, var(--bg-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: var(--radius-card);
  aspect-ratio: 3 / 4;
}
@media (prefers-reduced-motion: reduce) {
  .cust-grid__skeleton { animation: none; background: var(--bg-deep); }
}

/* --- Footer --- */
.cust-foot {
  margin-top: 40px;
  padding: 32px 0 80px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 1024px) {
  .cust-foot {
    margin-top: 96px;
    padding: 32px 0 48px;
    text-align: left;
  }
}
.cust-foot a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}
.cust-foot__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1024px) {
  .cust-foot__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}
.cust-foot__links {
  display: flex;
  gap: 12px;
}

/* --- Badges (used on PDP stock and product cards) --- */
.cust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-chip);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.cust-badge--ok { background: rgba(47,125,88,0.10); color: var(--ok); }
.cust-badge--warn { background: rgba(199,122,18,0.12); color: var(--warn); }
.cust-badge--danger { background: rgba(179,38,30,0.10); color: var(--danger); }

/* --- Breadcrumb --- */
.cust-breadcrumb { padding: 8px 0 12px; }
.cust-breadcrumb .cust-canvas { padding: 0 var(--side-pad); }
.cust-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  flex-wrap: wrap;
}
.cust-breadcrumb__list a { color: var(--text-muted); text-decoration: none; }
.cust-breadcrumb__list a:hover { color: var(--primary); }
.cust-breadcrumb__list [aria-current='page'] { color: var(--primary); }

/* --- PDP extra structural classes --- */
.cust-pdp__layout {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cust-pdp__layout {
    grid-template-columns: 1fr minmax(320px, 480px);
    gap: 64px;
    align-items: start;
  }
}
.cust-pdp__gallery { /* image column — natural flow on mobile */ }
.cust-pdp__img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8%; }
.cust-pdp__img-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--bg-deep);
  border-radius: var(--radius-card);
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: var(--primary);
  opacity: 0.3;
}
.cust-pdp__price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cust-pdp__stock-badge { display: inline-block; }
.cust-pdp__qbuy-sep {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.cust-pdp__qbuy {
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(122,31,43,0.24);
  transition: background 150ms ease;
  align-self: flex-start;
}
.cust-pdp__cta { /* base class for all three CTAs — styles come from modifier classes */ }
@media (hover: hover) {
  .cust-pdp__qbuy:hover { background: var(--primary-dark); }
}
.cust-pdp__qbuy:disabled {
  background: var(--bg-deep);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}
.cust-pdp__qbuy svg { width: 16px; height: 16px; flex-shrink: 0; }

/* V4-3: WhatsApp to Order CTA on detail page */
.cust-pdp__cta--wa {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 150ms ease;
  flex: 1 1 140px;
  max-width: 200px;
  white-space: nowrap;
}
.cust-pdp__cta--wa svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (hover: hover) {
  .cust-pdp__cta--wa:hover { opacity: 0.9; }
}

/* V4-5: Trust cards (delivery + why-shop) below buy-now on detail page */
.cust-pdp__trust-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .cust-pdp__trust-cards { grid-template-columns: 1fr 1fr; }
}
.cust-pdp__trust-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  background: var(--surface);
}
.cust-pdp__trust-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cust-pdp__trust-review {
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--warn);
  font-style: italic;
}
.cust-pdp__trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cust-pdp__trust-list li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =========================================================================
   V5-3: Detail page button row redesign
   1. Contact row (Call + WA): stays side-by-side, text slightly smaller
   2. Delivery inline strip: compact info between contact and purchase rows
   3. Purchase row (Add to Cart + Buy Now):
      mobile  (< 768px) = stacked full-width
      desktop (>= 768px) = side-by-side flex:1
   ========================================================================= */

/* Contact row: smaller text, fill available space without max-width cap */
.cust-pdp__cta-row--contact .cust-pdp__cta--primary,
.cust-pdp__cta-row--contact .cust-pdp__cta--wa {
  font-size: 14px;
  max-width: none;
  flex: 1 1 120px;
  padding: 0 14px;
}
@media (min-width: 1024px) {
  .cust-pdp__cta-row--contact .cust-pdp__cta--primary,
  .cust-pdp__cta-row--contact .cust-pdp__cta--wa {
    font-size: 15px;
  }
}

/* R7: Per-product WhatsApp banner (only shown when wa_mode === 'ai').
   Sits between the Buy-now row and the Share button. Card-style accent on
   WhatsApp green, mirroring the AI call-pill treatment. */
.cust-pdp__wa-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  background: #25d3661a; /* WhatsApp green @ 10% */
  border: 1px solid #25d36640;
  border-radius: var(--radius-card);
  color: var(--text);
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}
.cust-pdp__wa-banner:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}
@media (hover: hover) {
  .cust-pdp__wa-banner:hover {
    background: #25d36626;
    border-color: #25d36680;
  }
}
.cust-pdp__wa-banner__icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cust-pdp__wa-banner__icon svg { width: 22px; height: 22px; }
.cust-pdp__wa-banner__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cust-pdp__wa-banner__text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cust-pdp__wa-banner__text small {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}
.cust-pdp__wa-banner__chev {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  color: var(--text-muted);
}

/* Delivery inline strip */
.cust-pdp__delivery-inline {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--bg-deep);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
}
.cust-pdp__delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cust-pdp__delivery-list li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Purchase row — mobile-first: stacked full-width */
.cust-pdp__purchase-row {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Add to Cart button */
.cust-pdp__cta--cart {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 150ms ease, color 150ms ease;
  width: 100%;
}
.cust-pdp__cta--cart svg { width: 16px; height: 16px; flex-shrink: 0; }
.cust-pdp__cta--cart:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (hover: hover) {
  .cust-pdp__cta--cart:hover { background: var(--primary); color: var(--bg); }
}

/* Buy Now button */
.cust-pdp__cta--buy {
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(122,31,43,0.24);
  transition: background 150ms ease;
  width: 100%;
}
.cust-pdp__cta--buy svg { width: 16px; height: 16px; flex-shrink: 0; }
.cust-pdp__cta--buy:disabled {
  background: var(--bg-deep);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}
@media (hover: hover) {
  .cust-pdp__cta--buy:hover { background: var(--primary-dark); }
}

/* Desktop: side-by-side, each 50% */
@media (min-width: 768px) {
  .cust-pdp__purchase-row {
    flex-direction: row;
  }
  .cust-pdp__cta--cart,
  .cust-pdp__cta--buy {
    flex: 1;
    width: auto;
  }
}

/* --- Sheet (quick-buy) missing elements --- */
.cust-sheet__title-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.cust-sheet__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}
.cust-sheet__submit {
  width: 100%;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-chip);
  padding: 0 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 52px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 150ms ease;
  margin-top: 16px;
}
@media (hover: hover) {
  .cust-sheet__submit:hover { background: var(--primary-dark); }
}
.cust-sheet__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cust-sheet__submit-arrow { width: 14px; height: 14px; }
.cust-sheet__submit-spin {
  width: 14px; height: 14px;
  animation: spin 0.6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cust-sheet__submit-spin { animation: none; }
}

/* --- Fieldset and radio labels in quick-buy sheet --- */
.cust-fieldset {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-tile);
  padding: 12px 14px;
  background: var(--bg);
  margin: 0;
}
.cust-fieldset__legend {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 6px;
}
.cust-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  min-height: 36px;
  cursor: pointer;
}
.cust-radio-label + .cust-radio-label { border-top: 1px solid var(--hairline); padding-top: 8px; margin-top: 4px; }
.cust-radio-label input[type=radio] { accent-color: var(--primary); width: 16px; height: 16px; flex: 0 0 auto; }

/* --- Form label and hint --- */
.cust-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cust-form-hint {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 4px;
}
.cust-form-optional {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 11px;
}

/* --- Radio cards (used in checkout fieldsets) --- */
.cust-radio-card {
  display: block;
  cursor: pointer;
  margin-bottom: 8px;
  position: relative;
}
/* Input is visually hidden but retains full-label hit-area so Playwright (and keyboard/
   screen-reader users) can interact with it directly. opacity:0 hides it; 100%/100%/inset:0
   means any click anywhere on the card label reaches the input. */
.cust-radio-card input[type=radio] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cust-radio-card__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-tile);
  transition: border-color 150ms ease, background 150ms ease;
}
.cust-radio-card input:checked + .cust-radio-card__inner {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.cust-radio-card__inner svg { width: 20px; height: 20px; color: var(--primary); flex: 0 0 auto; }
.cust-radio-card__title { font-size: 14px; font-weight: 600; color: var(--text); }
.cust-radio-card__sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* --- Modal (Gift Finder) extra --- */
.cust-modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cust-modal__title svg { width: 14px; height: 14px; color: var(--accent); }
.cust-modal__handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--hairline);
  margin: 10px auto 0;
}

/* --- Gift Finder steps/panels --- */
.cust-finder__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--hairline);
}
.cust-finder__step {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex: 0 0 auto;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.cust-finder__step.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
}
.cust-finder__step-line {
  flex: 0 0 24px;
  height: 1.5px;
  background: var(--hairline);
}
.cust-finder__panel {
  padding: 20px;
}
.cust-finder__panel.is-active { display: block; }
.cust-finder__question {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 16px;
}
.cust-finder__next,
.cust-finder__back,
.cust-finder__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-chip);
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  cursor: pointer;
  transition: background 150ms ease;
}
.cust-finder__back {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--hairline);
}
@media (hover: hover) {
  .cust-finder__next:hover,
  .cust-finder__submit:hover { background: var(--primary-dark); }
  .cust-finder__back:hover { background: var(--bg-deep); }
}
.cust-finder__next:disabled,
.cust-finder__submit:disabled { opacity: 0.45; cursor: not-allowed; }
.cust-finder__next svg,
.cust-finder__back svg { width: 14px; height: 14px; }
.cust-finder__results-header { margin-bottom: 12px; }
.cust-finder__results-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* R3-P1.8: [hidden] must trump display:flex above. Without this, the
   "Our picks for you" title showed even when JS set titleEl.hidden = true
   in the no-match path, pushing the "No exact matches" heading below it. */
.cust-finder__results-title[hidden] { display: none; }
.cust-finder__results-title svg { width: 14px; height: 14px; color: var(--accent); }

/* --- Listing controls extra elements --- */
.cust-listing-search__icon { width: 20px; height: 20px; color: var(--text-muted); flex: 0 0 auto; }
.cust-listing-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 0;
  min-width: 0;
}
.cust-listing-search__input::placeholder { color: var(--text-faint); }
.cust-listing-finder-row {
  padding: 8px 0 0;
}
.cust-listing-finder {
  /* Inherits button shape from .cust-hero__finder; smaller on listing page */
  font-size: 13px;
  padding: 8px 16px;
  min-height: 40px;
}
.cust-listing-finder svg { width: 12px; height: 12px; flex-shrink: 0; }

/* V4-7: inline finder button in filter row — gentle pulse to draw attention */
.cust-listing-finder--inline {
  font-size: 12px;
  padding: 6px 12px;
  min-height: 32px;
  animation: listing-finder-pulse 2s ease-in-out 2s 3;
}
@keyframes listing-finder-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122,31,43,0); }
  50% { box-shadow: 0 0 0 4px rgba(122,31,43,0.18); }
}

/* --- Listing empty state --- */
.cust-empty {
  padding: 60px var(--side-pad);
  text-align: center;
  color: var(--text-muted);
}
.cust-empty svg { width: 56px; height: 56px; color: var(--text-faint); margin-bottom: 12px; }
.cust-empty p { font-size: 14px; margin: 0 0 16px; }
.cust-empty__reset {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-chip);
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

/* --- Cart page extra classes --- */
.cust-cart__heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  margin: 0;
  padding: 20px var(--side-pad) 16px;
  border-bottom: 1px solid var(--hairline);
}
.cust-cart-empty__text { color: var(--text-muted); font-size: 14px; margin: 0 0 16px; }
.cust-cart-empty__cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-chip);
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
.cust-cart-summary__line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
}
.cust-cart-summary__value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.cust-cart-summary__note {
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 8px;
}

/* JS-rendered cart items (customer.js) */
.cust-cart-item__img-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--primary);
  opacity: 0.4;
}
.cust-cart-item__info { min-width: 0; flex: 1; }
.cust-cart-item__stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cust-stepper-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cust-stepper-qty { font-weight: 700; font-size: 14px; min-width: 20px; text-align: center; }
.cust-cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.cust-cart-item__line-total {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
}

/* --- Checkout page extra structural --- */
.cust-checkout-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--side-pad) 100px;
}
.cust-checkout__heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  margin: 0 0 24px;
  padding-top: 20px;
}
.cust-checkout__error {
  background: rgba(179,38,30,0.08);
  border: 1px solid rgba(179,38,30,0.2);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.cust-checkout-summary {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}
.cust-checkout-summary__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: none;
  border: none;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.cust-checkout-summary__total {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.cust-checkout-summary__chevron {
  width: 14px; height: 14px;
  transition: transform 200ms ease;
  flex: 0 0 auto;
}
[aria-expanded='true'] .cust-checkout-summary__chevron { transform: rotate(180deg); }
/* Note: .cust-checkout-summary__items accordion styles are in SECTION 16 above */
.cust-checkout-fieldset {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 16px;
  background: var(--surface);
  margin: 0 0 24px;
}
.cust-checkout-fieldset__legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 6px;
  margin-bottom: 12px;
}
.cust-checkout-legal {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* --- Confirmation page extra structural --- */
.cust-confirm-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px var(--side-pad) 100px;
}
.cust-confirm-header {
  text-align: center;
  margin-bottom: 24px;
}
.cust-confirm-header__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  margin: 12px 0 6px;
}
.cust-confirm-header__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}
.cust-confirm-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0;
}
.cust-confirm-number__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cust-confirm-number__value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: 0.06em;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cust-confirm-number__value svg { width: 14px; height: 14px; color: var(--text-muted); }
.cust-confirm-status {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cust-confirm-status__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cust-confirm-status__pill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cust-confirm-status__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ok);
}
.cust-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .cust-live-dot { animation: none; }
}
.cust-confirm-details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 16px;
}
.cust-confirm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline);
}
.cust-confirm-detail-row:last-child { border-bottom: none; }
.cust-confirm-detail-label { color: var(--text-muted); font-weight: 600; }
.cust-confirm-items { margin-bottom: 16px; }
.cust-confirm-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.cust-confirm-item:last-child { border-bottom: none; }
.cust-confirm-item__img {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--bg-deep);
  overflow: hidden;
}
.cust-confirm-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cust-confirm-item__img-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  opacity: 0.4;
}
.cust-confirm-item__info { min-width: 0; }
.cust-confirm-item__name {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.cust-confirm-item__name:hover { color: var(--primary); }
.cust-confirm-item__qty { font-size: 11px; color: var(--text-muted); }
.cust-confirm-item__total {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
}
.cust-confirm-total {
  padding: 12px 0 0;
  border-top: 2px solid var(--hairline);
  margin-top: 8px;
  margin-bottom: 24px;
}
.cust-confirm-total__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cust-confirm-total__row span:first-child { font-weight: 700; font-size: 15px; }
.cust-confirm-total__amount {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.cust-confirm-next {
  margin-top: 20px;
  padding: 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
}
.cust-confirm-next__title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}
.cust-confirm-next__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}
.cust-confirm-next__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cust-confirm-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-chip);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  transition: background 150ms ease;
}
.cust-confirm-cta svg { width: 18px; height: 18px; }
.cust-confirm-cta--call { color: var(--primary); border-color: var(--primary); }
.cust-confirm-cta--wa { color: var(--whatsapp-dark); border-color: var(--whatsapp); }
@media (hover: hover) {
  .cust-confirm-cta--call:hover { background: var(--primary); color: var(--bg); }
  .cust-confirm-cta--wa:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
}
.cust-confirm-track {
  margin-top: 16px;
  margin-bottom: 16px;
}
.cust-confirm-track__btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.cust-confirm-track__btn svg { width: 14px; height: 14px; }
.cust-confirm-track__content {
  margin-top: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px dashed var(--hairline);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.cust-confirm-browse {
  margin-top: 24px;
  text-align: center;
}
.cust-confirm-browse__link {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* --- JS-created checkout summary items --- */
.cust-checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}

/* End of Section 20 */

/* =========================================================================
   SECTION 21 — Multi-image gallery thumbnail strip (PDP)
   ========================================================================= */
.cust-detail__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px var(--side-pad) 0;
}

.cust-detail__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease;
}

.cust-detail__thumb:hover {
  border-color: var(--accent);
}

.cust-detail__thumb.is-active {
  border-color: var(--primary);
}

.cust-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1024px) {
  .cust-detail__thumbs {
    margin: 10px 0 0;
  }
}

/* =========================================================================
   SECTION 22 — Gallery dots, counter, fade transition
   ========================================================================= */

/* Main image fade transition */
.cust-pdp__img.is-fading {
  opacity: 0;
  transition: opacity 200ms ease;
}
.cust-pdp__img {
  transition: opacity 200ms ease;
}

/* Position counter — top-right of img-wrap */
.cust-detail__counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(42,37,34,0.55);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
}

/* Dot strip — bottom-center of img-wrap */
.cust-detail__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.cust-detail__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /* V5-6: semi-transparent dark — visible on deep-cream image bg */
  border: 1.5px solid rgba(255,255,255,0.6);
  background: rgba(0, 0, 0, 0.40);
  padding: 0;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  flex-shrink: 0;
}

.cust-detail__dot.is-active {
  /* V5-6: gold accent for active dot — matches brand */
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.cust-detail__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================================
   SECTION 18 — Tile multi-image dots (home page tiles)
   Small unobtrusive dots — bottom-center of tile image
   ========================================================================= */
.cust-moment__img,
.card__img {
  position: relative;
}

.cust-tile__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  /* pointer-events: auto so desktop hover-on-dot works (was pointer-events:none — V4-11 fix) */
  pointer-events: auto;
}

.cust-tile__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /* V5-6: semi-transparent dark fill — visible on both white and cream image backgrounds */
  border: 1.5px solid rgba(255,255,255,0.6);
  background: rgba(0, 0, 0, 0.40);
  transition: background 150ms ease, transform 150ms ease;
  flex-shrink: 0;
  cursor: pointer;
}

.cust-tile__dot.is-active {
  /* V5-6: gold accent for active state — matches brand, visible on any background */
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

/* On dark-bg moments cards, same treatment works well */
.cust-moment__img .cust-tile__dot {
  border-color: rgba(251,247,240,0.6);
  background: rgba(0, 0, 0, 0.35);
}

.cust-moment__img .cust-tile__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Affordance: subtle image scale on featured card hover to signal gallery */
.card__img-link:hover .cust-tile__main-img {
  transform: scale(1.04);
  transition: transform 240ms ease;
}
.card__img img {
  transition: transform 240ms ease;
}

/* =========================================================================
   SECTION 19 — Sticky contact bar (V4-12)
   Fixed bottom bar: Call + WhatsApp. Hidden by default; shown via JS
   IntersectionObserver when the hero/PDP CTA row scrolls out of view.
   ========================================================================= */
/* R3-FIX-F1: bar is pinned to the visual viewport bottom on mobile.
   - `position: fixed; inset: auto 0 0 0;` makes left=0, right=0, bottom=0
     in a single shorthand that no future edit can accidentally split.
   - `padding-bottom: env(safe-area-inset-bottom)` keeps button content above
     the iPhone home indicator (the bar's BACKGROUND still fills down to the
     hardware bottom — that is by design and is not the "gap" Deep reported).
   - `will-change: transform` promotes the bar onto its own compositing layer
     so the slide-up transform doesn't get re-rasterized against a parent
     containing block on iOS Safari URL-bar reflow.
   - `transform: translateZ(0)` on hidden state forces GPU layer eagerly so
     the first show animation is smooth and never paints in the wrong place. */
.cust-contact-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -2px 12px rgba(42,37,34,0.10);
  /* Hidden by default — JS adds .is-visible */
  transform: translate3d(0, 100%, 0);
  transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  /* Keep bar above other fixed elements */
  isolation: isolate;
  /* Safe area for phones with home indicator (bar background extends through it). */
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.cust-contact-bar.is-visible {
  transform: translate3d(0, 0, 0);
}

.cust-contact-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 12px;
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 52px; /* WCAG touch target */
  transition: background 160ms ease, color 160ms ease;
}

.cust-contact-bar__btn--call {
  background: var(--primary);
  color: #fff;
}

.cust-contact-bar__btn--call:hover,
.cust-contact-bar__btn--call:focus-visible {
  background: color-mix(in srgb, var(--primary) 85%, #000);
  color: #fff;
  outline: none;
}

.cust-contact-bar__btn--wa {
  background: var(--whatsapp, #25D366);
  color: #fff;
}

.cust-contact-bar__btn--wa:hover,
.cust-contact-bar__btn--wa:focus-visible {
  background: color-mix(in srgb, var(--whatsapp, #25D366) 85%, #000);
  color: #fff;
  outline: none;
}

/* When only one button (e.g. no phone or no WA configured), make it full width */
.cust-contact-bar__btn:only-child {
  max-width: 480px;
  margin: 0 auto;
}

/* Divider between call and wa buttons */
.cust-contact-bar__btn + .cust-contact-bar__btn {
  border-left: 1px solid rgba(255,255,255,0.15);
}

/* On desktop (>= 768px) constrain bar width and add rounded top corners */
@media (min-width: 768px) {
  .cust-contact-bar {
    max-width: 540px;
    inset: auto auto 0 50%;
    transform: translate3d(-50%, 100%, 0);
    border-radius: 12px 12px 0 0;
    border-left: 1px solid var(--hairline);
    border-right: 1px solid var(--hairline);
  }
  .cust-contact-bar.is-visible {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =============================================================================
   WAVE-5 — AI-line call integration
   ============================================================================= */

/* Topbar call button (.cust-topbar__call) */
.cust-topbar__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-chip);
  padding: 7px 13px 7px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.cust-topbar__call:hover,
.cust-topbar__call:focus-visible {
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(122, 31, 43, 0.25);
  outline: none;
}

.cust-topbar__call svg {
  flex-shrink: 0;
}

/* Hide text label at <= 375px — icon only with aria-label */
@media (max-width: 375px) {
  .cust-topbar__call span {
    display: none;
  }
  .cust-topbar__call {
    padding: 7px 10px;
  }
}

/* Wave-5-B1-corrections: hide the Call us pill on mobile/tablet (<1024px).
   The brand name truncates visually when the pill is present at narrow widths.
   Desktop (>=1024px) keeps the pill via the rules above. */
@media (max-width: 1023px) {
  .cust-topbar__call {
    display: none;
  }
}

/* Footer AI-line call block (.cust-foot__call) */
.cust-foot__call {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cust-foot__call svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.cust-foot__call-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.cust-foot__call-link:hover {
  color: var(--primary);
}

.cust-foot__call-number {
  font-weight: 600;
  color: var(--primary);
}

/* Product detail page AI-call CTA (.cust-pdp__call-cta) */
.cust-pdp__call-cta {
  margin-top: 20px;
  margin-bottom: 4px;
}

.cust-pdp__call-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--primary-line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  cursor: pointer;
}

.cust-pdp__call-btn:hover,
.cust-pdp__call-btn:focus-visible {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(122, 31, 43, 0.08);
  outline: none;
}

.cust-pdp__call-btn svg {
  flex-shrink: 0;
  color: var(--primary);
}

.cust-pdp__call-btn div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.cust-pdp__call-btn strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.cust-pdp__call-btn small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Homepage hero AI note (.cust-hero__ai-note) */
.cust-hero__ai-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-heading, serif);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0;
  min-height: 44px;
  transition: color 150ms ease;
}

.cust-hero__ai-note:hover {
  color: var(--accent);
}

.cust-hero__ai-note svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* =========================================================================
   WAVE-5-B1 SECTION A — Home search bar
   ========================================================================= */
.cust-search-bar {
  background: var(--bg);
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: var(--topbar-h);
  z-index: 70;
}

/* R2-2 (round-2 mobile): tighten the vertical gap between the search bar and
   the first content row (category tags on /products, hero on /). Trims the
   search bar's bottom pad and the immediate-next section's top pad so more
   content sits above the fold without making it cramped. Desktop unchanged. */
@media (max-width: 767px) {
  .cust-search-bar { padding: 8px 0 6px; }
  .cust-listing-controls { padding-top: 12px; }
  .cust-listing-row { padding-top: 6px; }
  .cust-hero { padding-top: 20px; }
}

.cust-search-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cust-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  padding: 0 12px;
  min-height: 46px;
  box-shadow: var(--shadow-1);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  cursor: text;
}

.cust-search-input:focus-within {
  border-color: var(--primary-line);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.08), var(--shadow-1);
}

.cust-search-input__icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.cust-search-input input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  min-width: 0;
  padding: 0;
  -webkit-appearance: none;
}

.cust-search-input input[type="search"]::-webkit-search-cancel-button { display: none; }
.cust-search-input input[type="search"]::placeholder { color: var(--text-faint); }

.cust-search-input__mic {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--primary);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  transition: background 150ms ease;
}

.cust-search-input__mic:hover { background: var(--primary-soft); }

.cust-search-input__mic--listening {
  color: var(--danger);
  animation: cust-mic-pulse 1s ease-in-out infinite;
}

@keyframes cust-mic-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .cust-search-input__mic--listening { animation: none; }
}

.cust-search-bar__listening {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px;
  font-size: 13px;
  color: var(--primary);
  font-style: italic;
}

.cust-search-bar__pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: cust-pulse-dot 1s ease-in-out infinite;
}

@keyframes cust-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .cust-search-bar__pulse { animation: none; }
}

/* =========================================================================
   WAVE-5-B1 SECTION B — Hot Picks carousel
   ========================================================================= */
.cust-hotpicks {
  padding: 24px 0 4px;
}

.cust-hotpicks__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cust-hotpicks__heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  color: var(--text);
}

.cust-hotpicks__see-all {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.cust-hotpicks__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--side-pad) 16px;
  scrollbar-width: none;
  /* R2-3 (round-2 mobile): constrain the track to --container-max at all widths
     so the leading edge aligns with the page gutter on mobile too. The horizontal
     padding (--side-pad) places the first card inside the same inner edge as the
     rest of the page content; trailing cards are still scrollable. The original
     full-bleed mobile feel is intentionally overridden per Deep's review. */
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  box-sizing: border-box;
}

.cust-hotpicks__track::-webkit-scrollbar { display: none; }

.cust-hotpicks__card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .cust-hotpicks__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
}

.cust-hotpicks__img-wrap {
  width: 160px;
  height: 160px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cust-hotpicks__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  padding: 10%;
  display: block;
}

.cust-hotpicks__info {
  padding: 8px 10px 10px;
}

.cust-hotpicks__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 31px;
}

.cust-hotpicks__price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .cust-hotpicks__card { flex: 0 0 180px; }
  .cust-hotpicks__img-wrap { width: 180px; height: 180px; }
  .cust-hotpicks__img { width: 180px; height: 180px; }
}

/* =========================================================================
   WAVE-5-B1 SECTION C — Primary CTA row (Shop gifts + Help me choose)
   ========================================================================= */
.cust-home-ctas {
  padding: 4px 0 0;
}

.cust-home-ctas__row {
  display: flex;
  gap: 12px;
  padding: 12px var(--side-pad);
}

.cust-cta {
  flex: 1;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-card);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cust-cta--shop {
  background: var(--primary);
  color: var(--bg);
  transition: background 150ms ease;
}

@media (hover: hover) {
  .cust-cta--shop:hover { background: var(--primary-dark); }
}

.cust-cta--shop svg {
  flex-shrink: 0;
  color: var(--accent);
}

.cust-cta--magic {
  background: linear-gradient(135deg, #c9a13b 0%, #e6c460 50%, #c9a13b 100%);
  background-size: 200% 200%;
  color: var(--primary);
  font-weight: 700;
  /* R2-4 (round-2): two layered animations — the existing background shimmer
     plus a gold-halo glow pulse, consistent with the AI-tagline glow elsewhere
     on the page. The combo draws the eye without being noisy. */
  animation:
    cust-cta-magic-shimmer 4s ease-in-out infinite,
    cust-cta-magic-glow 2.8s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(201, 161, 59, 0.30);
}

/* R3-FIX-F2: simple, symmetric flex centering for BOTH CTAs.
   Children of the magic CTA were restructured to match Shop CTA's bare
   <svg> + <span> structure. Rules here are now identical for both buttons
   so the centered [icon + label] block visually mirrors across the row. */
.cust-home-ctas__row .cust-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.cust-home-ctas__row .cust-cta > svg {
  flex: 0 0 auto;
  display: block;
}
.cust-home-ctas__row .cust-cta > span {
  flex: 0 0 auto;
  display: inline-block;
}

/* Wave-5 polish T8: mobile-specific tightening for Help-me-choose magic CTA.
   On narrow widths the 15px / weight 700 / 56px-height combo with the sparkle
   emoji read as oversized + visually heavier than the maroon Shop-gifts twin.
   Trim font-size, reduce padding, shrink min-height a touch for balance. */
@media (max-width: 767px) {
  .cust-home-ctas__row .cust-cta {
    min-height: 48px;
    font-size: 13.5px;
    padding: 8px 10px;
  }
  .cust-home-ctas__row .cust-cta--magic {
    letter-spacing: -0.005em;
  }
}

@keyframes cust-cta-magic-shimmer {
  0%, 100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.02);
  }
}

/* R2-4 (round-2): gold halo pulse — slower, layered separately from the
   shimmer so the two animations don't fight each other. Matches the warmth
   of .cust-ai-tagline's glow so the page reads cohesively. */
@keyframes cust-cta-magic-glow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.30);
  }
  50% {
    box-shadow: 0 6px 22px rgba(201, 161, 59, 0.65),
                0 0 0 4px rgba(201, 161, 59, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cust-cta--magic {
    animation: none;
    background: linear-gradient(135deg, #c9a13b 0%, #e6c460 100%);
    background-size: 100% 100%;
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.30);
  }
}

/* R3-FIX-F2: .cust-cta__sparkle / .cust-cta__icon / .cust-cta__label rules
   were removed along with the wrapper spans in the magic CTA markup. The
   button now uses the same bare <svg> + <span> structure as the Shop CTA,
   centered by the single .cust-home-ctas__row .cust-cta flex rule above. */

/* =========================================================================
   WAVE-5-B1 SECTION D — AI assistant tagline (glow animation)
   ========================================================================= */
.cust-ai-tagline-wrap {
  padding: 4px 0;
  text-align: center;
}

/* R3-FIX-F1: on mobile the italic "Talk to our AI assistant — available 24/7"
   pill clutters the space directly above the sticky Call/WhatsApp bar (Call
   24x7 AI is already on the bar itself). Hide on phones; desktop keeps it. */
@media (max-width: 767px) {
  .cust-ai-tagline-wrap { display: none; }
}

.cust-ai-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--font-heading, serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--primary-dark, var(--primary));
  text-decoration: none;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  /* Wave-5 polish T3: richer pulsing glow — text-shadow + box-shadow + a subtle
     color tween. Still tasteful, no scale wobble (Playwright stability + UX). */
  animation: cust-ai-glow 3.2s ease-in-out infinite;
  transition: color 150ms ease;
  will-change: text-shadow, box-shadow;
}

@keyframes cust-ai-glow {
  0%, 100% {
    text-shadow: 0 0 0 transparent;
    box-shadow: 0 0 0 0 rgba(201, 161, 59, 0);
  }
  50% {
    text-shadow: 0 0 14px rgba(201, 161, 59, 0.70);
    box-shadow: 0 0 18px 2px rgba(201, 161, 59, 0.32),
                0 0 4px 0 rgba(122, 31, 43, 0.10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cust-ai-tagline { animation: none; }
}

.cust-ai-tagline:hover { color: var(--accent); }

.cust-ai-tagline svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* =========================================================================
   WAVE-5-B1 SECTION E — Hours-only line (above Three Moments)
   ========================================================================= */
.cust-home-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px var(--side-pad);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.cust-home-hours svg { flex-shrink: 0; opacity: 0.7; }

/* =========================================================================
   WAVE-5-B1 SECTION F — Expanded footer (address + AI phone + hours)
   ========================================================================= */
.cust-foot__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.cust-foot__address {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.cust-foot__address strong {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.cust-foot__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.cust-foot__phone svg { flex-shrink: 0; color: var(--primary); opacity: 0.75; }

.cust-foot__phone-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.cust-foot__phone-link:hover { color: var(--primary); }

.cust-foot__hours-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
}

.cust-foot__hours-line svg { flex-shrink: 0; opacity: 0.6; }

.cust-foot__copy {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .cust-foot__inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: flex-start;
  }
  .cust-foot__copy { width: 100%; padding-top: 12px; }
}

/* =========================================================================
   WAVE-5-B1 SECTION G — Sticky bottom CTA (for bubble-fade integration)
   ========================================================================= */
.cust-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 79; /* below contact bar (z:80) but above most content */
  /* Wave-5-B1-polish-2: solid cream paper + explicit background-color override
     (page content was bleeding through with the prior --surface white + thin
     shadow). Stronger top shadow gives clearer separation from page content. */
  background: var(--paper);
  background-color: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 10px var(--side-pad) calc(10px + env(safe-area-inset-bottom, 0));
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 24px rgba(42, 37, 34, 0.18);
}

.cust-sticky-cta.is-visible {
  transform: translateY(0);
}

/* Wave-5-B1-corr-4: sticky bar buttons changed Shop+Help -> Call+WhatsApp.
   Call = maroon (--primary), WhatsApp = brand green (--whatsapp). */
.cust-sticky-cta__call,
.cust-sticky-cta__wa {
  flex: 1;
  border: none;
  border-radius: var(--radius-chip);
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 150ms ease, opacity 150ms ease;
}

.cust-sticky-cta__call {
  background: var(--primary);
  color: var(--bg);
}
.cust-sticky-cta__call:hover,
.cust-sticky-cta__call:focus-visible {
  background: var(--primary-dark);
  outline: none;
}

.cust-sticky-cta__wa {
  background: var(--whatsapp);
  color: #fff;
}
.cust-sticky-cta__wa:hover,
.cust-sticky-cta__wa:focus-visible {
  background: var(--whatsapp-dark);
  outline: none;
}

.cust-sticky-cta__call svg,
.cust-sticky-cta__wa svg {
  flex-shrink: 0;
}

/* Checkout / confirmation pages: hide the sticky CTA too */
.no-wa-fab .cust-sticky-cta { display: none; }

/* Wave-5 polish T6: hide the sticky bottom CTA on desktop. The desktop
   replacement is the floating ai-call-pill + the WA FAB stacked bottom-right.
   Mobile keeps the sticky bar as-is.
   R5 Task D: extend the same desktop hide to the newer .cust-contact-bar
   element (the actual sticky bar in current builds — the .cust-sticky-cta
   class was retired in R3-P1.3). Without this, the contact bar reappeared
   on desktop as the user scrolled, doubling up with the floating call pill +
   WhatsApp FAB. The contact-bar-scroll.js bail-out on the same breakpoint
   keeps the FAB + pill always visible on desktop. */
@media (min-width: 1024px) {
  .cust-sticky-cta { display: none !important; }
  .cust-contact-bar { display: none !important; }
}

/* =========================================================================
   WAVE-5 polish T7 — Floating "Call our 24x7 AI agent" pill
   Sits above the WA FAB (bottom-right stack). Desktop primary.
   ========================================================================= */
.cust-ai-call-pill {
  position: fixed;
  /* Stack above the 56px WA FAB at bottom:24px + 12px gap = ~92px */
  bottom: 92px;
  right: 24px;
  z-index: 91; /* above the FAB so the pill always wins overlap */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-heading, serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(122, 31, 43, 0.30);
  animation: cust-ai-call-pulse 2.4s ease-in-out infinite;
  transition: background 150ms ease, transform 150ms ease;
}
.cust-ai-call-pill:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.cust-ai-call-pill svg {
  flex-shrink: 0;
  color: var(--accent);
}

@keyframes cust-ai-call-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(122, 31, 43, 0.30),
                0 0 0 0 rgba(201, 161, 59, 0);
  }
  50% {
    box-shadow: 0 6px 18px rgba(122, 31, 43, 0.35),
                0 0 18px 4px rgba(201, 161, 59, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cust-ai-call-pill { animation: none; }
}

/* Mobile: hide the pill on small screens. Sticky bottom CTA handles mobile
   contact affordances (and stacking pill above FAB above sticky bar would
   be visually crowded). DEEP_TO_REVIEW per Wave-5 polish T7 brief. */
@media (max-width: 1023px) {
  .cust-ai-call-pill { display: none; }
}

/* Hide on pages where the FAB itself is hidden (.no-wa-fab body class) */
.no-wa-fab .cust-ai-call-pill { display: none; }

/* =========================================================================
   WAVE-5 polish T9 + T10 — Gift-page finder icon button + popover bubble
   + listing controls row baseline alignment.
   ========================================================================= */

/* T10: align chips + finder icon + sort dropdown on one baseline */
.cust-listing-row {
  align-items: center;
}
.cust-listing-row__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cust-sort-select {
  height: 38px;
}

/* R3-FIX-F3: at 375px (and any phone width) the category-chip rail can wrap
   onto a second visual line, and the previous flex layout let the controls
   group land on the LEFT side underneath the chips. Deep has asked
   repeatedly for these controls (sparkle gift-finder icon + "Best sellers"
   dropdown) to sit on the RIGHT side. Forcing the chip rail to take a full
   row and `margin-left: auto` on the controls pushes them to the right edge
   of the page. With the sparkle on the right, .cust-finder-pop (already
   anchored `right: 0`) opens leftward into open space and can't clip. */
@media (max-width: 767px) {
  .cust-listing-row {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .cust-listing-row .cust-chip-rail {
    flex: 1 1 100%;
    min-width: 0;
  }
  .cust-listing-row__right {
    margin-left: auto;
    /* a touch of right padding so the sparkle isn't flush with screen edge */
    padding-right: 0;
  }
}

/* T9: helping-hand icon button + popover */
.cust-finder-pop-wrap {
  position: relative;
  display: inline-flex;
}
.cust-finder-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--primary);
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  animation: cust-finder-icon-pulse 2.6s ease-in-out infinite;
  transition: background 150ms ease, transform 150ms ease, color 150ms ease;
}
.cust-finder-icon-btn:hover,
.cust-finder-icon-btn[aria-expanded="true"] {
  background: var(--accent-soft, rgba(201, 161, 39, 0.14));
  color: var(--primary-dark, var(--primary));
  transform: scale(1.05);
}
.cust-finder-icon-btn svg { display: block; }

@keyframes cust-finder-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 161, 59, 0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(201, 161, 59, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .cust-finder-icon-btn { animation: none; }
}

.cust-finder-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 28px rgba(42, 37, 34, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index: 50;
  min-width: 200px;
}
.cust-finder-pop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cust-finder-pop::before {
  /* Pointer triangle on top edge — visually anchors bubble to button */
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-left: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
  transform: rotate(45deg);
}
.cust-finder-pop__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #c9a13b 0%, #e6c460 100%);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.cust-finder-pop__btn:hover { filter: brightness(1.04); }

@media (max-width: 540px) {
  .cust-finder-pop {
    /* On very narrow widths anchor bubble to right side of viewport */
    right: 0;
    min-width: 180px;
  }
}

/* =========================================================================
   V4 "OPEN TILL NINE" — Two-zone storefront footer (.cust-foot--v4)
   Zone A: warm hero band on maroon — headline + WhatsApp pill + phones.
   Zone B: darker brand strip — monogram/name/hours + 4-link nav + credit.
   Type: Playfair Display 700 for display + brand; Inter for everything else.
   ========================================================================= */
.cust-foot--v4 {
  /* Override the legacy `.cust-foot` rules earlier in this file
     (desktop @media sets display:flex, mobile sets text-align:center +
     border-top hairline + 80px bottom padding) so the V4 zones can
     stack full-bleed without inheriting any of that. */
  display: block;
  position: relative;
  margin: 40px 0 0;
  padding: 0;
  text-align: left;
  font-size: 14px;
  color: #FFF8EE;
  border-top: 0;
}
.cust-foot--v4 a { text-decoration: none; color: inherit; }
.cust-foot--v4 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- Zone A: hero band on maroon ----- */
.cust-foot__hero {
  background: var(--primary);
  padding: 0;
}
.cust-foot__hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px var(--side-pad, 20px);
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cust-foot__hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 44px var(--side-pad, 40px);
  }
}

.cust-foot__hero-headline { max-width: 430px; }
.cust-foot__cta-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-weight: 700;
  font-style: normal;
  font-size: 25px;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.005em;
}
@media (min-width: 768px) {
  .cust-foot__cta-title { font-size: 30px; }
}
.cust-foot__cta-accent {
  color: var(--accent);
  font-style: normal;
}

.cust-foot__hero-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
@media (min-width: 768px) {
  .cust-foot__hero-action {
    align-items: flex-end;
    text-align: right;
  }
}

.cust-foot__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.cust-foot__wa-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .cust-foot__wa-btn { transition: none; }
  .cust-foot__wa-btn:hover { transform: none; }
}
.cust-foot__wa-glyph {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.cust-foot__hero-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 248, 238, 0.78);
}
.cust-foot__hero-phone-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: baseline;
}
@media (min-width: 768px) {
  .cust-foot__hero-phone-row { justify-content: flex-end; }
}
.cust-foot__hero-phone-label { color: rgba(255, 248, 238, 0.72); }
.cust-foot__hero-phone-num {
  color: #FFFFFF;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 150ms ease, border-bottom-color 150ms ease;
}
.cust-foot__hero-phone-num:hover {
  color: var(--accent);
  border-bottom-color: #FFFFFF;
}

/* ----- Zone B: brand strip on darker maroon ----- */
.cust-foot__strip {
  background: #5E141F;
  background: color-mix(in srgb, var(--primary) 82%, black);
  color: rgba(255, 248, 238, 0.72);
  padding: 0;
}
.cust-foot__strip-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 22px var(--side-pad, 20px);
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .cust-foot__strip-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px var(--side-pad, 40px);
  }
}

.cust-foot__strip-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cust-foot__strip-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cust-foot__strip-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 238, 0.10);
  color: var(--accent);
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
}
.cust-foot__strip-mark img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: inherit;
}
.cust-foot__strip-name {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: #FFFFFF;
}
.cust-foot__strip-meta {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 248, 238, 0.6);
  letter-spacing: 0.01em;
}

.cust-foot__strip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.cust-foot__strip-nav a {
  color: rgba(255, 248, 238, 0.78);
  transition: color 150ms ease;
}
.cust-foot__strip-nav a:hover { color: #FFFFFF; }

.cust-foot__strip-credit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 248, 238, 0.6);
}
@media (min-width: 768px) {
  .cust-foot__strip-credit { align-items: flex-end; text-align: right; }
}
.cust-foot--v4 .cust-foot__copy {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 248, 238, 0.6);
  text-align: inherit;
  padding: 0;
  border: 0;
}
.cust-foot__copy-sep {
  margin: 0 4px;
  opacity: 0.6;
}
.cust-foot__copy-tag {
  letter-spacing: 0.02em;
}
.cust-foot__credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 248, 238, 0.6);
}
.cust-foot__credit-pre { letter-spacing: 0.02em; }
.cust-foot--v4 .cust-foot__taaj {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  font-weight: 600;
  font-style: normal;
  transition: color 150ms ease, border-bottom-color 150ms ease;
}
.cust-foot--v4 .cust-foot__taaj:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

/* On small viewports the sticky .cust-contact-bar covers the bottom ~52px.
   Pad the brand strip so the credit row clears the bar at the page bottom. */
@media (max-width: 1023px) {
  .cust-foot--v4 .cust-foot__strip-inner {
    padding-bottom: calc(22px + 64px + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================================
   WAVE-5-B2 — SSR search results header + empty state with category links
   ========================================================================= */
.cust-search-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--side-pad) 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.cust-search-results-head__title {
  font-family: var(--font-heading, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.cust-search-results-head__title em {
  font-style: italic;
  color: var(--primary);
}
.cust-search-results-head__clear {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
}
.cust-search-results-head__clear:hover { color: var(--primary-dark); }

.cust-empty--search {
  text-align: center;
  padding: 40px var(--side-pad);
}
.cust-empty--search em { color: var(--primary); font-style: italic; }
.cust-empty__categories {
  list-style: none;
  padding: 0;
  margin: 18px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
}
.cust-empty__categories a {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 14px;
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  text-decoration: none;
  font-size: 14px;
  transition: background 150ms ease, border-color 150ms ease;
}
.cust-empty__categories a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.cust-empty__categories a small { color: var(--text-muted); font-size: 12px; }

/* =========================================================================
   R5 Task E — Topbar "Call Us" desktop popover
   Mobile: .cust-topbar__call is a single tel: link (AI line) — unchanged.
   Desktop (>= 1024px): clicking the link instead opens the popover with
   two stacked options (Call Shop / Call 24/7 AI agent). Both rows reuse
   the same tel: numbers from the site-footer Contact column.
   ========================================================================= */
.cust-callus-wrap {
  position: relative;
  display: inline-flex;
}

.cust-callus-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 130;
  min-width: 240px;
  background: var(--surface, #fff);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(42, 37, 34, 0.18);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cust-callus-pop[hidden] { display: none; }

.cust-callus-pop__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text, inherit);
  transition: background 140ms ease;
  font-family: var(--font-body, sans-serif);
}

.cust-callus-pop__row:hover,
.cust-callus-pop__row:focus-visible {
  background: var(--accent-soft, rgba(201, 161, 59, 0.10));
  outline: none;
}

.cust-callus-pop__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cust-callus-pop__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cust-callus-pop__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, inherit);
}

.cust-callus-pop__number {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Mobile: popover is never shown — the link's tel: behavior is the only
   call-us affordance on small screens. */
@media (max-width: 1023px) {
  .cust-callus-pop { display: none !important; }
}
