/* Sunlit v2 */
:root {
  --sun: #DA6426;
  --sun-deep: #A84614;
  --sun-soft: #F6D9C6;
  --paper: #FFFBF6;
  --linen: #F4E9DD;
  --ink: #2B1C14;
  --muted: #6E5A4D;
  --line: #E6D6C6;
  --night: #1E1410;
  --radius: 20px;
  --shadow: 0 30px 60px -30px rgba(43, 28, 20, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 72px;
  --bottom-h: 0px;
}
@media (max-width: 759px) { :root { --bottom-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
ul, ol { list-style: none; }
ol { list-style: decimal; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* Announcement */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: .88rem; padding: 8px var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 251, 246, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(43, 28, 20, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.scrolled .header-inner { height: 60px; }
.logo img { height: clamp(30px, 3.2vw, 38px); width: auto; }
.main-nav ul { display: flex; gap: clamp(20px, 2.8vw, 36px); }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-action, .menu-btn {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  transition: background .3s var(--ease);
}
.icon-action:hover, .menu-btn:hover { background: var(--linen); }
.icon-action svg, .bag-btn svg, .bottom-bar svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.bag-btn {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid var(--ink); font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.bag-btn:hover { background: var(--ink); color: var(--paper); }
.bag-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--sun); color: #fff; font-size: .78rem; line-height: 22px; text-align: center;
  transition: transform .4s var(--ease);
}
.bag-count.bump { transform: scale(1.35); }
.menu-btn { display: none; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; animation: drop .35s var(--ease) both; }
.search-panel input {
  width: 100%; padding: 14px 22px; border-radius: 999px; border: 1px solid #D8C4B1; background: #fff; font-size: 1rem;
}
.search-panel input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(218, 100, 38, .18); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Type */
h1, h2, h3 { font-weight: 300; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.kicker { font-size: .95rem; color: var(--sun-deep); font-weight: 500; margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 26px; border-radius: 999px; font-weight: 500; text-decoration: none; text-align: center;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover:not(:disabled) { background: var(--sun); border-color: var(--sun); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost { border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn.wide { width: 100%; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 6vw, 96px) 0 clamp(56px, 8vw, 112px);
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 5rem); letter-spacing: -.035em; animation: rise 1s var(--ease) both .12s; }
.lede { font-size: clamp(1.02rem, 1.2vw, 1.2rem); color: var(--muted); max-width: 46ch; margin: clamp(18px, 2.4vw, 26px) 0 clamp(26px, 3vw, 36px); animation: rise 1s var(--ease) both .28s; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; animation: rise 1s var(--ease) both .4s; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); max-width: 560px; animation: rise 1s var(--ease) both .52s; }
.trust li { padding-top: 14px; border-top: 1px solid var(--line); }
.trust strong { display: block; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 400; }
.trust span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }

.hero-visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 5; justify-self: end; }
.hero-sun {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--sun);
  top: -8%; right: -10%; z-index: 0; animation: sun-rise 1.8s var(--ease) both .1s;
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform .9s var(--ease);
}
.hero-arch {
  position: relative; z-index: 1; width: 100%; height: 100%; overflow: hidden;
  border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow);
  animation: arch-in 1.6s var(--ease) both; transform: translate(calc(var(--px, 0) * -.4), calc(var(--py, 0) * -.4)); transition: transform .9s var(--ease);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .hero-arch img { transform: scale(1); }
.hero-arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 82%, rgba(255, 176, 96, .36), transparent 55%);
  mix-blend-mode: screen; animation: flicker 3.4s ease-in-out infinite;
}
.hero-tag {
  position: absolute; left: 5%; bottom: 6%; z-index: 2; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 251, 246, .92); font-size: .88rem; box-shadow: 0 10px 24px -14px rgba(43, 28, 20, .5);
  animation: rise 1s var(--ease) both .9s;
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sun-rise { from { opacity: 0; transform: translate(-30px, 30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { clip-path: inset(0 0 100% 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes flicker { 0%, 100% { opacity: .7; } 30% { opacity: 1; } 55% { opacity: .78; } 75% { opacity: .95; } }

/* Section heads and toolbar */
.shop, .ritual, .about { padding-block: clamp(56px, 8vw, 116px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-head p { margin-top: 12px; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: .92rem; color: var(--muted); }
.sort select {
  padding: 11px 40px 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer;
}
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.active-scent { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--sun-soft); font-size: .92rem; animation: rise .4s var(--ease) both; }
.remove-scent { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .85rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 26px); }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; animation: rise .6s var(--ease) both; animation-delay: var(--d, 0ms); }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--linen); }
.card-media.shimmer::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%) var(--linen);
  background-size: 250% 100%; animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.media-open { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .6s; opacity: 0; }
.media-open img.loaded { opacity: 1; }
.card:hover .media-open img { transform: scale(1.045); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: var(--paper); font-size: .78rem; font-weight: 500;
}
.badge.hot { background: var(--sun); color: #fff; }
.add-btn {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 46px;
  border-radius: 999px; background: var(--paper); font-weight: 500;
  box-shadow: 0 10px 24px -12px rgba(43, 28, 20, .5);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, color .3s;
}
.add-btn:hover { background: var(--sun); color: #fff; }
.card-media:focus-within .add-btn, .card:hover .add-btn { opacity: 1; transform: none; }
@media (hover: none) { .add-btn { opacity: 1; transform: none; } }
.card-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
.card-info h3 { font-size: clamp(.98rem, .92rem + .3vw, 1.1rem); line-height: 1.3; }
.card-info .price { font-weight: 500; white-space: nowrap; }
.card-info .card-meta { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.empty { text-align: center; padding: 56px 16px; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

/* Scents */
.scents-section { background: var(--linen); padding-block: clamp(56px, 8vw, 116px); }
.scents > *, .ritual > *, .hero > *, .toolbar > * { min-width: 0; max-width: 100%; }
.hero { overflow-x: clip; }
.scents { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 92px); align-items: center; }
.scents-media { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.scents-media img { width: 100%; height: auto; }
.scents-copy .muted { margin: 14px 0 26px; max-width: 48ch; }
.scent-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.scent-tab { min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); transition: all .3s var(--ease); }
.scent-tab:hover { border-color: var(--ink); }
.scent-tab[aria-selected="true"] { background: var(--sun); border-color: var(--sun); color: #fff; }
.scent-panel { margin-top: 24px; min-height: 9em; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.scent-panel h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 6px; }
.scent-panel p { color: var(--muted); }
.scent-panel .btn { margin-top: 16px; min-height: 44px; }
.scent-panel.swap { animation: rise .45s var(--ease) both; }

/* Ritual */
.ritual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 92px); align-items: center; }
.ritual-media { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; }
.ritual-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin-top: 30px; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); counter-increment: step; font-size: .95rem; color: var(--sun-deep); padding-top: 3px; }
.steps { counter-reset: step; }
.steps li strong { font-weight: 500; }

/* About */
.about { max-width: 820px; }
.about p { margin-top: 18px; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--muted); line-height: 1.6; }

/* Footer */
.site-footer { background: var(--linen); padding: clamp(48px, 7vw, 84px) 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px clamp(24px, 4vw, 56px); }
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-nav ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun-deep); text-decoration: underline; }
.subscribe-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 200px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid #D8C4B1; background: var(--paper); min-width: 0;
}
.subscribe input:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 3px rgba(218, 100, 38, .2); }
.subscribe input[aria-invalid="true"] { border-color: var(--sun-deep); }
.form-msg { min-height: 1.5em; margin-top: 10px; font-size: .92rem; color: var(--sun-deep); }
.footer-base { margin-top: clamp(40px, 5vw, 56px); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Bottom bar (phones) */
.bottom-bar { display: none; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(30, 20, 16, .42); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); z-index: 70; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(104%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s;
  box-shadow: -30px 0 60px -30px rgba(43, 28, 20, .35);
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); }
.delivery { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.meter { height: 6px; border-radius: 999px; background: var(--linen); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--sun); border-radius: inherit; transition: width .7s var(--ease); }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background .3s; }
.icon-btn:hover { background: var(--linen); }
.drawer-items { flex: 1; overflow-y: auto; padding: 4px 24px; overscroll-behavior: contain; }
.drawer-items li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.drawer-items .thumb { width: 72px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--linen); }
.drawer-items .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.line-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.remove { font-size: .92rem; color: var(--muted); text-decoration: underline; min-height: 40px; padding: 0 4px; }
.remove:hover { color: var(--sun-deep); }
.drawer-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 32px; color: var(--muted); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; }
.subtotal strong { font-weight: 500; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 42px; font-size: 1.2rem; transition: background .25s; }
.qty button:hover { background: var(--linen); }
.qty output { min-width: 2.5ch; text-align: center; font-weight: 500; }

/* Quick view */
.detail {
  margin: auto; width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  border: 0; padding: 0; border-radius: 26px; background: var(--paper); color: var(--ink);
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .45s var(--ease), transform .55s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete;
}
.detail[open] { opacity: 1; transform: none; }
@starting-style { .detail[open] { opacity: 0; transform: translateY(24px) scale(.98); } }
.detail::backdrop { background: rgba(30, 20, 16, .5); transition: opacity .4s; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--paper); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100dvh - 24px); overflow-y: auto; }
.detail-media { background: var(--linen); min-height: 360px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; }
.detail-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); padding-right: 40px; }
.detail-price { font-size: 1.3rem; font-weight: 500; }
.detail-points { display: grid; gap: 8px; margin-top: 4px; }
.detail-points li { padding-left: 18px; position: relative; color: var(--muted); }
.detail-points li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.detail-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.related { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.related h3 { margin-bottom: 12px; }
.related-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.related-row button { text-align: left; display: grid; gap: 6px; min-width: 0; }
.related-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; transition: transform .6s var(--ease); }
.related-row button:hover img { transform: scale(1.03); }
.related-row span { font-size: .85rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--bottom-h) + env(safe-area-inset-bottom)); transform: translate(-50%, 160%);
  background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: 999px;
  z-index: 90; font-size: .95rem; width: max-content; max-width: calc(100% - 32px); text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .5s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .subscribe { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-visual { justify-self: center; max-width: 500px; aspect-ratio: 1 / 1.1; }
  .scents, .ritual { grid-template-columns: minmax(0, 1fr); }
  .ritual-media { max-height: 520px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-media { min-height: 0; aspect-ratio: 4 / 3.6; }
  .related-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 18px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    box-shadow: 0 24px 40px -30px rgba(43, 28, 20, .4);
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: flex; min-height: 52px; align-items: center; font-size: 1.1rem; border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .bag-btn span:not(.bag-count) { display: none; }
  .bag-btn { padding: 0 12px; }
}

@media (max-width: 759px) {
  .announce { font-size: .82rem; }
  .header-actions .icon-action, .header-actions .bag-btn { display: none; }
  .bottom-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 65;
    display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px;
    background: rgba(43, 28, 20, .94); color: var(--paper); border-radius: 999px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  }
  .bottom-bar a, .bottom-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; font-size: .75rem; text-decoration: none; border-radius: 999px; }
  .bottom-bar svg { width: 20px; height: 20px; }
  .bottom-bar b { font-weight: 500; background: var(--sun); border-radius: 999px; padding: 0 6px; margin-left: 2px; }
  .bottom-bar button:active, .bottom-bar a:active { background: rgba(255, 255, 255, .12); }
  .bottom-bar span { display: inline-flex; align-items: center; }
  .bottom-bar #bottom-bag span { display: inline-flex; gap: 2px; }
  .hero { padding-top: 28px; }
  .trust { grid-template-columns: 1fr; gap: 0; }
  .trust li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
  .trust strong { font-size: 1.2rem; min-width: 5.5em; }
  .trust span { font-size: .9rem; }
  .cta-row .btn { flex: 1 1 160px; }
  .section-head { align-items: stretch; }
  .sort { justify-content: space-between; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card:nth-child(2n) { margin-top: 24px; }
  .add-btn { opacity: 1; transform: none; min-height: 42px; font-size: .92rem; left: 8px; right: 8px; bottom: 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .scent-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .scent-tabs::-webkit-scrollbar { display: none; }
  .scent-tab { flex: none; }
  .footer-grid, .footer-nav { grid-template-columns: 1fr; }
  .detail { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .detail-grid { max-height: none; height: 100%; }
  .detail-media { aspect-ratio: 1 / 1; }
  .drawer { width: 100%; }
  .related-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  .logo img { height: 28px; }
  .grid { gap: 22px 10px; }
  .card-info h3 { font-size: .94rem; }
}

@media (min-width: 1600px) {
  :root { --max: 1360px; }
  h1 { font-size: 5.6rem; }
}

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