/* Floselle demo — elegant fragrance aesthetic */
:root {
  --bg: #f4efe4;
  --bg-deep: #e8dfcf;
  --paper: #fffaf1;
  --ink: #1c1410;
  --ink-soft: #4a3c32;
  --muted: #7a6b5c;
  --line: rgba(28, 20, 16, 0.12);
  --gold: #a67c3d;
  --gold-soft: #c9a56a;
  --gold-pale: #ead9b5;
  --wine: #6e2e2a;
  --wine-soft: #8c4a3a;
  --shadow: 0 16px 40px rgba(28, 20, 16, 0.08);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, rgba(166, 124, 61, 0.08), transparent 42%),
    var(--bg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: 0; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Pattern overlay */
.geom {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><g fill='none' stroke='%23a67c3d' stroke-width='0.6' opacity='0.18'><path d='M40 4 L76 40 L40 76 L4 40 Z'/><path d='M40 16 L64 40 L40 64 L16 40 Z'/></g></svg>");
}

/* Demo banner */
.banner {
  background: var(--ink);
  color: var(--gold-pale);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.banner strong { color: #fff; font-weight: 500; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 228, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}
.logo-word {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
}
.logo-ar {
  font-family: var(--arabic);
  font-size: 1.45rem;
  color: var(--gold);
  line-height: 1;
}
nav.primary { display: flex; gap: 1.35rem; align-items: center; }
nav.primary a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.lede { font-size: 1.15rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-size: 0.92rem;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2a2018; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--gold-pale); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #8e692f; }

.hero-art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 8%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><g fill='none' stroke='%23a67c3d' stroke-width='0.8' opacity='0.4'><path d='M100 10 L190 100 L100 190 L10 100 Z'/><path d='M100 28 L172 100 L100 172 L28 100 Z'/></g><g fill='%23ead9b5' fill-opacity='0.55' stroke='%23a67c3d' stroke-width='0.9' opacity='0.85'><path d='M100 62c6 11 6.5 21 0 29-6.5-8-6-18 0-29z'/><path d='M100 62c6 11 6.5 21 0 29-6.5-8-6-18 0-29z' transform='rotate(72 100 100)'/><path d='M100 62c6 11 6.5 21 0 29-6.5-8-6-18 0-29z' transform='rotate(144 100 100)'/><path d='M100 62c6 11 6.5 21 0 29-6.5-8-6-18 0-29z' transform='rotate(216 100 100)'/><path d='M100 62c6 11 6.5 21 0 29-6.5-8-6-18 0-29z' transform='rotate(288 100 100)'/></g><circle cx='100' cy='100' r='8' fill='%23a67c3d' fill-opacity='0.75'/></svg>") center/contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

/* Sections */
section { padding: 3.2rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 36rem; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}
.card:hover { border-color: var(--gold-soft); }
.card h3 { margin: 0.2rem 0 0; }
.meta { color: var(--muted); font-size: 0.85rem; }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  background: rgba(110, 46, 42, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  width: fit-content;
}

/* How it works */
.choice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.choice h3 { margin-top: 0; }

/* Brand chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}
.chip:hover, .chip.is-live { border-color: var(--gold); background: var(--gold-pale); }
.chip.soon { opacity: 0.7; }

/* Fragrance page */
.crumb { font-size: 0.85rem; color: var(--muted); margin: 1.4rem 0 0.6rem; }
.crumb a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--gold-pale); }
.frag-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.4rem;
  align-items: start;
  padding-bottom: 1rem;
}
.notes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }
.note {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; }
.stat span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.bar { height: 6px; background: var(--bg-deep); border-radius: 99px; margin-top: 0.45rem; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine-soft)); border-radius: 99px; }
.placeholder-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--gold);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.disclosure {
  background: rgba(166, 124, 61, 0.1);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.buy-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.buy-box h2 { font-size: 1.55rem; margin-bottom: 0.3rem; }
.seller {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.seller:first-of-type { border-top: 0; }
.seller .price { font-family: var(--serif); font-size: 1.15rem; }
.seller .size { color: var(--muted); font-size: 0.82rem; text-align: right; }
.auth, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.list-plain { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.list-plain li { margin: 0.35rem 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { margin: 0.5rem 0 0.2rem; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer .logo-word { font-size: 1.35rem; }

/* Brand hub */
.brand-hero { padding: 2.4rem 0 1rem; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }

/* Utilities */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

@media (max-width: 800px) {
  .hero, .frag-hero, .buy-grid, .split-2, .brand-hero, .foot-grid { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  nav.primary {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1.1rem;
    gap: 0.4rem;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 0.5rem 0.2rem; }
  .frag-hero { justify-items: center; }
  .seller { grid-template-columns: 1fr auto; }
  .seller .size { grid-column: 1 / -1; text-align: left; }
}
