/* =========================================================
   FreshDrop — shared stylesheet
   Colors are OKLCH tokens; neutrals are tinted toward the brand teal.
   ========================================================= */

:root {
  /* Brand */
  --primary: oklch(50% 0.095 205);
  --primary-hover: oklch(43% 0.09 205);
  --primary-soft: oklch(94% 0.03 200);
  --primary-ink: oklch(32% 0.06 210);
  --accent: oklch(86% 0.15 95);
  --accent-soft: oklch(96% 0.05 95);

  /* Neutrals (tinted) */
  --ink: oklch(24% 0.03 215);
  --text: oklch(42% 0.025 215);
  --muted: oklch(55% 0.02 215);
  --bg: oklch(99% 0.004 200);
  --surface: oklch(97% 0.01 200);
  --surface-2: oklch(95% 0.015 200);
  --border: oklch(90% 0.015 205);
  --white: oklch(99.5% 0.002 200);

  /* Semantic */
  --success: oklch(52% 0.12 155);
  --success-soft: oklch(95% 0.04 155);
  --warning: oklch(58% 0.13 70);
  --warning-soft: oklch(96% 0.04 85);
  --error: oklch(54% 0.18 25);
  --error-soft: oklch(96% 0.03 25);

  /* Product tones */
  --tone-lemon: oklch(95% 0.07 98);
  --tone-calamansi: oklch(94% 0.06 125);
  --tone-apple: oklch(94% 0.05 155);
  --tone-refill: oklch(94% 0.04 200);
  --tone-starter: oklch(94% 0.02 290);
  --tone-business: oklch(92% 0.04 265);

  /* Elevation (tinted shadows) */
  --shadow-sm: 0 1px 2px oklch(30% 0.05 215 / 0.06), 0 2px 8px oklch(30% 0.05 215 / 0.05);
  --shadow-md: 0 4px 12px oklch(30% 0.05 215 / 0.07), 0 12px 32px oklch(30% 0.05 215 / 0.08);
  --shadow-lg: 0 12px 24px oklch(30% 0.05 215 / 0.08), 0 30px 60px oklch(30% 0.05 215 / 0.14);

  /* Type */
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Radius (varies by component) */
  --r-sm: 8px;
  --r-btn: 10px;
  --r-card: 18px;
  --r-media: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { text-wrap: pretty; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.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; top: -100px; left: 16px; z-index: 2000;
  padding: 10px 16px; color: var(--white); background: var(--ink);
  border-radius: var(--r-btn); font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid oklch(65% 0.12 205); outline-offset: 2px; border-radius: 4px; }

.icon { display: block; width: 1.25em; height: 1.25em; flex-shrink: 0; }

.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead { max-width: 60ch; font-size: 1.125rem; color: var(--text); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.18s var(--ease-std), color 0.18s var(--ease-std),
    border-color 0.18s var(--ease-std), box-shadow 0.18s var(--ease-std), transform 0.12s var(--ease-std);
}
.button .icon { width: 18px; height: 18px; transition: transform 0.18s var(--ease-out); }
.button:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.button:active { transform: translateY(1px) scale(0.99); }
.button:disabled, .button[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }

.button-sm { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.button-lg { min-height: 52px; padding: 0 24px; font-size: 1.0625rem; }
.button-block { width: 100%; }

.button-primary { color: var(--white); background: var(--primary); box-shadow: 0 6px 16px oklch(50% 0.095 205 / 0.22); }
.button-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 22px oklch(50% 0.095 205 / 0.3); }

.button-secondary { color: var(--primary); background: transparent; border-color: var(--primary); }
.button-secondary:hover { background: var(--primary-soft); }

.button-ghost { color: var(--ink); background: transparent; border-color: var(--border); }
.button-ghost:hover { background: var(--surface-2); border-color: oklch(84% 0.02 205); }

.button-light { color: var(--primary-ink); background: var(--white); }
.button-light:hover { background: var(--accent-soft); }

.button.is-added { background: var(--success); box-shadow: 0 6px 16px oklch(52% 0.12 155 / 0.25); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600;
}
.text-link .icon { width: 18px; height: 18px; transition: transform 0.18s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

.text-button { color: var(--primary); font-weight: 600; font-size: 0.9375rem; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }

.icon-button {
  display: grid; width: 44px; height: 44px; place-items: center;
  color: var(--ink); border-radius: var(--r-btn); transition: background 0.18s;
}
.icon-button:hover { background: var(--surface-2); }

/* ---------- Announcement + header ---------- */

.announce { color: var(--primary-ink); background: var(--accent-soft); font-size: 0.875rem; }
.announce .container { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.announce .icon { width: 18px; height: 18px; color: var(--primary); }
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: oklch(99% 0.004 200 / 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.4) blur(14px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

.nav-wrapper { display: flex; height: var(--header-h); align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark {
  display: grid; width: 38px; height: 38px; place-items: center;
  color: var(--white);
  background: linear-gradient(150deg, oklch(60% 0.1 200), var(--primary-hover));
  border-radius: 11px;
  box-shadow: 0 6px 14px oklch(50% 0.095 205 / 0.3);
}
.logo-mark .icon { width: 20px; height: 20px; fill: oklch(100% 0 0 / 0.2); }
.logo-text { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; }
.logo-text span { color: var(--primary); }
.logo-light { color: var(--white); }
.logo-light .logo-text span { color: oklch(80% 0.09 195); }

.main-nav { display: flex; margin-left: auto; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 14px;
  color: var(--text); border-radius: var(--r-btn); font-weight: 600;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; right: 14px; bottom: 4px; left: 14px;
  height: 2px; background: var(--primary); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.list-button {
  display: inline-flex; min-height: 44px; padding: 0 14px 0 12px;
  align-items: center; gap: 8px;
  color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-weight: 600; transition: background 0.18s, border-color 0.18s;
}
.list-button:hover { background: var(--primary-soft); border-color: oklch(85% 0.04 200); }
.list-button .icon { width: 20px; height: 20px; }

.count-badge {
  display: grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center;
  color: var(--white); background: var(--primary);
  border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.count-badge.is-empty { color: var(--muted); background: var(--border); }
.count-badge.bump { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }

.menu-button {
  display: none; width: 44px; height: 44px; place-items: center;
  color: var(--ink); border-radius: var(--r-btn);
}
.menu-button:hover { background: var(--surface-2); }
.menu-button .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.menu-button .icon-close,
.menu-button[aria-expanded="true"] .icon-menu { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); }
.section-tint { background: var(--surface); }

.section-head {
  display: flex; margin-bottom: clamp(28px, 4vw, 44px);
  align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head h2 { max-width: 22ch; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(60% 60% at 85% 10%, oklch(95% 0.06 95 / 0.7), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
}

.hero-title { font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.hero-title span { display: block; color: var(--primary); }

.hero-text { max-width: 52ch; margin-top: 22px; font-size: 1.1875rem; }

.hero-actions { display: flex; margin-top: 32px; flex-wrap: wrap; gap: 12px; }

.hero-proof {
  display: flex; margin-top: 40px; padding-top: 24px;
  flex-wrap: wrap; gap: 12px 28px;
  border-top: 1px solid var(--border);
}
.hero-proof li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.hero-proof .icon {
  width: 36px; height: 36px; padding: 8px;
  color: var(--primary); background: var(--primary-soft); border-radius: 10px;
}
.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; padding: 0 0 24px 24px; }

.hero-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 28px 28px 28px 120px;
  box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: oklch(99.5% 0.002 200 / 0.94);
  border: 1px solid oklch(100% 0 0 / 0.6);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.float-rating { top: 28px; right: -12px; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.875rem; }
.float-rating strong { color: var(--ink); }

.float-product { bottom: 0; left: 0; padding: 10px 16px 10px 10px; transition: transform 0.2s var(--ease-out), box-shadow 0.2s; }
.float-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.float-product img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.float-product span { display: flex; flex-direction: column; line-height: 1.25; }
.float-product small { color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.float-product strong { color: var(--ink); font-family: var(--font-display); font-size: 1.0625rem; }
.float-product em { color: var(--muted); font-size: 0.875rem; font-style: normal; }
.float-product > .icon { width: 18px; height: 18px; margin-left: 6px; color: var(--primary); }

.stars { display: flex; gap: 2px; color: oklch(75% 0.15 75); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.stars .star-off { color: var(--border); }

/* ---------- Scent picker ---------- */

.scent-picker {
  padding: clamp(16px, 2.5vw, 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.scent-tabs {
  display: inline-flex; margin-bottom: clamp(16px, 2.5vw, 24px); padding: 5px;
  gap: 4px; background: var(--surface-2); border-radius: var(--r-pill);
  max-width: 100%; overflow-x: auto;
}

.scent-tab {
  display: inline-flex; min-height: 42px; padding: 0 18px;
  align-items: center; gap: 8px;
  color: var(--text); border-radius: var(--r-pill);
  font-weight: 600; white-space: nowrap;
  transition: background 0.2s var(--ease-std), color 0.2s, box-shadow 0.2s;
}
.scent-tab:hover { color: var(--ink); }
.scent-tab[aria-selected="true"] { color: var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }

.scent-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-lemon .scent-dot { background: oklch(85% 0.16 95); }
.dot-calamansi .scent-dot { background: oklch(72% 0.17 130); }
.dot-apple .scent-dot { background: oklch(62% 0.15 150); }

.scent-panel {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  animation: panelIn 0.35s var(--ease-out);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }

.scent-media { overflow: hidden; aspect-ratio: 1; border-radius: 20px; }
.scent-media img { width: 100%; height: 100%; object-fit: cover; }

.scent-info { padding: 8px clamp(0px, 2vw, 16px) 8px 0; }
.scent-info h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.scent-note { margin-top: 10px; font-size: 1.0625rem; }

.tick-list { display: grid; margin: 22px 0 26px; gap: 10px; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); }
.tick-list .icon {
  width: 22px; height: 22px; margin-top: 1px; padding: 4px;
  color: var(--success); background: var(--success-soft); border-radius: 50%; stroke-width: 3;
}

.field-label { margin-bottom: 10px; color: var(--ink); font-size: 0.875rem; font-weight: 600; }

.scent-buy {
  display: flex; margin-top: 24px; padding-top: 20px;
  align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- Size chips & price ---------- */

.size-picker { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }

.size-chip { position: relative; cursor: pointer; }
.size-chip input { position: absolute; opacity: 0; pointer-events: none; }
.size-chip span {
  display: inline-flex; min-height: 38px; min-width: 58px; padding: 0 14px;
  align-items: center; justify-content: center;
  color: var(--text); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 0.9375rem; font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.size-chip:hover span { border-color: oklch(80% 0.04 205); color: var(--ink); }
.size-chip input:checked + span { color: var(--primary-ink); background: var(--primary-soft); border-color: var(--primary); }
.size-chip input:focus-visible + span { outline: 3px solid oklch(65% 0.12 205); outline-offset: 2px; }

.size-single { color: var(--muted); font-size: 0.9375rem; }

.price strong {
  color: var(--ink); font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.price-lg strong { font-size: 2rem; }

/* ---------- Split (how to use) ---------- */

.split {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
}

.split-media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-media); box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-content .lead { margin-top: 14px; }

.steps { display: grid; margin-top: 32px; gap: 4px; counter-reset: step; }
.steps li {
  display: flex; padding: 18px 0;
  align-items: flex-start; gap: 20px;
  border-top: 1px solid var(--border);
}
.steps li:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  flex: 0 0 auto;
  color: var(--primary); font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
}
.steps p { margin-top: 4px; }

/* ---------- Benefits ---------- */

.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.benefit {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.section-tint .benefit { background: var(--white); }

.benefit-icon {
  display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center;
  color: var(--primary); background: var(--primary-soft); border-radius: 14px;
}
.benefit-icon .icon { width: 24px; height: 24px; stroke-width: 1.75; }
.benefit p { margin-top: 8px; }

/* ---------- Reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.review {
  display: flex; padding: 28px;
  flex-direction: column; gap: 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
}
.review blockquote { flex: 1; color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.review figcaption { display: flex; flex-direction: column; font-size: 0.9375rem; }
.review figcaption strong { color: var(--ink); }
.review figcaption span { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro .lead { margin: 14px 0 24px; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; padding: 20px 0;
  align-items: center; justify-content: space-between; gap: 16px;
  color: var(--ink); font-size: 1.0625rem; font-weight: 600;
  list-style: none; cursor: pointer;
  transition: color 0.18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 0.25s var(--ease-std); }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--primary); }
.faq-item p { max-width: 62ch; padding: 0 32px 22px 0; animation: panelIn 0.3s var(--ease-out); }

/* ---------- CTA band ---------- */

.cta-section { padding-bottom: clamp(64px, 9vw, 112px); }

.cta-band {
  position: relative; overflow: hidden;
  display: flex; padding: clamp(32px, 5vw, 56px);
  align-items: center; justify-content: space-between; gap: 32px;
  color: oklch(92% 0.03 200);
  background: var(--primary-ink);
  border-radius: 28px;
}
.cta-band::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, oklch(86% 0.15 95 / 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 8px; font-size: 1.0625rem; }
.cta-band-alt { background: var(--primary); }

/* ---------- Page head ---------- */

.page-head {
  padding: clamp(28px, 4vw, 44px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.page-head-compact { padding-bottom: clamp(16px, 3vw, 24px); }
.page-head .lead { margin-top: 14px; }

.breadcrumb { display: flex; margin-bottom: 20px; gap: 8px; color: var(--muted); font-size: 0.875rem; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.page-head-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.order-steps {
  display: flex; padding: 8px;
  gap: 4px; background: var(--white);
  border: 1px solid var(--border); border-radius: 14px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
}
.order-steps li { display: flex; padding: 8px 12px; align-items: center; gap: 8px; }
.order-steps li + li { border-left: 1px solid var(--border); }
.order-steps span {
  display: grid; width: 22px; height: 22px; place-items: center;
  color: var(--white); background: var(--primary); border-radius: 50%; font-size: 0.75rem;
}

/* ---------- Toolbar ---------- */

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px;
  color: var(--text); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.9375rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover { color: var(--ink); border-color: oklch(80% 0.04 205); }
.chip.active { color: var(--white); background: var(--ink); border-color: var(--ink); }

.toolbar-controls { display: flex; gap: 10px; flex-wrap: wrap; }

.search-field, .select-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input,
.select-field select {
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-btn);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.search-field input { width: 240px; padding: 0 14px 0 40px; }
.select-field select { padding: 0 40px 0 14px; appearance: none; cursor: pointer; font-weight: 500; }
.select-field .icon { position: absolute; right: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input:focus, .select-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px oklch(50% 0.095 205 / 0.12); }
.select-field-block select { width: 100%; }

.result-count { margin: 20px 0 16px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Product cards ---------- */

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.product-card {
  display: flex; overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.product-media { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.04); }

.tone-lemon { background: var(--tone-lemon); }
.tone-calamansi { background: var(--tone-calamansi); }
.tone-apple { background: var(--tone-apple); }
.tone-refill { background: var(--tone-refill); }
.tone-starter { background: var(--tone-starter); }
.tone-business { background: var(--tone-business); }

.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 5px 10px;
  color: var(--ink); background: oklch(99.5% 0.002 200 / 0.92);
  border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.product-body { display: flex; padding: 20px 22px 22px; flex: 1; flex-direction: column; }
.product-type { color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.product-name { margin-top: 4px; font-size: 1.375rem; }
.product-desc { margin: 8px 0 18px; font-size: 0.9375rem; }
.product-body .size-picker, .product-body .size-single { margin-top: auto; }

.product-foot {
  display: flex; margin-top: 18px; padding-top: 16px;
  align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border);
}

.empty-state, .list-empty {
  display: flex; padding: 48px 24px;
  flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.empty-state { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-card); }
.empty-state h2 { font-size: 1.375rem; }
.empty-state .button, .list-empty .button { margin-top: 10px; }

.list-empty-icon {
  display: grid; width: 56px; height: 56px; margin-bottom: 6px; place-items: center;
  color: var(--primary); background: var(--primary-soft); border-radius: 16px;
}
.list-empty-icon .icon { width: 26px; height: 26px; }

/* ---------- About ---------- */

.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 72px); }
.about-photo { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-media) var(--r-media) var(--r-media) 96px; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.story { display: grid; grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 32px; }
.story-body { max-width: 680px; }
.story-body p { margin-top: 16px; font-size: 1.0625rem; }

.stats {
  display: grid; margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.stats div { padding: 20px 20px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--border); }
.stats dt { color: var(--muted); font-size: 0.875rem; }
.stats dd { color: var(--ink); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }

.notice {
  display: flex; padding: 28px;
  align-items: flex-start; gap: 18px;
  background: var(--warning-soft);
  border: 1px solid oklch(88% 0.07 85);
  border-radius: var(--r-card);
}
.notice h2 { font-size: 1.25rem; }
.notice p { margin-top: 6px; max-width: 75ch; }
.notice-icon {
  display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center;
  color: var(--warning); background: oklch(92% 0.07 85); border-radius: 14px;
}

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 48px); align-items: start; }

.contact-form, .inquiry-summary, .form-success {
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.contact-form { box-shadow: var(--shadow-sm); }

.inquiry-summary { margin-bottom: 20px; background: var(--surface); }
.inquiry-summary-head { display: flex; margin-bottom: 12px; align-items: center; justify-content: space-between; }
.inquiry-summary h2 { font-size: 1.125rem; }
.inquiry-summary li {
  display: flex; padding: 10px 0;
  align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border); font-size: 0.9375rem;
}
.inquiry-summary li img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.inquiry-summary li span { flex: 1; color: var(--ink); }
.inquiry-summary li small { display: block; color: var(--muted); }
.inquiry-summary li strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.inquiry-total { display: flex; padding-top: 12px; justify-content: space-between; color: var(--ink); font-weight: 600; }
.inquiry-total strong { font-family: var(--font-display); font-size: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: flex; margin-bottom: 6px; justify-content: space-between; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.optional { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }

.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-btn);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.form-group textarea { min-height: 128px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: oklch(65% 0.015 215); }
.form-group input:hover, .form-group textarea:hover, .select-field-block select:hover { border-color: oklch(82% 0.03 205); }
.form-group input:focus, .form-group textarea:focus { background: var(--white); border-color: var(--primary); box-shadow: 0 0 0 4px oklch(50% 0.095 205 / 0.12); }

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: var(--error); background: var(--error-soft); }

.field-error { min-height: 0; color: var(--error); font-size: 0.875rem; font-weight: 500; }
.field-error:not(:empty) { margin-top: 6px; }
.field-error:not(:empty)::before { content: "! "; font-weight: 800; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; }
.field-hint { margin-top: 6px; margin-left: auto; color: var(--muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.form-footnote { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; text-align: center; }

.button.is-loading { pointer-events: none; opacity: 0.8; }
.button.is-loading .icon { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; outline: none; animation: panelIn 0.4s var(--ease-out); }
.success-icon {
  display: grid; width: 64px; height: 64px; margin: 8px auto 18px; place-items: center;
  color: var(--white); background: var(--success); border-radius: 50%;
  box-shadow: 0 10px 24px oklch(52% 0.12 155 / 0.3);
}
.success-icon .icon { width: 30px; height: 30px; stroke-width: 3; }
.form-success p { max-width: 46ch; margin: 10px auto 0; }
.form-success strong { color: var(--ink); }
.success-actions { display: flex; margin-top: 24px; justify-content: center; gap: 10px; flex-wrap: wrap; }

.contact-aside { display: grid; gap: 16px; }
.aside-block { padding: 24px; background: var(--surface); border-radius: var(--r-card); }
.aside-block h2 { margin-bottom: 16px; font-size: 1.125rem; }

.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.9375rem; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { color: var(--ink); }
.contact-list a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-icon {
  display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center;
  color: var(--primary); background: var(--white); border-radius: 12px;
}
.contact-icon .icon { width: 20px; height: 20px; }

.aside-steps ol { display: grid; gap: 12px; }
.aside-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; }
.aside-steps li span {
  display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center;
  color: var(--white); background: var(--primary); border-radius: 50%;
  font-size: 0.8125rem; font-weight: 700;
}

.aside-business { display: flex; align-items: flex-start; gap: 14px; background: var(--accent-soft); }
.aside-business > .icon { width: 28px; height: 28px; color: var(--primary-ink); }
.aside-business strong { color: var(--ink); }
.aside-business p { font-size: 0.9375rem; }

/* ---------- Footer ---------- */

.site-footer { padding-top: clamp(48px, 7vw, 80px); color: oklch(80% 0.02 210); background: var(--ink); }

.footer-grid {
  display: grid; padding-bottom: 48px;
  grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px;
}
.footer-brand p { max-width: 34ch; margin-top: 14px; }
.footer-title { margin-bottom: 14px; color: var(--white); font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: 0; }
.footer-grid a:not(.logo), .footer-grid p { display: block; margin-bottom: 8px; font-size: 0.9375rem; }
.footer-grid a:not(.logo):hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: flex; padding: 20px 0 28px;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  font-size: 0.8125rem; color: oklch(70% 0.02 210);
}

/* ---------- Drawer ---------- */

.drawer-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: oklch(20% 0.03 215 / 0.45);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s var(--ease-std);
}
.drawer-overlay.is-open { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  display: flex; width: min(420px, 100%);
  flex-direction: column;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex; padding: 20px 20px 16px 24px;
  align-items: flex-start; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-size: 1.375rem; }
.drawer-sub { color: var(--muted); font-size: 0.875rem; }

.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }

.list-items li {
  display: grid; padding: 16px 0;
  grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  border-bottom: 1px solid var(--border);
  animation: panelIn 0.3s var(--ease-out);
}
.list-items img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.list-item-name { color: var(--ink); font-weight: 600; line-height: 1.3; }
.list-item-meta { color: var(--muted); font-size: 0.875rem; }
.list-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.list-item-price { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); }
.qty button { display: grid; width: 32px; height: 32px; place-items: center; color: var(--ink); border-radius: var(--r-sm); }
.qty button:hover { background: var(--surface-2); }
.qty button:disabled { color: var(--border); cursor: not-allowed; background: none; }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.remove-item { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; }
.remove-item:hover { color: var(--error); }
.remove-item .icon { width: 14px; height: 14px; }

.drawer-foot { padding: 20px 24px 24px; background: var(--white); border-top: 1px solid var(--border); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-weight: 600; }
.drawer-total strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.drawer-note { margin: 6px 0 16px; color: var(--muted); font-size: 0.8125rem; }

/* ---------- Toast ---------- */

.toast-region {
  position: fixed; bottom: 24px; left: 50%; z-index: 1100;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transform: translateX(-50%); pointer-events: none;
}
.toast {
  display: flex; padding: 10px 10px 10px 14px;
  align-items: center; gap: 12px;
  color: var(--white); background: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 0.9375rem; pointer-events: auto;
  animation: toastIn 0.3s var(--ease-out);
}
.toast > .icon { width: 22px; height: 22px; padding: 4px; color: var(--ink); background: oklch(80% 0.12 155); border-radius: 50%; stroke-width: 3; }
.toast button { padding: 6px 10px; color: oklch(85% 0.1 95); font-weight: 700; border-radius: var(--r-sm); }
.toast button:hover { background: oklch(100% 0 0 / 0.1); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal-up { transform: translateY(18px); }
.js .reveal-scale { transform: scale(0.96); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-rating { right: 8px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .menu-button { display: grid; }
  /* backdrop-filter would trap the fixed menu inside the header */
  .site-header { background: var(--bg); backdrop-filter: none; }
  .list-button-label { display: none; }
  .list-button { padding: 0 10px; }
  .nav-actions { margin-left: auto; }

  .main-nav {
    position: fixed; top: var(--nav-top, var(--header-h)); right: 0; bottom: 0; left: 0; z-index: 800;
    display: flex; padding: 16px 20px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-std), transform 0.25s var(--ease-std), visibility 0.25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 16px; font-size: 1.125rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--primary-soft); border-radius: var(--r-btn); }

  .hero-grid, .split, .faq-layout, .about-hero, .story, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .split-media { aspect-ratio: 16 / 11; }
  .faq-intro { position: static; }
  .scent-panel { grid-template-columns: 1fr; }
  .scent-media { aspect-ratio: 4 / 3; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .contact-aside { order: 2; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .announce p { font-size: 0.8125rem; }

  .hero-title { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-proof { gap: 12px; }
  .hero-proof li { flex: 1 1 100%; }
  .hero-visual { padding: 0 0 24px; }
  .float-rating { top: 12px; right: 12px; }
  .float-product { left: 12px; }

  .benefit-grid, .benefit-grid-3, .product-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }

  .toolbar { flex-direction: column; align-items: stretch; }

  .toolbar-controls { display: grid; grid-template-columns: 1fr; }
  .search-field input { width: 100%; }
  .select-field select { width: 100%; }

  .order-steps { width: 100%; flex-direction: column; }
  .order-steps li + li { border-left: 0; border-top: 1px solid var(--border); }

  .scent-tabs { display: flex; }
  .scent-tab { flex: 1 0 auto; justify-content: center; padding: 0 14px; }
  .scent-buy { flex-direction: column; align-items: stretch; }
  .scent-buy .button { width: 100%; }

  .stats div { padding-right: 8px; }
  .stats div + div { padding-left: 12px; }

  .cta-band .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .toast-region { left: 16px; right: 16px; transform: none; }
}

/* ---------- Live content (Firebase CMS) ---------- */

html:not(.fd-admin-editing) .fd-hidden { display: none !important; }
.site-header .logo { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.form-alert {
  margin-bottom: 14px; padding: 12px 14px;
  color: var(--error); background: var(--error-soft);
  border: 1px solid oklch(54% 0.18 25 / 0.25); border-radius: var(--r-btn);
  font-size: 0.9375rem; font-weight: 500;
}
