/* =========================================================
   v4 — Crystal Balance inspired theme
   Soft, feminine wellness aesthetic with mauve/pink palette,
   serif headlines, generous whitespace, and gentle pastels.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #faf3ee;        /* warm cream — was cool pink */
  --bg-soft: #f9f5f0;       /* matches the tan stock-photo background exactly */
  --bg-banner: #f4e3d8;     /* warm dusty blush — was cool pink */
  --ink: #2b2226;
  --muted: #7a6e66;         /* warmed slightly to harmonize with tan */
  --line: #ece2d6;          /* warm tan-grey — was pinkish */
  --primary: #b189b8;       /* mauve / dusty purple — brand color, kept */
  --primary-dark: #9a6fa3;
  --accent: #e8c5b6;        /* warm dusty rose — was cool pink */
  --gold: #c5a572;
  --star: #d9a44e;

  --calm: #d8c3e6;          /* lavender */
  --confidence: #f5d27a;    /* warm yellow */
  --love: #f5c6cf;          /* pink */
  --healing: #c8d8a8;       /* sage */
  --focus: #b9d8d8;         /* mint blue */

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- Base ---------------------------------------------------------- */

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.eyebrow-text {
  display: inline-block;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.4rem;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.section-sub {
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 540px;
}

/* ---- Sale announcement bar ---------------------------------------- */

#sale-announcement-bar {
  display: none;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 8px 0;
}

.sale-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  text-align: center;
}

.sale-announcement-message {
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sale-announcement-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sale-announcement-timer[hidden] {
  display: none !important;
}

.sale-timer-label {
  opacity: 0.85;
}

.sale-timer-units {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.sale-timer-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-weight: 600;
}

/* ---- Announcement bar --------------------------------------------- */

.announcement-bar {
  background: var(--bg-banner);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 8px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement-inner i { color: var(--primary-dark); font-size: 0.7rem; }

/* ---- Header ------------------------------------------------------- */

.site-header {
  background: var(--bg);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.25em;
  font-size: 1.2rem;
}

.brand-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--primary); }
.primary-nav i { font-size: 0.65rem; margin-left: 2px; }

/* ---- Desktop Shop dropdown --------------------------------------- */
/* Hover (or keyboard focus-within) opens the dropdown. The chevron on
   the trigger doubles as the visual affordance. Hidden on mobile — the
   slide-in drawer surfaces the same links there. */
.nav-item.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(43, 34, 38, 0.1);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 50;
}
.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.header-actions a { font-size: 1.1rem; color: var(--ink); transition: color .2s ease; }
.header-actions a:hover { color: var(--primary); }
/* bi-person glyphs render smaller than bi-search / bi-bag — nudge up to match. */
.header-actions .bi-person,
.header-actions .bi-person-fill { font-size: 1.25rem; vertical-align: -2px; }

.cart-link { position: relative; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
}

.site-main { min-height: 60vh; }

/* ---- Buttons ------------------------------------------------------ */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 13px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--primary);
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s ease;
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

.btn-pill { border-radius: 999px; padding: 13px 32px; }

.btn-link-back {
  color: var(--muted);
  font-size: 0.85rem;
}
.btn-link-back:hover { color: var(--primary); }

/* ---- Hero --------------------------------------------------------- */

.hero {
  background: var(--bg);
  padding: 40px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.6rem;
  line-height: 1.05;
  margin: 0 0 18px;
}
.hero-title-1, .hero-title-2 { display: block; }
.hero-title-2 { color: var(--primary); }

.hero-sub {
  color: var(--muted);
  max-width: 440px;
  margin: 0 0 28px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
}
.hero-trust strong {
  display: block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}
.hero-trust span { color: var(--muted); font-size: 0.72rem; }

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 1rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);  /* shows briefly while the image loads */
}
.hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Find Your Energy --------------------------------------------- */

.section-energy { background: var(--bg); }

.energy-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.energy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: center;
}
.energy-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: rgba(43, 34, 38, 0.78);
  transition: transform .3s ease, box-shadow .3s ease;
  /* Subtle inner ring for depth + soft outer glow on the pastel circle */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 4px 14px rgba(43, 34, 38, 0.06);
}
.energy-card:hover .energy-circle {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(43, 34, 38, 0.12);
}
.energy-card strong {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  display: block;
  margin-top: 8px;
}
.energy-card span { color: var(--muted); font-size: 0.78rem; }

.energy-calm .energy-circle { background: var(--calm); }
.energy-confidence .energy-circle { background: var(--confidence); }
.energy-love .energy-circle { background: var(--love); }
.energy-healing .energy-circle { background: var(--healing); }
.energy-focus .energy-circle { background: var(--focus); }

/* Bootstrap Icons inherit `font-size:.75em` on nested `<i>` in some setups;
   override so the glyph clearly fills more of the pastel circle. */
.energy-circle > .bi {
  font-size: 2.25rem !important;
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- Best sellers / Product cards --------------------------------- */

.section-best { background: var(--bg); }

.text-center { text-align: center; }

.product-card { display: flex; flex-direction: column; }

.product-card-img-link { display: block; }

.product-card-img {
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-img img.placeholder-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  opacity: 0.18;
}

/* Top-left chip on collection cards. Currently only used for "Sold out",
   but kept generic so future labels (New, Low stock, etc.) reuse the slot. */
.product-card-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}
.product-card-chip-sold-out { color: #c0392b; }
.product-card-sold-out .product-card-img img { opacity: 0.7; }

.product-wishlist {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s ease, color .2s ease;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { color: var(--primary-dark); background: #fff; }

.product-card-body { padding-top: 14px; }

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}
.stars { color: var(--star); font-size: 0.78rem; letter-spacing: 1px; }
.reviews { color: var(--muted); font-size: 0.78rem; }

.product-card-title {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 6px 0;
  color: var(--ink);
}

/* ---- Price macro -------------------------------------------------- */

.price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--ink);
}
.price-compare {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85em;
}
.price-current,
.price-sale { font-weight: 500; }
.price-lg { font-size: 1.5rem; font-weight: 500; }

/* ---- Purpose / About strip ---------------------------------------- */

.section-purpose {
  background: var(--bg-alt);
  padding: 72px 0;
}

.purpose-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.purpose-intro .section-title { font-size: 2.2rem; margin-bottom: 16px; }
.purpose-intro p { color: var(--muted); margin-bottom: 24px; max-width: 380px; }

.purpose-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.purpose-features li {
  text-align: center;
  padding: 12px;
}
.purpose-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.purpose-features strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.purpose-features p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---- Page hero (collection / cart) -------------------------------- */

.page-hero {
  padding: 56px 0 24px;
  background: var(--bg);
}
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  margin: 0 0 12px;
}
.page-sub { color: var(--muted); margin: 0 auto; max-width: 480px; }

.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination-status {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ---- Collection toolbar (sort + count) ---------------------------- */
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.collection-count {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sort-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%237a6e66'><path d='M6 8.5L1.5 4h9z'/></svg>")
    no-repeat right 10px center / 10px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 30px 8px 12px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  min-width: 180px;
}
.sort-select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

.empty-collection { padding: 48px 0; color: var(--muted); }
.empty-collection .btn-secondary { margin-top: 12px; }

/* ---- 404 page ----------------------------------------------------- */
.section-404 { padding: 96px 0 56px; }
.section-404 .eyebrow-text {
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}
.section-404 .page-title { margin-bottom: 14px; }
.error-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.section-404-suggested { padding: 24px 0 80px; }

/* ---- Breadcrumbs / PDP -------------------------------------------- */

.breadcrumb {
  font-size: 0.78rem;
  margin-bottom: 0;
  color: var(--muted);
  background: transparent;
  padding: 16px 0 0;
}
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--ink); }

.section-pdp { padding: 24px 0 56px; }

.pdp-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pdp-thumb {
  position: relative;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  cursor: pointer;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.pdp-thumb:hover { border-color: var(--primary); }
.pdp-thumb.active { border-color: var(--primary); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.25);
}

.pdp-main-media {
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}
.pdp-main-media img,
.pdp-main-media video,
.pdp-main-media iframe {
  width: 100%; height: 100%; object-fit: cover; border: none;
}
.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.pdp-main-media:hover .pdp-arrow { opacity: 1; }
.pdp-prev { left: 12px; }
.pdp-next { right: 12px; }

/* Mobile horizontal gallery — hidden on desktop; shown via .pdp-gallery-multi */
.pdp-mobile-slider { display: none; }
.pdp-mobile-slide {
  flex: 0 0 85%;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: 6px;
  overflow: hidden;
}
.pdp-mobile-slide img,
.pdp-mobile-slide video,
.pdp-mobile-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.pdp-info { padding-left: 16px; }

.pdp-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 0 0 12px;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pdp-rating[data-reviews-product] { cursor: pointer; }
.pdp-rating[data-reviews-product]:hover .reviews-count { color: var(--primary); }
.reviews-count { color: var(--muted); font-size: 0.85rem; transition: color 0.15s; }

.pdp-price { margin-bottom: 8px; }

/* ---- VIP+ price preview (PDP, non-subscriber view) --------------- */

.pdp-vip-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 18px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary);
  border-radius: 4px;
  font-size: 0.88rem;
}
.pdp-vip-preview .vip-label {
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
}
.pdp-vip-preview .vip-price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.vip-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 50%;
  transition: color .2s ease, background .2s ease;
}
.vip-info-btn:hover,
.vip-info-btn:focus { color: var(--primary-dark); background: rgba(177,137,184,0.12); outline: none; }

/* Bootstrap popover skin so it matches the brand */
.popover.vip-popover {
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(43, 34, 38, 0.10);
  font-family: var(--sans);
  max-width: 280px;
}
.popover.vip-popover .popover-header {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
}
.popover.vip-popover .popover-body {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink);
}
.popover.vip-popover .popover-arrow::after { border-top-color: #fff; }

/* ---- Membership landing (VIP+ /products/vip-club, ZenClub /products/zenclub) */
.section-vip { padding-top: 40px; }
.vip-hero-media {
  background: linear-gradient(135deg, #f5d8e6 0%, #d8c3e6 50%, #b9d8d8 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.vip-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.vip-hero-media--zenclub { position: relative; }
.zenclub-hero-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.vip-info { padding-top: 8px; }
.vip-eyebrow {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.vip-price-suffix {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.vip-tagline { color: var(--muted); margin: 14px 0 20px; line-height: 1.5; }

.zenclub-pdp-promo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 216, 230, 0.55) 0%, rgba(216, 195, 230, 0.45) 100%);
  border: 1px solid rgba(122, 74, 122, 0.14);
}
.zenclub-pdp-promo-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.95rem;
}
.zenclub-pdp-promo-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
.zenclub-pdp-promo-text strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Perks below hero — keeps Join CTA above the fold in the buy column */
.vip-perks-band {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.vip-perks-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 22px;
  color: var(--ink);
}
.vip-perks-band .vip-benefits-list { margin-bottom: 0; }
@media (min-width: 768px) {
  .vip-perks-band .vip-benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.vip-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 16px;
}
.vip-benefits-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.vip-benefits-list i {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 1px;
}
.vip-benefits-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.vip-benefits-list span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.vip-actions { margin-bottom: 14px; }
.vip-actions .btn-pdp-add { width: 100%; height: 56px; font-size: 0.85rem; }

.vip-fineprint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}
.vip-fineprint i { color: var(--primary); }

.section-vip-faq { padding: 24px 0 64px; background: var(--bg-soft); }
.vip-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.vip-faq-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.vip-faq-item p { color: var(--muted); margin: 0; line-height: 1.6; }
.vip-faq-item p a { color: var(--primary-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.vip-faq-item p a:hover { color: var(--primary); }

.pdp-story {
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pdp-story-eyebrow {
  display: block;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.pdp-story-section--stones { margin-top: 22px; }
.pdp-description {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
}

.pdp-stones {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pdp-stone-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdp-stone-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdp-stone-head strong {
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
}
.pdp-stone-desc {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.stone-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}
.stone-dot::after {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--stone-hex, var(--primary));
}

.pdp-stone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 40px;
}
.pdp-stone-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.pdp-variant { margin-bottom: 16px; max-width: 100%; }
.pdp-variant-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.pdp-variant-label {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.size-guide-link {
  color: var(--primary);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--primary);
  padding: 0 0 1px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.size-guide-link:hover { color: var(--primary-dark); border-bottom-color: var(--primary-dark); }
.pdp-variant-select {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background-color: #fff;
  color: var(--ink);
  font-size: 0.9rem;
}

.pdp-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.dot-in-stock {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #6cab6c;
}
.dot-sold-out {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c0392b;
}
.pdp-stock-out { color: #c0392b; }

/* Disabled add-to-cart (PDP + sticky CTA + collection cards). Same look
   wherever a sold-out product surfaces, so the gesture cue is consistent. */
.btn-pdp-add:disabled,
.btn-pdp-add[aria-disabled="true"],
.btn-add-cart:disabled,
.btn-add-cart[aria-disabled="true"] {
  background: var(--line);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-pdp-add:disabled:hover,
.btn-pdp-add[aria-disabled="true"]:hover {
  background: var(--line);
}

.pdp-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.qty-btn {
  width: 42px;
  height: 48px;
  border: none;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  font-size: 1rem;
}
.qty-input {
  width: 48px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  background: #fff;
  appearance: textfield;
  -moz-appearance: textfield;
  color: var(--ink);
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.btn-pdp-add {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  padding: 0 28px;
  height: 48px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    transform 0.2s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
  box-shadow: none;
}
.btn-pdp-add:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.04),
    0 8px 22px rgba(154, 111, 163, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-pdp-add:active:not(:disabled) {
  transform: translateY(0);
  transition-duration: 0.08s;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.08),
    0 2px 10px rgba(154, 111, 163, 0.25),
    inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.btn-pdp-add:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-wishlist {
  width: 100%;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  transition: all .2s ease;
}
.btn-wishlist:hover { background: var(--primary); color: #fff; }

/* Inline sizing reference under the variant select */
.size-help {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.size-help strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 3px;
}
.size-help-sep { color: var(--line); }

/* What's-included callout (description card + storage pouch) */
.pdp-includes {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 18px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
}
.pdp-includes .includes-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.pdp-trust {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pdp-trust li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
}
.pdp-trust i {
  font-size: 1.2rem;
  color: var(--primary);
  grid-row: span 2;
}
.pdp-trust strong {
  display: block;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
}
.pdp-trust span { color: var(--muted); font-size: 0.72rem; }

/* ---- PDP tabs ----------------------------------------------------- */

.section-tabs { padding-top: 16px; }

.pdp-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.pdp-tab {
  background: transparent;
  border: none;
  padding: 16px 0;
  cursor: pointer;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.pdp-tab-panel { display: none; }
.pdp-tab-panel.active { display: block; }
.pdp-tab-panel p { color: var(--muted); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.check-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.check-list i { color: var(--primary); }

.tab-image {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
}

/* ---- Related / cross sell / reviews ------------------------------- */

.section-related,
.section-cross-sell { padding: 56px 0; background: var(--bg); }
.section-cross-sell { padding-top: 64px; padding-bottom: 0; }

.section-reviews { padding: 56px 0 80px; background: var(--bg-alt); }
.reviews-header {
  text-align: center;
  margin-bottom: 32px;
}
.reviews-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.write-review-link {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
}

/* Two-column grid on tablet+, single column on mobile. Cards equalize via
   `align-items: stretch` (grid default) so adjacent cards line up even
   when one review is much longer than the other. */
.reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .reviews-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.review-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.review-avatar i { font-size: 2.25rem; color: var(--primary); }
.review-stars { font-size: 0.85rem; }
.review-author {
  display: block;
  margin: 6px 0;
  font-size: 0.9rem;
}
.verified {
  font-weight: 400;
  color: var(--primary);
  font-size: 0.78rem;
  margin-left: 6px;
}
.review-title {
  font-weight: 600;
  margin: 6px 0;
}
.review-text {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.review-date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.8;
}

.reviews-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.reviews-pagination button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 36px;
  transition: border-color 0.15s, color 0.15s;
}
.reviews-pagination button:hover:not(:disabled):not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
}
.reviews-pagination button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}
.reviews-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.reviews-pagination .pagination-ellipsis {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Cart --------------------------------------------------------- */

.section-cart { padding: 48px 0 80px; overflow-x: clip; }
.cart-title { margin-bottom: 32px; }

.cart-items {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 24px;
}

.cart-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 90px;
  height: 90px;
  background: var(--bg-soft);
  flex: 0 0 90px;
  overflow: hidden;
  border-radius: 4px;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 4px;
}
.cart-item-variant,
.cart-item-unit-price { font-size: 0.82rem; color: var(--muted); }

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.cart-item-qty .qty-btn { width: 36px; height: 38px; font-size: 0.95rem; }

/* Membership-row treatment — emphasizes the "first month free" promise
   and renders the FREE line total with the original price as a strikethrough,
   matching the FIRSTMONTHFREE Shopify discount that gets applied at checkout. */
.cart-item-membership .membership-promo {
  display: block;
  color: var(--primary-dark);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.cart-item-membership .membership-renewal {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}
.line-total-strike {
  display: block;
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
}
.line-total-free {
  display: block;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.qty-display {
  width: 38px;
  text-align: center;
  line-height: 38px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 0.9rem;
}

.cart-item-total {
  min-width: 80px;
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.cart-item-remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s ease;
}
.cart-item-remove:hover { color: var(--primary); }

/* ---- Cart VIP+ active indicator (subscriber OR vip-club in cart) -- */

.cart-vip-active {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f7eef8 0%, #ede0ef 100%);
  border: 1px solid var(--primary);
  border-radius: 8px;
}
.vip-active-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
}
.vip-active-content { display: flex; flex-direction: column; min-width: 0; }
.vip-active-label {
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-dark);
}
.vip-active-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}
.vip-active-savings {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.vip-active-savings .savings-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.vip-active-savings strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--primary-dark);
  line-height: 1;
  margin-top: 2px;
}

/* ---- Cart upsells section (VIP + mobile add-ons) ------------------- */

.cart-upsells-section {
  display: none;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 24px calc(50vw - 50%) 28px;
  background: var(--bg-soft);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.cart-upsells-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.cart-upsell-row {
  padding: 18px 0;
  transition: opacity 0.2s;
}
.cart-upsell-row + .cart-upsell-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cart-upsell-row.is-loading { opacity: 0.6; pointer-events: none; }

.cart-upsell-row--mobile { display: none; }

/* ---- Cart VIP+ toggle row ----------------------------------------- */

.cart-vip-toggle {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.cart-vip-toggle.is-loading { opacity: 0.6; pointer-events: none; }

.cart-vip-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}
.cart-vip-toggle-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cart-vip-toggle-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-vip-toggle-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.cart-vip-toggle-text small {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}
.cart-vip-switch-wrap {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
}
.cart-vip-switch {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cart-vip-switch-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border: 1px solid #9ca3af;
  border-radius: 999px;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.cart-vip-switch-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.cart-vip-switch:checked + .cart-vip-switch-slider {
  background: var(--primary);
  border-color: var(--primary-dark);
}
.cart-vip-switch:checked + .cart-vip-switch-slider::before {
  transform: translateX(18px);
}
.cart-vip-switch:focus-visible + .cart-vip-switch-slider {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

.cart-vip-active-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.84rem;
  color: var(--primary-dark);
  font-weight: 500;
}
.cart-vip-active-compact i { color: var(--primary); font-size: 1rem; flex-shrink: 0; }

.cart-addon-toggle {
  padding: 0;
  background: transparent;
}
.cart-addon-toggle.is-loading { opacity: 0.6; pointer-events: none; }

.cart-addon-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}
.cart-addon-toggle-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cart-addon-toggle-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-addon-toggle-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.cart-addon-toggle-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.cart-addon-toggle-title-line .price-group {
  font-size: 0.9rem;
  line-height: 1.25;
}
.cart-addon-toggle-text small {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .cart-upsells-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .cart-upsell-row + .cart-upsell-row { border-top: none; }
  .cart-upsell-row--mobile { display: block; }
  .section-cart .section-cross-sell { display: none; }
}

/* ---- Cart VIP+ banner (legacy — unused on v5 cart) ---------------- */

.cart-vip-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 20px 26px;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(154, 111, 163, 0.18);
}
.vip-banner-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.vip-banner-content { min-width: 0; }
.vip-banner-eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.85;
}
.vip-banner-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 4px 0 6px;
  color: #fff;
  line-height: 1.2;
}
.vip-banner-sub {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.95;
  line-height: 1.5;
}
.vip-banner-savings {
  display: inline-block;
  margin-left: 4px;
}
.btn-vip-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  border: 1px solid #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.btn-vip-banner:hover { background: var(--bg-soft); transform: translateY(-1px); }
.btn-vip-banner i { font-size: 0.85rem; }

/* ---- Free-shipping progress strip --------------------------------- */

.cart-shipping-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin: 0 0 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cshp-icon {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.cshp-content { min-width: 0; }
.cshp-text {
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.cshp-text strong { color: var(--primary-dark); font-weight: 600; }
.cshp-bar {
  height: 4px;
  background: rgba(177, 137, 184, 0.18);
  border-radius: 999px;
  overflow: hidden;
}
.cshp-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 999px;
  transition: width .35s ease;
}

/* Qualified state — green checkmark, full bar */
.cart-shipping-progress.is-qualified .cshp-icon { background: #e6f1ea; color: #2f7a4d; }
.cart-shipping-progress.is-qualified .cshp-text strong { color: #2f7a4d; }
.cart-shipping-progress.is-qualified .cshp-bar span { background: #4fa97a; }

/* ---- Cart upsell card --------------------------------------------- */

.cart-upsell {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
  position: relative;
}
.cart-upsell::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 6px 0 0 6px;
}
.cart-upsell-img {
  width: 78px;
  height: 78px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
}
.cart-upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-upsell-img img.placeholder-img { width: 50%; height: 50%; object-fit: contain; opacity: 0.18; margin: 25%; }

.cart-upsell-body { min-width: 0; }
.cart-upsell-eyebrow {
  display: block;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-upsell-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.25;
}
.cart-upsell-title a { color: var(--ink); }
.cart-upsell-price .price-group { font-size: 0.9rem; }

.btn-upsell-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s ease;
}
.btn-upsell-add:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-upsell-add i { font-size: 0.85rem; }

.order-summary {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  background: #fff;
}
.summary-title {
  font-family: var(--serif);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.summary-member-discount {
  margin-bottom: 8px;
}
.summary-member-discount-amount {
  color: var(--primary-dark);
  font-weight: 600;
}
.summary-your-price {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.summary-shipping-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 4px 0 12px;
  font-style: italic;
}
.summary-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 0;
}

/* Cart checkout CTA: promote `.btn-primary` to a real-feeling button.
   Centered text + arrow, slightly taller/bolder, soft shadow so it
   reads as the page's primary action instead of a label. */
.btn-checkout {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  box-shadow: 0 4px 14px rgba(177, 137, 184, 0.35);
}
.btn-checkout i { font-size: 1rem; transition: transform .2s ease; }
.btn-checkout:hover i { transform: translateX(3px); }
.btn-checkout.is-loading {
  pointer-events: none;
  opacity: 0.9;
  cursor: wait;
}
.btn-checkout-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-checkout-spin 0.7s linear infinite;
  vertical-align: -0.15em;
  margin-right: 6px;
}
@keyframes btn-checkout-spin {
  to { transform: rotate(360deg); }
}

/* Trust badges under the Checkout button. Two badges, inline. */
.summary-trust {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 0.75rem;
  color: var(--muted);
}
.summary-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.summary-trust i {
  color: var(--primary);
  font-size: 0.9rem;
}

.empty-cart { padding: 64px 0; }
.empty-cart .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.empty-cart h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.empty-cart p { color: var(--muted); margin-bottom: 20px; }

/* ---- Footer ------------------------------------------------------- */

.site-footer {
  background: var(--bg-alt);
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-tagline { max-width: 320px; margin-bottom: 20px; }

/* Bumped specificity (.footer-socials.footer-socials) so this beats the
   later-defined `.footer-col a { display:block; padding:5px 0 }` rule
   which was making the icons stack and shift off-center. */
.footer-socials.footer-socials a {
  display: inline-flex;
  width: 36px; height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-right: 8px;
  border: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1;
  transition: all .2s ease;
}
.footer-socials.footer-socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-col h4 {
  font-family: var(--sans);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.78rem;
}
.footer-bottom p { margin: 0; }
.footer-legal {
  margin-top: 6px !important;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-legal a { color: var(--muted); transition: color .2s ease; }
.footer-legal a:hover { color: var(--primary); }
.footer-legal span { color: var(--line); }

/* ---- Search overlay ----------------------------------------------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
}
.search-overlay.open { display: block; }

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 34, 38, 0.45);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.search-overlay-panel {
  position: relative;
  background: #fff;
  max-width: 720px;
  margin: 60px auto 0;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(43, 34, 38, 0.2);
  overflow: hidden;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.search-overlay-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.search-overlay-icon {
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.search-overlay-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--sans);
  outline: none;
  padding: 6px 0;
}
.search-overlay-input::placeholder { color: var(--muted); }
.search-overlay-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-overlay-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.search-overlay-close:hover { background: var(--line); color: var(--ink); }

.search-overlay-results {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.search-overlay-hint,
.search-overlay-empty p {
  color: var(--muted);
  text-align: center;
  margin: 28px 0;
  font-size: 0.9rem;
}
.search-overlay-empty { text-align: center; padding: 8px 0 16px; }
.search-overlay-empty .btn-secondary { margin-top: 12px; }

.search-overlay-section { margin-bottom: 18px; }
.search-overlay-section h4 {
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}

.search-stone-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-stone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink);
  transition: background .2s ease;
}
.search-stone-chip:hover { background: var(--line); }
.search-stone-prop {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-product-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  transition: background .2s ease;
}
.search-product-row:hover { background: var(--bg-soft); }
.search-product-img {
  width: 56px; height: 56px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
  display: block;
}
.search-product-img img { width: 100%; height: 100%; object-fit: cover; }
.search-product-meta { min-width: 0; }
.search-product-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.search-product-price {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
}
.search-compare {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  margin-right: 4px;
}

.search-overlay-viewall {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  transition: background .2s ease;
}
.search-overlay-viewall:hover { background: var(--line); }
.search-overlay-viewall i { font-size: 0.78rem; margin-left: 6px; }

/* ---- Mobile nav drawer (hamburger) ------------------------------- */
/* Hamburger button — hidden on desktop, revealed on mobile via the
   existing breakpoint that hides .primary-nav. */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { color: var(--primary); }

/* Drawer overlay (backdrop + slide-in panel). Hidden by default; the JS
   adds .open to reveal. Pattern mirrors .search-overlay so dismissal /
   z-index / scroll-lock all behave consistently. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1090;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 34, 38, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s ease;
  cursor: pointer;
}
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(43, 34, 38, 0.18);
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-brand {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--ink);
}
.mobile-nav-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mobile-nav-close:hover { background: var(--line); color: var(--ink); }

.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 0; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, color .15s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:active { background: var(--bg-soft); color: var(--primary); }
.mobile-nav-links a i { font-size: 0.9rem; color: var(--muted); }

.mobile-nav-section { padding: 18px 22px; }
.mobile-nav-clubs {
  padding: 8px 22px 4px;
  border-top: 1px solid var(--line);
}
.mobile-nav-section-label {
  margin: 0 0 8px;
  padding: 0 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-nav-clubs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-clubs a:last-child { border-bottom: none; }
.mobile-nav-clubs a:hover { color: var(--primary-dark); }
.mobile-nav-account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.mobile-nav-account i { font-size: 1.2rem; color: var(--primary); }
.mobile-nav-account:hover { background: var(--bg-soft); }

.mobile-nav-footer {
  margin-top: auto;
  padding: 18px 22px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
}
.mobile-nav-footer a {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-nav-footer a:hover { color: var(--primary); }

/* ---- Search results page ----------------------------------------- */

.section-search-results { padding: 56px 0 80px; }
.search-section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.mb-5 { margin-bottom: 32px !important; }

/* ---- Add-to-cart toast (with View Cart CTA) ----------------------- */

.toast-container { padding: 16px !important; }

@keyframes cartToastIn {
  0% {
    transform: translate3d(calc(16px + 6%), -12px, 0) scale(0.92);
    filter: blur(1px);
  }
  65% {
    transform: translate3d(0, 0, 0) scale(1.03);
    filter: blur(0);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.cart-toast.toast.show {
  /* Motion on show; opacity still handled by Bootstrap .fade */
  animation: cartToastIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cart-toast.toast:not(.show) {
  transform: none;
  animation: none;
}

.cart-toast {
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 4px 6px rgba(43, 34, 38, 0.04),
    0 20px 42px rgba(43, 34, 38, 0.16),
    0 0 0 1px rgba(177, 137, 184, 0.12);
  border: none;
  overflow: hidden;
  font-family: var(--sans);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.cart-toast:hover {
  box-shadow:
    0 6px 10px rgba(43, 34, 38, 0.06),
    0 24px 52px rgba(43, 34, 38, 0.2),
    0 0 0 1px rgba(177, 137, 184, 0.18);
}

.cart-toast-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
}

.cart-toast-icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.cart-toast-message {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.cart-toast-close {
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background .2s ease, color .2s ease;
}
.cart-toast-close:hover { background: var(--bg-soft); color: var(--ink); }

.cart-toast-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.cart-toast-cta:hover { background: var(--primary-dark); color: #fff; }

/* ---- Quick-add picker modal (variants) ---------------------------- */

.quick-add-modal .modal-content {
  border: none;
  border-radius: 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.quick-add-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .2s ease;
}
.quick-add-close:hover { background: var(--line); }

.quick-add-body { padding: 28px 26px 24px; }

.quick-add-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-right: 30px;
}
.quick-add-img {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
}
.quick-add-img img { width: 100%; height: 100%; object-fit: cover; }
.quick-add-meta { min-width: 0; }
.quick-add-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 4px;
  line-height: 1.2;
  color: var(--ink);
}
.quick-add-price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}
.quick-add-price .price-group { font-size: 1.1rem; }
.quick-add-price .price-compare { font-size: 0.85rem; }

.quick-add-section { margin-bottom: 22px; }
.quick-add-label {
  display: block;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-pill {
  min-width: 56px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.size-pill:hover:not(.disabled):not(.selected) {
  border-color: var(--primary);
  color: var(--primary);
}
.size-pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.size-pill.disabled {
  color: var(--muted);
  background: var(--bg-soft);
  border-color: var(--line);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.7;
}
.size-pill .pill-tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

.quick-add-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.quick-add-actions .qty-selector { flex: 0 0 auto; }
/* The modal ATC button intentionally overrides the slimmer .btn-pdp-add
   look so it reads as a primary CTA — same visual weight as Checkout /
   SHOP BRACELETS / other site-wide primary buttons. */
.quick-add-submit {
  flex: 1;
  height: auto;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 4px;
}

/* ---- Card-level fake ratings still hidden until cards are wired ---- */
/* PDP reviews are wired (see main.js reviews loader) and reveal themselves
   from data in /api/products/<id>/reviews. Card and trending-page ratings
   are still placeholder copy, so they stay hidden until they're wired too. */
.product-card-rating,
.product-card .reviews,
.trending-meta { display: none !important; }

/* ---- Temporarily hidden PDP elements ------------------------------ */
/* Markup is left in templates/v4/product.html on purpose — these will
   come back once the wishlist + VIP+ preview UX is reworked. To restore,
   delete this block. */
.btn-wishlist,
.pdp-vip-preview { display: none !important; }

/* ---- Image placeholder (used on /about until real photos drop in) - */

.image-placeholder {
  width: 100%;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
  gap: 12px;
}
.image-placeholder-square { aspect-ratio: 1 / 1; }
.image-placeholder-tall { aspect-ratio: 4 / 5; }
.image-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 1.5rem;
}
.image-placeholder p {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}
.image-placeholder p small {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  font-style: italic;
}

/* ---- About page --------------------------------------------------- */

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: var(--bg-soft);
}
.about-image-tall { aspect-ratio: 4 / 5; }
.about-image-square { aspect-ratio: 1 / 1; }

.section-about-hero { padding: 56px 0 64px; background: var(--bg); }
.about-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero-copy .page-title {
  text-align: left;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.about-hero-copy .page-sub { text-align: left; margin-bottom: 28px; max-width: 540px; }
.about-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.about-hero-ctas.justify-content-center { justify-content: center; }

.section-about-story { padding: 64px 0; background: var(--bg-alt); }
.section-about-values { padding: 72px 0; background: var(--bg); }
.section-about-process { padding: 64px 0; background: var(--bg-alt); }
.section-about-cta { padding: 72px 0 96px; background: var(--bg); }
.about-cta-inner { max-width: 660px; margin: 0 auto; }
.about-cta-inner .section-title { font-size: 2rem; }
.about-cta-inner p { color: var(--muted); margin-bottom: 28px; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-split-reverse { direction: rtl; }
.about-split-reverse > * { direction: ltr; }
.about-split-copy .section-title { text-align: left; font-size: 2rem; margin-bottom: 16px; }
.about-split-copy p { margin-bottom: 14px; line-height: 1.7; }

.about-values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-values li {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 24px;
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.about-values h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.about-values p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* ---- Trending leaderboard (/pages/trending) ----------------------- */

.section-trending { padding: 56px 0 80px; }
.trending-container { max-width: 880px; }
.trending-header { margin-bottom: 36px; }

.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trending-row {
  display: grid;
  grid-template-columns: 78px 88px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.trending-row:hover { border-color: var(--primary); transform: translateY(-1px); }

/* Rank + movement badge stacked together on the far left */
.trending-rank-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.trending-rank {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.trending-movement {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  min-width: 36px;
  justify-content: center;
}
.movement-up   { color: #2f7a4d; background: #e6f1ea; }
.movement-down { color: #b25b5b; background: #f6e6e6; }
.movement-same { color: var(--muted); background: var(--bg-soft); }
.movement-new  { color: var(--primary); background: var(--bg-soft); letter-spacing: 0.12em; }
.trending-movement i { font-size: 0.7rem; }

.trending-img {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
}
.trending-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.trending-row:hover .trending-img img { transform: scale(1.05); }
.trending-img img.placeholder-img { width: 50%; height: 50%; object-fit: contain; opacity: 0.18; margin: 25%; }

.trending-info { min-width: 0; }
.trending-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.25;
}
.trending-title a { color: var(--ink); }
.trending-title a:hover { color: var(--primary); }
.trending-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.trending-price .price-group { font-size: 1rem; }

.trending-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s ease;
}
.trending-add:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.trending-add i { font-size: 0.85rem; }

/* ---- Treat Yourself Thursday (/pages/tyt) ------------------------- */

.section-tyt { padding: 48px 0 80px; }
.tyt-header { max-width: 720px; margin: 0 auto 40px; }
.tyt-intro {
  margin-top: 12px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.tyt-countdown-wrap {
  max-width: 560px;
  margin: 0 auto 36px;
}
.tyt-countdown-wrap[hidden] {
  display: none !important;
}

.tyt-countdown {
  text-align: center;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.tyt-countdown-eyebrow {
  margin: 0 0 14px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.tyt-countdown-units {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 28px);
}
.tyt-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 3.5rem;
}
.tyt-countdown-value {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tyt-countdown-unit-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.tyt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.tyt-card {
  min-width: 0;
}
.tyt-card-inner {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .25s ease;
}
.tyt-card-inner:hover {
  border-color: rgba(177, 137, 184, 0.45);
  box-shadow: 0 16px 40px rgba(43, 34, 38, 0.08);
}
.tyt-spot-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  padding: 14px 16px 0;
}
.tyt-img-link {
  display: block;
  text-decoration: none;
}
.tyt-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}
.tyt-pct-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(43, 34, 38, 0.12);
}
.tyt-pct-badge[hidden] {
  display: none !important;
}
.tyt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tyt-card-inner:hover .tyt-img img { transform: scale(1.04); }
.tyt-img img.placeholder-img { object-fit: contain; padding: 22%; opacity: 0.2; }

.tyt-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.tyt-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
  text-align: center;
}
.tyt-title a { color: var(--ink); text-decoration: none; }
.tyt-title a:hover { color: var(--primary); }

.tyt-price {
  text-align: center;
}
.tyt-price .price-group {
  font-size: 1.1rem;
  justify-content: center;
}

.tyt-variant-block { margin-top: 4px; }
.tyt-variant-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 8px;
}
.tyt-variant-select {
  border-radius: 6px;
  border-color: var(--line);
  font-size: 0.92rem;
}

.tyt-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 12px;
}
.tyt-actions .btn-pdp-add {
  width: 100%;
  min-height: 56px;
  height: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 0.8rem;
}

.tyt-empty {
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}
.tyt-empty a { color: var(--primary); }

@media (max-width: 991px) {
  .tyt-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 24px;
  }
}

/* ---- Stone-driven discovery -------------------------------------- */

/* Reusable property pill (used on stone tiles, detail page, energy chips) */
.prop-pill {
  display: inline-block;
  padding: 3px 10px;
  margin: 2px 3px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 500;
}
.prop-pill-lg { padding: 6px 14px; font-size: 0.74rem; letter-spacing: 0.12em; }

.stone-dot-sm {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--stone-hex, var(--primary));
  flex-shrink: 0;
}

/* ---- Home: Shop by Stone row ------------------------------------- */

.section-shop-by-stone { padding: 32px 0 64px; background: var(--bg); }

.shop-by-stone-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
}
.shop-by-stone-header .section-title { margin: 0; }
.shop-by-stone-all {
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.shop-by-stone-all i { font-size: 0.72rem; margin-left: 4px; }

.shop-by-stone-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.stone-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s ease, transform .2s ease;
  min-width: 0;
}
.stone-chip:hover { border-color: var(--primary); transform: translateY(-2px); }

.stone-chip-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.stone-chip-circle img { width: 92%; height: 92%; object-fit: contain; }

.stone-chip-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 2px;
  word-break: break-word;
}
.stone-chip-prop {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Energy collection page header ------------------------------- */

.section-energy-hero { padding: 48px 0 24px; background: var(--bg); }
.energy-tagline {
  font-style: italic;
  color: var(--primary);
  font-size: 0.65em;
  font-weight: 400;
  margin-left: 6px;
}

.energy-stone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.energy-stone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.energy-stone-chip:hover { border-color: var(--primary); color: var(--primary); }
.energy-stone-more { color: var(--muted); font-style: italic; }

/* ---- Stone directory grid ---------------------------------------- */

.section-stones-dir { padding: 56px 0 80px; }

.energy-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.energy-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s ease;
}
.energy-jump-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.energy-jump-pill i { color: var(--primary); transition: color .2s ease; }
.energy-jump-pill:hover i { color: #fff; }
.energy-jump-pill > .bi { font-size: 1.15rem; line-height: 1; }

.stones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
}

.stone-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s ease, transform .2s ease;
  min-width: 0;
}
.stone-tile:hover { border-color: var(--primary); transform: translateY(-2px); }

.stone-tile-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}
.stone-tile-circle img { width: 92%; height: 92%; object-fit: contain; }

.stone-tile-name {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}
.stone-tile-props { display: flex; flex-wrap: wrap; justify-content: center; }

/* ---- Stone detail page ------------------------------------------- */

.section-stone-detail { padding: 32px 0 48px; }

.stone-detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.stone-detail-art {
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.stone-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Fallback shown when no `tumbled` image is available — falls back to a
   simple colored circle so we still convey the stone's signature color. */
.stone-detail-circle {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: var(--stone-hex, var(--primary));
}

.stone-detail-info { min-width: 0; }
.stone-detail-title { text-align: left; font-size: 2.4rem; margin-bottom: 12px; }

.stone-detail-props { margin-bottom: 18px; }

.stone-detail-desc {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.stone-meta-pills {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stone-meta-pills li {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  background: var(--bg-soft);
  border-radius: 6px;
  min-width: 110px;
}
.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}
.meta-val { font-size: 0.88rem; color: var(--ink); font-weight: 500; }

.section-stone-bracelets { padding: 48px 0 72px; background: var(--bg); }

/* ---- Policy pages (shipping / returns / privacy / terms) ----------- */

.section-policy { padding: 56px 0 80px; }

.policy-container {
  max-width: 760px;
}

.policy-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.section-policy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--ink);
}

.section-policy p,
.section-policy li {
  color: var(--ink);
  line-height: 1.75;
}

.section-policy ul,
.section-policy ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.section-policy li { margin-bottom: 6px; }

.section-policy a {
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.section-policy a:hover { border-bottom-color: var(--primary); }

.subscription-manage-cta {
  margin: 28px 0 32px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border-radius: 12px;
  text-align: center;
}
.subscription-portal-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border-bottom: none;
}
.subscription-portal-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  border-bottom: none;
}
.subscription-portal-hint {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.section-policy h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 24px 0 10px;
}
.section-policy h3 a { font-weight: 500; }

/* Size guide table (used on /pages/size-guide) */
.size-guide-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 32px;
  background: #fff;
}
.size-guide-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  align-items: center;
}
.size-guide-row:last-child { border-bottom: none; }
.size-guide-row strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.size-guide-head {
  background: var(--bg-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

/* Size guide modal (PDP) */
.size-guide-modal .modal-dialog { max-width: 560px; }
.size-guide-modal .modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.size-guide-modal-body {
  padding: 28px 26px 24px;
  max-height: min(80vh, 680px);
  overflow-y: auto;
}
.size-guide-modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 6px 0 10px;
  color: var(--ink);
}
.size-guide-modal-lead {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.size-guide-modal-body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 22px 0 10px;
  color: var(--ink);
}
.size-guide-modal-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--ink);
}
.size-guide-modal-list {
  margin: 0 0 4px;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.size-guide-modal-list li { margin-bottom: 6px; }
.size-guide-modal-footer-link {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.size-guide-modal-footer-link a {
  color: var(--primary-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.size-guide-modal-footer-link a:hover { color: var(--primary); }
.size-guide-modal .size-guide-table { margin-bottom: 8px; }

/* ---- Responsive --------------------------------------------------- */

@media (max-width: 991.98px) {
  .hero-title { font-size: 2.6rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .purpose-inner { grid-template-columns: 1fr; }
  .pdp-info { padding-left: 0; padding-top: 16px; }
}

/* ---- Sticky mobile add-to-cart bar (PDP only) ---------------------- */

.pdp-sticky-cta { display: none; }   /* desktop hides it */

@media (max-width: 767.98px) {

  /* ---- Tighter chrome --------------------------------------------- */

  .section { padding: 36px 0; }

  #sale-announcement-bar {
    padding: 6px 0;
    font-size: 0.68rem;
  }
  .sale-announcement-message { font-size: 0.82rem; }
  .sale-announcement-timer { font-size: 0.66rem; }
  .sale-timer-units { gap: 6px; }

  .announcement-bar {
    padding: 5px 0;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
  .announcement-inner { gap: 8px; }

  .site-header { padding: 10px 0; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* Logo: drop the tagline (saves a row), shrink the wordmark */
  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.22em;
    padding-left: 18px;
  }
  .brand-name::before { font-size: 0.85rem; }
  .brand-tagline { display: none; }

  .header-actions { gap: 14px; }
  .header-actions a { font-size: 1.05rem; }
  .header-actions .bi-person,
  .header-actions .bi-person-fill { font-size: 1.2rem; }

  /* ---- PDP — push title + price + CTA closer to the top ---------- */

  /* Breadcrumb hidden on mobile to reclaim above-the-fold space for the
     hero image + price + ATC. Kept in the DOM so Google's breadcrumb
     schema crawlers still see it (display:none does not strip schema). */
  .breadcrumb { display: none; }
  .section-pdp { padding: 4px 0 24px; }

  /* Collection toolbar — stack the count above the sort on mobile so the
     dropdown gets full width and stays easy to tap. */
  .collection-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .collection-sort { justify-content: space-between; }
  .sort-select { flex: 1; min-width: 0; }

  /* VIP+ landing — stack to single column and tighten the FAQ grid. */
  .vip-faq-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-vip-faq { padding: 20px 0 48px; }
  .vip-actions .btn-pdp-add { height: 54px; }

  .pdp-gallery { grid-template-columns: 1fr; gap: 8px; }

  /* Multi-image: swipeable track instead of thumb strip + main viewer */
  .pdp-gallery-multi .pdp-thumbs,
  .pdp-gallery-multi .pdp-main-media { display: none; }
  .section-pdp > .container > .row { --bs-gutter-y: 0.5rem; }

  .pdp-gallery-multi .pdp-mobile-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    margin: 0 -4px;
    padding: 0 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pdp-gallery-multi .pdp-mobile-slider::-webkit-scrollbar { display: none; }
  .pdp-gallery-multi .pdp-mobile-slide {
    flex: 0 0 85%;
    max-height: 56vh;
  }

  .pdp-main-media {
    order: 1;
    aspect-ratio: 1 / 1;
    max-height: 56vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .pdp-info { padding-left: 0; padding-top: 4px; }
  .pdp-title { font-size: 1.55rem; line-height: 1.2; margin-bottom: 6px; }
  .pdp-rating { margin-bottom: 8px; }
  .pdp-price { margin-bottom: 14px; }
  .price-lg { font-size: 1.35rem; }
  .pdp-story { padding-top: 22px; margin-top: 0; }
  .pdp-story-eyebrow { margin-bottom: 10px; }
  .pdp-description {
    margin-bottom: 16px;
    font-size: 0.78rem;
    line-height: 1.65;
    color: var(--muted);
  }

  .pdp-story-section--stones { margin-top: 18px; }
  .pdp-stones { gap: 10px; }
  .pdp-stone-head strong { font-size: 0.74rem; }
  .pdp-stone-desc { font-size: 0.78rem; line-height: 1.65; }

  .pdp-variant { margin-bottom: 12px; }
  .pdp-stock { margin-bottom: 14px; }

  /* Keep qty + add button on ONE row on mobile so the in-info CTA is also
     reachable without scrolling further. (Sticky bar provides the always-on
     tap target; this keeps the inline button tidy.) */
  .pdp-actions { flex-direction: row; align-items: stretch; }
  .qty-selector { width: fit-content; flex: 0 0 auto; }
  .btn-pdp-add { flex: 1; }
  .btn-wishlist { padding: 10px 14px; font-size: 0.72rem; margin-bottom: 22px; }

  .pdp-trust { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* ---- Sticky bottom add-to-cart (disabled — inline ATC above fold) */

  .pdp-sticky-cta { display: none !important; }
  body:has(.pdp-sticky-cta) { padding-bottom: 0; }

  /* ---- Other sections -------------------------------------------- */

  .energy-grid { grid-template-columns: repeat(3, 1fr); }
  .energy-circle { width: 104px; height: 104px; font-size: 1.75rem; }
  .energy-circle > .bi { font-size: 1.75rem !important; }
  .purpose-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  /* About page — stack hero + split sections, single-column values */
  .section-about-hero { padding: 32px 0 40px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-hero-copy .page-title { font-size: 1.9rem; text-align: center; }
  .about-hero-copy .page-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .about-hero-copy .eyebrow-text { display: block; text-align: center; }
  .about-hero-ctas { justify-content: center; }
  .about-hero-art { max-width: 420px; margin: 0 auto; width: 100%; }

  .section-about-story,
  .section-about-process,
  .section-about-values,
  .section-about-cta { padding: 40px 0; }

  .about-split { grid-template-columns: 1fr; gap: 24px; }
  .about-split-reverse { direction: ltr; }
  .about-split-copy .section-title { text-align: center; font-size: 1.6rem; }
  .about-split .image-placeholder { max-width: 380px; margin: 0 auto; width: 100%; }

  .about-values { grid-template-columns: 1fr; gap: 16px; }
  .about-values li { padding: 24px 18px; }

  .about-cta-inner .section-title { font-size: 1.5rem; }

  .image-placeholder { padding: 18px; gap: 10px; }
  .image-placeholder span { width: 44px; height: 44px; font-size: 1.2rem; }

  /* Size guide table — tighten cells on small screens */
  .size-guide-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  .size-guide-row strong { font-size: 0.95rem; }

  /* What's-included callout slightly smaller on mobile */
  .pdp-includes { padding: 10px 12px; font-size: 0.78rem; gap: 10px; margin-top: 18px; margin-bottom: 18px; }
  .pdp-includes .includes-icon { width: 28px; height: 28px; font-size: 0.9rem; }

  /* Size help row stays comfortable to read */
  .size-help { font-size: 0.74rem; }

  /* Free-shipping strip — tighter padding, smaller icon */
  .cart-shipping-progress {
    padding: 10px 12px;
    gap: 10px;
    margin-bottom: 16px;
    border-radius: 6px;
  }
  .cshp-icon { width: 28px; height: 28px; font-size: 0.9rem; }
  .cshp-text { font-size: 0.78rem; margin-bottom: 5px; }
  .cshp-bar { height: 3px; }

  /* Mobile cart item — grid layout so the title gets full content width
     and qty/total/remove sit neatly on a second row without squashing. */
  .cart-items { padding: 0 14px; border-radius: 6px; }
  .cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    grid-template-areas:
      "image  details remove"
      "image  qty     total";
    column-gap: 12px;
    row-gap: 10px;
    padding: 16px 0;
    align-items: start;
  }
  .cart-item-img {
    grid-area: image;
    width: 70px; height: 70px;
    flex: none;
    align-self: center;
  }
  .cart-item-details { grid-area: details; min-width: 0; }
  .cart-item-name { font-size: 0.95rem; line-height: 1.3; margin-bottom: 2px; }
  .cart-item-variant,
  .cart-item-unit-price { font-size: 0.78rem; }
  .cart-item-qty { grid-area: qty; align-self: center; justify-self: start; }
  .cart-item-total {
    grid-area: total;
    align-self: center;
    justify-self: end;
    text-align: right;
    font-size: 1rem;
  }
  .cart-item-remove {
    grid-area: remove;
    align-self: start;
    padding: 4px;
  }

  /* VIP+ active indicator — keep horizontal but tighten */
  .cart-vip-active {
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  .vip-active-icon { width: 32px; height: 32px; font-size: 0.95rem; }
  .vip-active-label { font-size: 0.68rem; }
  .vip-active-sub { font-size: 0.74rem; }
  .vip-active-savings strong { font-size: 1.05rem; }
  .vip-active-savings .savings-label { font-size: 0.62rem; }

  /* VIP+ banner — stack on mobile so the CTA spans full width */
  .cart-vip-banner {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "icon  content"
      "btn   btn";
    gap: 10px 14px;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .vip-banner-icon { grid-area: icon; width: 44px; height: 44px; font-size: 1.3rem; }
  .vip-banner-content { grid-area: content; }
  .vip-banner-title { font-size: 1.1rem; margin: 2px 0 4px; }
  .vip-banner-sub { font-size: 0.8rem; }
  .vip-banner-savings { display: block; margin: 4px 0 0; }
  .btn-vip-banner {
    grid-area: btn;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.7rem;
    margin-top: 4px;
  }

  /* Upsell — tighten for small screens, button spans full width */
  .cart-upsell { grid-template-columns: 64px 1fr; padding: 12px; gap: 10px; }
  .cart-upsell-img { width: 64px; height: 64px; }
  .btn-upsell-add {
    grid-column: 1 / -1;
    justify-self: stretch;
    height: 42px;
  }

  /* Search overlay — full-screen sheet on mobile */
  .search-overlay-panel {
    margin: 0;
    border-radius: 0;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
  }
  .search-overlay-bar { padding: 12px 14px; }
  .search-overlay-input { font-size: 0.95rem; }
  .search-overlay-results { padding: 14px; }

  /* Quick-add modal — slide up from bottom, full-width sheet feel */
  .quick-add-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
    align-items: flex-end;
    min-height: 100%;
  }
  .quick-add-modal .modal-content {
    border-radius: 12px 12px 0 0;
  }
  /* Bottom padding adds the iOS safe-area inset so the ATC button never
     sits under the home indicator on iPhones with a notch. */
  .quick-add-body {
    padding: 24px 18px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .quick-add-img { flex: 0 0 72px; width: 72px; height: 72px; }
  .quick-add-title { font-size: 1.1rem; }
  /* Keep qty + ATC on a single row on mobile so the modal stays compact and
     mirrors the PDP layout. ATC button takes the remaining width. */
  .quick-add-actions { flex-direction: row; align-items: stretch; gap: 10px; margin-top: 4px; }
  .quick-add-actions .qty-selector { flex: 0 0 auto; }
  .quick-add-submit {
    flex: 1;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 0.82rem;
  }

  /* Shop by Stone row — horizontal snap-scroll on mobile */
  .shop-by-stone-row {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 4px 4px 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-by-stone-row::-webkit-scrollbar { display: none; }
  .stone-chip {
    flex: 0 0 124px;
    scroll-snap-align: start;
    padding: 14px 8px;
  }
  .stone-chip-circle { width: 56px; height: 56px; margin-bottom: 8px; }
  .shop-by-stone-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; }

  /* Stone directory — smaller tiles, denser grid */
  .stones-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
  .stone-tile { padding: 14px 8px; }
  .stone-tile-circle { width: 60px; height: 60px; margin-bottom: 8px; }
  .stone-tile-name { font-size: 0.78rem; }
  .energy-jump-row { gap: 8px; margin-bottom: 28px; }
  .energy-jump-pill { padding: 8px 14px; font-size: 0.7rem; letter-spacing: 0.08em; }
  .energy-jump-pill > .bi { font-size: 1.05rem; }

  /* Stone detail — single column */
  .stone-detail-hero { grid-template-columns: 1fr; gap: 24px; }
  .stone-detail-art {
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
  }
  .stone-detail-title { text-align: center; font-size: 1.8rem; }
  .stone-detail-info .eyebrow-text,
  .stone-detail-props { text-align: center; display: block; }
  .stone-detail-desc { font-size: 0.92rem; }
  .stone-meta-pills { justify-content: center; gap: 8px; }
  .stone-meta-pills li { padding: 8px 14px; min-width: 90px; }

  /* Energy collection page header */
  .section-energy-hero { padding: 32px 0 16px; }

  /* Trending leaderboard — re-stack so each card uses two rows */
  .trending-row {
    grid-template-columns: 56px 70px 1fr;
    grid-template-areas:
      "rank image title"
      "rank image meta"
      "add  add   add";
    gap: 6px 14px;
    padding: 12px 14px;
  }
  .trending-rank-link { grid-area: rank; align-self: center; }
  .trending-rank { font-size: 1.6rem; }
  .trending-movement { font-size: 0.62rem; padding: 1px 5px; min-width: 32px; }
  .trending-img { grid-area: image; width: 70px; height: 70px; align-self: center; }
  .trending-info { grid-area: title; }
  .trending-title { font-size: 0.95rem; }
  .trending-price { grid-area: meta; align-self: end; justify-self: start; }
  .trending-price .price-group { font-size: 0.9rem; }
  .trending-add {
    grid-area: add;
    height: 40px;
    width: 100%;
    margin-top: 4px;
  }

  .section-related,
  .section-cross-sell { padding: 32px 0; }
  .section-reviews { padding: 32px 0 48px; }
  .section-tabs { padding-top: 8px; }
  .pdp-tabs { gap: 20px; }
  .pdp-tab { padding: 12px 0; font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .energy-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
}

/* ---------------------------------------------------------------
   Journal (blog index + article detail)
   --------------------------------------------------------------- */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-card-img-link { display: block; }
.article-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f7f3ee;
  overflow: hidden;
  border-radius: 12px;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-img img.placeholder-img { object-fit: contain; padding: 30%; opacity: 0.5; }

.article-card-body { padding-top: 14px; }
.article-card-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7e74;
  margin-bottom: 6px;
}
.article-card-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 8px;
}
.article-card-title a { color: inherit; text-decoration: none; }
.article-card-title a:hover { color: var(--color-accent, #b08fb8); }
.article-card-excerpt {
  color: #5e554f;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.article-card-link {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent, #b08fb8);
  text-decoration: none;
  font-weight: 600;
}
.article-card-link:hover { text-decoration: underline; }

.article-detail { padding-bottom: 64px; }
.article-hero { padding: 32px 0 16px; text-align: center; }
.article-hero .breadcrumbs {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7e74;
  margin-bottom: 16px;
}
.article-hero .breadcrumbs a { color: inherit; text-decoration: none; }
.article-hero .breadcrumbs a:hover { color: var(--color-accent, #b08fb8); }
.article-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 2.6rem;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7e74;
  margin-top: 12px;
}
.article-cover {
  max-width: 1080px;
  margin: 24px auto 32px;
  padding: 0 16px;
}
.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #3d3530;
}
.article-body h2,
.article-body h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  margin: 1.6em 0 0.6em;
}
.article-body h2 { font-size: 1.8rem; }
.article-body h3 { font-size: 1.4rem; }
.article-body p { margin-bottom: 1.1em; }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.4em 0;
}
.article-body a { color: var(--color-accent, #b08fb8); }
.article-body ul,
.article-body ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.article-body blockquote {
  border-left: 3px solid var(--color-accent, #b08fb8);
  padding: 4px 0 4px 18px;
  margin: 1.4em 0;
  font-style: italic;
  color: #5e554f;
}
.article-footer {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}

@media (max-width: 768px) {
  .article-title { font-size: 2rem; }
  .article-body { font-size: 0.98rem; }
}

/* ============================================================
   Free Gift With Purchase (FGF)

   Markup lives in the shared `templates/_fgf.html` macros so any
   theme version can reuse the same hooks; styling here is v4-specific.
   ============================================================ */

/* PDP banner — sits between the price/VIP block and the description. */
.pdp-fgf-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary);
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
}
.pdp-fgf-banner .fgf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
}
.pdp-fgf-banner .fgf-icon.fgf-icon-product {
  overflow: hidden;
  padding: 0;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 8px;
}
.pdp-fgf-banner .fgf-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.pdp-fgf-banner .fgf-text strong { color: var(--primary-dark); }
.pdp-fgf-banner .fgf-item-name {
  font-style: italic;
}
.pdp-fgf-banner .fgf-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-fgf-banner .fgf-text s { color: var(--muted); margin: 0 4px; }
.pdp-fgf-banner .fgf-free {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Cart row — visually echoes the regular cart-item grid but is non-interactive.
   Reuses .line-total-strike / .line-total-free already used by the VIP+
   membership row to keep the "free at checkout" treatment consistent. */
.cart-item-fgf {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 14px 14px;
  border-bottom: none;
  margin: 8px 0 14px;
}
.cart-item-fgf .cart-item-img { position: relative; }
.cart-item-fgf .fgf-ribbon {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
}
.cart-item-fgf .cart-item-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.14em;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-fgf .cart-item-unit-price s { color: var(--muted); margin-right: 6px; }
.cart-item-fgf .membership-promo {
  display: block;
  color: var(--primary-dark);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .pdp-fgf-banner { font-size: 0.82rem; padding: 9px 11px; gap: 10px; }
  .pdp-fgf-banner .fgf-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: 0.9rem; }
  .pdp-fgf-banner .fgf-icon.fgf-icon-product { width: 48px; height: 48px; flex-basis: 48px; }
  .cart-item-fgf { padding: 12px; }
}

/* Klaviyo 2-step opt-in modal */
.klaviyo-optin-modal .modal-content {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.klaviyo-optin-body {
  padding: 28px 24px 24px;
}

.klaviyo-optin-title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.2;
  color: var(--text, #2a2a2a);
}

.klaviyo-optin-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  line-height: 1.5;
}

.klaviyo-optin-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}

.klaviyo-optin-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  background: #fff;
}

.klaviyo-optin-check {
  display: none;
}

.klaviyo-optin-submit {
  width: 100%;
  margin-top: 4px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
}

.klaviyo-optin-submit:hover {
  background: var(--primary-dark);
}

.klaviyo-optin-submit.is-loading {
  pointer-events: none;
  opacity: 0.88;
  cursor: wait;
}

.klaviyo-optin-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: klaviyo-optin-spin 0.7s linear infinite;
  vertical-align: -0.15em;
  margin-right: 6px;
}

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

.klaviyo-optin-legal {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.klaviyo-optin-skip {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
}

.klaviyo-optin-error {
  color: #b42318;
  font-size: 0.85rem;
  margin: 0 0 10px;
}

.klaviyo-optin-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft, #faf8f5);
}

.klaviyo-optin-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text, #2a2a2a);
}

.klaviyo-optin-copy {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.klaviyo-optin-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* v5 account hub (local management page after sign-in) */
.account-hub-wrap {
  max-width: 520px;
}

.account-hub-greeting {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-hub-member-status {
  margin-top: -8px;
  margin-bottom: 28px;
  grid-template-columns: auto 1fr;
}

.account-hub-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.account-hub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.account-hub-link:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
  color: var(--text);
}

.account-hub-link-label {
  font-size: 0.95rem;
}

.account-hub-link-ext,
.account-hub-link-arrow {
  color: var(--muted);
  font-size: 0.9rem;
}

.account-hub-meta {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.account-hub-email {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.account-hub-signout {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
}

.account-hub-signout:hover {
  color: var(--text);
}
