/* ============================================================
   Maison Warith — Luxury Perfume Brand
   Design faithfully replicated from maisonwarith.com (Hostinger /
   Zyro builder, template design-agent-v3).
   Bodoni Moda (headings) · Manrope (body, nav, buttons)
   Colours: #111111 · #ffffff · #404040 (hover) · #73675a (accent)
   Desktop blocks replicate the live site's exact 1224px CSS grid
   templates (columns + rows + min-heights) so every element's
   word alignment, spacing and placement match maisonwarith.com.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --font-primary: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-secondary: "Manrope", "Segoe UI", Arial, sans-serif;

  --ink: #111111;            /* text / buttons */
  --ink-soft: #404040;       /* button hover */
  --accent: #73675a;         /* taupe accent */
  --accent-hover: #8f857b;   /* taupe hover */
  --form-bg: #ebebeb;
  --input-fill: #f4f4f4;
  --input-fill-hover: #eaeaea;
  --input-border: #cfcfcf;

  --container: 1224px;
  --header-w: 1240px;
  --radius: 4px;

  /* Header geometry — single source of truth. Drives scroll-padding
     and the hero's 100dvh height, so the sticky header never causes
     the page to scroll. Keep these in sync when restyling the nav. */
  --nav-pad-y: 14px;   /* vertical padding above & below the nav rows */
  --brand-h: 65px;     /* wordmark row height (logo + type) */
  --nav-gap: 12px;     /* gap between wordmark row and nav links */
  --nav-links-h: 26px; /* 12px links → 18px line-height + 8px padding */
  --header-h: calc(1px + var(--nav-pad-y) + var(--brand-h) + var(--nav-gap) + var(--nav-links-h) + var(--nav-pad-y) - 8px);

  /* Shared inner-page hero grid tracks */
  --phero-cols: 6.54% 86.27% 7.19%;
  --phero-rows: minmax(56px, auto) minmax(24px, auto) minmax(8px, auto) minmax(48px, auto) minmax(8px, auto) minmax(28px, auto) 1fr;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: inherit; }

/* ---------- Typography (Zyro scale) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: 40px; line-height: 1.25; }
h2 { font-size: 32px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.35; }
h4 { font-size: 18px; line-height: 1.4; }
h5, h6 { font-size: 18px; line-height: 1.4; }

@media (min-width: 920px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 28px; }
}

p { margin: 0; }

/* body-small — plain eyebrow style used across the site */
.small, .prism, .eyebrow, .body-small {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.pull-quote {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 72px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 919px) {
  .grid-2 { grid-template-columns: 1fr; }
}

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

/* ---------- Buttons ----------
   Zyro "primary" button: solid #111111, hover #404040, radius 4px.
   Live per-element radii: 4px (hero + home close), 8px (About),
   0px (concierge mailto + review submit taupe). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  transition: background 0.3s ease;
}
.btn:hover { background: var(--ink-soft); color: #ffffff; }

.btn--round { border-radius: 8px; }        /* About page */
.btn--flat  { border-radius: 0; }          /* Concierge / review submit */
.btn--accent { background: var(--accent); } /* Review form submit */
.btn--accent:hover { background: var(--accent-hover); color: #ffffff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #ffffff; }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row .btn { white-space: nowrap; }

/* ---------- Header: classic luxury · centered ----------
   Two stacked, centered rows inside a flex-column nav:
     Row 1 · brand wordmark (serif, letterspaced) · dead centre
     Row 2 · primary navigation (uppercase, letterspaced)
   Floating corners: hamburger (left) + cart (right), pinned at
   the wordmark's vertical centre for symmetric outer margins.   */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.nav {
  /* Parent nav: text-align center + flex-direction column + align-items center */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--nav-gap); /* whitespace between wordmark and navigation */

  height: auto;
  max-width: var(--header-w);
  margin: 0 auto;
  padding: var(--nav-pad-y) 24px calc(var(--nav-pad-y) - 8px);
}

/* Row 1 · wordmark — Bodoni Moda serif, balanced letter spacing */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--brand-h);
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* optically re-centre letter-spaced glyphs */
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink); /* #111111 on #ffffff ≈ 17.6:1 (WCAG AA pass) */
}

.brand .brand-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  flex: none;
}

/* Row 2 · navigation — centred under the wordmark */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 42px;
  margin: 0;
}
.nav-links a {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink); /* #111111 ≈ 17.6:1 (WCAG AA pass) */
  padding: 4px 2px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink-soft); } /* #404040 ≈ 10.4:1 (WCAG AA pass) */
.nav-links a.active { color: var(--accent); }  /* #73675a ≈ 5.5:1 (WCAG AA pass) */

/* Keyboard focus — visible ring on every interactive header control.
   #111111 outline on #ffffff ≈ 17.6:1 (WCAG AA 2.4.7 pass), offset so the
   ring never touches the element it is delineating. */
.brand:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.icon-btn:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Floating corners, aligned to the wordmark's vertical centre */
.nav-toggle,
.nav-actions {
  position: absolute;
  top: calc(var(--nav-pad-y) + var(--brand-h) / 2);
  transform: translateY(-50%);
}
.nav-toggle { left: 24px; }
.nav-actions { right: 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 8px;
  line-height: 0;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: currentColor; }

.nav-actions { display: flex; align-items: center; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 8px;
}
.icon-btn svg { width: 24px; height: 24px; stroke: currentColor; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 10px;
  min-width: 16px;
}

/* ============================================================
   BLOCK SYSTEM
   Each section is a 1224px CSS-grid block with the EXACT track
   template captured from maisonwarith.com. Elements are placed
   on the same grid rows/columns as the live site.
   ============================================================ */
.block {
  display: grid;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

/* ---------- HERO (home) — viewport-height brand stage ----------
   Two-column grid (copy left · bottle right), vertically centred.
   Height = 100dvh − header, so the page opens with zero scroll on
   any display; the bottle is contained (never cropped, never spills). */
.b-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 48px;
  height: calc(100vh - var(--header-h)); /* older-browser fallback */
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
}

/* Left column — vertical stack, centred in the stage */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 520px;
}
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lede { margin: 0; text-align: left; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* Right column — the bottle, contained to the stage */
.b-hero .hero-media {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.b-hero .hero-media img {
  max-height: min(80vh, 100%);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  flex: none;
  transition: transform 0.7s ease;
}
.b-hero .hero-media:hover img { transform: scale(1.03); }

/* ---------- Collections overview (home) ----------
   cols: 6.54% 42.65% 0.98% 42.65% 7.19%
   rows: 72 48 12 72 12 76 24 392 12 58 12 76 28 1fr
   Heading block is LEFT aligned on desktop, centered on mobile. */
.b-overview {
  grid-template-columns: 6.54% 42.65% 0.98% 42.65% 7.19%;
  grid-template-rows: minmax(72px, auto) minmax(48px, auto) minmax(12px, auto) minmax(72px, auto) minmax(12px, auto) minmax(76px, auto) minmax(24px, auto) minmax(392px, auto) minmax(12px, auto) minmax(58px, auto) minmax(12px, auto) minmax(76px, auto) minmax(28px, auto) auto;
  min-height: 966px;
}
.b-overview .eyebrow { grid-column: 2 / 5; grid-row: 2 / 3; align-self: center; text-align: left; }
.b-overview h2       { grid-column: 2 / 5; grid-row: 4 / 5; align-self: center; text-align: left; }
.b-overview .overview-intro { grid-column: 2 / 5; grid-row: 6 / 7; align-self: center; text-align: left; }

/* Cards use display:contents so their parts sit on the block grid */
.b-overview .card { display: contents; }
.b-overview .card .img { overflow: hidden; }
.b-overview .card .img img { transition: transform 0.7s ease; }
.b-overview .card:hover .img img,
.b-overview .card .img:hover img { transform: scale(1.08); }
.b-overview .card-w .img  { grid-column: 2 / 3; grid-row: 8 / 9; }
.b-overview .card-w h3    { grid-column: 2 / 3; grid-row: 10 / 11; align-self: center; }
.b-overview .card-w p     { grid-column: 2 / 3; grid-row: 12 / 14; }
.b-overview .card-a .img  { grid-column: 4 / 5; grid-row: 8 / 9; }
.b-overview .card-a h3    { grid-column: 4 / 5; grid-row: 10 / 11; align-self: center; }
.b-overview .card-a p     { grid-column: 4 / 5; grid-row: 12 / 14; }
.b-overview .card .img { aspect-ratio: 522 / 392; }
.b-overview .card .img img { width: 100%; height: 100%; object-fit: cover; }
.b-overview .card h3 { text-align: left; }
.b-overview .card p  { text-align: left; }

/* ---------- Philosophy (home) ----------
   cols: 21.08% 57.19% 21.73%
   rows: 72 48 12 103 1fr  (centered)                        */
.b-philosophy {
  grid-template-columns: 21.08% 57.19% 21.73%;
  grid-template-rows: minmax(72px, auto) minmax(48px, auto) minmax(12px, auto) minmax(103px, auto) auto;
  min-height: 307px;
}
.b-philosophy .eyebrow { grid-column: 2 / 3; grid-row: 2 / 3; align-self: center; text-align: center; }
.b-philosophy .phrase {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  align-self: center;
  justify-self: stretch;
  text-align: center;
}
.b-philosophy .phrase h4 { margin-bottom: 24px; }

/* ---------- Close CTA (home) ----------
   cols: 6.54% 57.19% 13.56% 15.52% 7.19%
   rows: 72 35 23 6 24 35 1fr                                 */
.b-close {
  grid-template-columns: 6.54% 57.19% 13.56% 15.52% 7.19%;
  grid-template-rows: minmax(72px, auto) minmax(35px, auto) minmax(23px, auto) minmax(6px, auto) minmax(24px, auto) minmax(35px, auto) auto;
  min-height: 267px;
}
.b-close h3 { grid-column: 2 / 3; grid-row: 2 / 5; align-self: center; text-align: left; }
.b-close p  { grid-column: 2 / 3; grid-row: 4 / 7; align-self: center; text-align: left; }
.b-close .btn { grid-column: 4 / 5; grid-row: 2 / 6; align-self: center; justify-self: stretch; white-space: nowrap; }

/* ---------- Inner-page hero ----------
   cols: 6.54% 86.27% 7.19%
   rows: 104 48 12 (160 | 90) 12 (76 | 48+) 12 53? 1fr
   Override --phero-rows per page. */
.page-hero {
  display: grid;
  grid-template-columns: var(--phero-cols);
  grid-template-rows: var(--phero-rows);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero .eyebrow { grid-column: 2 / 4; grid-row: 2 / 3; align-self: center; text-align: left; }
.page-hero h1 { grid-column: 2 / 4; grid-row: 4 / 5; align-self: center; text-align: left; width: 100%; }
.page-hero p  { grid-column: 2 / 4; grid-row: 6 / 7; align-self: center; text-align: left; }
.page-hero .btn { grid-column: 2 / 3; grid-row: 8 / 9; align-self: center; justify-self: start; }
.page-hero h1 em { font-style: italic; }
.page-hero .hero-tagline { grid-row: 7 / 8; align-self: start; font-style: italic; margin-top: 8px; }

/* ---------- Origin split (about) ----------
   cols: 50% 1.96% 41.5% 6.54%   (image 612 | 24 | text 508 | 80)
   rows: 72 64 48 12 124 12 132 12 132 64 1fr                  */
.b-origin {
  grid-template-columns: 50.00% 1.96% 41.50% 6.54%;
  grid-template-rows: minmax(72px, auto) minmax(64px, auto) minmax(48px, auto) minmax(12px, auto) minmax(124px, auto) minmax(12px, auto) minmax(132px, auto) minmax(12px, auto) minmax(132px, auto) minmax(64px, auto) auto;
}
.b-origin .media { grid-column: 1 / 2; grid-row: 2 / 12; overflow: hidden; }
.b-origin .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.b-origin .media:hover img { transform: scale(1.08); }
.b-origin .copy {
  grid-column: 3 / 4;
  grid-row: 2 / 12;
  padding-top: 64px;
}
.b-origin .copy .eyebrow { margin-bottom: 12px; }
.b-origin .copy h2 { margin-top: 12px; }
.b-origin .copy p { margin-top: 12px; }

/* ---------- Principle block (about) ----------
   cols: 6.54% 42.65% 0.98% 42.65% 7.19%
   rows: 72 48 12 72 24 132 1fr   (left aligned)              */
.b-principle {
  grid-template-columns: 6.54% 42.65% 0.98% 42.65% 7.19%;
  grid-template-rows: minmax(72px, auto) minmax(48px, auto) minmax(12px, auto) minmax(72px, auto) minmax(24px, auto) minmax(132px, auto) auto;
}
.b-principle .eyebrow { grid-column: 2 / 5; grid-row: 2 / 3; align-self: center; text-align: left; }
.b-principle h2       { grid-column: 2 / 5; grid-row: 4 / 6; align-self: center; text-align: left; }
.b-principle .c1      { grid-column: 2 / 3; grid-row: 6 / 8; }
.b-principle .c2      { grid-column: 4 / 5; grid-row: 6 / 8; }

/* ---------- Archive group (collections) ----------
   Balanced product grid: 3 columns desktop, 2 tablet, 1 mobile.
   Cards are equal-height flex columns; the last (incomplete) row is
   centred automatically via flex wrap + justify-content: center. */
.b-archive {
  display: block;
  min-height: 0;
  padding: 72px clamp(24px, 4vw, 64px) 96px;
  text-align: center;
}
.b-archive + .b-archive { margin-top: 0; }
.b-archive .eyebrow { margin-bottom: 24px; }
.b-archive h2 { margin-bottom: 16px; }
.b-archive .intro { max-width: 660px; margin: 0 auto 56px; }

/* Product grid — balanced 3 / 2 / 1 columns, last row centred.
   Flex wrap + centred justify naturally puts the 2-card last row
   in the middle when a collection has 5 products. */
.p-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

/* Uniform card container: flex column with the button pinned to the
   bottom so all "Add to Cart" buttons align across each row. */
.p-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc((100% - 64px) / 3); /* 3 columns, 2 × 32px gaps */
}
@media (min-width: 768px) and (max-width: 1023px) {
  .p-card { width: calc((100% - 32px) / 2); } /* 2 columns, 1 gap */
}
@media (max-width: 767px) {
  .p-card { width: 100%; } /* 1 column */
}

/* Square image container with uniform, uncropped bottle scaling */
.p-card .p-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #f9f9f9;
  overflow: hidden;
  margin-bottom: 16px;
}
.p-card .p-img img {
  width: auto;
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.7s ease;
}
.p-card:hover .p-img img,
.p-card .p-img:hover img { transform: scale(1.08); }

.p-card .p-title h3 {
  margin: 0 auto 10px;
  text-align: center;
}
.p-card .p-price {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);          /* #73675a ≈ 5.5:1 on #fff (AA pass) */
  margin: 0 auto 12px;
  text-align: center;
}
.p-card .p-desc {
  margin: auto 0 20px;
  text-align: center;
}
.p-card p { text-align: center; }

/* Add-to-cart — quiet outline button, full-width card footer */
.card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.card-add:hover,
.card-add:focus-visible {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.card-add:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.card-add.added {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* ---------- Combo suggestions (product page) ---------- */
.combo-section {
  padding: 72px 0 clamp(64px, 6vw, 96px);
}
.combo-section .eyebrow,
.combo-section h2,
.combo-section .combo-intro {
  display: block;
  text-align: center;
}
.combo-section .eyebrow { margin-bottom: 24px; }
.combo-section h2 { margin-bottom: 16px; }
.combo-section .combo-intro {
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Pricing — discounted "combo" prices */
.p-card .p-price .was {
  text-decoration: line-through;
  color: #9b968e;
  font-weight: 400;
  margin-right: 8px;
}
.p-card .p-price .now { color: #2e7d46; }

/* "-15%" badge sits in the top-right corner of the product image */
.p-card .p-img { position: relative; }
.badge-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #2e7d46;
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
}

/* ---------- Review band (reviews) ----------
   cols: 21.08% 7.27% 42.65% 7.27% 21.73%
   rows: 72 48 12 72 12 132 24 552 1fr   (form #ebebeb band)   */
.b-review {
  grid-template-columns: 21.08% 7.27% 42.65% 7.27% 21.73%;
  grid-template-rows: minmax(72px, auto) minmax(48px, auto) minmax(12px, auto) minmax(72px, auto) minmax(12px, auto) minmax(132px, auto) minmax(24px, auto) minmax(552px, auto) auto;
  background: var(--form-bg);
}
.b-review .eyebrow { grid-column: 2 / 5; grid-row: 2 / 3; align-self: center; text-align: center; }
.b-review h2       { grid-column: 2 / 5; grid-row: 4 / 5; align-self: center; text-align: center; }
.b-review .review-intro { grid-column: 2 / 5; grid-row: 6 / 7; align-self: center; text-align: center; }
.b-review .review-form { grid-column: 3 / 4; grid-row: 8 / 10; align-self: start; }

/* ---------- Mobile: collapse blocks to a stacked column ---------- */
@media (max-width: 919px) {
  .b-hero,
  .b-overview,
  .b-philosophy,
  .b-close,
  .page-hero,
  .b-origin,
  .b-principle,
  .b-archive {
    display: block;
    min-height: 0;
    padding: 64px 16px;
    background: #ffffff;
  }

  .b-review {
    display: block;
    min-height: 0;
    padding: 64px 16px;
    background: #ebebeb;
  }
  .b-review { background: var(--form-bg); }

  .b-hero { padding: 56px 16px 64px; text-align: center; height: auto; overflow: visible; }
  .hero-copy { align-items: center; }
  .hero-cta { flex-direction: column; width: 100%; }
  .b-hero .eyebrow, .b-hero h1, .b-hero .lede { display: block; text-align: center; }
  .b-hero .eyebrow { margin-bottom: 24px; }
  .b-hero h1 { margin-bottom: 24px; }
  .b-hero .lede { margin-bottom: 32px; }
  .b-hero .btn--explore,
  .b-hero .btn--philosophy {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
  }
  .b-hero .hero-media { margin-top: 24px; height: auto; }
  .b-hero .hero-media img { max-height: 44vh; }
  .b-overview .card .img { margin-bottom: 12px; }

  .b-overview .card { display: block; margin-bottom: 0; }
  .b-overview .card .img { display: block; margin-bottom: 12px; }
  .b-overview .card + .card { margin-top: 48px; }
  .b-overview .eyebrow, .b-overview h2, .b-overview .overview-intro,
  .b-overview .card h3, .b-overview .card p { text-align: center; }
  .b-overview .eyebrow { margin-bottom: 12px; }
  .b-overview h2 { margin-bottom: 12px; }
  .b-overview .overview-intro { margin-bottom: 32px; }
  .b-overview .card h3 { margin-bottom: 12px; }

  .b-philosophy .eyebrow { margin-bottom: 12px; }

  .b-close { text-align: center; }
  .b-close h3, .b-close p { text-align: center; }
  .b-close h3 { margin-bottom: 16px; }
  .b-close p { margin-bottom: 24px; }
  .b-close .btn { display: inline-flex; }

  .page-hero { text-align: center; }
  .page-hero .eyebrow, .page-hero h1, .page-hero p { display: block; text-align: center; }
  .page-hero .eyebrow { margin-bottom: 24px; }
  .page-hero h1 { margin-bottom: 16px; }
  .page-hero p { margin-bottom: 32px; }
  .page-hero .btn { display: inline-flex; }

  .b-origin .copy { padding: 32px 0 0; text-align: center; }
  .b-origin .copy .eyebrow, .b-origin .copy h2, .b-origin .copy p { text-align: center; }
  .b-origin .copy .eyebrow { margin-bottom: 12px; }
  .b-origin .copy h2 { margin-top: 12px; }

  .b-principle .eyebrow, .b-principle h2 { text-align: center; }
  .b-principle .eyebrow { margin-bottom: 12px; }
  .b-principle h2 { margin-bottom: 24px; }
  .b-principle .c2 { margin-top: 24px; }

  .b-archive .eyebrow, .b-archive h2, .b-archive .intro { text-align: center; }
  .b-archive .eyebrow { margin-bottom: 12px; }
  .b-archive h2 { margin-bottom: 12px; }
  .b-archive .intro { margin-bottom: 32px; }

  .b-review .eyebrow, .b-review h2, .b-review .review-intro { text-align: center; }
  .b-review .eyebrow { margin-bottom: 12px; }
  .b-review h2 { margin-bottom: 12px; }
  .b-review .review-intro { margin-bottom: 24px; }
}

/* ---------- Centred section heads (review form header) ---------- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-head h2 { margin-bottom: 16px; }

/* ---------- Generic product grid (related / demo cards) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 919px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-item { display: block; }
.product-item .product-media {
  aspect-ratio: 255 / 191;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-item .product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.product-item:hover .product-media img { transform: scale(1.08); }
.product-item h3 { margin-bottom: 12px; }
.product-item p { color: var(--ink); }

/* ---------- Review form fields ---------- */
.review-form { max-width: 522px; }
.review-form .field { margin-bottom: 24px; }
.review-form label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}
.review-form input,
.review-form textarea,
.review-form select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--input-border);
  background: var(--input-fill);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 16px;
  border-radius: 0;
  transition: background 0.2s ease;
}
.review-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.review-form textarea { height: auto; min-height: 150px; padding: 13px 16px; resize: vertical; }
.review-form input:hover,
.review-form textarea:hover,
.review-form select:hover { background: var(--input-fill-hover); }
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus { outline: 1px solid var(--ink); background: #ffffff; }
.review-form input::placeholder,
.review-form textarea::placeholder { color: rgba(17, 17, 17, 0.45); }

/* ---------- Consent checkbox (review & contact forms) ---------- */
.field-consent { margin-bottom: 24px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.consent-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(17, 17, 17, 0.4);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.consent-label:hover .consent-box { border-color: var(--ink); }
.consent-label input[type="checkbox"]:checked + .consent-box { background: var(--ink); border-color: var(--ink); }
.consent-label input[type="checkbox"]:checked + .consent-box::after { content: "✓"; color: #fff; font-size: 12px; line-height: 1; }
.consent-label input[type="checkbox"]:focus-visible + .consent-box { outline: 1px solid var(--ink); outline-offset: 2px; }
.consent-text {
  letter-spacing: 0.02em;
  color: rgba(17, 17, 17, 0.78);
}
.consent-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent-text a:hover { color: rgba(17, 17, 17, 0.55); }

/* ---------- Custom dropdown (reviews form — not the native picker) ---------- */
.drop { position: relative; }
.drop-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--input-border);
  background: var(--input-fill);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.drop-trigger:hover { background: var(--input-fill-hover); }
.drop:focus-within .drop-trigger,
.drop.open .drop-trigger { outline: 1px solid var(--ink); background: #ffffff; border-color: var(--ink); }
.drop-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-label:not(.selected) { color: rgba(17, 17, 17, 0.45); }
.drop-caret {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent);
  transition: transform 0.2s ease;
}
.drop.open .drop-caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 70;
  background: #ffffff;
  border: 1px solid var(--input-border);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.16);
  max-height: 248px;
  overflow-y: auto;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.drop.open .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-group-label {
  padding: 10px 16px 4px;
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.drop-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.drop-opt:hover,
.drop-opt.is-active { background: var(--input-fill); }
.drop-opt.is-selected .drop-opt-name { color: var(--accent); }
.drop-opt-check {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(17, 17, 17, 0.28);
}
.drop-opt.is-selected .drop-opt-check {
  position: relative;
  background: var(--accent);
  border-color: var(--accent);
}
.drop-opt.is-selected .drop-opt-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 9px;
  line-height: 1;
}
.drop-menu::-webkit-scrollbar { width: 8px; }
.drop-menu::-webkit-scrollbar-thumb { background: rgba(17, 17, 17, 0.2); }
.drop-menu::-webkit-scrollbar-track { background: transparent; }

/* Desktop: centre the section sub-headings (overview · archive · principle)
   Mobile is already centred; split hero and brand-story stay left-aligned. */
.b-overview .eyebrow,
.b-overview h2,
.b-overview .overview-intro,
.b-archive .eyebrow,
.b-archive h2,
.b-archive .intro,
.b-principle .eyebrow,
.b-principle h2 { text-align: center; }

/* ---------- Privacy policy prose ---------- */
.privacy-legal {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 36px 48px;
}
.privacy-legal .eye-break {
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
  margin-bottom: 32px;
}
.privacy-legal h2 { margin: 36px 0 12px; }
.privacy-legal h2:first-of-type { margin-top: 0; }
.privacy-legal h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(17, 17, 17, 0.35);
  margin-top: 12px;
}
.privacy-legal p {
  color: rgba(17, 17, 17, 0.82);
  line-height: 1.7;
  margin-bottom: 14px;
}
.privacy-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .privacy-legal { padding: 8px 24px 40px; }
}

/* ---------- Details / accordion (product page) ---------- */
.details-list { margin-top: 24px; }
.details-item { border-top: 1px solid rgba(17, 17, 17, 0.16); }
.details-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.details-item summary::-webkit-details-marker { display: none; }
.details-item summary::after { content: "+"; font-size: 18px; color: var(--ink); }
.details-item[open] summary::after { content: "−"; }
.details-item .details-body { padding-bottom: 20px; color: var(--ink); }

/* ---------- Forms (generic) ---------- */
.form-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) { .form-col { grid-template-columns: 1fr; } }
.form-col .field-wide { grid-column: 1 / -1; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--input-border);
  background: var(--input-fill);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 16px;
  border-radius: 0;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { height: auto; min-height: 140px; padding: 13px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 1px solid var(--ink); background: #fff; }

.form-status { display: none; margin-top: 12px; font-size: 14px; }
.form-status.success { color: var(--ink); }
.form-status.error { color: #c62828; }

/* ---------- Product detail ---------- */
.product-page { padding: 72px 0; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery .zoom { aspect-ratio: 1 / 1; overflow: hidden; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.product-gallery .zoom:hover img { transform: scale(1.08); }
.product-info .eyebrow { margin-bottom: 16px; }
.product-info .product-title { margin-bottom: 8px; }
.product-info .price { font-size: 18px; color: var(--ink); margin-bottom: 24px; }
.product-info .lede { margin-bottom: 24px; }

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  margin-bottom: 24px;
}
.qty-selector button {
  width: 44px; height: 44px;
  background: none; border: none;
  font-size: 1.2rem; color: var(--ink);
}
.qty-selector input {
  width: 56px; height: 44px;
  text-align: center; border: none; background: transparent;
  font-size: 16px; -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

@media (max-width: 919px) { .product-layout { grid-template-columns: 1fr; } }

/* ---------- Cart & checkout ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-items { border-top: 1px solid rgba(17, 17, 17, 0.16); }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}
.cart-item img { width: 96px; height: 110px; object-fit: cover; }
.cart-item-title { font-family: var(--font-primary); font-size: 20px; margin-bottom: 4px; }
.cart-item-meta { font-size: 13px; color: rgba(17, 17, 17, 0.6); }
.cart-item-price { font-size: 15px; margin-top: 6px; white-space: nowrap; }
.cart-item-remove {
  background: none; border: none;
  color: rgba(17, 17, 17, 0.6);
  font-size: 13px; text-decoration: underline;
}
.cart-item-remove:hover { color: #c62828; }

/* Cart quantity steppers */
.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
}
.qty-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}
.qty-btn:hover { background: rgba(17, 17, 17, 0.06); }
.qty-btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media (max-width: 560px) {
  .cart-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .cart-item img { width: 72px; height: auto; }
  .cart-item .cart-item-controls {
    grid-column: 2 / 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- Toast notification ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  z-index: 100;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 12px 20px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.25);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.summary-card {
  background: #ffffff;
  border-top: 1px solid var(--ink);
  padding: 24px 0;
}
.summary-card h3 { margin-bottom: 16px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; color: var(--ink);
}
.summary-row.total {
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  margin-top: 12px; padding-top: 16px;
  font-size: 18px;
}
.summary-card .btn { margin-top: 16px; }
.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-empty { text-align: center; padding: 96px 0; }
.cart-empty h2 { margin-bottom: 8px; }
.cart-empty p { margin-bottom: 24px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-form h2 { margin-bottom: 24px; }
.mini-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; font-size: 15px;
}

/* ---------- Footer ----------
   cols: 17.32% 3.27% 27.12% 4.58% 27.12% 3.27% 17.32%
   rows: 48 3 17 96 20 24 1 15 40 8 20 1fr                    */
.site-footer {
  display: grid;
  grid-template-columns: 17.32% 3.27% 27.12% 4.58% 27.12% 3.27% 17.32%;
  grid-template-rows: minmax(48px, auto) minmax(3px, auto) minmax(17px, auto) minmax(96px, auto) minmax(20px, auto) minmax(24px, auto) minmax(1px, auto) minmax(15px, auto) minmax(40px, auto) minmax(8px, auto) minmax(20px, auto) auto;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 332px;
  color: var(--ink);
}

.footer-bar {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
  align-self: center;
  justify-self: center;
  width: 56px; height: 3px;
  background: var(--accent);
}

.footer-brand { grid-column: 3 / 6; grid-row: 4 / 5; align-self: center; justify-self: center; text-align: center; }
.footer-brand h3 { margin-bottom: 8px; color: var(--ink); }
.footer-brand p { color: var(--ink); opacity: 0.85; }

.footer-nav {
  grid-column: 3 / 6;
  grid-row: 5 / 6;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-nav a { color: var(--ink); }
.footer-nav a:hover { opacity: 0.6; }
.footer-nav .sep { color: var(--ink); opacity: 0.45; margin: 0 14px; }

.footer-divider {
  grid-column: 2 / 7;
  grid-row: 7 / 8;
  align-self: start;
  height: 1px;
  background: var(--ink);
}

.footer-copy {
  grid-column: 3 / 6;
  grid-row: 9 / 10;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.7;
}
.footer-copy .sep { color: var(--accent); opacity: 0.85; margin: 0 10px; }

.footer-haute {
  grid-column: 3 / 6;
  grid-row: 11 / 12;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 919px) {
  .site-footer { display: block; text-align: center; padding: 48px 16px 32px; }
  .footer-bar { display: none; }
  .footer-brand { margin-bottom: 24px; }
  .footer-nav { margin-bottom: 24px; text-transform: uppercase; }
  .footer-divider { margin: 0 0 24px; }
  .footer-copy { margin-bottom: 24px; }
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal animation (subtle, Zyro transition--fade style) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile header: two-tier burger bar ----------
   Row 1 · logo centred between the hamburger (left) and cart (right)
   Row 2 · wordmark centred on its own line beneath the logo.
   The corners are pinned to the logo row only, so the brand name can
   never overlap the cart or the menu — overlap is geometrically
   impossible on any phone width. */
@media (max-width: 919px) {
  :root {
    --nav-pad-y: 8px;
    --brand-h: 48px;   /* logo row height */
    --nav-gap: 2px;    /* gap between logo row and wordmark row */
    --nav-links-h: 18px;
    --header-h: calc(1px + var(--nav-pad-y) * 2 + var(--brand-h) + var(--nav-gap) + var(--nav-links-h));
  }

  .nav {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--nav-gap);
    height: auto;
    padding: var(--nav-pad-y) 16px calc(var(--nav-pad-y) + 2px);
  }

  /* Logotype: logo image on top, wordmark on its own row below */
  .brand {
    flex-direction: column;
    gap: var(--nav-gap);
    min-width: 0;
    height: auto;
    font-size: clamp(12px, 3.6vw, 16px);
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    text-align: center;
  }
  .brand .brand-logo { height: var(--brand-h); }

  /* Corners pinned to the logo row's vertical centre only */
  .nav-toggle,
  .nav-actions {
    position: absolute;
    top: calc(var(--nav-pad-y) + var(--brand-h) / 2);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }
  .nav-toggle { left: 14px; justify-content: flex-start; }
  .nav-actions { right: 14px; justify-content: flex-end; }

  /* ---------- Mobile nav: right slide-in drawer ---------- */
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 85vw);
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: calc(var(--header-h) + 28px) 24px 48px;
    background: #ffffff;
    border-left: 1px solid rgba(17, 17, 17, 0.16);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 60;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    display: block;
    font-size: 17px;
    letter-spacing: 0.12em;
    text-align: right;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.4);
    z-index: 55;
  }
  .nav-overlay.active { display: block; }
}

/* Phones narrower than 420px: shrink the logo row so everything breathes */
@media (max-width: 420px) {
  :root {
    --brand-h: 40px;
    --nav-gap: 2px;
    --nav-links-h: 16px;
    --header-h: calc(1px + var(--nav-pad-y) * 2 + var(--brand-h) + var(--nav-gap) + var(--nav-links-h));
  }
}

/* ---------- Promo banner (pairing discount messaging) ---------- */
.promo-banner {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 16px 24px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

/* ---------- Cart/checkout discount summary rows ---------- */
.summary-row.discount { color: #2e7d46; }

/* ---------- Dropdown option icons (influencer platform picker) ---------- */
.drop-opt-icon,
.drop-label-icon {
  display: inline-flex;
  flex: none;
  width: 18px;
  height: 18px;
}
.drop-opt-icon svg,
.drop-label-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.drop-label-icon { margin-right: 8px; }

/* ---------- Retailer / influencer partner modal (homepage) ---------- */
.partner-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(17, 17, 17, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.partner-modal-backdrop.visible { opacity: 1; visibility: visible; }

.partner-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  padding: 48px 40px 40px;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.partner-modal-backdrop.visible .partner-modal { transform: translateY(0); }
.partner-modal .eyebrow { display: block; margin-bottom: 16px; }
.partner-modal h2 { margin-bottom: 12px; }
.partner-modal p { margin-bottom: 28px; color: rgba(17, 17, 17, 0.75); }
.partner-modal-actions { display: flex; flex-direction: column; gap: 12px; }
.partner-modal-actions .btn { width: 100%; }
.partner-modal-dismiss {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(17, 17, 17, 0.6);
  background: none;
  border: 0;
  cursor: pointer;
}
.partner-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 6px;
  line-height: 0;
  cursor: pointer;
}
.partner-modal-close svg { width: 20px; height: 20px; stroke: currentColor; }

@media (max-width: 560px) {
  .partner-modal { padding: 40px 24px 32px; }
}

/* ---------- Homepage partner prompt (persistent, below hero) ---------- */
.partner-prompt-actions { justify-content: center; }

/* ---------- Social accounts multi-select (influencer form) ---------- */
.social-picker { display: flex; flex-direction: column; gap: 12px; }
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--input-border);
  background: var(--input-fill);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row.is-active { background: #ffffff; border-color: var(--ink); }
.social-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: none;
}
.social-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.social-check-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(17, 17, 17, 0.4);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.social-check:hover .social-check-box { border-color: var(--ink); }
.social-check input[type="checkbox"]:checked + .social-check-box { background: var(--ink); border-color: var(--ink); }
.social-check input[type="checkbox"]:checked + .social-check-box::after { content: "✓"; color: #fff; font-size: 12px; line-height: 1; }
.social-check input[type="checkbox"]:focus-visible + .social-check-box { outline: 1px solid var(--ink); outline-offset: 2px; }
.social-icon { display: inline-flex; width: 18px; height: 18px; flex: none; }
.social-icon svg { width: 100%; height: 100%; stroke: currentColor; }
.social-name { font-size: 14px; white-space: nowrap; }
.social-handle {
  flex: 1 1 160px;
  min-width: 140px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--input-border);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 14px;
  border-radius: 0;
  transition: opacity 0.2s ease;
}
.social-handle:disabled { opacity: 0.4; background: var(--input-fill); cursor: not-allowed; }
.social-handle:focus { outline: 1px solid var(--ink); }

/* ---------- Product detail badge (next to the product title) ---------- */
.product-badge {
  color: var(--accent);
  font-size: 14px;
  font-family: var(--font-secondary);
  margin-left: 8px;
}