/* Elif — testers, gifting, offer bands. Uses tokens from elif.css. */

/* Cart line properties */
.line__prop { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); margin-top: 2px; }
.line__prop--free { color: var(--success); }

/* Free tester picker (PDP + gift set) */
.ft { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, 0.35); }
.ft__head { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ft__head b { font-weight: 600; font-size: 15px; }
.ft__picks { display: grid; gap: 8px; }
@media (min-width: 480px) { .ft__picks { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.ft__pick { position: relative; display: flex; align-items: center; }
.ft__pick[hidden] { display: none; }
.ft__dot { position: absolute; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); pointer-events: none; }
.ft__pick select, .gs__scent { width: 100%; min-height: 48px; padding: 0 36px 0 34px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font-size: 15px; }
.gs__scent { padding-left: 14px; font-weight: 600; }
.pdp__kit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sand, #E8DCCB); text-decoration: none; font-size: 14px; }
.pdp__kit b { white-space: nowrap; font-weight: 600; }
.pdp__kit:hover { color: inherit; background: var(--sand-deep, #DCCBB2); }

/* Gift options in the bag */
.gift { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.gift__toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.gift__toggle input, .gift__check input, .gs__kit input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); flex: 0 0 auto; }
.gift__toggle span { display: flex; flex-direction: column; gap: 2px; }
.gift__toggle b { font-weight: 600; }
.gift__toggle small { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.gift__body { display: flex; flex-direction: column; gap: 12px; }
.gift__check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.gift__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.gift__field > span { display: flex; justify-content: space-between; gap: 8px; }
.gift__field input, .gift__field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 16px; resize: vertical; }
.gift__status { margin: 0; min-height: 1em; }

/* Discovery kit page */
.kit { padding-bottom: 140px; }
.kit__hero { padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.kit__hero > *, .gs__hero > * { max-width: 880px; }
.kit__proof { margin: 8px 0 0; padding: 20px; list-style: none; border-radius: 18px; }
.kit__pick { padding-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.kit__pick-head { display: flex; flex-direction: column; gap: 6px; }
.kit__chips { position: static; background: none; margin-inline: calc(var(--gutter) * -1); }
.kit__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 750px) { .kit__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .kit__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.kit__card[hidden] { display: none; }
.kit__opt { position: relative; width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.4); transition: border-color 150ms, box-shadow 150ms, transform 150ms var(--ease), opacity 150ms; }
.kit__opt img, .kit__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--surface-raised); }
.kit__name { font-weight: 600; font-size: 15px; margin-top: 4px; }
.kit__vibe { font-size: 12.5px; color: var(--text-muted); line-height: 1.35; }
.kit__opt::after { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 4px; border-radius: 4px; background: var(--liquid); opacity: 0; transition: opacity 150ms; }
.kit__opt[aria-pressed="true"] { border-color: var(--action); box-shadow: 0 0 0 2px var(--action); }
.kit__opt[aria-pressed="true"]::after { opacity: 1; }
.kit__opt:disabled { opacity: 0.45; cursor: not-allowed; }
.kit__tick { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--action); color: var(--on-action); transform: scale(0); transition: transform 200ms var(--ease); }
.kit__opt[aria-pressed="true"] .kit__tick { transform: scale(1); }
@media (hover: hover) { .kit__opt:not(:disabled):hover { transform: translateY(-2px); border-color: var(--line-strong); } }
.kit__how { padding-top: 64px; display: flex; flex-direction: column; gap: 24px; }
.kit__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 750px) { .kit__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.kit__step { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: var(--surface-raised); }
.kit__step-n { font-family: var(--accent); font-style: italic; font-size: 32px; line-height: 1; color: var(--gold-ink); }
.kit__step b { font-weight: 600; font-size: 17px; }
.kit__gift { margin: 0; }
.kit__tray { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "slots slots" "count add" "err err"; gap: 10px 12px; align-items: center; padding: 12px; border-radius: 20px; box-shadow: 0 10px 40px rgba(34, 34, 34, 0.18); }
.kit__slots { grid-area: slots; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.kit__slot { min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 12px; }
.kit__slot i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--liquid, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); }
.kit__slot em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
.kit__slot.is-filled { border-style: solid; background: var(--surface); }
.kit__slot.is-filled em { color: var(--text); font-weight: 600; }
.kit__count { grid-area: count; margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.35; }
.kit__add { grid-area: add; min-height: 48px; padding: 0 20px; border-radius: 14px; white-space: nowrap; }
.kit__tray .errors { grid-area: err; margin: 0; }
@media (min-width: 990px) {
  .kit__tray { left: 50%; right: auto; width: min(960px, calc(100% - 48px)); transform: translateX(-50%); bottom: 20px; grid-template-columns: 1fr auto auto; grid-template-areas: "slots count add" "err err err"; padding: 12px 12px 12px 16px; }
  .kit__count { max-width: 220px; }
}

/* Gift set builder */
.gs { padding-bottom: 40px; }
.gs__hero { padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.gs__perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 750px) { .gs__perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gs__perks li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--sand, #E8DCCB); }
.gs__perks b { font-weight: 600; font-size: 14px; }
.gs__perks span { font-size: 12.5px; color: var(--gold-ink); letter-spacing: 0.04em; }
.gs__grid { padding-top: 40px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 990px) { .gs__grid { grid-template-columns: 7fr 4fr; gap: 48px; } .gs__summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.gs__steps { display: flex; flex-direction: column; gap: 20px; }
.gs__step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; }
.gs__n { margin: 0; font-family: var(--accent); font-style: italic; font-size: 30px; line-height: 1; color: var(--gold-ink); }
.gs__slots { display: flex; flex-direction: column; gap: 12px; }
.gs__slot { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; border-radius: 16px; background: var(--surface-raised); border-left: 4px solid var(--liquid); }
@media (min-width: 600px) { .gs__slot { grid-template-columns: 120px 1fr; } }
.gs__slot-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.gs__slot-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gs__slot-top { display: flex; justify-content: space-between; align-items: center; }
.gs__slot-top b { font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.gs__vibe { font-size: 14px; }
.gs__sizes .size span { min-height: 52px; border-radius: 12px; background: var(--surface); }
.gs__ft { background: var(--surface); }
.gs__more { align-self: flex-start; min-height: 48px; border-radius: 14px; }
.gs__kit { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--sand, #E8DCCB); cursor: pointer; }
.gs__kit span { display: flex; flex-direction: column; gap: 2px; }
.gs__kit small { font-size: 13px; color: var(--text-muted); }
.gs__summary { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); }
.gs__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gs__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.gs__row small { color: var(--success); }
.gs__row--save { color: var(--success); font-weight: 600; }
.gs__row--total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.gs__summary .btn { border-radius: 14px; }

/* Offer bands — two crossing, tilted bands that drift in opposite directions */
.obands { padding-top: 56px; overflow: hidden; }
@media (min-width: 990px) { .obands { padding-top: 120px; } }
.obands__head { padding-bottom: 8px; }
.obands__label { margin: 0; }
.obands__stage { position: relative; height: 200px; }
@media (min-width: 990px) { .obands__stage { height: 300px; } }
.obands__stage--one { height: 120px; }
.oband { position: absolute; left: -10%; width: 120%; overflow: hidden; padding: 16px 0; }
@media (min-width: 990px) { .oband { padding: 24px 0; } }
.oband--a { top: 22%; transform: rotate(-4deg); background: var(--action); color: var(--champagne, #D9BE8C); z-index: 2; box-shadow: 0 12px 30px rgba(91, 31, 36, 0.22); }
.oband--b { top: 46%; transform: rotate(3deg); background: var(--sand-deep, #DCCBB2); color: var(--ink); z-index: 1; }
.obands__stage--one .oband { top: 20%; }
.oband__track { display: flex; width: max-content; will-change: transform; }
.oband__run { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-shrink: 0; }
.oband__item { flex-shrink: 0; font-size: clamp(22px, 3.6vw, 44px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.oband__item a, .oband__item span { text-decoration: none; color: inherit; }
.oband__item a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.oband__item .hl { font-family: var(--accent); font-style: italic; font-weight: 400; }
.oband--a .hl { color: var(--paper); }
.oband--b .hl { color: var(--action); }
.oband__sep { flex-shrink: 0; padding: 0 0.9em; font-size: clamp(14px, 1.8vw, 22px); opacity: 0.7; }
.oband a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.obands.is-static .oband { overflow-x: auto; scrollbar-width: none; }
.obands.is-static .oband::-webkit-scrollbar { display: none; }
.obands.is-static .oband__track { padding-inline: 10vw; }

/* iOS: never show Safari's play overlay on ambient films; they start on first touch if autoplay is blocked */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video[data-hero]::-webkit-media-controls, video[data-inview]::-webkit-media-controls { display: none !important; }

/* ───────── Liquid glass controls (controls only, never content) ───────── */
.lg { position: relative; isolation: isolate; border-radius: 30px; background: rgba(255, 255, 255, 0.10); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 18px 50px rgba(0, 0, 0, 0.22); }
.lg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 55%); }
.lg-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: inherit; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.14); transition: transform 380ms cubic-bezier(.34, 1.56, .64, 1), background 200ms, box-shadow 200ms; -webkit-tap-highlight-color: transparent; }
.lg-btn:hover { color: inherit; background: rgba(255, 255, 255, 0.22); }
.lg-btn:active { transform: scale(0.95); transition-duration: 120ms; }
.lg-btn--prominent { background: rgba(91, 31, 36, 0.92); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 10px 30px rgba(91, 31, 36, 0.35); }
.lg-btn--prominent:hover { color: var(--paper); background: rgba(110, 38, 44, 0.95); }
.lg-btn[disabled] { opacity: 0.5; }
.lg-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; -webkit-tap-highlight-color: transparent; }
.lg-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lg-switch__track { position: relative; width: 52px; height: 32px; border-radius: 999px; background: rgba(34, 34, 34, 0.18); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); transition: background 250ms; flex: 0 0 auto; }
.lg-switch__thumb { position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 #fff; transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1), width 200ms; }
.lg-switch input:checked + .lg-switch__track { background: var(--action); }
.lg-switch input:checked + .lg-switch__track .lg-switch__thumb { transform: translateX(20px); }
.lg-switch input:active + .lg-switch__track .lg-switch__thumb { width: 34px; }
.lg-switch input:focus-visible + .lg-switch__track { outline: 2px solid var(--text); outline-offset: 3px; }
@media (prefers-reduced-transparency: reduce) {
  .lg, .lg-btn { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hk .lg, .hk .lg-btn:not(.lg-btn--prominent) { background: #3A342C; }
  .hg .lg { background: #F6F4F0; }
}

/* ───────── Home: Discovery kit ───────── */
.hk { margin-top: 0; padding: 72px 0 80px; background: var(--band, #29251C); color: var(--paper); overflow: hidden; }
@media (min-width: 990px) { .hk { padding: 140px 0; } }
.hk__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 990px) { .hk__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.hk__title { color: var(--paper); }
.hk .hl { color: var(--champagne); }
.hk__lede { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(246, 244, 240, 0.86); max-width: 34em; }
.hk__facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hk__facts div { display: flex; flex-direction: column; gap: 4px; }
.hk__facts dt { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; color: var(--champagne); font-variant-numeric: tabular-nums; }
.hk__facts dd { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(246, 244, 240, 0.72); }
.hk__stage { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hk__holder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
@media (min-width: 750px) { .hk__holder { gap: 16px; padding: 20px; } }
.hk__well { position: relative; height: 230px; border: 0; border-radius: 22px; padding: 0; background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.10); display: flex; align-items: center; justify-content: center; overflow: hidden; color: inherit; -webkit-tap-highlight-color: transparent; transition: box-shadow 250ms, transform 380ms cubic-bezier(.34, 1.56, .64, 1); }
@media (min-width: 750px) { .hk__well { height: 320px; } }
.hk__well:active { transform: scale(0.97); }
.hk__well.is-active { box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 2px var(--champagne); }
.hk__glow { position: absolute; left: 10%; right: 10%; bottom: 6%; height: 45%; border-radius: 50%; background: var(--liquid, transparent); filter: blur(26px); opacity: 0.65; transition: background 500ms, opacity 400ms; }
.hk__vial { position: relative; height: 88%; width: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.hk__vial.is-drop { animation: hk-drop 640ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes hk-drop { from { transform: translateY(-38%) scale(0.92); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
.hk__well:empty::after, .hk__well:not(:has(.hk__vial:not([hidden])))::after { content: "+"; position: absolute; font-size: 28px; font-weight: 300; color: rgba(246, 244, 240, 0.4); }
.hk__picked { margin: 0; min-height: 1.5em; font-size: 14px; color: rgba(246, 244, 240, 0.78); }
.hk__dock { padding: 10px; border-radius: 26px; display: flex; flex-direction: column; gap: 10px; }
.hk__fams { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); }
.hk__fams::-webkit-scrollbar, .hk__chips::-webkit-scrollbar { display: none; }
.hk__fam { position: relative; z-index: 1; flex: 1 0 auto; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(246, 244, 240, 0.8); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color 200ms; }
.hk__fam[aria-selected="true"] { color: var(--ink); }
.hk__fam-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: rgba(246, 244, 240, 0.94); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 #fff; transition: transform 460ms cubic-bezier(.34, 1.4, .64, 1), width 460ms cubic-bezier(.34, 1.4, .64, 1); }
.hk__chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 6px; scrollbar-width: none; }
.hk__chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.10); color: var(--paper); font-size: 14px; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform 380ms cubic-bezier(.34, 1.56, .64, 1), background 200ms; -webkit-tap-highlight-color: transparent; }
.hk__chip:active { transform: scale(0.94); }
.hk__chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--liquid); box-shadow: 0 0 10px var(--liquid); }
.hk__chip[aria-pressed="true"] { background: rgba(246, 244, 240, 0.92); color: var(--ink); }
.hk__chip[hidden] { display: none; }
.hk__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hk .lg-btn:not(.lg-btn--prominent) { color: var(--paper); }

/* ───────── Home: Gifting ───────── */
.hg { margin-top: 0; padding: 72px 0 80px; background: var(--sand, #E8DCCB); overflow: hidden; }
@media (min-width: 990px) { .hg { padding: 140px 0; } }
.hg__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 990px) { .hg__grid { grid-template-columns: 6fr 6fr; gap: 72px; } }
.hg__lede { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 34em; }
.hg__box-wrap { position: relative; display: flex; justify-content: center; padding: 60px 0 40px; perspective: 1400px; }
.hg__box { position: relative; width: min(64vw, 300px); aspect-ratio: 10.17 / 15.2; transform: rotateX(4deg) rotateY(-14deg); transform-style: preserve-3d; transition: transform 900ms cubic-bezier(.2, .8, .2, 1); }
.hg__box:hover { transform: rotateX(2deg) rotateY(-6deg); }
.hg__tray { position: absolute; left: 3%; right: 3%; top: 2%; height: 40%; border-radius: 6px 6px 0 0; background: #2A231E; transform: translateY(0); transition: transform 1100ms cubic-bezier(.2, .8, .2, 1) 200ms; display: flex; align-items: flex-start; justify-content: center; padding-top: 8%; }
.is-in .hg__tray, .hg__box.is-open .hg__tray { transform: translateY(-46%); }
.hg__insert { width: 86%; height: 70%; border-radius: 4px; background: #5E1F24; box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5); display: flex; justify-content: space-evenly; align-items: flex-start; overflow: hidden; padding-top: 4%; }
.hg__insert img { height: 150%; width: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); }
.hg__sleeve { position: absolute; inset: 0; border-radius: 6px; background: #DCCFB8; box-shadow: 0 30px 60px rgba(42, 35, 30, 0.28), 0 6px 14px rgba(42, 35, 30, 0.18), inset 0 0 0 1px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; align-items: center; padding: 22% 10% 12%; text-align: center; color: #2A231E; }
.hg__logo { width: 42%; height: auto; }
.hg__rule { width: 22%; height: 1.5px; margin: 10% 0 8%; background: #BFA27A; }
.hg__for { margin: 0; font-family: var(--accent); font-style: italic; font-size: clamp(22px, 5.2vw, 30px); line-height: 1.1; color: #2A231E; max-width: 100%; overflow-wrap: anywhere; }
.hg__for span { font-size: 0.7em; color: #7A5C33; }
.hg__for b { font-weight: 400; }
.hg__for b.is-typed { animation: hg-ink 300ms ease-out; }
@keyframes hg-ink { from { opacity: 0.35; filter: blur(2px); } to { opacity: 1; filter: none; } }
.hg__tag { margin: auto 0 0; font-family: var(--accent); font-style: italic; font-size: 13px; color: #7A5C33; }
.hg__ribbon { position: absolute; inset: 0; pointer-events: none; transition: opacity 400ms, transform 600ms cubic-bezier(.34, 1.56, .64, 1); }
.hg__ribbon i:first-child { position: absolute; top: 0; bottom: 0; left: 72%; width: 7%; background: #BFA27A; box-shadow: inset 0 0 0 1px rgba(122, 92, 51, 0.25); }
.hg__ribbon i:nth-child(2) { position: absolute; left: 0; right: 0; top: 62%; height: 5%; background: #BFA27A; box-shadow: inset 0 0 0 1px rgba(122, 92, 51, 0.25); }
.hg__bow { position: absolute; left: 75.5%; top: 64.5%; width: 64px; height: 40px; transform: translate(-50%, -50%); }
.hg__bow::before, .hg__bow::after { content: ""; position: absolute; top: 4px; width: 30px; height: 30px; border: 6px solid #BFA27A; border-radius: 50% 50% 50% 0; }
.hg__bow::before { left: 0; transform: rotate(-30deg); }
.hg__bow::after { right: 0; transform: scaleX(-1) rotate(-30deg); }
.hg__box[data-wrapped="false"] .hg__ribbon { opacity: 0; transform: scale(1.08); }
.hg__card { position: absolute; right: -16%; bottom: -16%; width: 62%; margin: 0; padding: 16px 16px 18px; background: #FBF9F5; border-radius: 4px; box-shadow: 0 18px 40px rgba(42, 35, 30, 0.22); transform: rotate(6deg) translateZ(40px); transition: transform 900ms cubic-bezier(.2, .8, .2, 1) 400ms, opacity 600ms 400ms; }
.hg__card p { margin: 0; font-family: var(--accent); font-style: italic; font-size: clamp(14px, 3.4vw, 16px); line-height: 1.35; color: #2A231E; overflow-wrap: anywhere; }
.js .hg:not(.is-in) .hg__card { transform: rotate(0) translate(-20%, 10%); opacity: 0; }
.hg__controls { margin-top: 28px; padding: 18px; border-radius: 26px; display: flex; flex-direction: column; gap: 14px; background: rgba(255, 255, 255, 0.38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 18px 50px rgba(42, 35, 30, 0.14); }
.hg__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.hg__field input { width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 1px 3px rgba(42, 35, 30, 0.12); font-size: 16px; }
.hg__field input:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.hg__perks { list-style: none; margin: 22px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; line-height: 1.4; }
.hg__perks li { padding-left: 18px; position: relative; }
.hg__perks li::before { content: "✦"; position: absolute; left: 0; color: #A8824F; font-size: 11px; top: 2px; }
.hg .lg-btn:not(.lg-btn--prominent) { background: rgba(255, 255, 255, 0.45); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 24px rgba(42, 35, 30, 0.12); }
@media (prefers-reduced-motion: reduce) {
  .hg__tray, .hg__card, .hg__box, .hk__vial.is-drop, .lg-btn, .hk__chip, .hk__fam-thumb { transition: none !important; animation: none !important; }
}

/* The phone-only floating 'All products' button must not cover these actions */
body:has(.kit__tray) .float-all, body:has([data-gs]) .float-all { display: none; }
html.float-hide .float-all { transform: translateY(170%) !important; opacity: 0 !important; visibility: hidden !important; }

/* Discovery kit page: photos beside the intro */
.kit__top { padding-top: 16px; display: grid; gap: 24px; }
@media (min-width: 990px) { .kit__top { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 32px; } }
.kit__top .kit__hero { padding-top: 0; }
.kit__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 22px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.kit__gallery::-webkit-scrollbar { display: none; }
.kit__gallery img { flex: 0 0 86%; width: 86%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; scroll-snap-align: center; background: var(--surface-raised); }
@media (min-width: 990px) { .kit__gallery { margin: 0; padding: 0; } .kit__gallery img { flex-basis: 100%; width: 100%; } }

/* Homepage scent finder: full width and flush with its neighbours, no paper gap above it */
@media (min-width: 990px) {
  .finder { max-width: none; margin: 0; border-radius: 0; padding: 120px max(64px, calc((100vw - var(--max)) / 2 + 64px)); }
}

/* ───────── Account: Shopify's sign-in sheet in Elif's colours, with a liquid-glass account button ───────── */
shopify-account {
  --shopify-account-color-accent: #5B1F24;
  --shopify-account-color-accent-hover: #6E262C;
  --shopify-account-color-accent-text: #F6F4F0;
  --shopify-account-color-background: #F6F4F0;
  --shopify-account-color-background-subdued: #ECE6DC;
  --shopify-account-color-text: #222222;
  --shopify-account-color-text-subdued: #6E6A64;
  --shopify-account-color-border: #D3CEC4;
  --shopify-account-color-card-background: #FFFFFF;
  --shopify-account-color-card-text: #222222;
  --shopify-account-color-control-background: #FFFFFF;
  --shopify-account-color-control-text: #222222;
  --shopify-account-color-shadow: rgba(42, 35, 30, 0.22);
  --shopify-account-font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shopify-account-font-heading: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shopify-account-font-heading-weight: 600;
  --shopify-account-radius-base: 14px;
  --shopify-account-radius-dialog: 28px;
  --shopify-account-radius-input: 14px;
  --shopify-account-radius-button: 999px;
  --shopify-account-radius-button-small: 999px;
  --shopify-account-avatar-size: 40px;
  --shopify-account-signed-in-avatar-size: 34px;
  --shopify-account-signed-in-avatar-color-background: #5B1F24;
  --shopify-account-signed-in-avatar-color-text: #F6F4F0;
  --shopify-account-dialog-position-top: calc(var(--header-h, 72px) + 8px);
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
}
shopify-account::part(signed-out-avatar) { padding: 0; border: 0; background: none; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
shopify-account::part(signed-out-avatar):focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.header__account-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 4px 14px rgba(42, 35, 30, 0.10); transition: transform 380ms cubic-bezier(.34, 1.56, .64, 1), background 200ms; }
@media (hover: hover) { .header__account:hover .header__account-btn { background: rgba(255, 255, 255, 0.7); } }
.header__account:active .header__account-btn { transform: scale(0.92); transition-duration: 120ms; }
@media (prefers-reduced-transparency: reduce) { .header__account-btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FFFFFF; } }
@media (max-width: 989px) { shopify-account { --shopify-account-dialog-position-top: calc(var(--header-h, 60px) + 4px); } }
.header__account { display: inline-flex; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.header__account:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

/* ───────── Layering finder ───────── */
.ly { padding: 72px 0 80px; background: var(--paper); overflow: hidden; }
@media (min-width: 990px) { .ly { padding: 140px 0; } }
.ly__head { display: grid; gap: 14px; max-width: 760px; }
.ly__lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.ly__dock { margin-top: 28px; padding: 16px; border-radius: 28px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 18px 50px rgba(42, 35, 30, 0.10); }
.ly__step { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.ly__step span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--ink); color: var(--paper); }
.ly__chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; scrollbar-width: none; }
.ly__chips::-webkit-scrollbar { display: none; }
.ly .hk__chip { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(42, 35, 30, 0.08); }
.ly .hk__chip[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.ly__goals { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(42, 35, 30, 0.08); overflow-x: auto; scrollbar-width: none; }
.ly__goals::-webkit-scrollbar { display: none; }
.ly__goals button { position: relative; z-index: 1; flex: 1 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 200ms; }
.ly__goals button[aria-checked="true"] { color: var(--ink); }
.ly__goal-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(42, 35, 30, 0.14), inset 0 1px 0 #fff; transition: transform 460ms cubic-bezier(.34, 1.4, .64, 1), width 460ms cubic-bezier(.34, 1.4, .64, 1); }
.ly__result { margin-top: 28px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 990px) { .ly__result { grid-template-columns: 5fr 6fr; gap: 64px; margin-top: 48px; } }
.ly__stage { position: relative; height: 380px; border-radius: 32px; background: var(--sand, #E8DCCB); overflow: hidden; isolation: isolate; }
@media (min-width: 990px) { .ly__stage { height: 520px; } }
.ly__haze { position: absolute; width: 70%; height: 60%; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1; transition: background 700ms; }
.ly__haze--a { left: -10%; bottom: -10%; background: var(--la); }
.ly__haze--b { right: -10%; top: -5%; background: var(--lb); }
.ly__vial { position: absolute; margin: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
.ly__vial img { height: 280px; width: auto; filter: drop-shadow(0 18px 22px rgba(42, 35, 30, 0.25)); }
@media (min-width: 990px) { .ly__vial img { height: 380px; } }
.ly__vial--a { left: 50%; transform: translate(-95%, -50%) rotate(-7deg); }
.ly__vial--b { left: 50%; transform: translate(-5%, -46%) rotate(6deg); }
.ly__vial figcaption { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(42, 35, 30, 0.12); white-space: nowrap; }
.ly__vial figcaption b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--ink); color: var(--paper); }
.ly__stage.is-swap .ly__vial--a { animation: ly-in-a 700ms cubic-bezier(.2, .8, .2, 1); }
.ly__stage.is-swap .ly__vial--b { animation: ly-in-b 760ms cubic-bezier(.34, 1.3, .64, 1) 80ms both; }
@keyframes ly-in-a { from { opacity: 0; transform: translate(-130%, -50%) rotate(-14deg); } }
@keyframes ly-in-b { from { opacity: 0; transform: translate(30%, -60%) rotate(14deg); } }
.ly__score { position: absolute; right: 16px; top: 16px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.45); }
.ly__score svg { position: absolute; inset: 6px; width: auto; height: auto; transform: rotate(-90deg); }
.ly__ring-bg { fill: none; stroke: rgba(42, 35, 30, 0.12); stroke-width: 3; }
.ly__ring { fill: none; stroke: var(--action); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 800ms cubic-bezier(.2, .8, .2, 1); }
.ly__score b { position: relative; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ly__score b::after { content: "%"; font-size: 11px; font-weight: 600; }
.ly__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ly__kicker { margin: 0; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.ly__name { margin: 0; font-family: var(--accent); font-style: italic; font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.01em; }
.ly__why { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; }
.ly__why li { padding-left: 22px; position: relative; }
.ly__why li::before { content: "✦"; position: absolute; left: 0; top: 3px; font-size: 11px; color: var(--gold); }
.ly__sub { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.ly__accords { display: grid; gap: 8px; }
.ly__bar { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 12px; font-size: 13px; }
.ly__bar i { height: 8px; border-radius: 999px; background: rgba(42, 35, 30, 0.08); overflow: hidden; }
.ly__bar b { display: block; height: 100%; width: var(--w); border-radius: 999px; animation: ly-bar 800ms cubic-bezier(.2, .8, .2, 1); }
@keyframes ly-bar { from { width: 0; } }
.ly__ritual { margin: 0; padding: 14px 16px 14px 34px; border-radius: 18px; background: var(--surface-raised); display: grid; gap: 6px; font-size: 15px; }
.ly__ritual li::marker { font-weight: 700; color: var(--action); }
.ly__alts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ly__alts .ly__sub { margin: 0 4px 0 0; }
.ly__alt { min-height: 40px; padding: 0 14px; gap: 8px; font-size: 14px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(42, 35, 30, 0.08); }
.ly__alt i { width: 10px; height: 10px; border-radius: 50%; }
.ly__alt small { color: var(--text-muted); font-weight: 600; }
.ly__alt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ly__alt[aria-pressed="true"] small { color: var(--champagne); }
@media (prefers-reduced-motion: reduce) { .ly__stage.is-swap .ly__vial, .ly__bar b, .ly__ring, .ly__goal-thumb { animation: none !important; transition: none !important; } }
.ly__vial--a figcaption { transform: rotate(7deg) translateX(-34%); }
.ly__vial--b figcaption { transform: rotate(-6deg) translateX(34%); }

.ly__vial figcaption a { color: inherit; text-decoration: none; }
.ly__vial figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Layering: buy panel */
.ly__buy { padding: 18px; border-radius: 26px; display: grid; gap: 14px; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 18px 50px rgba(42, 35, 30, 0.10); }
.ly__buy-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ly__buy-head .ly__sub { margin: 0; color: var(--ink); font-size: 15px; }
.ly__sizes { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(42, 35, 30, 0.08); }
.ly__sizes button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; color: var(--text-muted); transition: background 300ms cubic-bezier(.34, 1.4, .64, 1), color 200ms, box-shadow 300ms; }
.ly__sizes button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(42, 35, 30, 0.14), inset 0 1px 0 #fff; }
.ly__sizes button:disabled { opacity: 0.4; }
.ly__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ly__price b { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ly__price s { font-size: 17px; color: var(--text-muted); }
.ly__save { font-style: normal; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--action); color: var(--paper); }
.ly__perk { margin: -6px 0 0; font-size: 14px; color: var(--text-muted); }
.ly__gift-on small { display: block; font-size: 13px; color: var(--text-muted); }
.ly__gift { display: grid; gap: 12px; }
.ly__add { width: 100%; min-height: 54px; font-size: 16px; }
.ly__add:disabled { opacity: 0.5; }
.ly__more { display: grid; gap: 8px; }
@media (min-width: 600px) { .ly__more { grid-template-columns: 1fr 1fr; } }
.ly__more .lg-btn { justify-content: center; text-align: center; font-size: 14px; min-height: 46px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(42, 35, 30, 0.10); }
.footer__brand { margin-right: auto; }

/* Layering teaser (homepage) */
.lyt { padding: 72px 0; background: var(--paper); overflow: hidden; }
@media (min-width: 990px) { .lyt { padding: 120px 0; } }
.lyt__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 990px) { .lyt__inner { grid-template-columns: 1fr 1fr; gap: 72px; } }
.lyt__copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lyt__copy .ly__kicker, .lyt__copy .h2 { margin: 0; }
.lyt__lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 34ch; }
.lyt__step { margin-top: 10px; }
.lyt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lyt .hk__chip { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(42, 35, 30, 0.08); }
.lyt .hk__chip[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.lyt__actions { margin-top: 8px; }
.lyt__actions .lg-btn { min-height: 52px; padding: 0 26px; }
.lyt__stage { display: block; height: 340px; color: inherit; text-decoration: none; }
@media (min-width: 990px) { .lyt__stage { height: 480px; } }
.lyt__stage .ly__vial img { height: 240px; }
@media (min-width: 990px) { .lyt__stage .ly__vial img { height: 340px; } }
.lyt__card { position: absolute; left: 16px; top: 16px; display: grid; gap: 2px; padding: 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(42, 35, 30, 0.12); }
.lyt__card small { font-size: 12px; font-weight: 700; color: var(--action); }
.lyt__card b { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.1; }
.lyt__stage:hover .ly__vial--a { transform: translate(-100%, -50%) rotate(-10deg); }
.lyt__stage:hover .ly__vial--b { transform: translate(0%, -46%) rotate(10deg); }
