/* =========================================================
   LILI PARIS FLORALS — Design System v2
   "The atelier" — light editorial luxe with dark-wine moments.
   Palette derived from the brand logo: wine + cream + gold.
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --wine: #5e2230;
  --wine-deep: #3d141d;
  --wine-black: #230a10;
  --cream: #f7f1e7;
  --cream-2: #efe5d4;
  --ivory: #fffdf9;
  --gold: #b08d57;
  --gold-soft: #cbab7d;
  --blush: #ecd7d2;
  --ink: #2b2024;
  --muted: #8a7a7c;
  --line: rgba(94, 34, 48, 0.16);

  /* type */
  --display: "Times New Roman", Tinos, Times, Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* metrics */
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1320px;
  --img-radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0.05, 0.36, 1);

  --header-h: 92px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-size: clamp(15px, 1.05vw, 17px);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* faint film grain for a premium, printed feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--wine); color: var(--cream); }

/* ---------- Typography ---------- */
/* Client request: Times-style italic for headings */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--wine);
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.6rem, 7.4vw, 6.8rem);
  line-height: 1.0;
  font-weight: 400;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
em, .it { font-style: italic; }
/* keep small UI headings upright for legibility */
.cart-head h3, .menu-card__head h3 { font-style: italic; }
p { max-width: 62ch; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.7rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.no-rule::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--ink); font-weight: 300; }
.muted { color: var(--muted); }
.serif-accent { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--wine); }

/* index numbers */
.idx {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 12vh, 170px); position: relative; }
.section.tight { padding-block: clamp(60px, 8vh, 110px); }
.center { text-align: center; }
.hairline { height: 1px; background: var(--line); border: 0; width: 100%; }
.stack-sm > * + * { margin-top: 1rem; }
.stack > * + * { margin-top: 1.6rem; }

/* dark "moment" sections */
.dark {
  background: var(--wine-black);
  color: var(--cream);
  background-image:
    radial-gradient(120% 90% at 80% -10%, rgba(122,50,66,0.55), transparent 60%),
    radial-gradient(100% 80% at 0% 110%, rgba(176,141,87,0.16), transparent 55%);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark .muted { color: rgba(247,241,231,0.6); }
.dark .hairline { background: rgba(247,241,231,0.18); }
.dark .eyebrow { color: var(--gold-soft); }
.dark .eyebrow::before, .dark .eyebrow.center::after { background: var(--gold-soft); }

.bg-cream2 { background: var(--cream-2); }
.bg-blush { background: linear-gradient(160deg, var(--blush), var(--cream)); }

/* ---------- Buttons ---------- */
.btn {
  --bc: var(--wine);
  --bg: var(--wine);
  --fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.15em 2.4em;
  border: 1px solid var(--bc);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleY(0); }
.btn:hover { color: var(--bc); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-ghost { --bg: transparent; --fg: var(--wine); --bc: var(--wine); }
.btn-ghost::before { background: var(--wine); transform: scaleY(0); }
.btn-ghost:hover::before { transform: scaleY(1); }
.btn-ghost:hover { color: var(--cream); }

.btn-light { --bg: var(--cream); --fg: var(--wine); --bc: var(--cream); }
.btn-light::before { background: var(--cream); }
.btn-light:hover { color: var(--cream); }
.dark .btn-light:hover { color: var(--cream); }

.btn-on-dark { --bg: transparent; --fg: var(--cream); --bc: rgba(247,241,231,0.5); }
.btn-on-dark::before { background: var(--cream); transform: scaleY(0); }
.btn-on-dark:hover::before { transform: scaleY(1); }
.btn-on-dark:hover { color: var(--wine); border-color: var(--cream); }

.btn-sm { padding: 0.9em 1.8em; font-size: 0.68rem; }

/* underline link */
.ulink {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.ulink:hover::after { transform: scaleX(0); transform-origin: left; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader__mark {
  text-align: center;
  overflow: hidden;
}
.preloader__name {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.22em;
  color: var(--wine);
  text-transform: uppercase;
  transform: translateY(110%);
  animation: rise 1s var(--ease) 0.15s forwards;
}
.preloader__sub {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.9rem;
  opacity: 0;
  animation: fade 0.8s ease 0.7s forwards;
}
.preloader__line {
  height: 1px;
  width: 0;
  background: var(--gold);
  margin: 1.6rem auto 0;
  animation: grow 1.1s var(--ease) 0.5s forwards;
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { to { width: min(240px, 50vw); } }
body.loaded .preloader { opacity: 0; visibility: hidden; }

/* =========================================================
   Custom cursor (desktop, fine pointer only)
   ========================================================= */
.cursor, .cursor-ring { display: none !important; }
.cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 42px; height: 42px;
    border: 1px solid rgba(94,34,48,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
  }
  body.cursor-hover .cursor-ring { width: 64px; height: 64px; background: rgba(94,34,48,0.06); border-color: rgba(94,34,48,0.5); }
  body.cursor-dark .cursor-ring { border-color: rgba(247,241,231,0.45); }
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  z-index: 9999;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), height 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header.scrolled {
  height: 72px;
  /* Near-opaque by default so page content never reads through the bar.
     Only soften it where backdrop-filter is genuinely supported. */
  background: var(--cream);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(35, 10, 16, 0.45);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.scrolled {
    background: rgba(247, 241, 231, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
/* Phones: keep it fully solid — mobile backdrop-filter is unreliable */
@media (max-width: 860px) {
  .header.scrolled { background: var(--cream); }
}
/* scrim behind header when over a hero, for legibility on bright imagery */
.header.on-hero:not(.scrolled)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20,8,12,0.5), rgba(20,8,12,0));
  pointer-events: none;
}
.header.on-hero:not(.scrolled) .brand,
.header.on-hero:not(.scrolled) .nav a,
.header.on-hero:not(.scrolled) .cart-btn,
.header.on-hero:not(.scrolled) .enquire { text-shadow: 0 1px 22px rgba(20,8,12,0.55); }

/* over-hero (transparent / light text) state */
.header.on-hero { color: var(--cream); }
.header.on-hero .brand, .header.on-hero .nav a, .header.on-hero .header__cta .cart-btn, .header.on-hero .enquire { color: var(--cream); }
.header.on-hero .brand small { color: var(--gold-soft); }
.header.on-hero.scrolled { color: var(--ink); }
.header.on-hero.scrolled .brand, .header.on-hero.scrolled .nav a, .header.on-hero.scrolled .cart-btn, .header.on-hero.scrolled .enquire { color: var(--ink); }
.header.on-hero.scrolled .brand small { color: var(--gold); }

.brand {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  line-height: 1;
  display: block;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.46rem;
  letter-spacing: 0.62em;
  color: var(--gold);
  margin-top: 5px;
  padding-left: 5px;
}

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.5vw, 2.8rem); }
.nav a {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 1.6rem; }
.enquire {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.3s;
}
.enquire:hover { opacity: 0.6; }
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.cart-count {
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--cream);
  font-size: 0.6rem;
  display: none;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.header.on-hero:not(.scrolled) .cart-count { background: var(--cream); color: var(--wine); }

/* burger */
.burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; z-index: 1002; }
.burger span { display: block; width: 21px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile drawer nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--wine-black);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.menu-open .mobile-nav { clip-path: inset(0 0 0% 0); pointer-events: auto; }
.mobile-nav a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  color: var(--cream);
  padding-block: 0.18em;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-nav a .idx { font-size: 0.85rem; }
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.menu-open .mobile-nav a:nth-child(1) { transition-delay: 0.18s; }
.menu-open .mobile-nav a:nth-child(2) { transition-delay: 0.26s; }
.menu-open .mobile-nav a:nth-child(3) { transition-delay: 0.34s; }
.menu-open .mobile-nav a:nth-child(4) { transition-delay: 0.42s; }
.menu-open .mobile-nav a:nth-child(5) { transition-delay: 0.50s; }
.menu-open .mobile-nav a:nth-child(6) { transition-delay: 0.58s; }
.mobile-nav__foot { margin-top: 2.5rem; display: flex; gap: 1.5rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-soft); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--wine-black);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 120%;
  object-fit: cover;
  transform: scale(1.12);
  animation: kenburns 16s var(--ease-soft) forwards;
  will-change: transform;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,8,12,0.78) 0%, rgba(20,8,12,0.18) 45%, rgba(20,8,12,0.35) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(48px, 9vh, 110px);
}
.hero__eyebrow { margin-bottom: clamp(1rem, 3vh, 2rem); opacity: 0; animation: fade 1s ease 1.1s forwards; }
.hero__title { color: var(--cream); max-width: 16ch; }
.hero__row {
  margin-top: clamp(1.6rem, 4vh, 2.8rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__row p { max-width: 42ch; color: rgba(247,241,231,0.82); opacity: 0; animation: fade 1s ease 1.3s forwards; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fade 1s ease 1.45s forwards; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247,241,231,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fade 1s ease 1.6s forwards;
}
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--gold-soft), transparent); animation: scrolldrop 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrolldrop { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* =========================================================
   Split-text reveal (kinetic)
   ========================================================= */
.split-text { }
.split-text .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-text .word .inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.split-text.in .word .inner { transform: translateY(0); }

/* generic reveals */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.18); transition: transform 1.4s var(--ease); will-change: transform; }
.reveal-img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cream);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease);
  z-index: 2;
}
.reveal-img.dark-veil::after { background: var(--wine-black); }
.reveal-img.in img { transform: scale(1); }
.reveal-img.in::after { transform: scaleY(0); }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 3vh, 34px);
  background: var(--cream);
}
.dark .marquee, .marquee.on-dark { background: transparent; border-color: rgba(247,241,231,0.18); }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--wine);
  padding-inline: clamp(1rem, 3vw, 2.4rem);
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}
.marquee.on-dark .marquee__track span { color: var(--cream); }
.marquee__track span::after { content: "✦"; font-size: 0.5em; color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Promise — floral swirl graphic
   ========================================================= */
.promise-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.promise .floral-swirl { width: 100%; max-width: 580px; margin: 0 auto; }
.promise .floral-swirl svg { width: 100%; height: auto; overflow: visible; transform-origin: center; }
.promise-copy h2 { max-width: 14ch; }
@media (max-width: 980px) {
  .promise-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; justify-items: center; }
  .promise .floral-swirl { max-width: 420px; }
  .promise-copy h2 { max-width: 18ch; margin-inline: auto; }
  .promise-copy .eyebrow { justify-content: center; }
}
.floral-swirl .stem { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* leaves & buds carry no SVG transform attribute, so they can scale-pop */
.floral-swirl .leaf, .floral-swirl .bud { opacity: 0; transform: scale(0.3); transform-box: fill-box; transform-origin: center; }
/* blooms are positioned via an SVG transform attribute — fade only (CSS transform would override placement) */
.floral-swirl .bloom-use { opacity: 0; }
.reveal.in .floral-swirl .stem { animation: fs-draw 1.5s var(--ease) forwards; }
.reveal.in .floral-swirl .stem:nth-of-type(2) { animation-delay: 0.12s; }
.reveal.in .floral-swirl .stem:nth-of-type(3) { animation-delay: 0.24s; }
.reveal.in .floral-swirl .stem:nth-of-type(4) { animation-delay: 0.3s; }
.reveal.in .floral-swirl .leaf { animation: fs-pop 0.6s var(--ease) 0.7s forwards; }
.reveal.in .floral-swirl .bloom-use { animation: fs-fade 0.7s var(--ease) 0.9s forwards; }
.reveal.in .floral-swirl .bud { animation: fs-pop 0.5s var(--ease) 1.2s forwards; }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@keyframes fs-pop { to { opacity: 1; transform: scale(1); } }
@keyframes fs-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in .promise .floral-swirl svg { animation: fs-sway 8s ease-in-out 1.6s infinite; }
}
@keyframes fs-sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }

/* =========================================================
   Editorial split (image + text)
   ========================================================= */
.editorial { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.editorial.reverse { grid-template-columns: 0.95fr 1.05fr; }
.editorial.reverse .editorial__media { order: 2; }
.editorial__media { position: relative; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__media .tag {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  padding: 0.8em 1.4em;
}
.editorial__body { max-width: 46ch; }
.vlabel {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.66rem;
  color: var(--gold);
}

/* =========================================================
   Collection showcase
   ========================================================= */
.collection-grid {
  display: grid;
  /* auto-fit so the row absorbs new collections instead of orphaning them */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.6rem);
}
.col-card { position: relative; display: block; }
.col-card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; background: var(--cream-2); }
.col-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.col-card:hover .col-card__media img { transform: scale(1.06); }
.col-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(35,10,16,0.5), transparent 55%); opacity: 0.8; transition: opacity 0.5s; }
.col-card:hover .col-card__media::after { opacity: 1; }
.col-card__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: clamp(1rem, 2vw, 1.8rem);
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.col-card__cap h3 { color: var(--cream); font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.col-card__cap .from { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px; }
.col-card__cap .go {
  width: 42px; height: 42px;
  border: 1px solid rgba(247,241,231,0.5);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.col-card:hover .col-card__cap .go { background: var(--cream); color: var(--wine); border-color: var(--cream); }

/* gradient placeholders (fallback when a photo is absent) */
.ph { display: grid; place-items: center; color: rgba(247,241,231,0.85); font-family: var(--display); font-style: italic; font-size: 1.4rem; text-align: center; padding: 1rem; }
.g1 { background: linear-gradient(150deg, #7a3242, #3d141d); }
.g2 { background: linear-gradient(150deg, #c98a98, #6e2738); }
.g3 { background: linear-gradient(150deg, #b08d57, #5e2230); }
.g4 { background: linear-gradient(150deg, #ecd7d2, #a85f70); }
.g5 { background: linear-gradient(150deg, #4a1822, #230a10); }
.g6 { background: linear-gradient(150deg, #ddc3ad, #7a3242); }

/* =========================================================
   Numbered "difference" / process
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); }
.step { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.dark .step { border-color: rgba(247,241,231,0.2); }
.step .idx { display: block; margin-bottom: 1.2rem; }
.step h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
.dark .step p { color: rgba(247,241,231,0.65); }

/* =========================================================
   Testimonials
   ========================================================= */
.quote__items { position: relative; }
.q { display: none; }
.q.active { display: block; animation: qfade 0.8s var(--ease); }
@keyframes qfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quote { max-width: 760px; margin-inline: auto; }
.quote__mark { font-family: var(--display); font-style: italic; font-size: 4rem; color: var(--gold); line-height: 0.5; display: block; margin-bottom: 1rem; }
.quote blockquote {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.18;
  color: var(--wine);
  max-width: 18ch;
  margin-inline: auto;
}
.dark .quote blockquote { color: var(--cream); }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.quote__nav { display: inline-flex; gap: 0.5rem; margin-top: 2.4rem; }
.quote__dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; background: transparent; cursor: pointer; opacity: 0.4; transition: opacity 0.3s, background 0.3s; }
.quote__dot.active { opacity: 1; background: var(--gold); border-color: var(--gold); }

/* =========================================================
   Instagram
   ========================================================= */
#ig-feed:empty { display: none; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile .ph { position: absolute; inset: 0; }
.ig-tile.tall { grid-row: span 2; aspect-ratio: auto; }
.ig-tile__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); opacity: 0; background: rgba(35,10,16,0.3); transition: opacity 0.4s; z-index: 2; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.ig-tile:hover .ig-tile__icon { opacity: 1; }

/* =========================================================
   Shop
   ========================================================= */
.shop-controls { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.filter-btn {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7em 1.5em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.filter-btn:hover { border-color: var(--wine); color: var(--wine); }
.filter-btn.active { background: var(--wine); border-color: var(--wine); color: var(--cream); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.product { display: flex; flex-direction: column; }
.product__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-2);
  margin-bottom: 1.3rem;
}
.product__media .ph { position: absolute; inset: 0; font-size: 2rem; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__add {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 3;
  background: var(--cream);
  color: var(--wine);
  border: none;
  padding: 1em;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), background 0.3s, color 0.3s;
}
.product:hover .product__add { transform: translateY(0); opacity: 1; }
.product__add:hover { background: var(--wine); color: var(--cream); }
.product__tag { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.product h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.product__desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.product__price { font-family: var(--display); font-size: 1.5rem; color: var(--wine); }
.product select {
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 0.7em 2.2em 0.7em 0.9em;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235e2230' fill='none' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
}

/* =========================================================
   Pricing — "the menu"
   ========================================================= */
.menu-card { background: var(--ivory); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); height: 100%; }
.dark .menu-card { background: rgba(247,241,231,0.04); border-color: rgba(247,241,231,0.16); }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.menu-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.menu-card__head h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.menu-card .variants { color: var(--muted); font-style: italic; font-family: var(--display); font-size: 1.02rem; margin-bottom: 1.5rem; }
.price-row { display: flex; align-items: baseline; gap: 0.8rem; padding-block: 0.7rem; }
.price-row + .price-row { border-top: 1px dotted var(--line); }
.price-row .name { white-space: nowrap; }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-row .amt { font-family: var(--display); font-size: 1.2rem; color: var(--wine); }
.dark .price-row .amt { color: var(--gold-soft); }

/* =========================================================
   Gallery fallback grid
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(0.6rem, 1.5vw, 1rem); }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .ph { position: absolute; inset: 0; }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem; color: var(--cream); font-family: var(--display); font-style: italic; background: linear-gradient(to top, rgba(35,10,16,0.55), transparent); opacity: 0; transition: opacity 0.4s; }
.gallery-item:hover .cap { opacity: 1; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-info dl { margin-top: 2rem; }
.contact-info dt { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 1.4rem; }
.contact-info dd { font-family: var(--display); font-size: 1.3rem; color: var(--wine); }
.dark .contact-info dd { color: var(--cream); }
.field { position: relative; margin-bottom: 1.6rem; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.9em 0;
  font-size: 1rem;
  color: inherit;
}
.dark .field input, .dark .field textarea { border-color: rgba(247,241,231,0.25); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); }
.dark .field input:focus, .dark .field textarea:focus { border-color: var(--gold-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--wine-black); color: rgba(247,241,231,0.7); padding-top: clamp(4rem, 9vh, 7rem); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3.5rem; border-bottom: 1px solid rgba(247,241,231,0.14); }
.footer h4 { color: var(--cream); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--sans); margin-bottom: 1.3rem; }
.footer .brand { color: var(--cream); }
.footer__links a { display: block; padding-block: 0.4rem; font-size: 0.92rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--cream); }
.footer p { font-size: 0.92rem; max-width: 32ch; }
.footer .news { display: flex; border-bottom: 1px solid rgba(247,241,231,0.3); margin-top: 1rem; }
.footer .news input { flex: 1; background: none; border: none; padding: 0.7em 0; color: var(--cream); font-size: 0.95rem; }
.footer .news input:focus { outline: none; }
.footer .news input::placeholder { color: rgba(247,241,231,0.5); }
.footer .news button { background: none; border: none; color: var(--gold-soft); cursor: pointer; font-size: 1.2rem; padding-left: 0.6rem; }
/* Oversized brand watermark: the real wordmark artwork, sunk into the
   footer so it reads as texture rather than a second logo. */
.footer__brandline {
  padding-block: clamp(1.5rem, 4vw, 3rem);
  user-select: none;
}
.footer__brandline img {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  opacity: 0.085;
  pointer-events: none;
}
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 2rem; font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(247,241,231,0.5); }
.footer__bottom .social { display: flex; gap: 1.4rem; }
.footer__bottom a:hover { color: var(--cream); }

/* =========================================================
   Cart drawer
   ========================================================= */
.overlay { position: fixed; inset: 0; background: rgba(35,10,16,0.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; z-index: 2000; }
.overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 440px; max-width: 92vw;
  background: var(--cream);
  z-index: 2001;
  transform: translateX(101%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.8rem var(--pad); border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.4rem; }
.cart-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--wine); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.4rem var(--pad); }
.cart-empty { text-align: center; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 1.3rem; margin-top: 3rem; }
.cart-item { display: flex; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.cart-item__thumb { width: 66px; height: 80px; flex-shrink: 0; border-radius: 2px; object-fit: cover; }
.cart-item__thumb.ph { font-size: 0.8rem; }
.cart-item__info { flex: 1; }
.cart-item__info h4 { font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 400; }
.cart-item__info .opt { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cart-item__info .line-price { color: var(--wine); font-family: var(--display); font-size: 1.05rem; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 0.6rem; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--ivory); color: var(--wine); border-radius: 50%; cursor: pointer; line-height: 1; }
.remove-item { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.72rem; text-decoration: underline; align-self: flex-start; }
.cart-foot { padding: 1.6rem var(--pad); border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); margin-bottom: 0.4rem; }
.cart-total .amt { font-size: 1.6rem; color: var(--wine); }
.cart-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 1.1rem; }
.cart-foot .btn { width: 100%; justify-content: center; }

/* toast */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(140px); background: var(--wine); color: var(--cream); padding: 1em 2em; font-size: 0.78rem; letter-spacing: 0.1em; z-index: 3000; transition: transform 0.5s var(--ease); border-radius: 2px; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* page intro headers */
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 6rem)); padding-bottom: clamp(2.5rem, 6vh, 5rem); }
.page-head .display { font-size: clamp(2.6rem, 7vw, 6rem); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .editorial, .editorial.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .editorial.reverse .editorial__media { order: 0; }
  .collection-grid, .product-grid, .steps, .price-cols, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .vlabel { display: none; }
}
@media (max-width: 680px) {
  .nav, .header__cta .enquire { display: none; }
  .burger { display: flex; }
  .header__cta { gap: 1rem; }
  .collection-grid, .product-grid, .steps, .price-cols, .gallery-grid, .ig-grid { grid-template-columns: 1fr; }
  .gallery-item.tall, .ig-tile.tall { grid-row: span 1; aspect-ratio: 1; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .product__add { transform: none; opacity: 1; position: static; margin-top: 1rem; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .split-text .word .inner { opacity: 1 !important; transform: none !important; }
  .reveal-img::after { display: none; }
  .reveal-img img { transform: none; }
  .hero__media img { animation: none; transform: scale(1); }
  .cursor, .cursor-ring { display: none !important; }
  body.cursor-on { cursor: auto; }
  .marquee__track { animation: none; }
}

/* =========================================================
   v3 ADDITIONS — logo, header icons, search, rounded media,
   visible add-to-cart, delivery, custom builder, account,
   legal, occasion cards, social icons, mailing list
   ========================================================= */

/* ---- Brand logo (swaps wine/cream by header state) ---- */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { height: 30px; width: auto; display: block; transition: height 0.5s var(--ease); }
.header.scrolled .brand-logo { height: 26px; }
.brand-logo--cream { display: none; }
.header.on-hero:not(.scrolled) .brand-logo--wine { display: none; }
.header.on-hero:not(.scrolled) .brand-logo--cream { display: block; }
.footer .brand-logo { height: 30px; }

/* ---- Header utility icons ---- */
.header__icons { display: flex; align-items: center; gap: clamp(0.3rem, 1vw, 0.7rem); }
.ic {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: inherit; background: none; border: none; cursor: pointer;
  border-radius: 50%; transition: opacity 0.3s, background 0.3s;
}
.ic:hover { opacity: 0.6; }
.ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic .cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  font-size: 0.58rem; letter-spacing: 0;
}
.header.on-hero:not(.scrolled) .ic .cart-count { background: var(--cream); color: var(--wine); }

/* Header: full nav restored; hamburger opens a right-side dropdown for extra nav */
.header__icons .burger { margin-left: 0.2rem; }
@media (max-width: 1080px) { .header .nav { display: none; } }
@media (max-width: 860px) { .ic-desktop { display: none; } }

.menu-drop {
  position: fixed; top: 78px; right: var(--pad);
  width: min(320px, 88vw);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.6rem;
  z-index: 1100;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu-open .menu-drop { opacity: 1; visibility: visible; transform: none; }
.menu-drop__inner { display: flex; flex-direction: column; }
.menu-drop a { padding: 0.62em 0.8em; border-radius: 8px; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--ink); transition: background 0.2s, color 0.2s; }
.menu-drop a:hover, .menu-drop a.active { background: var(--cream-2); color: var(--wine); }
.menu-drop__sep { height: 1px; background: var(--line); margin: 0.5rem 0.4rem; }
.menu-drop__contact { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; padding: 0.5rem 0.8rem 0.3rem; }
.menu-drop__contact a { font-family: var(--sans); font-style: normal; font-size: 0.82rem; padding: 0.2em 0; color: var(--muted); }
.menu-drop__contact a:hover { background: none; color: var(--wine); }

/* ---- Search panel ---- */
.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1300;
  background: var(--cream);
  padding: clamp(90px, 13vh, 130px) var(--pad) clamp(1.6rem, 5vh, 3rem);
  transform: translateY(-101%); transition: transform 0.55s var(--ease);
  box-shadow: 0 30px 70px -34px rgba(35, 10, 16, 0.45);
}
.search-panel.open { transform: none; }
.search-panel form { display: flex; align-items: center; gap: 1rem; max-width: var(--maxw); margin: 0 auto; border-bottom: 1px solid var(--line); }
.search-panel input { flex: 1; background: none; border: none; color: var(--wine); font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 4vw, 2.8rem); padding: 0.3em 0; }
.search-panel input:focus { outline: none; }
.search-panel input::placeholder { color: var(--muted); }
.search-panel button { background: none; border: none; cursor: pointer; color: var(--wine); }
.search-panel button svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.search-hint { max-width: var(--maxw); margin: 1rem auto 0; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---- Rounded media everywhere ---- */
.editorial__media, .col-card__media, .product__media, .gallery-item,
.ig-tile, .intro-figure, .cart-item__thumb, .reveal-img,
.account-card, .login-card, .postcode-card, .occasion-card__media { border-radius: var(--img-radius); }
.editorial__media img, .col-card__media img, .product__media img,
.gallery-item img, .ig-tile img { border-radius: inherit; }

/* ---- Product card: always-visible Add to Cart ---- */
.product__add {
  position: static; transform: none; opacity: 1;
  margin-top: 1.1rem; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  background: var(--wine); color: var(--cream);
  border: none; cursor: pointer; border-radius: 8px;
  padding: 1.05em 1.4em;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.35s var(--ease);
}
.product__add:hover { background: var(--wine-deep); }
.product__add svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---- Section sub-nav (shop occasion etc.) ---- */
.shop-section-head { text-align: center; margin: clamp(3.5rem,7vw,6rem) 0 clamp(2rem,4vw,3rem); }

/* ---- Occasion / greeting cards ---- */
.occasion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); }
.occasion-card { display: flex; flex-direction: column; text-align: center; }
.occasion-card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-2); margin-bottom: 1rem; }
.occasion-card__media .ph { position: absolute; inset: 0; font-size: 2.6rem; }
.occasion-card h3 { font-size: 1.25rem; }
.occasion-card .price { font-family: var(--display); font-style: italic; color: var(--wine); margin: 0.2rem 0 0.9rem; font-size: 1.15rem; }
.occasion-card .product__add { margin-top: auto; }
@media (max-width: 980px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .occasion-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Social / contact icon rows ---- */
.social-icons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  color: inherit; transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.social-icons a:hover { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.social-icons svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.dark .social-icons a, .footer .social-icons a { border-color: rgba(247,241,231,0.3); }
.dark .social-icons a:hover, .footer .social-icons a:hover { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.contact-quick { display: grid; gap: 0.4rem; margin-top: 1.4rem; }
.contact-quick a { display: inline-flex; align-items: center; gap: 0.7em; font-size: 1.05rem; }
.contact-quick svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; color: var(--gold); }

/* ---- Delivery / postcode checker ---- */
.postcode-card {
  max-width: 620px; margin: 0 auto; background: var(--ivory);
  border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); text-align: center;
}
.postcode-form { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.postcode-form input {
  flex: 1; background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 1em 1.1em; font-size: 1rem; color: var(--ink); letter-spacing: 0.1em;
}
.postcode-form input:focus { outline: none; border-color: var(--wine); }
.postcode-result { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: 10px; font-size: 0.98rem; display: none; }
.postcode-result.show { display: block; }
.postcode-result.ok { background: rgba(118,150,90,0.12); color: #46612f; border: 1px solid rgba(118,150,90,0.4); }
.postcode-result.fee { background: rgba(176,141,87,0.14); color: #7a5a22; border: 1px solid rgba(176,141,87,0.5); }
.postcode-result.no { background: rgba(94,34,48,0.08); color: var(--wine); border: 1px solid var(--line); }
.delivery-zones { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.zone { border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; text-align: center; }
.zone .amt { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--wine); display: block; margin-bottom: 0.3rem; }
@media (max-width: 720px){ .delivery-zones { grid-template-columns: 1fr; } .postcode-form { flex-direction: column; } }

/* ---- Custom order builder ---- */
.builder { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); max-width: 880px; margin: 0 auto; }
.fieldset { border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem,2.5vw,2rem); background: var(--ivory); }
.fieldset > legend, .fieldset > .legend { display: flex; align-items: baseline; gap: 0.7rem; font-family: var(--display); font-style: italic; color: var(--wine); font-size: 1.35rem; margin-bottom: 1rem; }
.fieldset .legend .idx { font-style: italic; }
.field-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; display: block; }
.builder select, .builder input[type="text"], .builder input[type="email"], .builder input[type="tel"], .builder input[type="number"], .builder input[type="date"], .builder textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.85em 1em; font-size: 0.98rem; color: var(--ink); font-family: var(--sans);
}
.builder textarea { min-height: 90px; resize: vertical; }
.builder select:focus, .builder input:focus, .builder textarea:focus { outline: none; border-color: var(--wine); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px){ .grid-2 { grid-template-columns: 1fr; } }
.swatches { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 0.95em; border: 1px solid var(--line); border-radius: 40px; cursor: pointer; font-size: 0.82rem; background: var(--cream); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch .dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.18); }
.swatch.sel { border-color: var(--wine); background: #fff; box-shadow: inset 0 0 0 1px var(--wine); }
.lettering-controls { display: flex; gap: 0.7rem; align-items: flex-end; flex-wrap: wrap; }
.lettering-controls > div { flex: 1; min-width: 120px; }
.lettering-preview { margin-top: 0.9rem; font-family: var(--display); font-style: italic; color: var(--wine); font-size: 1.2rem; min-height: 1.4em; }
.addon-note { font-size: 0.82rem; color: var(--gold); letter-spacing: 0.04em; margin-top: 0.6rem; }
.builder-disclaimer { font-size: 0.86rem; color: var(--muted); background: rgba(94,34,48,0.05); border-radius: 10px; padding: 1rem 1.2rem; }
.builder-disclaimer strong { color: var(--wine); }

/* ---- Login / account ---- */
.auth-wrap { min-height: 60vh; display: grid; place-items: center; }
.login-card, .account-card { width: 100%; max-width: 460px; background: var(--ivory); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); }
.account-card { max-width: 760px; }
.auth-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.auth-tab { flex: 1; background: none; border: none; cursor: pointer; padding: 0.8em; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.active { color: var(--wine); border-bottom-color: var(--wine); }
.auth-form { display: none; flex-direction: column; gap: 1rem; }
.auth-form.active { display: flex; }
.auth-form label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.auth-form input { width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 0.9em 1em; font-size: 1rem; color: var(--ink); margin-top: 0.3rem; }
.auth-form input:focus { outline: none; border-color: var(--wine); }
.auth-msg { font-size: 0.9rem; padding: 0.6rem 0; min-height: 1.4em; }
.auth-msg.err { color: var(--wine); }
.auth-msg.ok { color: #46612f; }

/* ---- Order status timeline ---- */
.orders-list { display: grid; gap: 1.4rem; }
.order { border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.2rem,2.5vw,1.8rem); }
.order__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: 1.2rem; }
.order__id { font-family: var(--display); font-style: italic; color: var(--wine); font-size: 1.2rem; }
.order__meta { font-size: 0.82rem; color: var(--muted); }
.timeline { display: flex; gap: 0; }
.tl-step { flex: 1; text-align: center; position: relative; font-size: 0.72rem; color: var(--muted); }
.tl-step::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.tl-step:first-child::before { display: none; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); margin: 0 auto 0.6rem; position: relative; z-index: 1; }
.tl-step.done .tl-dot { background: var(--gold); border-color: var(--gold); }
.tl-step.current .tl-dot { background: var(--wine); border-color: var(--wine); box-shadow: 0 0 0 4px rgba(94,34,48,0.15); }
.tl-step.done::before, .tl-step.current::before { background: var(--gold); }
.tl-step.current .tl-label, .tl-step.done .tl-label { color: var(--ink); }

/* ---- Legal pages ---- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 2.2rem 0 0.6rem; }
.legal h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; list-style: disc; }
.legal li { margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; }

/* ---- Mailing-list checkbox (cart + builder) ---- */
.ml-check { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.4rem 0 1rem; font-size: 0.82rem; color: var(--ink); cursor: pointer; line-height: 1.4; }
.ml-check input { margin-top: 0.15rem; accent-color: var(--wine); width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Preloader logo (replaces text wordmark) ---- */
.preloader__logo { height: clamp(34px, 7vw, 62px); width: auto; transform: translateY(40px); opacity: 0; animation: plogo 1s var(--ease) 0.15s forwards; }
@keyframes plogo { to { transform: none; opacity: 1; } }
.search-close { font-size: 1.1rem; }

/* ---- Header: nav grouped top-right with the icons ---- */
.header__right { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); }

/* ---- In-cart greeting card dropdown ---- */
.cart-cards { margin-bottom: 1rem; }
.cart-cards select {
  width: 100%; margin-top: 0.45rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.7em 0.9em; font-size: 0.9rem; color: var(--ink); cursor: pointer;
}
.cart-cards select:focus { outline: none; border-color: var(--wine); }

/* ---- Custom builder: variety greyed out when unavailable in chosen colour ---- */
.swatch.disabled { opacity: 0.32; pointer-events: none; text-decoration: line-through; }

/* ---- Shop discounts ---- */
.product__price .was { color: var(--muted); text-decoration: line-through; font-size: 0.8em; margin-right: 0.35em; }
.product__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--wine); color: var(--cream);
  font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.5em 0.8em; border-radius: 40px;
}

/* ---- Admin dashboard ---- */
.admin-wrap { max-width: 920px; margin: 0 auto; }
.admin-tabs { display: flex; gap: 0.4rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; flex-wrap: wrap; }
.admin-tab { background: none; border: none; cursor: pointer; padding: 0.8em 1.2em; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tab.active { color: var(--wine); border-bottom-color: var(--wine); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2rem); margin-bottom: 1.6rem; }
.admin-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.admin-form { display: grid; gap: 0.9rem; }
.admin-form label { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.8em 1em; font-size: 0.95rem; color: var(--ink); font-family: var(--sans);
}
.admin-form textarea { min-height: 120px; resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--wine); }
.admin-msg { font-size: 0.9rem; min-height: 1.3em; }
.admin-msg.ok { color: #46612f; } .admin-msg.err { color: var(--wine); }
.admin-list { display: grid; gap: 0.6rem; margin-top: 1rem; }
.admin-list .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.9rem; }
.admin-stat { font-family: var(--display); font-style: italic; font-size: 2.4rem; color: var(--wine); }

/* =========================================================
   v4 — hero carousel, product pages, information page
   ========================================================= */

/* ---- Hero carousel ---- */
.hero__media .hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 7s linear;
  will-change: opacity, transform;
}
.hero__media .hero-slide.active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .hero__media .hero-slide { transition: opacity 0.4s linear; transform: none !important; }
}

/* ---- Shop: collection blocks ---- */
.collection-block + .collection-block { padding-top: clamp(2rem, 5vw, 4rem); }
.product__link { display: block; color: inherit; }
.product__link:hover h3 { color: var(--wine-deep); }
a.product__add { text-decoration: none; }

/* ---- Product detail page ---- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.pdp-main { position: relative; aspect-ratio: 4/5; border-radius: var(--img-radius); overflow: hidden; background: var(--cream-2); }
.pdp-main .ph { position: absolute; inset: 0; font-size: 2rem; }
.pdp-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.pdp-thumb {
  width: 82px; height: 100px; padding: 0; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; background: var(--cream-2); cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.active { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.pdp-info { position: sticky; top: 110px; }
.pdp-price { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--wine); margin: 1rem 0 1.4rem; }
.pdp-price .was { color: var(--muted); text-decoration: line-through; font-size: 0.62em; margin-right: 0.4em; }
.pdp-fields { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.pdp-field select, .pdp-field input[type="date"] {
  width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.85em 1em; font-size: 0.98rem; color: var(--ink); font-family: var(--sans);
}
.pdp-field select:focus, .pdp-field input:focus { outline: none; border-color: var(--wine); }
.pdp-hint { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 0.35rem; }
.pdp-note { font-size: 0.86rem; color: var(--muted); background: rgba(94,34,48,0.05); border-radius: 10px; padding: 0.9rem 1.1rem; margin-top: 1.2rem; }
.pdp-note strong { color: var(--wine); }
.pdp-details { margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.pdp-details h3 { font-size: 1.1rem; margin: 1rem 0 0.5rem; }
.pdp-details ul { list-style: disc; padding-left: 1.2rem; color: var(--muted); font-size: 0.92rem; }
.pdp-details li { margin-bottom: 0.3rem; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
}

/* ---- Information / FAQ page ---- */
.info-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: clamp(2rem,5vw,3.5rem); }
.info-nav a { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.65em 1.3em; border: 1px solid var(--line); border-radius: 999px; transition: all 0.3s var(--ease); }
.info-nav a:hover { border-color: var(--wine); color: var(--wine); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
  font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--wine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold); transition: transform 0.3s; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { padding-bottom: 1.2rem; color: var(--ink); font-size: 0.96rem; }
.faq details ul { list-style: disc; padding-left: 1.3rem; }
.faq details li { margin-bottom: 0.35rem; }
.policy-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem,3vw,2rem); margin-bottom: 1.4rem; }
.policy-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.policy-card ul { list-style: disc; padding-left: 1.3rem; color: var(--ink); }
.policy-card li { margin-bottom: 0.4rem; }
.hours-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.hours-grid .zone { text-align: left; }
@media (max-width: 620px){ .hours-grid { grid-template-columns: 1fr; } }

/* ---- Cart: requested date line ---- */
.cart-item__info .when { font-size: 0.76rem; color: var(--gold); margin-top: 2px; }

/* =========================================================
   v5 — hero + collection card legibility fixes
   ========================================================= */

/* Hero eyebrow: cream (was gold on bright photos = unreadable) */
.hero .hero__eyebrow { color: var(--cream); text-shadow: 0 1px 16px rgba(20,8,12,0.7); }
.hero .hero__eyebrow::before, .hero .hero__eyebrow.center::after { background: var(--cream); opacity: 0.85; }
/* Slightly stronger scrim behind the hero copy for guaranteed contrast */
.hero__media::after {
  background:
    linear-gradient(to top, rgba(20,8,12,0.86) 0%, rgba(20,8,12,0.34) 48%, rgba(20,8,12,0.42) 100%);
}
.hero__title { text-shadow: 0 2px 30px rgba(20,8,12,0.5); }
.hero__row p { text-shadow: 0 1px 16px rgba(20,8,12,0.65); }

/* Collection cards: solid readable caption panel instead of text-on-photo */
.col-card__media::after {
  background: linear-gradient(to top, rgba(35,10,16,0.92) 0%, rgba(35,10,16,0.55) 32%, rgba(35,10,16,0.05) 62%);
  opacity: 1;
}
.col-card__cap { padding: clamp(1.1rem, 2vw, 1.6rem); }
.col-card__cap h3 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.15;
}
.col-card__cap .from {
  color: #fff;
  background: rgba(94,34,48,0.92);
  display: inline-block;
  padding: 0.32em 0.85em;
  border-radius: 40px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-top: 0.55rem;
}
.col-card__cap .go { border-color: rgba(255,255,255,0.8); color: #fff; }

/* ---- Product "what's included" edit list (gifting bundles) ---- */
.pdp-details__title { font-size: 1.35rem; margin-bottom: 1rem; }
.edit-block { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; background: var(--ivory); }
.edit-block__head {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); padding-bottom: 0.7rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--line);
}
.edit-list { list-style: none; padding: 0; }
.edit-list li {
  position: relative; padding-left: 1.35rem; margin-bottom: 0.5rem;
  font-size: 0.93rem; color: var(--ink); line-height: 1.5;
}
.edit-list li::before { content: "✦"; position: absolute; left: 0; top: 0.05em; color: var(--gold); font-size: 0.75em; }
.edit-list li.edit-total {
  margin-top: 0.8rem; padding-top: 0.7rem; padding-left: 0; border-top: 1px dotted var(--line);
  font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--wine);
}
.edit-list li.edit-total::before { content: none; }

/* =========================================================
   v6 — mobile usability fixes
   ========================================================= */

/* Toast must never block the checkout button (it sat over the cart footer) */
.toast { pointer-events: none; }
/* When the cart is open, lift the toast clear of the drawer footer */
body:has(.cart-drawer.open) .toast, body.cart-open .toast { bottom: auto; top: 96px; }

@media (max-width: 860px) {
  /* --- Touch targets: 44px minimum on the controls people actually tap --- */
  .cart-close {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: -10px; /* keep it visually aligned to the edge */
  }
  .qty { gap: 0.9rem; }
  .qty button { width: 38px; height: 38px; font-size: 1.05rem; }
  .remove-item { padding: 10px 0; }
  .filter-btn { padding: 0.85em 1.4em; }
  .footer__links a { padding-block: 0.7rem; }
  .menu-drop__contact a { padding: 0.55em 0; }

  /* --- Cart drawer: use the full width on small screens --- */
  .cart-drawer { width: 100%; max-width: 100%; }

  /* --- Product page: roomier thumbs --- */
  .pdp-thumb { width: 76px; height: 94px; }

  /* --- Stop iOS auto-zoom on focus (inputs must be >=16px) --- */
  input, select, textarea,
  .builder input, .builder select, .builder textarea,
  .auth-form input, .admin-form input, .admin-form select, .admin-form textarea,
  .pdp-field select, .pdp-field input, .postcode-form input,
  .cart-cards select, .field input, .field textarea, .search-panel input,
  .footer .news input,
  .pdp-field input[type="date"], .pdp-field input[type="text"],
  .builder input[type="text"], .builder input[type="email"], .builder input[type="tel"],
  .builder input[type="number"], .builder input[type="date"], .builder input[type="url"],
  .postcode-form input[type="text"] { font-size: 16px; }

  /* --- Hero: a little tighter so the CTA sits on screen --- */
  .hero__actions .btn { padding: 1.05em 1.7em; font-size: 0.7rem; }
}

/* Safe-area padding for notched phones */
@supports (padding: max(0px)) {
  .header__inner, .footer .wrap { padding-left: max(var(--pad), env(safe-area-inset-left));
                                  padding-right: max(var(--pad), env(safe-area-inset-right)); }
  .cart-foot { padding-bottom: max(1.6rem, env(safe-area-inset-bottom)); }
}

/* =========================================================
   v7 — Times New Roman throughout
   ========================================================= */
/* Headings stay Times New Roman; UI + body use the clean sans */
body { font-weight: 300; letter-spacing: 0.01em; }

/* =========================================================
   v7 — hero logo title, story emphasis, enquiry CTA,
   extras picker, mailing-list popup
   ========================================================= */

/* Hero title as the real logo (guarantees the brand typeface) */
.hero__title--logo { margin: 0; line-height: 0; }
.hero__title--logo img {
  width: min(660px, 82vw);
  height: auto;
  filter: drop-shadow(0 2px 26px rgba(20, 8, 12, 0.45));
}
@media (max-width: 680px) { .hero__title--logo img { width: min(430px, 88vw); } }

/* Our Story — larger to draw attention */
.story-lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink); }
.story-body { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }

/* Enquiries: custom-order route sits beside the general form */
.enquiry-cta {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--ivory);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.enquiry-cta__note { margin: 0; font-family: var(--display); font-style: italic; color: var(--wine); font-size: 1.05rem; }

/* Extras picker (product pages + custom form) */
.extras-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.extras-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.45rem; }
.swatch.maxed { opacity: 0.4; pointer-events: none; }

/* Mailing-list popup */
.ml-pop {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(35, 10, 16, 0.55);
  display: grid; place-items: center; padding: var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.ml-pop.open { opacity: 1; visibility: visible; }
.ml-pop__card {
  position: relative; width: 100%; max-width: 440px; text-align: center;
  background: var(--cream); border-radius: 16px; padding: clamp(1.8rem, 5vw, 2.6rem);
  box-shadow: var(--shadow); transform: translateY(14px); transition: transform 0.45s var(--ease);
}
.ml-pop.open .ml-pop__card { transform: none; }
.ml-pop__logo { height: 26px; width: auto; margin: 0 auto 1.1rem; }
.ml-pop__card h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 0.5rem; }
.ml-pop__card p { color: var(--muted); margin: 0 auto 1.4rem; max-width: 34ch; }
.ml-pop__form { display: grid; gap: 0.7rem; }
.ml-pop__form input {
  width: 100%; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.9em 1em; font-size: 16px; color: var(--ink); text-align: center;
}
.ml-pop__form input:focus { outline: none; border-color: var(--wine); }
.ml-pop__close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1rem;
}
.ml-pop__dismiss { margin-top: 0.9rem; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.82rem; text-decoration: underline; padding: 8px; }

/* =========================================================
   v8 — cart room, collection sub-labels, extras pricing
   ========================================================= */

/* Cart: give the item list far more room and show it scrolls */
.cart-items { position: relative; min-height: 40vh; }
.cart-drawer .cart-foot { padding-block: 1rem; }
.cart-note { font-size: 0.72rem; line-height: 1.45; margin-bottom: 0.7rem; }
.ml-check { font-size: 0.76rem; margin: 0.2rem 0 0.7rem; }
.cart-cards { margin-bottom: 0.7rem; }
.cart-cards select { padding: 0.55em 0.9em; }
.cart-item { padding-block: 0.9rem; }
.cart-item__thumb { width: 58px; height: 70px; }
.cart-total { margin-bottom: 0.2rem; }
.cart-total .amt { font-size: 1.4rem; }
/* fade hint at the bottom of a scrollable list */
.cart-items::after {
  content: ""; position: sticky; bottom: -1.4rem; display: block;
  height: 28px; margin-top: -28px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}

/* Collection sub-label under the collection name */
.collection-sub {
  font-family: var(--display); font-style: italic; color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem); margin-inline: auto;
}

/* Extras price hints */
.extra-price { color: var(--gold); font-size: 0.78em; letter-spacing: 0.02em; }
.pearl-input { flex-basis: 100%; margin-top: 0.6rem; }
.pearl-input input {
  width: 100%; background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.7em 0.9em; font-size: 16px; color: var(--ink);
}
.pearl-input input:focus { outline: none; border-color: var(--wine); }
/* Compact cart rows so several items are visible at once */
.cart-item { padding-block: 0.7rem; gap: 0.8rem; }
.cart-item__thumb { width: 50px; height: 60px; }
.cart-item__info h4 { font-size: 1rem; line-height: 1.2; }
.cart-item__info .opt, .cart-item__info .when { font-size: 0.72rem; }
.cart-item__info .line-price { font-size: 0.95rem; margin-top: 2px; }
.qty { margin-top: 0.35rem; }
.qty button { width: 26px; height: 26px; }
@media (max-width: 860px) { .qty button { width: 34px; height: 34px; } }
.remove-item { font-size: 0.68rem; }

/* =========================================================
   v10 — Discount codes in the cart
   ========================================================= */
.promo { margin: 1rem 0 0.4rem; }
.promo__row { display: flex; gap: 0.5rem; }
.promo-input {
  flex: 1; min-width: 0;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.72em 0.9em; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.promo-input::placeholder { letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.promo-input:focus { outline: none; border-color: var(--gold); }
.promo-apply {
  background: none; border: 1px solid var(--wine); color: var(--wine);
  border-radius: 10px; padding: 0.72em 1.1em; cursor: pointer;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.promo-apply:hover { background: var(--wine); color: var(--cream); }
.promo.has-code .promo__row { display: none; }
.promo-msg { font-size: 0.78rem; margin-top: 0.5rem; line-height: 1.5; }
.promo-msg.ok { color: #2f6b46; }
.promo-msg.err { color: #a3323f; }

.cart-sub, .cart-disc {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; font-size: 0.85rem; color: var(--muted);
  padding: 0.3rem 0;
}
.cart-disc { color: #2f6b46; }
.cart-disc .amt { margin-left: auto; }
.promo-remove {
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-size: 0.9rem; line-height: 1; padding: 0.35rem; margin-left: 0.2rem;
  min-width: 28px; min-height: 28px;
}
.promo-remove:hover { color: var(--wine); }

/* Admin: discount codes table */
.code-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.code-row .tagcode { font-family: var(--sans); letter-spacing: 0.12em; font-weight: 500; color: var(--wine); }
.code-row .meta { font-size: 0.78rem; color: var(--muted); }
.code-row .spacer { flex: 1; }
.code-row.off .tagcode, .code-row.off .meta { opacity: 0.45; text-decoration: line-through; }

/* =========================================================
   v11 — Hero offer list (replaces the hero paragraph)
   ========================================================= */
.hero__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem clamp(1.1rem, 2.2vw, 2rem);
  max-width: 44ch;
  margin: 0;
  padding: 0;
  list-style: none;
  /* the site's display face is Times New Roman; upright here rather than the
     italic used for headings, so the range reads plainly */
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.06rem, 1.6vw, 1.36rem);
  letter-spacing: 0.012em;
  line-height: 1.3;
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(20, 8, 12, 0.6);
  opacity: 0;
  animation: fade 1s ease 1.3s forwards;
}
/* Every item carries its own gold rule rather than sitting between items, so
   a wrapped line never begins with a stray mark or loses one. */
.hero__offer li { display: flex; align-items: center; gap: 0.7rem; }
.hero__offer li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
@media (max-width: 680px) {
  .hero__offer { flex-direction: column; align-items: flex-start; gap: 0.4rem; max-width: none; }
}
