/* ============================================================
   NUAD NUAD — Aroma Relaxing Design System
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Aroma palette — warm sand, essential oil amber, soft eucalyptus */
  --sand-50:  #FDFAF6;
  --sand-100: #F8F1E8;
  --sand-200: #F0E5D6;
  --sand-300: #E3D2BC;
  --sand-400: #CDB79A;

  --wood-400: #C09B76;
  --wood-500: #A67C52;
  --wood-600: #8A6440;

  --amber-300: #E9BE7C;
  --amber-400: #DDA455;
  --amber-500: #C98A3E;
  --amber-600: #A96E2B;

  --leaf-300: #9DB3A4;
  --leaf-500: #5C7A69;
  --leaf-700: #3A5245;
  --leaf-900: #24352C;

  --ink-900: #241F1A;
  --ink-700: #4A4139;
  --ink-500: #6E6357;
  --ink-300: #9C9186;

  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --surface: var(--white);
  --border: rgba(166, 124, 82, 0.18);
  --border-strong: rgba(166, 124, 82, 0.34);
  --text: var(--ink-900);
  --text-soft: var(--ink-500);
  --brand: var(--leaf-700);
  --accent: var(--amber-500);

  --ok-bg: #E7F1E9;  --ok-fg: #2C5A3B;
  --warn-bg: #FBF0DC; --warn-fg: #8A6109;
  --info-bg: #E6EEF3; --info-fg: #2A5069;
  --danger-bg: #FBE9E7; --danger-fg: #9B3A2C;

  /* Type — Anuphan is a modern geometric Thai sans; Outfit handles
     Latin display text and numerals where we want extra character. */
  --font-body: 'Anuphan', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Anuphan', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Anuphan', sans-serif;

  /* Space & shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(36, 31, 26, .05), 0 2px 8px rgba(36, 31, 26, .04);
  --shadow-md: 0 4px 12px rgba(36, 31, 26, .07), 0 12px 32px rgba(36, 31, 26, .06);
  --shadow-lg: 0 10px 24px rgba(36, 31, 26, .09), 0 28px 64px rgba(36, 31, 26, .10);
  --shadow-amber: 0 6px 20px rgba(201, 138, 62, .28);

  --wrap: 1200px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: var(--leaf-900);
}
h1 { font-size: clamp(1.9rem, 5.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.6rem); font-weight: 650; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.12rem, 2.7vw, 1.45rem); letter-spacing: -0.018em; }
h4 { font-size: 1.05rem; }

/* Latin display face for numerals, prices and English accents */
.num, .price-row .amt, .prod-price .now, .promo-card .now,
.hero-stat .n, .sum-row.total .v, .stat-card .n, .copy-row .val {
  font-family: var(--font-display);
  font-feature-settings: 'tnum' 1;
}

p { text-wrap: pretty; }
strong, b { font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wood-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood-400));
}
.eyebrow.center::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--wood-400));
}

.lead { font-size: clamp(1rem, 2.2vw, 1.12rem); color: var(--text-soft); }
.muted { color: var(--text-soft); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap-narrow { max-width: 820px; }

section { position: relative; }
/* `clip` (not `hidden`) so no scroll container is created and sticky children
   keep working — this stops reveal transforms from widening the document. */
.section { padding-block: clamp(56px, 9vw, 104px); overflow-x: clip; }
.section-sm { padding-block: clamp(40px, 6vw, 64px); overflow-x: clip; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 12px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
/* Grid children default to min-width:auto, which lets wide content
   (iframes, tables, long words) push a track past the viewport. */
.grid > *, .layout-main > *, .split-2 > * { min-width: 0; }

/* Main content + sticky summary sidebar (booking, cart, checkout).
   Defined here rather than inline so the mobile breakpoint can override it. */
.layout-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.layout-side { position: sticky; top: calc(var(--nav-h) + 16px); }

/* Vertical stack whose column is definite, so aspect-ratio boxes inside
   size from the available width instead of expanding the track. */
.stack { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }

.split-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 3vw, 28px);
  align-items: center;
}
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.wrap-flex { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.hide { display: none !important; }

/* ---------- Decorative textures ---------- */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Parallax offset written by motion.js as --py */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ---------- Icons ---------- */
.ic {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }
.ic-xl { width: 34px; height: 34px; stroke-width: 1.3; }

.icon-badge {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--sand-100), var(--sand-200));
  border: 1px solid var(--border);
  color: var(--wood-600);
  flex: none;
}
.icon-badge.leaf { background: linear-gradient(150deg, #EAF0EC, #DCE7DF); color: var(--leaf-700); border-color: rgba(92,122,105,.2); }
.icon-badge.amber { background: linear-gradient(150deg, #FBEFDC, #F6E2C4); color: var(--amber-600); border-color: rgba(201,138,62,.24); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ic { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: #fff;
  box-shadow: var(--shadow-amber);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(201,138,62,.4); transform: translateY(-2px); }

.btn-dark {
  background: linear-gradient(135deg, var(--leaf-700), var(--leaf-900));
  color: #fff;
  box-shadow: 0 6px 20px rgba(36,53,44,.26);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(36,53,44,.34); }

.btn-outline {
  background: rgba(255,255,255,.6);
  border-color: var(--border-strong);
  color: var(--leaf-900);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: #fff; border-color: var(--wood-500); transform: translateY(-2px); }

.btn-ghost { color: var(--leaf-900); padding-inline: 14px; }
.btn-ghost:hover { background: rgba(166,124,82,.09); }

.btn-line { background: #06C755; color: #fff; box-shadow: 0 6px 18px rgba(6,199,85,.3); }
.btn-line:hover { transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 11px 17px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- Cards & surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card-body { padding: clamp(18px, 2.4vw, 26px); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 500;
  background: var(--sand-100);
  border: 1px solid var(--border);
  color: var(--wood-600);
}
.chip.amber { background: #FBEFDC; border-color: rgba(201,138,62,.28); color: var(--amber-600); }
.chip.leaf  { background: #EAF0EC; border-color: rgba(92,122,105,.24); color: var(--leaf-700); }
.chip.hot   { background: linear-gradient(135deg, #E4573D, #C13B22); border-color: transparent; color: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: .74rem; font-weight: 500;
}
.badge.ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge.warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge.info { background: var(--info-bg); color: var(--info-fg); }
.badge.danger { background: var(--danger-bg); color: var(--danger-fg); }
.badge.muted { background: var(--sand-200); color: var(--ink-500); }

.divider { height: 1px; background: var(--border); border: 0; margin-block: 20px; }

/* Ornamental divider */
.orn {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--wood-400); margin-block: 8px;
}
.orn::before, .orn::after {
  content: ''; height: 1px; width: min(90px, 18vw);
  background: linear-gradient(90deg, transparent, var(--wood-400), transparent);
}

/* ---------- Forms ---------- */
.field { margin-bottom: 17px; }
.label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink-700);
}
.label .req { color: #C0563E; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238A6440' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(201,138,62,.15);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input.err, .select.err, .textarea.err { border-color: #C0563E; box-shadow: 0 0 0 3px rgba(192,86,62,.13); }
.err-msg { color: #A8432E; font-size: .8rem; margin-top: 5px; display: none; }
.err-msg.show { display: block; }

.hint { font-size: .8rem; color: var(--text-soft); margin-top: 6px; }

/* Option tiles (radio/checkbox cards) */
.opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.opt:hover { border-color: var(--wood-400); background: var(--sand-50); }
.opt input { accent-color: var(--amber-500); width: 18px; height: 18px; flex: none; cursor: pointer; }
.opt.sel { border-color: var(--amber-500); background: #FDF6EA; box-shadow: 0 0 0 3px rgba(201,138,62,.1); }
.opt-main { flex: 1; min-width: 0; }
/* These are spans so they can nest inside a <label>; force block so the
   title and its subtitle never run together on one line. */
.opt-title { display: block; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.opt-sub { display: block; font-size: .8rem; color: var(--text-soft); line-height: 1.45; }

/* Time slot pills */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; }
.slot {
  padding: 11px 6px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .9rem;
  font-weight: 400;
  text-align: center;
  transition: all .16s var(--ease);
  font-variant-numeric: tabular-nums;
}
.slot:hover:not(:disabled) { border-color: var(--wood-500); transform: translateY(-1px); }
.slot.sel { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); border-color: transparent; color: #fff; box-shadow: var(--shadow-amber); font-weight: 500; }
.slot:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* A touch deeper than the page so the header — and the logo in it — separates */
  background: rgba(244, 235, 223, .86);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(36,31,26,.05); }
.header .wrap { display: flex; align-items: center; gap: 20px; }

.brand {
  display: flex; align-items: center; gap: 12px; flex: none;
  /* Slightly deeper pill behind the lockup so the pale logo reads as a
     distinct mark instead of blending into the near-white header. */
  padding: 6px 16px 6px 6px;
  margin-left: -6px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(166,124,82,.13), rgba(92,122,105,.10));
  border: 1px solid rgba(166,124,82,.16);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.brand:hover { border-color: rgba(166,124,82,.34); transform: translateY(-1px); }
.brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  /* Dark ring lifts the cream logo tile off the page */
  border: 2px solid var(--leaf-900);
  box-shadow: 0 2px 10px rgba(36,53,44,.22), 0 0 0 3px rgba(253,250,246,.9);
  background: var(--sand-50);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.brand:hover img { transform: rotate(-5deg) scale(1.05); box-shadow: 0 4px 16px rgba(36,53,44,.3), 0 0 0 3px rgba(253,250,246,1); }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.16rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--leaf-900); line-height: 1.1;
}
.brand-sub {
  font-family: var(--font-display);
  font-size: .62rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--wood-600);
}

.nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav a {
  padding: 9px 13px;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink-700);
  transition: background-color .18s, color .18s;
}
.nav a:hover { background: rgba(166,124,82,.1); color: var(--leaf-900); }
.nav a.active { color: var(--leaf-900); font-weight: 500; background: rgba(166,124,82,.12); }

.head-actions { display: flex; align-items: center; gap: 9px; flex: none; }

.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--leaf-900); transition: all .18s; }
.cart-btn:hover { border-color: var(--wood-500); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -3px; right: -3px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #E4573D, #C13B22);
  color: #fff; font-size: .68rem; font-weight: 600;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
  font-variant-numeric: tabular-nums;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }

.burger { display: none; width: 42px; height: 42px; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--leaf-900); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(36,31,26,.42);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(84vw, 340px);
  background: var(--bg);
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: -12px 0 40px rgba(36,31,26,.16);
}
.drawer.open .drawer-panel { transform: none; }
/* Column flex children shrink by default; without this the menu buttons get
   squashed below a tappable height once the list overflows on small phones. */
.drawer-panel > * { flex: none; }
.drawer-panel a.dnav {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px; border-radius: var(--r-md);
  font-size: 1rem; color: var(--ink-700);
  transition: background-color .16s;
}
.drawer-panel a.dnav:hover, .drawer-panel a.dnav.active { background: var(--sand-100); color: var(--leaf-900); }
.drawer-panel a.dnav .ic { color: var(--wood-500); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sand-100); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(34px, 6vw, 70px));
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(233,190,124,.32), transparent 62%),
    radial-gradient(880px 560px at 8% 104%, rgba(157,179,164,.30), transparent 60%),
    linear-gradient(178deg, var(--sand-50), var(--sand-100));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--amber-500), var(--wood-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 38px);
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-stat .n {
  font-family: var(--font-head); font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  font-weight: 600; color: var(--leaf-900); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat .l { font-size: .78rem; color: var(--text-soft); margin-top: 5px; }

/* Hero media collage */
.hero-media { position: relative; }
.hero-media-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.7);
  aspect-ratio: 4 / 5;
  background: var(--sand-200);
  position: relative;
}
.hero-media-main img, .hero-media-main video { width: 100%; height: 100%; object-fit: cover; }
/* Clips are vertical social videos with captions burned into the top —
   anchor to the bottom so the frame shows the massage, not the caption. */
.hero-media-main video, .clip-crop img, .clip-crop video { object-position: center 78%; }
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 13px 16px;
  display: flex; align-items: center; gap: 11px;
}
.hero-float.tl { top: 22px; left: -18px; }
.hero-float.br { bottom: 24px; right: -16px; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floaty { animation: floaty 5.5s ease-in-out infinite; }
.floaty-2 { animation: floaty 6.8s ease-in-out infinite .8s; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: linear-gradient(100deg, var(--leaf-900), var(--leaf-700) 55%, #2E4438);
  color: var(--sand-200);
  padding-block: 13px;
  border-block: 1px solid rgba(255,255,255,.07);
}
.marquee-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding-inline: 26px; font-size: .87rem; white-space: nowrap;
}
.marquee-item .ic { color: var(--amber-300); }

/* ---------- Service cards ---------- */
.svc { display: flex; flex-direction: column; height: 100%; }
.svc-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-100);
  position: relative;
}
.svc-photo::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(transparent, rgba(36,53,44,.14));
  pointer-events: none;
}
.svc-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc:hover .svc-photo img { transform: scale(1.06); }
.svc-top {
  padding: 20px 22px 0;
  display: flex; align-items: flex-start; gap: 14px;
}
.svc-body { padding: 16px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 1.16rem; margin-bottom: 3px; }
.svc .en { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-500); }
.svc .desc { font-size: .9rem; color: var(--text-soft); margin-top: 10px; flex: 1; }

.price-rows { margin-top: 16px; border-top: 1px dashed var(--border-strong); }
.price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.price-row:last-child { border-bottom: 0; }
.price-row .dur { color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.price-row .amt { font-weight: 600; color: var(--leaf-900); font-variant-numeric: tabular-nums; }
.price-row .amt span { font-size: .78rem; font-weight: 300; color: var(--text-soft); }

/* ---------- Promo banner ---------- */
.promo-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #16110C;
}
.promo-hero img { width: 100%; }

.promo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 26px 24px;
  color: #fff;
  background: linear-gradient(150deg, #23342B, #16221B);
  border: 1px solid rgba(233,190,124,.24);
  display: flex; flex-direction: column; min-height: 200px;
}
.promo-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(340px 200px at 88% 8%, rgba(233,190,124,.3), transparent 68%);
  pointer-events: none;
}
.promo-card > * { position: relative; z-index: 1; }
.promo-card h3 { color: #fff; font-size: 1.32rem; }
.promo-card .was { text-decoration: line-through; opacity: .55; font-size: .92rem; }
.promo-card .now {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, #F7DFB4, var(--amber-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.promo-card .unit { font-size: .95rem; font-weight: 300; color: var(--amber-300); -webkit-text-fill-color: var(--amber-300); }
.promo-card .note { font-size: .82rem; color: rgba(255,255,255,.68); margin-top: auto; padding-top: 14px; }
.promo-thumb {
  margin: -26px -24px 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  position: relative;
}
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo-card:hover .promo-thumb img { transform: scale(1.05); }
.promo-thumb::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(transparent, rgba(22,34,27,.85));
}

.promo-tag {
  position: absolute; top: 0; right: 0; z-index: 2;
  background: linear-gradient(135deg, #E4573D, #C13B22);
  color: #fff; font-size: .72rem; font-weight: 600;
  padding: 6px 14px; border-bottom-left-radius: var(--r-md);
}

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 3/4; background: var(--sand-200); cursor: pointer;
  border: 1px solid var(--border);
}
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item.tall { aspect-ratio: 3/5; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 16/10; }
.gal-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  color: #fff; pointer-events: none;
}
.gal-play .ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.6);
  display: grid; place-items: center;
}
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 14px 12px; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20,16,12,.94);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img, .lightbox video { max-width: min(94vw, 900px); max-height: 86vh; border-radius: var(--r-md); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(8px);
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(8px);
}
.lightbox-nav.prev { left: 14px; } .lightbox-nav.next { right: 14px; }

/* ---------- Reviews ---------- */
.rev { padding: 24px; display: flex; flex-direction: column; gap: 13px; height: 100%; }
.stars { display: flex; gap: 2px; color: var(--amber-500); }
.stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rev-text { font-size: .93rem; color: var(--ink-700); flex: 1; }
.rev-who { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  background: linear-gradient(140deg, var(--sand-200), var(--sand-300));
  color: var(--wood-600); flex: none;
}

/* ---------- Product cards ---------- */
.prod { display: flex; flex-direction: column; height: 100%; position: relative; }
.prod-img { aspect-ratio: 1; background: var(--sand-100); overflow: hidden; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; gap: 7px; }
.prod-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-500); }
.prod-name { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--leaf-900); }
.prod-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.prod-price .now { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--leaf-900); font-variant-numeric: tabular-nums; }
.prod-price .was { font-size: .85rem; text-decoration: line-through; color: var(--ink-300); }
.prod-badge { position: absolute; top: 11px; left: 11px; z-index: 2; }
.prod-actions { display: flex; gap: 8px; margin-top: 11px; }

/* ---------- Cart ---------- */
.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 15px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 78px; height: 78px; border-radius: var(--r-sm); object-fit: cover; background: var(--sand-100); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-full); overflow: hidden; background: #fff; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--wood-600); transition: background-color .15s; }
.qty button:hover { background: var(--sand-100); }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-size: .92rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sum-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: .93rem; }
.sum-row.total {
  border-top: 1px solid var(--border-strong); margin-top: 9px; padding-top: 15px;
  font-size: 1.05rem; font-weight: 500;
}
.sum-row.total .v { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; color: var(--leaf-900); }
.sum-row .v { font-variant-numeric: tabular-nums; }
.sum-row.disc .v { color: #2C7A4B; }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-300); }
.step .dot {
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 500;
  background: var(--sand-200); color: var(--ink-500); flex: none;
}
.step.on { color: var(--leaf-900); font-weight: 500; }
.step.on .dot { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: #fff; }
.step.done .dot { background: var(--leaf-700); color: #fff; }
.step-sep { width: 22px; height: 1px; background: var(--border-strong); }

/* ---------- Upload ---------- */
.drop {
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 32px 20px;
  text-align: center;
  background: var(--sand-50);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--amber-500); background: #FDF6EA; }
.drop-preview { max-height: 260px; margin-inline: auto; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }

/* ---------- Bank / QR ---------- */
.pay-method {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .18s var(--ease);
  background: #fff;
}
.pay-method.sel { border-color: var(--amber-500); box-shadow: 0 0 0 3px rgba(201,138,62,.1); }
.pay-head { display: flex; align-items: center; gap: 13px; padding: 15px 16px; cursor: pointer; }
.pay-body { padding: 0 16px 18px; border-top: 1px dashed var(--border); padding-top: 16px; }
.pay-logo {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
  font-weight: 600; font-size: .78rem; color: #fff;
  background: linear-gradient(135deg, var(--wood-500), var(--wood-600));
}
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; background: var(--sand-100);
  border-radius: var(--r-sm); border: 1px solid var(--border);
}
.copy-row .val { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1rem; font-weight: 500; letter-spacing: .04em; }

/* ---------- Floating actions ---------- */
.fab-stack {
  position: fixed; right: 16px; bottom: 16px; z-index: 180;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab.line { background: #06C755; }
.fab.tel { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); }
.fab.top { background: rgba(36,53,44,.86); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all .28s; }
.fab.top.show { opacity: 1; visibility: visible; }

/* Sticky mobile booking bar */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253,250,246,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  gap: 9px;
}
.mobile-bar .btn { flex: 1; padding-inline: 12px; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(170deg, var(--leaf-900), #1B2820);
  color: rgba(248,241,232,.74);
  padding-top: clamp(46px, 6vw, 70px);
  position: relative; overflow: hidden;
}
.footer h4 { color: var(--sand-100); font-size: .95rem; margin-bottom: 15px; font-family: var(--font-body); font-weight: 500; letter-spacing: .04em; }
.footer a { transition: color .18s; }
.footer a:hover { color: var(--amber-300); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(24px, 3.5vw, 44px); padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand .n { font-family: var(--font-head); font-size: 1.2rem; color: var(--sand-50); }
.footer li { margin-bottom: 9px; font-size: .89rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--amber-300); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(248,241,232,.11);
  padding-block: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(248,241,232,.5);
}
.soc { display: flex; gap: 9px; margin-top: 17px; }
.soc a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(248,241,232,.08);
  border: 1px solid rgba(248,241,232,.12);
  color: var(--sand-100);
  transition: all .2s var(--ease);
}
.soc a:hover { background: var(--amber-500); border-color: transparent; color: #fff; transform: translateY(-2px); }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; z-index: 600;
  left: 50%; transform: translateX(-50%);
  bottom: 24px;
  display: flex; flex-direction: column; gap: 9px;
  width: min(92vw, 400px);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 17px;
  border-radius: var(--r-md);
  background: rgba(36,53,44,.96);
  backdrop-filter: blur(10px);
  color: #fff; font-size: .9rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn .34s var(--ease);
  pointer-events: auto;
}
.toast.ok .ic { color: #7BD8A0; }
.toast.err { background: rgba(140,52,38,.96); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.toast.out { animation: toastOut .28s var(--ease) forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ============================================================
   Motion system
   ============================================================ */

/* ---------- Scroll reveal (variants + stagger) ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 26px), 0) scale(var(--rs, 1));
  filter: blur(var(--rb, 0px));
  transition:
    opacity .78s var(--ease) var(--rd, 0ms),
    transform .78s var(--ease) var(--rd, 0ms),
    filter .78s var(--ease) var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: none; will-change: auto; }

/* Horizontal offsets stay inside the container padding — a larger shift would
   stick out past the viewport while the element waits to be revealed and widen
   the document. */
.reveal-left  { --rx: -20px; --ry: 0; --rs: .985; }
.reveal-right { --rx: 20px;  --ry: 0; --rs: .985; }
.reveal-scale { --ry: 14px; --rs: .94; }
.reveal-soft  { --ry: 18px; --rb: 8px; }
.reveal-flat  { --ry: 0; --rs: .97; }
@media (max-width: 480px) {
  .reveal-left  { --rx: -10px; }
  .reveal-right { --rx: 10px; }
}

/* ---------- Hero entrance ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes wipeIn {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: scale(1.04); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

.enter > * { animation: riseIn .9s var(--ease) both; }
.enter > *:nth-child(1) { animation-delay: .05s }
.enter > *:nth-child(2) { animation-delay: .15s }
.enter > *:nth-child(3) { animation-delay: .25s }
.enter > *:nth-child(4) { animation-delay: .35s }
.enter > *:nth-child(5) { animation-delay: .45s }
.enter > *:nth-child(6) { animation-delay: .55s }

.hero-media-main { animation: wipeIn 1.15s var(--ease) .2s both; }
.hero-float.tl { animation: zoomIn .7s var(--ease) .85s both, floaty 5.5s ease-in-out 1.5s infinite; }
.hero-float.br { animation: zoomIn .7s var(--ease) 1s both, floaty 6.8s ease-in-out 1.8s infinite; }

/* ---------- Ambient drift for the blurred orbs ----------
   Uses the individual `translate`/`scale` properties rather than `transform`
   so the scroll parallax (which writes `transform`) composes with it instead
   of overwriting it. */
@keyframes drift {
  0%, 100% { translate: 0 0; scale: 1; }
  33%      { translate: 26px -22px; scale: 1.07; }
  66%      { translate: -18px 18px; scale: .95; }
}
.orb { animation: drift 19s ease-in-out infinite; }
.orb:nth-of-type(2) { animation-duration: 24s; animation-delay: -7s; }

/* ---------- Buttons: shine sweep + press ripple ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-dark::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  transition: left .65s var(--ease);
}
.btn-primary:hover::after, .btn-dark:hover::after { left: 115%; }

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.45);
  pointer-events: none;
  animation: rippleOut .62s var(--ease) forwards;
  z-index: -1;
}
.btn-outline .ripple, .btn-ghost .ripple { background: rgba(166,124,82,.28); }
@keyframes rippleOut { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Nav underline ---------- */
.nav a { position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-500), var(--wood-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 250;
  background: linear-gradient(90deg, var(--amber-400), var(--wood-500), var(--leaf-500));
  pointer-events: none;
}

/* ---------- Card lift + sheen ---------- */
.card-hover { position: relative; }
.card-hover::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.5), transparent 42%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.card-hover:hover::before { opacity: 1; }

/* ---------- Icon badge pop on card hover ---------- */
.card-hover .icon-badge, .svc .icon-badge {
  transition: transform .42s var(--ease), background-color .3s, color .3s;
}
.card-hover:hover .icon-badge, .svc:hover .icon-badge {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
}

/* ---------- Section headings: animated rule ---------- */
.section-head.center .eyebrow::before,
.section-head.center .eyebrow::after { transition: width .6s var(--ease) .2s; }
.section-head.center.in .eyebrow::before,
.section-head.center.in .eyebrow::after { width: 34px; }

/* ---------- Counter ---------- */
.count { font-variant-numeric: tabular-nums; }

/* ---------- Gallery: zoom + caption slide ---------- */
.gal-item .gal-cap { transform: translateY(6px); opacity: .92; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.gal-item:hover .gal-cap { transform: none; opacity: 1; }
.gal-item .gal-play .ring { transition: transform .4s var(--ease), background-color .3s; }
.gal-item:hover .gal-play .ring { transform: scale(1.12); background: rgba(255,255,255,.32); }

/* ---------- Step pane transition ---------- */
.step-pane, .co-pane { animation: paneIn .5s var(--ease) both; }
@keyframes paneIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Slot / option press feedback ---------- */
.slot, .opt, .pay-method { transition: transform .18s var(--ease), border-color .18s, background-color .18s, box-shadow .18s; }
.slot:active:not(:disabled), .opt:active { transform: scale(.97); }
@keyframes selPop {
  0% { transform: scale(1) } 45% { transform: scale(1.05) } 100% { transform: scale(1) }
}
.slot.sel, .opt.sel { animation: selPop .34s var(--ease); }

/* ---------- Cart badge bump ---------- */
@keyframes bump {
  0% { transform: scale(1) } 35% { transform: scale(1.38) } 100% { transform: scale(1) }
}
.cart-count.bump { animation: bump .45s var(--ease); }

/* ---------- Marquee already animates; pause respectfully ---------- */

/* ---------- Steam / aroma wisps (decorative) ---------- */
.wisps { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.wisp {
  position: absolute;
  bottom: -14%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,190,124,.55), rgba(233,190,124,0) 70%);
  animation: wispRise linear infinite;
}
@keyframes wispRise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12%  { opacity: .85; }
  100% { transform: translate3d(var(--wx, 30px), -108vh, 0) scale(1.9); opacity: 0; }
}

/* ---------- Focus/hover polish ---------- */
.chip, .badge { transition: transform .2s var(--ease), background-color .2s; }
.chip:hover { transform: translateY(-1px); }

.prod-img img, .gal-item img { will-change: transform; }

/* ---------- Embeds ---------- */
.embed-box {
  max-width: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--sand-100);
  box-shadow: var(--shadow-sm);
}
.embed-box iframe { display: block; width: 100%; border: 0; }
.map-embed { aspect-ratio: 16/10; min-height: 300px; }
.map-embed iframe { height: 100%; }

/* ---------- Skeleton ---------- */
.skel {
  background: linear-gradient(100deg, var(--sand-100) 30%, var(--sand-200) 50%, var(--sand-100) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; }
.empty .icon-badge { width: 74px; height: 74px; margin: 0 auto 20px; }
.empty .icon-badge .ic { width: 32px; height: 32px; }

/* ---------- Tables (admin) ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; }
.tbl { min-width: 660px; font-size: .88rem; }
.tbl th {
  text-align: left; font-weight: 500; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text-soft);
  padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--sand-50);
  white-space: nowrap;
}
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--sand-50); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(36,31,26,.5); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .26s, visibility .26s;
  overflow-y: auto;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg); border-radius: var(--r-lg);
  width: min(96vw, 620px); max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.985);
  transition: transform .3s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 2;
}
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; background: var(--bg); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; margin-left: auto; }
  .head-actions { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .layout-main { grid-template-columns: 1fr; }
  .layout-side { position: static; }
  /* Vertical stack whose column is definite, so aspect-ratio boxes inside
   size from the available width instead of expanding the track. */
.stack { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }

.split-2 { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-float.tl { left: 8px; } .hero-float.br { right: 8px; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  body { font-size: 15.5px; }
  .section { padding-block: clamp(44px, 8vw, 64px); }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gal-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .mobile-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 78px; }
  .fab-stack { bottom: 84px; right: 12px; }
  .fab { width: 46px; height: 46px; }
  .cart-line { grid-template-columns: 64px 1fr; grid-template-areas: "img info" "act act"; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-line .c-img { grid-area: img; }
  .cart-line .c-info { grid-area: info; }
  .cart-line .c-act { grid-area: act; display: flex; justify-content: space-between; align-items: center; width: 100%; padding-top: 6px; }
  .steps { gap: 4px; font-size: .78rem; }
  .step-sep { width: 12px; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .brand-sub { display: none; }
  .modal-box { width: 100%; max-height: 96vh; border-radius: var(--r-lg) var(--r-lg) 0 0; align-self: end; }
  .modal { place-items: end center; padding: 0; }
}

@media (max-width: 400px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 15px; }
  .btn { padding: 12px 18px; font-size: .9rem; }
  .btn-lg { padding: 14px 22px; font-size: .95rem; }
  .hero-stats { gap: 16px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: .98rem; }
  .card-body, .panel { padding: 16px; }
  .gal { gap: 7px; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 7px; }
  .slot { font-size: .82rem; padding: 10px 3px; }
  .mobile-bar .btn { font-size: .84rem; padding-inline: 8px; gap: 6px; }
}

@media (max-width: 340px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .mobile-bar .btn .ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .enter > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-media-main { clip-path: none !important; }
  .wisps, .scroll-progress { display: none; }
  .orb { animation: none !important; }
}

@media print {
  .header, .footer, .fab-stack, .mobile-bar, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   Illustrated cards + extra motion
   ============================================================ */

/* ---------- Art card (image header + floating icon badge) ---------- */
.art-card { display: flex; flex-direction: column; height: 100%; }
.art-top {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-100);
}
.art-top img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.art-card:hover .art-top img { transform: scale(1.07); }
.art-top::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(transparent, rgba(36,53,44,.22));
  pointer-events: none;
}
.art-badge {
  position: absolute; left: 16px; bottom: -20px; z-index: 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--wood-600);
  transition: transform .4s var(--ease);
}
.art-badge.leaf { color: var(--leaf-700); }
.art-badge.amber { color: var(--amber-600); }
.art-card:hover .art-badge { transform: translateY(-3px) rotate(-8deg); }
.art-body { padding: 32px 20px 24px; flex: 1; }

/* ---------- Product art fills the tile ---------- */
.prod-img img { transition: transform .6s var(--ease); }

/* ---------- Playful extras ---------- */

/* Gentle breathing on the primary CTA so the eye lands on it */
@keyframes breathe {
  0%, 100% { box-shadow: var(--shadow-amber); }
  50%      { box-shadow: 0 8px 30px rgba(201,138,62,.5); }
}
.hero-cta .btn-primary { animation: breathe 3.6s ease-in-out 2s infinite; }
.hero-cta .btn-primary:hover { animation: none; }

/* Icon nudge on hover for any button that has one */
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-outline:hover .ic, .btn-ghost:hover .ic { transform: translateX(-2px); }

/* Chips pop in */
@keyframes chipIn { from { opacity: 0; transform: scale(.85) } to { opacity: 1; transform: none } }
.reveal.in .chip { animation: chipIn .45s var(--ease) both; }

/* Star twinkle in review cards */
@keyframes twinkle { 0%, 100% { opacity: 1 } 50% { opacity: .55 } }
.rev:hover .stars .ic:nth-child(1) { animation: twinkle 1.1s ease-in-out infinite; }
.rev:hover .stars .ic:nth-child(2) { animation: twinkle 1.1s ease-in-out .1s infinite; }
.rev:hover .stars .ic:nth-child(3) { animation: twinkle 1.1s ease-in-out .2s infinite; }
.rev:hover .stars .ic:nth-child(4) { animation: twinkle 1.1s ease-in-out .3s infinite; }
.rev:hover .stars .ic:nth-child(5) { animation: twinkle 1.1s ease-in-out .4s infinite; }

/* Promo price gets a soft shimmer */
@keyframes priceShine {
  0%   { background-position: -180% 0; }
  60%, 100% { background-position: 180% 0; }
}
.promo-card .now {
  background: linear-gradient(100deg, #F7DFB4 20%, #FFF3DC 42%, var(--amber-400) 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: priceShine 5.5s ease-in-out infinite;
}

/* Section headings underline sweep */
.section-head h2 { position: relative; display: inline-block; }
.section-head.center h2::after {
  content: '';
  position: absolute; left: 50%; bottom: -10px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-500), transparent);
  transform: translateX(-50%);
  transition: width .8s var(--ease) .25s;
}
.section-head.center.in h2::after { width: 78%; }

/* Steps: connecting dashes on wide screens */
.step-card { position: relative; }
@media (min-width: 901px) {
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute; top: 46px; right: -14px;
    width: 14px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--wood-400) 0 4px, transparent 4px 8px);
  }
}

/* Cart line slides in when added */
@keyframes lineIn { from { opacity: 0; transform: translateX(-10px) } to { opacity: 1; transform: none } }
.cart-line { animation: lineIn .38s var(--ease) both; }

/* Table rows fade in */
@keyframes rowIn { from { opacity: 0 } to { opacity: 1 } }
.tbl tbody tr { animation: rowIn .4s var(--ease) both; }
.tbl tbody tr:nth-child(1) { animation-delay: .02s } .tbl tbody tr:nth-child(2) { animation-delay: .06s }
.tbl tbody tr:nth-child(3) { animation-delay: .10s } .tbl tbody tr:nth-child(4) { animation-delay: .14s }
.tbl tbody tr:nth-child(5) { animation-delay: .18s } .tbl tbody tr:nth-child(6) { animation-delay: .22s }

/* FAQ open/close polish */
details[open] > summary ~ * { animation: paneIn .34s var(--ease) both; }

/* Floating action buttons get a soft pulse ring */
.fab.line::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #06C755;
  animation: fabRing 2.8s ease-out infinite;
}
@keyframes fabRing {
  0%   { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}
.fab { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero-cta .btn-primary, .promo-card .now, .fab.line::before,
  .rev:hover .stars .ic, .cart-line, .tbl tbody tr { animation: none !important; }
  .promo-card .now { color: var(--amber-300); -webkit-text-fill-color: var(--amber-300); }
  .section-head.center.in h2::after { transition: none; }
}

/* ============================================================
   Hero photo carousel (replaces the static banner)
   ============================================================ */
.carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sand-200);
  aspect-ratio: 16 / 7;
}
@media (max-width: 720px) { .carousel { aspect-ratio: 4 / 3; border-radius: var(--r-lg); } }

.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 7s linear;
  pointer-events: none;
}
.carousel-slide.on {
  opacity: 1;
  transform: scale(1);            /* slow Ken Burns drift while visible */
  pointer-events: auto;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,28,22,.28) 0%, transparent 34%, transparent 46%, rgba(20,28,22,.72) 100%);
}

.carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: clamp(20px, 4vw, 40px);
  color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  pointer-events: none;
}
.carousel-cap h3 {
  color: #fff;
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin: 0;
}
.carousel-cap p {
  color: rgba(255,255,255,.86);
  font-size: clamp(.85rem, 1.8vw, 1rem);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  margin-top: 4px;
}

.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color .22s, transform .22s var(--ease);
  opacity: 0;
}
.carousel:hover .carousel-nav, .carousel:focus-within .carousel-nav { opacity: 1; }
.carousel-nav:hover { background: rgba(255,255,255,.36); transform: translateY(-50%) scale(1.08); }
.carousel-nav.prev { left: 14px; } .carousel-nav.next { right: 14px; }
@media (max-width: 720px) { .carousel-nav { opacity: 1; width: 38px; height: 38px; } }

.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  z-index: 4;
  display: flex; justify-content: center; gap: 7px;
}
.carousel-dot {
  width: 26px; height: 4px; border-radius: 3px;
  background: rgba(255,255,255,.4);
  transition: background-color .3s, width .3s var(--ease);
  position: relative; overflow: hidden;
}
.carousel-dot.on { background: rgba(255,255,255,.55); width: 46px; }
.carousel-dot.on::after {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform-origin: left;
  animation: dotFill var(--dot-ms, 5000ms) linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0) } to { transform: scaleX(1) } }

@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: opacity .2s; transform: none !important; }
  .carousel-dot.on::after { animation: none; transform: scaleX(1); }
}
