/* ==========================================================================
   CÉLESTE ILLUMINATIONS – base, tokens, shared components & site chrome
   (sections.css = home/collection, pages.css = product/checkout/account/…)
   ========================================================================== */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #d4a65a; }
@property --glow { syntax: '<color>'; inherits: true; initial-value: #ff9a3c; }
@property --deep { syntax: '<color>'; inherits: true; initial-value: #150d07; }
@property --ember { syntax: '<color>'; inherits: true; initial-value: #ffb35c; }

:root {
  --accent: #d4a65a; --glow: #ff9a3c; --deep: #150d07; --ember: #ffb35c;
  --ink: #0b0806; --ink-2: #120c08; --ink-3: #1b130d;
  --line: rgba(232, 200, 140, .14); --line-2: rgba(232, 200, 140, .28);
  --text: #f3e9d8; --text-2: #cdbfa8; --muted: #a2937c;
  --gold-1: #f6e1a6; --gold-2: #d4a65a; --gold-3: #9c6d2c;
  --gold: linear-gradient(135deg, #fff1c4 0%, #e9c27a 28%, #b98536 55%, #f3d48c 78%, #a87532 100%);
  --ivory: #f7f2ea;
  --ok: #8fd19e; --err: #ff8f8f; --warn: #f4c24f;
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 26px; --r-xl: 36px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 10px 25px -10px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 0 1px rgba(255, 220, 160, .08), 0 20px 60px -15px color-mix(in srgb, var(--glow) 35%, transparent);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 68px;
  --pad: clamp(18px, 4.5vw, 40px);
  transition: --accent 1.2s var(--ease), --glow 1.2s var(--ease), --deep 1.2s var(--ease), --ember 1.2s var(--ease);
}
html[data-scent="strawberry"] { --accent: #f3a9ba; --glow: #ff5f7e; --deep: #1b0a10; --ember: #ff94aa; }
html[data-scent="sandalwood-kesar"] { --accent: #f4c24f; --glow: #ffb11f; --deep: #191005; --ember: #ffd36b; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--ink); overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font: 300 16px/1.65 var(--f-body); color: var(--text); letter-spacing: .01em;
  background:
    radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--deep) 85%, #2a1a0c) 0%, transparent 60%),
    radial-gradient(80% 50% at 100% 100%, color-mix(in srgb, var(--glow) 6%, transparent) 0%, transparent 70%),
    var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll, body.menu-open { overflow: hidden; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-1); }
p a, li a, .small a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); color: #fff; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
b, strong { font-weight: 500; color: var(--text); }

/* ---------- typography ---------- */
.display-xl, .display-lg, .display-md, .display-sm { font-family: var(--f-display); letter-spacing: .06em; font-weight: 400; }
.display-xl { font-size: clamp(2.3rem, 7vw, 4.8rem); line-height: 1.05; }
.display-lg { font-size: clamp(1.9rem, 5vw, 3.3rem); }
.display-md { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
.display-sm { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.display-xl em, .display-lg em, .display-md em { font-family: var(--f-serif); font-style: italic; letter-spacing: 0; text-transform: none; color: var(--accent); }
.eyebrow { font: 500 .72rem/1.4 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.lead { font: italic 400 clamp(1.2rem, 2.3vw, 1.5rem)/1.5 var(--f-serif); color: var(--text-2); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: goldShift 8s linear infinite; }
@keyframes goldShift { to { background-position: 200% 0; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.center-block { margin-inline: auto; }
.mt-lg { margin-top: clamp(28px, 5vw, 56px); }
.ok { color: var(--ok); }
.signature { font: italic 500 1.5rem var(--f-serif); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--ink); border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.noscript { padding: 2rem; text-align: center; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(40px, 7vw, 80px); }
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 56px); text-align: center; }
.section-head .muted { font-size: 1.05rem; }
.page-pad { padding-top: calc(var(--header-h) + clamp(28px, 6vw, 64px)); padding-bottom: clamp(56px, 9vw, 110px); }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.view { position: relative; z-index: 2; min-height: 70vh; animation: viewIn .7s var(--ease) both; }
.view.is-leaving { opacity: .35; transition: opacity .2s; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.page-loading { min-height: 80vh; display: grid; place-items: center; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.7em; border-radius: 999px; border: 1px solid var(--b);
  font: 500 .8rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--text); background: rgba(255, 240, 210, .05);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .3s, border-color .3s; isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--glow) 60%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { color: #1a1007; border: 0; background: var(--gold); background-size: 180% 100%; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--glow) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover { color: #1a1007; background-position: 100% 0; box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--glow) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--sm { min-height: 40px; padding: .6em 1.2em; font-size: .7rem; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-busy { pointer-events: none; color: transparent !important; }
.btn.is-busy::before { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #1a1007; animation: spin .8s linear infinite; }
.btn--ghost.is-busy::before, .btn:not(.btn--gold).is-busy::before { border-color: rgba(255, 255, 255, .2); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text); transition: background .3s, border-color .3s, color .3s, transform .3s; position: relative; }
.icon-btn:hover { background: rgba(255, 230, 190, .07); border-color: var(--line); color: var(--accent); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: 500 .85rem var(--f-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.link-btn:hover { color: var(--gold-1); }
.link-btn--danger { color: var(--err); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-snap-type: x proximity; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; padding: .55em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 240, 210, .03); color: var(--text-2); font: 400 .85rem var(--f-body); letter-spacing: .06em; transition: all .3s var(--ease); text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: var(--accent); color: var(--gold-1); box-shadow: 0 0 22px -6px color-mix(in srgb, var(--glow) 70%, transparent); }
.tag { display: inline-flex; align-items: center; gap: .3em; padding: .2em .65em; border-radius: 999px; font: 500 .66rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text-2); vertical-align: middle; }
.tag--gold { color: #1a1007; background: var(--gold); border: 0; }
.tag--pin { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.meta-chip { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 240, 210, .03); color: var(--text-2); font: 400 .85rem var(--f-body); }
button.meta-chip:hover { border-color: var(--accent); color: var(--text); }
.meta-chip svg { color: var(--accent); }

.card-glass {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 235, 200, .07), rgba(255, 235, 200, .015) 40%, rgba(0, 0, 0, .25)), color-mix(in srgb, var(--deep) 92%, #000);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 240, 210, .08);
}
.note { padding: 14px 18px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--text-2); font-size: .92rem; max-width: 760px; margin-inline: auto; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.ticks { list-style: none; display: grid; gap: .55em; }
.ticks li { position: relative; padding-left: 1.6em; }
.ticks li::before { content: '✦'; position: absolute; left: 0; top: .05em; color: var(--accent); font-size: .8em; }
.scent-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, var(--c) 45%, color-mix(in srgb, var(--g) 80%, #000)); box-shadow: 0 0 10px -1px var(--g); flex: none; }
.scent-inline { color: var(--c); font-weight: 500; white-space: nowrap; }
.spinner-flame { width: 18px; height: 30px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 80%, #fff 0 15%, #ffd27a 30%, var(--glow) 60%, transparent 72%); filter: drop-shadow(0 0 14px var(--glow)); animation: flicker 1.6s ease-in-out infinite; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label, .field legend { font: 500 .72rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.field small, .field .hint { color: var(--muted); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.input, .select, textarea.input,
.field :where(input:not([type=checkbox], [type=radio], [type=file], [type=range]), select, textarea) {
  width: 100%; min-height: 50px; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(10, 7, 5, .55); color: var(--text); font: 400 1rem var(--f-body); transition: border-color .3s, box-shadow .3s, background .3s;
}
textarea.input, .field :where(textarea) { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .field :where(input, textarea)::placeholder { color: #7d705e; }
.field :where(select) { appearance: none; padding-right: 2.6em; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field :where(select) option { background: #1a120c; }
.input:focus, .select:focus, .field :where(input, select, textarea):focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); background: rgba(10, 7, 5, .8); }
.input:user-invalid { border-color: color-mix(in srgb, var(--err) 70%, transparent); }
.select { appearance: none; padding-right: 2.6em; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.select option { background: #1a120c; }
.select--sm { min-height: 40px; padding-block: .4em; font-size: .9rem; width: auto; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 7, 5, .55); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.input-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.input-prefix > span, .input-prefix > b { display: grid; font-weight: 500; place-items: center; padding: 0 .9em; color: var(--text-2); border-right: 1px solid var(--line); background: rgba(255, 240, 210, .04); font-size: .95rem; }
.input-prefix .input, .input-prefix input, .input-prefix input:focus { flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.otp-input { letter-spacing: .6em; text-align: center; font: 500 1.5rem var(--f-display) !important; }
.check { display: flex; align-items: flex-start; gap: .7em; cursor: pointer; font-size: .92rem; color: var(--text-2); }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--accent); flex: none; }
.form-error { min-height: 1em; margin: 0; color: var(--err); font-size: .88rem; }
.form-error:empty { display: none; }
.form-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; margin: 6px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.file-btn { position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .7em 1.1em; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--text-2); cursor: pointer; font-size: .9rem; }
.file-btn:hover { border-color: var(--accent); color: var(--text); }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 240, 210, .03); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; border: 0; background: transparent; padding: .7em 1.2em; border-radius: 999px; color: var(--text-2); font: 500 .75rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; transition: all .3s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--gold); color: #1a1007; box-shadow: 0 6px 20px -8px var(--glow); }
.tabs--line { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 0; }
.tabs--line button { border-radius: 0; flex: 0 0 auto; padding: 1em 1.1em; border-bottom: 2px solid transparent; }
.tabs--line button[aria-selected="true"] { background: none; color: var(--gold-1); border-bottom-color: var(--accent); box-shadow: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; color: var(--text); border-radius: 999px; }
.qty button:hover { color: var(--accent); }
.qty output { min-width: 28px; text-align: center; font: 500 1rem var(--f-body); }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; font-size: 1rem; }

/* ---------- candle (CSS illustration; the round seal is the only logo) ---------- */
.candle { position: relative; width: 120px; height: 210px; margin-inline: auto; }
.candle__jar {
  position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: 120px; height: 140px;
  border-radius: 14px 14px 22px 22px / 10px 10px 22px 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 25%, rgba(255, 255, 255, .02) 70%, rgba(255, 255, 255, .16)), rgba(30, 20, 12, .45);
  border: 1px solid rgba(255, 235, 200, .25); box-shadow: inset 0 -20px 40px rgba(0, 0, 0, .45), 0 30px 40px -20px rgba(0, 0, 0, .8); overflow: hidden;
}
.candle__wax { position: absolute; inset: 22px 6px 6px; border-radius: 6px 6px 16px 16px; background: linear-gradient(180deg, #f6ead5, #e6cfa7 60%, #caa66e); box-shadow: inset 0 8px 14px -6px rgba(255, 255, 255, .7); transition: box-shadow 1.5s; }
.candle__seal { position: absolute; left: 50%; top: 58%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.candle__wick { position: absolute; left: 50%; bottom: 116px; width: 3px; height: 16px; translate: -50% 0; background: linear-gradient(#1a1209, #3b2a17); border-radius: 2px; z-index: 2; }
.candle__flame { position: absolute; left: 50%; bottom: 128px; width: 26px; height: 56px; translate: -50% 0; transform-origin: 50% 90%; opacity: 0; scale: .2; transition: opacity .6s, scale .9s var(--ease-spring); z-index: 3; }
.candle__flame::before, .candle__flame i { content: ''; position: absolute; inset: 0; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; }
.candle__flame::before { background: radial-gradient(ellipse at 50% 78%, #fff 0 12%, #fff4c9 22%, #ffd17a 38%, var(--glow) 62%, transparent 74%); filter: blur(.4px) drop-shadow(0 0 18px var(--glow)); animation: flicker 2.4s ease-in-out infinite; }
.candle__flame i { inset: 46% 32% 6%; background: radial-gradient(ellipse at 50% 70%, rgba(80, 120, 255, .55), transparent 70%); filter: blur(1px); }
.candle__halo { position: absolute; left: 50%; bottom: 110px; width: 360px; height: 360px; translate: -50% 50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 45%, transparent), color-mix(in srgb, var(--glow) 12%, transparent) 35%, transparent 65%); opacity: 0; transition: opacity 1.4s; pointer-events: none; animation: breathe 4s ease-in-out infinite; }
.candle__smoke { position: absolute; left: 50%; bottom: 175px; width: 40px; height: 120px; translate: -50% 0; pointer-events: none; }
.candle__smoke i { position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: rgba(230, 220, 205, .35); filter: blur(6px); opacity: 0; animation: smoke 5s ease-out infinite; animation-delay: calc(var(--n, 0) * 1.6s); }
.candle__smoke i:nth-child(2) { --n: 1; }
.candle__smoke i:nth-child(3) { --n: 2; }
.candle.is-lit .candle__flame { opacity: 1; scale: 1; }
.candle.is-lit .candle__halo { opacity: 1; }
.candle.is-lit .candle__wax { box-shadow: inset 0 14px 22px -6px #fff7, inset 0 30px 50px -20px color-mix(in srgb, var(--glow) 70%, transparent); }
.candle:not(.is-lit) .candle__smoke i { animation-play-state: paused; }
.candle--mini { width: 60px; height: 105px; scale: 1; }
@keyframes flicker {
  0%, 100% { transform: rotate(-1.5deg) scaleY(1) scaleX(1); }
  20% { transform: rotate(2deg) scaleY(1.06) scaleX(.96); }
  45% { transform: rotate(-2.5deg) scaleY(.95) scaleX(1.03); }
  70% { transform: rotate(1.5deg) scaleY(1.04) scaleX(.98); }
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: .85; } }
@keyframes smoke { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 15% { opacity: .55; } 100% { opacity: 0; transform: translate(calc(-50% + 18px), -110px) scale(3.2); } }

/* ---------- intro ritual ---------- */
.ritual { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: #050302; color: var(--text); overflow: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.ritual-done .ritual { display: none; }
.ritual__bg { position: absolute; inset: 0; overflow: hidden; }
.ritual__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(.32) saturate(1.1); transform: scale(1.12); animation: ritualDrift 18s ease-in-out infinite alternate; transition: filter 2s var(--ease); }
.ritual.is-lit .ritual__bg img { filter: blur(3px) brightness(.55) saturate(1.2); }
@keyframes ritualDrift { to { transform: scale(1.2) translate(-1.5%, -1%); } }
.ritual__room { position: absolute; inset: -10%; background: radial-gradient(55% 60% at 50% 55%, transparent 0%, rgba(5, 3, 2, .55) 60%, rgba(5, 3, 2, .92) 100%); transition: background 2s var(--ease); }
.ritual.is-lit .ritual__room { background: radial-gradient(60% 55% at 50% 62%, color-mix(in srgb, var(--glow) 30%, transparent), rgba(5, 3, 2, .45) 55%, rgba(5, 3, 2, .9) 100%); }
.ritual__inner { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 24px; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ritual.is-ready .ritual__inner { opacity: 1; transform: none; }
.ritual__eyebrow { margin: 0; }
.ritual__tag { margin: -4px 0 0; font: italic 400 clamp(1rem, 2.2vw, 1.3rem)/1.4 var(--f-serif, Georgia, serif); color: var(--text-2); letter-spacing: .02em; }
.candle--ritual { margin-block: clamp(4px, 3vh, 26px) clamp(0px, 1.5vh, 14px); scale: 1.15; }
@media (max-height: 760px) {
  .ritual__inner { gap: 10px; }
  .ritual__brand { font-size: clamp(2rem, 6.5vh, 3.4rem); }
  .candle--ritual { scale: .9; margin-block: -6px -10px; }
}
@media (max-height: 600px) {
  .candle--ritual { scale: .7; margin-block: -30px -34px; }
  .ritual__tag { display: none; }
}
.ritual__ignite { min-width: 220px; animation: pulseRing 2.4s ease-in-out infinite; }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 45%, transparent); } 50% { box-shadow: 0 0 0 14px transparent; } }
.ritual__hint { margin: 0; color: var(--muted); font-size: .85rem; letter-spacing: .1em; }
.ritual__brand { margin: 0; font: 400 clamp(2.2rem, 7vw, 4.4rem)/1.05 var(--f-display); letter-spacing: .26em; padding-left: .26em; text-shadow: 0 0 40px rgba(0, 0, 0, .6); transition: filter 1.4s var(--ease); }
.ritual.is-lit .ritual__brand { filter: drop-shadow(0 0 24px color-mix(in srgb, var(--glow) 55%, transparent)); }
.ritual__brand span { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ritual__brand small { display: block; font-size: .32em; letter-spacing: .7em; color: var(--text-2); margin-top: .6em; }
.ritual.is-lit .ritual__ignite, .ritual.is-lit .ritual__hint { opacity: 0; pointer-events: none; transition: opacity .5s; }
.ritual.is-leaving { opacity: 0; visibility: hidden; }
.ritual__skip { position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); background: none; border: 0; color: var(--muted); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 10px; }
.ritual__skip:hover { color: var(--text); }
@media (max-width: 640px) { .ritual__skip { bottom: auto; top: calc(14px + env(safe-area-inset-top)); } }

/* ---------- ambient layers ---------- */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ambient-wash { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 45% at 85% 8%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), radial-gradient(60% 40% at 0% 70%, color-mix(in srgb, var(--glow) 7%, transparent), transparent 70%); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 16%, transparent), color-mix(in srgb, var(--glow) 5%, transparent) 40%, transparent 65%); transition: opacity .8s; will-change: transform; }
.cursor-glow.is-on { opacity: 1; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top); transition: transform .5s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s; }
.site-header__inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); max-width: 1400px; margin-inline: auto; padding-inline: clamp(10px, 3vw, 32px); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--ink) 94%, transparent);  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px #000; }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); margin-right: auto; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 220, 160, .25), 0 0 24px -4px color-mix(in srgb, var(--glow) 60%, transparent); transition: transform .8s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.05); }
.brand__text { display: grid; line-height: 1; }
.brand__text b { font: 500 1.05rem var(--f-display); letter-spacing: .24em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__text small { font: 400 .52rem var(--f-body); letter-spacing: .58em; color: var(--text-2); margin-top: 4px; }
.main-nav { display: none; gap: clamp(14px, 2.2vw, 30px); }
.main-nav a { position: relative; color: var(--text-2); font: 400 .74rem var(--f-body); letter-spacing: .22em; text-transform: uppercase; padding: 8px 0; text-decoration: none; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger i:nth-child(2) { width: 70%; }
body.menu-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1a1007; font: 600 .66rem/18px var(--f-body); text-align: center; }
.cart-count.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
.account-link.is-signed::after { content: ''; position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.sound-toggle .wave { display: none; }
.sound-toggle.is-on { color: var(--accent); }
.sound-toggle.is-on .wave { display: block; animation: wave 1.6s ease-in-out infinite; }
.sound-toggle.is-on .mute { display: none; }
@keyframes wave { 50% { opacity: .4; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); background: var(--ink-3); display: inline-grid; place-items: center; font: 500 .9rem var(--f-display); color: var(--accent); }
.avatar--lg { width: 72px; height: 72px; font-size: 1.6rem; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: calc(var(--header-h) + 20px) var(--pad) 40px; overflow-y: auto;
  background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--deep) 95%, var(--glow) 5%), #070504 80%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav a { font: 400 clamp(1.3rem, 6vw, 1.9rem)/1.3 var(--f-display); letter-spacing: .12em; color: var(--text); padding: .35em 0; border-bottom: 1px solid var(--line); text-decoration: none; opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav a:nth-child(n) { transition-delay: calc(var(--i, 0) * 1ms); }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 40ms; } .mobile-nav.is-open a:nth-child(3) { transition-delay: 70ms; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 100ms; } .mobile-nav.is-open a:nth-child(5) { transition-delay: 130ms; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 160ms; } .mobile-nav.is-open a:nth-child(7) { transition-delay: 190ms; }
.mobile-nav.is-open a:nth-child(n+8) { transition-delay: 220ms; }
.mobile-nav a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .site-header__inner { justify-content: space-between; }
}
@media (max-width: 380px) { .brand__text small { display: none; } .brand__text b { font-size: .92rem; } }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; padding: clamp(56px, 9vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5)); overflow: hidden; }
.footer-glow { position: absolute; left: 50%; top: -220px; width: 700px; height: 400px; translate: -50% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 18%, transparent), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
.footer-brand img { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 16px; box-shadow: 0 0 40px -6px color-mix(in srgb, var(--glow) 60%, transparent); }
.footer-title { font: 500 .72rem var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .footer-brand { grid-column: auto; } }

/* ---------- cart drawer ---------- */
.drawer-scrim, .modal__scrim { position: fixed; inset: 0; z-index: 200; background: rgba(4, 2, 1, .65); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(440px, 100%); display: flex; flex-direction: column;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 90%, #000), #0a0705); border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px -20px #000; transform: translateX(105%); transition: transform .55s var(--ease); visibility: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font: 400 1.2rem var(--f-display); letter-spacing: .14em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: rgba(0, 0, 0, .25); }
.cart-lines { list-style: none; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: viewIn .5s var(--ease) both; }
.cart-line__img { display: block; width: 76px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--ivory); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__img.is-cutout { background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--glow) 25%, transparent), var(--ink-3) 70%); }
.cart-line__img.is-cutout img { object-fit: contain; padding: 4px; }
.cart-line__info { display: grid; gap: 4px; min-width: 0; }
.cart-line__name { font: 500 1.05rem/1.25 var(--f-serif); color: var(--text); text-decoration: none; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.cart-line__price { font-weight: 500; color: var(--gold-1); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font: 400 1.1rem var(--f-display); letter-spacing: .06em; }
.cart-empty { text-align: center; padding: 60px 10px; display: grid; justify-items: center; gap: 14px; color: var(--muted); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: end center; }
.modal__scrim { z-index: 0; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 28px 22px calc(26px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(170deg, color-mix(in srgb, var(--deep) 85%, #2a1b0e), #0b0806 70%); border: 1px solid var(--line); box-shadow: 0 -30px 80px -10px #000;
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal--wide .modal__panel { max-width: 860px; }
.modal__close { position: absolute; top: 10px; right: 10px; }
@media (min-width: 700px) {
  .modal { place-items: center; padding: 24px; }
  .modal__panel { border-radius: var(--r-lg); padding: 36px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
  .modal.is-open .modal__panel { opacity: 1; }
}

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 400; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); translate: -50% 0; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(18, 12, 8, .94); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: .92rem; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.is-in { opacity: 1; transform: none; }
.toast--ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.toast--error { border-color: color-mix(in srgb, var(--err) 60%, transparent); color: #ffd3d3; }
.toast--info { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }

/* image fallbacks (missing product media) */
img.is-fallback { object-fit: contain !important; padding: 18%; opacity: .55; background: radial-gradient(circle, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%); }
video.is-missing { display: none !important; }
