:root {
  --night: #1B1B2F;
  --lead: #0E0E18;
  --parchment: #F5E6CA;
  --muted: rgba(245, 230, 202, 0.7);
  --amber: #F8B400;
  --rose: #E43F5A;
  --jade: #3E8E7E;
  --violet: #4A47A3;
  --font-display: 'Amiri', Georgia, serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--night);
  color: var(--parchment);
  font-family: var(--font-body);
  line-height: 1.72;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; letter-spacing: 0; }

.bidi {
  display: inline-block;
  unicode-bidi: isolate;
}

.st-container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

/* 4-Color Stained Glass Came Bar */
.st-came-bar {
  height: 10px;
  background: linear-gradient(90deg, var(--rose) 0 25%, var(--amber) 25% 50%, var(--jade) 50% 75%, var(--violet) 75% 100%);
  border-block: 2px solid var(--lead);
}

/* Fixed 3-Column Cathedral Navbar */
.st-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 80;
  background: rgba(14, 14, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--lead);
}

.st-nav {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.st-nav-side {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  white-space: nowrap;
}

.st-nav-end { justify-content: flex-end; }

.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  white-space: nowrap;
}

.st-rose-disc {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(var(--rose), var(--amber), var(--jade), var(--violet), var(--rose));
  border: 2px solid var(--lead);
  box-shadow: 0 0 16px rgba(248, 180, 0, 0.45);
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(245, 230, 202, 0.25);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.st-btn:hover { transform: translateY(-2px); }
.st-btn-amber { background: var(--amber); color: var(--lead); border-color: var(--amber); font-weight: 700; }
.st-btn-ghost { background: rgba(14, 14, 24, 0.72); color: var(--parchment); }
.st-btn-sm { padding: 7px 14px; font-size: 12.5px; }

/* Slide-Over Cart Drawer & Quick View Modal (visibility: hidden when closed) */
.st-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 24, 0.74);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.st-backdrop.open { opacity: 1; visibility: visible; }

.st-cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(420px, 100%);
  background: var(--lead);
  border-inline-start: 2px solid rgba(248, 180, 0, 0.35);
  z-index: 95;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
}

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

.st-modal {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.st-modal.open { opacity: 1; visibility: visible; }

.st-modal-box {
  width: min(680px, calc(100% - 32px));
  background: var(--night);
  border: 3px solid var(--lead);
  box-shadow: 0 0 0 1px rgba(248, 180, 0, 0.4), 0 30px 70px rgba(0, 0, 0, 0.7);
  padding: 28px;
}

/* 1. Rose-Window Oculus Candle Hero */
.st-hero {
  position: relative;
  min-height: 100svh;
  padding: 96px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.st-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.st-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(248, 180, 0, 0.14), rgba(14, 14, 24, 0.82) 72%),
    linear-gradient(to top, var(--night) 0%, transparent 32%);
}

.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 16px;
}

.st-kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--rose);
  transform: rotate(45deg);
}

.st-split-h1 {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px) 1fr;
  align-items: center;
  gap: 20px;
  margin-block: auto;
}

.st-h1-part {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.32;
  text-shadow: 0 8px 32px rgba(14, 14, 24, 0.9);
}

.st-h1-part em {
  font-style: italic;
  color: var(--amber);
}

.st-hero-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 230, 202, 0.16);
}

/* Lead-Came Mosaic Grids (gap: 3px; background: #0E0E18) */
.st-sec {
  padding: 96px 0;
}

.st-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.32;
  margin-bottom: 16px;
}

.st-mosaic-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--lead);
  padding: 3px;
  border-radius: 6px;
  margin-top: 32px;
}

.st-pane-card {
  background: var(--night);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* 3. Interactive SVG Rose-Wheel Scent Finder */
.st-finder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.st-wheel-wrap {
  max-width: 360px;
  margin-inline: auto;
}

.st-quiz-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--lead);
  padding: 3px;
  margin: 18px 0;
}

.st-opt-btn {
  padding: 18px;
  background: var(--night);
  border: 0;
  text-align: start;
  transition: background 0.2s;
}

.st-opt-btn.active,
.st-opt-btn:hover {
  background: rgba(248, 180, 0, 0.16);
  color: var(--amber);
}

/* Footer */
.st-footer {
  background: var(--lead);
  padding: 52px 0 38px;
}

.st-jewel-word {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 13vw, 11rem);
  text-align: center;
  background: linear-gradient(90deg, var(--rose), var(--amber), var(--jade), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.08;
  margin: 18px 0;
}

.st-showcase-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 230, 202, 0.14);
}

@media (max-width: 720px) {
  .st-nav-side a:not(.st-btn) { display: none; }
  .st-split-h1,
  .st-hero-bot,
  .st-mosaic-3,
  .st-finder-grid,
  .st-quiz-opts { grid-template-columns: 1fr; }
}
