/* =================================================================
   CROSHHO · Couture register
   Shared stylesheet for every page except index.html, which carries
   the scroll-scrubbed cinema and has its own inline overrides.
   ================================================================= */

:root {
  /* PAPER & MARBLE  --- the foundation */
  --paper:        #FAF6EE;   /* page background — warm ivory */
  --paper-deep:   #F5EFE4;   /* card backgrounds */
  --marble:       #ECE3D0;   /* deeper ivory accents, dividers */
  --marble-warm:  #E5DCC8;   /* warm shadow tone */

  /* INK */
  --ink:          #221E18;   /* darkest text & primary surface */
  --ink-soft:     #5A4E3F;   /* secondary text */
  --line:         rgba(34,30,24,0.10);
  --rule-gold:    rgba(184,154,92,0.42);
  --rule-fine:    rgba(34,30,24,0.06);

  /* GOLD — primary accent */
  --gold:         #B89A5C;
  --gold-dark:    #8E7642;
  --gold-light:   #D8C18A;

  /* WARMTH-CRITICAL ACCENTS (retained per direction) */
  --terracotta:   #C56A4E;   /* India map pins */
  --terracotta-d: #A85A40;
  --whatsapp:     #25D366;

  /* SOFTENED PRODUCT-PLACEHOLDER COLORS
     These name-stable variables sit behind product cards while the
     gradient placeholder shows. They've been muted toward the ivory
     family so the catalog reads cohesive even before real photos arrive. */
  --terracotta-soft: #E0C5B5;
  --sage:            #D4D9C7;   /* was vibrant sage; now ivory-sage */
  --sage-d:          #A8B690;
  --butter:          #E8DDB8;   /* was vibrant butter; now soft cream */
  --butter-d:        #BE9A47;
  --rose:            #E5CFC8;   /* was dusty rose; now soft blush */
  --rose-d:          #A86F5D;
  --tile-cream:      #EDE3CC;
  --forest:          #B8C0A8;   /* was deep forest; now soft moss */
  --forest-d:        #6B7B5C;

  /* legacy aliases (kept so the old class names keep mapping cleanly) */
  --cream:        var(--paper);
  --cream-card:   var(--paper-deep);
  --cream-deep:   var(--marble);

  /* TYPE */
  --display: 'Italiana', 'Cormorant Garamond', 'Times New Roman', serif;
  --serif:   'Cormorant Garamond', 'Times New Roman', serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;

  /* LAYOUT — used by every full-width section so alignment is consistent */
  --gutter:   var(--gutter);
  --page-max: 1280px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

h1,h2,h3,h4 { color: var(--ink); font-weight: 300; }

/* ==================== INTERACTIVE STATES (replace the custom cursor) ====================
   The yarn-ball cursor was retired in favour of refined hover states. These
   are pure CSS — no per-mousemove JS — so they don't impact scroll perf. */
.product, .pattern, .shelf-card, .value-card, .help-col, .bespoke-step, .t-card {
  cursor: pointer;
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease, border-color .35s ease;
}
.product:hover, .pattern:hover, .shelf-card:hover { transform: translateY(-3px); border-color: var(--rule-gold); }
.value-card:hover, .help-col:hover, .bespoke-step:hover, .t-card:hover { border-color: var(--rule-gold); }
a, button { -webkit-tap-highlight-color: transparent; }
.nav-link, .chip, .drawer-chip, .filter-icon-btn, .account-tab, .sort-option { cursor: pointer; }
input, textarea, select { cursor: text; }

/* ==================== NAV (matches homepage post-intro state) ==================== */
nav.top-nav {
  /* Scoped to .top-nav — a bare `nav` selector also caught the breadcrumb
     (<nav class="crumb">) and secretly styled it as a second sticky glass
     bar that sliced through the mega menu.
     z 95: above sticky page chrome (cat-strip 90, floating-wa 90);
     below drawers (99+) and modals. */
  position: sticky; top: 0; z-index: 95;
  background: rgba(250,246,238,0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(184,154,92,0.22);
  padding: 1.05rem var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.nav-center { display: flex; align-items: center; justify-content: center; gap: 2.1rem; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.nav-link {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: color .25s;
  position: relative;
}
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; right: 100%; height: 1px; background: var(--gold); transition: right .3s; }
.nav-link:hover { color: var(--gold-dark); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--gold-dark); }

/* brand mark — Italiana, wide letter-spacing, all caps */
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.42em;
  color: var(--ink);
  text-transform: uppercase;
  padding-left: 0.42em;
  justify-self: start;
}
.brand-mark {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--paper);
}

.icon-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  color: var(--ink);
  transition: color .2s;
  background: transparent; border: none;
  cursor: pointer;
}
.icon-btn:hover { color: var(--gold-dark); }
.icon-btn.active { color: var(--gold-dark); }
.bag-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.55rem 1rem;
  background: var(--ink); color: var(--paper);
  border-radius: 0;
  display: inline-flex; align-items: center; gap: 0.65rem;
  transition: background .25s, transform .2s;
}
.bag-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.bag-count {
  background: var(--paper); color: var(--ink);
  padding: 0.05rem 0.5rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0;
}
.menu-toggle { display: none; font-size: 1.3rem; }

/* ---- SEARCH OVERLAY ---- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(34,30,24,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay-panel {
  width: min(720px, 90vw);
  background: var(--paper);
  border: 1px solid rgba(184,154,92,0.4);
  transform: translateY(-20px);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1);
  max-height: 70vh;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.search-overlay.open .search-overlay-panel { transform: translateY(0); }
.search-overlay-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rule-fine);
}
.search-overlay-inner input {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0; outline: none;
  letter-spacing: -0.005em;
}
.search-overlay-inner input::placeholder { color: var(--ink-soft); font-style: italic; }
.search-close { font-size: 1.1rem; color: var(--ink-soft); padding: 0.4rem 0.6rem; transition: color .2s; }
.search-close:hover { color: var(--gold-dark); }

/* ---- search results ---- */
.search-results {
  overflow-y: auto;
  flex: 1;
  background: var(--paper);
}
.search-hint, .search-empty {
  padding: 1.5rem 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}
.search-empty em { color: var(--ink); font-weight: 400; }
.search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--rule-fine);
  transition: background .2s ease;
  cursor: pointer;
  color: inherit;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--paper-deep); }
.search-result-thumb {
  width: 56px; height: 56px;
  background: var(--paper-deep);
}
.search-result-body {
  display: grid; gap: 0.25rem;
  min-width: 0;
}
.search-result-cat {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
}
.search-result-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ==================== BUTTONS ==================== */
.btn {
  padding: 0.85rem 1.6rem;
  border-radius: 0;                       /* couture: square corners */
  font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform .2s, background .25s, color .25s, border-color .25s;
  cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 0.8rem 1.6rem; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-whatsapp { background: var(--whatsapp); color: white; border-radius: 999px; letter-spacing: 0.18em; }
.btn-whatsapp:hover { background: #1eb958; transform: translateY(-1px); }
.btn-cream { background: var(--paper); color: var(--ink); border: 1px solid var(--paper); }
.btn-cream:hover { background: white; }
.magnetic { transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1); }

/* ==================== PLACEHOLDER FIELDS (hatching → softer + gold-tinted) ==================== */
/* Hatching is kept for backward compatibility but rendered far softer than
   before so it reads as a quiet texture instead of decorative pattern. */
.hatch {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(184,154,92,0.05) 0,
    rgba(184,154,92,0.05) 1px,
    transparent 1px,
    transparent 14px
  );
}
.bg-terracotta { background-color: var(--terracotta-soft); }
.bg-sage       { background-color: var(--sage); }
.bg-butter     { background-color: var(--butter); }
.bg-rose       { background-color: var(--rose); }
.bg-cream-tile { background-color: var(--tile-cream); }
.bg-forest     { background-color: var(--forest); }
.bg-ink        { background-color: #C5B8A8; }   /* was warm grey-brown; now a light taupe */

/* ==================== TYPOGRAPHY ==================== */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section { padding: 5rem 1.5rem; max-width: var(--page-max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.section h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.section h2 .it { font-style: italic; color: var(--gold-dark); font-weight: 300; }

/* ==================== EDITORIAL PAGE TEMPLATES ==================== */
/* Used by every inner page so the system feels unified. */

.page-header {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.page-header .eyebrow { display: inline-flex; margin-bottom: 1.5rem; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.page-header h1 .it { font-style: italic; color: var(--gold-dark); }
.page-header p.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink); line-height: 1.55;
  max-width: 560px; margin: 0 auto;
  font-weight: 300;
}
.page-header::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 2.5rem auto 0;
}

/* gold horizontal rule used as section divider */
.gold-rule {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 0 auto;
  display: block;
}

/* editorial intro/explainer paragraph block */
.editorial-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 300;
}
.editorial-prose p + p { margin-top: 1.25rem; }
.editorial-prose strong { color: var(--ink); font-weight: 500; }
.editorial-prose em { font-family: var(--serif); font-style: italic; color: var(--gold-dark); }

/* asymmetric two-column layout used for story sections */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
.two-col.reverse { grid-template-columns: 7fr 5fr; }
.two-col.reverse .col-text { order: 2; }
.two-col .col-text { display: flex; flex-direction: column; gap: 1.25rem; }
.two-col .col-text h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.two-col .col-text h2 .it { font-style: italic; color: var(--gold-dark); }
.two-col .col-text p { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
.two-col .col-text p.lede {
  font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; color: var(--ink);
}
.two-col .col-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(184,154,92,0.35);
  overflow: hidden;
}
.two-col .col-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 880px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse .col-text { order: 0; }
}

/* editorial pull-quote for stories */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  max-width: 780px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--rule-gold);
  border-bottom: 1px solid var(--rule-gold);
  font-weight: 300;
}
.pull-quote::before, .pull-quote::after {
  content: '“';
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  line-height: 0;
  margin-bottom: 0.6rem;
}
.pull-quote::after { content: '”'; margin-top: 1rem; margin-bottom: 0; }
.pull-quote .attr {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 5rem auto 0;
  background: var(--paper-deep);
  border: 1px solid var(--rule-gold);
}
.cta-banner h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.005em;
}
.cta-banner h2 .it { font-style: italic; color: var(--gold-dark); }
.cta-banner p {
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* ==================== PRODUCT GRID & CARDS (editorial) ==================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product {
  background: var(--paper-deep);
  border-radius: 0;
  padding: 0.85rem 0.85rem 1.1rem;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s;
  position: relative; display: flex; flex-direction: column;
  transform-style: preserve-3d; will-change: transform;
  border: 1px solid var(--rule-fine);
}
.product:hover { box-shadow: 0 16px 36px rgba(34,30,24,0.07); }
.product.hidden { display: none; }
.product-img { aspect-ratio: 1; border-radius: 0; margin-bottom: 1rem; position: relative; cursor: pointer; overflow: hidden; }
.product-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%); opacity: 0; transition: opacity .4s; }
.product:hover .product-img::after { opacity: 1; }
.product-badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  padding: 0.32rem 0.7rem;
  border-radius: 0;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--paper); z-index: 2;
}
.badge-new { background: var(--ink); }
.badge-bestseller { background: var(--gold-dark); }
.badge-lowstock { background: var(--terracotta); }
.heart-btn { position: absolute; top: 0.7rem; right: 0.7rem; width: 30px; height: 30px; border-radius: 50%; background: rgba(250,246,238,0.92); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s, color .2s; z-index: 2; font-size: 0.95rem; color: var(--ink-soft); backdrop-filter: blur(8px); }
.heart-btn:hover { transform: scale(1.1); color: var(--gold-dark); }
.heart-btn.liked { background: var(--ink); color: var(--gold-light); }
.heart-btn.liked::before { content: '♥'; }
.heart-btn:not(.liked)::before { content: '♡'; }
.product-info { padding: 0 0.2rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.25; margin-bottom: 0.45rem; letter-spacing: -0.005em; }
.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.5rem; margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px solid var(--rule-fine);
  transition: border-color .3s ease;
}
.product-footer.has-qty { border-top-color: var(--gold); }
.product-price {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink);
  transition: color .25s ease;
}
.product-footer.has-qty .product-price { color: var(--gold-dark); }

.add-btn {
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  padding: 0.42rem 0.95rem; border-radius: 0;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  transition: all .2s;
  cursor: pointer;
}
.add-btn:hover { background: var(--ink); color: var(--paper); }
.add-btn.added { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--paper); letter-spacing: 0.18em; }

/* ---- Quantity stepper (replaces Add button when qty > 0) ----
   Same horizontal footprint as the Add button so the card doesn't shift.
   Square corners, hairline ink border, italic serif count, gold-on-hover steps. */
.product-qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--ink);
  background: transparent;
  height: 100%;
  animation: stepperFadeIn .28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes stepperFadeIn {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: none; }
}
.qty-step {
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.8rem;
}
.qty-step:hover { background: var(--ink); color: var(--paper); }
.qty-step:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.qty-val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  border-left: 1px solid var(--rule-fine);
  border-right: 1px solid var(--rule-fine);
  min-width: 2.2rem;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  user-select: none;
}
/* tiny pulse on quantity change — confirms the click without being noisy */
.qty-val.pulse { animation: qtyPulse .35s ease; }
@keyframes qtyPulse {
  0%   { transform: scale(1); color: var(--ink); }
  40%  { transform: scale(1.18); color: var(--gold-dark); }
  100% { transform: scale(1); color: var(--ink); }
}
.swatches { display: flex; gap: 0.35rem; margin-bottom: 0.7rem; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--paper); box-shadow: 0 0 0 1px var(--rule-fine); }

/* ==================== REAL IMAGES (drop-in replacement) ==================== */
.product-img > img,
.pattern-img > img,
.modal-img > img,
.shelf-img > img,
.rita-img > img,
.about-img-large > img,
.story-img > img,
.process-stage-img > img,
.bento-card > img.bento-img-real {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
}
.shelf-img, .rita-img, .about-img-large, .story-img, .process-stage-img { position: relative; overflow: hidden; }

/* ==================== PATTERN CARDS ==================== */
.pattern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pattern { background: var(--paper-deep); border-radius: 0; padding: 0.85rem 0.85rem 1.1rem; transition: transform .25s, box-shadow .3s; position: relative; display: flex; flex-direction: column; border: 1px solid var(--rule-fine); }
.pattern:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34,30,24,0.07); }
.pattern-img { aspect-ratio: 4/5; border-radius: 0; margin-bottom: 1rem; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 0.75rem; }
.pattern-badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  padding: 0.32rem 0.7rem; border-radius: 0;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--paper); z-index: 2;
}
.skill-beginner { background: var(--sage-d); }
.skill-intermediate { background: var(--gold-dark); }
.skill-advanced { background: var(--ink); }
.pattern-overlay { position: relative; z-index: 1; display: flex; gap: 0.45rem; flex-wrap: wrap; }
.pattern-overlay span { background: rgba(250,246,238,0.92); padding: 0.28rem 0.6rem; border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.06em; font-weight: 500; color: var(--ink); backdrop-filter: blur(8px); }
.pattern-info { display: flex; flex-direction: column; padding: 0 0.2rem; flex: 1; }
.pattern-name { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.25; margin-bottom: 0.35rem; letter-spacing: -0.005em; }
.pattern-tech { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 0.85rem; line-height: 1.5; letter-spacing: 0.02em; }
.pattern-buy-btn { color: var(--ink); }

.modal-crosssell {
  background: var(--marble);
  padding: 0.9rem 1rem;
  border-radius: 0;
  border-left: 2px solid var(--gold);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.modal-crosssell-text { color: var(--ink-soft); flex: 1; min-width: 240px; }
.modal-crosssell-text strong { color: var(--ink); font-weight: 500; font-family: var(--serif); }
.modal-crosssell a { color: var(--gold-dark); font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 1px; letter-spacing: 0.04em; }
.modal-crosssell a:hover { color: var(--ink); }

.patterns-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: var(--page-max); margin: 0 auto 2.5rem; padding: 0 1.5rem; }
.patterns-info-grid > div { background: var(--paper-deep); border-radius: 0; padding: 1.4rem; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; border-top: 1px solid var(--gold); }
.patterns-info-grid strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; letter-spacing: -0.005em; }

/* ==================== CURATED RAIL (top of collections.html) ==================== */
.curated-rail {
  max-width: var(--page-max);
  margin: 4rem auto 0;
  padding: 0 var(--gutter);
}
.curated-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.curated-skip {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s;
}
.curated-skip:hover { color: var(--ink); }

.curated-rail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 1080px) { .curated-rail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .curated-rail-grid { grid-template-columns: 1fr; } }

.curated-card {
  background: var(--paper-deep);
  border: 1px solid var(--rule-fine);
  border-top: 1px solid var(--gold);
  padding: 2rem 1.85rem 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 240px;
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease, border-top-color .35s ease;
}
.curated-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(34,30,24,0.08);
  border-top-color: var(--gold-dark);
}
.curated-card-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-dark);
}
.curated-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.curated-card-blurb {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: auto;
}
.curated-card-cta {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--rule-fine);
  padding-top: 1rem;
  margin-top: 1rem;
  transition: color .2s;
}
.curated-card:hover .curated-card-cta { color: var(--gold-dark); }

/* ==================== BROWSE INTRO (transition into the catalog) ==================== */
.browse-anchor { scroll-margin-top: 80px; }
.browse-intro {
  max-width: 720px;
  margin: 6rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
}
.browse-intro .eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
}
.browse-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
}
.browse-intro h2 .it { font-style: italic; color: var(--gold-dark); }
.browse-intro .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

/* ==================== SHOP — RESTRAINED LUXURY LAYOUT ====================
   Category sub-nav is the only filter UI visible by default. Refine + Sort
   sit top-right of the grid. Everything else lives in the drawer.
   Modeled on Hermès / Loewe / Bottega / Loro Piana / Brunello Cucinelli. */

/* shorter editorial header — no gold rule, more breathing room */
.shop-hero {
  position: relative;
  padding: 9rem 1.5rem 5.5rem;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}
.shop-hero-inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }
/* Full-bleed ambient video, veiled in ivory so the wordmark stays the subject */
.shop-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.shop-hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; opacity: 0.78;
}
/* Ivory scrim: bright at the centre so the wordmark reads, feathered on every
   edge so the clip dissolves into the page rather than sitting in a box */
.shop-hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 42% 60% at 52% 52%, rgba(250, 246, 238, 0.72) 0%, rgba(250, 246, 238, 0.3) 60%, rgba(250, 246, 238, 0) 100%),
    linear-gradient(to bottom, var(--cream, #FAF6EE) 0%, rgba(250, 246, 238, 0) 22%, rgba(250, 246, 238, 0) 78%, var(--cream, #FAF6EE) 100%),
    linear-gradient(to right, var(--cream, #FAF6EE) 0%, rgba(250, 246, 238, 0) 16%, rgba(250, 246, 238, 0) 84%, var(--cream, #FAF6EE) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .shop-hero-media { display: none; }
}
.shop-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 1.5rem;
}
.shop-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.shop-hero h1 .it {
  font-style: italic;
  color: var(--gold-dark);
}

/* slim horizontal category sub-nav — wraps onto multiple lines if needed
   so the strip never clips at the viewport edges */
.cat-strip {
  border-top: 1px solid var(--rule-fine);
  border-bottom: 1px solid var(--rule-fine);
  margin-top: 3rem;
}
.cat-strip-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.85rem;
  column-gap: 2rem;
}
.cat-link {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  padding: 0.3rem 0;
  cursor: pointer;
  position: relative;
  transition: color .3s ease;
  white-space: nowrap;
}
.cat-link:hover { color: var(--ink); }
.cat-link.is-active { color: var(--gold-dark); }
.cat-link::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  transition: width .35s cubic-bezier(0.16,1,0.3,1);
}
.cat-link.is-active::after { width: 100%; }

/* action bar — count left, Refine + Sort right */
.shop-actionbar {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 2.2rem var(--gutter) 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.shop-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}
.shop-actions { display: flex; align-items: center; gap: 0.6rem; }
.action-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  border-radius: 0;
}
.action-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.action-btn-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: transparent;
  transition: background .25s ease;
}
.action-btn-dot.is-on { background: var(--gold); }
.action-btn:hover .action-btn-dot.is-on { background: var(--paper); }

/* active-filter chip strip — only visible when filters are applied */
.active-filters {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter) 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.active-filters[hidden] { display: none; }
.active-filters-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  margin-right: 0.6rem;
}
.active-chip {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 0.35rem 0.75rem 0.35rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: background .2s ease, color .2s ease;
  border-radius: 0;
}
.active-chip:hover { background: var(--gold); color: var(--paper); }
.active-chip span { font-size: 0.85rem; opacity: 0.6; }
.active-clear {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  margin-left: 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--rule-gold);
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.active-clear:hover { color: var(--gold-dark); }

/* grid wrap with generous side padding so the cards breathe */
.shop-grid-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 5rem;
}
.product-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(20px, 2.5vw, 36px) !important;
}
@media (max-width: 980px) { .product-grid-3 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .product-grid-3 { grid-template-columns: 1fr !important; } }

/* drawer chips — bigger tap target, gold active state matches the system */
.drawer-section .drawer-chip {
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  border-radius: 0;
}
.drawer-section .drawer-chip:hover { border-color: var(--gold); }
.drawer-section .drawer-chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ==================== PRODUCT CARD COLLECTION RIBBON ==================== */
.product-ribbon {
  position: absolute;
  top: 0.7rem; right: 3rem;          /* sits left of the heart button */
  background: rgba(184,154,92,0.95);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  z-index: 2;
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
}
.product-ribbon:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* ==================== MODAL COLLECTION CHIPS ==================== */
.modal-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-fine);
}
.modal-collection-chip {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(184,154,92,0.35);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.modal-collection-chip:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ==================== COLLECTION TILES (collections.html index) ==================== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 1080px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .collection-grid { grid-template-columns: 1fr; } }
.collection-tile {
  background: var(--paper-deep);
  border: 1px solid var(--rule-fine);
  border-top: 1px solid var(--gold);
  padding: 2.25rem 1.85rem 1.85rem;
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease, border-color .35s ease;
  text-decoration: none;
  display: block;
  min-height: 260px;
  position: relative;
}
.collection-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(34,30,24,0.08);
  border-top-color: var(--gold-dark);
}
.collection-tile-blurb-wrap { display: flex; flex-direction: column; gap: 0.65rem; height: 100%; }
.collection-tile-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-dark);
}
.collection-tile-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.collection-tile-blurb {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: auto;
}
.collection-tile-cta {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--rule-fine);
  padding-top: 1rem;
  margin-top: 1rem;
  transition: color .2s;
}
.collection-tile:hover .collection-tile-cta { color: var(--gold-dark); }

/* ==================== RELATED COLLECTIONS (on collection.html) ==================== */
.related-collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 880px) { .related-collections { grid-template-columns: 1fr; } }
.related-card {
  background: transparent;
  border: 1px solid var(--rule-gold);
  padding: 1.75rem;
  transition: background .25s ease, transform .25s ease;
  text-decoration: none;
  display: block;
}
.related-card:hover { background: var(--paper-deep); transform: translateY(-2px); }
.related-card-kind {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}
.related-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.related-card-blurb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 300;
}
.related-card-cta {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
}

/* ==================== FILTER BAR ==================== */
.filter-bar { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.chip {
  padding: 0.5rem 1.05rem;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-divider { width: 1px; height: 20px; background: var(--line); margin: 0 0.3rem; }
.filter-icon-btn {
  padding: 0.5rem 1rem; border-radius: 0;
  background: transparent; border: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: border-color .2s;
}
.filter-icon-btn:hover { border-color: var(--ink); }
.sort-wrap { position: relative; }
.sort-menu { position: absolute; top: calc(100% + 0.5rem); right: 0; background: var(--paper); border: 1px solid var(--rule-gold); border-radius: 0; padding: 0.45rem; min-width: 220px; box-shadow: 0 14px 36px rgba(34,30,24,0.08); display: none; z-index: 20; }
.sort-menu.open { display: block; }
.sort-option { padding: 0.55rem 0.85rem; border-radius: 0; font-size: 0.84rem; transition: background .15s; display: block; width: 100%; text-align: left; letter-spacing: 0.04em; }
.sort-option:hover { background: var(--marble); }
.sort-option.selected { background: var(--ink); color: var(--paper); }

/* ==================== FOOTER (editorial 4-col, identical on every page) ==================== */
footer { background: var(--ink); color: var(--paper); padding: 5rem 1.5rem 2.5rem; margin-top: 3rem; position: relative; }
.footer-rule { max-width: var(--page-max); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 3rem; }
.footer-grid { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { color: var(--paper); margin-bottom: 0.8rem; }
.footer-brand .brand-mark { background: var(--gold); }
.footer-brand .brand-mark::after { background: var(--ink); }
.footer-stamp { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--gold-light); letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(250,246,238,0.68); line-height: 1.7; margin-bottom: 1.5rem; font-weight: 300; }
.footer-social { display: flex; gap: 0.55rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(250,246,238,0.06); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 500; transition: background .25s, transform .2s, color .25s; }
.footer-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.footer-col h4, footer h4 { font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer ul a, footer p { color: rgba(250,246,238,0.72); font-size: 0.88rem; transition: color .2s; }
footer ul a:hover { color: var(--gold-light); }
.footer-bar, .footer-bottom { max-width: var(--page-max); margin: 3rem auto 0; padding-top: 1.75rem; border-top: 1px solid rgba(184,154,92,0.25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.74rem; color: rgba(250,246,238,0.5); letter-spacing: 0.16em; text-transform: uppercase; }

/* ==================== FLOATING WHATSAPP (retained warm accent) ==================== */
.floating-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp); color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 90; transition: transform .25s; animation: waPulse 2.4s ease-in-out infinite; }
.floating-wa:hover { transform: scale(1.08) translateY(-2px); animation: none; }
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.35); } 50% { box-shadow: 0 8px 30px rgba(37,211,102,0.55), 0 0 0 12px rgba(37,211,102,0.07); } }

.social-proof { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 88; background: var(--paper); color: var(--ink); padding: 0.7rem 1.05rem 0.7rem 0.65rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(34,30,24,0.12); display: flex; align-items: center; gap: 0.7rem; font-size: 0.82rem; font-weight: 400; max-width: 330px; transform: translateY(150%); opacity: 0; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), opacity .3s; border: 1px solid var(--rule-gold); }
.social-proof.show { transform: translateY(0); opacity: 1; }
.sp-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.sp-text { line-height: 1.3; }
.sp-time { font-size: 0.72rem; color: var(--ink-soft); font-weight: 400; }

/* ==================== MODAL + DRAWER + TOAST ==================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(34,30,24,0.45); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 92vw); background: var(--paper); padding: 2rem 1.75rem; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -20px 0 60px rgba(34,30,24,0.15); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer-head h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: -0.005em; }
.drawer-close { font-size: 1.4rem; padding: 0.25rem 0.6rem; }
.drawer-section { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule-fine); }
.drawer-section:last-of-type { border: none; }
.drawer-section h4 { font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.1rem; }
.drawer-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.drawer-chip { padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 0; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.drawer-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-slider { width: 100%; margin: 1rem 0; appearance: none; height: 4px; background: var(--marble); border-radius: 999px; outline: none; }
.price-slider::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; background: var(--gold); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(184,154,92,0.35); }
.price-slider::-moz-range-thumb { width: 20px; height: 20px; background: var(--gold); border-radius: 50%; cursor: pointer; border: none; }
.price-display { display: flex; justify-content: space-between; font-size: 0.84rem; color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.drawer-foot { display: flex; gap: 0.75rem; margin-top: 2rem; }
.drawer-foot button { flex: 1; padding: 0.85rem; border-radius: 0; font-weight: 500; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.drawer-reset { background: transparent; border: 1px solid var(--ink); }
.drawer-apply { background: var(--ink); color: var(--paper); }

/* visibility (not display) so the open/close fade actually plays both ways */
.modal-overlay { position: fixed; inset: 0; background: rgba(34,30,24,0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 110; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }
.modal-overlay.open { visibility: visible; pointer-events: auto; opacity: 1; transition: opacity .28s ease; }
.modal { background: var(--paper); border-radius: 0; width: min(960px, 100%); max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(16px) scale(0.99); transition: transform .32s cubic-bezier(0.16,1,0.3,1); border: 1px solid var(--rule-gold); }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-img { aspect-ratio: 1; border-radius: 0; position: relative; overflow: hidden; }
.modal-body { padding: 3rem; position: relative; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--marble); font-size: 1.05rem; transition: background .2s; }
.modal-close:hover { background: var(--gold); color: var(--paper); }
.modal-body .eyebrow { color: var(--gold-dark); }
.modal-body h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; margin-bottom: 0.6rem; line-height: 1.05; letter-spacing: -0.01em; }
.modal-price { font-family: var(--serif); font-style: italic; font-size: 1.55rem; margin-bottom: 1.75rem; color: var(--gold-dark); }
.modal-desc { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; margin-bottom: 1.75rem; font-weight: 300; }
.modal-color { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.6rem; font-weight: 500; }
.modal-swatches { display: flex; gap: 0.5rem; margin-bottom: 1.75rem; }
.modal-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--rule-gold); transition: transform .2s; }
.modal-swatch:hover { transform: scale(1.1); }
.modal-swatch.selected { border-color: var(--ink); }
.modal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule-fine); font-size: 0.86rem; }
.modal-meta div span { display: block; color: var(--gold-dark); font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 0.3rem; }
.modal-actions { display: flex; gap: 0.65rem; }

/* ==================== MEGA MENU (24S-style hover panel) ====================
   Full-width ivory-glass panel under the nav. Opens on hover with intent
   delay, closes with grace period. Desktop only — mobile keeps hamburger. */
.nav-item-mega { position: static; }
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(250,246,238,0.985);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(184,154,92,0.28);
  box-shadow: 0 30px 60px rgba(34,30,24,0.10);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .28s ease, transform .28s cubic-bezier(0.16,1,0.3,1), visibility 0s linear .28s;
  padding: 2rem var(--gutter, 2rem) 2.2rem;
  /* content clusters centered under the trigger — short pointer travel from
     the "Collections" link instead of a trek to the page edge */
  display: grid; grid-template-columns: auto auto auto;
  justify-content: center; gap: 4.5rem;
  align-items: start;
}
.mega-col { min-width: 190px; }
.nav-item-mega.open .mega-panel,
.nav-item-mega:focus-within .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .28s ease, transform .28s cubic-bezier(0.16,1,0.3,1);
}
.mega-col-label { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-dark, #8E7642); font-weight: 500; margin-bottom: .9rem; }
.mega-col a { display: block; font-family: var(--serif, serif); font-size: .98rem;
  padding: .22rem 0; color: var(--ink, #221E18); transition: color .2s, padding-left .25s ease; }
.mega-col a:hover { color: var(--gold-dark, #8E7642); padding-left: .5rem; }
/* Square window fed only square images — fills cleanly, no strips. */
.mega-visual { position: relative; overflow: visible; width: 250px;
  margin: 0; justify-self: center; }
.mega-visual img { width: 250px; height: 250px; object-fit: cover; display: block;
  background: var(--paper-deep, #F5EFE4); border: 1px solid rgba(184,154,92,0.30); }
.nav-item-mega.open .mega-visual img { transform: scale(1); }
/* Caption below the frame — ink on ivory, legible on every image. */
.mega-visual figcaption { margin-top: .55rem; text-align: center;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-dark, #8E7642); font-weight: 500; }
body.is-mobile .mega-panel { display: none !important; }

/* Cross-page view transitions — soft fade between pages (progressive enhancement) */
@view-transition { navigation: auto; }

/* ---- "In life" strip — styled/editorial imagery on product pages,
        visually subordinate to the real product gallery ---- */
.life-section { max-width: var(--page-max, 1400px); margin: 3.5rem auto 0; padding: 0 1.5rem; }
.life-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.life-head h2 { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; }
.life-note { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.life-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.life-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
body.is-mobile .life-strip { grid-template-columns: 1fr 1fr; }

/* ---- Micro-interactions ---- */
/* Newly loaded product/journal images fade in instead of popping (class added by shared.js) */
@keyframes imgIn { from { opacity: 0; } }
img.img-in { animation: imgIn .5s ease; }
/* Bag counter acknowledges a change with one soft pulse */
@keyframes bagPulse { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.bag-count { display: inline-block; }
.bag-count.pulse { animation: bagPulse .45s cubic-bezier(0.16,1,0.3,1); }

.toast { position: fixed; top: 5.5rem; right: 1.5rem; background: var(--ink); color: var(--paper); padding: 0.85rem 1.4rem; border-radius: 0; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; z-index: 120; transform: translateY(-20px); opacity: 0; transition: transform .3s, opacity .3s; pointer-events: none; border-left: 2px solid var(--gold); }
.toast.show { transform: translateY(0); opacity: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==================== HERO / BENTO (legacy — may still be referenced by other pages) ==================== */
.hero { padding: 2rem 1.5rem; }
.bento { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.bento-card { border-radius: 0; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s; border: 1px solid var(--rule-fine); }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(34,30,24,0.08); }
.b-hero    { grid-column: span 7; grid-row: span 3; background: var(--paper-deep); padding: 3rem 2.75rem; display: flex; flex-direction: column; justify-content: space-between; }
.b-product { grid-column: span 5; grid-row: span 2; }
.b-stats   { grid-column: span 3; grid-row: span 1; background: var(--ink); color: var(--paper); padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.b-feat    { grid-column: span 2; grid-row: span 1; }
.b-rita    { grid-column: span 4; grid-row: span 2; }
.b-insta   { grid-column: span 3; grid-row: span 2; background: var(--paper-deep); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.b-quote   { grid-column: span 5; grid-row: span 1; background: var(--marble); padding: 1.5rem 1.75rem; display: flex; align-items: center; }
.b-hero::after { content: ''; position: absolute; top: 1.75rem; right: 1.75rem; width: 1px; height: 80px; background: var(--gold); }
.b-hero > * { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; margin-bottom: 1.5rem; }
.hero-tag::before { content: ''; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.b-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 300; line-height: 1.0; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 1.4rem; }
.b-hero h1 .it { font-style: italic; color: var(--gold-dark); }
.b-hero p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.6; max-width: 460px; margin-bottom: 1.75rem; font-weight: 300; }
.b-hero-foot { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.bento-label { position: absolute; bottom: 1rem; left: 1rem; background: rgba(250,246,238,0.92); backdrop-filter: blur(8px); color: var(--ink); padding: 0.3rem 0.75rem; border-radius: 0; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.b-stats .stat-num { font-family: var(--serif); font-style: italic; font-size: 2.5rem; line-height: 1; margin-bottom: 0.35rem; color: var(--paper); }
.b-stats .stat-label { font-size: 0.66rem; color: rgba(250,246,238,0.7); letter-spacing: 0.18em; text-transform: uppercase; }
.b-stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.b-insta-head { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.b-insta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; flex: 1; margin: 0.75rem 0; }
.b-insta-tile { border-radius: 0; min-height: 50px; }
.b-insta-handle { font-size: 0.82rem; color: var(--ink-soft); }
.b-insta-handle strong { color: var(--ink); font-weight: 500; }
.b-quote-text { font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.4; color: var(--ink); font-weight: 300; }
.b-quote-author { font-size: 0.72rem; color: var(--gold-dark); margin-top: 0.6rem; font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; }

/* ==================== SHELF ==================== */
.shelf { padding: 5rem 1.5rem 2rem; max-width: var(--page-max); margin: 0 auto; }
.shelf-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid var(--rule-gold); padding-bottom: 1.5rem; }
.shelf h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; letter-spacing: -0.005em; color: var(--ink); }
.shelf-link { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .25s; }
.shelf-link:hover { color: var(--gold-dark); }
.shelf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.shelf-card { background: var(--paper-deep); border-radius: 0; padding: 0.85rem; transition: transform .25s, box-shadow .25s; border: 1px solid var(--rule-fine); }
.shelf-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(34,30,24,0.06); }
.shelf-img { aspect-ratio: 4/3; border-radius: 0; margin-bottom: 0.85rem; }
.shelf-name { font-family: var(--serif); font-weight: 400; font-size: 1.04rem; margin-bottom: 0.2rem; letter-spacing: -0.005em; }
.shelf-shop { font-size: 0.66rem; color: var(--gold-dark); letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.shelf-shop::after { content: ' →'; }

/* ==================== BOUQUET CONFIGURATOR (warm original) ====================
   These warm tones are the original look the user knows. Cream surfaces, soft
   rose glow in the corner, terracotta accents, round palette swatches.
   Kept intentionally separate from the colder couture palette. */
.configurator-wrap { padding: 1.5rem; }
.configurator {
  max-width: var(--page-max); margin: 0 auto;
  background: linear-gradient(135deg, var(--paper-deep) 0%, var(--marble) 100%);
  border-radius: 20px;
  padding: 3rem;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: center;
}
.configurator::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #C68874, transparent);
  opacity: 0.22;
}
.config-side { position: relative; z-index: 1; }
.config-side h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05; margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.config-side h2 .it { font-style: italic; color: var(--terracotta); }
.config-side > p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 1.75rem; font-weight: 300; }
.config-step {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.config-section { margin-bottom: 1.5rem; }
.config-section h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}
.config-flowers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.config-flower {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--paper);
  border: 2px solid transparent;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem;
  transition: all .2s;
  padding: 0.4rem;
  position: relative;
}
.config-flower:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.config-flower.selected { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.config-flower-icon { font-size: 1.4rem; line-height: 1; }
.config-flower-name { font-size: 0.7rem; font-weight: 500; }
.config-count {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--terracotta); color: white;
  font-size: 0.65rem; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.config-flower.selected .config-count { display: flex; }
.config-colors { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.config-color {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .2s;
}
.config-color:hover { transform: scale(1.1); }
.config-color.selected { border-color: var(--ink); transform: scale(1.1); }
.config-preview {
  background: linear-gradient(180deg, var(--paper) 0%, var(--marble) 100%);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  min-height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: inset 0 2px 12px rgba(34,30,24,0.06);
}
.config-bouquet {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin-bottom: 1.5rem;
  min-height: 220px;
  align-items: center; justify-items: center;
  padding: 1rem;
}
.config-bouquet-stem {
  display: flex; flex-direction: column; align-items: center;
  animation: bloom .4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bloom { from { opacity: 0; transform: translateY(20px) scale(0.5); } to { opacity: 1; transform: none; } }
.config-bouquet-flower { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 4px 8px rgba(34,30,24,0.15)); }
.config-bouquet-stem-line { width: 3px; height: 50px; background: #8C9C76; border-radius: 999px; margin-top: -4px; }
.config-empty { color: var(--ink-soft); font-style: italic; }
.config-summary {
  background: var(--paper);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; width: 100%;
}
.config-total-label { font-size: 0.8rem; color: var(--ink-soft); }
.config-total-price { font-family: var(--serif); font-style: italic; font-size: 1.8rem; line-height: 1; }
.config-send-wa {
  background: var(--whatsapp); color: white;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  font-weight: 600; font-size: 0.88rem;
}
.config-send-wa:hover { background: #1eb958; }

/* ==================== PROCESS (sticky scroll) ==================== */
.process-wrap { padding: 5rem 1.5rem; max-width: var(--page-max); margin: 0 auto; }
.process-intro { text-align: center; margin-bottom: 4rem; }
.process-intro h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; line-height: 1.0; letter-spacing: -0.01em; }
.process-intro h2 .it { font-style: italic; color: var(--gold-dark); }
.process-intro p { color: var(--ink-soft); max-width: 560px; margin: 1.25rem auto 0; font-weight: 300; line-height: 1.65; }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; position: relative; }
.process-sticky { position: sticky; top: 6rem; height: fit-content; }
.process-stage-img { aspect-ratio: 1; border-radius: 0; transition: background-color .8s; position: relative; overflow: hidden; }
.process-stage-img-label { position: absolute; bottom: 1rem; left: 1rem; background: rgba(250,246,238,0.92); padding: 0.4rem 0.95rem; border-radius: 0; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }
.process-list { display: flex; flex-direction: column; gap: 5rem; }
.process-step { padding: 2rem 0; opacity: 0.32; transition: opacity .5s; border-left: 1px solid var(--line); padding-left: 2.25rem; position: relative; }
.process-step.active { opacity: 1; border-left-color: var(--gold); }
.process-step::before { content: ''; position: absolute; top: 2rem; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.process-step.active::before { background: var(--gold); border-color: var(--gold); }
.process-step .num { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--gold-dark); margin-bottom: 0.6rem; letter-spacing: 0.04em; }
.process-step h3 { font-family: var(--serif); font-size: 1.85rem; font-weight: 300; margin-bottom: 0.7rem; line-height: 1.1; letter-spacing: -0.005em; }
.process-step p { color: var(--ink-soft); line-height: 1.65; font-weight: 300; }

/* ==================== MAP ==================== */
.map-wrap { padding: 5rem 1.5rem; max-width: var(--page-max); margin: 0 auto; }
.map-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: center; background: var(--paper-deep); border-radius: 0; padding: 3.5rem; border: 1px solid var(--rule-gold); }
.map-side h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 300; margin-bottom: 1.1rem; line-height: 1.0; letter-spacing: -0.01em; }
.map-side h2 .it { font-style: italic; color: var(--gold-dark); }
.map-side p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.75rem; font-weight: 300; }
.map-cities { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.map-city { padding: 0.4rem 0.95rem; background: var(--marble); border-radius: 0; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--rule-fine); }
.map-svg-wrap { position: relative; display: flex; justify-content: center; }
.map-svg { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 8px 24px rgba(34,30,24,0.06)); }
.map-pin { animation: pulsePin 2.4s ease-out infinite; transform-origin: center; }
@keyframes pulsePin { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }
.map-pin.p2 { animation-delay: 0.4s; } .map-pin.p3 { animation-delay: 0.8s; } .map-pin.p4 { animation-delay: 1.2s; } .map-pin.p5 { animation-delay: 1.6s; }

/* ==================== HEMA & BESPOKE BANNERS ==================== */
.rita-wrap { padding: 2rem 1.5rem; }
.rita { background: var(--ink); color: var(--paper); border-radius: 0; padding: 4rem 3.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; max-width: var(--page-max); margin: 0 auto; position: relative; }
.rita::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rita-eyebrow { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 0.85rem; display: inline-flex; align-items: center; gap: 0.65rem; }
.rita-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.rita h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; color: var(--paper); margin-bottom: 1.5rem; line-height: 1.0; letter-spacing: -0.01em; }
.rita p { font-size: 1.02rem; line-height: 1.7; color: rgba(250,246,238,0.82); margin-bottom: 2rem; font-weight: 300; }
.rita-buttons { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.rita-img { aspect-ratio: 1; border-radius: 0; position: relative; }

.bespoke { margin: 2rem auto; padding: 5rem 3rem; border-radius: 0; background: var(--paper-deep); max-width: var(--page-max); text-align: center; position: relative; border: 1px solid var(--rule-gold); }
.bespoke::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 1px; background: var(--gold); }
.bespoke .eyebrow { color: var(--gold-dark); }
.bespoke h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; margin-bottom: 1.4rem; line-height: 1.0; letter-spacing: -0.01em; }
.bespoke h2 .it { font-style: italic; color: var(--gold-dark); }
.bespoke p { font-size: 1.04rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 2.25rem; font-weight: 300; line-height: 1.65; }

/* ==================== TESTIMONIALS + FAQ ==================== */
.testimonials { padding: 5rem 1.5rem; max-width: var(--page-max); margin: 0 auto; }
.testimonials .section-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; border: none; padding-bottom: 0; margin-bottom: 3rem; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.t-card { background: var(--paper-deep); border-radius: 0; padding: 2.5rem; border: 1px solid var(--rule-fine); border-top: 1px solid var(--gold); }
.t-stars { color: var(--gold); margin-bottom: 1.25rem; font-size: 0.95rem; letter-spacing: 4px; }
.t-text { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.75rem; color: var(--ink); font-weight: 300; }
.t-author { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--rule-fine); }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; }
.t-name { font-weight: 500; font-size: 0.88rem; font-family: var(--serif); }
.t-role { font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.16em; text-transform: uppercase; }

.faq-wrap { max-width: 780px; margin: 0 auto; padding: 5rem 1.5rem; }
.faq-wrap .section-head { flex-direction: column; align-items: center; text-align: center; border: none; padding-bottom: 0; margin-bottom: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--rule-fine); }
.faq-q { width: 100%; padding: 1.5rem 0; font-family: var(--serif); font-size: 1.2rem; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 400; letter-spacing: -0.005em; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--gold-dark); transition: transform .3s; font-weight: 300; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; font-weight: 300; }
.faq-item.open .faq-a { padding: 0 0 1.5rem; max-height: 400px; }

/* ==================== ACCOUNT PAGE ==================== */
.account-tabs { display: flex; gap: 0.5rem; max-width: 920px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.account-tab { padding: 0.7rem 1.5rem; border-radius: 0; background: transparent; border: 1px solid var(--line); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }
.account-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.account-section { max-width: var(--page-max); margin: 0 auto 5rem; padding: 0 1.5rem; }
.empty-state { text-align: center; padding: 5rem 1.5rem; background: var(--paper-deep); border-radius: 0; border: 1px solid var(--rule-fine); border-top: 1px solid var(--gold); }
.empty-state h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 300; margin-bottom: 0.85rem; letter-spacing: -0.005em; }
.empty-state p { color: var(--ink-soft); margin-bottom: 1.75rem; font-weight: 300; }

/* ==================== TRACK ORDER PAGE ==================== */
.track-card { max-width: 580px; margin: 0 auto; background: var(--paper-deep); border-radius: 0; padding: 3rem; border: 1px solid var(--rule-gold); }
.track-card label { display: block; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.65rem; color: var(--gold-dark); }
.track-input { width: 100%; padding: 0.85rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0; font-family: inherit; font-size: 0.95rem; color: var(--ink); outline: none; transition: border-color .2s; margin-bottom: 1.5rem; }
.track-input:focus { border-color: var(--gold); }
.track-status { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-fine); display: none; }
.track-status.show { display: block; }
.track-status h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 1.75rem; letter-spacing: -0.005em; }
.track-timeline { display: flex; flex-direction: column; gap: 0; }
.track-stage { display: flex; gap: 1.1rem; padding: 0.85rem 0; position: relative; }
.track-stage-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); flex-shrink: 0; margin-top: 6px; position: relative; z-index: 1; }
.track-stage.done .track-stage-dot { background: var(--gold-dark); border-color: var(--gold-dark); }
.track-stage.current .track-stage-dot { background: var(--gold); border-color: var(--gold); animation: pulsePin 1.8s ease-out infinite; }
.track-stage:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 24px; bottom: -8px; width: 1px; background: var(--line); }
.track-stage.done:not(:last-child)::before { background: var(--gold-dark); }
.track-stage-text { flex: 1; }
.track-stage-name { font-family: var(--serif); font-weight: 400; font-size: 1rem; margin-bottom: 0.2rem; letter-spacing: -0.005em; }
.track-stage-time { font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.16em; text-transform: uppercase; }

/* ==================== ABOUT / HELP / BESPOKE PAGES ==================== */
.content-grid { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.about-img-large { aspect-ratio: 21/9; border-radius: 0; margin-bottom: 4rem; max-width: 1100px; margin-left: auto; margin-right: auto; position: relative; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: 1100px; margin: 0 auto; align-items: center; padding: 0 1.5rem; }
.story-img { aspect-ratio: 4/5; border-radius: 0; position: relative; }
.story-text h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; margin-bottom: 1.25rem; line-height: 1.05; letter-spacing: -0.005em; }
.story-text h2 .it { font-style: italic; color: var(--gold-dark); }
.story-text p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.1rem; font-size: 1.02rem; font-weight: 300; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.value-card { background: var(--paper-deep); border-radius: 0; padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--rule-fine); border-top: 1px solid var(--gold); }
.value-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 1.3rem; margin: 0 auto 1.25rem; }
.value-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 0.6rem; letter-spacing: -0.005em; }
.value-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; font-weight: 300; }
.timeline { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule-fine); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--gold-dark); }
.timeline-text h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.5rem; letter-spacing: -0.005em; }
.timeline-text p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; font-weight: 300; }

/* Bespoke steps */
.bespoke-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.bespoke-step { background: var(--paper-deep); border-radius: 0; padding: 2.25rem 2rem; position: relative; border: 1px solid var(--rule-fine); border-top: 1px solid var(--gold); }
.bespoke-step-num { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--gold-dark); letter-spacing: 0.04em; margin-bottom: 0.85rem; }
.bespoke-step h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 0.6rem; letter-spacing: -0.005em; }
.bespoke-step p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; font-weight: 300; }

/* Help columns */
.help-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto 4rem; padding: 0 1.5rem; }
.help-col { background: var(--paper-deep); border-radius: 0; padding: 2.5rem 2rem; border: 1px solid var(--rule-fine); border-top: 1px solid var(--gold); }
.help-col h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.85rem; letter-spacing: -0.005em; }
.help-col p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.1rem; font-weight: 300; }
.help-col a { color: var(--gold-dark); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .product-grid, .pattern-grid { grid-template-columns: repeat(3, 1fr); }
  .shelf-grid { grid-template-columns: repeat(3, 1fr); }
  .bespoke-steps { grid-template-columns: repeat(2, 1fr); }
  .patterns-info-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-auto-rows: 160px; }
}
@media (max-width: 900px) {
  nav { grid-template-columns: auto 1fr auto; padding: 0.85rem 1rem; }
  .nav-center { display: none; }
  .nav-center.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--paper); padding: 1rem; gap: 1rem; border-bottom: 1px solid var(--rule-gold); }
  .menu-toggle { display: block; }
  .icon-btn { display: none; }
  .icon-btn:last-of-type, .bag-btn { display: inline-flex; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .b-hero { grid-column: span 2; grid-row: span 2; padding: 2rem 1.75rem; }
  .b-product { grid-column: span 2; grid-row: span 2; }
  .b-stats   { grid-column: span 2; grid-row: span 1; }
  .b-feat    { grid-column: span 1; grid-row: span 1; }
  .b-rita    { grid-column: span 1; grid-row: span 2; }
  .b-insta   { grid-column: span 2; grid-row: span 2; }
  .b-quote   { grid-column: span 2; grid-row: span 1; }
  .rita, .map-grid, .story-grid, .configurator { grid-template-columns: 1fr; padding: 2.5rem; gap: 2.5rem; }
  .process { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-sticky { position: relative; top: 0; }
  .process-list { gap: 2.5rem; }
  .values-grid, .help-cols, .t-grid { grid-template-columns: 1fr; }
  .bespoke-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 4/3; }
  .modal-body { padding: 2rem; }
  .social-proof { max-width: calc(100vw - 6rem); font-size: 0.78rem; bottom: 5.5rem; }
}
@media (max-width: 640px) {
  .product-grid, .shelf-grid, .pattern-grid { grid-template-columns: repeat(2, 1fr); }
  .patterns-info-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .brand { font-size: 1.35rem; letter-spacing: 0.28em; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hamburger hidden on desktop; the ≤ 900px block reveals it */
.nav-toggle { display: none; }

/* Kill any accidental horizontal scroll on mobile — use `clip` not `hidden`,
   because `overflow-x: hidden` creates a scroll container that breaks
   position:sticky on descendants (like the category strip). */
html, body { overflow-x: clip; max-width: 100vw; }

/* ============================================================
   MOBILE NAV — bulletproof rules via body.is-mobile class
   (JS adds this class based on viewport, so cached CSS can't
    prevent it from applying)
   ============================================================ */
body.is-mobile nav .nav-center,
body.is-mobile .top-nav .nav-center { display: none !important; }
body.is-mobile nav .nav-right .icon-btn,
body.is-mobile nav .nav-right .search-toggle { display: none !important; }
body.is-mobile nav .nav-right .bag-btn { padding: 6px 12px; font-size: 0.72rem; }
body.is-mobile nav .nav-toggle { display: flex !important; }
body.is-mobile nav {
  position: sticky !important; top: 0; z-index: 100;
  grid-template-columns: auto 1fr auto !important;
  padding: 0.7rem 1rem !important;
  align-items: center; gap: 0.5rem;
}
body.is-mobile nav .brand { justify-self: center; font-size: 1.1rem !important; letter-spacing: 0.28em !important; }

/* When nav-open, show the drawer */
body.is-mobile nav.nav-open .nav-center,
body.is-mobile .top-nav.nav-open .nav-center {
  display: flex !important;
  position: fixed; inset: 60px 0 0 0;
  background: rgba(245,239,228,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column; gap: 1.5rem;
  padding: 3rem 2rem; margin: 0;
  z-index: 998; overflow-y: auto;
  animation: navSlideDown .28s ease;
}
body.is-mobile nav.nav-open .nav-center .nav-link {
  font-size: 1.1rem; letter-spacing: 0.32em;
}
/* Search + Account inside the drawer too */
body.is-mobile nav.nav-open .nav-center::after {
  content: '';
  display: block; height: 1px; background: rgba(0,0,0,0.08);
  margin: 1rem 0 0;
}

/* ============================================================
   MOBILE — comprehensive breakpoints (added 2026-08)
   Targets: iPhone SE 375 · iPhone 14 Pro 390 · iPad 768 · laptop 1280+
   ============================================================ */

/* Tablet & below (≤ 900px) */
@media (max-width: 900px) {
  :root { --gutter: 1.25rem; }

  /* Nav: switch to hamburger */
  .top-nav, nav { grid-template-columns: auto 1fr auto !important; padding: 0.85rem var(--gutter); }
  .nav-center {
    display: none !important;
  }
  .top-nav.nav-open .nav-center,
  nav.nav-open .nav-center {
    display: flex !important;
    position: fixed; inset: 60px 0 0 0;
    background: rgba(245,239,228,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; gap: 1.75rem;
    padding: 3rem 2rem; margin: 0;
    z-index: 998; overflow-y: auto;
    animation: navSlideDown .3s ease;
  }
  @keyframes navSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }
  .nav-center .nav-link { font-size: 1rem; letter-spacing: 0.32em; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 24px; height: 18px; background: none; border: none; padding: 0;
    cursor: pointer; z-index: 999;
  }
  .nav-toggle span {
    display: block; height: 1.5px; width: 100%; background: var(--ink);
    transition: transform .25s, opacity .25s;
  }
  .top-nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .top-nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top-nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand { font-size: 1.15rem; letter-spacing: 0.32em; }

  /* Product & category grids: 2 columns */
  .product-grid, .shelf-grid, .pattern-grid,
  .collection-grid, .curated-rail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  /* Footer: stack into 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Bento (about page): stack fully */
  .bento { grid-template-columns: 1fr !important; grid-auto-rows: auto !important; gap: 1rem; }
  .bento > * { grid-column: 1 !important; grid-row: auto !important; min-height: 200px; }
  .b-stats-row { grid-template-columns: 1fr 1fr 1fr; }
  .b-insta-grid { grid-template-columns: 1fr 1fr; }
}

/* Phone (≤ 640px) */
@media (max-width: 640px) {
  :root { --gutter: 1rem; }

  /* Product grid: 2 columns (tighter gap) */
  .product-grid, .shelf-grid, .pattern-grid,
  .collection-grid, .curated-rail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  /* Modal: stack image on top, info below */
  .modal { grid-template-columns: 1fr !important; max-height: 100vh; border-radius: 0; }
  .modal-img { aspect-ratio: 1/1; max-height: 60vh; }
  .modal-body { padding: 1.25rem 1rem 2rem; }
  .modal-meta { grid-template-columns: 1fr; gap: 0.5rem; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid > * { text-align: left; }

  /* Two-col layouts */
  .two-col, .two-col.reverse { grid-template-columns: 1fr !important; gap: 24px; }

  /* Section heads */
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-head h2 { font-size: 1.75rem; }

  /* Product cards: tighter meta */
  .product-info { padding: 0.6rem 0.5rem 0.5rem; }
  .product-name { font-size: 0.9rem; }
  .product-price { font-size: 0.85rem; }

  /* Modal thumbnails: horizontal scroll instead of grid */
  .modal-thumbs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
  .modal-thumb { flex: 0 0 60px; }

  /* Buttons + inputs: bigger tap targets */
  .btn, button, input[type="submit"] { min-height: 44px; }
  .heart-btn { width: 44px; height: 44px; }

  /* Bespoke / contact forms */
  .field-row { grid-template-columns: 1fr !important; }
}

/* ============================================================
   STICKY CATEGORY STRIP — collections page
   Aesop/Farfetch pattern: always-visible horizontal chip row
   ============================================================ */
.cat-sticky {
  position: sticky;
  position: -webkit-sticky; /* Safari older */
  top: var(--nav-h, 64px); /* flush under the real nav height (set by partials.js) */
  z-index: 90;
  background: rgba(245, 239, 228, 0.96);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(42, 31, 26, 0.08);
  padding: 0.6rem 0;
  margin-bottom: 1.75rem;
}
.cat-sticky-scroll {
  max-width: var(--page-max, 1400px);
  margin: 0 auto;
  padding: 0 var(--gutter, 2rem);
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-sticky-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(42, 31, 26, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(42, 31, 26, 0.65);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.cat-chip:hover {
  color: var(--ink, #2a1f1a);
  border-color: rgba(42, 31, 26, 0.3);
}
.cat-chip.active {
  background: var(--ink, #2a1f1a);
  color: var(--paper, #f5efe4);
  border-color: var(--ink, #2a1f1a);
}
@media (max-width: 900px) {
  .cat-sticky { top: var(--nav-h, 54px); padding: 0.5rem 0; }
  .cat-chip { font-size: 0.66rem; padding: 7px 13px; letter-spacing: 0.12em; }
}
@media (max-width: 640px) {
  .cat-sticky { top: var(--nav-h, 52px); }
  .cat-sticky-scroll { padding: 0 1rem; }
  .cat-chip { font-size: 0.62rem; padding: 6px 11px; }
}

/* Product cards: image + info are now anchors — inherit typography */
.product > .product-img,
.product > .product-info {
  color: inherit; text-decoration: none; display: block;
}
.product > .product-info { padding-top: 0.6rem; }

/* ============================================================
   DEDICATED PRODUCT PAGE — /product.html?id=N
   ============================================================ */
.product-page {
  max-width: var(--page-max, 1400px);
  margin: 0 auto;
  padding: 6.5rem var(--gutter, 2rem) 4rem;
}
.crumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  margin-bottom: 2.5rem;
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.crumb a { color: rgba(42, 31, 26, 0.55); }
.crumb a:hover { color: var(--ink, #2a1f1a); }

.product-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 6rem;
}

/* Gallery */
.product-visual { position: sticky; top: 6rem; }
.product-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.pd-angle {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 0.3s ease;
}
.pd-angle.is-active { opacity: 1; }

.product-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 72px; height: 72px;
  padding: 0; border: 1px solid transparent;
  border-radius: 3px; overflow: hidden;
  background: none; cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.55;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover, .pd-thumb.is-active { opacity: 1; border-color: var(--gold-dark, #8B5E3C); }

/* Gallery prev/next arrows — keyboard (←/→) mirrors these */
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 5;
  background: rgba(250, 246, 238, 0.85);
  color: var(--ink, #2a1f1a); font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 3px;
  opacity: 0; transition: opacity 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.product-gallery:hover .pd-nav, .pd-nav:focus-visible { opacity: 1; }
.pd-nav:hover { background: rgba(250, 246, 238, 0.97); }
.pd-nav-prev { left: 14px; }
.pd-nav-next { right: 14px; }
@media (max-width: 900px) {
  .pd-nav { opacity: 1; width: 38px; height: 38px; font-size: 19px; }
}

/* Detail column */
.product-detail { display: flex; flex-direction: column; gap: 1.75rem; }
.product-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule-fine, rgba(0,0,0,0.08)); }
.product-cat {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  margin-bottom: 0.75rem;
}
.product-title {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 0.65rem;
  color: var(--ink, #2a1f1a);
}
.product-price {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink, #2a1f1a);
  margin-bottom: 1rem;
}
.product-collections { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pd-collection-chip {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(42, 31, 26, 0.15);
  border-radius: 999px;
  color: rgba(42, 31, 26, 0.7);
  transition: all 0.2s ease;
}
.pd-collection-chip:hover { border-color: var(--gold-dark, #8B5E3C); color: var(--gold-dark, #8B5E3C); }

.product-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.005em;
  color: rgba(42, 31, 26, 0.82);
  margin: 0;
  max-width: 42ch;
}

.product-swatches-block { display: flex; flex-direction: column; gap: 0.5rem; }
.product-color-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.6);
}
.product-color-label span { color: var(--ink, #2a1f1a); font-weight: 500; }
.product-swatches { display: flex; gap: 0.5rem; }
.pd-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(42, 31, 26, 0.15);
  cursor: pointer; padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pd-swatch:hover { transform: scale(1.08); }
.pd-swatch.selected { box-shadow: 0 0 0 2px var(--paper, #f5efe4), 0 0 0 3px var(--gold-dark, #8B5E3C); }

.product-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule-fine, rgba(0,0,0,0.08));
  border-bottom: 1px solid var(--rule-fine, rgba(0,0,0,0.08));
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink, #2a1f1a);
}
.product-meta-grid > div { display: flex; flex-direction: column; gap: 2px; }
.product-meta-grid span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.5);
}

.product-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
}
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(42, 31, 26, 0.2);
  border-radius: 999px;
  overflow: hidden; height: 44px;
}
.qty-stepper button {
  width: 40px; height: 44px;
  background: none; border: none;
  font-size: 1.1rem; cursor: pointer;
  color: var(--ink, #2a1f1a);
}
.qty-stepper button:hover { background: rgba(0,0,0,0.04); }
.qty-value { display: inline-block; min-width: 24px; text-align: center; font-family: var(--sans); font-size: 0.9rem; }
.btn-add { height: 44px; }
.btn-heart {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(42, 31, 26, 0.2);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.btn-heart::before {
  content: '♡'; font-size: 1.2rem;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink, #2a1f1a);
}
.btn-heart.liked::before { content: '♥'; color: #B04138; }

.product-share {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 0.5rem;
  font-family: var(--sans);
}
.share-label {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(42, 31, 26, 0.5);
}
.share-btn {
  font-family: var(--sans); font-size: 0.75rem;
  padding: 4px 10px; border: 1px solid rgba(42, 31, 26, 0.15);
  border-radius: 999px; background: none; cursor: pointer;
  color: var(--ink, #2a1f1a);
  transition: all 0.2s ease;
}
.share-btn:hover { border-color: var(--gold-dark, #8B5E3C); color: var(--gold-dark, #8B5E3C); }

.product-details-fold {
  border-top: 1px solid var(--rule-fine, rgba(0,0,0,0.08));
  padding-top: 1.25rem;
  font-family: var(--sans); font-size: 0.86rem; line-height: 1.6;
  color: rgba(42, 31, 26, 0.8);
}
.product-details-fold summary {
  cursor: pointer;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink, #2a1f1a); margin-bottom: 0.75rem;
}

/* Related — restrained editorial: one line, left-aligned, no dashes */
.related-section {
  padding-top: 3rem;
  border-top: 1px solid rgba(42, 31, 26, 0.08);
}
.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.related-head h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: var(--ink, #2a1f1a);
}
.related-all {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(42, 31, 26, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.related-all:hover { color: var(--ink, #2a1f1a); }
@media (max-width: 640px) {
  .related-head h2, .related-all { font-size: 0.66rem; letter-spacing: 0.22em; }
}

/* Product page — mobile */
@media (max-width: 900px) {
  .product-page { padding: 4rem 1.25rem 3rem; }
  .product-shell { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .product-visual { position: static; }
  .product-title { font-size: 1.9rem; }
  .product-actions { grid-template-columns: auto 1fr; gap: 0.5rem; }
  .product-actions .btn-whatsapp,
  .product-actions .btn-heart { grid-column: span 1; }
  .product-actions .btn-add { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .product-page { padding: 3rem 1rem 2rem; }
  .product-title { font-size: 1.55rem; }
  .product-desc { font-size: 1rem; }
  .pd-thumb { width: 56px; height: 56px; }
  .product-actions {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "qty add heart" "wa wa wa";
  }
  .product-actions .qty-stepper { grid-area: qty; }
  .product-actions .btn-add { grid-area: add; }
  .product-actions .btn-heart { grid-area: heart; }
  .product-actions .btn-whatsapp { grid-area: wa; text-align: center; }
}

/* Small phone (≤ 380px, iPhone SE / mini) */
@media (max-width: 380px) {
  .product-grid, .shelf-grid, .pattern-grid,
  .collection-grid, .curated-rail-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .brand { font-size: 1rem; letter-spacing: 0.28em; }
  .b-stats-row, .b-insta-grid { grid-template-columns: 1fr; }
}

/* ==================== MULTI-IMAGE (Aesop-style hover cycle + modal carousel) ==================== */

/* Product card: stack all angle images; only the .is-active one shows. */
.product-angle {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.28s ease;
  pointer-events: none;
}
.product-angle.is-active { opacity: 1; }

/* Hover zones — invisible left/right halves that trigger the cycle */
.product-hover-zones {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr;
  z-index: 2; pointer-events: auto;
}
.product-hover-half { cursor: pointer; }
/* Let the click bubble to product-img → openQuickView */
.product-hover-zones { pointer-events: none; }
.product.has-angles:hover .product-hover-zones { pointer-events: auto; }
.product.has-angles .product-hover-half { pointer-events: auto; }

/* Dots at the bottom edge, subtle and Aesop-restrained */
.product-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
  z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
}
.product.has-angles:hover .product-dots { opacity: 1; }
.product-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 1px rgba(34,30,24,0.15);
  transition: background 0.2s;
}
.product-dot.is-active { background: var(--gold); }

/* ---- Quick-view modal carousel ---- */
.modal-carousel {
  position: absolute; inset: 0; overflow: hidden;
}
.modal-angle {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.35s ease;
}
.modal-angle.is-active { opacity: 1; }

.modal-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(245,239,228,0.92); color: var(--charcoal);
  border: 1px solid var(--rule-gold);
  font-size: 1.2rem; font-family: var(--serif);
  cursor: pointer; z-index: 4;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.modal-carousel-nav.prev { left: 12px; }
.modal-carousel-nav.next { right: 12px; }
.modal-carousel-nav:hover { background: var(--gold); }
.modal-carousel-nav:active { transform: translateY(-50%) scale(0.94); }

.modal-thumbs {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 4; padding: 0 12px;
}
.modal-thumb {
  width: 42px; height: 42px; padding: 0;
  border: 1.5px solid transparent; border-radius: 0;
  background: transparent; cursor: pointer;
  transition: border-color 0.18s, transform 0.15s;
  overflow: hidden;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb:hover { transform: translateY(-1px); }
.modal-thumb.is-active { border-color: var(--gold); }

/* =================================================================
   JOURNAL · Index page (journal.html) + individual posts (journal/{slug}.html)
   Long-form editorial: drop caps, pull quotes, generous whitespace.
   ================================================================= */

/* ---- Index page ---- */
.journal-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem var(--gutter, 2rem) 6rem;
}

.journal-hero {
  text-align: center;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--rule-fine);
  margin-bottom: 3rem;
}
.journal-hero .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.journal-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.journal-hero h1 .it { font-style: italic; color: var(--ink-soft); }
.journal-hero .lede {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
}

/* Category filter chips */
.journal-cats {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.j-cat-chip {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
  border-radius: 999px;
}
.j-cat-chip:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.j-cat-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Featured post — full-bleed hero card */
.journal-featured { margin-bottom: 4rem; }
.jp-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}
.jp-featured:hover { transform: translateY(-4px); }
.jp-featured-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-deep);
}
.jp-featured-body { padding: 1rem 0; }
.jp-featured-body .jp-meta { margin-bottom: 1.5rem; }
.jp-title-lg {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.jp-dek {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  font-weight: 300;
}
.jp-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}

/* Grid of remaining posts — 3-up */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 5rem;
}
.jp-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.jp-card:hover { transform: translateY(-4px); }
.jp-card-image {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-deep);
  margin-bottom: 1.5rem;
}
.jp-card-body { padding: 0 0.25rem; }
.jp-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.jp-meta .jp-cat { color: var(--gold-dark); }
.jp-meta .jp-dot { opacity: 0.5; }
.jp-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.jp-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}

/* Newsletter block */
.journal-newsletter {
  background: var(--paper-deep);
  padding: 4rem var(--gutter, 2rem);
  margin: 4rem calc(var(--gutter, 2rem) * -1) 0;
  text-align: center;
}
.jn-inner { max-width: 560px; margin: 0 auto; }
.journal-newsletter .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.journal-newsletter h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.journal-newsletter p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  font-weight: 300;
}
.jn-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.jn-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  border-radius: 0;
}
.jn-form input:focus { outline: none; border-color: var(--gold); }
.jn-msg {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--gold-dark);
  margin-top: 0.75rem;
}

/* ---- Individual post page (journal/{slug}.html) ---- */
.post-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem var(--gutter, 2rem) 6rem;
}
.post-page .crumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.post-page .crumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.post-page .crumb a:hover { color: var(--gold-dark); }

.post-head {
  text-align: center;
  margin-bottom: 3rem;
}
.post-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.post-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.post-dek {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  font-weight: 400;
}
.post-byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.post-byline .post-dot { opacity: 0.5; }
.post-byline .post-author { color: var(--ink); }

.post-hero {
  margin: 0 calc(var(--gutter, 2rem) * -1) 3rem;
}
.post-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-deep);
}
.post-hero figcaption,
.post-image figcaption {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.75rem var(--gutter, 2rem) 0;
  font-weight: 300;
}

/* Long-form body */
.post-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
}
.post-body p {
  margin: 0 0 1.5rem;
}
.post-body p.has-dropcap::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 4.2rem;
  line-height: 0.9;
  float: left;
  padding: 0.35rem 0.75rem 0 0;
  color: var(--gold-dark);
  font-weight: 400;
}
.post-body .post-h {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
  margin: 3rem 0 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.post-body .post-pull {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 2.5rem calc(var(--gutter, 1rem) * -0.5);
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule-gold);
  border-bottom: 1px solid var(--rule-gold);
  text-align: center;
  quotes: none;
}
.post-body .post-image {
  margin: 2.5rem calc(var(--gutter, 2rem) * -1);
}
.post-body .post-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Inline product reference card */
.post-body .post-product-ref {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  margin: 2rem 0;
  background: var(--paper-deep);
  text-decoration: none;
  color: inherit;
  border-left: 2px solid var(--gold);
  transition: transform 0.25s ease, background 0.25s ease;
}
.post-body .post-product-ref:hover {
  transform: translateX(4px);
  background: var(--marble);
}
.pref-image {
  width: 140px;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--paper);
}
.pref-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.pref-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.pref-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.pref-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Post footer + share */
.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-fine);
}
.post-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.share-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 0.5rem;
}
.share-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 0;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Related products under a post */
.post-related {
  max-width: 1240px;
  margin: 5rem auto 0;
  padding: 3rem var(--gutter, 2rem) 0;
  border-top: 1px solid var(--rule-fine);
}
.post-related .related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.post-related h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}
.post-related .related-all {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
}
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---- Mobile ---- */
body.is-mobile .journal-page { padding: 2rem 1.25rem 4rem; }
body.is-mobile .journal-hero { padding: 1.5rem 0 2.5rem; }
body.is-mobile .journal-cats { margin-bottom: 2.5rem; }
body.is-mobile .jp-featured {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
body.is-mobile .journal-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
body.is-mobile .journal-newsletter {
  padding: 2.5rem 1.25rem;
  margin: 3rem -1.25rem 0;
}
body.is-mobile .post-page { padding: 1.5rem 1.25rem 4rem; }
body.is-mobile .post-hero { margin: 0 -1.25rem 2rem; }
body.is-mobile .post-body { font-size: 1rem; line-height: 1.7; }
body.is-mobile .post-body p.has-dropcap::first-letter {
  font-size: 3.4rem;
  padding: 0.3rem 0.55rem 0 0;
}
body.is-mobile .post-body .post-pull {
  margin: 2rem 0;
  padding: 1.25rem 0;
}
body.is-mobile .post-body .post-image { margin: 2rem -1.25rem; }
body.is-mobile .post-body .post-product-ref {
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1rem;
}
body.is-mobile .pref-image { width: 100px; height: 100px; }
body.is-mobile .post-related { padding: 2.5rem 1.25rem 0; }
body.is-mobile .product-grid-3 {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* =================================================================
   REVIEWS · stars, rating pills, review cards, testimonial rail
   ================================================================= */

/* Star row (used everywhere) */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stars-sm { font-size: 0.85rem; }
.stars-md { font-size: 1.05rem; }
.stars-lg { font-size: 1.3rem; }
.stars .star           { opacity: 0.28; }
.stars .star.is-full,
.stars .star.is-half   { opacity: 1; }
.stars .star.is-half {
  background: linear-gradient(90deg, var(--gold) 50%, rgba(184,154,92,0.28) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Compact rating pill on product cards */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
}
.rating-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* Rating row on product detail (below title) */
.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
}
.product-rating .rating-jump {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}
.product-rating .rating-jump:hover { border-color: var(--gold); color: var(--ink); }

/* Reviews section on product page */
.reviews-section {
  max-width: 1240px;
  margin: 5rem auto 0;
  padding: 3rem var(--gutter, 2rem) 0;
  border-top: 1px solid var(--rule-fine);
}
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.reviews-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.6rem;
  letter-spacing: -0.005em;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.reviews-avg { color: var(--ink); font-weight: 500; }
.reviews-dot { opacity: 0.4; }
.reviews-count { color: var(--ink-soft); }

.btn.btn-ghost {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

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

.rev-card {
  padding: 1.5rem 1.75rem;
  background: var(--paper-deep);
  border-left: 2px solid var(--gold);
}
.rev-head { margin-bottom: 0.9rem; }
.rev-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0.5rem 0 0.4rem;
  line-height: 1.25;
}
.rev-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.4rem;
}
.rev-author { color: var(--ink); }
.rev-dot { opacity: 0.4; }
.rev-verified { color: var(--gold-dark); font-weight: 500; }
.rev-photo { margin: 0.75rem 0; }
.rev-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.rev-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  font-weight: 300;
}

/* Homepage testimonial rail */
.home-testimonials {
  background: var(--paper);
  padding: 6rem var(--gutter, 2rem);
  border-top: 1px solid var(--rule-fine);
  border-bottom: 1px solid var(--rule-fine);
}
.ht-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.ht-head .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.ht-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.ht-rail {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ht-card {
  margin: 0;
  padding: 2rem 1.5rem;
  background: var(--paper-deep);
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ht-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.ht-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.3;
}
.ht-quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}
.ht-attrib {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule-fine);
}
.ht-author { color: var(--ink); }
.ht-dot { opacity: 0.4; }

/* Mobile */
body.is-mobile .reviews-section { padding: 2.5rem 1.25rem 0; margin-top: 3rem; }
body.is-mobile .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
body.is-mobile .rev-card { padding: 1.25rem; }
body.is-mobile .home-testimonials { padding: 3.5rem 1.25rem; }
body.is-mobile .ht-rail {
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .home-testimonials { padding: 3.5rem 1.25rem; }
  .ht-rail { grid-template-columns: 1fr; gap: 1rem; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .ht-rail { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Image lightbox (click product / lifestyle image to enlarge) ---------- */
.site-lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(20, 17, 13, 0.93); cursor: zoom-out;
}
.site-lightbox.open { display: flex; }
.site-lightbox img {
  max-width: 90vw; max-height: 88vh; object-fit: contain;
  cursor: default; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.slb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(250, 246, 238, 0.88); color: var(--ink, #2a1f1a);
  font-size: 24px; line-height: 1; padding-bottom: 3px;
  display: flex; align-items: center; justify-content: center;
}
.slb-nav:hover, .slb-close:hover { background: rgba(250, 246, 238, 1); }
.slb-prev { left: 18px; }
.slb-next { right: 18px; }
.slb-close {
  position: absolute; top: 18px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(250, 246, 238, 0.88); font-size: 20px; line-height: 1;
}
.slb-caption {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #FAF6EE; font-size: 12px; letter-spacing: 0.12em;
}
@media (max-width: 900px) {
  .slb-nav { width: 40px; height: 40px; font-size: 20px; }
}
.product-gallery { cursor: zoom-in; }
.life-strip img { cursor: zoom-in; }
