﻿:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #faf8f6;
  --ink: #121316;
  --muted: #5e6470;
  --line: #e3e5ea;
  --gold: #b8936a;
  --gold-deep: #8f6f4d;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 16px 36px rgba(17, 20, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 0%, #fff3e4 0%, transparent 30%), var(--bg);
}

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

main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
}

.caps {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  max-width: 64ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(245, 246, 248, 0.9);
}

.brand {
  display: inline-flex;
  flex-direction: column;
}

.brand span {
  font-family: "Sora", sans-serif;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.brand small {
  font-size: 0.7rem;
  color: var(--gold-deep);
  margin-top: 2px;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 0.93rem;
  color: #3d4350;
  position: relative;
  padding-bottom: 3px;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 20px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.solid {
  background: linear-gradient(120deg, #c8a47d, #a67d57);
  color: #fff;
  box-shadow: 0 10px 24px rgba(131, 91, 54, 0.27);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: #d8dce3;
  color: #222733;
}

.btn.block {
  width: 100%;
}

.page-hero,
.sub-hero {
  margin-top: 28px;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.page-hero {
  min-height: 64vh;
  align-content: center;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-actions.center {
  justify-content: center;
}

.hero-media {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-tile {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 10px;
  box-shadow: var(--shadow);
}

.media-tile.light {
  background: linear-gradient(145deg, #fffaf4, #f7efe5);
}

.media-tile.dark {
  background: linear-gradient(135deg, #222631, #101217);
}

.media-tile.dark p,
.media-tile.dark h2,
.media-tile.dark .text-link {
  color: #f2f3f5;
}

.text-link {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  color: #202433;
}

.metric-strip {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-strip article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: grid;
  gap: 4px;
  box-shadow: var(--shadow);
}

.metric-strip strong {
  font-family: "Sora", sans-serif;
  font-size: 1.34rem;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-split {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.stack-cards {
  display: grid;
  gap: 12px;
}

.stack-cards article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
}

.cta-band,
.membership-band {
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #fff, #f8f9fc);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.4vw, 44px);
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.secondary-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.secondary-nav a {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.85rem;
}

.catalog-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.product-art {
  height: 180px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-art.rose { background: linear-gradient(135deg, #f4d3ca, #fcebe5); }
.product-art.curve { background: linear-gradient(135deg, #e5c8aa, #f6eadf); }
.product-art.harmony { background: linear-gradient(135deg, #d4b09a, #f3e2d6); }
.product-art.spark { background: linear-gradient(135deg, #cdc6c2, #ece8e4); }
.product-art.wand { background: linear-gradient(135deg, #d4b19b, #f9ece2); }
.product-art.core { background: linear-gradient(135deg, #dfc8b1, #faefe5); }

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-row strong {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  color: #181b25;
}

.price-row span {
  color: var(--gold-deep);
  font-size: 0.85rem;
}

.detail-root {
  margin-top: 26px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.detail-art {
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.detail-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.spec-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-grid article {
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 14px;
}

.story-grid,
.policy-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.story-grid article,
.policy-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
}

.faq-block {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow);
}

summary {
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tiny {
  font-size: 0.78rem;
  color: #656d79;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 20, 0.38);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100vh;
  z-index: 80;
  background: #fff;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(102%);
  transition: transform 0.25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.drawer-body {
  padding: 14px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-controls button,
.icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 14px;
  background: #f9fafc;
}

.coupon-row {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

input {
  width: 100%;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
}

.line {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.line.total {
  font-size: 1.05rem;
  margin-top: 8px;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.checkout-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.checkout-card {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.form-grid .full {
  grid-column: span 2;
}

fieldset {
  margin: 0 14px;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

legend {
  padding: 0 6px;
}

.pad {
  padding: 0 14px 12px;
}

.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(120deg, #b89166, #8f6c4c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(92, 62, 38, 0.34);
}

.chat-panel {
  position: fixed;
  right: 18px;
  bottom: 70px;
  width: min(360px, calc(100% - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  z-index: 46;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.24s ease;
}

.chat-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-body {
  padding: 12px;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.chat-actions {
  border-top: 1px solid var(--line);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 12, 0.64);
  display: grid;
  place-items: center;
  padding: 14px;
}

.age-gate.hidden {
  display: none;
}

.age-card {
  width: min(520px, 100%);
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.38;
  pointer-events: none;
  animation: ambientPulse 14s ease-in-out infinite;
}

body::before {
  top: -10vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(244, 184, 160, 0.9) 0%, rgba(244, 184, 160, 0.04) 68%);
}

body::after {
  right: -16vmax;
  bottom: -14vmax;
  background: radial-gradient(circle, rgba(198, 145, 116, 0.85) 0%, rgba(198, 145, 116, 0.03) 70%);
  animation-delay: 2.6s;
}

.media-tile,
.product-card {
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.media-tile:hover,
.product-card:hover {
  box-shadow: 0 24px 44px rgba(17, 20, 25, 0.16);
}

@keyframes ambientPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.2vmax, -1vmax, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-split,
  .detail-hero,
  .story-grid,
  .policy-grid,
  .hero-media {
    grid-template-columns: 1fr;
  }

  .metric-strip,
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  main {
    width: calc(100% - 24px);
  }

  .metric-strip,
  .spec-grid,
  .catalog-grid,
  .story-grid,
  .policy-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .page-hero {
    min-height: 54vh;
  }

  .site-header {
    padding: 12px;
  }
}
