/* =====================================================
   J&LEE'S BOUTIQUE — Design System
   Brand: warm, elegant, personal boutique
   Source: official J&Lee's Branding Kit
   ===================================================== */

/* ---------- Fonts (brand .otf files) ---------- */
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-Italic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-Semibold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-SemiboldItalic.otf') format('opentype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('../fonts/ACaslonPro-BoldItalic.otf') format('opentype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Book.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Shape of product photos (J&Lee's shoots 9:16) — every product frame uses it */
  --photo-ratio: 9 / 16;
  /* Brand colors */
  --cream: #FEF3EA;
  --peach: #FAE4D4;
  --sage: #5C5F4A;
  --olive: #3F4134;
  --olive-deep: #2A2B22;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--cream);
  --surface: #FFFFFF;
  --text: var(--olive);
  --text-soft: var(--sage);
  --text-on-dark: var(--cream);
  --line: rgba(63, 65, 52, 0.16);
  --line-strong: rgba(63, 65, 52, 0.4);
  --accent: var(--sage);
  --sale: #b1432f;

  /* Typography */
  --serif: 'Caslon', 'Times New Roman', serif;
  --sans: 'Gotham', 'Helvetica Neue', Arial, sans-serif;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;   /* 15px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-md: 1.25rem;     /* 20px */
  --fs-lg: 1.75rem;     /* 28px */
  --fs-xl: 2.5rem;      /* 40px */
  --fs-2xl: 3.25rem;    /* 52px */
  --fs-3xl: 5rem;       /* 80px */

  --track-wide: 0.04em;
  --track-wider: 0.08em;
  --track-widest: 0.14em;

  /* Spacing */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 92px;
  --maxw: 1440px;
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--cream); }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); }
.sans { font-family: var(--sans); }
em, .italic { font-style: italic; }

/* Micro-label: Gotham uppercase, wide tracking (brand caption style) */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-widest);
  text-transform: uppercase;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s8);
}
@media (max-width: 768px) { .container { padding: 0 var(--s5); } }

main { padding-top: 0; }

.section { padding: var(--s20) 0; }
.section-sm { padding: var(--s12) 0; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--peach);
  color: var(--olive);
  text-align: center;
  padding: var(--s3) var(--s4);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
}
.announcement a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* Desktop: logo centred on its own row, menu centred underneath */
  grid-template-areas: "left logo right" "nav nav nav";
  align-items: center;
  column-gap: var(--s6);
  row-gap: var(--s3);
}
@media (min-width: 941px) { :root { --header-h: 132px; } }
.site-header .hamburger { grid-area: left; justify-self: start; }
.site-header .site-nav { grid-area: nav; justify-self: center; }
.site-header .site-logo-link { grid-area: logo; justify-self: center; }
.site-header .header-actions { grid-area: right; justify-self: end; }
.site-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.site-logo .amp { font-style: italic; }
.site-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: var(--track-widest);
  text-align: center;
  margin-top: 2px;
  font-weight: 400;
}
.site-logo-link { display: block; line-height: 0; }
.site-logo-img { height: 60px; width: auto; }
.footer-logo-img { height: 56px; width: auto; margin-bottom: var(--s4); }
.auth-logo-img { height: 84px; width: auto; }
@media (max-width: 768px) { .site-logo-img { height: 46px; } }
.site-nav { display: flex; gap: var(--s6); }
.site-nav a {
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  padding: var(--s2) 0;
  position: relative;
  transition: color var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--olive);
  transition: width var(--ease);
}
.site-nav a:hover { color: var(--sage); }
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--s5); }
.icon-btn {
  display: flex;
  align-items: center;
  gap: var(--s1);
  position: relative;
  transition: color var(--ease);
}
.icon-btn:hover { color: var(--sage); }
.icon-btn:focus { outline: none; }
.icon-btn:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 5px; border-radius: 999px; }
.icon-btn .label {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: none;
}
.cart-count {
  position: absolute;
  top: -7px; right: -11px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
@media (max-width: 600px) { .icon-btn .label { display: none; } }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--s2); }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--olive); transition: var(--ease); }
@media (max-width: 940px) {
  .site-header .container { grid-template-areas: "left logo right"; row-gap: 0; }
  /* Drops down full-width right under the (sticky) header. grid-area:auto so the
     header — not its narrow left column — is the box it's positioned in. */
  .site-header .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    grid-area: auto;
    justify-self: stretch;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: var(--s4) var(--s5);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(42, 43, 34, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;   /* fully hidden while closed */
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  .site-header .site-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .site-nav a { padding: var(--s3) 0; font-size: var(--fs-sm); }
  .hamburger { display: flex; }
}

/* ---------- Headings ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(var(--fs-2xl), 6vw, var(--fs-3xl));
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: 1.2;
}
.section-head {
  text-align: center;
  margin-bottom: var(--s10);
}
.section-head .eyebrow {
  color: var(--sage);
  display: block;
  margin-bottom: var(--s3);
}
.section-head .title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-2xl);
  line-height: 1.15;
}
.section-head .title em { font-weight: 400; }
.section-head .sub {
  margin-top: var(--s3);
  color: var(--text-soft);
  font-size: var(--fs-base);
}
.section-head .link {
  display: inline-block;
  margin-top: var(--s4);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color var(--ease);
}
.section-head .link:hover { border-color: var(--olive); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  background: var(--peach);
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
/* Banner slider — native swipe (scroll-snap), arrows on desktop, dots */
.hero-track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(254, 243, 234, 0.8); color: var(--olive);
  font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.hero-arrow:hover { background: var(--cream); }
.hero-arrow.prev { left: var(--s5); }
.hero-arrow.next { right: var(--s5); }
.hero-arrow[hidden] { display: none; }
@media (hover: none) { .hero-arrow { display: none; } }
.hero-dots { position: absolute; left: 0; right: 0; bottom: var(--s5); display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(254, 243, 234, 0.55); transition: width var(--ease), background var(--ease); }
.hero-dots button.active { width: 22px; background: var(--cream); }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,43,34,0.4), rgba(42,43,34,0.05) 50%);
}
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: calc(var(--s16) + var(--s4));
  text-align: center;
  color: var(--cream);
  padding: 0 var(--s5);
}
.hero-content .eyebrow { display: block; margin-bottom: var(--s4); opacity: 0.9; }
.hero-content .display { margin-bottom: var(--s6); }
.hero-content .display em { display: block; }
@media (max-width: 768px) {
  .hero-content { bottom: var(--s10); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s5) var(--s12);
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn-block { width: 100%; }
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--olive-deep); }
.btn-primary:disabled { background: var(--line-strong); color: var(--cream); cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn-secondary:hover { background: var(--olive); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--olive); }
.btn-light:hover { background: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--olive);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}
.btn-ghost:hover { border-color: var(--olive); }
.btn-sm { padding: var(--s2) var(--s5); }

/* ---------- Links ---------- */
.text-link {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color var(--ease);
}
.text-link:hover { border-color: var(--olive); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6) var(--s5);
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s3); } }
@media (max-width: 420px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card { position: relative; cursor: pointer; }
.product-card-media {
  position: relative;
  aspect-ratio: var(--photo-ratio);
  overflow: hidden;
  background: var(--peach);
  border-radius: var(--radius);
}
.product-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;   /* a photo of another shape loses a bit of hem, never the head */
  transition: transform var(--ease-slow);
}
.product-card:hover .product-card-media img { transform: scale(1.05); }
/* Swipe between colours on the card (scroll-snap) */
.pc-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track img { flex: 0 0 100%; scroll-snap-align: start; }
/* Colour dots under the photo */
.pc-dots { display: flex; align-items: center; gap: 6px; margin-bottom: var(--s2); }
.pc-dot {
  width: 16px; height: 16px; border-radius: 50%; padding: 0;
  box-shadow: 0 0 0 1px var(--line-strong); border: 2px solid var(--cream);
  transition: box-shadow var(--ease);
}
.pc-dot.active { box-shadow: 0 0 0 1.5px var(--olive); }
.pc-dot.out { opacity: 0.4; }
.pc-more { font-family: var(--sans); font-size: var(--fs-xs); line-height: 1; color: var(--text-soft); }
@media (max-width: 768px) { .pc-dot { width: 18px; height: 18px; } }
.product-badge {
  position: absolute;
  top: var(--s3); left: var(--s3);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  background: var(--olive);
  color: var(--cream);
  padding: 3px var(--s2);
  border-radius: var(--radius);
}
.product-badge.sale { background: var(--sale); }
.product-badge.soldout { background: var(--line-strong); color: var(--cream); }
.product-badge.member {
  background: var(--peach);
  color: var(--olive);
}
.product-wishlist {
  position: absolute;
  top: var(--s3); right: var(--s3);
  width: 34px; height: 34px;
  background: rgba(254,243,234,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
}
.product-card:hover .product-wishlist { opacity: 1; transform: translateY(0); }
.product-wishlist:hover { background: var(--cream); }
.product-wishlist.active svg { fill: var(--sale); stroke: var(--sale); }

.product-card-info { padding: var(--s4) 0 0; }
.product-card-name {
  font-family: var(--serif);
  font-size: var(--fs-md);
  line-height: 1.3;
  margin-bottom: var(--s2);
}
.product-card-color {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-bottom: var(--s2);
}
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  font-size: var(--fs-md);
}
.price-was { text-decoration: line-through; color: var(--text-soft); font-size: var(--fs-sm); }
.price-now { color: var(--sale); }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--s5); }
.field-label {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--s2);
}
.input, .select, .textarea {
  width: 100%;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: var(--fs-base);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(92,95,74,0.1);
}
.input::placeholder { color: var(--text-soft); opacity: 0.65; }
.input.error, .select.error { border-color: var(--sale); }
.field-error {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  color: var(--sale);
  margin-top: var(--s2);
}
.select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233F4134' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  padding-right: var(--s10);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Cart ---------- */
.cart-line {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: var(--s5);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line-price { grid-column: 2; text-align: left !important; }
}
.cart-line-media {
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--peach);
}
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cart-line-body { display: flex; flex-direction: column; }
.cart-line-name { font-size: var(--fs-md); margin-bottom: var(--s1); }
.cart-line-meta {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  letter-spacing: 0.03em;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: var(--s3);
  width: fit-content;
}
.qty button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-md);
  transition: background var(--ease);
}
.qty button:hover { background: var(--peach); }
.qty span {
  font-family: var(--sans);
  font-size: var(--fs-sm);
  min-width: 32px;
  text-align: center;
}
.cart-line-remove {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: auto;
  align-self: flex-start;
}
.cart-line-remove:hover { color: var(--olive); }
.cart-line-price { font-size: var(--fs-base); text-align: right; }

/* ---------- Order summary ---------- */
.summary {
  background: var(--peach);
  border-radius: var(--radius);
  padding: var(--s6);
}
.summary-title {
  font-family: var(--serif);
  font-size: var(--fs-md);
  margin-bottom: var(--s5);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-sm);
  padding: var(--s2) 0;
}
.summary-row .label { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft); }
.summary-row.total {
  border-top: 1px solid var(--line-strong);
  margin-top: var(--s3);
  padding-top: var(--s4);
  font-size: var(--fs-md);
}
.summary-row.total .label { font-size: var(--fs-xs); color: var(--olive); }
.summary-row.earn .value { color: var(--sage); }
.summary-divider { border: none; border-top: 1px solid var(--line); margin: var(--s4) 0; }

/* ---------- Checkout steps ---------- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s8) 0 var(--s10);
}
.step {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-soft);
}
.step-dot {
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.step.active { color: var(--olive); }
.step.active .step-dot { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.step.done { color: var(--sage); }
.step.done .step-dot { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.step-bar { width: 48px; height: 1px; background: var(--line-strong); margin: 0 var(--s4); }
@media (max-width: 560px) {
  .step span:not(.step-dot) { display: none; }
  .step-bar { width: 28px; margin: 0 var(--s2); }
}

/* ---------- Two-column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--s16);
  align-items: start;
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: var(--s10); }
  .split .summary { order: -1; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: var(--s8);
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  background: var(--olive);
  color: var(--cream);
  padding: var(--s3) var(--s6);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  z-index: 300;
  box-shadow: 0 8px 28px rgba(42,43,34,0.25);
  transition: transform var(--ease);
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive);
  color: var(--cream);
  padding: var(--s20) 0 var(--s8);
  margin-top: var(--s24);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--s10);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(254,243,234,0.14);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo {
  font-family: var(--serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--s3);
}
.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(254,243,234,0.7);
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--track-wider);
  text-transform: uppercase;
  margin-bottom: var(--s5);
  color: rgba(254,243,234,0.55);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(254,243,234,0.85);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(254,243,234,0.5);
}

/* ---------- Oval motif (echoes logo) ---------- */
.oval {
  border: 1px solid currentColor;
  border-radius: 50% / 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.mb-4 { margin-bottom: var(--s4); }
.muted { color: var(--text-soft); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--s20) var(--s5);
}
.empty-state .eyebrow { color: var(--text-soft); display: block; margin-bottom: var(--s5); }
.empty-state .heading { margin-bottom: var(--s6); }

/* Love Points online switch (js/products.js): hidden by default, so nothing flashes */
html:not(.points-on) [data-points] { display: none !important; }
html.points-on [data-no-points] { display: none !important; }

/* ---------- Navigation drawer (☰ on every screen) & search ---------- */
.site-header .hamburger { display: flex; }
@media (max-width: 940px) { .site-header .site-nav { display: none; } }
.site-nav a.nav-collection { color: var(--sage); font-style: italic; }
body.no-scroll { overflow: hidden; }
.nav-drawer { position: fixed; inset: 0; z-index: 400; }
.nav-drawer[hidden] { display: none; }
.nd-veil { position: absolute; inset: 0; background: rgba(42, 43, 34, 0.4); opacity: 0; transition: opacity 250ms ease; }
.nd-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw);
  background: var(--cream); overflow-y: auto; padding: var(--s5) var(--s6) var(--s10);
  transform: translateX(-100%); transition: transform 250ms ease;
  box-shadow: 8px 0 32px rgba(42, 43, 34, 0.12);
}
.nav-drawer.open .nd-veil { opacity: 1; }
.nav-drawer.open .nd-panel { transform: none; }
.nd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.nd-logo { height: 40px; width: auto; }
.nd-close { font-size: 30px; line-height: 1; color: var(--olive); }
.nd-search {
  width: 100%; display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: var(--s6);
}
.nd-section { display: flex; flex-direction: column; padding: var(--s4) 0; border-top: 1px solid var(--line); }
.nd-section[hidden] { display: none; }
.nd-section h3 {
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-xs); letter-spacing: var(--track-widest);
  text-transform: uppercase; color: var(--sage); margin-bottom: var(--s2);
}
.nd-section a { font-family: var(--serif); font-size: var(--fs-md); padding: var(--s2) 0; }
.nd-section a:hover { color: var(--sage); }
#nd-collection-links { display: flex; flex-direction: column; }
#nd-collection-links a { font-style: italic; }

.search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(42, 43, 34, 0.1); padding: var(--s4) 0 var(--s5);
}
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: var(--s3); border-bottom: 1px solid var(--olive); padding-bottom: var(--s2); }
.search-form input { flex: 1; border: none; background: transparent; font-family: var(--serif); font-size: var(--fs-md); outline: none; color: var(--text); }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-close { font-size: 26px; line-height: 1; color: var(--olive); }
.search-results { display: grid; gap: var(--s1); margin-top: var(--s3); }
.sr-item { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2) 0; }
.sr-item img { width: 40px; height: 71px; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--peach); }
.sr-item strong { display: block; font-weight: 400; }
.sr-item small, .sr-price { font-family: var(--sans); font-size: var(--fs-xs); color: var(--text-soft); }
.sr-item:hover strong { color: var(--sage); }
.sr-all { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; padding-top: var(--s2); }
.sr-empty { color: var(--text-soft); font-size: var(--fs-sm); }
.sr-empty a { text-decoration: underline; }

/* J&Lee's Circle welcome pop-up (js/site-nav.js) */
.circle-pop {
  margin: auto; width: min(420px, calc(100vw - 32px)); box-sizing: border-box;
  border: none; border-radius: var(--radius); padding: var(--s10) var(--s8) var(--s8);
  background: var(--peach); color: var(--text); text-align: center;
  box-shadow: 0 20px 60px rgba(42, 43, 34, 0.25);
  animation: cp-in .35s ease;
}
.circle-pop::backdrop { background: rgba(42, 43, 34, 0.45); }
@keyframes cp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cp-x {
  position: absolute; top: var(--s3); right: var(--s3);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: var(--olive);
  display: flex; align-items: center; justify-content: center;
}
.cp-x:hover { background: rgba(254, 243, 234, 0.7); }
.cp-icon { height: 56px; width: auto; margin: 0 auto var(--s4); }
.cp-eyebrow { display: block; font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--sage); margin-bottom: var(--s3); }
.circle-pop h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 7vw, 34px); line-height: 1.15; color: var(--olive); margin-bottom: var(--s4); }
.circle-pop h2 em { font-style: italic; }
.circle-pop p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.circle-pop .cp-join { margin-top: var(--s6); }
.cp-signin { margin-top: var(--s4); font-family: var(--sans); font-size: var(--fs-xs) !important; }
.cp-fine { margin-top: var(--s2); font-family: var(--sans); font-size: 11px !important; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .circle-pop { animation: none; } }

/* Floating WhatsApp button (js/site-nav.js) */
.wa-float {
  position: fixed; z-index: 70;
  right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 14px; border-radius: 999px;
  background: var(--olive); color: var(--cream);
  box-shadow: 0 8px 24px rgba(42, 43, 34, 0.28);
  transition: transform var(--ease), box-shadow var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42, 43, 34, 0.32); color: var(--cream); }
.wa-float-label { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; }
@media (max-width: 768px) {
  .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
}
@media print { .wa-float { display: none; } }
