/* ============================================================
   ArtRaft — Design System
   Bring Back Tradition With Aesthetics
   ============================================================ */

:root {
  /* Palette — derived from botanical / gold heritage direction */
  --ink:            #1a1815;
  --ink-2:         #2d2a24;
  --muted:         #6b6558;
  --muted-2:       #8a8375;
  --line:          #e7dec9;
  --line-2:        #efe7d6;
  --paper:         #faf6ee;
  --paper-2:       #f4ecdb;
  --cream:         #f7f1e6;
  --ivory:         #fffcf5;

  --green:         #1f3a2e;     /* primary — deep botanical */
  --green-2:       #2a4a38;
  --green-3:       #365a44;
  --green-ink:     #0f2018;

  --gold:          #b8933f;     /* accent — restrained */
  --gold-2:        #c9a24b;
  --gold-soft:     #d9bd7a;

  --terra:         #a65a3a;     /* very sparing warm */
  --success:       #3b7a52;
  --warn:          #b78b20;
  --error:         #a53a2c;

  /* Type */
  --serif:  "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans:   "Manrope", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Sizing */
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(26,24,21,.04), 0 2px 8px rgba(26,24,21,.03);
  --shadow-md: 0 8px 30px rgba(26,24,21,.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.gold-eyebrow { color: var(--gold); }
.gold-rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--green);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 9px 20px;
  font-weight: 400;
}
.announce b { color: var(--gold-soft); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 252, 245, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 20px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav-brand { display: flex; align-items: center; justify-content: center; }
.nav-brand a { display: block; }
.nav-brand img { display: block; height: 60px; width: auto; }

.nav-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  font-weight: 500;
  transition: color .2s;
}
.nav-link { white-space: nowrap; }
.nav-link:hover { color: var(--green); }
.nav-link.has-menu::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.6;
}
.nav-icon-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .2s;
  position: relative;
}
.nav-icon-btn:hover { background: var(--paper-2); }
.nav-icon-btn svg { width: 18px; height: 18px; stroke-width: 1.4; }
.cart-count, .wish-count {
  position: absolute;
  top: 0; right: -2px;
  background: var(--green);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.cart-count:empty, .wish-count:empty { display: none; }

/* Mega menu */
/* Anchored to the full-width nav row (not the Collections link) so it
   stays centred in the viewport and never overflows on smaller screens. */
.nav-row { position: relative; }
.nav-left { align-self: stretch; }
.mega-wrap { position: static; align-self: stretch; display: flex; align-items: center; }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(920px, calc(100vw - 32px));
  box-sizing: border-box;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  box-shadow: var(--shadow-md);
  padding: 32px 40px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.mega-wrap:hover .mega,
.mega-wrap:focus-within .mega,
.mega.open {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega h5 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s, padding .15s;
}
.mega li a:hover { color: var(--green); padding-left: 4px; }
.mega-feature {
  grid-column: span 1;
  background: var(--paper);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.mega-feature .ph-tile { position: absolute; inset: 0; }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature .eyebrow { color: var(--gold); }
.mega-feature h4 { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin: 6px 0 8px; color: var(--ink); }
.mega-feature .btn-text { color: var(--green); font-weight: 600; }

@media (max-width: 1100px) {
  .nav-left { gap: 20px; }
  .nav-link { font-size: 12px; }
  .mega { grid-template-columns: repeat(3, 1fr); padding: 28px 28px 24px; gap: 24px; }
  .mega-feature { display: none; }
}

/* Mobile menu toggle */
.nav-toggle { display: none; }

/* Tablet: the full link row + logo + icons no longer fit, so use the hamburger header */
.nav-brand img { max-width: none; flex-shrink: 0; }
@media (max-width: 960px) {
  .nav-row { grid-template-columns: auto 1fr auto; }
  .nav-left { gap: 0; }
  .nav-left > :not(.nav-toggle) { display: none; }
  .nav-right { gap: 4px; }
  .nav-toggle {
    display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  min-height: 48px;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-cream { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline-cream:hover { background: var(--cream); color: var(--green); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { color: var(--ink); padding: 12px 14px; }
.btn-ghost:hover { color: var(--green); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; min-height: 56px; }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 11px; }

.btn-text {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap .2s, color .2s;
}
.btn-text:hover { gap: 12px; color: var(--green); }
.btn-text.on-dark { color: var(--cream); border-color: var(--gold); }

/* ---------- Placeholder tiles (imagery stand-ins) ---------- */
.ph-tile {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  isolation: isolate;
}
.ph-tile::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201, 162, 75, 0.16), transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(31, 58, 46, 0.18), transparent 60%),
    linear-gradient(140deg, #f5ecd8 0%, #efe1c3 45%, #e6d5b0 100%);
}
.ph-tile::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(31, 58, 46, 0.025) 0 2px, transparent 2px 6px);
  mix-blend-mode: multiply;
  opacity: 0.6;
}
.ph-tile.green::before {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(201, 162, 75, 0.22), transparent 55%),
    radial-gradient(140% 120% at 0% 100%, rgba(15, 32, 24, 0.7), transparent 60%),
    linear-gradient(160deg, #2a4a38 0%, #1f3a2e 60%, #16281f 100%);
}
.ph-tile.cream::before {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201, 162, 75, 0.12), transparent 55%),
    linear-gradient(140deg, #faf3e2 0%, #f0e4c9 100%);
}
.ph-tile.warm::before {
  background:
    radial-gradient(140% 100% at 50% 100%, rgba(184, 147, 63, 0.35), transparent 55%),
    linear-gradient(160deg, #f2dab0 0%, #e6b878 55%, #b8823a 100%);
}
.ph-tile.terra::before {
  background:
    radial-gradient(120% 100% at 30% 30%, rgba(184, 147, 63, 0.25), transparent 55%),
    linear-gradient(160deg, #d8956d 0%, #a65a3a 100%);
}
.ph-tile .ph-label {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-align: center;
  z-index: 2;
  color: var(--green-ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.1;
  font-style: italic;
  letter-spacing: 0.005em;
}
.ph-tile.green .ph-label { color: var(--cream); }
.ph-tile.terra .ph-label,
.ph-tile.warm .ph-label { color: var(--green-ink); }
.ph-tile .ph-label small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.ph-tile.green .ph-label small { color: var(--gold-soft); }
.ph-tile.warm .ph-label small,
.ph-tile.terra .ph-label small { color: var(--green-ink); opacity: 0.7; }
.ph-tile .ph-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,252,245,0.7);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  z-index: 3;
  font-weight: 500;
}
.ph-tile.green .ph-tag { color: var(--gold-soft); background: rgba(15,32,24,0.4); border-color: rgba(201,162,75,0.4); }
.ph-tile .ph-ornament {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  opacity: 0.55;
}
.ph-tile.green .ph-ornament { opacity: 0.7; }

/* Aspect ratio helpers */
.ratio { position: relative; width: 100%; }
.ratio > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-219 { aspect-ratio: 21 / 9; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-hd { text-align: center; margin-bottom: 44px; }
.section-hd .eyebrow { display: inline-block; margin-bottom: 12px; }
.section-hd h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-hd p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.section-hd.left { text-align: left; }
.section-hd.left p { margin-left: 0; }

.on-green { background: var(--green); color: var(--cream); }
.on-green .eyebrow { color: var(--gold-soft); }
.on-green .section-hd h2 { color: var(--cream); }
.on-green .section-hd p { color: rgba(247, 241, 230, 0.7); }
.on-cream { background: var(--cream); }
.on-paper { background: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--green);
}
.hero .ph-tile { position: absolute; inset: 0; }
.hero .ph-tile::after { opacity: 0.3; }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { color: var(--gold-soft); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 14ch;
  margin: 18px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.hero-sub {
  color: rgba(247, 241, 230, 0.82);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute;
  top: 24px; right: var(--gutter);
  z-index: 3;
  color: rgba(247, 241, 230, 0.6);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: right;
}
.hero-caption {
  position: absolute;
  bottom: 32px; right: var(--gutter);
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(247, 241, 230, 0.5);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-7 { grid-template-columns: repeat(7, 1fr); }

/* ---------- Category tile (small) ---------- */
.cat-tile {
  display: block;
  position: relative;
  cursor: pointer;
  transition: transform .35s ease;
}
.cat-tile .ratio { margin-bottom: 14px; overflow: hidden; }
.cat-tile .ph-tile { transition: transform .8s ease; }
.cat-tile:hover .ph-tile { transform: scale(1.04); }
.cat-tile h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cat-tile .cat-count {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Product card ---------- */
.prod-card {
  position: relative;
  cursor: pointer;
}
.prod-card .prod-media {
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--paper);
}
.prod-card .prod-media .ph-tile { transition: transform .6s ease; }
.prod-card:hover .prod-media .ph-tile { transform: scale(1.03); }
.prod-card .prod-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--cream);
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  font-weight: 600;
  z-index: 3;
}
.prod-card .prod-badge.sale { background: var(--terra); color: var(--cream); }
.prod-card .wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(255,252,245,0.9);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background .2s;
}
.prod-card .wish-btn:hover { background: var(--cream); }
.prod-card .wish-btn svg { width: 16px; height: 16px; stroke-width: 1.4; fill: none; stroke: var(--ink); transition: fill .2s, stroke .2s; }
.prod-card .wish-btn.active svg { fill: var(--terra); stroke: var(--terra); }
.prod-card .prod-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(15,32,24,0.7), transparent);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 3;
}
.prod-card:hover .prod-hover { transform: translateY(0); }
.prod-card .prod-hover .btn { width: 100%; background: var(--cream); color: var(--green); }
.prod-card .prod-hover .btn:hover { background: var(--ivory); }
.prod-card .prod-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.35;
}
.prod-card .prod-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.prod-card .prod-price {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.prod-card .prod-price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.prod-card .prod-price .sale-price { color: var(--terra); margin-right: 6px; }

/* ---------- Editorial ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.editorial.reverse { grid-template-columns: 1fr 1.1fr; }
.editorial.reverse .editorial-copy { order: 2; }
.editorial-copy .eyebrow { margin-bottom: 14px; }
.editorial-copy h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.editorial-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 50ch;
}
.editorial-copy .btn-text { color: var(--green); }

/* ---------- Occasion strip ---------- */
.occasion-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.occ-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}
.occ-card .ph-tile { transition: transform .6s ease; }
.occ-card:hover .ph-tile { transform: scale(1.05); }
.occ-card .occ-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 20px;
  background: linear-gradient(to top, rgba(15,32,24,0.85), rgba(15,32,24,0.1) 70%, transparent);
  color: var(--cream);
}
.occ-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.occ-card .occ-meta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Need cards ---------- */
.need-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.need-card {
  border: 1px solid var(--line);
  padding: 26px 22px;
  background: var(--ivory);
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
}
.need-card:hover { background: var(--cream); border-color: var(--gold); transform: translateY(-2px); }
.need-card .need-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  flex: 1;
}
.need-card .need-quote::before { content: "“"; color: var(--gold); font-size: 32px; line-height: 0; vertical-align: -0.1em; margin-right: 2px; }
.need-card .need-answer {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.need-card:hover .need-answer { color: var(--green); }

/* ---------- Philosophy ---------- */
.philosophy {
  background: var(--green);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(201,162,75,0.14), transparent 60%),
    radial-gradient(50% 70% at 85% 90%, rgba(201,162,75,0.08), transparent 60%);
  pointer-events: none;
}
.philosophy-inner { position: relative; z-index: 1; }
.philosophy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0;
  color: var(--cream);
  max-width: 18ch;
  margin: 24px 0 32px;
}
.philosophy h2 em { color: var(--gold-soft); font-style: italic; }
.philosophy p {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(247,241,230,0.75);
  max-width: 58ch;
  margin-bottom: 40px;
  font-weight: 300;
}
.four-part {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,162,75,0.3);
}
.four-part .fp {
  color: var(--cream);
}
.four-part .fp .fp-num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
}
.four-part .fp h4 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 8px;
}
.four-part .fp p {
  font-size: 13px;
  color: rgba(247,241,230,0.65);
  margin: 0;
}

/* ---------- The Edit ---------- */
.edit-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 640px;
}
.edit-grid .edit-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.edit-grid .edit-tile.large { grid-row: span 2; }
.edit-grid .edit-tile .body {
  position: absolute; inset: auto 0 0 0;
  padding: 28px;
  z-index: 3;
  background: linear-gradient(to top, rgba(15,32,24,0.9), transparent);
  color: var(--cream);
}
.edit-grid .edit-tile .body h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 6px;
  font-weight: 400;
}
.edit-grid .edit-tile.large .body h3 { font-size: 42px; }
.edit-grid .edit-tile .body p { font-size: 13px; color: rgba(247,241,230,0.75); margin: 0; }
.edit-grid .edit-tile .ph-tile { transition: transform .8s ease; }
.edit-grid .edit-tile:hover .ph-tile { transform: scale(1.05); }

/* ---------- UGC ---------- */
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ugc-cell {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  position: relative;
  border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-align: center;
  padding: 12px;
}
.ugc-cell.filled { border-style: solid; }

/* ---------- Partner bridge / Final CTA ---------- */
.bridge {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--paper);
  overflow: hidden;
}
.bridge-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.bridge-inner h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 12px 0 20px; }
.bridge-inner p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 26px; max-width: 46ch; }

.final-cta {
  background: var(--green);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 40%, rgba(201,162,75,0.12), transparent 70%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta .eyebrow { color: var(--gold-soft); }
.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  color: var(--cream);
  margin: 20px auto 24px;
  max-width: 14ch;
}
.final-cta h2 em { color: var(--gold-soft); font-style: italic; }
.final-cta p { color: rgba(247,241,230,0.75); font-size: 17px; max-width: 44ch; margin: 0 auto 40px; font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-ink);
  color: rgba(247,241,230,0.7);
  padding: 80px 0 30px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,162,75,0.2);
}
.footer-brand img { display: block; width: 220px; height: auto; margin-bottom: 22px; }
.footer-brand p { color: rgba(247,241,230,0.6); font-size: 14px; line-height: 1.6; max-width: 34ch; margin-bottom: 22px; }
.footer-brand .newsletter { display: flex; gap: 0; max-width: 340px; border: 1px solid rgba(201,162,75,0.3); }
.footer-brand .newsletter input { flex: 1; background: transparent; border: 0; padding: 12px 14px; color: var(--cream); outline: 0; font-size: 13px; }
.footer-brand .newsletter input::placeholder { color: rgba(247,241,230,0.4); }
.footer-brand .newsletter button {
  background: var(--gold); color: var(--green-ink);
  padding: 0 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(247,241,230,0.72); transition: color .15s; }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(247,241,230,0.5);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .fb-right { display: flex; gap: 20px; }

/* ---------- Cart drawer ---------- */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(15,32,24,0.4);
  z-index: 80;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--ivory);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,.15,.15,1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(15,32,24,0.1);
}
.drawer.open { transform: translateX(0); }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-hd h4 { font-family: var(--serif); font-size: 22px; }
.drawer-close { padding: 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px; }
.drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: flex-start;
}
.drawer-item .di-media { width: 72px; height: 88px; }
.drawer-item .di-name { font-size: 14px; margin-bottom: 4px; font-weight: 500; line-height: 1.3; }
.drawer-item .di-meta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.drawer-item .di-price { font-weight: 600; font-size: 13px; }
.drawer-item .di-remove { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 0; padding: 4px 0; }
.drawer-item .di-remove:hover { color: var(--error); }
.drawer-item .di-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.drawer-item .di-qty button { width: 26px; height: 26px; font-size: 12px; }
.drawer-item .di-qty span { min-width: 26px; text-align: center; font-size: 13px; }
.drawer-ft { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-ft .totals { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; }
.drawer-ft .totals strong { font-weight: 700; }
.drawer-ft .drawer-note { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; text-align: center; }
.drawer-empty { text-align: center; padding: 60px 20px; }
.drawer-empty h5 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.drawer-empty p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=number],
.field input[type=password],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--green);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.field-help { font-size: 12px; color: var(--muted); margin-top: 6px; }

.check-row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
}
.check-row input { margin-top: 3px; }

/* ---------- Breadcrumb ---------- */
.crumb {
  padding: 20px 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--gold); margin: 0 8px; }

/* ---------- Page hero (secondary) ---------- */
.page-hero {
  background: var(--paper);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  margin: 16px 0 18px;
}
.page-hero p { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.6; }
.page-hero.dark { background: var(--green); color: var(--cream); }
.page-hero.dark .eyebrow { color: var(--gold-soft); }
.page-hero.dark h1 { color: var(--cream); }
.page-hero.dark h1 em { color: var(--gold-soft); font-style: italic; }
.page-hero.dark p { color: rgba(247,241,230,0.75); }

/* ---------- Chips / filters ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--ivory);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: var(--cream); }
.chip.gold { border-color: var(--gold); color: var(--gold); }

/* ---------- Ornament SVG helpers ---------- */
.leaf { display: inline-block; vertical-align: middle; }

/* ---------- Journal ---------- */
.journal-card {
  cursor: pointer;
}
.journal-card .prod-media { margin-bottom: 20px; }
.journal-card .journal-cat {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 600;
}
.journal-card h3 {
  font-family: var(--serif); font-size: 26px; line-height: 1.2;
  margin-bottom: 10px; color: var(--ink);
}
.journal-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.journal-card .journal-meta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Steps (partner journey) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.step {
  padding: 24px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  text-align: left;
  position: relative;
}
.step .step-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
}
.step h5 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
}
.step p { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Product page ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding: 20px 0 80px;
  align-items: flex-start;
}
.pdp-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: flex-start; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pdp-thumb.active { border-color: var(--green); }
.pdp-main { position: relative; }
.pdp-main .ratio { aspect-ratio: 4 / 5; }
.pdp-info h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  margin-bottom: 12px;
}
.pdp-info .pdp-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pdp-info .pdp-price { font-size: 24px; font-weight: 600; margin-bottom: 22px; }
.pdp-info .pdp-price s { color: var(--muted); font-weight: 400; font-size: 18px; margin-left: 8px; }
.pdp-info .pdp-price .save { color: var(--terra); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 12px; font-weight: 600; }
.pdp-info .pdp-desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.pdp-attrs {
  border-top: 1px solid var(--line);
  padding-top: 20px; margin-bottom: 24px;
}
.pdp-attrs .attr-row { display: flex; gap: 20px; margin-bottom: 12px; font-size: 13px; }
.pdp-attrs .attr-row dt { color: var(--muted); min-width: 110px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; padding-top: 3px; font-weight: 600; }
.pdp-attrs .attr-row dd { margin: 0; color: var(--ink); }

.pdp-actions { display: flex; gap: 12px; align-items: stretch; margin-bottom: 20px; }
.qty-picker { display: inline-flex; border: 1px solid var(--ink); align-items: stretch; }
.qty-picker button { width: 48px; }
.qty-picker span { min-width: 44px; text-align: center; align-self: center; }

.pdp-panel { border-top: 1px solid var(--line); }
.pdp-panel details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.pdp-panel summary {
  cursor: pointer;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.pdp-panel summary::-webkit-details-marker { display: none; }
.pdp-panel summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); }
.pdp-panel details[open] summary::after { content: "−"; }
.pdp-panel .panel-body { padding-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.pdp-panel .panel-body ul { padding-left: 18px; }
.pdp-panel .panel-body li { margin-bottom: 4px; }

.pin-check { display: flex; gap: 10px; margin-bottom: 20px; }
.pin-check input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); background: var(--ivory); font-size: 13px; letter-spacing: 0.06em; }
.pin-check button { padding: 11px 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--ink); font-weight: 600; }
.pin-msg { font-size: 12px; color: var(--success); margin-top: 4px; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 30px 0 80px; align-items: flex-start; }
.shop-sidebar { position: sticky; top: 96px; }
.shop-sidebar h5 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.shop-sidebar .facet { margin-bottom: 28px; }
.shop-sidebar .facet li { list-style: none; margin-bottom: 8px; font-size: 14px; }
.shop-sidebar .facet li label { display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--muted); }
.shop-sidebar .facet li label input { accent-color: var(--green); }
.shop-sidebar .facet li label:hover { color: var(--ink); }
.shop-sidebar .facet li label .count { margin-left: auto; color: var(--muted-2); font-size: 12px; }

.shop-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.shop-topbar .result-count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.shop-topbar select { padding: 8px 14px; border: 1px solid var(--line); background: var(--ivory); font-size: 13px; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar > div {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: center;
}
.trust-bar > div:last-child { border-right: 0; }
.trust-bar svg { width: 26px; height: 26px; color: var(--green); stroke-width: 1.3; flex-shrink: 0; }
.trust-bar h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.trust-bar p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 13px; letter-spacing: 0.06em;
  z-index: 200;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-6, .grid-7 { grid-template-columns: repeat(3, 1fr); }
  .occasion-strip { grid-template-columns: repeat(3, 1fr); }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial.reverse .editorial-copy { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .edit-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .edit-grid .edit-tile.large { grid-row: auto; min-height: 400px; }
  .edit-grid .edit-tile { min-height: 280px; }
  .four-part { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 40px; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumb { width: 68px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar > div:nth-child(2) { border-right: 0; }
  .bridge-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-row { grid-template-columns: auto 1fr auto; height: 62px; }
  /* Keep the hamburger (it lives inside .nav-left); hide only the desktop links */
  .nav-left { gap: 0; }
  .nav-left > :not(.nav-toggle) { display: none; }
  .nav-right { gap: 4px; }
  .nav-toggle {
    display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-brand img { height: 46px; }
  .grid-2, .grid-3, .grid-4, .grid-6, .grid-7 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .occasion-strip { grid-template-columns: 1fr 1fr; }
  .need-grid { grid-template-columns: 1fr; }
  .four-part { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .edit-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-bar > div:last-child { border-bottom: 0; }
  .section-hd { text-align: left; }
  .section-hd p { margin-left: 0; }
  .hero { min-height: 78vh; padding-top: 90px; padding-bottom: 60px; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp-actions { flex-direction: column; }
}

/* ---------- Mobile drawer nav ---------- */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 90vw);
  background: var(--ivory);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform .28s ease;
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav-hd img { display: block; height: 52px; width: auto; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
}
.mobile-nav a.small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(15,32,24,0.85);
  z-index: 95;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 100px 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(720px, 100%); background: var(--ivory); padding: 30px; }
.search-box input {
  width: 100%; padding: 18px 0; font-family: var(--serif); font-size: 32px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: 0;
}
.search-suggestions { margin-top: 24px; }
.search-suggestions h5 { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.search-suggestions a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.search-suggestions a:hover { color: var(--green); }

/* ---------- Small ornaments ---------- */
.divider-orn { display: flex; align-items: center; justify-content: center; margin: 30px 0; gap: 14px; }
.divider-orn::before, .divider-orn::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 80px; }
.divider-orn svg { color: var(--gold); width: 18px; height: 18px; }

/* ============================================================
   ArtRaft — Extended Styles v2
   All new sections and component updates
   ============================================================ */

/* ---------- Mobile Nav Accordion (Collections sub-menu) ---------- */
.mob-accordion {
  border-bottom: 1px solid var(--line-2);
}
.mob-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.mob-accordion summary::-webkit-details-marker { display: none; }
.mob-chev { color: var(--gold); font-size: 18px; transition: transform .2s; }
.mob-accordion[open] .mob-chev { transform: rotate(90deg); }
.mob-submenu { padding: 4px 0 10px 14px; }
.mob-submenu a { padding: 10px 0; font-size: 13px; color: var(--muted); border-bottom: none !important; letter-spacing: 0.08em; }
.mob-submenu a:hover { color: var(--green); }
.mob-divider { height: 1px; background: var(--line); margin: 16px 0; }

/* Partner nav link highlight */
.partner-nav-link {
  color: var(--green) !important;
  font-weight: 600 !important;
}
.partner-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ---------- Campaign Banner (rotating infographic) ---------- */
.campaign-banner {
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.campaign-track {
  display: flex;
  animation: campaignScroll 24s linear infinite;
  white-space: nowrap;
}
.campaign-track:hover { animation-play-state: paused; }
.campaign-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  border-right: 1px solid rgba(247,241,230,0.15);
}
.campaign-item .ci-badge {
  background: var(--gold);
  color: var(--green-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.campaign-item b { color: var(--gold-soft); }
@keyframes campaignScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Logo - larger / more prominent ---------- */
.nav-brand img { height: 60px; }

/* ---------- Collection tabs (horizontal pill nav on shop/collections) ---------- */
.collection-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  align-items: center;
}
.col-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ivory);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  white-space: nowrap;
}
.col-tab:hover, .col-tab.active {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
.col-tab .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.col-tab.active .dot { background: var(--gold-soft); }

/* ---------- Global Presence / Export section ---------- */
.global-section {
  background: var(--green-ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.global-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 80% 50%, rgba(201,162,75,0.1), transparent 70%);
  pointer-events: none;
}
.global-inner { position: relative; z-index: 1; }
.global-map {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.global-countries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.country-card {
  background: rgba(255,252,245,0.06);
  border: 1px solid rgba(201,162,75,0.25);
  padding: 16px;
  text-align: center;
  transition: background .2s;
}
.country-card:hover { background: rgba(255,252,245,0.1); }
.country-flag { font-size: 28px; margin-bottom: 6px; }
.country-name { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,241,230,0.7); }
.global-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(201,162,75,0.25);
}
.gstat .gstat-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold-soft);
  font-style: italic;
  line-height: 1;
}
.gstat .gstat-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,241,230,0.6); margin-top: 4px; }

/* ---------- Order a Sample CTA bar ---------- */
.sample-cta-bar {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sample-cta-bar .sc-text h5 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.sample-cta-bar .sc-text p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Credible Partners / Platform section ---------- */
.partners-section {
  background: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0;
}
.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.platform-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  min-width: 140px;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
}
.platform-logo-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(26,24,21,.08); }
.platform-logo-card .plc-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.plc-amz .plc-icon { background: #FF9900; }
.plc-myn .plc-icon { background: #ff3e6c; }
.plc-fk  .plc-icon { background: #2874f0; }
.plc-ny  .plc-icon { background: #FC4F77; }
.plc-aj  .plc-icon { background: #00c2a8; }
.plc-pp  .plc-icon { background: #7a49ff; }
.platform-pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,252,245,0.12);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(247,241,230,0.75);
}

/* ---------- Live Making of Products section ---------- */
.live-making {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
}
.making-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.making-card {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-2);
  overflow: hidden;
  cursor: pointer;
}
.making-card .ph-tile { position: absolute; inset: 0; }
.making-card .play-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  background: rgba(15,32,24,0.35);
  transition: background .2s;
}
.making-card:hover .play-btn { background: rgba(15,32,24,0.55); }
.play-btn .play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(247,241,230,0.15);
  border: 2px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.making-card:hover .play-circle { transform: scale(1.1); }
.play-circle svg { color: var(--cream); margin-left: 3px; }
.making-card .making-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(10,18,14,0.9), transparent);
  z-index: 5;
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
}
.making-label small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2px; }

/* Video modal */
.video-modal {
  position: fixed; inset: 0;
  background: rgba(10,18,14,0.92);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-inner { width: min(900px, 92vw); background: var(--ink); padding: 24px; position: relative; }
.video-modal-inner .ph-tile { aspect-ratio: 16/9; position: relative; width: 100%; }
.video-modal-close { position: absolute; top: 12px; right: 12px; color: var(--cream); background: none; border: none; cursor: pointer; z-index: 1; }

/* ---------- Product Experience / Reviews ---------- */
.reviews-section { padding: clamp(48px, 6vw, 80px) 0; }
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rating-big { font-family: var(--serif); font-size: 64px; color: var(--ink); line-height: 1; font-style: italic; }
.rating-stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; }
.rating-bars { flex: 1; min-width: 200px; }
.r-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.r-bar-row .rb { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.r-bar-row .rb-fill { height: 100%; background: var(--gold); border-radius: 3px; }

.review-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.review-card:last-child { border-bottom: 0; }
.review-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--green);
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: 14px; }
.reviewer-meta { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.review-verified { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--success); font-weight: 600; margin-left: auto; }
.review-media { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.review-media .rm-thumb { width: 68px; height: 68px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }

/* Review form */
.review-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 24px;
}
.star-picker { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; margin: 12px 0; }
.star-picker input { display: none; }
.star-picker label { font-size: 28px; color: var(--line); cursor: pointer; transition: color .15s; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--gold); }
.media-upload-zone {
  border: 1px dashed var(--line);
  padding: 20px;
  text-align: center;
  background: var(--ivory);
  cursor: pointer;
  margin-top: 8px;
}
.media-upload-zone:hover { border-color: var(--gold); }

/* ---------- Customisation section ---------- */
.custom-section {
  background: var(--green);
  color: var(--cream);
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.custom-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 20% 80%, rgba(201,162,75,0.12), transparent 60%);
}
.custom-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.custom-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.custom-feat {
  padding: 18px;
  background: rgba(255,252,245,0.07);
  border: 1px solid rgba(201,162,75,0.2);
}
.custom-feat .cf-icon { font-size: 22px; margin-bottom: 8px; }
.custom-feat h5 { font-family: var(--serif); font-size: 18px; color: var(--cream); margin-bottom: 4px; }
.custom-feat p { font-size: 12px; color: rgba(247,241,230,0.65); margin: 0; }

/* ---------- Product Making Story (on PDP) ---------- */
.making-story {
  background: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0;
}
.making-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.craft-steps { margin-top: 24px; }
.craft-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: flex-start;
}
.craft-step:last-child { border-bottom: 0; }
.cs-num { font-family: var(--serif); font-size: 22px; color: var(--gold); font-style: italic; flex-shrink: 0; width: 32px; }
.cs-body h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.cs-body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Razorpay Payment Gateway UI ---------- */
.payment-gateway-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  margin-top: 20px;
}
.payment-method-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.payment-method-row:hover { border-color: var(--green); }
.payment-method-row.selected { border-color: var(--green); background: var(--paper); }
.payment-method-row input[type="radio"] { accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.pm-label { flex: 1; }
.pm-label .pm-name { font-size: 14px; font-weight: 600; }
.pm-label .pm-desc { font-size: 12px; color: var(--muted); }
.pm-icons { display: flex; gap: 6px; }
.pm-icon {
  width: 36px; height: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.razorpay-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--ivory);
  border: 1px solid var(--line-2);
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.razorpay-badge .rp-logo {
  font-weight: 700;
  color: #3395FF;
  font-size: 13px;
}

/* ---------- Support Chat Widget ---------- */
.support-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(15,32,24,0.3);
  z-index: 140;
  transition: transform .2s, background .2s;
}
.support-fab:hover { background: var(--green-2); transform: scale(1.06); }
.support-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--terra);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.support-panel {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 340px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  z-index: 140;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  opacity: 0; visibility: hidden;
  transition: all .25s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.support-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.support-hd {
  background: var(--green);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.support-body {
  padding: 14px 16px;
  max-height: 280px;
  overflow-y: auto;
  flex: 1;
}
.support-msg { display: flex; margin-bottom: 10px; }
.support-msg.user { justify-content: flex-end; }
.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 16px;
}
.support-msg.bot .msg-bubble { background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; }
.support-msg.user .msg-bubble { background: var(--green); color: var(--cream); border-bottom-right-radius: 4px; }
.msg-bubble a { color: var(--gold); text-decoration: underline; }
.support-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
.support-quick button {
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--ivory);
  cursor: pointer;
  border-radius: 14px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  transition: all .15s;
}
.support-quick button:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.support-input {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
}
.support-input input {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  background: var(--ivory);
  font-size: 13px;
  outline: none;
  color: var(--ink);
}
.support-input button {
  padding: 0 16px;
  background: var(--green);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.support-input button:hover { background: var(--green-2); }
.support-ft {
  padding: 8px 16px;
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line-2);
}
.support-ft a { color: var(--green); }

/* ---------- Extended responsive fixes ---------- */
@media (max-width: 900px) {
  .global-map { grid-template-columns: 1fr; gap: 36px; }
  .global-countries { grid-template-columns: repeat(4, 1fr); }
  .custom-inner { grid-template-columns: 1fr; gap: 36px; }
  .making-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .making-grid { grid-template-columns: 1fr 1fr; }
  .support-panel { width: min(320px, 94vw); right: 16px; }
  .support-fab { right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  .campaign-item { padding: 10px 24px; font-size: 11px; }
  .platform-logos { gap: 10px; }
  .platform-logo-card { min-width: 120px; padding: 12px 18px; font-size: 12px; }
  .making-grid { grid-template-columns: 1fr; }
  .global-countries { grid-template-columns: repeat(3, 1fr); }
  .global-stats { grid-template-columns: 1fr 1fr; }
  .nav-brand img { height: 50px; }
  .collection-tabs { gap: 6px; }
  .col-tab { padding: 6px 12px; font-size: 11px; }
  .custom-features { grid-template-columns: 1fr; }
}

/* ---------- Font & colour corrections ---------- */
/* Ensure consistent heading family on section heads */
.section-hd h2, .section-hd h3 {
  font-family: var(--serif);
}
/* Consistent gold accent for eyebrows */
.gold-eyebrow {
  color: var(--gold);
  font-weight: 600;
}
/* Trust bar polish */
.trust-bar h5 { font-family: var(--serif); font-size: 18px; font-weight: 500; }

/* Page-hero dark */
.page-hero.dark {
  background: var(--green);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
}
.page-hero.dark h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 90px);
  line-height: 1;
  color: var(--cream);
  font-weight: 400;
  max-width: 14ch;
  margin: 16px 0 20px;
}
.page-hero.dark h1 em { color: var(--gold-soft); font-style: italic; }
.page-hero.dark p { color: rgba(247,241,230,0.78); font-size: 17px; line-height: 1.65; max-width: 48ch; font-weight: 300; }
.page-hero.dark .eyebrow { color: var(--gold-soft); letter-spacing: 0.2em; }

/* ===================== CAMPAIGN BANNER EXTRAS ===================== */
.campaign-banner {
  position: relative;
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 200;
}
.campaign-track {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.campaign-item {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 48px 0 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.campaign-item:not(:first-child) {
  opacity: 0;
  transform: translateY(100%);
}
.cb-tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--gold);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.cb-text {
  color: rgba(247,241,230,0.9);
  flex-shrink: 0;
}
.cb-cta {
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  border-bottom: 1px solid var(--gold-soft);
}
.cb-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(247,241,230,0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  z-index: 10;
}
.cb-close:hover { color: var(--cream); }
@media (max-width: 600px) {
  .campaign-item { font-size: 10px; gap: 8px; padding-right: 40px; }
  .cb-text { display: none; }
}

/* ===================== SAMPLE CTA BAR EXTRAS ===================== */
.sample-cta-bar {
  background: linear-gradient(135deg, var(--green) 0%, #2a4d3c 100%);
  padding: 20px 0;
}
.sample-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sample-cta-icon {
  color: var(--gold-soft);
  flex-shrink: 0;
}
.sample-cta-copy {
  flex: 1;
  min-width: 200px;
}
.sample-cta-copy strong {
  display: block;
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}
.sample-cta-copy span {
  color: rgba(247,241,230,0.7);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .sample-cta-inner { flex-direction: column; text-align: center; gap: 16px; }
  .sample-cta-icon { display: none; }
}

/* ===================== CUSTOM SECTION EXTRAS ===================== */
.custom-text { }
.custom-visual { }
@media (max-width: 900px) {
  .custom-visual { order: -1; }
}

/* ===================== REVIEWS LAYOUT EXTRAS ===================== */
.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: flex-start;
}
.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  background: var(--ivory);
  transition: border-color .15s;
}
.review-card:hover { border-color: var(--gold-soft); }
.review-card-hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .reviews-layout { grid-template-columns: 1fr; }
}

/* ===================== PAYMENT GATEWAY EXTRAS ===================== */
.pm-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-label strong {
  font-size: 14px;
  font-weight: 600;
}
.pm-label span {
  font-size: 11px;
  color: var(--muted);
}
.pm-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.razorpay-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
}

/* ===================== GLOBAL SECTION EXTRAS ===================== */
.country-card {
  padding: 18px;
  background: rgba(255,252,245,0.06);
  border: 1px solid rgba(184,147,63,0.3);
  text-align: center;
  transition: background .15s;
  cursor: default;
}
.cc-flag { font-size: 28px; margin-bottom: 8px; }
.cc-name { font-family: var(--serif); font-size: 16px; color: var(--cream); margin-bottom: 3px; }
.cc-note { font-size: 11px; color: rgba(247,241,230,0.55); }


/* ================================================================
   ArtRaft — Mobile & Visual Polish v3
   Comprehensive mobile fixes + consistency improvements
   ================================================================ */

/* ---- Campaign banner mobile ---- */
.campaign-banner {
  position: relative;
  z-index: 55;
}
.campaign-banner .campaign-track {
  display: flex;
  animation: campaignScroll 22s linear infinite;
}
.campaign-banner .campaign-track:hover { animation-play-state: paused; }
.cb-tag {
  background: var(--gold);
  color: var(--green-ink, #0f2018);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}
.cb-text {
  color: rgba(247,241,230,0.9);
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cb-cta {
  color: var(--gold-soft, #d4aa6a);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(184,147,63,0.5);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.cb-cta:hover { background: rgba(184,147,63,0.2); }
.cb-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(247,241,230,0.5);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  z-index: 2;
}
.cb-close:hover { color: var(--cream); }
@media (max-width: 600px) {
  .campaign-item { padding: 10px 36px 10px 16px; gap: 8px; font-size: 10px; }
  .cb-text { display: none; }
  .cb-tag { font-size: 8px; padding: 2px 7px; }
  .cb-cta { font-size: 10px; padding: 3px 8px; }
}

/* ---- Hero mobile fixes ---- */
@media (max-width: 720px) {
  .hero {
    min-height: 72vh;
    padding-top: 70px;
    padding-bottom: 50px;
  }
  .hero-inner { max-width: 100%; }
  .hero h1 {
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.6;
    max-width: 34ch;
  }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(30px, 9vw, 48px); }
}

/* ---- Collection tabs — full mobile scroll ---- */
.collection-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.collection-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 720px) {
  .collection-tabs {
    padding: 12px 0;
    margin-bottom: 20px;
    gap: 6px;
  }
  .col-tab {
    padding: 7px 14px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  .col-tab { padding: 6px 12px; font-size: 10px; }
}

/* ---- Trust bar mobile ---- */
@media (max-width: 720px) {
  .trust-bar { gap: 0; }
  .trust-bar > div {
    padding: 16px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    gap: 12px;
  }
  .trust-bar > div:last-child { border-bottom: 0; }
  .trust-bar > div svg { width: 22px; height: 22px; flex-shrink: 0; }
  .trust-bar h5 { font-size: 13px; margin: 0; }
  .trust-bar p { font-size: 11px; margin: 0; }
}

/* ---- Sample CTA mobile ---- */
@media (max-width: 480px) {
  .sample-cta-bar { padding: 16px 0; }
  .sample-cta-inner { gap: 14px; flex-direction: column; text-align: center; }
  .sample-cta-icon { display: none; }
  .sample-cta-copy strong { font-size: 14px; }
  .sample-cta-copy span { font-size: 12px; }
}

/* ---- Section headings mobile ---- */
@media (max-width: 720px) {
  .section-hd h2 {
    font-size: clamp(28px, 7vw, 44px);
  }
  .section-hd p {
    font-size: 14px;
    max-width: 100%;
  }
  .section { padding: 48px 0; }
  .section.on-paper { padding: 40px 0; }
}

/* ---- Product grid mobile ---- */
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---- Making section mobile ---- */
@media (max-width: 480px) {
  .making-grid { grid-template-columns: 1fr; gap: 20px; }
  .making-card { padding: 16px; }
}

/* ---- Custom section mobile ---- */
@media (max-width: 720px) {
  .custom-inner { grid-template-columns: 1fr; gap: 28px; }
  .custom-visual { order: -1; }
  .custom-features { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
  .custom-features { grid-template-columns: 1fr; }
}

/* ---- Global section mobile ---- */
@media (max-width: 720px) {
  .global-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .global-countries { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gstat-num { font-size: 32px; }
}
@media (max-width: 480px) {
  .global-countries { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .country-card { padding: 12px 8px; }
  .cc-flag { font-size: 22px; margin-bottom: 4px; }
  .cc-name { font-size: 13px; }
}

/* ---- Partners / platforms mobile ---- */
@media (max-width: 720px) {
  .platform-logos { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .platform-logo-card { min-width: calc(50% - 12px); }
}
@media (max-width: 480px) {
  .platform-logo-card { min-width: calc(50% - 8px); padding: 12px 10px; }
  .plc-name { font-size: 14px; }
}

/* ---- Partner form mobile ---- */
@media (max-width: 720px) {
  .partner-tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: nowrap; }
  .partner-tab-nav::-webkit-scrollbar { display: none; }
  .ptab { flex-shrink: 0; padding: 8px 14px; font-size: 11px; white-space: nowrap; }
  .pf-progress { gap: 3px; }
}

/* ---- Reviews mobile ---- */
@media (max-width: 720px) {
  .reviews-layout { grid-template-columns: 1fr; gap: 28px; }
  .rating-summary { padding: 20px; }
  .review-card { padding: 18px; }
}

/* ---- Checkout mobile ---- */
@media (max-width: 720px) {
  .payment-gateway-block { padding: 16px; }
  .payment-method-row { padding: 12px 14px; gap: 10px; }
  .pm-icon { display: none; }
}

/* ---- Footer mobile ---- */
@media (max-width: 480px) {
  .footer-brand p { font-size: 13px; max-width: 100%; }
  .footer-links h5 { margin-top: 8px; }
  .footer-bottom { font-size: 11px; }
  .platform-pill { font-size: 10px; padding: 5px 10px; }
}

/* ---- Nav logo size fix ---- */
@media (max-width: 720px) {
  .nav-brand img { height: 46px; width: auto; }
}
@media (max-width: 480px) {
  .nav-brand img { height: 42px; }
}

/* ---- General wrap padding on mobile ---- */
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
}

/* ---- Support widget mobile ---- */
@media (max-width: 480px) {
  .support-panel {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 80px;
    max-height: 65vh;
  }
  .support-fab { right: 12px; bottom: 12px; width: 50px; height: 50px; }
}

/* ---- Page hero dark mobile ---- */
@media (max-width: 720px) {
  .page-hero.dark {
    padding: 70px 0 50px;
  }
  .page-hero.dark h1 {
    font-size: clamp(32px, 9vw, 60px);
  }
}

/* ---- Collections page mobile ---- */
@media (max-width: 720px) {
  .cat-tile h3 { font-size: 14px; }
  .occ-body h3 { font-size: 16px; }
  .occasion-strip { gap: 12px; }
}

/* ---- Making story mobile ---- */
@media (max-width: 720px) {
  .making-story-inner { grid-template-columns: 1fr; gap: 24px; }
  .craft-steps { gap: 20px; }
  .craft-step { gap: 12px; }
  .cs-num {
    width: 40px; height: 40px;
    font-size: 18px;
    flex-shrink: 0;
  }
}

/* ---- Blog / journal mobile ---- */
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ================================================================
   ArtRaft — Font & Color Consistency v3
   ================================================================ */

/* Cormorant on all section headings */
.section-hd h2,
.section-hd h3,
.page-hero h1,
.page-hero.dark h1,
.hero h1,
.pdp-info h1,
.pdp-info h2 {
  font-family: var(--serif);
}

/* Gold eyebrow consistent */
.eyebrow.gold-eyebrow,
span.gold-eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
}

/* Gold rule ornament */
.gold-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
}

/* Section heading text size */
.section-hd h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 12px 0 16px;
}

/* Headings inherit colour (body is --ink) so they stay light inside dark sections */

/* Nav consistency */
.site-header {
  background: rgba(255,252,245,0.97);
}

/* Card hover shadows */
.making-card,
.review-card,
.platform-logo-card {
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.making-card:hover {
  box-shadow: 0 8px 32px rgba(31,58,46,0.1);
  transform: translateY(-3px);
}
.platform-logo-card:hover {
  box-shadow: 0 4px 20px rgba(31,58,46,0.08);
  transform: translateY(-2px);
}

/* Smoother button interaction */
.btn { transition: all .2s ease; }

/* Input focus ring */
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---- Campaign items for repeated content ---- */
.campaign-item {
  min-width: 100vw;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 48px 11px 24px;
  flex-shrink: 0;
}

/* ---- Razorpay branded button ---- */
.razorpay-pay-btn {
  background: #072654;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  transition: background .2s;
}
.razorpay-pay-btn:hover { background: #0d3b85; }
.razorpay-pay-btn svg { width: 20px; height: 20px; }

/* ---- Order summary mobile (checkout) ---- */
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { order: -1; }
}

/* ---- Sticky footer / CTA on mobile ---- */
@media (max-width: 720px) {
  .pdp-actions { position: relative; bottom: auto; }
  .btn-lg { padding: 14px 24px; min-height: 50px; }
}

/* Partner tab nav */
.partner-tab-nav {
  display: flex;
  gap: 8px;
  padding: 16px 0 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.ptab {
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s;
  position: relative;
  bottom: -1px;
}
.ptab:hover { background: var(--ivory); color: var(--green); }
.ptab.active {
  background: var(--ivory);
  color: var(--green);
  border-color: var(--line);
  border-bottom-color: var(--ivory);
}
.ptab.done {
  color: var(--gold);
  border-color: var(--gold-soft, #d4aa6a);
}

/* Progress bars */
.pf-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}
.pf-prog-bar {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--line);
  transition: background .3s;
}

/* ---- Live video modal ---- */
.video-modal-inner {
  position: relative;
  max-width: 860px;
  width: 90%;
}
.video-modal-inner video,
.video-modal-inner iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

/* ---- Accessibility helpers ---- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Scroll to top behavior ---- */
html { scroll-behavior: smooth; }

/* ---- Print reset ---- */
@media print {
  .site-header, .campaign-banner, .support-fab, .support-panel, #site-nav, #site-footer { display: none !important; }
}

/* ---------- Responsive safety net (audit 2026-10-02) ---------- */
/* Grid/flex children default to min-width:auto and can push past the viewport */
.grid > *, .rs-stack > *, .rs-stack-sm > *, .rs-2col > * { min-width: 0; }
img, video, svg { max-width: 100%; }
.inline-form input { min-width: 0; flex: 1; }

/* Inline-styled multi-column layouts: !important is needed to beat the inline style */
@media (max-width: 900px) {
  .rs-stack { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 720px) {
  .rs-2col { grid-template-columns: repeat(2, 1fr) !important; row-gap: 28px !important; }
}
@media (max-width: 600px) {
  .rs-stack-sm { grid-template-columns: 1fr !important; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
}
.pdp > *, .pdp-gallery > *, .cart-layout > *, .ugc-grid > *, .cat-tile > * { min-width: 0; }
.coupon-row input { min-width: 0; }
@media (max-width: 380px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .nav-right { gap: 0; }
  .nav-icon-btn { width: 30px; height: 30px; }
  .nav-brand img { height: 38px; }
}

/* Occasion cards: the placeholder/image layer must fill the card, not sit in flow */
.occ-card .ph-tile, .occ-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* .editorial.reverse sets its own columns, which beat the 1100px single-column rule */
@media (max-width: 1100px) {
  .editorial.reverse { grid-template-columns: 1fr; }
}

/* Closed drawers sit just off-screen; hide them so their shadow doesn't bleed onto the page edge */
.drawer { visibility: hidden; transition: transform .32s cubic-bezier(.4,.15,.15,1), visibility 0s linear .32s; }
.drawer.open { visibility: visible; transition: transform .32s cubic-bezier(.4,.15,.15,1), visibility 0s; }

/* Edit tiles: same in-flow placeholder bug as the occasion cards */
.edit-grid .edit-tile .ph-tile, .edit-grid .edit-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edit-grid .edit-tile .body { background: linear-gradient(to top, rgba(15,32,24,0.92) 0%, rgba(15,32,24,0.55) 60%, transparent 100%); padding-top: 60px; }

/* Product cards: the sale/editor badge and the placeholder tag share the top-left corner */
.prod-card .prod-media .ph-tag { display: none; }

/* Dark sections whose headings were hard-coded to --ink */
.live-making .section-hd h2, .on-green .section-hd h2 { color: var(--cream); }
.live-making .section-hd p { color: rgba(247, 241, 230, 0.7); }
.custom-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--cream);
  margin: 12px 0 18px;
}
@media (max-width: 720px) {
  .need-card { min-height: 0; justify-content: space-between; gap: 28px; }
}
.global-section .section-hd h2 { color: var(--cream); }
.global-section .section-hd p { color: rgba(247, 241, 230, 0.7); }
.global-section .btn-outline { color: var(--cream); border-color: rgba(201, 162, 75, 0.6); background: transparent; }
.global-section .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--green-ink); }

/* Platform buttons: equal-width stack on phones instead of ragged pills */
@media (max-width: 480px) {
  .platform-logos { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .platform-logo-card { min-width: 0; width: 100%; justify-content: space-between; padding: 14px 18px; }
}
.editorial-copy .btn-text.on-dark, .btn-text.on-dark { color: var(--cream); border-color: var(--gold); }
.btn-text.on-dark:hover { color: var(--gold-soft); }
.live-making .btn-outline { color: var(--cream); border-color: rgba(201, 162, 75, 0.6); }
.live-making .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--green-ink); }

/* Shop: collapsible filters below 1100px, products stay 2-up on phones */
.filter-toggle { display: none; }
@media (max-width: 1100px) {
  .filter-toggle {
    display: inline-flex; align-items: center; gap: 10px; justify-self: start;
    padding: 11px 18px; border: 1px solid var(--ink); background: transparent;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink);
  }
  .shop-layout { gap: 20px; }
  .shop-sidebar { display: none; }
  .shop-sidebar.open { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 32px; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
}
@media (max-width: 480px) {
  #productGrid, .grid-3:has(> .prod-card) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-topbar { flex-wrap: wrap; gap: 10px; }
}

/* Footer on phones: brand full-width, link groups two per row */
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 32px; }
  .footer-top > .footer-brand { grid-column: 1 / -1; }
  .footer-col li { margin-bottom: 8px; font-size: 13px; }
}

/* Journal: featured pair stacks on phones; their inline 36px titles scale down */
@media (max-width: 600px) {
  .grid-2:has(> .journal-card) { grid-template-columns: 1fr !important; gap: 36px !important; }
  .journal-card h3[style*="font-size:36px"] { font-size: 28px !important; }
}

/* Text overlays on pale tiles: carry the dark fade high enough for two-line titles */
.edit-grid .edit-tile .body,
.occ-card .occ-body {
  background: linear-gradient(to top, rgba(15,32,24,0.94) 0%, rgba(15,32,24,0.78) 45%, rgba(15,32,24,0.35) 80%, transparent 100%);
  padding-top: 72px;
}
.shop-sidebar .facet ul { padding-left: 0; margin: 0; }

/* ---------- Photography (stands in wherever a .ph-tile used to) ---------- */
.ph-img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.hero > .ph-img, .pdp-thumb > .ph-img { position: absolute; inset: 0; }
.cat-tile .ph-img, .prod-card .prod-media .ph-img, .occ-card .ph-img, .edit-grid .edit-tile .ph-img { transition: transform .7s ease; }
.cat-tile:hover .ph-img { transform: scale(1.04); }
.prod-card:hover .prod-media .ph-img { transform: scale(1.03); }
.occ-card:hover .ph-img, .edit-grid .edit-tile:hover .ph-img { transform: scale(1.05); }
.drawer-item .di-media .ph-img { width: 72px; height: 88px; }
/* Hero: the photograph sits under a green wash so the cream type keeps its contrast */
.hero > .ph-img + .hero-wash {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,32,24,0.92) 0%, rgba(15,32,24,0.72) 42%, rgba(15,32,24,0.28) 100%),
    linear-gradient(to top, rgba(15,32,24,0.7) 0%, transparent 45%);
}
/* Product page: whole photograph visible, frame sized by script to the photograph */
.pdp-main .ratio:has(> .pdp-photo) { transition: aspect-ratio .2s ease; }
.pdp-photo { object-fit: contain; background: var(--paper); }
