@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/outfit-300.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}

:root {
  --ink: #f4efe6;
  --ink-2: #ebe4d6;
  --panel: #fffdf8;
  --line: rgba(28, 24, 20, 0.12);
  --cream: #1c1814;
  --cream-dim: #5e564c;
  --gold: #9a7040;
  --gold-2: #b8894a;
  --good: #2f6b38;
  --on-gold: #1c1814;
  --header-bg: rgba(244, 239, 230, 0.55);
  --header-scrolled: rgba(244, 239, 230, 0.97);
  --header-shadow: 0 12px 32px rgba(28, 24, 20, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --max: 1160px;
  --radius: 18px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #0d0c0b;
  --ink-2: #161412;
  --panel: #1c1916;
  --line: rgba(243, 234, 220, 0.12);
  --cream: #f3eadc;
  --cream-dim: #cfc4b3;
  --gold: #c9a56a;
  --gold-2: #e4c48a;
  --good: #8fbf8a;
  --on-gold: #1c1814;
  --header-bg: rgba(13, 12, 11, 0.5);
  --header-scrolled: rgba(13, 12, 11, 0.94);
  --header-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--cream-dim); }
.gold { color: var(--gold); }
.kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #8a5f30;
  font-weight: 500;
}
html[data-theme="dark"] .kicker { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 500;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.full { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.site-header.is-scrolled {
  background: var(--header-scrolled);
  border-bottom-color: var(--line);
  box-shadow: var(--header-shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
  transition: min-height 0.22s ease;
}
.site-header.is-scrolled .nav { min-height: 62px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.brand img { width: 28px; height: auto; }
html:not([data-theme="dark"]) .brand img { filter: invert(1); }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--cream-dim);
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 8px; position: relative; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--cream);
}
.icon-btn svg { width: 20px; height: 20px; display: block; }
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tool-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.tool-btn .tool-label { text-transform: uppercase; }
.lang-wrap { position: relative; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--header-shadow);
  z-index: 80;
}
.lang-wrap.open .lang-menu { display: grid; gap: 2px; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: 0.92rem;
}
.lang-menu button:hover,
.lang-menu button.active { background: var(--ink-2); }
.lang-flag { font-size: 1.15rem; line-height: 1; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 11px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.cart-count[hidden] { display: none !important; }
.menu-btn { display: none; }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-inline: 20px;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(18%) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,12,11,0.15) 0%, rgba(13,12,11,0.78) 72%, var(--ink) 100%),
    linear-gradient(90deg, rgba(13,12,11,0.55), transparent 55%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin-inline: 0;
  color: #f3eadc;
}
.hero-copy .muted { color: rgba(243, 234, 220, 0.82); }
.hero-copy .kicker { color: #c9a56a; }
.hero .btn.ghost {
  color: #f3eadc;
  border-color: rgba(243, 234, 220, 0.35);
}
.hero-copy .verse {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  font-style: italic;
  font-weight: 500;
  margin: 14px 0 22px;
  max-width: 100%;
  line-height: 1.2;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.media {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.price { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.badge {
  display: inline-block;
  border: 1px solid #8a5f30;
  color: #8a5f30;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
html[data-theme="dark"] .badge {
  border-color: var(--gold);
  color: var(--gold);
}

.grid-3, .grid-4, .products {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.products { grid-template-columns: repeat(3, 1fr); }
.card, .product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product img { aspect-ratio: 1; object-fit: cover; background: #111; }
.product .body, .card .body { padding: 18px 18px 22px; }
.product h3 { font-size: 1.35rem; }
.feature {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gold);
}

.form {
  display: grid;
  gap: 12px;
  max-width: 560px;
}
label { font-size: 0.88rem; color: var(--cream-dim); }
input, textarea, select {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
.notice {
  display: none;
  background: rgba(143, 191, 138, 0.12);
  border: 1px solid rgba(143, 191, 138, 0.4);
  color: var(--good);
  padding: 12px 14px;
  border-radius: 12px;
}
.notice.show { display: block; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { margin-top: 10px; color: var(--cream-dim); }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
th { color: var(--gold); font-weight: 500; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer a { color: var(--cream-dim); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--cream-dim);
  font-size: 0.85rem;
}

.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 50;
}
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  z-index: 51;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.drawer.open { transform: none; }
.cart-items { flex: 1; overflow: auto; display: grid; gap: 12px; align-content: start; }
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.swatches { display: flex; gap: 8px; margin: 12px 0; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
}
.swatch.active { border-color: var(--gold); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 20px; }
.size {
  min-width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.size.active { border-color: var(--gold); color: var(--gold); }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery img { border-radius: 14px; height: 280px; object-fit: cover; width: 100%; }
.gallery img:first-child { grid-column: 1 / -1; height: 420px; }

.pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.pay span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.pay .ideal { background: #fff; color: #cc0066; }
.note-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0 20px;
  font-size: 0.95rem;
}
.company { font-size: 0.85rem; color: var(--cream-dim); }
.company strong { color: var(--cream); font-weight: 500; }
.legal-doc h2 { margin-top: 1.4em; }
.pay-choice {
  display: grid;
  gap: 8px;
  margin: 12px 0 20px;
}
.pay-choice label {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.pay-choice input { width: auto; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip.active { border-color: var(--gold); color: var(--gold); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  background: #111;
}
.thumbs img.active { border-color: var(--gold); }
.prod-extras { margin-top: 28px; }
.prod-extras details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.prod-extras summary { cursor: pointer; font-weight: 500; }
.prod-extras .inner { margin-top: 12px; color: var(--cream-dim); }
.opt { font-size: 0.82rem; color: var(--cream-dim); font-weight: 400; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.checkout-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.reviews {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--cream-dim);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 76px 0 auto 0;
    background: var(--ink);
    padding: 18px 22px 24px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .split, .split.reverse, .grid-3, .grid-4, .products, .footer-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse .copy { order: 0; }
  .hero { min-height: 78vh; }
  .hero-copy .verse { font-size: 1.28rem; line-height: 1.3; }
  .hero-copy .muted { font-size: 0.92rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .checkout-grid { grid-template-columns: 1fr; }
}
body { overflow-x: hidden; }


.local-note {
  font-size: 0.8rem;
  color: var(--cream-dim);
  margin-top: 10px;
}

body[data-page="home"] .hero {
  margin-top: -76px;
}
body[data-page="home"] .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(13, 12, 11, 0.55), rgba(13, 12, 11, 0.08) 75%, transparent);
  border-bottom-color: transparent;
}
body[data-page="home"] .site-header:not(.is-scrolled) .brand,
body[data-page="home"] .site-header:not(.is-scrolled) .nav-links a {
  color: #f3eadc;
}
body[data-page="home"] .site-header:not(.is-scrolled) .brand img { filter: none !important; }
body[data-page="home"] .site-header:not(.is-scrolled) .tool-btn,
body[data-page="home"] .site-header:not(.is-scrolled) .icon-btn {
  color: #f3eadc;
  border-color: rgba(243, 234, 220, 0.35);
  background: rgba(13, 12, 11, 0.28);
}

@media (max-width: 1100px) {
  .tool-btn { padding: 0 10px; height: 38px; }
  .icon-btn { width: 38px; height: 38px; }
  .nav-links.open {
    background: var(--header-scrolled);
  }
}
