/* ============================================================
   VELVET GLOW COSMETICS — styles.css
   Editorial high-fashion beauty storefront
   ============================================================ */

:root {
  --plum: #24112F;
  --plum-deep: #1A0C22;
  --orchid: #B84DFF;
  --pink: #F0448A;
  --lavender: #F1E6FF;
  --porcelain: #FFFCFF;
  --ink: #17131B;

  --bg: var(--plum);
  --bg-deep: var(--plum-deep);
  --card: #2E183B;
  --line: rgba(241, 230, 255, 0.14);
  --line-strong: rgba(241, 230, 255, 0.28);
  --text: var(--lavender);
  --text-dim: rgba(241, 230, 255, 0.66);
  --text-faint: rgba(241, 230, 255, 0.48);

  --grad: linear-gradient(90deg, var(--orchid), var(--pink));
  --header-h: 74px;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + var(--announce-h, 0px) + 14px); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
  top: -60px; left: 16px;
  z-index: 3000;
  background: var(--pink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Announcement bar ---------- */
.announce {
  --announce-h: 40px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 11px 16px;
  position: relative;
  z-index: 60;
  text-transform: uppercase;
}
.announce p span[aria-hidden="true"] { margin: 0 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(36, 17, 47, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(26, 12, 34, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--lavender);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand-mark {
  font-size: 1.2rem;
  color: var(--pink);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-lock { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  color: var(--lavender);
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.nav-link:hover { color: var(--porcelain); background: rgba(184, 77, 255, 0.12); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--lavender);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover { border-color: var(--line-strong); background: rgba(184, 77, 255, 0.12); }
.icon-btn:active { transform: scale(0.94); }

.count-badge {
  position: absolute;
  top: 1px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.count-badge:empty, .count-badge[hidden] { display: none; }

.mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 27, 0.5);
  z-index: 44;
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-pink {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px rgba(240, 68, 138, 0.35);
}
.btn-pink:hover { box-shadow: 0 16px 34px rgba(240, 68, 138, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--lavender);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--orchid); color: var(--porcelain); box-shadow: 0 0 0 1px var(--orchid) inset; }

.btn-light { box-shadow: 0 12px 30px rgba(23, 19, 27, 0.35); }
.btn-block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 104px 24px; max-width: 1380px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--orchid);
  margin-bottom: 1rem;
}
.eyebrow-light { color: rgba(241, 230, 255, 0.92); }

.sec-head { margin-bottom: 44px; }
.sec-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  color: var(--porcelain);
  letter-spacing: 0.01em;
}
.sec-head h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-note { color: var(--text-dim); font-size: 0.95rem; max-width: 46ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 70px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 77, 255, 0.38), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 68, 138, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 26px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3.1rem, 7.6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--porcelain);
}
.hero h1 em { font-style: italic; font-weight: 600; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(184, 77, 255, 0.9);
}

.hero-sub {
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 44ch;
}

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--porcelain);
  line-height: 1;
}
.hero-stats span {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
}

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media > img {
  width: 100%;
  height: clamp(520px, 74vh, 820px);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media figcaption {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(23, 19, 27, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--porcelain);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding: 10px 16px;
  border-radius: 999px;
}

.hero-float {
  position: absolute;
  top: -34px; left: -56px;
  width: min(230px, 34vw);
  transform: rotate(-7deg);
  animation: floaty 7s ease-in-out infinite;
}
.hero-float img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 252, 255, 0.12);
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.hero-float-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 7px 12px;
  border-radius: 999px;
}
@keyframes floaty { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-12px); } }

/* ---------- Mood tiles ---------- */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.mood-tile {
  position: relative;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--card);
  padding: 0;
  min-height: 340px;
  grid-column: span 3;
  text-align: left;
  color: var(--porcelain);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mood-tile:nth-child(1) { grid-column: span 4; min-height: 400px; }
.mood-tile:nth-child(5) { grid-column: span 4; }
.mood-tile:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5); }
.mood-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mood-tile:hover img { transform: scale(1.06); }
.mood-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 27, 0.85), rgba(23, 19, 27, 0.05) 55%);
}
.mood-num {
  position: absolute;
  top: 16px; left: 18px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 252, 255, 0.85);
}
.mood-name {
  position: absolute;
  bottom: 56px; left: 18px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mood-link {
  position: absolute;
  bottom: 18px; left: 18px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--orchid); color: var(--porcelain); }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(240, 68, 138, 0.3); }

.note-mood { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--pink); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(184, 77, 255, 0.5); box-shadow: var(--shadow-card); }

.pc-media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--bg-deep); }
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .pc-media img { transform: scale(1.07); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: rgba(23, 19, 27, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--porcelain);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}

.wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(23, 19, 27, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--porcelain);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.wish-btn:hover { background: rgba(240, 68, 138, 0.25); border-color: var(--pink); }
.wish-btn.is-saved { background: var(--grad); border-color: transparent; }

.pc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.pc-rating { font-size: 0.78rem; color: var(--pink); letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; }
.pc-rating .stars { color: #FFD166; letter-spacing: 2px; font-size: 0.85rem; }
.pc-rating .rv { color: var(--text-faint); font-size: 0.76rem; }

.pc-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--porcelain); line-height: 1.2; }
.pc-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.pc-price strong { font-size: 1.12rem; color: var(--porcelain); font-weight: 600; }
.pc-price s { color: var(--text-faint); font-size: 0.85rem; }

.add-btn {
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--lavender);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.add-btn:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(240, 68, 138, 0.35); }

/* ---------- Campaign banner ---------- */
.campaign {
  position: relative;
  min-height: 560px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.campaign-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.campaign-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; }
.campaign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(36, 17, 47, 0.92) 25%, rgba(36, 17, 47, 0.35) 60%, rgba(184, 77, 255, 0.25));
}
.campaign-copy {
  max-width: 620px;
  padding: 60px 64px;
  text-align: right;
}
.campaign-copy h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  color: var(--porcelain);
  margin-bottom: 34px;
  text-transform: uppercase;
}
.campaign-copy h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  padding: 0;
  background: var(--card);
  aspect-ratio: 3 / 4;
  color: var(--porcelain);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 27, 0.88), rgba(23, 19, 27, 0.05) 55%);
}
.cat-card-label {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cat-card-label span { color: var(--pink); }

/* ---------- Tools ---------- */
.tools-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }

/* ---------- Editorial gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.g-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  grid-column: span 4;
}
.g-item:nth-child(1) { grid-column: span 6; }
.g-item:nth-child(2) { grid-column: span 6; }
.g-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.g-item:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.g-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.g-item:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after {
  content: "＋";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  color: var(--porcelain);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.g-item:hover::after { opacity: 1; }

/* ---------- Story / brand ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.story-media { position: relative; margin: 0; }
.story-media img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.story-stamp {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--grad);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 9px 14px;
  border-radius: 999px;
}
.story-copy h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  color: var(--porcelain);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.story-copy h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.story-lead { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--pink); margin-bottom: 16px; }
.story-copy p { color: var(--text-dim); max-width: 56ch; margin-bottom: 16px; }
.story-copy .btn { margin-top: 12px; }

/* ---------- Newsletter ---------- */
.newsletter-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(184, 77, 255, 0.35);
  background:
    radial-gradient(circle at 15% 20%, rgba(184, 77, 255, 0.2), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(240, 68, 138, 0.18), transparent 50%),
    var(--card);
  box-shadow: var(--shadow-card);
}
.newsletter-card h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.newsletter-card .sec-note { margin: 0 auto 30px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 300px;
  max-width: 420px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 255, 0.06);
  color: var(--porcelain);
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--text-faint); }
.newsletter-form input:focus { outline: 2px solid var(--orchid); outline-offset: 2px; }
.form-msg { margin-top: 16px; font-size: 0.9rem; color: var(--pink); }
.form-msg.success { color: #7FE0A5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 72px 24px 30px;
  margin-top: 20px;
}
.footer-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.brand-footer .brand-word { color: var(--porcelain); }
.footer-brand p { color: var(--text-dim); max-width: 34ch; margin-top: 16px; }
.footer-demo-note { font-size: 0.78rem; color: var(--text-faint); }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--lavender);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.social-btn:hover { background: var(--grad); color: #fff; border-color: transparent; }

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  padding: 5px 0;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--porcelain); }

.footer-base {
  max-width: 1380px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* ---------- Overlays, drawers, modals ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 6, 16, 0.66);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.scrim.show { opacity: 1; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.overlay[hidden] { display: none; }

.overlay-card, .modal-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.search-overlay { align-items: flex-start; padding-top: 13vh; }
.search-card { max-width: 640px; padding: 20px; }
.search-bar { display: flex; align-items: center; gap: 12px; }
.search-bar svg { color: var(--text-dim); flex: 0 0 auto; }
.search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--porcelain);
  font-size: 1.05rem;
  padding: 12px 0;
}
.search-bar input:focus { outline: none; }
.close-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--lavender);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.close-btn:hover { background: var(--pink); border-color: transparent; color: #fff; }

.search-status { margin: 14px 4px 4px; font-size: 0.85rem; color: var(--text-dim); min-height: 1.2em; }
.search-results { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow: auto; }
.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 252, 255, 0.04);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  color: var(--porcelain);
}
.search-item:hover { border-color: rgba(184, 77, 255, 0.5); background: rgba(184, 77, 255, 0.12); }
.search-item img { width: 52px; height: 60px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.search-item .s-name { font-family: var(--serif); font-size: 1.02rem; }
.search-item .s-price { font-size: 0.85rem; color: var(--text-dim); }
.search-item .s-cat { margin-left: auto; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 92vw);
  z-index: 100;
  background: var(--card);
  border-left: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer[hidden] { display: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--porcelain); }
#bagTotalHint { font-size: 0.85rem; color: var(--text-faint); font-family: var(--sans); font-weight: 400; }

.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-empty { color: var(--text-dim); text-align: center; padding: 40px 0; }

.cart-items, .wish-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item, .wish-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 252, 255, 0.04);
  border: 1px solid var(--line);
}
.cart-item img, .wish-item img { width: 62px; height: 74px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.cart-item .ci-info, .wish-item .wi-info { flex: 1; min-width: 0; }
.ci-name, .wi-name { font-family: var(--serif); font-size: 1rem; color: var(--porcelain); }
.ci-price, .wi-price { color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; margin-top: 8px; }
.qty button {
  width: 30px; height: 30px;
  border: 0;
  background: transparent;
  color: var(--lavender);
  font-size: 1rem;
}
.qty button:hover { color: var(--pink); }
.qty span { min-width: 26px; text-align: center; font-size: 0.9rem; }

.remove-btn {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-faint);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.remove-btn:hover { color: #fff; background: rgba(240, 68, 138, 0.3); border-color: var(--pink); }

.cart-foot { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.cart-summary { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-summary strong { font-size: 1.3rem; color: var(--porcelain); }
.cart-note { font-size: 0.78rem; color: var(--text-faint); margin: 8px 0 16px; }

.modal .modal-card { max-width: 480px; padding: 28px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-head h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--porcelain); }
.modal-note { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; }
.checkout-summary { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.checkout-summary li { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--text-dim); }
.checkout-summary li strong { color: var(--porcelain); font-weight: 500; }
.modal-total { font-size: 1.05rem; margin-bottom: 18px; color: var(--porcelain); }
.demo-confirm { text-align: center; }

.info-body { color: var(--text-dim); font-size: 0.95rem; }
.info-body h3 { font-family: var(--serif); color: var(--porcelain); margin: 12px 0 6px; }

.lightbox { background: rgba(12, 6, 16, 0.86); }
.lightbox figure { max-width: 860px; width: 100%; text-align: center; margin: 0; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox figcaption { margin-top: 14px; color: var(--text-dim); font-size: 0.9rem; letter-spacing: 0.06em; }
.lightbox-close { position: absolute; top: 22px; right: 22px; }

/* ---------- Toasts ---------- */
.toast-region {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--card);
  border: 1px solid rgba(184, 77, 255, 0.5);
  color: var(--porcelain);
  padding: 13px 18px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  box-shadow: var(--shadow-card);
  animation: toast-in 0.3s ease;
  max-width: 320px;
}
.toast b { color: var(--pink); font-weight: 600; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .mood-tile { grid-column: span 4; min-height: 300px; }
  .mood-tile:nth-child(1) { grid-column: span 4; min-height: 300px; }
  .mood-tile:nth-child(5) { grid-column: span 4; }
}

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--announce-h, 0px));
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 18px 20px;
    background: rgba(26, 12, 34, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    overflow: auto;
    max-height: calc(100vh - var(--header-h) - var(--announce-h, 0px));
    z-index: 55;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 14px 6px; border-bottom: 1px solid var(--line-soft, rgba(241,230,255,0.08)); text-align: left; }
  .nav-link::after { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-media > img { height: clamp(440px, 62vh, 620px); }
  .hero-float { left: 8px; top: -26px; }
  .hero-stats { gap: 28px; }

  .section { padding: 84px 20px; }
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-auto-rows: 180px; }
}

@media (max-width: 640px) {
  .announce { font-size: 0.66rem; letter-spacing: 0.1em; padding: 10px 12px; }
  .brand-word { font-size: 1.08rem; }
  .hero { padding-top: 44px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero-actions .btn { width: 100%; }
  .hero-float { width: 42vw; }

  .section { padding: 68px 16px; }
  .sec-head.split { flex-direction: column; align-items: flex-start; }

  .mood-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mood-tile, .mood-tile:nth-child(1), .mood-tile:nth-child(5) { grid-column: span 1; min-height: 210px; }
  .mood-name { font-size: 1.1rem; bottom: 46px; }
  .mood-num { font-size: 0.85rem; }
  .mood-link { font-size: 0.6rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .campaign { min-height: 440px; }
  .campaign-copy { padding: 40px 24px; text-align: left; }

  .gallery-grid { grid-auto-rows: 150px; }
  .g-item, .g-item:nth-child(1), .g-item:nth-child(2), .g-item:nth-child(3),
  .g-item:nth-child(4), .g-item:nth-child(5), .g-item:nth-child(6) { grid-column: span 6; grid-row: span 1; }

  .newsletter-card { padding: 48px 22px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { max-width: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base p { line-height: 1.5; }
}

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