:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #efebe0;
  --text: #18201b;
  --muted: #667064;
  --border: #ded8c8;
  --accent: #163d32;
  --accent-2: #d7a84b;
  --shadow: 0 20px 50px rgba(24, 32, 27, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #fff 45%, var(--bg));
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.35rem;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

nav a, .header-cta, .site-footer a {
  text-decoration: none;
}

nav a:hover, .site-footer a:hover { color: var(--accent); }

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-weight: 800;
}

main { padding: 0 clamp(18px, 5vw, 72px) 72px; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.hero { min-height: calc(100vh - 80px); padding: 54px 0 40px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.55rem, 7vw, 5.7rem); margin: 0 0 22px; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 0 0 22px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 26px;
}

.hero-actions, .thumbs, .section-heading-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: var(--accent); color: white; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn.full { width: 100%; }

.trust-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.trust-list li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }

.gallery {
  background: var(--surface);
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#mainProductImage {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  background: var(--surface-2);
}

.thumbs { margin-top: 12px; }
.thumb {
  width: 74px;
  height: 74px;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--surface-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--accent-2); }

.info-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 80px;
}
.info-band div {
  background: var(--accent);
  color: white;
  border-radius: 20px;
  padding: 20px;
}
.info-band strong { display: block; font-size: 0.85rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
.info-band span { font-size: 1.05rem; font-weight: 800; }

.content-section {
  max-width: 1180px;
  margin: 0 auto 80px;
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
}

.cards, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.card p, .review-card p, .muted { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.check-list, .x-list { padding-left: 0; list-style: none; }
.check-list li, .x-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.x-list li::before { content: "•"; position: absolute; left: 6px; color: var(--accent-2); font-weight: 900; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 18px; overflow: hidden; }
caption { text-align: left; color: var(--muted); margin-bottom: 10px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); width: 28%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.section-heading-row { justify-content: space-between; align-items: end; }
.section-heading-row .muted { max-width: 440px; }
.stars { color: #9b6d11; letter-spacing: 0.05em; margin-bottom: 10px; }
.comment-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
label { display: grid; gap: 6px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.92rem; margin: 0; }

.faq-list { display: grid; gap: 12px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}
summary { font-weight: 900; cursor: pointer; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

.source-section ul { color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}
.site-footer strong { color: var(--text); }
.site-footer div:last-child { display: flex; flex-direction: column; gap: 8px; }

.checkout-dialog {
  width: min(92vw, 460px);
  border: 0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.checkout-dialog::backdrop { background: rgba(0,0,0,0.35); backdrop-filter: blur(3px); }
.dialog-close {
  float: right;
  border: 0;
  background: var(--surface-2);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.2rem;
}
.checkout-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 16px;
  margin: 18px 0;
}

@media (max-width: 900px) {
  nav { display: none; }
  .section-grid, .split, .cards, .reviews-grid { grid-template-columns: 1fr; }
  .info-band { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
}

@media (max-width: 560px) {
  .site-header { gap: 10px; }
  .header-cta { display: none; }
  .info-band { grid-template-columns: 1fr; }
  .thumb { width: 62px; height: 62px; }
  .site-footer { flex-direction: column; }
}
