/* ============================================================================
   Nyraa Skin Care — Homepage + reference header/footer
   Matches the code.html reference LAYOUT, recolored to our screenshot palette.
   Loaded after layout.css so it overrides global header/footer where needed.
   Tokens only. Icons: Material Symbols.
   ============================================================================ */

/* ---------- Material Symbols ---------- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: var(--icon-md);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined.is-filled { font-variation-settings: 'FILL' 1; }

/* ============================================================
   HEADER — fixed glass bar (reference)
   ============================================================ */
.glass-panel {
  background: rgba(249, 246, 241, 0.75); /* --color-bg @ 75% */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  transition: box-shadow var(--dur-base) var(--ease-standard),
              background-color var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
}
/* Pin each item to its column so the actions stay flush-right even when the
   nav is display:none (< 992px) and only two grid items remain. */
.site-branding { grid-column: 1; justify-self: start; }
.main-nav { grid-column: 2; justify-self: center; }
.header-actions { grid-column: 3; justify-self: end; }

.site-branding__logo { max-height: 48px; width: auto; }
.site-branding__title {
  font-family: var(--font-headline);
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  color: var(--color-neutral);
  letter-spacing: var(--ls-tight);
}
.site-branding__title a { color: inherit; }

/* Primary nav */
.main-nav { display: none; }
@media (min-width: 992px) { .main-nav { display: block; } }
.main-nav .nav__list { gap: var(--space-xl); }
.main-nav .nav__link {
  position: relative;
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  padding-block: var(--space-xs);
}
.main-nav .nav__link:hover { color: var(--color-primary); }
.main-nav .current-menu-item > .nav__link {
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  border-bottom: 2px solid var(--color-primary);
}

/* Header action icons */
.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.header-actions__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-color);
}
.header-actions__btn:hover { background: var(--color-surface); color: var(--color-primary); }
.header-actions__dot {
  position: absolute;
  top: 3px;
  right: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  border: 2px solid var(--color-surface-alt);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  line-height: 1;
}
.header-actions__dot:empty { display: none; }

/* Hide the mobile menu toggle on desktop (beats .header-actions__btn). */
@media (min-width: 992px) {
  .header-actions .nav-toggle { display: none; }
}

/* Header search panel (opens on the search icon) */
.site-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--z-dropdown);
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.site-search.is-open { opacity: 1; transform: none; }
.site-search__inner { padding-block: var(--space-md) var(--space-lg); }
.site-search__form {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}
.site-search__icon { color: var(--color-text-muted); }
.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  color: var(--color-text);
  padding: var(--space-sm) 0;
}
.site-search__input::placeholder { color: var(--color-text-muted); }
.site-search__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
}
.site-search__close:hover { background: var(--color-surface); color: var(--color-primary); }
.site-search__results { margin-top: var(--space-sm); max-height: 60vh; overflow-y: auto; }
.site-search__list { display: flex; flex-direction: column; }
.site-search__item a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.site-search__item a:hover { background: var(--color-surface); }
.site-search__thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-surface);
}
.site-search__meta { display: flex; flex-direction: column; min-width: 0; }
.site-search__title { font-weight: var(--fw-medium); color: var(--color-text); }
.site-search__price { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-primary); }
.site-search__kind { font-size: var(--fs-caption); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: var(--ls-label); }
.site-search__msg { padding: var(--space-md) var(--space-sm); color: var(--color-text-secondary); }
.site-search__all {
  display: block;
  text-align: center;
  padding: var(--space-md);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
.site-search__all:hover { color: var(--primary-700); }

/* Push non-home content below the fixed header */
body:not(.home) .site-main { padding-top: var(--header-height); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg,
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( rgba(249,246,241,0.55), rgba(249,246,241,0.42) );
}
/* Centered content column */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}
.hero__content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.hero__eyebrow { margin-bottom: var(--space-lg); }
.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: var(--lh-tight);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}
.hero__title-accent { font-style: italic; color: var(--color-primary); }
.hero__lead {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 32rem;
  margin: 0 auto var(--space-xl);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* Pill button modifier (reference CTA style) */
.btn--pill {
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  font-weight: var(--fw-bold);
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.home-section { padding-block: var(--space-2xl); }
@media (min-width: 992px) { .home-section { padding-block: var(--space-3xl); } }
.home-section--surface { background: var(--color-surface); }
.home-section--white { background: var(--color-surface-alt); }

.home-section__head { text-align: center; max-width: var(--container-md); margin: 0 auto var(--space-2xl); }
.home-section__head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  text-align: start;
  max-width: none;
  gap: var(--space-lg);
}
.social__follow .material-symbols-outlined { font-size: 18px; }
.home-section__title { margin-bottom: var(--space-sm); }
.home-section__subtitle { color: var(--color-text-secondary); }
.home-section__eyebrow {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.home-section__title-accent { display: block; font-style: italic; color: var(--color-primary); }

/* Platforms / marketplaces */
.platforms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 768px) { .platforms__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); } }
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-surface-alt);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.platform-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--color-neutral);
  overflow: hidden;
}
.platform-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.platform-card__btn { width: 100%; }
.platform-card__btn.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* Gift / promo banner (optional, after Skin Solutions) */
.promo-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-2xl);
  background: #F7E6DB;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (min-width: 768px) {
  .promo-banner { grid-template-columns: 1.25fr 1fr; gap: var(--space-lg); padding: var(--space-2xl) var(--space-3xl); }
}
.promo-banner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: var(--lh-tight);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}
.promo-banner__text { color: var(--color-text); line-height: var(--lh-body); max-width: 44ch; margin-bottom: var(--space-md); }
.promo-banner__code { font-size: var(--fs-body); color: var(--color-text); margin-bottom: var(--space-lg); }
.promo-banner__code strong { font-weight: var(--fw-bold); letter-spacing: 0.02em; }
.promo-banner__btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--color-neutral);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  transition: background-color var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard);
}
.promo-banner__btn:hover { background: #000; color: var(--color-text-inverse); transform: translateY(-2px); }
.promo-banner__media { display: flex; align-items: center; justify-content: center; }
.promo-banner__media img,
.promo-banner__media video { max-width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-lg); }
@media (min-width: 768px) {
  .promo-banner__media { align-self: stretch; justify-content: flex-end; }
  .promo-banner__media img,
  .promo-banner__media video { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
}

.home-section__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  white-space: nowrap;
}
.home-section__link:hover .material-symbols-outlined { transform: translateX(4px); }
.home-section__link .material-symbols-outlined { transition: transform var(--dur-base) var(--ease-standard); }

/* ============================================================
   SIGNATURE SHOWCASE (filmstrip, after the hero)
   Base layout is a plain snap-scrolling strip so the section
   works with no JS; the 3D filmstrip is layered on under `.js`
   — the same progressive-enhancement gate as .reveal.
   --pos (signed slot) and --abs (its magnitude) come from the
   template and are rewritten by JS as the strip moves.
   ============================================================ */
.showcase__stage {
  --showcase-card-w: clamp(200px, 21vw, 268px);
  --showcase-step:   calc(var(--showcase-card-w) * 0.66);
  --showcase-depth:  80px;
  --showcase-turn:   22deg;
  position: relative;
}

.showcase__strip {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--space-md);
}
.showcase__strip::-webkit-scrollbar { display: none; }

/* ---------- Card ---------- */
.showcase__card {
  flex: 0 0 var(--showcase-card-w);
  scroll-snap-align: center;
  display: block;
  color: inherit;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
}
.showcase__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.showcase__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-standard),
              filter var(--dur-slow) var(--ease-standard);
}
/* Warm scrim that settles over the resting cards. */
.showcase__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 41, 38, 0.30), rgba(45, 41, 38, 0) 60%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.showcase__plate {
  display: flex;
  align-items: center;
  min-height: 56px;
  /* No inline padding: the caption lines up with the edge of the image above. */
  padding: var(--space-md) 0 var(--space-xs);
}
.showcase__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.showcase__name {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  line-height: var(--lh-snug);
  color: var(--color-text);
}
.showcase__cue {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: var(--transition-color);
}
.showcase__cue .material-symbols-outlined {
  font-size: var(--icon-sm);
  transition: transform var(--dur-base) var(--ease-standard);
}

/* Arrows are useless without JS (and stay swipe-only on touch).
   Scoped to the stage so it outranks the shared .social__nav base. */
.showcase__stage .showcase__nav { display: none; }

/* ---------- Enhanced: the filmstrip ---------- */
.js .showcase__stage {
  overflow: hidden;
  padding-block: var(--space-lg);
}
.js .showcase__strip {
  display: grid;
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: 0;
  overflow: visible;
  padding-block: 0;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
.js .showcase__card {
  grid-area: 1 / 1;
  width: var(--showcase-card-w);
  transform:
    translateX(calc(var(--pos, 0) * var(--showcase-step)))
    translateY(var(--lift, 0px))
    translateZ(calc(var(--abs, 0) * var(--showcase-depth) * -1))
    rotateY(calc(var(--pos, 0) * var(--showcase-turn) * -1))
    scale(calc(1 - var(--abs, 0) * 0.04));
  /* --showcase-fade comes from the template: 1 / (reach + 1), so the outermost
     visible ring always lands just above zero and cards ease in and out. */
  opacity: calc(1 - var(--abs, 0) * var(--showcase-fade, 0.22));
  z-index: calc(10 - var(--abs, 0));
  transition: transform var(--dur-slow) var(--ease-standard),
              opacity var(--dur-slow) var(--ease-standard),
              box-shadow var(--dur-slow) var(--ease-standard),
              border-color var(--dur-slow) var(--ease-standard);
}
.js .showcase__card.is-far { opacity: 0; pointer-events: none; }

.js .showcase__card:not(.is-active) { cursor: pointer; }
.js .showcase__card:not(.is-active) .showcase__img { filter: saturate(0.55); }
.js .showcase__card:not(.is-active) .showcase__sheen { opacity: 1; }

.js .showcase__card.is-active {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}
.js .showcase__card.is-active .showcase__cue { color: var(--color-primary); }

/* Only the centred card is labelled. A resting card's plate is overlapped by
   the card in front of it, and on the right-hand side that clips the START of
   the title ("Lip Care" reading as "CARE"). Hovering previews the label and
   lifts the card clear of its neighbour. The text stays in the DOM, so every
   card keeps its accessible name and its link text. */
.showcase__plate { transition: opacity var(--dur-slow) var(--ease-standard); }
.js .showcase__card:not(.is-active) .showcase__plate { opacity: 0; }
.js .showcase__card:not(.is-active):hover .showcase__plate { opacity: 1; }
.js .showcase__card:not(.is-active):hover { z-index: 11; }

.js .showcase__card:hover { --lift: -8px; }
.js .showcase__card.is-active:hover .showcase__img { transform: scale(1.04); }
.js .showcase__card.is-active:hover .showcase__cue .material-symbols-outlined { transform: translateX(4px); }

.js .showcase__stage .showcase__nav { display: inline-flex; }
.js .showcase__nav[disabled] { opacity: 0.4; cursor: default; box-shadow: var(--shadow-sm); }
.js .showcase__nav[disabled]:hover { color: var(--color-neutral); box-shadow: var(--shadow-sm); }

@media (max-width: 767px) {
  .showcase__stage {
    --showcase-card-w: clamp(180px, 56vw, 240px);
    --showcase-step:   calc(var(--showcase-card-w) * 0.5);
    --showcase-depth:  60px;
    --showcase-turn:   26deg;
  }
  .js .showcase__stage .showcase__nav { display: none; } /* swipe on touch */
}

/* ============================================================
   CURATED COLLECTIONS (bento)
   ============================================================ */
.collections__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 768px) {
  .collections__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 340px;
  }
  .collection-card { grid-column: span 4; } /* fallback */
  .collection-card.is-span-4 { grid-column: span 4; }
  .collection-card.is-span-6 { grid-column: span 6; }
  .collection-card.is-span-8 { grid-column: span 8; }
  .collection-card.is-span-12 { grid-column: span 12; }
}
.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 240px;
  isolation: isolate;
}
.collection-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.collection-card:hover .collection-card__img { transform: scale(1.05); }
.collection-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,41,38,0.55), rgba(45,41,38,0) 55%);
}
.collection-card__body { position: absolute; left: var(--space-lg); bottom: var(--space-lg); z-index: 1; }
.collection-card__title { color: var(--color-text-inverse); margin-bottom: var(--space-xs); }
.collection-card__sub {
  display: block;
  color: var(--color-text-inverse);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  opacity: 0.9;
}

/* ============================================================
   BEST SELLERS — product cards
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 576px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .products__grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: block; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-md);
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.product-card:hover .product-card__media { box-shadow: var(--shadow-lg); }
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-secondary);
  color: var(--color-text-inverse);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-pill);
}
/* The heart is a real form POST (no-JS fallback); the wrapper must not affect
   layout, so the button positions against .product-card__media as before. */
.wishlist-form { display: contents; }

.product-card__wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: var(--icon-circle);
  height: var(--icon-circle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-neutral);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-color), box-shadow var(--dur-base) var(--ease-standard);
}
.product-card__wishlist:hover {
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.product-card__wishlist[aria-pressed="true"] { color: var(--color-primary); }
.product-card__wishlist[aria-pressed="true"] .material-symbols-outlined { font-variation-settings: 'FILL' 1; color: var(--color-primary); }

.product-card__quickadd {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.product-card__quickadd:hover { background: var(--color-primary); color: var(--color-text-inverse); }

/* Reveal the add-to-cart on card hover, or on keyboard focus (a11y). */
.product-card:hover .product-card__quickadd,
.product-card:focus-within .product-card__quickadd { opacity: 1; transform: translateY(0); }
.product-card__body { padding-inline: var(--space-sm); }
.product-card__stars { display: flex; color: var(--color-primary); margin-bottom: var(--space-xs); }
.product-card__stars .material-symbols-outlined { font-size: var(--fs-small); }
.product-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-normal);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.product-card__title a { color: inherit; }
.product-card__price { color: var(--color-primary); font-weight: var(--fw-bold); }

/* ============================================================
   SKIN SOLUTIONS
   ============================================================ */
.solutions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
@media (min-width: 768px) { .solutions__grid { grid-template-columns: repeat(5, 1fr); } }
.solution { text-align: center; }
.solution__icon {
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: transform var(--dur-base) var(--ease-standard);
}
.solution:hover .solution__icon { transform: scale(1.05); }
.solution__icon .material-symbols-outlined { font-size: 64px; color: var(--color-primary); }
.solution__icon--green { background: var(--secondary-50); border-color: var(--secondary-200); }
.solution__icon--green .material-symbols-outlined { color: var(--color-secondary); }
/* Image alternative to the icon (admin choice) — fills the circular badge. */
.solution__icon--image { overflow: hidden; padding: 0; }
.solution__img { width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover; display: block; }
.solution__label {
  display: block;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text);
}

/* ============================================================
   VALUES
   ============================================================ */
.values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
@media (min-width: 768px) { .values__grid { grid-template-columns: repeat(5, 1fr); } }
.value { text-align: center; }
.value__icon .material-symbols-outlined { font-size: 32px; color: var(--color-primary); }
.value__icon--green .material-symbols-outlined { color: var(--color-secondary); }
.value__title {
  margin-block: var(--space-sm) var(--space-xs);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
.value__text { font-size: var(--fs-small); color: var(--color-text-secondary); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--color-surface); }

/* Parallax background image + overlay (only when an image is set) */
.newsletter--image { position: relative; overflow: hidden; }
.newsletter__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 160%;
  z-index: 0;
  will-change: transform;
}
.newsletter__bg-img { width: 100%; height: 100%; object-fit: cover; }
.newsletter__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( rgba(45, 41, 38, 0.45), rgba(45, 41, 38, 0.60) );
}
.newsletter--image > .container { position: relative; z-index: 2; }

.newsletter__card {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .newsletter__card { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--space-3xl); }
}
.newsletter__title { margin-bottom: var(--space-md); }
.newsletter__text { color: var(--color-text-secondary); font-size: var(--fs-body-lg); max-width: 32rem; }
.newsletter__form { display: flex; flex-direction: column; gap: var(--space-md); min-width: min(100%, 360px); }
@media (min-width: 576px) { .newsletter__form { flex-direction: row; } }
.newsletter__input {
  flex: 1 1 auto;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.newsletter__note { margin-top: var(--space-md); font-size: var(--fs-caption); color: var(--color-text-muted); font-style: italic; }

/* ============================================================
   SOCIAL GALLERY
   ============================================================ */
.social__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
@media (min-width: 768px) { .social__grid { grid-template-columns: repeat(5, 1fr); } }
.social__item { position: relative; aspect-ratio: 1; overflow: hidden; }
.social__img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-base) var(--ease-standard); }
.social__item:hover .social__img { opacity: 0.9; }

/* Carousel variant — used only when there are more than 5 images.
   The 5-up grid above is left completely untouched. */
.social__carousel { position: relative; }
.social__track {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.social__track::-webkit-scrollbar { display: none; }
.social__track:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.social__carousel .social__item {
  flex: 0 0 calc((100% - 4 * var(--space-sm)) / 5); /* 5 per view (matches the grid) */
  scroll-snap-align: start;
}
@media (max-width: 767px) {
  .social__carousel .social__item { flex-basis: calc((100% - 1.2 * var(--space-sm)) / 2.2); } /* ~2 per view */
}
.social__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-neutral);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-color), box-shadow var(--dur-base) var(--ease-standard);
}
.social__nav:hover { color: var(--color-primary); box-shadow: var(--shadow-lg); }
.social__nav--prev { left: 0; }
.social__nav--next { right: 0; }
@media (max-width: 767px) { .social__nav { display: none; } } /* swipe on touch */

/* ============================================================
   TESTIMONIALS (auto-scroll carousel)
   ============================================================ */
.testimonials__carousel { position: relative; }
.testimonials__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--space-xs);
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonials__track:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: 0;
  padding: var(--space-xl);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .testimonial { flex-basis: calc((100% - var(--space-lg)) / 2); } }
@media (min-width: 992px) { .testimonial { flex-basis: calc((100% - 2 * var(--space-lg)) / 3); } }

.testimonial__mark { font-size: 40px; line-height: 1; color: var(--color-primary); opacity: 0.45; }
.testimonial .product-card__stars { margin: 0; }
.testimonial__quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--color-text);
}
.testimonial__person { display: flex; align-items: center; gap: var(--space-md); margin-top: auto; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: var(--radius-full); object-fit: cover; }
.testimonial__meta { display: flex; flex-direction: column; }
.testimonial__name { font-weight: var(--fw-semibold); color: var(--color-text); }
.testimonial__role { font-size: var(--fs-caption); color: var(--color-text-muted); }

/* ============================================================
   FOOTER (reference — light)
   ============================================================ */
.site-footer {
  background: var(--color-surface);
  color: var(--color-text-secondary);
  padding-block: var(--space-2xl);
}
@media (min-width: 992px) { .site-footer { padding-block: var(--space-3xl); } }
.site-footer a { color: var(--color-text-secondary); }
.site-footer a:hover { color: var(--color-primary); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer__brandlogo { max-height: 40px; width: auto; margin-bottom: var(--space-lg); }
.site-footer__about { margin-bottom: var(--space-lg); padding-inline-end: var(--space-2xl); }
.site-footer__social { display: flex; gap: var(--space-md); }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-circle);
  height: var(--icon-circle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  transition: var(--transition-color);
}
.social-link:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
/* Beat ".site-footer a:hover" (which would recolor the icon camel-on-camel). */
.site-footer .social-link:hover { color: var(--color-text-inverse); }

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: var(--space-md); }
.site-footer__col a { display: inline-block; transition: color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
.site-footer__col a:hover { transform: translateX(4px); }

.site-footer__bottom {
  max-width: var(--container-max);
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--container-padding) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__pay { display: flex; gap: var(--space-lg); }
.site-footer__pay span { text-transform: uppercase; letter-spacing: var(--ls-label); font-size: 10px; }

/* ============================================================
   SCROLL REVEAL (progressive enhancement)
   Content is visible by default; only hidden once JS is active
   (html.js), so no-JS users always see everything.
   ============================================================ */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
