/*
Theme Name:  Maison Layli
Theme URI:   https://maisonlayli.com
Description: Custom theme for Maison Layli — converted from the original static site.
             WooCommerce-ready; design preserved 1:1 from the hand-built HTML/CSS.
Author:      Maison Layli
Version:     1.0.0
Requires PHP: 8.0
Text Domain: maison-layli
Tags:        e-commerce, woocommerce, custom
*/

/* ============================================================
   BASE — shared stylesheet (nav, footer, buttons, page-header,
   product cards, breadcrumb). Loaded on every page.
   ============================================================ */
/* ══════════════════════════════════════════════
   Maison Layli — Shared design system
   Used by every interior page (boutique, produit,
   notre-histoire, livraison-retours, suivre-commande,
   contact). index.html keeps its own inline copy.
   ══════════════════════════════════════════════ */

:root {
  --blush:  #EFE4D6;
  --rose:   #A78B72;
  --mauve:  #1C1A16;
  --deep:   #14120E;
  --cream:  #F7F1E8;
  --muted:  #9C8E7D;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --script: 'Great Vibes', cursive;
  --topbar-h: 34px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--deep); overflow-x: hidden; }
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.botanical { position: absolute; pointer-events: none; z-index: 0; opacity: 0.14; }
.botanical.corner-tl { top: -6%; left: -4%; width: 22vw; max-width: 300px; min-width: 160px; transform: rotate(-6deg); color: var(--rose); }
.botanical.corner-br { bottom: -8%; right: -4%; width: 22vw; max-width: 300px; min-width: 160px; transform: scale(-1,-1) rotate(-6deg); color: var(--rose); }
.botanical.corner-tr { top: -6%; right: -3%; width: 16vw; max-width: 220px; min-width: 130px; transform: scaleX(-1) rotate(-6deg); }
.botanical.corner-bl { bottom: -6%; left: -3%; width: 16vw; max-width: 220px; min-width: 130px; transform: scaleY(-1) rotate(-6deg); }

.label-rule { width: min(340px,60%); height: 1px; background: rgba(28,26,22,0.28); margin: 0.2rem auto; }
.label-rule.on-dark { background: rgba(247,241,232,0.25); }

/* ── Nav ── */
nav {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem;
  background: #ffffff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,26,22,0.12);
}
.nav-logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-logo span { color: inherit; font-weight: 500; }
.nav-logo-img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.4rem; align-items: center; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-item { position: relative; }
.nav-item > a::after {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg); margin-left: 6px; position: relative; top: -2px;
  opacity: 0.6; transition: transform .2s;
}
.nav-item.no-caret > a::after { display: none; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--cream); border: 1px solid rgba(28,26,22,0.1);
  box-shadow: 0 18px 40px rgba(20,18,14,0.12);
  min-width: 210px; padding: 0.9rem 0; opacity: 0; pointer-events: none;
  margin-top: 1.1rem;
  transition: opacity .2s ease, transform .2s ease; z-index: 210;
}
.nav-dropdown::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1.1rem; height: 1.1rem;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.nav-item:hover > a::after { transform: rotate(225deg); }
.nav-dropdown li a {
  display: block; padding: 0.55rem 1.4rem; font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: none; opacity: 0.75; white-space: nowrap;
  transition: opacity .2s, background .2s, padding-left .2s;
}
.nav-dropdown li a:hover { opacity: 1; background: rgba(167,139,114,0.1); padding-left: 1.7rem; }
.nav-cta {
  background: var(--mauve); color: var(--cream) !important; opacity: 1 !important;
  padding: 0.6rem 1.5rem; border-radius: 0; font-size: 0.72rem !important; letter-spacing: 0.14em; transition: background .2s !important;
}
.nav-cta:hover { background: var(--deep) !important; }

.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  padding: 0.4rem; display: flex; align-items: center; color: var(--deep);
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: -2px; right: -4px;
  background: var(--mauve); color: var(--cream);
  font-size: 0.6rem; font-weight: 600; min-width: 16px; height: 16px;
  border-radius: 100px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; opacity: 0; transform: scale(0.6); transition: opacity .2s, transform .2s;
}
.cart-badge.show { opacity: 1; transform: scale(1); }

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 8px 7px;
  background: none; border: none; cursor: pointer;
}
.menu-btn span {
  display: block; width: 100%; height: 1.8px; background: var(--deep);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #ffffff; border-bottom: 1px solid rgba(28,26,22,0.12);
  box-shadow: 0 18px 40px rgba(20,18,14,0.12);
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open { max-height: calc(100vh - var(--topbar-h) - 90px); overflow-y: auto; }
.mobile-menu-list { padding: 0.6rem 0 1.2rem; }
.mm-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; cursor: pointer;
  padding: 0.9rem 1.8rem; font-family: var(--sans);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--deep); border-bottom: 1px solid rgba(28,26,22,0.06);
}
.mm-toggle::after {
  content: ''; width: 6px; height: 6px;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg); opacity: 0.6; transition: transform .2s;
}
.mm-item.open .mm-toggle::after { transform: rotate(225deg); }
.mm-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: rgba(239,228,214,0.4); }
.mm-item.open .mm-sub { max-height: 400px; }
.mm-sub li a {
  display: block; padding: 0.7rem 2.4rem; font-size: 0.78rem; font-weight: 400;
  color: var(--deep); opacity: 0.75; border-bottom: 1px solid rgba(28,26,22,0.04);
}
.mm-link {
  display: block; padding: 0.9rem 1.8rem; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep);
  border-bottom: 1px solid rgba(28,26,22,0.06);
}
.mm-cta {
  display: block; margin: 1rem 1.8rem 0; padding: 0.8rem 1.5rem;
  background: var(--mauve); color: var(--cream); text-align: center;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ── Cart Sidebar ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(44,31,38,0.35);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
  background: var(--cream); z-index: 400;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(44,31,38,0.12);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.6rem 1.2rem;
  border-bottom: 1px solid rgba(232,164,160,0.25);
}
.cart-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.cart-title span { color: var(--mauve); font-weight: 300; }
.cart-close {
  background: none; border: none; cursor: pointer; font-size: 1.4rem;
  color: var(--deep); opacity: 0.5; transition: opacity .2s; line-height: 1;
}
.cart-close:hover { opacity: 1; }

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 1rem; opacity: 0.45;
}
.cart-empty svg { width: 48px; height: 48px; }
.cart-empty p { font-family: var(--serif); font-size: 1rem; font-weight: 300; }

.cart-item {
  display: flex; gap: 0.9rem; align-items: center;
  padding: 0.8rem; background: var(--blush); border-radius: 0.8rem;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.cart-item-img {
  width: 60px; height: 60px; border-radius: 0.5rem; overflow: hidden; flex-shrink: 0; background: var(--cream);
}
.cart-item-img svg { width: 100%; height: 100%; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--serif); font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.82rem; color: var(--mauve); font-weight: 500; margin-top: 0.2rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.qty-btn {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--muted);
  background: none; cursor: pointer; font-size: 0.9rem; color: var(--deep);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s;
}
.qty-btn:hover { border-color: var(--mauve); color: var(--mauve); }
.qty-val { font-size: 0.85rem; font-weight: 500; min-width: 18px; text-align: center; }
.cart-item-remove { background: none; border: none; cursor: pointer; font-size: 0.75rem; color: var(--muted); margin-left: auto; transition: color .2s; }
.cart-item-remove:hover { color: #C0404A; }

.cart-footer { padding: 1.2rem 1.6rem 1.6rem; border-top: 1px solid rgba(232,164,160,0.25); display: flex; flex-direction: column; gap: 0.9rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; }
.cart-total-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.cart-total-amount { font-size: 1.35rem; font-weight: 600; color: var(--mauve); }

.btn-checkout {
  background: var(--mauve); color: var(--cream); border: none; border-radius: 0;
  padding: 0.95rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .15s; width: 100%;
}
.btn-checkout:hover { background: var(--deep); transform: translateY(-1px); }

/* ── Checkout modal (popup) ── */
.checkout-modal-overlay {
  position: fixed; inset: 0; background: rgba(44,31,38,0.45);
  z-index: 500; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.checkout-modal-overlay.open { opacity: 1; pointer-events: all; }

.checkout-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.96);
  width: 92vw; max-width: 460px; max-height: 88vh; overflow-y: auto;
  background: var(--cream); border-radius: 1rem; z-index: 501;
  box-shadow: 0 30px 80px rgba(20,18,14,0.25);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.checkout-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }

.checkout-modal-head { padding: 1.7rem 1.8rem 0.6rem; }
.checkout-modal-head h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.checkout-modal-head h3 em { font-style: normal; color: var(--mauve); font-weight: 300; }

.checkout-modal-close {
  position: absolute; top: 1rem; right: 1.1rem; background: none; border: none;
  cursor: pointer; font-size: 1.3rem; color: var(--deep); opacity: 0.5; transition: opacity .2s; z-index: 2; line-height: 1;
}
.checkout-modal-close:hover { opacity: 1; }

.cod-fields { display: flex; flex-direction: column; gap: 0.7rem; padding: 0 1.6rem 1rem; }
.cod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cod-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cod-field label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; }
.cod-field input, .cod-field textarea, .cod-field select {
  padding: 0.65rem 0.9rem; border: 1.5px solid rgba(139,79,111,0.2); border-radius: 0.6rem;
  font-family: var(--sans); font-size: 0.85rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color .2s;
  resize: none;
}
.cod-field input:focus, .cod-field textarea:focus, .cod-field select:focus { border-color: var(--mauve); }
.cod-field input::placeholder, .cod-field textarea::placeholder { color: var(--muted); }

.cod-shipping-note {
  margin: 0 1.6rem; padding: 0.7rem 0.9rem; background: rgba(139,79,111,0.08);
  border-radius: 0.6rem; font-size: 0.78rem; color: var(--mauve); line-height: 1.5;
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.btn-confirm {
  margin: 0.8rem 1.6rem 1.4rem; background: var(--mauve); color: var(--cream);
  border: none; border-radius: 100px; padding: 0.95rem; font-family: var(--sans);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.06em; cursor: pointer;
  transition: background .2s; width: calc(100% - 3.2rem);
}
.btn-confirm:hover { background: var(--deep); }

.cod-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 2rem 1.6rem; text-align: center;
}
.cod-success.show { display: flex; }
.cod-success-icon { font-size: 2.5rem; }
.cod-success h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--mauve); }
.cod-success p { font-size: 0.85rem; opacity: 0.6; line-height: 1.6; max-width: 28ch; }

/* ── Marquee ── */
.marquee-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 210;
  background: var(--cream); overflow: hidden; border-bottom: 1px solid rgba(28,26,22,0.08);
  height: var(--topbar-h); display: flex; align-items: center;
}
.marquee-track {
  display: flex; gap: 3rem; align-items: center;
  animation: marquee 16s linear infinite; white-space: nowrap;
}
.marquee-track span { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; color: var(--deep); letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; }
.marquee-track span.dot { font-style: normal; color: var(--rose); opacity: 0.6; font-size: 0.5rem; align-self: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section labels / buttons ── */
.section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve);
  margin-bottom: 0.8rem; position: relative; display: inline-block; padding-bottom: 0.85rem;
}
.section-label::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 34px; height: 1px; background: currentColor; opacity: 0.45;
}
.centered-header { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-title { font-family: var(--serif); font-size: clamp(1.7rem,2.8vw,2.6rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
.section-title em { font-style: normal; color: var(--mauve); font-weight: 600; }

.btn-primary {
  background: var(--mauve); color: var(--cream); padding: 0.95rem 2.6rem;
  border-radius: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .2s, transform .15s; display: inline-block; border: none; cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--deep); padding: 0.9rem 2.4rem;
  border: 1px solid rgba(28,26,22,0.35); border-radius: 0;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s; display: inline-block;
  font-family: var(--sans); cursor: pointer;
}
.btn-outline:hover { background: var(--deep); color: var(--cream); border-color: var(--deep); }
.btn-ghost {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--mauve); transition: color .2s;
}
.btn-ghost:hover { color: var(--deep); }
.btn-ghost::after { content: '→'; font-size: 1rem; }

/* ── Product cards (catalog grid + related products) ── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.product-card { background: var(--cream); border: 1px solid rgba(28,26,22,0.08); border-radius: 0.3rem; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: 0 16px 48px rgba(44,31,38,0.1); transform: translateY(-3px); }
.product-img-wrap { aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--blush); display: block; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 1rem; left: 1rem; background: var(--mauve); color: var(--cream);
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 0;
}
.product-body { padding: 1.3rem 1.4rem 1.5rem; }
.product-name { font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; }
.product-price { font-size: 1.1rem; font-weight: 600; color: var(--mauve); }

/* Add to cart button (used on product cards) */
.product-add {
  display: flex; align-items: center; gap: 0.45rem;
  background: var(--mauve); color: var(--cream); border: none; border-radius: 100px;
  padding: 0.5rem 1rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.05em; cursor: pointer; transition: background .2s, transform .15s;
  white-space: nowrap;
}
.product-add:hover { background: var(--deep); transform: translateY(-1px); }
.product-add svg { width: 13px; height: 13px; }
.product-add.added { background: #5a8a5a; }

/* ── Page header banner (interior pages) ── */
.page-header {
  position: relative; padding: calc(8rem + var(--topbar-h)) 3rem 3.5rem;
  background: var(--blush); text-align: center; overflow: hidden;
}
.page-header .section-label { color: var(--rose); }
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2rem,4.2vw,3.2rem); font-weight: 400;
  letter-spacing: -0.01em; color: var(--deep);
}
.page-header h1 em { font-style: normal; color: var(--rose); font-weight: 600; }
.breadcrumb { font-size: 0.75rem; letter-spacing: 0.05em; color: var(--muted); margin-top: 0.9rem; }
.breadcrumb a { opacity: 0.7; transition: opacity .2s; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }

/* Shop + product-category archives only ("category pages") — banner 30% taller
   than the shared .page-header default. Scoped via body class so Contact,
   Notre histoire, etc. (which reuse .page-header too) are untouched. */
body.woocommerce-shop .page-header,
body.tax-product_cat .page-header {
  padding: calc(10.4rem + var(--topbar-h)) 3rem 4.55rem;
}
@media (max-width: 1200px) {
  body.woocommerce-shop .page-header,
  body.tax-product_cat .page-header { padding: calc(9.1rem + var(--topbar-h)) 2.5rem 3.9rem; }
}
@media (max-width: 900px) {
  body.woocommerce-shop .page-header,
  body.tax-product_cat .page-header { padding: calc(8.45rem + var(--topbar-h)) 1.6rem 3.38rem; }
}
@media (max-width: 600px) {
  body.woocommerce-shop .page-header,
  body.tax-product_cat .page-header { padding: calc(7.8rem + var(--topbar-h)) 1.2rem 2.86rem; }
}

/* ── Journal fallback (index.php) — no active blog content, kept minimal ── */
.journal-entry-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep); margin-bottom: 0.4rem; }

/* ── Generic content / prose pages ── */
.content-page { max-width: 860px; margin: 0 auto; padding: 4.5rem 2rem 6rem; }
.content-page h2 {
  font-family: var(--serif); font-size: clamp(1.4rem,2.4vw,1.9rem); font-weight: 600;
  color: var(--deep); margin: 2.4rem 0 0.9rem;
}
.content-page h2:first-child { margin-top: 0; }
.content-page p { font-size: 0.95rem; line-height: 1.85; color: var(--deep); opacity: 0.72; margin-bottom: 1rem; }
.content-page ul.plain-list { margin: 0 0 1.2rem 0; }
.content-page ul.plain-list li {
  font-size: 0.95rem; line-height: 1.8; opacity: 0.72; padding-left: 1.3rem; position: relative; margin-bottom: 0.4rem;
}
.content-page ul.plain-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--rose);
}
.content-page strong { font-weight: 600; color: var(--deep); opacity: 1; }
.content-page .lede { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.7; opacity: 0.85; margin-bottom: 1.6rem; }

/* Value / feature cards reused on About page */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin: 1.5rem 0 2.5rem; }
.value-card { background: var(--blush); border-radius: 0.8rem; padding: 1.8rem 1.5rem; text-align: center; }
.value-card svg { width: 32px; height: 32px; color: var(--rose); margin: 0 auto 1rem; }
.value-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; opacity: 0.62; line-height: 1.6; margin: 0; }

/* Simple forms (contact / track order) */
.form-card { background: var(--blush); border-radius: 1rem; padding: 2.2rem 2rem; max-width: 560px; margin: 0 auto; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-field label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.form-field input, .form-field textarea, .form-field select {
  padding: 0.85rem 1rem; border: 1.5px solid rgba(28,26,22,0.15); border-radius: 0.5rem;
  font-family: var(--sans); font-size: 0.9rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--mauve); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--mauve); color: var(--cream); border: none; border-radius: 0.5rem;
  padding: 0.95rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--deep); }
.form-note { font-size: 0.78rem; opacity: 0.55; margin-top: 1rem; line-height: 1.6; text-align: center; }
.form-status { font-size: 0.85rem; padding: 0.8rem 1rem; border-radius: 0.5rem; margin-bottom: 1.1rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(90,138,90,0.12); color: #3f6b3f; }
.form-status.err { background: rgba(192,64,74,0.1); color: #C0404A; }

.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 560px; margin: 0 auto 2.5rem; }
.contact-info-item { background: var(--cream); border: 1px solid rgba(28,26,22,0.1); border-radius: 0.8rem; padding: 1.4rem; text-align: center; }
.contact-info-item svg { width: 26px; height: 26px; color: var(--rose); margin: 0 auto 0.7rem; }
.contact-info-item .label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; margin-bottom: 0.3rem; }
.contact-info-item .value { font-family: var(--serif); font-size: 1rem; font-weight: 600; }

/* ── Footer ── */
footer { background: #ffffff; padding: 4rem 5rem 2.5rem; position: relative; overflow: hidden; }
footer .footer-top, footer .footer-bottom { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(28,26,22,0.12); }
.footer-brand .footer-logo-img { height: 46px; width: auto; display: block; margin-bottom: 0.9rem; }
.footer-brand .sprig { margin-bottom: 0.9rem; }
.footer-brand .nav-logo { font-size: 1.5rem; color: var(--deep); }
.footer-brand .nav-logo span { color: var(--rose); }
.footer-tagline { font-size: 0.85rem; color: var(--deep); opacity: 0.55; line-height: 1.7; margin-top: 0.9rem; max-width: 32ch; }
.footer-col h5 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.85rem; color: var(--deep); opacity: 0.6; transition: opacity .2s; }
.footer-col ul a:hover { opacity: 1; }
.social-link { display: inline-flex; align-items: center; gap: 0.65rem; }
.social-link svg { width: 32px; height: 32px; flex: 0 0 auto; padding: 7px; border-radius: 50%; fill: var(--cream); background: var(--deep); transition: background .2s, fill .2s, transform .2s; }
.social-link:hover svg { background: var(--rose); fill: var(--cream); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; }
.footer-copy { font-size: 0.75rem; color: var(--deep); opacity: 0.4; }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep); opacity: 0.5; transition: opacity .2s; }
.footer-socials a:hover { opacity: 1; }

/* Brand script signature + botanical sprig (footer) */
.brand-script { font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--rose); }
.sprig { display: block; width: 116px; height: auto; color: var(--rose); opacity: 0.85; }

/* ── Newsletter ── */
.newsletter { padding: 5rem; background: var(--blush); display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 1.6rem; }
.newsletter .section-title { font-size: clamp(1.8rem,3vw,2.8rem); }
.newsletter-sub { font-size: 0.92rem; opacity: 0.6; max-width: 42ch; line-height: 1.7; }
.newsletter-form { display: flex; gap: 0.6rem; margin-top: 0.5rem; width: 100%; max-width: 460px; }
.newsletter-form input { flex: 1; padding: 0.9rem 1.4rem; border: 1.5px solid rgba(28,26,22,0.22); border-radius: 0; font-family: var(--sans); font-size: 0.88rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color .2s; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { border-color: var(--mauve); }
.newsletter-form button { background: var(--mauve); color: var(--cream); border: none; border-radius: 0; padding: 0.9rem 1.9rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--deep); }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .page-header { padding: calc(7rem + var(--topbar-h)) 2.5rem 3rem; }
}
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.8rem; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .page-header { padding: calc(6.5rem + var(--topbar-h)) 1.6rem 2.6rem; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .newsletter { padding: 4rem 2rem; }
  .newsletter-form { flex-direction: column; max-width: 340px; }
  footer { padding: 3rem 2rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  nav { padding: 0.8rem 1.2rem; }
  .nav-logo-img { height: 35px; }
  .nav-cta { padding: 0.5rem 1.1rem; font-size: 0.7rem !important; }
  .cart-sidebar { width: 100%; max-width: 100%; }
  .cart-header { padding: 1.2rem 1.2rem 1rem; }
  .cart-items, .cod-fields { padding-left: 1.2rem; padding-right: 1.2rem; }
  .cod-shipping-note { margin-left: 1.2rem; margin-right: 1.2rem; }
  .btn-confirm { margin-left: 1.2rem; margin-right: 1.2rem; width: calc(100% - 2.4rem); }
  .cod-row { grid-template-columns: 1fr; }
  .marquee-track { gap: 1.5rem; }
  .page-header { padding: calc(6rem + var(--topbar-h)) 1.2rem 2.2rem; }
  .content-page { padding: 3rem 1.2rem 4rem; }
  .value-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem 1.3rem; }
  .newsletter { padding: 3.5rem 1.2rem; }
  .newsletter-form { max-width: 100%; }
  footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 2rem; }
  .footer-logo-img { height: 38px; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; padding-top: 1.5rem; }
}


/* ============================================================
   HOMEPAGE — hero, features, categories, bestsellers, ritual,
   testimonials, newsletter. (from index.html inline <style>)
   Palette + nav + footer rules here are identical to BASE.
   ============================================================ */

    :root {
      --blush:  #EFE4D6;   /* deeper beige — cards & alt sections */
      --rose:   #A78B72;   /* muted taupe — botanical accent */
      --mauve:  #1C1A16;   /* ink — primary accent, buttons, prices */
      --deep:   #14120E;   /* near-black — footer, hovers */
      --cream:  #F7F1E8;   /* warm paper — page & text on dark */
      --muted:  #9C8E7D;   /* muted taupe-grey — meta text, borders */
      --serif:  'Cormorant Garamond', Georgia, serif;
      --sans:   'DM Sans', system-ui, sans-serif;
      --script: 'Great Vibes', cursive;
      --topbar-h: 34px;    /* height of the fixed announcement bar above the header */
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: var(--sans); background: var(--cream); color: var(--deep); overflow-x: hidden; }
    img { display: block; width: 100%; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ── Botanical corner accents (matches label line-art) ── */
    .botanical { position: absolute; pointer-events: none; z-index: 0; opacity: 0.14; }
    .botanical.corner-tl { top: -6%; left: -4%; width: 22vw; max-width: 300px; min-width: 160px; transform: rotate(-6deg); color: var(--rose); }
    .botanical.corner-br { bottom: -8%; right: -4%; width: 22vw; max-width: 300px; min-width: 160px; transform: scale(-1,-1) rotate(-6deg); color: var(--rose); }
    .botanical.corner-tr { top: -6%; right: -3%; width: 16vw; max-width: 220px; min-width: 130px; transform: scaleX(-1) rotate(-6deg); }
    .botanical.corner-bl { bottom: -6%; left: -3%; width: 16vw; max-width: 220px; min-width: 130px; transform: scaleY(-1) rotate(-6deg); }

    /* ── Thin label-style divider rule ── */
    .label-rule { width: min(340px,60%); height: 1px; background: rgba(28,26,22,0.28); margin: 0.2rem auto; }
    .label-rule.on-dark { background: rgba(247,241,232,0.25); }

    /* Thin rule under every section kicker, echoing the divider lines on the label */
    .section-label { position: relative; }

    /* ── Nav ── */
    nav {
      position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.4rem 3rem;
      background: #ffffff;
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(28,26,22,0.12);
    }
    .nav-logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
    .nav-logo span { color: inherit; font-weight: 500; }
    .nav-logo-img { height: 46px; width: auto; display: block; }
    .nav-links { display: flex; gap: 2.4rem; align-items: center; }
    .nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; transition: opacity .2s; }
    .nav-links a:hover { opacity: 1; }
    .nav-right { display: flex; align-items: center; gap: 1rem; }

    /* Dropdown / mega menu for nav categories */
    .nav-item { position: relative; }
    .nav-item > a::after {
      content: ''; display: inline-block; width: 5px; height: 5px;
      border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
      transform: rotate(45deg); margin-left: 6px; position: relative; top: -2px;
      opacity: 0.6; transition: transform .2s;
    }
    .nav-item.no-caret > a::after { display: none; }
    .nav-dropdown {
      position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
      background: var(--cream); border: 1px solid rgba(28,26,22,0.1);
      box-shadow: 0 18px 40px rgba(20,18,14,0.12);
      min-width: 210px; padding: 0.9rem 0; opacity: 0; pointer-events: none;
      margin-top: 1.1rem;
      transition: opacity .2s ease, transform .2s ease; z-index: 210;
    }
    /* Invisible bridge so the pointer can travel from link to dropdown without losing hover */
    .nav-dropdown::before {
      content: ''; position: absolute; left: 0; right: 0; top: -1.1rem; height: 1.1rem;
    }
    .nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
      opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
    }
    .nav-item:hover > a::after { transform: rotate(225deg); }
    .nav-dropdown li a {
      display: block; padding: 0.55rem 1.4rem; font-size: 0.76rem; font-weight: 500;
      letter-spacing: 0.06em; text-transform: none; opacity: 0.75; white-space: nowrap;
      transition: opacity .2s, background .2s, padding-left .2s;
    }
    .nav-dropdown li a:hover { opacity: 1; background: rgba(167,139,114,0.1); padding-left: 1.7rem; }
    .nav-cta {
      background: var(--mauve); color: var(--cream) !important; opacity: 1 !important;
      padding: 0.6rem 1.5rem; border-radius: 0; font-size: 0.72rem !important; letter-spacing: 0.14em; transition: background .2s !important;
    }
    .nav-cta:hover { background: var(--deep) !important; }

    /* Cart icon button */
    .cart-btn {
      position: relative; background: none; border: none; cursor: pointer;
      padding: 0.4rem; display: flex; align-items: center; color: var(--deep);
    }
    .cart-btn svg { width: 22px; height: 22px; }
    .cart-badge {
      position: absolute; top: -2px; right: -4px;
      background: var(--mauve); color: var(--cream);
      font-size: 0.6rem; font-weight: 600; min-width: 16px; height: 16px;
      border-radius: 100px; display: flex; align-items: center; justify-content: center;
      padding: 0 3px; opacity: 0; transform: scale(0.6); transition: opacity .2s, transform .2s;
    }
    .cart-badge.show { opacity: 1; transform: scale(1); }

    /* ── Hamburger button (mobile only) ── */
    .menu-btn {
      display: none; flex-direction: column; justify-content: center; gap: 5px;
      width: 38px; height: 38px; padding: 8px 7px;
      background: none; border: none; cursor: pointer;
    }
    .menu-btn span {
      display: block; width: 100%; height: 1.8px; background: var(--deep);
      border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
    }
    .menu-btn.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
    .menu-btn.open span:nth-child(2) { opacity: 0; }
    .menu-btn.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

    /* ── Mobile menu panel (slides down under the nav) ── */
    .mobile-menu {
      position: absolute; top: 100%; left: 0; right: 0;
      background: #ffffff; border-bottom: 1px solid rgba(28,26,22,0.12);
      box-shadow: 0 18px 40px rgba(20,18,14,0.12);
      max-height: 0; overflow: hidden;
      transition: max-height .35s ease;
    }
    .mobile-menu.open { max-height: calc(100vh - var(--topbar-h) - 90px); overflow-y: auto; }
    .mobile-menu-list { padding: 0.6rem 0 1.2rem; }
    .mm-toggle {
      display: flex; align-items: center; justify-content: space-between; width: 100%;
      background: none; border: none; cursor: pointer;
      padding: 0.9rem 1.8rem; font-family: var(--sans);
      font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--deep); border-bottom: 1px solid rgba(28,26,22,0.06);
    }
    .mm-toggle::after {
      content: ''; width: 6px; height: 6px;
      border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
      transform: rotate(45deg); opacity: 0.6; transition: transform .2s;
    }
    .mm-item.open .mm-toggle::after { transform: rotate(225deg); }
    .mm-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: rgba(239,228,214,0.4); }
    .mm-item.open .mm-sub { max-height: 400px; }
    .mm-sub li a {
      display: block; padding: 0.7rem 2.4rem; font-size: 0.78rem; font-weight: 400;
      color: var(--deep); opacity: 0.75; border-bottom: 1px solid rgba(28,26,22,0.04);
    }
    .mm-link {
      display: block; padding: 0.9rem 1.8rem; font-size: 0.8rem; font-weight: 500;
      letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep);
      border-bottom: 1px solid rgba(28,26,22,0.06);
    }
    .mm-cta {
      display: block; margin: 1rem 1.8rem 0; padding: 0.8rem 1.5rem;
      background: var(--mauve); color: var(--cream); text-align: center;
      font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    }
    @media (min-width: 901px) { .mobile-menu { display: none; } }

    /* ── Cart Sidebar ── */
    .cart-overlay {
      position: fixed; inset: 0; background: rgba(44,31,38,0.35);
      z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s;
    }
    .cart-overlay.open { opacity: 1; pointer-events: all; }

    .cart-sidebar {
      position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
      background: var(--cream); z-index: 400;
      transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
      display: flex; flex-direction: column;
      box-shadow: -8px 0 40px rgba(44,31,38,0.12);
    }
    .cart-sidebar.open { transform: translateX(0); }

    .cart-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.5rem 1.6rem 1.2rem;
      border-bottom: 1px solid rgba(232,164,160,0.25);
    }
    .cart-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
    .cart-title span { color: var(--mauve); font-weight: 300; }
    .cart-close {
      background: none; border: none; cursor: pointer; font-size: 1.4rem;
      color: var(--deep); opacity: 0.5; transition: opacity .2s; line-height: 1;
    }
    .cart-close:hover { opacity: 1; }

    .cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }

    .cart-empty {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      height: 100%; gap: 1rem; opacity: 0.45;
    }
    .cart-empty svg { width: 48px; height: 48px; }
    .cart-empty p { font-family: var(--serif); font-size: 1rem; font-weight: 300; }

    .cart-item {
      display: flex; gap: 0.9rem; align-items: center;
      padding: 0.8rem; background: var(--blush); border-radius: 0.8rem;
      animation: slideIn .25s ease;
    }
    @keyframes slideIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

    .cart-item-img {
      width: 60px; height: 60px; border-radius: 0.5rem; overflow: hidden; flex-shrink: 0; background: var(--cream);
    }
    .cart-item-img svg { width: 100%; height: 100%; }
    .cart-item-info { flex: 1; min-width: 0; }
    .cart-item-name { font-family: var(--serif); font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cart-item-price { font-size: 0.82rem; color: var(--mauve); font-weight: 500; margin-top: 0.2rem; }
    .cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
    .qty-btn {
      width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--muted);
      background: none; cursor: pointer; font-size: 0.9rem; color: var(--deep);
      display: flex; align-items: center; justify-content: center; transition: border-color .2s;
    }
    .qty-btn:hover { border-color: var(--mauve); color: var(--mauve); }
    .qty-val { font-size: 0.85rem; font-weight: 500; min-width: 18px; text-align: center; }
    .cart-item-remove { background: none; border: none; cursor: pointer; font-size: 0.75rem; color: var(--muted); margin-left: auto; transition: color .2s; }
    .cart-item-remove:hover { color: #C0404A; }

    .cart-footer { padding: 1.2rem 1.6rem 1.6rem; border-top: 1px solid rgba(232,164,160,0.25); display: flex; flex-direction: column; gap: 0.9rem; }
    .cart-total { display: flex; justify-content: space-between; align-items: center; }
    .cart-total-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
    .cart-total-amount { font-size: 1.35rem; font-weight: 600; color: var(--mauve); }

    .btn-checkout {
      background: var(--mauve); color: var(--cream); border: none; border-radius: 0;
      padding: 0.95rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
      letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .15s; width: 100%;
    }
    .btn-checkout:hover { background: var(--deep); transform: translateY(-1px); }

    /* ── Checkout modal (popup) ── */
    .checkout-modal-overlay {
      position: fixed; inset: 0; background: rgba(44,31,38,0.45);
      z-index: 500; opacity: 0; pointer-events: none; transition: opacity .3s;
    }
    .checkout-modal-overlay.open { opacity: 1; pointer-events: all; }

    .checkout-modal {
      position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.96);
      width: 92vw; max-width: 460px; max-height: 88vh; overflow-y: auto;
      background: var(--cream); border-radius: 1rem; z-index: 501;
      box-shadow: 0 30px 80px rgba(20,18,14,0.25);
      opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
    }
    .checkout-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }

    .checkout-modal-head { padding: 1.7rem 1.8rem 0.6rem; }
    .checkout-modal-head h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
    .checkout-modal-head h3 em { font-style: normal; color: var(--mauve); font-weight: 300; }

    .checkout-modal-close {
      position: absolute; top: 1rem; right: 1.1rem; background: none; border: none;
      cursor: pointer; font-size: 1.3rem; color: var(--deep); opacity: 0.5; transition: opacity .2s; z-index: 2; line-height: 1;
    }
    .checkout-modal-close:hover { opacity: 1; }

    .cod-fields { display: flex; flex-direction: column; gap: 0.7rem; padding: 0 1.6rem 1rem; }
    .cod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .cod-field { display: flex; flex-direction: column; gap: 0.3rem; }
    .cod-field label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; }
    .cod-field input, .cod-field textarea, .cod-field select {
      padding: 0.65rem 0.9rem; border: 1.5px solid rgba(139,79,111,0.2); border-radius: 0.6rem;
      font-family: var(--sans); font-size: 0.85rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color .2s;
      resize: none;
    }
    .cod-field input:focus, .cod-field textarea:focus, .cod-field select:focus { border-color: var(--mauve); }
    .cod-field input::placeholder, .cod-field textarea::placeholder { color: var(--muted); }

    .cod-shipping-note {
      margin: 0 1.6rem; padding: 0.7rem 0.9rem; background: rgba(139,79,111,0.08);
      border-radius: 0.6rem; font-size: 0.78rem; color: var(--mauve); line-height: 1.5;
      display: flex; gap: 0.5rem; align-items: flex-start;
    }
    .btn-confirm {
      margin: 0.8rem 1.6rem 1.4rem; background: var(--mauve); color: var(--cream);
      border: none; border-radius: 100px; padding: 0.95rem; font-family: var(--sans);
      font-size: 0.88rem; font-weight: 500; letter-spacing: 0.06em; cursor: pointer;
      transition: background .2s; width: calc(100% - 3.2rem);
    }
    .btn-confirm:hover { background: var(--deep); }

    /* Success */
    .cod-success {
      display: none; flex-direction: column; align-items: center; justify-content: center;
      gap: 0.8rem; padding: 2rem 1.6rem; text-align: center;
    }
    .cod-success.show { display: flex; }
    .cod-success-icon { font-size: 2.5rem; }
    .cod-success h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--mauve); }
    .cod-success p { font-size: 0.85rem; opacity: 0.6; line-height: 1.6; max-width: 28ch; }

    /* ── Hero (two-column: text + image) ── */
    .hero {
      position: relative;
      width: 100%;
      min-height: 88vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--cream);
      padding: calc(6.5rem + var(--topbar-h)) 0 4rem;
    }
    .hero-image { position: absolute; inset: 0; z-index: 0; }
    .hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .hero-image::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(90deg, rgba(247,241,232,0.94) 0%, rgba(247,241,232,0.8) 32%, rgba(247,241,232,0.25) 62%, rgba(247,241,232,0.05) 100%);
    }

    /* Hero slideshow — only renders when 2+ photos are set in the Customizer. */
    .hero-slideshow .hero-slides-track {
      display: flex; width: 100%; height: 100%;
      transition: transform 0.7s cubic-bezier(0.65,0,0.35,1);
    }
    .hero-slideshow .hero-slide { flex: 0 0 100%; width: 100%; height: 100%; }
    .hero-slideshow .hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* Prev/next swipe buttons */
    .hero-arrow {
      position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
      width: 2.6rem; height: 2.6rem; border-radius: 50%; border: none; padding: 0;
      background: rgba(255,255,255,0.78); color: var(--deep);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.25s, transform 0.25s;
      box-shadow: 0 2px 10px rgba(0,0,0,0.16);
    }
    .hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
    .hero-arrow svg { width: 19px; height: 19px; }
    .hero-arrow-prev { left: 1.6rem; }
    .hero-arrow-next { right: 1.6rem; }

    /* Small timeline at the bottom, centered — inactive slides are little dots;
       the active one stretches into a 3cm line (also click-to-jump nav). */
    .hero-timeline {
      position: absolute; z-index: 3; left: 50%; bottom: 1.6rem;
      transform: translateX(-50%);
      display: flex; align-items: center; gap: 0.45rem;
      filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
    }
    .hero-timeline-seg {
      flex: none; width: 7px; height: 7px; border-radius: 50%; padding: 0; border: none;
      background: rgba(255,255,255,0.6); cursor: pointer; overflow: hidden;
      transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, background 0.35s ease;
    }
    .hero-timeline-seg.is-active {
      width: 3cm; height: 5px; border-radius: 3px;
      background: rgba(0,0,0,0.25);
    }
    .hero-timeline-fill {
      display: block; height: 100%; width: 0%; border-radius: inherit; background: #fff;
    }
    .hero-timeline-fill.is-animating { animation: mlHeroTimelineFill 5000ms linear forwards; }
    @keyframes mlHeroTimelineFill { from { width: 0%; } to { width: 100%; } }

    @media (prefers-reduced-motion: reduce) {
      .hero-slideshow .hero-slides-track { transition: none; }
      .hero-timeline-fill.is-animating { animation: none; }
    }
    .hero-text {
      position: relative; z-index: 2;
      display: flex; flex-direction: column; align-items: flex-start;
      text-align: left;
      gap: 0.9rem;
      width: 100%;
      max-width: 1000px;
      padding: 0 3.5rem 0 5rem;
      justify-content: center;
      /* This box spans the full hero width (its own z-index only wins locally —
         nested stacking contexts don't compete across siblings), so its empty
         padding area would otherwise sit "above" the slideshow arrows/timeline
         and silently eat their clicks. Let clicks pass through except on the
         actual interactive content. */
      pointer-events: none;
    }
    .hero-text a { pointer-events: auto; }
    .brand-mark {
      font-family: var(--serif); font-weight: 600;
      font-size: clamp(2.1rem,5.2vw,3.6rem);
      letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--deep);
    }
    .brand-mark span { font-weight: 400; color: var(--deep); }
    .hero-text .brand-script { margin-top: -0.4rem; margin-bottom: 0.2rem; }
    .hero-eyebrow {
      font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em;
      text-transform: uppercase; color: var(--muted);
    }
    .hero-headline {
      font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.9rem);
      font-weight: 400; line-height: 1.18; letter-spacing: -0.01em;
      color: var(--deep); margin: 0.2rem 0;
    }
    .hero-headline em { font-style: normal; color: var(--rose); font-weight: 600; }
    .hero-sub {
      font-family: 'Quicksand', var(--sans);
      font-size: clamp(0.9rem,1.5vw,1rem); line-height: 1.8; font-weight: 500;
      color: var(--deep); opacity: 0.62; max-width: 46ch;
    }
    .hero-actions {
      display: flex; gap: 1rem; align-items: center;
      flex-wrap: wrap; justify-content: flex-start;
      margin-top: 0.6rem;
    }
    .hero .btn-ghost { color: var(--mauve); }
    .hero .btn-ghost:hover { color: var(--deep); }
    .hero-badge {
      position: relative; z-index: 2; margin-top: 1.6rem;
      display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
    }
    .hero-badge-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--rose); line-height: 1; }
    .hero-badge-label { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; }

    /* ── Features bar ── */
    .features-bar {
      background: #ffffff; border-bottom: 1px solid rgba(28,26,22,0.08);
      display: flex; justify-content: center; flex-wrap: wrap;
      gap: 3.5rem; padding: 2.4rem 2rem;
    }
    .feature-item { display: flex; align-items: center; gap: 0.9rem; }
    .feature-item svg { width: 30px; height: 30px; color: var(--deep); opacity: 0.8; flex-shrink: 0; }
    .feature-title { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--deep); }
    .feature-sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

    .btn-primary {
      background: var(--mauve); color: var(--cream); padding: 0.95rem 2.6rem;
      border-radius: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
      transition: background .2s, transform .15s; display: inline-block;
    }
    .btn-primary:hover { background: var(--deep); transform: translateY(-1px); }
    .btn-outline {
      background: transparent; color: var(--deep); padding: 0.9rem 2.4rem;
      border: 1px solid rgba(28,26,22,0.35); border-radius: 0;
      font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
      transition: background .2s, border-color .2s, color .2s; display: inline-block;
    }
    .btn-outline:hover { background: var(--deep); color: var(--cream); border-color: var(--deep); }
    .btn-ghost {
      font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
      display: inline-flex; align-items: center; gap: 0.4rem;
      color: rgba(253,250,248,0.75); transition: color .2s;
    }
    .btn-ghost:hover { color: var(--cream); }
    .btn-ghost::after { content: '→'; font-size: 1rem; }

    /* ── Bestsellers ── */
    .bestsellers { padding: 5rem 5rem 6rem; background: var(--cream); position: relative; }
    .bestsellers-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; margin-bottom: 3.2rem; }
    .bestsellers-divider { width: 34px; height: 1px; background: var(--muted); opacity: 0.5; margin-top: 0.4rem; }

    /* ── Marquee (announcement bar, fixed above header) ── */
    .marquee-strip {
      position: fixed; top: 0; left: 0; right: 0; z-index: 210;
      background: var(--cream); overflow: hidden; border-bottom: 1px solid rgba(28,26,22,0.08);
      height: var(--topbar-h); display: flex; align-items: center;
    }
    .marquee-track {
      display: flex; gap: 3rem; align-items: center;
      animation: marquee 16s linear infinite; white-space: nowrap;
    }
    .marquee-track span { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; color: var(--deep); letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; }
    .marquee-track span.dot { font-style: normal; color: var(--rose); opacity: 0.6; font-size: 0.5rem; align-self: center; }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ── Section labels ── */
    .section-label {
      font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve);
      margin-bottom: 0.8rem; position: relative; display: inline-block; padding-bottom: 0.85rem;
    }
    .section-label::after {
      content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
      width: 34px; height: 1px; background: currentColor; opacity: 0.45;
    }
    .centered-header { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .section-title { font-family: var(--serif); font-size: clamp(1.7rem,2.8vw,2.6rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
    .section-title em { font-style: normal; color: var(--mauve); font-weight: 600; }

    /* ── Categories ── */
    .categories { padding: 6rem 5rem; background: var(--cream); position: relative; }
    .categories-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; margin-bottom: 3rem; }
    .categories-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
    .cat-card { border-radius: 1.2rem; overflow: hidden; position: relative; aspect-ratio: 3/4; cursor: pointer; transition: transform .25s; }
    .cat-card:hover { transform: translateY(-4px); }
    .cat-card:hover .cat-bg { transform: scale(1.04); }
    .cat-bg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
    .cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,31,38,0.7) 0%, rgba(44,31,38,0) 60%); }
    .cat-info { position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem; }
    .cat-name { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); font-weight: 500; letter-spacing: -0.01em; }
    .cat-count { font-size: 0.72rem; color: var(--rose); letter-spacing: 0.08em; margin-top: 0.2rem; }

    /* ── Featured (dead: no template renders class="featured" — removed because
       WooCommerce auto-adds a "featured" class to every product marked
       Featured, which collided with this padding and squashed those product
       cards) ── */
    .featured-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; margin-bottom: 3rem; }
    .products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
    .product-card { background: var(--cream); border: 1px solid rgba(28,26,22,0.08); border-radius: 0.3rem; overflow: hidden; cursor: pointer; transition: box-shadow .25s, transform .25s; }
    .product-card:hover { box-shadow: 0 16px 48px rgba(44,31,38,0.1); transform: translateY(-3px); }
    .product-img-wrap { aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--blush); }
    .product-img-wrap svg { width: 100%; height: 100%; }
    .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
    .product-tag {
      position: absolute; top: 1rem; left: 1rem; background: var(--mauve); color: var(--cream);
      font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
      padding: 0.35rem 0.8rem; border-radius: 0;
    }
    .product-body { padding: 1.3rem 1.4rem 1.5rem; }
    .product-brand { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
    .product-name { font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
    .product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; }
    .product-price { font-size: 1.1rem; font-weight: 600; color: var(--mauve); }
    .swatches { display: flex; gap: 0.35rem; margin-top: 0.5rem; }
    .swatch { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(44,31,38,0.1); }
    .ml-variants { display: flex; gap: 0.4rem; margin-top: 0.5rem; flex-wrap: wrap; }
    .ml-pill {
      font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em;
      padding: 0.22rem 0.6rem; border-radius: 100px;
      border: 1.5px solid rgba(139,79,111,0.25); color: var(--mauve);
      cursor: pointer; transition: background .15s, border-color .15s, color .15s;
      background: transparent;
    }
    .ml-pill:hover, .ml-pill.active { background: var(--mauve); color: var(--cream); border-color: var(--mauve); }

    /* Add to cart button */
    .product-add {
      display: flex; align-items: center; gap: 0.45rem;
      background: var(--mauve); color: var(--cream); border: none; border-radius: 100px;
      padding: 0.5rem 1rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
      letter-spacing: 0.05em; cursor: pointer; transition: background .2s, transform .15s;
      white-space: nowrap;
    }
    .product-add:hover { background: var(--deep); transform: translateY(-1px); }
    .product-add svg { width: 13px; height: 13px; }
    .product-add.added { background: #5a8a5a; }

    /* ── Ritual ── */
    .ritual { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
    .ritual-visual { position: relative; overflow: hidden; background: var(--deep); display: flex; align-items: center; justify-content: center; }
    .ritual-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .ritual-bg-text { font-family: var(--serif); font-size: 11rem; font-weight: 300; color: rgba(232,164,160,0.08); line-height: 1; user-select: none; white-space: nowrap; letter-spacing: -0.04em; }
    .ritual-center-content { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .ritual-icon { width: 80px; height: 80px; }
    .ritual-caption { font-family: var(--script); font-size: 2.1rem; font-weight: 400; color: var(--rose); text-align: center; letter-spacing: 0.02em; }
    /* Brand script signature + botanical sprig */
    .brand-script { font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--rose); }
    .sprig { display: block; width: 116px; height: auto; color: var(--rose); opacity: 0.85; }
    .sprig-center { margin: 0 auto 0.4rem; }
    .ritual-content { padding: 5rem 4.5rem; background: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 1.8rem; }
    .ritual-steps { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 0.5rem; }
    .ritual-step { display: flex; gap: 1.2rem; align-items: flex-start; }
    .step-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--rose); line-height: 1; flex-shrink: 0; width: 2rem; }
    .step-body h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
    .step-body p { font-size: 0.85rem; opacity: 0.6; line-height: 1.65; }

    /* ── Newsletter ── */
    .newsletter { padding: 5rem; background: var(--blush); display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 1.6rem; }
    .newsletter .section-title { font-size: clamp(1.8rem,3vw,2.8rem); }
    .newsletter-sub { font-size: 0.92rem; opacity: 0.6; max-width: 42ch; line-height: 1.7; }
    .newsletter-form { display: flex; gap: 0.6rem; margin-top: 0.5rem; width: 100%; max-width: 460px; }
    .newsletter-form input { flex: 1; padding: 0.9rem 1.4rem; border: 1.5px solid rgba(28,26,22,0.22); border-radius: 0; font-family: var(--sans); font-size: 0.88rem; background: var(--cream); color: var(--deep); outline: none; transition: border-color .2s; }
    .newsletter-form input::placeholder { color: var(--muted); }
    .newsletter-form input:focus { border-color: var(--mauve); }
    .newsletter-form button { background: var(--mauve); color: var(--cream); border: none; border-radius: 0; padding: 0.9rem 1.9rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background .2s; white-space: nowrap; }
    .newsletter-form button:hover { background: var(--deep); }

    /* ── Footer ── */
    footer { background: #ffffff; padding: 4rem 5rem 2.5rem; position: relative; overflow: hidden; }
    footer .footer-top, footer .footer-bottom { position: relative; z-index: 1; }
    .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(28,26,22,0.12); }
    .footer-brand .footer-logo-img { height: 46px; width: auto; display: block; margin-bottom: 0.9rem; }
    .footer-brand .sprig { margin-bottom: 0.9rem; }
    .footer-brand .nav-logo { font-size: 1.5rem; color: var(--deep); }
    .footer-brand .nav-logo span { color: var(--rose); }
    .footer-brand .brand-script { color: var(--rose); font-size: 1.8rem; margin-top: 0.15rem; }
    .footer-tagline { font-size: 0.85rem; color: var(--deep); opacity: 0.55; line-height: 1.7; margin-top: 0.9rem; max-width: 32ch; }
    .footer-col h5 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.2rem; }
    .footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
    .footer-col ul a { font-size: 0.85rem; color: var(--deep); opacity: 0.6; transition: opacity .2s; }
    .footer-col ul a:hover { opacity: 1; }
    .social-link { display: inline-flex; align-items: center; gap: 0.65rem; }
    .social-link svg { width: 32px; height: 32px; flex: 0 0 auto; padding: 7px; border-radius: 50%; fill: var(--cream); background: var(--deep); transition: background .2s, fill .2s, transform .2s; }
    .social-link:hover svg { background: var(--rose); fill: var(--cream); transform: translateY(-2px); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; }
    .footer-copy { font-size: 0.75rem; color: var(--deep); opacity: 0.4; }
    .footer-socials { display: flex; gap: 1.2rem; }
    .footer-socials a { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep); opacity: 0.5; transition: opacity .2s; }
    .footer-socials a:hover { opacity: 1; }

    /* ── Fade-in ── */
    .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
    .fade-in.visible { opacity: 1; transform: translateY(0); }

    /* ── Responsive ── */
    @media (max-width: 1200px) {
      .categories, .bestsellers { padding-left: 2.5rem; padding-right: 2.5rem; }
      .hero-text { padding: 0 2.5rem 0 3rem; }
      .ritual-content { padding: 4rem 3rem; }
    }

    @media (max-width: 900px) {
      nav { padding: 1.2rem 1.8rem; }
      .nav-links { display: none; }
      .menu-btn { display: flex; }
      .hero { padding: calc(7rem + var(--topbar-h)) 1.6rem 4rem; }
      .hero-headline { font-size: clamp(2.2rem, 8vw, 3.2rem); }
      /* the inline nowrap span would clip on small screens — let it wrap */
      .hero-headline span { white-space: normal !important; }
      .hero-text { max-width: 560px; padding: 0; }
      .botanical.corner-tr { display: none; }
      .features-bar { gap: 1.6rem 2.6rem; padding: 2rem 1.6rem; }
      .categories { padding: 4rem 2rem; }
      .categories-grid { grid-template-columns: repeat(2,1fr); }
      .products-grid { grid-template-columns: repeat(2,1fr); }
      .bestsellers { padding: 4rem 2rem 5rem; }
      .ritual { grid-template-columns: 1fr; }
      .ritual-visual { height: auto; }
      .ritual-visual img { position: static; height: auto; }
      .ritual-content { padding: 3rem 2rem; }
      .newsletter { padding: 4rem 2rem; }
      .newsletter-form { flex-direction: column; max-width: 340px; }
      footer { padding: 3rem 2rem 2rem; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
      .footer-brand { grid-column: 1 / -1; }
    }

    @media (max-width: 600px) {
      nav { padding: 0.8rem 1.2rem; }
      .nav-logo-img { height: 35px; }
      .nav-cta { padding: 0.5rem 1.1rem; font-size: 0.7rem !important; }

      /* Cart / checkout drawer full-width on phones */
      .cart-sidebar { width: 100%; max-width: 100%; }
      .cart-header { padding: 1.2rem 1.2rem 1rem; }
      .cart-items, .cod-fields { padding-left: 1.2rem; padding-right: 1.2rem; }
      .cod-shipping-note { margin-left: 1.2rem; margin-right: 1.2rem; }
      .btn-confirm { margin-left: 1.2rem; margin-right: 1.2rem; width: calc(100% - 2.4rem); }
      .cod-row { grid-template-columns: 1fr; }

      /* Hero */
      .hero { min-height: 88vh; padding: calc(6rem + var(--topbar-h)) 1.2rem 3rem; }
      .hero-text { gap: 0.9rem; }
      .hero-headline { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
      /* stronger overlay so the text stays readable over the photo */
      .hero-image::after {
        background: linear-gradient(90deg, rgba(247,241,232,0.96) 0%, rgba(247,241,232,0.9) 45%, rgba(247,241,232,0.62) 100%);
      }
      .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.18em; }
      .hero-sub { font-size: 0.9rem; line-height: 1.7; }
      .hero-timeline { bottom: 1rem; }
      /* Text stacks full-width on mobile and sits mid-hero, so a vertically-
         centered arrow would land on top of it — pin the arrows low instead,
         just above the timeline, out of the text's way. */
      .hero-arrow { width: 2.2rem; height: 2.2rem; top: auto; bottom: 3.2rem; transform: none; }
      .hero-arrow:hover { transform: none; }
      .hero-arrow svg { width: 16px; height: 16px; }
      .hero-arrow-prev { left: 0.8rem; }
      .hero-arrow-next { right: 0.8rem; }
      .hero-actions { width: 100%; }
      .hero-actions .btn-primary,
      .hero-actions a { width: 100%; text-align: center; }
      .hero-badge-num { font-size: 1.4rem; }
      .botanical.corner-tl, .botanical.corner-br { width: 40vw; opacity: 0.1; }

      /* Marquee */
      .marquee-track { gap: 1.5rem; }

      /* Features bar — 2×2 grid, stacked items */
      .features-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; padding: 1.8rem 1.2rem; }
      .feature-item { flex-direction: column; text-align: center; gap: 0.55rem; }
      .feature-item svg { width: 26px; height: 26px; }
      .feature-title { font-size: 0.75rem; }
      .feature-sub { font-size: 0.7rem; }

      /* Section headers */
      .section-label { font-size: 0.66rem; letter-spacing: 0.16em; }

      /* Categories — 2 per line, compact captions */
      .categories { padding: 3.5rem 1.2rem; }
      .categories-grid { grid-template-columns: repeat(2,1fr); gap: 0.8rem; }
      .cat-card { border-radius: 0.8rem; }
      .cat-info { bottom: 0.9rem; left: 0.9rem; right: 0.9rem; }
      .cat-name { font-size: 0.95rem; }
      .products-grid { grid-template-columns: repeat(2,1fr); gap: 0.9rem; }

      .bestsellers { padding: 3.5rem 1.2rem 4rem; }

      /* Ritual */
      .ritual-visual { height: auto; }
      .ritual-visual img { position: static; height: auto; width: 100%; max-height: 420px; object-fit: cover; }
      .ritual-content { padding: 2.5rem 1.4rem; gap: 1.4rem; }
      .ritual-content .btn-primary { align-self: stretch !important; text-align: center; }

      /* Newsletter */
      .newsletter { padding: 3.5rem 1.2rem; }
      .newsletter-form { max-width: 100%; }

      /* Footer */
      footer { padding: 2.5rem 1.2rem 1.5rem; }
      .footer-top { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 2rem; }
      .footer-logo-img { height: 38px; }
      .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; padding-top: 1.5rem; }
    }

    /* Very small phones */
    @media (max-width: 380px) {
      .hero-headline { font-size: 1.75rem; }
      .feature-title { font-size: 0.7rem; }
      .categories-grid { gap: 0.6rem; }
    }
  

/* ============================================================
   SHOP ARCHIVE — filter pills, catalog empty-state.
   (from boutique.html inline <style>)
   ============================================================ */

    .catalog-section { padding: 4rem 5rem 6rem; }
    .filter-bar { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
    .filter-pill {
      font-family: var(--sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.06em;
      padding: 0.6rem 1.4rem; border-radius: 100px; border: 1.5px solid rgba(28,26,22,0.18);
      background: transparent; color: var(--deep); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
    }
    .filter-pill:hover { border-color: var(--mauve); }
    .filter-pill.active { background: var(--mauve); color: var(--cream); border-color: var(--mauve); }
    .catalog-empty {
      display: none; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center;
      padding: 4rem 1rem; grid-column: 1 / -1;
    }
    .catalog-empty.show { display: flex; }
    .catalog-empty p { font-family: var(--serif); font-size: 1.2rem; opacity: 0.6; }
    .catalog-empty span { font-size: 0.85rem; opacity: 0.5; max-width: 40ch; }
    @media (max-width: 1200px) { .catalog-section { padding-left: 2.5rem; padding-right: 2.5rem; } }
    @media (max-width: 900px) { .catalog-section { padding: 3.5rem 2rem 4rem; } }
    @media (max-width: 600px) { .catalog-section { padding: 3rem 1.2rem 3.5rem; } .products-grid { gap: 0.9rem; } }
  

/* ============================================================
   PRODUCT DETAIL — gallery, info, accordion, related.
   (from produit.html inline <style>)
   ============================================================ */

    .product-detail { max-width: 1180px; margin: 0 auto; padding: 4rem 3rem 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .pd-category { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
    .pd-name { font-family: var(--serif); font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
    .pd-price { font-size: 1.5rem; font-weight: 600; color: var(--mauve); margin-bottom: 0.9rem; }
    .pd-shortdesc { font-size: 0.95rem; line-height: 1.8; opacity: 0.68; margin-bottom: 1.4rem; max-width: 46ch; }
    .pd-qty-stepper { display: flex; align-items: center; gap: 0.7rem; border: 1.5px solid rgba(28,26,22,0.18); border-radius: 100px; padding: 0.3rem 0.5rem; }
    .pd-not-found { display: none; text-align: center; padding: 8rem 2rem; }
    .pd-not-found.show { display: block; }
    .pd-not-found h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1rem; }
    .pd-not-found p { opacity: 0.6; margin-bottom: 1.6rem; }
    .related-section { padding: 2rem 5rem 6rem; }
    .related-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; margin-bottom: 2.4rem; }
    @media (max-width: 900px) {
      .product-detail { grid-template-columns: 1fr; padding: 3rem 1.6rem 3.5rem; gap: 2rem; }
      .related-section { padding: 1rem 2rem 4rem; }
    }
    @media (max-width: 600px) {
      .product-detail { padding: 2.5rem 1.2rem 3rem; }
      .related-section { padding: 1rem 1.2rem 3.5rem; }
    }
  


/* ============================================================
   STATIC PAGES — contact, histoire, livraison, suivi.
   (page-specific inline <style> from each static page)
   ============================================================ */

    .contact-wrap { padding: 4rem 2rem 6rem; }
  

    .story-visual { max-width: 860px; margin: 0 auto; padding: 0 2rem; }
    .story-visual img { border-radius: 0.8rem; aspect-ratio: 16/9; object-fit: cover; }
    #engagements { scroll-margin-top: 8rem; }
    @media (max-width: 600px) { .story-visual { padding: 0 1.2rem; } }
  

    .city-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.6rem; }
    .city-tag { font-size: 0.78rem; padding: 0.4rem 0.9rem; border-radius: 100px; border: 1.5px solid rgba(28,26,22,0.15); opacity: 0.75; }
  

    .track-wrap { padding: 4rem 2rem 6rem; }
  
