:root {
  --teal: #6b2c3e;
  --teal-deep: #3a1824;
  --ink: #2a1b20;
  --muted: #6e5c62;
  --sand: #f0e4d8;
  --sand-2: #e6d5c6;
  --cream: #f8f0e8;
  --white: #fffaf6;
  --line: #e3d4c6;
  --gold: #c4a05a;
  --gold-soft: #e8d4a8;
  --shadow: 0 16px 40px rgba(58, 24, 36, 0.1);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --header: 78px;
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(196, 160, 90, 0.16), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(107, 44, 62, 0.08), transparent 50%),
    var(--cream);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 0.9em; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--teal);
  color: white;
  padding: 8px 12px;
  z-index: 20;
  border-radius: 999px;
}
.skip:focus { top: 12px; color: white; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--teal-deep);
  color: #f3e8e4;
  font-size: 13.5px;
}
.topbar-inner {
  display: flex;
  gap: 18px 28px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 9px 0;
}
.topbar a { color: #f3e8e4; text-decoration: none; }
.topbar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 2px var(--gold-soft);
}
.logo span {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-btn,
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 999px;
}
.nav-btn:hover,
.nav-link:hover,
.nav-link.is-active,
.nav-btn.is-active,
.nav-item:hover > .nav-btn {
  background: var(--sand);
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
  z-index: 40;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover { background: var(--sand); color: var(--teal-deep); }

.header-shop { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(107, 44, 62, 0.18);
}
.btn:hover { background: var(--teal-deep); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 1px solid var(--teal);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--sand); color: var(--teal-deep); }
.btn-small { padding: 8px 14px; font-size: 15px; box-shadow: none; }
.btn-full { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 54px 0 30px;
}
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(40px, 5vw, 62px); margin-bottom: 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-media {
  overflow: hidden;
  min-height: 400px;
  background: var(--sand);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }

.panel {
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
}
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 40px; }
.points article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(58, 24, 36), 0.04);
}
.points article h2 { font-size: 26px; }
.points p { color: var(--muted); margin: 0; }

.section { padding: 28px 0 10px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(32px, 4vw, 44px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; }

.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  gap: 0;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(58, 24, 36), 0.05);
}
.feature-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; min-height: 240px; aspect-ratio: 1; }
.feature-card > div { padding: 16px 18px 20px; }
.feature-card h3 { font-size: 26px; }
.price { font-weight: 700; color: var(--teal-deep); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 650;
}

.know {
  margin: 36px 0;
  background: linear-gradient(135deg, var(--teal-deep), #7a3a4c);
  color: #f8f0e8;
  padding: 48px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.know h2 { font-size: clamp(32px, 4vw, 46px); }
.know a { color: white; }
.know .btn { box-shadow: none; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  color: white;
  text-decoration: none;
  display: block;
  background: var(--teal);
  border-radius: 20px;
}
.tile img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(58, 24, 36), 0.82));
  font-family: var(--serif);
  font-size: 26px;
  color: white;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(58, 24, 36), 0.05);
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body, .card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 24px; margin: 0; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.card .meta { color: var(--gold); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
blockquote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 16px;
}
blockquote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
blockquote footer { color: var(--muted); font-size: 15px; }

.cta-band {
  margin: 36px 0 10px;
  padding: 48px max(20px, calc((100vw - var(--max)) / 2));
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--sand);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 8px; }
.cta-band .hero-actions { margin-top: 0; }

.page-hero { padding: 36px 0 10px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 20ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; padding-bottom: 30px; }
.product-photo { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: white; }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--sand);
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--teal); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.buy {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 22px;
  padding: 22px 20px;
  position: sticky;
  top: calc(var(--header) + 16px);
}
.meta { color: var(--gold); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.buy h1 { font-size: 36px; }
.price-lg { font-size: 28px; font-weight: 700; color: var(--teal-deep); margin: 0 0 6px; }

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 22px;
  font-size: 15px;
}
.specs th, .specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th { width: 38%; color: var(--muted); font-weight: 650; }

.prose h2 { font-size: 32px; margin-top: 1.2em; }
.prose h3 { font-size: 24px; margin-top: 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0.25em 0; }
.prose img.wide {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  margin: 0 0 1.2em;
  border-radius: 20px;
}
.ingredients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 28px;
}
.ingredients figure { margin: 0; }
.ingredients img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.ingredients figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.note {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 14px;
  color: var(--ink);
  font-size: 15px;
}

.callout {
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 16px 0 22px;
}
.callout p { margin: 0; }

label { display: block; font-size: 14px; font-weight: 650; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; font-size: 14px; margin-top: 10px; }
.check input { width: auto; margin-top: 4px; }
.totals { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 12px 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.totals strong { font-size: 17px; }
.form-error { color: #8c3a32; font-size: 14px; margin: 8px 0; min-height: 1.2em; }
.field-error { border-color: #8c3a32; background: #fff7f6; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 40px; }
.shop-grid .card img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.shop-grid .card-body p { flex: 0; }
.shop-grid .card-body .desc { flex: 1; }

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 0;
}
details.faq summary { cursor: pointer; font-weight: 650; }
details.faq p { margin: 10px 0 4px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; padding-bottom: 40px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
}

.site-footer {
  margin-top: 40px;
  background: var(--teal-deep);
  color: #f3e8e4;
  padding: 40px 0 18px;
}
.site-footer a { color: #f3e8e4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: white; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 22px; }
.site-footer h2 { font-size: 18px; font-family: var(--sans); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal-note { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 26px; padding-top: 14px; font-size: 13px; color: #d4c4c0; }
.copyright { font-size: 13px; color: #d4c4c0; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 36px; }
.related a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
}
.related img { width: 86px; height: 86px; object-fit: contain; background: #fff; border-radius: 10px; }
.related div { padding-right: 10px; }
.related strong { display: block; font-size: 15px; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 28px;
}
.info-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.info-grid h3 { font-size: 20px; margin-bottom: 8px; }

@media (min-width: 901px) {
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown { display: block; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-shop { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav-btn, .nav-link { text-align: left; width: 100%; border-radius: 12px; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    background: transparent;
  }
  .nav-item.open > .dropdown { display: block; }
  .hero, .featured, .know, .points, .mosaic, .cards, .quotes, .split, .contact-grid, .foot-grid, .shop-grid, .related, .ingredients, .info-grid {
    grid-template-columns: 1fr;
  }
  .feature-card { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 240px; }
  .buy { position: static; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .topbar-inner { justify-content: flex-start; }
  .mosaic { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
