:root {
  color-scheme: dark;
  --ink: #f4f0e9;
  --muted: #a8a39a;
  --paper: #0b0b0b;
  --paper-2: #191816;
  --card: #121211;
  --line: rgba(223, 201, 161, 0.16);
  --bronze: #cfab6a;
  --gold: #dfc18b;
  --dark: #070707;
  --header: #0b0b0b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: #cfab6a; color: #0b0b0b; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--card);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.topbar {
  background: #15130f;
  color: #c9b68f;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.topbar-inner, .nav-inner, .wrap, .footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}
.topbar-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
}
.topbar a { color: var(--gold); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 11, 0.96);
  backdrop-filter: blur(12px);
  color: #f6efe4;
  border-bottom: 1px solid rgba(228, 196, 138, 0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 48px; width: auto; display: block; }
.nav-toggle {
  display: none;
  border: 1px solid rgba(246, 239, 228, 0.3);
  background: transparent;
  color: #f6efe4;
  border-radius: 6px;
  min-height: 44px;
  padding: 0 1rem;
}
.nav-panel { display: flex; align-items: center; gap: 0.35rem 1rem; }
.nav-panel a {
  text-decoration: none;
  color: #f4ecdf;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-panel a[aria-current="page"], .nav-panel a:hover { color: var(--gold); }
@media (min-width: 861px) and (max-width: 1120px) {
  .nav-panel { gap: 0.35rem 0.7rem; }
  .nav-panel a { font-size: 0.82rem; }
  .logo img { height: 42px; }
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(228, 196, 138, 0.45);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  min-height: 44px;
}
.cart-count {
  min-width: 1.4rem;
  height: 1.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
}

.wrap { padding: 2.2rem 0 4rem; }
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, .card-title { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.92; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin: 0 0 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.hero-visual {
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: linear-gradient(110deg, #e0c38f, #bd9557);
  color: #14110c;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-dark { background: #24221e; color: var(--ink); border-color: var(--line); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 2.4rem 0 1rem;
}
.section-head a { color: var(--bronze); font-weight: 700; }

.cats, .grid, .feature-grid, .info-grid { display: grid; gap: 1rem; }
.cats { grid-template-columns: 1fr; }
.cat-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: end;
  padding: 1.2rem;
  background: #2a211b;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.82), rgba(10, 8, 6, 0.08));
}
.cat-card span, .cat-card strong { position: relative; z-index: 1; }
.cat-card strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; }

.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: border-color 180ms ease, transform 180ms ease;
}
.card:hover { border-color: #8a714c; transform: translateY(-3px); }
.card-media { position: relative; display: block; background: var(--paper-2); aspect-ratio: 1; }
.new-badge { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.3rem 0.7rem; border: 1px solid #d7b67b80; border-radius: 4px; background: #12100cd9; color: #f1d5a0; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; backdrop-filter: blur(8px); }
.nav-panel .nav-new { color: var(--gold); }
.nav-new::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 0.35rem 0.15rem 0; }
.product-new-badge { display: inline-flex; color: var(--gold); background: #cfab6a0d; border: 1px solid #cfab6a40; border-radius: 4px; padding: 0.25rem 0.6rem; font-size: 0.65rem; letter-spacing: 0.04em; text-decoration: none; margin: 0 0 0.8rem; }
.collection-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.collection-links a { border: 1px solid var(--line); padding: 0.45rem 0.85rem; border-radius: 4px; text-decoration: none; color: var(--muted); font-size: 0.8rem; }
.collection-links a:hover, .collection-links a[aria-current] { color: var(--gold); border-color: #cfab6a80; background: #cfab6a0c; }
.new-filter { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; border: 1px solid var(--line); border-radius: 6px; padding: 0.6rem 0.8rem; font-size: 0.8rem; color: var(--muted); cursor: pointer; }
.new-filter input { accent-color: var(--gold); width: 16px; height: 16px; }
.new-filter:has(input:checked) { color: var(--gold); border-color: #cfab6a80; }
.results-count { color: var(--muted); font-size: 0.75rem; margin: 0 0 1rem; }
.home-new .section-head h2 { margin-bottom: 0; }
.home-new .section-head a { font-size: 0.8rem; text-decoration: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.9rem 0.95rem 1.1rem; }
.card-title { font-size: 1.45rem; line-height: 1; }
.card-sub, .card-price { color: var(--muted); font-size: 0.92rem; }
.card-price { margin-top: auto; color: var(--ink); font-weight: 700; }

.band {
  margin-top: 2.5rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #f6efe4;
  border: 1px solid var(--line);
}
.band p { margin: 0.3rem 0 0; color: #d9cbb8; }

.toolbar {
  display: flex;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
.search {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0 1rem;
}
.page-intro { max-width: 40rem; color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.7rem; color: var(--muted); font-size: 0.75rem; margin: 0 0 1.6rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); }
.product { display: grid; gap: 2rem; }
.product-gallery { min-width: 0; }
.product-photo { position: relative; background: var(--paper-2); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.product-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,0.65)); pointer-events: none; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.photo-signature { position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 1; color: #f3dfb8; font-size: 0.67rem; letter-spacing: 0.27em; }
.photo-signature span { display: block; margin-top: 0.35rem; font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0; color: #fff; }
.photo-zoom { position: absolute; z-index: 1; bottom: 1.5rem; right: 1.5rem; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #ffffff50; background: #0b0b0b55; color: white; border-radius: 50%; cursor: pointer; backdrop-filter: blur(8px); }
.photo-zoom:hover { background: #17130dcf; border-color: var(--gold); }
.photo-zoom svg { width: 17px; height: 17px; }
.gallery-caption { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.68rem; margin: 0.85rem 0 0; }
.gallery-caption span:first-child { text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.product-meta .eyebrow { margin: 0; font-size: 0.68rem; }
.product-meta a { text-decoration: none; }
.stock { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.7rem; color: #b7c5aa; white-space: nowrap; }
.stock > span { width: 5px; height: 5px; border-radius: 50%; background: #a2b88c; box-shadow: 0 0 0 4px #a2b88c0d; }
.stock.unavailable { color: var(--muted); }
.product h1 { font-size: clamp(2.7rem, 4.4vw, 4.2rem); line-height: 1.03; text-wrap: balance; }
.subtitle { max-width: 31rem; font-size: 0.98rem; color: var(--muted); margin: 0.65rem 0 0; line-height: 1.6; }
.product-price { font-size: 1.25rem; color: var(--gold); font-weight: 600; margin: 1.15rem 0 1.4rem; letter-spacing: 0.01em; }
.fragrance { border-block: 1px solid var(--line); padding: 1.1rem 0; }
.fragrance-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fragrance-heading h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0; margin: 0; }
.fragrance-heading > span { color: #88847c; font-size: 0.65rem; }
.notes { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.9rem; }
.notes li { display: grid; grid-template-columns: 30px 1fr; gap: 0.9rem; align-items: center; }
.note-pyramid { width: 30px; height: 30px; }
.note-pyramid path { fill: #39342c; }
.note-pyramid.top .pyramid-top, .note-pyramid.heart .pyramid-heart, .note-pyramid.base .pyramid-base { fill: var(--gold); }
.note-label { display: block; font-size: 0.67rem; color: #a8a39a; margin-bottom: 0.3rem; }
.note-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.note-tag { border: 1px solid #c3a36b24; background: #c3a36b08; padding: 0.15rem 0.55rem; border-radius: 4px; color: #e0d7c7; font-size: 0.75rem; }
.buy { margin-top: 1.3rem; }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0; border: 0; padding: 0; }
.sizes legend { padding: 0; margin-bottom: 0.6rem; font-size: 0.75rem; font-weight: 600; }
.size { position: relative; display: flex; flex-direction: column; gap: 0.15rem; align-items: center; justify-content: center; min-height: 72px; border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.size:hover { border-color: #7b6849; }
.size > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.size > span:first-of-type { font-size: 1rem; font-weight: 600; }
.size strong { font-size: 0.7rem; font-weight: 400; color: var(--muted); }
.size-check { position: absolute; right: 0.4rem; top: 0.2rem; color: var(--gold); font-size: 0.65rem; visibility: hidden; }
.size:has(input:checked) { border-color: var(--bronze); background: #cfab6a0d; box-shadow: inset 0 0 0 1px #cfab6a24; }
.size:has(input:checked) .size-check { visibility: visible; }
.size:has(input:checked) > span:first-of-type, .size:has(input:checked) strong { color: var(--gold); }
.size:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.size:has(input:disabled) { opacity: 0.35; cursor: not-allowed; }
.price-line { display: flex; justify-content: space-between; gap: 0.8rem; margin: 1rem 0 0.8rem; font-size: 0.68rem; color: var(--muted); }
.price-line strong { color: var(--ink); margin-left: 0.25rem; font-weight: 600; }
.qty-row { display: flex; gap: 0.8rem; align-items: stretch; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; flex: 0 0 auto; }
.quantity button { width: 36px; min-height: 50px; padding: 0; border: 0; background: transparent; color: var(--gold); font-size: 1.1rem; cursor: pointer; }
.quantity button:hover { background: #cfab6a0c; }
.quantity button:disabled { color: #5c5750; cursor: default; }
.quantity input[type="number"] { appearance: textfield; -moz-appearance: textfield; width: 30px; min-height: 50px; padding: 0; text-align: center; border: 0; border-radius: 0; color: var(--ink); background: transparent; font-size: 0.85rem; }
.quantity input::-webkit-inner-spin-button, .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.add-to-cart { flex: 1; gap: 0.65rem; font-size: 0.8rem; padding-inline: 0.6rem; }
.add-to-cart svg { width: 18px; height: 18px; flex-shrink: 0; }
.added { color: var(--gold); font-size: 0.75rem; padding: 0.8rem; border: 1px solid var(--line); border-radius: 6px; }
.added a { display: inline-block; margin-left: 0.2rem; text-underline-offset: 3px; }
.product-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.product-perks > div { display: flex; align-items: center; gap: 0.65rem; }
.product-perks svg { width: 25px; height: 25px; color: #b3945f; flex-shrink: 0; }
.product-perks p { margin: 0; font-size: 0.65rem; }
.product-perks strong { display: block; font-weight: 500; color: #d2ccc1; }
.product-perks span, .product-perks a { display: block; color: var(--muted); text-decoration: none; margin-top: 0.15rem; }
.product-story { display: grid; gap: 1rem; margin-top: 4rem; padding-block: 2.6rem; border-block: 1px solid var(--line); }
.product-story h2 { font-size: 2.7rem; line-height: 1.05; }
.product-story .prose p { font-size: 0.9rem; line-height: 1.9; margin: 0 0 1rem; }
.product-story .prose p:last-child { margin: 0; }
.related { padding-top: 0.3rem; }
.related .section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 0; }
.related .section-head a { font-size: 0.78rem; white-space: nowrap; text-decoration: none; }
.related .section-head .eyebrow { font-size: 0.62rem; margin-bottom: 0.6rem; }
.image-dialog { padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--dark); max-width: min(900px, 94vw); max-height: 94dvh; overflow: visible; }
.image-dialog::backdrop { background: #000d; backdrop-filter: blur(10px); }
.image-dialog img { display: block; max-width: 90vw; max-height: 90dvh; object-fit: contain; border-radius: 9px; }
.dialog-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; background: #000a; color: white; border: 1px solid #ffffff40; border-radius: 50%; cursor: pointer; }
.qty-row label, .field { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 650; }
input[type="number"], .field input, .field textarea {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.prose p { color: #bcb5aa; line-height: 1.85; }

.cart-list, .summary-list { display: grid; gap: 0.8rem; }
.line, .summary-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem;
}
.line img, .summary-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.line-actions, .totals { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.totals { justify-content: space-between; margin-top: 0.35rem; }
.totals strong { font-size: 1.2rem; }
.linkish { background: none; border: 0; color: var(--bronze); padding: 0; cursor: pointer; font-weight: 700; }
.checkout { display: grid; gap: 1rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}
.fields { display: grid; gap: 0.8rem; }
.notice, .error {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin: 0.8rem 0;
}
.notice { background: #1a2618; color: #c7e1ba; }
.error { background: #311b1b; color: #efb9b9; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.map { border: 0; width: 100%; height: 320px; border-radius: 18px; background: var(--paper-2); }
.feature-grid { grid-template-columns: 1fr; }
.feature { background: var(--card); border-radius: 18px; padding: 1rem 1.1rem; border: 1px solid var(--line); }
.feature h3 { margin: 0 0 0.3rem; font-size: 1.7rem; }
.info-grid { grid-template-columns: 1fr; }
.info-card { background: var(--card); border-radius: 18px; padding: 1rem; border: 1px solid var(--line); }
.info-card a { color: var(--bronze); font-weight: 700; }

.site-footer { background: var(--dark); color: #eadfce; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-logo img { height: auto; display: block; }
.footer-inner { display: grid; gap: 1rem; }
.site-footer a { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; }
.fine { color: #b7aa9b; font-size: 0.88rem; }

@media (min-width: 760px) {
  .cats, .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: 1fr 1.2fr; }
  .hero { grid-template-columns: 1.05fr 0.95fr; }
  .product { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .product-gallery { position: sticky; top: 110px; }
  .product-story { grid-template-columns: 1fr 2fr; gap: 3rem; }
}
@media (min-width: 1040px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .checkout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .summary { position: sticky; top: 98px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #161310;
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-open .nav-panel { display: flex; }
  .nav-panel a { min-height: 44px; display: flex; align-items: center; }
  .topbar-extra { display: none; }
  .logo img { height: 40px; }
}
@media (max-width: 520px) {
  .collection-links { gap: 0.4rem; }
  .collection-links a { padding: 0.45rem 0.6rem; font-size: 0.72rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-title { font-size: 1.2rem; }
  .card-body { padding: 0.7rem; }
  .topbar { font-size: 0.62rem; }
  .topbar-inner { min-height: 34px; gap: 0.4rem; }
  .wrap { padding-top: 1.25rem; }
  .crumbs { font-size: 0.65rem; gap: 0.5rem; margin-bottom: 1rem; }
  .nav-inner { min-height: 72px; }
  .product { gap: 1.8rem; }
  .product h1 { font-size: 2.9rem; }
  .product-price { margin-block: 1rem; }
  .gallery-caption { font-size: 0.6rem; }
  .product-story { margin-top: 2.5rem; padding-block: 2rem; }
  .product-story h2 br { display: none; }
  .related .section-head { align-items: start; }
  .related .section-head a { font-size: 0.65rem; }
  .related .section-head h2 { max-width: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
