/* ==========================================================================
   Maison Ode — solid parfum storefront homepage template
   Layout: announcement bar + centred-logo header, full-bleed video hero,
   4 icon columns, product grid, testimonial carousel, media/text splits,
   full-bleed banners, profile slider, category grid, newsletter, footer.
   ========================================================================== */

:root {
  /* Colour */
  --bg: #fffdf8;
  --bg-rgb: 255 253 248;
  --fg: #353535;
  --fg-rgb: 53 53 53;
  --light: #fffdf9;
  --border: rgb(53 53 53 / 0.1);
  --border-dark: rgb(53 53 53 / 0.4);
  --surface: rgb(53 53 53 / 0.04);
  --card-border: #d7d2cb;
  --placeholder: #e5e1da;
  --placeholder-ink: rgb(53 53 53 / 0.28);
  --overlay-rgb: 23 23 23;

  /* Type */
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-button: "Geist Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --title-sm: clamp(1.75rem, 2.526vw, 2.5rem);
  --title-xs: clamp(1.25rem, 1.666vw, 1.75rem);
  --fluid-base-to-xl: clamp(1rem, 1.288vw, 1.25rem);
  --fluid-base-to-2xl: clamp(1rem, 1.464vw, 1.5rem);
  --fluid-sm-to-lg: clamp(0.875rem, 1.149vw, 1.125rem);
  --btn-size: clamp(0.875rem, 1.06vw, 1rem);

  /* Layout */
  --page-width: 2000px;
  --page-padding: 20px;
  --gap-padding: clamp(20px, 2.526vw, 48px);
  --grid-gap: clamp(40px, 5vw, 72px);
  --topbar-height: 40px;
  --header-height: 56px;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --anim-fast: 0.25s var(--ease-out);
  --anim: 0.5s var(--ease-out);
  --anim-slow: 0.9s var(--ease-out);
}

@media (min-width: 768px) {
  :root { --page-padding: 36px; --header-height: 61px; }
}
@media (min-width: 1024px) {
  :root { --page-padding: 48px; }
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }
.icon--star { width: 14px; height: 14px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--fg); color: var(--light); font-size: var(--text-sm);
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Containers & sections
   -------------------------------------------------------------------------- */
.page-width {
  width: 100%;
  max-width: calc(var(--page-width) + var(--page-padding) * 2);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}
.page-width--narrow { max-width: 72rem; }

.section { position: relative; }
.section--divider { border-top: 1px solid var(--border); }
.spacing-section { height: 28px; }
@media (min-width: 768px) { .spacing-section { height: 40px; } }

/* Section vertical rhythm (mobile = 75% of desktop, matching the source) */
.section--multicolumn       { padding-block: 27px 18px; }
.section--rich-text         { padding-block: 21px; }
.section--featured-collection { padding-block: 18px; }
.section--testimonials      { padding-block: 0; }
.section--image-with-text   { padding-block: 0 24px; }
.section--banner            { padding-block: 0; }
.section--banner-match      { padding-block: 0 42px; }
.section--timeline          { padding-block: 39px; }
.section--journal           { padding-block: 39px; }
.section--collection-list   { padding-block: 18px 0; }
.section--newsletter        { padding-block: 36px 30px; }
.section--footer-features   { padding-block: 39px; }
.section--footer            { padding-block: 15px 0; }
@media (min-width: 768px) {
  .section--multicolumn       { padding-block: 36px 24px; }
  .section--rich-text         { padding-block: 28px; }
  .section--featured-collection { padding-block: 24px; }
  .section--image-with-text   { padding-block: 0 32px; }
  .section--banner-match      { padding-block: 0 56px; }
  .section--timeline          { padding-block: 52px; }
  .section--journal           { padding-block: 52px; }
  .section--collection-list   { padding-block: 24px 0; }
  .section--newsletter        { padding-block: 48px 40px; }
  .section--footer-features   { padding-block: 52px; }
  .section--footer            { padding-block: 20px 0; }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.heading { font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.title-sm { font-size: var(--title-sm); line-height: 1; }
.section-title { font-size: var(--title-xs); line-height: 1.6; text-transform: uppercase; }
.rte { line-height: 1.6; }
.rte p + p { margin-top: 1em; }
.subtext-md { font-size: clamp(1rem, 1.052vw, 1.25rem); }
.subtext-xl { font-size: var(--fluid-base-to-2xl); line-height: 1.2; }

.reversed-link {
  background: linear-gradient(currentColor, currentColor) right min(100%, 1.35em) / 0 1px no-repeat;
  transition: background-size var(--anim);
}
@media (hover: hover) and (pointer: fine) {
  .reversed-link:hover { background-position-x: left; background-size: 100% 1px; }
}
.rte a:not(.button) {
  background: linear-gradient(currentColor, currentColor) right min(100%, 1.35em) / 0 1px no-repeat;
  transition: background-size var(--anim);
}
@media (hover: hover) and (pointer: fine) {
  .rte a:not(.button):hover { background-position-x: left; background-size: 100% 1px; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
  --btn-bg: var(--fg);
  --btn-fg: var(--light);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 26px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-button);
  font-size: var(--btn-size);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.16s var(--ease-out);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fg);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { color: var(--btn-bg); }
  .button:hover::before { transform: translateY(0); }
}
.button:active { transform: scale(0.97); }
.button--sm { padding: clamp(12px, 1.2vw, 16px) clamp(20px, 1.473vw, 24px); }
.button--md { padding: 18px 26px; }
.button--fixed { min-width: 11.5rem; }
.button--secondary {
  --btn-bg: var(--sec-fill, var(--fg));
  --btn-fg: var(--sec-text, var(--bg));
  background: transparent;
  border-color: currentColor;
  color: var(--btn-bg);
}
.button--secondary::before { background: var(--btn-bg); }
@media (hover: hover) and (pointer: fine) {
  .button--secondary:hover { color: var(--btn-fg); }
}
.button--icon .icon { transition: transform 0.35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .button--icon:hover .icon { transform: translateX(3px); }
}
.on-dark, .banner { --sec-fill: var(--light); --sec-text: var(--fg); }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; position: relative;
  transition: transform 0.16s var(--ease-out);
}
.icon-btn:active { transform: scale(0.92); }

/* --------------------------------------------------------------------------
   Media placeholders (swap these blocks for <img>/<video>)
   -------------------------------------------------------------------------- */
.media { position: relative; display: block; overflow: hidden; }
.media--square { aspect-ratio: 1 / 1; width: 100%; }
.media--cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph {
  background-color: var(--placeholder);
  background-image:
    linear-gradient(135deg, rgb(255 255 255 / 0.35) 0%, rgb(255 255 255 / 0) 60%),
    repeating-linear-gradient(45deg, rgb(53 53 53 / 0.025) 0 1px, transparent 1px 18px);
}
.ph__icon {
  position: absolute; left: 50%; top: 50%;
  width: 32px; height: 32px; margin: -16px 0 0 -16px;
  fill: none; stroke: var(--placeholder-ink); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ph--dark {
  background-color: #7f7a73;
  background-image:
    radial-gradient(ellipse at 50% 55%, #645f59 0%, #837e77 55%, #9a958d 100%),
    repeating-linear-gradient(45deg, rgb(255 255 255 / 0.03) 0 1px, transparent 1px 18px);
  background-blend-mode: normal, overlay;
}
.ph--dark .ph__icon { stroke: rgb(255 253 249 / 0.45); }
.ph--video .ph__icon { width: 40px; height: 40px; margin: -20px 0 0 -20px; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--fg);
  color: var(--bg);
  height: var(--topbar-height);
  font-size: 13px;
  position: relative;
  z-index: 25;
}
.topbar__inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.topbar__spacer, .localization--topbar { display: none; }
.announcement { display: flex; justify-content: center; height: 100%; }
.announcement__link { display: flex; align-items: center; height: 100%; }
.announcement__text {
  font-family: var(--font-button);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}
.announcement__text--desktop { display: none; }
@media (min-width: 768px) {
  .announcement__text { font-size: 13px; }
  .announcement__text--mobile { display: none; }
  .announcement__text--desktop { display: block; }
}
@media (min-width: 1024px) {
  .topbar__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; }
  .topbar__spacer { display: block; }
  .localization--topbar { display: flex; justify-content: flex-end; align-items: center; gap: 24px; height: 100%; }
}

/* Language / country selectors */
.loc { position: relative; height: 100%; }
.loc__summary {
  display: flex; align-items: center; gap: 10px; height: 100%;
  font-size: 13px; line-height: 1.25; white-space: nowrap;
}
.loc__summary .icon { transition: transform 0.3s var(--ease-out); }
.loc[open] .loc__summary .icon { transform: rotate(180deg); }
.loc__menu {
  position: absolute; top: 100%; left: 0; z-index: 30;
  min-width: 100%;
  padding: 20px 24px;
  background: var(--fg);
  color: var(--bg);
  display: grid; gap: 12px;
  font-size: 13px; line-height: 1.5;
  transform-origin: top;
  animation: dropdown-in 0.2s var(--ease-out);
}
.loc--right .loc__menu { left: auto; right: 0; }
.loc__menu--up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom; }
.loc--light .loc__menu { background: var(--bg); color: var(--fg); border: 1px solid var(--border); }
.loc__option { white-space: nowrap; opacity: 0.7; transition: opacity 0.2s; }
.loc__option.is-active, .loc__option:hover { opacity: 1; }
@keyframes dropdown-in {
  from { opacity: 0; transform: scaleY(0.96) translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: relative;
  z-index: 20;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-block: 6px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header__icons { display: flex; align-items: center; gap: 6px; }
.header__icons--start { justify-content: flex-start; margin-left: -10px; }
.header__icons--end { justify-content: flex-end; margin-right: -10px; }
.header__nav { display: none; }
.header__logo { font-size: inherit; font-weight: inherit; display: flex; justify-content: center; }
.header__search-desktop { display: none; }
.cart-count {
  position: absolute; top: 6px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: 10px; line-height: 16px; text-align: center;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 19px; font-weight: 500; line-height: 1;
  letter-spacing: 0.32em; text-transform: uppercase;
  white-space: nowrap;
}
.logo__bar { width: 1px; height: 1.15em; background: currentColor; margin-right: -0.32em; }
.logo--sm { font-size: 15px; }
.logo--footer { font-size: 16px; }
@media (min-width: 768px) {
  .logo { font-size: 24px; }
}

@media (min-width: 768px) {
  .header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 40px; }
  .header__icons--start { display: none; }
  .header__nav { display: flex; justify-content: flex-start; min-width: 0; }
  .header__search-desktop { display: flex; }
  .header__menu { display: flex; flex-wrap: wrap; gap: 0 40px; }
  .menu__item {
    position: relative;
    display: flex; align-items: center; height: 48px;
    font-size: var(--text-base); font-weight: 500;
    white-space: nowrap;
  }
  .menu__item::after {
    content: "";
    position: absolute; left: 50%; bottom: 8px;
    width: 4px; height: 4px; border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, 4px) scale(0);
    opacity: 0;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }
  .menu__item:hover::after { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Mobile menu drawer
   -------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__overlay {
  position: absolute; inset: 0;
  background: rgb(53 53 53 / 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(85vw, 420px);
  display: flex; flex-direction: column;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  height: 61px; padding: 0 10px 0 20px;
  border-bottom: 1px solid var(--border);
}
.drawer__nav { flex: 1; padding: 24px 20px; overflow-y: auto; }
.drawer__nav li + li { margin-top: 4px; }
.drawer__nav a {
  display: block; padding: 12px 0;
  font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + 120ms);
}
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__footer { padding: 20px; border-top: 1px solid var(--border); display: grid; gap: 16px; }
.drawer__footer-link { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); }
.drawer__loc { display: flex; flex-wrap: wrap; gap: 20px; }
.drawer__loc button { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); }
body.drawer-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   1. Video hero
   -------------------------------------------------------------------------- */
.video-hero { position: relative; height: 422px; overflow: hidden; color: #fff; }
@media (min-width: 768px) { .video-hero { height: 552px; } }
@media (min-width: 1536px) { .video-hero { height: 650px; } }
.banner__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: rgb(var(--overlay-rgb) / var(--overlay-opacity, 0.2));
}
.video-hero__toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--fg); color: var(--light);
  transition: transform 0.16s var(--ease-out), background-color 0.3s var(--ease-out);
}
@media (min-width: 768px) { .video-hero__toggle { right: 24px; bottom: 24px; } }
.video-hero__toggle:active { transform: scale(0.92); }
.video-hero__play { display: none; }
.video-hero__toggle[aria-pressed="false"] .video-hero__pause { display: none; }
.video-hero__toggle[aria-pressed="false"] .video-hero__play { display: block; }

/* --------------------------------------------------------------------------
   2. Text with icons (value props) + footer features
   -------------------------------------------------------------------------- */
.text-with-icons {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--page-padding) * -1);
  padding-inline: var(--page-padding);
  scroll-padding-inline: var(--page-padding);
}
.text-with-icons::-webkit-scrollbar { display: none; }
.text-with-icons .column {
  flex: 0 0 80vw;
  max-width: 340px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 20px;
  text-align: center;
}
.text-with-icons--background .column {
  padding: clamp(20px, 2.105vw, 40px);
  background: var(--surface);
}
.text-with-icons .column__icon { display: flex; justify-content: center; }
.column__title { font-size: var(--text-lg); font-weight: 500; line-height: 1.25; }
.column__text { padding-top: 8px; font-size: 13px; line-height: 1.25; }
.text-with-icons--border .column { padding-inline: clamp(20px, 2.105vw, 40px); }
@media (min-width: 1024px) {
  .text-with-icons {
    display: grid;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .text-with-icons .column { flex: auto; max-width: none; }
  .text-with-icons--background { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
  .text-with-icons--border { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(20px, 2.105vw, 40px); }
  .text-with-icons--border .column:nth-child(3n + 1) { padding-inline-start: 0; }
  .text-with-icons--border .column:nth-child(3n) { padding-inline-end: 0; }
  .text-with-icons--border .column:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--border); }
}

/* --------------------------------------------------------------------------
   3. Rich text
   -------------------------------------------------------------------------- */
.rich-text--center { text-align: center; }

/* --------------------------------------------------------------------------
   Title wrapper (section headings with optional controls)
   -------------------------------------------------------------------------- */
.title-wrapper {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: clamp(32px, 2.526vw, 48px);
  line-height: 1;
}
@media (min-width: 768px) {
  .title-wrapper { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
}
.indicators { display: none; gap: 10px; }
@media (min-width: 1024px) { .indicators { display: flex; } }
.indicator {
  width: 56px; height: 44px; padding: 0;
  border-radius: 999px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out), color 0.35s var(--ease-out), transform 0.16s var(--ease-out);
}
.indicator:hover { opacity: 1; }
.indicator[disabled] { opacity: 0.3; pointer-events: none; }

/* --------------------------------------------------------------------------
   4. Featured collection / product cards
   -------------------------------------------------------------------------- */
.slider--tablet .product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80vw;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--page-padding) * -1);
  padding-inline: var(--page-padding);
  scroll-padding-inline: var(--page-padding);
}
.slider--tablet .product-grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .slider--tablet .product-grid { grid-auto-columns: 36vw; }
}
@media (min-width: 1024px) {
  .slider--tablet .product-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--card-border);
  scroll-snap-align: start;
  line-height: 1;
}
.slider--tablet .product-card + .product-card { border-left: 0; }
@media (min-width: 1024px) {
  .slider--tablet .product-card + .product-card { border-left: 1px solid var(--card-border); }
  .product-card:not(:nth-child(4n + 1)) { border-left: 0; }
  .product-card:nth-child(n + 5) { border-top: 0; }
}
.product-card__media { position: relative; }
.product-card__media .media {
  transition: transform 0.9s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__media .media { transform: scale(1.03); }
}
.badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--fg); color: var(--bg);
  font-size: var(--text-sm); font-weight: 500; line-height: 1;
  width: max-content; max-width: calc(100% - 40px);
  pointer-events: none;
}
.rating {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgb(var(--bg-rgb) / 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11px; line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
}
.quick-view {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--light); color: var(--fg);
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .quick-view, .quick-view:focus-visible { opacity: 1; transform: none; }
  .product-card:hover .rating { opacity: 0; }
}
.product-card__content {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(14px, 1.263vw, 18px) clamp(20px, 2.105vw, 30px) clamp(20px, 2.105vw, 30px);
  text-align: left;
}
.product-card__details { display: flex; flex-direction: column; gap: 8px; }
.product-card__collection-text { font-size: var(--text-sm); line-height: 1; color: rgb(var(--fg-rgb) / 0.6); }
.product-card__title { font-size: var(--fluid-base-to-xl); font-weight: 500; line-height: 1.25; }
.price { font-size: var(--btn-size); line-height: 1; }
.product-card__bottom { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.swatches { display: inline-flex; gap: 8px; }
.color-swatch {
  position: relative;
  display: block; width: 32px; height: 32px;
  border-radius: 5px;
  background: var(--swatch, #ddd);
  box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / 0.2), inset 1px 3px 0 rgb(var(--fg-rgb) / 0.115);
}
.color-swatch::after {
  content: "";
  position: absolute; inset: -3px; border-radius: inherit;
  box-shadow: 0 0 0 1.5px var(--fg);
  opacity: 0; transition: opacity 0.2s var(--ease-out);
}
.color-swatch:hover::after, .color-swatch:focus-visible::after { opacity: 1; }

/* --------------------------------------------------------------------------
   5. Testimonials carousel
   -------------------------------------------------------------------------- */
.testimonials { max-width: 900px; margin: 0 auto; padding: 10px; text-align: center; }
.testimonials__title { font-size: 2rem; font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
@media (max-width: 767px) { .testimonials__title { font-size: 1.625rem; } }
.testimonials__content {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin: 32px 0 24px;
  min-height: 224px;
}
.testimonials__arrow {
  flex: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.16s var(--ease-out), opacity 0.2s;
}
.testimonials__arrow:active { transform: scale(0.9); }
.testimonials__track { display: grid; flex: 1; min-width: 0; align-items: center; }
.testimonial {
  grid-area: 1 / 1;
  max-width: 672px;
  margin: 0 auto;
  opacity: 0; visibility: hidden;
  filter: blur(4px);
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), filter 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.testimonial.is-active {
  opacity: 1; visibility: visible; filter: none; transform: none;
  transition-delay: 0s;
}
.testimonial blockquote p { font-size: 1.25rem; line-height: 1.2; }
@media (max-width: 767px) { .testimonial blockquote p { font-size: 1.0625rem; } }
.testimonial__stars { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.testimonial__stars .icon { width: 24px; height: 24px; }
.testimonial__name { margin-top: 16px; font-size: var(--text-base); font-weight: 600; line-height: 1.5; }
.testimonials__dots { display: flex; justify-content: center; gap: 8px; padding-bottom: 20px; }
.testimonials__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgb(var(--fg-rgb) / 0.25);
  transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.testimonials__dots button[aria-selected="true"] { background: var(--fg); transform: scale(1.25); }

/* --------------------------------------------------------------------------
   6 & 10. Image with text (media / copy split)
   -------------------------------------------------------------------------- */
.image-with-text { display: flex; flex-direction: column; gap: 32px; overflow: hidden; }
.image-with-text__item--media { flex: none; }
.image-with-text__item--text { align-self: center; width: 100%; }
.image-with-text .rich-text { text-align: center; }
.image-with-text .rich-text .rte { margin-top: 24px; }
.image-with-text .rich-text .button { margin-top: 24px; }
@media (min-width: 1024px) {
  .image-with-text { flex-direction: row; gap: 32px; }
  .image-with-text--reverse { flex-direction: row-reverse; gap: 0; }
  .image-with-text--reverse .image-with-text__item--media { width: 44%; }
  .image-with-text--reverse .image-with-text__item--text { flex: 1; }
  .image-with-text--reverse .rich-text { padding-right: 60px; }
  .image-with-text .rich-text { text-align: left; }
  .image-with-text .rich-text .rte { margin-top: 40px; }
  .image-with-text .rich-text .button { margin-top: 40px; }
  .image-with-text--journal .image-with-text__item--media,
  .image-with-text--journal .image-with-text__item--text { width: calc(50% - 16px); }
  .image-with-text--journal .rich-text { padding-left: 60px; }
}
.journal-title {
  font-size: 1.25rem; line-height: 1; text-transform: uppercase;
  padding-bottom: 40px;
}
.journal-links { margin-top: 40px; font-size: clamp(1.375rem, 1.944vw, 1.75rem); line-height: 0.8; }
.journal-links p + p { margin-top: 18px; }
.journal-links a { display: inline-block; padding-block: 0.1em; }
@media (max-width: 1023px) {
  .journal-title { padding-bottom: 0; }
  .journal-links { margin-top: 32px; }
}

/* --------------------------------------------------------------------------
   7, 9, 12. Banners (image with text overlay)
   -------------------------------------------------------------------------- */
.banner { position: relative; overflow: hidden; color: var(--light); }
.banner--adapt { aspect-ratio: 860 / 1198; }
@media (min-width: 768px) { .banner--adapt { aspect-ratio: 1920 / 852; } }
.banner--overlay-0 { --overlay-opacity: 0; }
.banner--adapt .ph__icon { display: none; }
.banner__content { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.banner__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.banner__inner--mobile-end { align-items: flex-end; }
@media (min-width: 768px) { .banner__inner--mobile-end { align-items: center; } }
.banner__box {
  width: 100%;
  max-width: 32rem;
  padding-block: clamp(40px, 3.368vw, 64px);
  text-align: center;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { .banner__box--small { max-width: 40rem; } }
.banner__box > * + * { margin-top: 20px; }
.banner__title { text-wrap: balance; }
.banner .button--secondary { color: var(--light); }

/* --------------------------------------------------------------------------
   8. Timeline (scent profiles slider)
   -------------------------------------------------------------------------- */
.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--page-padding) * -1);
  padding-inline: var(--page-padding);
  scroll-padding-inline: var(--page-padding);
}
.timeline::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .timeline { grid-auto-columns: 85%; gap: 40px; }
}
.timeline__item { position: relative; scroll-snap-align: start; }
.timeline__item::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: rgb(var(--bg-rgb) / 0.75);
  transition: opacity 0.5s var(--ease-out);
}
.timeline__item.is-selected::after { opacity: 0; }
.timeline__card {
  display: flex; flex-direction: column;
  background: var(--surface);
  overflow: hidden;
}
.timeline__item-content {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px;
}
@media (min-width: 768px) {
  .timeline__card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
  .timeline__item-content { padding: var(--grid-gap) var(--grid-gap) var(--grid-gap) 0; justify-content: center; }
}
@media (min-width: 1280px) {
  .timeline__item-content { padding-block: 96px; }
}
.timeline__title { font-size: 2.25rem; font-weight: 700; line-height: 1.6; letter-spacing: -0.025em; padding-bottom: 8px; }
@media (max-width: 1023px) { .timeline__title { font-size: 1.875rem; } }
.timeline__text { font-size: var(--text-lg); line-height: 1.6; }
@media (max-width: 1023px) { .timeline__text { font-size: var(--text-base); } }
.timeline__text p + p { margin-top: 1em; }
.timeline__item-content .button { margin-top: 18px; }
.scroll-area { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--page-padding) * -1); padding-inline: var(--page-padding); }
.scroll-area::-webkit-scrollbar { display: none; }
.timeline-dots {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  width: max-content; min-width: 100%;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .timeline-dots { margin-top: 56px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.timeline-dots button {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fluid-base-to-2xl); line-height: 1.6; letter-spacing: -0.025em;
  text-align: left; white-space: nowrap;
  color: rgb(var(--fg-rgb) / 0.25);
  transition: color 0.4s var(--ease-out);
}
.timeline-dots button::after {
  content: "";
  display: block; flex: 1; height: 1px; min-width: 40px;
  background: rgb(var(--fg-rgb) / 0.25);
}
.timeline-dots button[aria-current="true"] { color: var(--fg); }

/* --------------------------------------------------------------------------
   13. Collection list (media cards)
   -------------------------------------------------------------------------- */
.collection-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 768px) { .collection-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .collection-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.media-card { position: relative; display: block; color: #fff; overflow: hidden; }
.media-card .media { transition: transform 0.9s var(--ease-out); }
.media-card .media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgb(0 0 0 / 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .media-card:hover .media { transform: scale(1.03); }
}
.media-card__content {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px 20px;
}
@media (min-width: 1024px) { .media-card__content { padding: 0 40px 28px; } }
.media-card__text { font-size: var(--text-lg); line-height: 1.25; letter-spacing: -0.05em; }
@media (hover: hover) and (pointer: fine) {
  .media-card:hover .media-card__text { background-position-x: left; background-size: 100% 1px; }
}

/* --------------------------------------------------------------------------
   14. Newsletter
   -------------------------------------------------------------------------- */
.newsletter { text-align: center; }
.newsletter__text { max-width: 520px; margin: 0 auto; font-size: var(--text-base); line-height: 1.6; }
.newsletter__form {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 24px;
}
.newsletter__input {
  width: 100%; max-width: 183px; height: 50px;
  padding: 0 16px;
  border: 1px solid var(--fg);
  background: var(--bg);
  font-size: 13px; letter-spacing: 0.02em;
  transition: box-shadow 0.2s var(--ease-out);
}
.newsletter__input::placeholder { color: rgb(var(--fg-rgb) / 0.8); text-transform: uppercase; }
.newsletter__input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--fg); }
.newsletter__input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #9a3b3b; border-color: #9a3b3b; }
.newsletter__submit {
  width: 100%; max-width: 183px; height: 50px; margin-left: 4px;
  background: var(--fg); color: var(--bg);
  font-size: var(--text-sm); letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.16s var(--ease-out), opacity 0.2s;
}
.newsletter__submit:active { transform: scale(0.97); }
.newsletter__message { width: 100%; min-height: 1.2em; margin-top: 10px; font-size: 13px; line-height: 1.4; }
@media (max-width: 479px) {
  .newsletter__input, .newsletter__submit { max-width: none; margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { display: grid; grid-template-columns: minmax(0, 1fr); }
.footer__left { display: flex; flex-direction: column; gap: 40px; padding-bottom: 28px; }
.footer__brand { display: flex; flex-direction: column; gap: 40px; flex: none; }
.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.social { display: block; transition: transform 0.2s var(--ease-out), opacity 0.2s; }
.social:hover { opacity: 0.7; }
.footer__accordions { display: flex; flex-direction: column; }
.footer__col { border: 1px solid var(--border); border-bottom: 0; padding-inline: 20px; }
.footer__col:last-child { border-bottom: 1px solid var(--border); }
.footer__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-block: 16px;
}
.footer__heading { font-size: var(--fluid-base-to-2xl); font-weight: 500; line-height: 1.6; text-transform: uppercase; }
.footer__chevron { transition: transform 0.3s var(--ease-out); }
.footer__col[open] .footer__chevron { transform: rotate(180deg); }
.footer__content { padding-bottom: 20px; }
.footer__content ul { display: flex; flex-direction: column; gap: 12px; }
.footer__content a { font-size: var(--fluid-sm-to-lg); line-height: 1.25; }
@media (min-width: 768px) {
  .footer__left { flex-direction: row; gap: clamp(40px, 8.42vw, 160px); }
  .footer__accordions { flex: 1; flex-direction: row; flex-wrap: wrap; gap: 48px; }
  .footer__col { width: calc(25% - 36px); min-width: 140px; border: 0; padding-inline: 0; }
  .footer__col:last-child { border-bottom: 0; }
  .footer__summary { padding-block: 0; pointer-events: none; }
  .footer__heading { font-weight: 400; }
  .footer__chevron { display: none; }
  .footer__content { padding-top: 28px; padding-bottom: 0; }
}

/* Copyright row */
.copyright {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding-block: 28px;
  font-size: var(--text-sm);
}
@media (min-width: 1024px) {
  .copyright { flex-direction: row; justify-content: space-between; gap: 0; }
}
.copyright__credits { line-height: 1.25; }
.copyright__localization { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.loc-btn {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 44px 0 16px;
  border: 1px solid var(--border);
  font-size: var(--text-sm); line-height: 1.25; white-space: nowrap;
  transition: border-color 0.2s var(--ease-out);
}
.loc-btn:hover { border-color: var(--border-dark); }
.loc-btn__chevron { position: absolute; right: 16px; top: 50%; margin-top: -7px; transition: transform 0.3s var(--ease-out); }
.loc[open] .loc-btn__chevron { transform: rotate(180deg); }
.payment-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.payment-icons svg { width: 40px; height: 24px; }
.payment-icons rect { fill: #ebe8e1; stroke: #d7d2cb; }
.payment-icons text {
  fill: rgb(var(--fg-rgb) / 0.7);
  font-family: var(--font-button); font-size: 7px; font-weight: 500; letter-spacing: 0.02em;
  text-anchor: middle;
}

/* --------------------------------------------------------------------------
   Mobile dock
   -------------------------------------------------------------------------- */
.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock__item {
  flex: 1 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 0 8px;
  font-size: 10px; line-height: 1;
}
.dock__cart { position: relative; }
.dock__count {
  position: absolute; top: -6px; right: -10px;
  min-width: 14px; height: 14px; padding: 0 3px;
  border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: 9px; line-height: 14px; text-align: center;
}
body { padding-bottom: 58px; }
@media (min-width: 768px) {
  .mobile-dock { display: none; }
  body { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Rewards tab
   -------------------------------------------------------------------------- */
.rewards-tab {
  position: fixed; right: 0; bottom: 15vh; z-index: 25;
  width: 40px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--fg); color: var(--light);
  transition: transform 0.3s var(--ease-out);
}
.rewards-tab:hover { transform: translateX(-2px); }
.rewards-tab__label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-button); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 767px) { .rewards-tab { bottom: 96px; height: 100px; width: 34px; } }

/* --------------------------------------------------------------------------
   Scroll reveal (progressive: everything is visible without JS)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-visible > .timeline__item { transform: none; }

.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin: -0.12em -0.06em;
  padding: 0.12em 0.06em;
}
.split-words .w > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.split-words.is-visible .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-group] > *, .split-words .w > span {
    opacity: 1; transform: none; transition: none;
  }
  .button::before, .button, .media, .indicator, .testimonial, .drawer__panel, .drawer__nav a {
    transition-duration: 0.01ms !important;
  }
}
