/* =========================================================
   House of Athlèva — "Quiet Luxury" design system
   Mobile-first. Breakpoints: 768px (tablet), 1024px, 1280px.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ivory: #F7F3EA;
  --white: #FFFFFF;
  --onyx: #111111;
  --graphite: #4A4A4A;
  --gold: #B8934A;
  --gold-light: #D9C18A;
  --gold-text: #8A6A2E;          /* AA-safe gold for small text on ivory */
  --sand: #E9E1D1;
  --success: #2F6B4F;
  --error: #9B2C2C;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-label: "Cinzel", "Cormorant Garamond", serif;
  --font-body: "Inter", "Manrope", system-ui, -apple-system, sans-serif;

  --radius: 3px;
  --container: 1320px;
  --gutter: 1.25rem;
  --section-y: 4.5rem;
  --header-h: 64px;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --dur: 600ms;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --section-y: 6rem; --header-h: 84px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background-color: var(--ivory);
  /* Subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; color: var(--onyx); font-family: var(--font-display); font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--onyx); color: var(--ivory); padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--gold { color: var(--gold-light); }

.section-title { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: .01em; }

.section { padding-block: var(--section-y); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head--row {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 768px) {
  .section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--onyx);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { gap: .8rem; color: var(--gold-text); }

.draft-note {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--error); opacity: .75; margin-top: .5rem;
}
.center { text-align: center; }

/* Gold hairline with centred four-point star */
.star-divider {
  display: flex; align-items: center; gap: 1.25rem;
  color: var(--gold); font-size: .9rem;
}
.star-divider::before, .star-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .6;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.75rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { background: var(--onyx); color: var(--ivory); }
.btn--primary:hover { background: #2a2a2a; border-color: var(--gold); }
.btn--light { background: var(--ivory); color: var(--onyx); }
.btn--light:hover { background: var(--white); border-color: var(--gold); }
.btn--ghost-light { border-color: rgba(247,243,234,.6); color: var(--ivory); }
.btn--ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border-color: var(--onyx); color: var(--onyx); }
.btn--outline:hover { background: var(--onyx); color: var(--ivory); }
.btn--gold { background: var(--gold); color: var(--onyx); }
.btn--gold:hover { background: var(--gold-light); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--onyx);
  transition: color var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--gold-text); }

/* ---------- 5. Announcement bar ---------- */
.announcement {
  position: relative;
  background: var(--onyx); color: var(--gold-light);
  text-align: center;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .65rem 3rem;
}
.announcement p { margin: 0; }
.announcement a:hover { color: var(--ivory); }
.announcement__close {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center; color: var(--gold-light);
}

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--sand); }

.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  transition: height var(--dur) var(--ease);
}
.header.is-scrolled .header__inner { height: calc(var(--header-h) - 14px); }

.header__menu-btn { justify-self: start; margin-left: -10px; }
.header__nav { display: none; }
.header__actions { justify-self: end; display: flex; align-items: center; margin-right: -10px; }
.hide-sm { display: none; }

.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.logo__mark {
  width: auto; height: 36px;
  transition: height var(--dur) var(--ease);
}
.header.is-scrolled .logo__mark { height: 28px; }
.logo__word {
  font-family: var(--font-label); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--onyx); white-space: nowrap;
}

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--onyx); color: var(--gold-light);
  font-size: .62rem; font-weight: 600; line-height: 17px; text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
  .header__menu-btn { display: none; }
  .header__nav {
    display: flex; gap: 2rem; justify-self: start;
    font-family: var(--font-label); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--onyx);
  }
  .header__nav a { position: relative; padding-block: .5rem; }
  .header__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: center;
    transition: transform var(--dur) var(--ease);
  }
  .header__nav a:hover::after { transform: scaleX(1); }
  .hide-sm { display: inline-flex; }
  .logo__mark { height: 48px; }
  .header.is-scrolled .logo__mark { height: 36px; }
  .logo__word { font-size: .72rem; }
}

/* ---------- 7. Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ivory);
  display: flex; flex-direction: column;
  padding: 1rem var(--gutter) 2rem;
  animation: fadeIn 400ms var(--ease);
  overflow-y: auto;
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: .25rem; margin-block: 2.5rem; }
.mobile-menu__nav a {
  font-family: var(--font-display); font-size: 2rem; color: var(--onyx);
  padding-block: .5rem; border-bottom: 1px solid var(--sand);
}
.mobile-menu__foot {
  display: flex; gap: 1.5rem; margin-top: 2rem;
  font-family: var(--font-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- 8. Placeholder imagery (REPLACE with real photography) ---------- */
.placeholder-img {
  position: relative; background-color: var(--sand);
  background-size: cover; background-position: center;
}
.placeholder-tag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(17,17,17,.6); color: var(--ivory); padding: .3rem .6rem; border-radius: 2px;
}
.placeholder-img--a  { background-image: linear-gradient(160deg, #d9cdb6, #a88f6c); }
.placeholder-img--b  { background-image: linear-gradient(160deg, #3b3a38, #121212); }
.placeholder-img--c  { background-image: linear-gradient(160deg, #e6d8bd, #c2a26a); }
.placeholder-img--p1 { background-image: radial-gradient(circle at 50% 55%, #2a2622 0 22%, #e9e1d1 23%); }
.placeholder-img--p1b{ background-image: linear-gradient(160deg, #3a3129, #171411); }
.placeholder-img--p2 { background-image: radial-gradient(circle at 50% 55%, #e8d6b5 0 22%, #f1ebdf 23%); }
.placeholder-img--p2b{ background-image: linear-gradient(160deg, #efe2c8, #d1b88a); }
.placeholder-img--p3 { background-image: radial-gradient(circle at 50% 55%, #9b6b35 0 22%, #e9e1d1 23%); }
.placeholder-img--p3b{ background-image: linear-gradient(160deg, #b5874d, #5e3f1e); }
.placeholder-img--p4 { background-image: radial-gradient(circle at 50% 55%, #c69a95 0 22%, #f1ebdf 23%); }
.placeholder-img--p4b{ background-image: linear-gradient(160deg, #d8b3ad, #8f5f58); }
.placeholder-img--n1 { background-image: linear-gradient(170deg, #e3d4b9, #b99d74); }
.placeholder-img--n1b{ background-image: linear-gradient(170deg, #cdb894, #8e7350); }
.placeholder-img--n2 { background-image: linear-gradient(170deg, #4a4845, #161616); }
.placeholder-img--n2b{ background-image: linear-gradient(170deg, #2e2d2b, #0b0b0b); }
.placeholder-img--n3 { background-image: linear-gradient(170deg, #8b6a52, #4a3426); }
.placeholder-img--n3b{ background-image: linear-gradient(170deg, #a5836a, #5d4433); }
.placeholder-img--n4 { background-image: linear-gradient(170deg, #2b2724, #0e0d0c); }
.placeholder-img--n4b{ background-image: linear-gradient(170deg, #4b423a, #1b1714); }
.placeholder-img--s1 { background-image: linear-gradient(135deg, #d7c7a8, #9e8360); }
.placeholder-img--s2 { background-image: linear-gradient(135deg, #2c2a27, #6b5c45); }
.placeholder-img--s3 { background-image: linear-gradient(135deg, #efe5d2, #c9ad7c); }
.placeholder-img--s4 { background-image: linear-gradient(135deg, #8b6a52, #c3a585); }
.placeholder-img--s5 { background-image: linear-gradient(135deg, #1b1a18, #4a4239); }
.placeholder-img--s6 { background-image: linear-gradient(135deg, #e3d4b9, #b8934a); }

/* Scroll reveal (only when JS has opted in) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--delay, 0ms), transform 1s var(--ease) var(--delay, 0ms); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 11. Product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--white);
}
.product-card__media > .placeholder-img { position: absolute; inset: 0; transition: transform 1.2s var(--ease), opacity var(--dur) var(--ease); }
.product-card__alt { opacity: 0; }
.product-card:hover .product-card__media > .placeholder-img { transform: scale(1.02); }
.product-card:hover .product-card__alt { opacity: 1; }

.badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  font-family: var(--font-label); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--onyx); color: var(--gold-light);
  padding: .35rem .6rem; border-radius: 2px;
}
.badge--light { background: var(--ivory); color: var(--onyx); }

.product-card__body { padding-top: .9rem; }
.product-card__origin {
  display: flex; align-items: center; gap: .35rem;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .3rem;
}
.product-card__origin::before { content: "✦"; font-size: .55rem; color: var(--gold); }
.product-card__name {
  font-size: 1.2rem; font-weight: 500; line-height: 1.25; margin-bottom: .45rem;
}
.product-card__name a:hover { color: var(--gold-text); }
.product-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; }

.price {
  font-family: var(--font-body); font-variant-numeric: tabular-nums;
  font-weight: 500; color: var(--onyx); font-size: .95rem;
  display: inline-flex; gap: .5rem; align-items: baseline;
}
.price__was { color: var(--graphite); font-weight: 400; font-size: .82rem; opacity: .7; }

.stock { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .35rem; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--success); }
.stock--out { color: var(--error); }

.quick-add {
  margin-top: .9rem; min-height: 44px; width: 100%;
  border: 1px solid var(--onyx); border-radius: var(--radius);
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--onyx);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.quick-add:hover:not(:disabled) { background: var(--onyx); color: var(--ivory); }
.quick-add:disabled { border-color: var(--sand); color: #8a8a8a; cursor: not-allowed; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. Carousels (CSS scroll-snap, no JS) ---------- */
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.carousel > * { scroll-snap-align: start; }
@media (min-width: 768px) { .carousel { grid-auto-columns: calc((100% - 2rem) / 3); gap: 1.5rem; } }
@media (min-width: 1280px) { .carousel { grid-auto-columns: calc((100% - 4.5rem) / 4); margin-inline: 0; padding-inline: 0; } }

/* ---------- 17. Trust bar ---------- */
.trust { border-block: 1px solid var(--sand); background: var(--white); }
.trust__list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem;
  padding-block: 2rem;
}
.trust__list li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .06em; color: var(--onyx);
}
.trust__list .icon { color: var(--gold); width: 26px; height: 26px; }
@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__list li { flex-direction: row; justify-content: center; text-align: left; }
}

/* ---------- 18. Footer ---------- */
.footer { background: var(--onyx); color: rgba(247,243,234,.72); padding-block: 4rem 2rem; font-size: .9rem; }
.footer a:hover { color: var(--gold-light); }
.footer h3 {
  font-family: var(--font-label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.1rem; font-weight: 400;
}
.footer__signup { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.footer__title { color: var(--ivory); font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .5rem; }
.signup-form { display: flex; gap: .5rem; }
.signup-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem;
  background: transparent; border: 1px solid rgba(247,243,234,.3); border-radius: var(--radius);
  color: var(--ivory); font: inherit;
}
.signup-form input::placeholder { color: rgba(247,243,234,.5); }
.signup-form input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }

.star-divider--dark { margin-bottom: 3rem; }

.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.footer__brand, .footer__contact { grid-column: 1 / -1; }
.footer__cols ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__contact p { margin-bottom: .9rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .4rem; }

.logo--footer { display: inline-block; }
.logo--footer img { width: 190px; height: auto; }
.logo--menu { flex-direction: row; gap: .6rem; }
.logo--menu .logo__mark { height: 32px; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ivory); margin-top: 1rem; }
.footer__social { display: flex; gap: .25rem; margin-left: -10px; }
.footer__social .icon-btn { color: var(--ivory); }

.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(247,243,234,.12);
  display: flex; flex-direction: column; gap: .5rem; font-size: .78rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
  .footer__signup { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; }
  .footer__brand, .footer__contact { grid-column: auto; }
}

/* ---------- 19. WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory); color: var(--onyx);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(17,17,17,.15);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.whatsapp-fab .icon { width: 26px; height: 26px; }
.whatsapp-fab:hover { background: var(--white); transform: translateY(-2px); }
@media (min-width: 768px) { .whatsapp-fab { right: 1.75rem; bottom: 1.75rem; } }

/* ---------- 20. Motion ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -400; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ---- Bestsellers: all categories with tabs ---- */
.best-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: -1rem calc(var(--gutter) * -1) 1.5rem; padding: 0 var(--gutter) .2rem; }
.best-tabs::-webkit-scrollbar { display: none; }
.best-tab { flex: 0 0 auto; min-height: 42px; padding: 0 1.1rem; border: 1px solid var(--sand); border-radius: 999px; background: var(--white);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--onyx); white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.best-tab:hover { border-color: var(--gold); }
.best-tab.is-on { background: var(--onyx); color: var(--gold-light); border-color: var(--onyx); }
@media (min-width: 768px) { .best-tabs { margin-inline: 0; padding-inline: 0; } }
.product-card__media picture, .product-card__media > img { position: absolute; inset: 0; display: block; }
.product-card__media picture img, .product-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card[hidden] { display: none; }
.best-empty { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--graphite); }

/* ---- Bestsellers: all categories + tabs ---- */
.best-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: -1rem calc(var(--gutter) * -1) 1.5rem; padding: 0 var(--gutter) .25rem; }
.best-tabs::-webkit-scrollbar { display: none; }
.best-tab { flex: 0 0 auto; min-height: 42px; padding: 0 1.1rem; border: 1px solid var(--sand); border-radius: 999px; background: var(--white);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--onyx); white-space: nowrap; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.best-tab:hover { border-color: var(--gold); }
.best-tab.is-on { background: var(--onyx); color: var(--gold-light); border-color: var(--onyx); }
@media (min-width: 768px) { .best-tabs { margin-inline: 0; padding-inline: 0; } }
.product-card__media > picture, .product-card__media > picture img, .product-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__media img { transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card[hidden] { display: none; }
.best-empty { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }

/* ---- Shop page ---- */
.shop-head .page-head__inner { padding-bottom: 3rem; }
.shop-tabs { margin-top: 0; }
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--sand); }
.shop-count { margin: 0; font-size: .85rem; letter-spacing: .08em; color: var(--graphite); }
.shop-bar__ctl { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.shop-stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--onyx); cursor: pointer; min-height: 44px; }
.shop-stock input { width: 18px; height: 18px; accent-color: var(--onyx); }
.shop-sort { min-height: 44px; padding: 0 2rem 0 .8rem; font: inherit; font-size: .88rem; color: var(--onyx); background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); }
.shop-sort:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.best-empty a { color: var(--gold-text); text-decoration: underline; }

/* =========================================================
   29. Shopping bag, options window, checkout & confirmation
   ========================================================= */
/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--white); }
.qty button { width: 40px; height: 44px; font-size: 1.1rem; color: var(--onyx); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty input { width: 44px; height: 44px; border: 0; text-align: center; font: inherit; color: var(--onyx); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 32px; height: 34px; font-size: 1rem; }
.qty--sm span { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; color: var(--onyx); font-size: .9rem; }

/* options window */
.opt-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.opt-modal__scrim, .bag-drawer__scrim { position: absolute; inset: 0; background: rgba(17,17,17,.45); opacity: 0; transition: opacity 400ms var(--ease); }
.opt-modal.is-open .opt-modal__scrim, .bag-drawer.is-open .bag-drawer__scrim { opacity: 1; }
.opt-modal__panel {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: var(--ivory);
  border-radius: 6px 6px 0 0; transform: translateY(24px); opacity: 0; transition: transform 450ms var(--ease), opacity 450ms var(--ease);
}
.opt-modal.is-open .opt-modal__panel { transform: none; opacity: 1; }
.opt-modal__x { position: absolute; top: .5rem; right: .5rem; z-index: 2; background: rgba(247,243,234,.85); border-radius: 50%; }
.opt-modal__media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.opt-modal__media img, .opt-modal__media .placeholder-img { width: 100%; height: 100%; object-fit: cover; }
.opt-modal__body { padding: 1.5rem var(--gutter) 2rem; }
.opt-modal__name { font-size: 1.9rem; margin: .2rem 0 .4rem; }
.opt-modal__price { font-size: 1.05rem; color: var(--onyx); font-weight: 500; margin-bottom: .6rem; }
.opt-modal__desc { font-size: .92rem; margin-bottom: 1.2rem; }
.opt-modal__desc:empty { display: none; }
.opt-group { border: 0; margin: 0 0 1.1rem; padding: 0; }
.opt-group legend { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--onyx); font-weight: 500; margin-bottom: .55rem; padding: 0; }
.opt-group legend span { letter-spacing: .04em; text-transform: none; color: var(--graphite); font-weight: 400; }
.opt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt-chip {
  min-width: 52px; min-height: 44px; padding: 0 1rem; border: 1px solid var(--sand); background: var(--white);
  border-radius: var(--radius); color: var(--onyx); font-size: .88rem; transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.opt-chip:hover:not(:disabled) { border-color: var(--gold); }
.opt-chip.is-on { border-color: var(--onyx); background: var(--onyx); color: var(--ivory); }
.opt-chip:disabled { color: #b5ada0; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.opt-row { display: flex; align-items: center; gap: 1rem; margin: .3rem 0 .6rem; }
.opt-stock { margin: 0; }
.opt-msg { margin: 0 0 .6rem; font-size: .85rem; color: var(--error); min-height: 1.2em; }
.opt-add { width: 100%; }
.opt-add:disabled { opacity: .55; cursor: not-allowed; }
.opt-wa { display: block; text-align: center; margin: .9rem 0 .4rem; font-size: .85rem; color: var(--onyx); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.opt-note { text-align: center; font-size: .76rem; margin: 0; }
.opt-note a { text-decoration: underline; }
@media (min-width: 768px) {
  .opt-modal { align-items: center; padding: 2rem; }
  .opt-modal__panel { max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
  .opt-modal__media { aspect-ratio: auto; min-height: 100%; }
  .opt-modal__body { padding: 2.5rem 2.25rem; }
}

/* slide-out bag */
.bag-drawer { position: fixed; inset: 0; z-index: 300; }
.bag-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ivory);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 450ms var(--ease);
  box-shadow: -10px 0 40px rgba(17,17,17,.12);
}
.bag-drawer.is-open .bag-drawer__panel { transform: none; }
.bag-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--sand); }
.bag-drawer__head h2 { font-size: 1.6rem; }
.bag-drawer__head h2 span { font-family: var(--font-body); font-size: .85rem; color: var(--graphite); }
.bag-drawer__flash { margin: 0; padding: 0 var(--gutter); font-size: .85rem; color: var(--success); }
.bag-drawer__flash:not(:empty) { padding-block: .7rem; background: rgba(47,107,79,.06); }
.bag-drawer__items { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.bag-drawer__foot { padding: 1.1rem var(--gutter) 1.4rem; border-top: 1px solid var(--sand); background: var(--white); }
.bag-drawer__foot:empty { display: none; }
.bag-lines { display: grid; }
.bag-line { display: grid; grid-template-columns: 76px 1fr auto; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--sand); }
.bag-line:last-child { border-bottom: 0; }
.bag-line.is-out { opacity: .6; }
.bag-line__img { width: 76px; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; border-radius: 2px; }
.bag-line__img img, .bag-line__img .placeholder-img { width: 100%; height: 100%; object-fit: cover; }
.bag-line__info { min-width: 0; }
.bag-line__name { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--onyx); line-height: 1.2; }
.bag-line__opt { margin: .15rem 0 .55rem; font-size: .8rem; }
.bag-line__warn { margin: 0 0 .4rem; font-size: .78rem; color: var(--error); }
.bag-line__ctl { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.bag-line__rm { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--graphite); min-height: 34px; }
.bag-line__rm:hover { color: var(--error); }
.bag-line__price { margin: 0; color: var(--onyx); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bag-sum { display: flex; justify-content: space-between; margin: 0 0 .4rem; color: var(--onyx); font-size: 1.05rem; }
.bag-sum dt { font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; align-self: center; }
.bag-sum dd { margin: 0; font-weight: 500; }
.bag-note { font-size: .8rem; margin: 0 0 .9rem; }
.bag-note--small { font-size: .72rem; margin: .8rem 0 0; text-align: center; }
.bag-cta { width: 100%; }
.bag-cta + .bag-cta { margin-top: .6rem; }
.bag-empty { text-align: center; padding: 3.5rem 0; }
.bag-empty p { font-family: var(--font-display); font-size: 1.4rem; color: var(--onyx); }

/* ---- Performance & SEO pass ---- */
.logo picture, .logo--menu picture { display: contents; }          /* optimised logo keeps the old layout */
.logo--footer picture { display: block; }
a.best-tab { display: inline-flex; align-items: center; text-decoration: none; }
.nf { padding-block: 3rem var(--section-y); }
.nf .star-divider { margin: 1.25rem auto; }
.nf__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Shared by several pages (moved from page stylesheets) ---- */
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > * {
  display: inline-block; transform: translateY(105%);
  animation: lineUp 1.1s calc(.5s + var(--d) * .18s) var(--ease) forwards;
}
.hero__reveal { opacity: 0; animation: rise 1.1s calc(.5s + var(--d) * .18s) var(--ease) forwards; }
@media (prefers-reduced-motion: reduce) {
  .hero__frame, .hero__badge, .hero__pass, .hero__reveal, .hero__spark { opacity: 1 !important; transform: none !important; }
  .hero__line > * { transform: none; }
}
.section-lede { max-width: 32rem; margin: 1rem auto 0; color: var(--graphite); }
.story__text p:not(.eyebrow):not(.draft-note) { max-width: 36rem; font-size: 1.05rem; }
.split__panel p:not(.eyebrow) { max-width: 30rem; margin-bottom: 1.75rem; }
.split__title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 1rem; }
.split__panel--dark .split__title { color: var(--ivory); }
.breadcrumb {
  display: flex; gap: .6rem; align-items: center; margin-bottom: 3rem; align-self: flex-start;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,243,234,.6);
}
.breadcrumb span[aria-hidden] { color: var(--gold); font-size: .55rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.about-hero__ticket.hero__reveal { animation: rise 1.1s calc(.5s + var(--d) * .18s) var(--ease) forwards, float 6s 2.5s ease-in-out infinite; }
.page-head { background: var(--sand); text-align: center; position: relative; overflow: hidden; }
.page-head::after { /* faint gold star watermark */
  content: "✦"; position: absolute; right: -2rem; top: -3rem; font-size: 16rem; line-height: 1;
  color: var(--gold); opacity: .07; pointer-events: none; animation: spin 90s linear infinite;
}
.page-head__inner { padding-block: 2rem 4rem; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.breadcrumb--dark { color: var(--graphite); }
.breadcrumb--dark a:hover { color: var(--gold-text); }
.page-head__title { font-weight: 400; font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1.04; margin-bottom: 1.25rem; }
.page-head__title em { font-style: italic; color: var(--gold-text); }
.page-head__sub { max-width: 34rem; font-size: 1.05rem; margin-bottom: 2rem; }
.loy-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--onyx); font-weight: 500; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--graphite); font-weight: 400; }
.field input, .field__phone { min-height: 48px; width: 100%; padding: 0 .9rem; font: inherit; color: var(--onyx); background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field input:focus, .field__phone:focus-within { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,147,74,.15); }
.field__phone { display: flex; align-items: center; gap: .6rem; padding: 0 0 0 .9rem; }
.field__phone span { color: var(--onyx); font-variant-numeric: tabular-nums; padding-right: .6rem; border-right: 1px solid var(--sand); }
.field__phone input { border: 0; box-shadow: none !important; padding-left: 0; min-height: 46px; }
.field.has-error input, .field.has-error .field__phone { border-color: var(--error); }
.field__err { margin: 0; font-size: .8rem; color: var(--error); min-height: 0; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--onyx); flex-shrink: 0; }
.check a { color: var(--onyx); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.loy-form__btn { width: 100%; margin-top: .25rem; }
.loy-refer p:not(.eyebrow) { margin-inline: auto; }
.field .check { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; color: var(--graphite); }
.field__pw { position: relative; }
.field__pw input { padding-right: 4.5rem; }
.field__eye {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  min-height: 38px; padding: 0 .75rem; border-radius: 2px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text);
}
.field__eye:hover { color: var(--onyx); background: var(--ivory); }
.field.has-error .field__hint { display: none; }
.login-forgot { justify-self: center; font-size: .85rem; color: var(--onyx); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.login-forgot { background: none; border: 0; cursor: pointer; font: inherit; font-size: .85rem; }
.login-ok { margin: 0; text-align: center; font-size: .88rem; color: var(--success); min-height: 0; }
.co-select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 .9rem; font: inherit; color: var(--onyx); background: var(--white);
  border: 1px solid var(--sand); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { padding: .75rem .9rem; resize: vertical; }
.co-select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,147,74,.15); }
.field.has-error .co-select { border-color: var(--error); }

/* ---- Shared by several pages (moved from page stylesheets) ---- */
.footer__cols { }
@media (min-width: 1024px) {
  .footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
}

/* Loading placeholders for product cards */
.product-card--skeleton { pointer-events: none; }
.product-card--skeleton .product-card__media { background: linear-gradient(100deg, var(--sand) 40%, #f1ebdf 50%, var(--sand) 60%) 0 0 / 200% 100%; animation: skel 1.4s linear infinite; }
.sk-line { height: .8rem; margin: .7rem 0 0; background: var(--sand); border-radius: 2px; width: 80%; }
.sk-line--short { width: 45%; }
@keyframes skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .product-card--skeleton .product-card__media { animation: none; } }

/* Options window: photo thumbnails */
.opt-modal__media { position: relative; }
.opt-thumbs { position: absolute; left: .75rem; bottom: .75rem; display: flex; gap: .4rem; }
.opt-thumb { width: 44px; height: 54px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; overflow: hidden; opacity: .75; background: var(--sand); }
.opt-thumb.is-on { opacity: 1; border-color: var(--gold); }
.opt-thumb img { width: 100%; height: 100%; object-fit: cover; }

.opt-add + .opt-note { margin-top: .9rem; }
/* Footer sign-up confirmation */
.form-note { margin: .75rem 0 0; font-size: .9rem; color: var(--ivory); }
.form-note.is-err { color: #E8A39A; }
.footer__signup .form-note { grid-column: 1 / -1; margin-top: -.75rem; }
@media (min-width: 1024px) { .footer__signup .form-note { grid-column: 2; } }
/* Search panel */
.search-panel { position: fixed; inset: 0; z-index: 300; }
.search-panel__scrim { position: absolute; inset: 0; background: rgba(17,17,17,.45); opacity: 0; transition: opacity var(--dur) var(--ease); }
.search-panel.is-open .search-panel__scrim { opacity: 1; }
.search-panel__box {
  position: absolute; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; background: var(--ivory);
  padding: 1rem 1rem 1.5rem; transform: translateY(-12px); opacity: 0; transition: transform 400ms var(--ease), opacity 400ms var(--ease);
  box-shadow: 0 10px 40px rgba(17,17,17,.12);
}
.search-panel.is-open .search-panel__box { transform: none; opacity: 1; }
.search-panel__form { display: flex; align-items: center; gap: .6rem; max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--gold); padding-bottom: .4rem; }
.search-panel__form > .icon { flex: none; color: var(--gold); }
.search-panel__form input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; font: inherit; font-size: 1.1rem; color: var(--onyx); }
.search-panel__form input:focus { outline: 0; }
.search-panel__form input::-webkit-search-cancel-button { display: none; }
.search-panel__count { max-width: 760px; margin: .9rem auto .4rem; font-size: .85rem; color: var(--graphite); }
.search-panel__list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: .25rem; }
.search-hit { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .55rem .4rem; background: none; border: 0; border-radius: var(--radius); text-align: left; font: inherit; color: var(--onyx); cursor: pointer; }
.search-hit:hover, .search-hit:focus-visible { background: var(--white); }
.search-hit[aria-disabled="true"] { cursor: default; opacity: .6; }
.search-hit__img { flex: none; width: 56px; height: 70px; background: var(--sand); border-radius: 2px; overflow: hidden; }
.search-hit__img img { width: 100%; height: 100%; object-fit: cover; }
.search-hit__txt { display: grid; gap: .2rem; min-width: 0; }
.search-hit__name { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.search-hit__meta { font-size: .85rem; color: var(--graphite); }
@media (min-width: 768px) { .search-panel__box { padding: 1.75rem 2rem 2.25rem; } }
.field__ok { margin: 0; font-size: .8rem; color: var(--success, #2F6B46); }
.footer__signup > * { min-width: 0; }
.footer__title { overflow-wrap: break-word; }
/* Fuller phone menu: slightly smaller links so it fits most screens without scrolling */
.mobile-menu__nav { margin-block: 1.5rem; }
.mobile-menu__nav a { font-size: 1.65rem; padding-block: .4rem; }
