/* ============================================================
   MUSE NOIR — Nocturnal Boutique
   main.css : theme tokens, layout system, components, motion
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.cn/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --bg: #120a0d;
  --bg-elevated: #1a0f13;
  --bg-card: #1d1116;
  --bg-card-hover: #231519;
  --border: rgba(190, 120, 130, 0.16);
  --border-strong: rgba(214, 130, 145, 0.32);

  --text-primary: #f2e6e2;
  --text-secondary: #c9a9a5;
  --text-muted: #967a78;

  --primary: #e05a7a;
  --primary-soft: rgba(224, 90, 122, 0.14);
  --primary-glow: rgba(224, 90, 122, 0.38);

  --gold: #d4a373;
  --gold-soft: rgba(212, 163, 115, 0.5);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --font-display: "Playfair Display", "Songti SC", Georgia, serif;
  --font-body: "Helvetica Neue", "PingFang SC", "Segoe UI", Arial, sans-serif;

  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select {
  font-family: inherit;
}

::selection {
  background: var(--primary-glow);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #3a2129;
  border-radius: 5px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-soft);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 520px;
}

.head-meta {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out-soft), box-shadow 0.35s, background 0.35s, border-color 0.35s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #e05a7a, #c2435f);
  color: #fff;
  box-shadow: 0 8px 28px rgba(224, 90, 122, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--primary-glow);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(18, 10, 13, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand em {
  font-style: normal;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.4em;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out-soft);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.3s, background 0.3s;
}

.icon-btn:hover {
  color: var(--gold);
  background: rgba(212, 163, 115, 0.08);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(68px + clamp(40px, 8vw, 88px));
  padding-bottom: clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 90, 122, 0.16), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.1), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-lead {
  margin-top: 22px;
  max-width: 460px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.8;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  margin-top: clamp(32px, 5vw, 52px);
  display: flex;
}

.hero-stat {
  padding-right: clamp(20px, 3.5vw, 40px);
  margin-right: clamp(20px, 3.5vw, 40px);
  border-right: 1px solid var(--border);
}

.hero-stat:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--text-primary);
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 80px rgba(224, 90, 122, 0.12);
  aspect-ratio: 27 / 20;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(18, 10, 13, 0.55));
  pointer-events: none;
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-caption b {
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(26, 15, 19, 0.6);
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 8px;
  justify-content: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-item svg {
  width: 21px;
  height: 21px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-item b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.trust-item span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}

.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 1 / 0.82;
  transition: transform 0.45s var(--ease-out-soft), border-color 0.45s, box-shadow 0.45s;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), 0 0 42px rgba(224, 90, 122, 0.14);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: opacity 0.45s, transform 0.7s var(--ease-out-soft);
}

.cat-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 40%, rgba(14, 8, 10, 0.88));
}

.cat-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
}

.cat-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
}

.cat-info p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-secondary);
}

.cat-info .cat-arrow {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: var(--gold);
  font-size: 17px;
  transition: transform 0.4s var(--ease-out-soft);
}

.cat-card:hover .cat-arrow {
  transform: translateX(5px);
}

/* ---------- Campaign banner ---------- */
.banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex;
  align-items: center;
}

.banner-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 8, 10, 0.9) 6%, rgba(14, 8, 10, 0.55) 46%, rgba(14, 8, 10, 0.12));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 60px);
  max-width: 560px;
}

.banner-tag {
  display: inline-block;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.banner-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
}

.banner-text {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.banner-content .btn {
  margin-top: 26px;
}

/* ---------- Shop toolbar ---------- */
.toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.search-box {
  position: relative;
  max-width: 460px;
}

.search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0 20px 0 46px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 90, 122, 0.16);
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex: 1;
  min-width: 0;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  white-space: nowrap;
}

.chip:hover {
  color: var(--text-primary);
  border-color: var(--gold-soft);
}

.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(224, 90, 122, 0.3);
}

.select-pill {
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12.5px;
  padding: 0 16px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
}

.select-pill:hover,
.select-pill:focus {
  border-color: var(--gold-soft);
}

.select-pill option {
  background: var(--bg-card);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out-soft), border-color 0.45s, box-shadow 0.45s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 34px rgba(224, 90, 122, 0.12);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-soft);
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
}

.product-flag.flag-new {
  background: var(--gold);
  color: #241207;
}

.product-flag.flag-limited {
  background: #7d2c4e;
}

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 10, 13, 0.55);
  backdrop-filter: blur(6px);
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.35s var(--ease-out-soft);
}

.product-card:hover .product-wishlist,
.product-wishlist.is-active {
  opacity: 1;
  transform: none;
}

.product-wishlist.is-active {
  color: var(--primary);
}

.product-wishlist svg {
  width: 16px;
  height: 16px;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 16px;
}

.product-cat {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.product-rating .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 11px;
}

.product-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
}

.product-price small {
  font-size: 12px;
  color: var(--gold);
  margin-left: 3px;
}

.product-price del {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-muted);
}

.add-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.add-btn svg {
  width: 17px;
  height: 17px;
}

.add-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 90, 122, 0.35);
}

.add-btn.is-added {
  background: rgba(122, 190, 140, 0.16);
  border-color: rgba(122, 190, 140, 0.5);
  color: #8fd6a2;
}

/* empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.empty-state p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Marquee showcase ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track figure {
  position: relative;
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.marquee-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-soft);
}

.marquee-track figure:hover img {
  transform: scale(1.05);
}

.marquee-track figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(14, 8, 10, 0.62);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Privacy ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}

.privacy-card {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
  transition: transform 0.45s var(--ease-out-soft), border-color 0.45s, box-shadow 0.45s;
}

.privacy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.privacy-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.privacy-icon svg {
  width: 21px;
  height: 21px;
}

.privacy-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
}

.privacy-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---------- Testimonials ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.45s var(--ease-out-soft), border-color 0.45s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.review-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 13px;
}

.review-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7d2c4e, #c2435f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
}

.reviewer b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.reviewer span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- Membership ---------- */
.membership {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.membership::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(224, 90, 122, 0.14), transparent 65%);
  pointer-events: none;
}

.membership-inner {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  z-index: 1;
}

.membership .section-title {
  font-size: clamp(30px, 4.6vw, 48px);
}

.membership p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.8;
}

.membership-perks {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.membership-perks span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.membership-perks svg {
  width: 14px;
  height: 14px;
}

.membership .btn {
  margin-top: 34px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: #0d0709;
  padding: clamp(44px, 6vw, 72px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.footer-brand .brand {
  font-size: 24px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.age-gate {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.age-gate b {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a,
.footer-col li {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ---------- Drawer (cart) ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 4, 6, 0.66);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.drawer-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(420px, 100vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.5s var(--ease-out-soft);
}

.drawer.is-open {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.drawer-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
}

.drawer-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.cart-empty {
  text-align: center;
  padding: 60px 10px;
  color: var(--text-muted);
}

.cart-empty svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--border-strong);
}

.cart-empty p {
  font-size: 13.5px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  align-items: center;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.cart-item-price {
  margin-top: 5px;
  font-size: 13px;
  color: var(--gold);
  font-family: var(--font-display);
}

.qty-stepper {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-stepper button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}

.qty-stepper button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.qty-stepper b {
  min-width: 30px;
  text-align: center;
  font-size: 12.5px;
}

.cart-remove {
  align-self: start;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1;
  padding: 4px;
  transition: color 0.25s;
}

.cart-remove:hover {
  color: var(--primary);
}

.drawer-foot {
  border-top: 1px solid var(--border);
  padding: 20px 24px 24px;
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cart-total span {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cart-total b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text-primary);
}

.cart-total b small {
  font-size: 14px;
  color: var(--gold);
}

.drawer-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.drawer-note svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Modal (auth) ---------- */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 4, 6, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.modal-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease-out-soft);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.modal-scrim.is-open .modal {
  transform: none;
}

.modal-head {
  text-align: center;
  margin-bottom: 26px;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
}

.modal-head p {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px;
  margin-bottom: 22px;
}

.modal-tabs button {
  height: 38px;
  border-radius: var(--radius-full);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s;
}

.modal-tabs button.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224, 90, 122, 0.3);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 90, 122, 0.16);
}

.form-error {
  display: none;
  margin: -6px 0 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(224, 90, 122, 0.12);
  border: 1px solid rgba(224, 90, 122, 0.35);
  color: #f0a4b6;
  font-size: 12.5px;
}

.form-error.is-visible {
  display: block;
}

.auth-note {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* logged-in panel */
.user-chip {
  display: none;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 8px 0 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}

.user-chip.is-visible {
  display: inline-flex;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7d2c4e, #c2435f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.user-chip b {
  font-size: 12.5px;
  font-weight: 600;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip button {
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  transition: color 0.25s;
}

.user-chip button:hover {
  color: var(--primary);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 80px);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 12px 22px;
  font-size: 13px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 90, 122, 0.12);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-soft), opacity 0.4s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out-soft), transform 0.9s var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-lead {
    max-width: none;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .trustbar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(3) {
    border-left: 0;
  }
  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .banner-frame {
    min-height: 420px;
  }
  .banner-frame::before {
    background: linear-gradient(180deg, rgba(14, 8, 10, 0.24), rgba(14, 8, 10, 0.9) 78%);
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-body {
    padding: 12px;
  }
  .product-desc {
    display: none;
  }
  .product-name {
    font-size: 13px;
  }
  .hero-stat b {
    font-size: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 14px 0;
  }
  .hero-stat {
    min-width: 30%;
  }
  .modal {
    padding: 26px 20px 22px;
  }
  .toolbar-row {
    flex-wrap: nowrap;
  }
  .chip-row {
    flex-wrap: nowrap;
  }
  .select-pill {
    flex-shrink: 0;
  }
}
