/* ============================================================
   HYDELIC — Premium personal care
   style.css
   Sections:
     1.  Design tokens (CSS variables)
     2.  Reset & base
     3.  Typography helpers
     4.  Buttons & links
     5.  Navigation
     6.  Animated background (hero canvas + aurora)
     7.  Hero
     8.  Marquee / trust bar
     9.  Product cards & grids
     10. Collections
     11. About
     12. Reviews
     13. FAQ (accordion)
     14. Newsletter / CTA
     15. Footer
     16. Scroll reveal + page loader
     17. Responsive
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Deep near-black surfaces — darker, flatter, cleaner */
  --bg:          #060607;
  --bg-2:        #0a0a0c;
  --panel:       #0e0e10;
  --panel-2:     #121215;
  --elevate:     #171719;

  /* Hairline borders */
  --line:        rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.11);

  /* Text */
  --text:        #ededf0;
  --muted:       #8a8a92;
  --faint:       #5c5c64;

  /* Gold accent — kept as a restrained hint, softer + cooler */
  --gold:        #c2a878;
  --gold-soft:   #d4c095;
  --gold-deep:   #9c8552;
  --gold-grad:   linear-gradient(135deg, #ddcca2 0%, #c2a878 50%, #9c8552 100%);
  --gold-glow:   rgba(194, 168, 120, 0.18);

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur:         0.55s;

  /* Rhythm */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   26px;
  --shadow:      0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 12px 40px -24px rgba(0, 0, 0, 0.9);

  --maxw:        1240px;
  --nav-h:       74px;

  /* One clean grotesque throughout — headings differ by weight/tracking,
     not by switching to an editorial serif. Reads modern, not "luxury". */
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display:'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* Soft page fade-in — replaces the old loading screen so navigating
   between pages feels seamless rather than gated behind a loader. */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.4s var(--ease) both; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

::selection {
  background: var(--gold);
  color: #12100a;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #2a2a30;
  border-radius: 10px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- 3. Layout & typography ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.section-title em {
  font-style: normal;
  color: var(--gold-soft);
}

.section-sub {
  color: var(--muted);
  max-width: 46ch;
  margin-top: 14px;
}

.pad { padding: clamp(70px, 11vw, 130px) 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
  isolation: isolate;
}

/* Gold primary */
.btn--gold {
  color: #171206;
  background: var(--gold-grad);
  box-shadow: 0 10px 30px -12px var(--gold-glow);
}
.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0dca3, #d8b96a);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -14px var(--gold-glow);
}
.btn--gold:hover::before { opacity: 1; }

/* Ghost / outline */
.btn--ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease);
  z-index: -1;
}
.btn--ghost:hover {
  color: #171206;
  border-color: transparent;
  transform: translateY(-3px);
}
.btn--ghost:hover::before { transform: translateY(0); }

.btn--sm { --pad-y: 12px; --pad-x: 22px; font-size: 0.74rem; }
.btn--block { width: 100%; }

/* Text link with sliding underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav__logo img {
  height: 26px;
  width: auto;
  filter: brightness(1.15);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.nav__logo:hover img {
  transform: scale(1.04);
  filter: brightness(1) drop-shadow(0 0 14px var(--gold-glow));
}
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.icon-btn:hover {
  color: var(--gold-soft);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}
.icon-btn .badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold-grad);
  color: #171206;
  font-size: 0.64rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 17px; height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  transition: transform var(--dur) var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 clamp(28px, 8vw, 60px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu a:hover { color: var(--gold-soft); }
.mobile-menu a span { font-family: var(--font-body); font-size: 1rem; color: var(--gold); }

/* ---------- 6. Animated background ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* Aurora blobs behind hero */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.32;
  mix-blend-mode: screen;
}
.aurora span:nth-child(1) {
  width: 46vw; height: 46vw;
  top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(200,162,76,0.34), transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora span:nth-child(2) {
  width: 40vw; height: 40vw;
  bottom: -18%; right: -6%;
  background: radial-gradient(circle, rgba(120,90,40,0.4), transparent 62%);
  animation: drift2 27s ease-in-out infinite;
}
.aurora span:nth-child(3) {
  width: 30vw; height: 30vw;
  top: 30%; right: 24%;
  background: radial-gradient(circle, rgba(90,70,120,0.22), transparent 60%);
  animation: drift3 32s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(6vw, 5vh) scale(1.12); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-5vw, -4vh) scale(1.15); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.22; }
  50%     { transform: translate(-4vw, 4vh) scale(1.2); opacity: 0.4; }
}

/* Fine grain / noise overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Everything above the backgrounds */
.page { position: relative; z-index: 2; }

/* ---------- 7. Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.hero__tag {
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero__title em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes riseUp { to { transform: translateY(0); } }

.hero__desc {
  color: var(--muted);
  max-width: 44ch;
  margin: 28px 0 36px;
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}
.hero__meta {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.8s forwards;
}
.hero__meta .stat { display: flex; flex-direction: column; }
.hero__meta .stat b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text);
}
.hero__meta .stat span {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero product visual — CSS-crafted bottle */
.hero__visual {
  position: relative;
  height: min(76vh, 640px);
  display: grid;
  place-items: center;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 0.35s forwards;
}
.hero__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,76,0.18), transparent 62%);
  filter: blur(10px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%     { transform: scale(1.08); opacity: 1; }
}
.hero__ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero__ring::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Reusable CSS "bottle" product visual */
.bottle {
  position: relative;
  width: 128px;
  height: 300px;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6));
  transition: transform 0.7s var(--ease);
}
.bottle__body {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 82%;
  border-radius: 26px 26px 20px 20px;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.14) 0%, transparent 22%),
    linear-gradient(160deg, #232329, #131317 70%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.bottle__body::after {
  content: "";
  position: absolute;
  top: 0; left: 14%;
  width: 14%; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 60%);
  filter: blur(2px);
}
.bottle__label {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  font-size: 0.9rem;
  color: var(--gold-soft);
  white-space: nowrap;
}
.bottle__cap {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46%; height: 20%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(160deg, #34343c, #16161a);
  border: 1px solid rgba(255,255,255,0.08);
}
.bottle--gold .bottle__body {
  background:
    linear-gradient(105deg, rgba(255,255,255,0.22) 0%, transparent 24%),
    linear-gradient(160deg, #d8b96a, #9a7a34 75%);
}
.bottle--gold .bottle__label { color: #1a1408; }
.bottle--gold .bottle__cap { background: linear-gradient(160deg, #2a2620, #141210); }

.hero__visual .bottle {
  width: 168px; height: 400px;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-18px) rotate(2deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.scroll-cue .rail {
  width: 1px; height: 46px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-cue .rail::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: railmove 2.2s var(--ease) infinite;
}
@keyframes railmove {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ---------- 8. Marquee / trust bar ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollx 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.8rem;
}
@keyframes scrollx {
  to { transform: translateX(-50%); }
}

/* ---------- 9. Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* When the catalogue is small, center the card(s) instead of stretching */
.product-grid--few {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.product-grid--few .card { width: min(360px, 100%); }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(200,162,76,0.08), transparent 60%),
    linear-gradient(180deg, #16161a, #0f0f12);
  overflow: hidden;
}
.card__media .bottle {
  transform: scale(0.82);
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media .bottle {
  transform: scale(0.9) translateY(-6px) rotate(2deg);
}
.card__badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: #171206;
  z-index: 2;
}
.card__badge--dark {
  background: rgba(20,20,24,0.85);
  color: var(--gold-soft);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
/* Quick add sliding overlay */
.card__quick {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  z-index: 3;
}
.card:hover .card__quick { transform: translateY(0); opacity: 1; }

.card__body { padding: 20px 22px 24px; }
.card__cat {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.card__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}
.card__desc {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 2.6em;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.card__price {
  font-size: 1.1rem;
  font-weight: 600;
}
.card__price s {
  color: var(--faint);
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 8px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.8rem;
}
.stars + span {
  color: var(--faint);
  font-size: 0.78rem;
  margin-left: 6px;
}
.rating-row { display: flex; align-items: center; margin-bottom: 4px; }

/* ---------- 10. Collections ---------- */
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.collection {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.collection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.collection::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,0.9));
}
.collection:hover { transform: translateY(-6px); border-color: var(--gold-deep); }
.collection:hover::before { transform: scale(1.08); }
.collection--hair::before   { background: radial-gradient(circle at 30% 20%, #2a2320, #0f0e0d); }
.collection--body::before   { background: radial-gradient(circle at 70% 30%, #1f2427, #0d0f10); }
.collection--skin::before   { background: radial-gradient(circle at 40% 70%, #241f2a, #100e12); }
.collection__num {
  position: absolute;
  top: 26px; left: 30px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
}
/* "Coming soon" ranges — visibly not yet purchasable */
.collection.soon { cursor: default; opacity: 0.72; }
.collection.soon:hover { transform: none; border-color: var(--line); }
.collection.soon:hover::before { transform: none; }
.soon-tag {
  position: absolute;
  top: 24px; right: 26px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--line-strong);
  background: rgba(8,8,10,0.5);
  backdrop-filter: blur(6px);
}
.collection__info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}
.collection__info p { color: var(--muted); font-size: 0.9rem; margin: 6px 0 16px; }

/* ---------- 11. About / feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 30%, rgba(200,162,76,0.14), transparent 60%),
    linear-gradient(160deg, #17171b, #0d0d10);
  display: grid;
  place-items: center;
}
.about__visual .bottle { width: 150px; height: 360px; animation: floaty 8s ease-in-out infinite; }
.about__quote {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
  padding: 18px 20px;
  background: rgba(8,8,10,0.66);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.about__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 18px 0 20px;
}
.about__title em { font-style: normal; color: var(--gold-soft); }
.about__text { color: var(--muted); max-width: 48ch; }
.feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--gold-soft);
}
.feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ---------- 12. Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: var(--gold-deep); }
.review .stars { margin-bottom: 16px; font-size: 0.9rem; }
.review__text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #171206;
  background: var(--gold-grad);
  font-size: 0.9rem;
}
.review__author b { display: block; font-size: 0.92rem; font-weight: 600; }
.review__author span { font-size: 0.78rem; color: var(--faint); }
.verified {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Review stat band */
.review-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-stats .rs {
  text-align: center;
}
.review-stats .rs b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.review-stats .rs span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 13. FAQ ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--gold-soft); }
.faq__icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold-soft);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq__icon::before { width: 13px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 13px; }
.faq__item.open .faq__icon { transform: rotate(180deg); border-color: var(--gold-deep); }
.faq__item.open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__a p {
  color: var(--muted);
  padding: 0 0 28px;
  max-width: 62ch;
}

/* ---------- 14. Newsletter / CTA band ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(48px, 8vw, 84px);
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(200,162,76,0.16), transparent 55%),
    linear-gradient(160deg, #17171b, #0c0c0f);
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cta__title em { font-style: normal; color: var(--gold-soft); }
.cta p { color: var(--muted); max-width: 48ch; margin: 0 auto 34px; }
.subscribe {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 7px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.subscribe:focus-within {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.subscribe input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  padding: 0 18px;
  font-size: 0.95rem;
  font-family: inherit;
}
.subscribe input::placeholder { color: var(--faint); }

/* ---------- 15. Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: 72px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { height: 26px; margin-bottom: 20px; filter: brightness(1.1); }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.92rem; }
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__social a:hover { color: var(--gold-soft); border-color: var(--gold-deep); transform: translateY(-3px); }
.footer__col h5 {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 7px 0;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--gold-soft); padding-left: 6px; }
.footer__bar {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.82rem;
}
.footer__bar .pays { display: flex; gap: 10px; }
.footer__bar .pays span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---------- 16. Scroll reveal + loader ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Page loader (retired — kept hidden in case it's ever re-enabled) */
.loader { display: none !important; }
.loader--legacy {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__logo {
  width: min(280px, 60vw);
  opacity: 0.9;
}
.loader__mark {
  position: relative;
  overflow: hidden;
}
.loader__bar {
  margin-top: 22px;
  width: min(220px, 50vw);
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
}
.loader__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold-grad);
  border-radius: 2px;
  animation: load 1.1s var(--ease) infinite;
}
@keyframes load {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

/* Page-header (interior pages) */
.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  position: relative;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 18px 0 16px;
}
.page-hero h1 em { font-style: normal; color: var(--gold-soft); }
.page-hero p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.05em;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { color: var(--gold-soft); }

/* Filter pills (products page) */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.pill {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pill:hover { color: var(--text); border-color: var(--gold-deep); }
.pill.active {
  color: #171206;
  background: var(--gold-grad);
  border-color: transparent;
}

/* Card enter/exit for filtering */
.card.hide { display: none; }

/* Toast */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 30px);
  background: var(--elevate);
  border: 1px solid var(--gold-deep);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { color: var(--gold-soft); }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .hero__visual { height: 42vh; min-height: 300px; order: -1; }
  .hero__visual .bottle { width: 130px; height: 310px; }
  .hero__desc { margin: 22px 0 30px; }
  .scroll-cue { display: none; }
  .split { grid-template-columns: 1fr; }
  .about__visual { max-width: 440px; margin: 0 auto; }
  .collections { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__actions .icon-btn.account { display: none; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .review-stats { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px 28px; }
  .subscribe { flex-direction: column; background: none; border: none; padding: 0; }
  .subscribe input {
    background: var(--bg); border: 1px solid var(--line-strong);
    border-radius: 100px; padding: 15px 20px;
  }
  .subscribe:focus-within { box-shadow: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { padding: 40px 22px; }
}
/* Small phones */
@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 18px 24px; }
  .hero__meta .stat b { font-size: 1.45rem; }
  .review { padding: 24px; }
  .review-stats { padding: 32px 22px; }
  .toast { left: 16px; right: 16px; transform: translateY(30px); width: auto; }
  .toast.show { transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
