:root {
  --ink: #17221c;
  --muted: #6a7a6e;
  --line: #e4e0d6;
  --bg: #faf8f2;
  --surface: #ffffff;
  --green-900: #1e3d2c;
  --green-700: #2f6b4f;
  --green-500: #4f8f68;
  --green-100: #e6efe4;
  --clay: #c65f36;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(23, 34, 28, 0.06);
  --shadow-lg: 0 12px 40px rgba(23, 34, 28, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; }
h1 { font-size: 58px; letter-spacing: -0.01em; }
h2 { font-size: 38px; }
h3 { font-size: 22px; }
p { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--green-900); color: #fff; }
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { font-family: var(--serif); font-size: 24px; letter-spacing: 0.24em; font-weight: 600; }
.logo span { color: var(--green-700); }
.nav { display: flex; gap: 30px; font-size: 15px; }
.nav a { color: var(--ink); opacity: 0.82; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--green-700); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-900); color: #fff; border: none;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--clay); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.burger { display: none; background: none; border: none; font-size: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--green-100); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px 0 0; }
.hero-copy { padding-bottom: 90px; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--green-700); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 460px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-figures { display: flex; gap: 32px; margin-top: 40px; }
.hero-figures div strong { display: block; font-family: var(--serif); font-size: 28px; }
.hero-figures div span { font-size: 13px; color: var(--muted); }
.hero-media img { width: 100%; border-radius: 18px 18px 0 0; object-fit: cover; height: 520px; }

/* ---------- promo strip ---------- */
.strip { background: var(--green-900); color: #fff; padding: 16px 0; }
.strip-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; opacity: 0.94; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

/* ---------- generic section ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- value cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .num { font-family: var(--serif); font-size: 34px; color: var(--green-700); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---------- category split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 380px; }
.split-card img { width: 100%; height: 100%; object-fit: cover; }
.split-card .overlay {
  position: absolute; inset: 0; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(23,34,28,0.78) 0%, rgba(23,34,28,0.1) 60%);
  color: #fff;
}
.split-card h2 { font-size: 34px; }
.split-card p { opacity: 0.9; margin: 8px 0 18px; font-size: 15px; }
.link-arrow { font-weight: 600; font-size: 15px; }

/* ---------- product grid ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; color: var(--ink);
}
.chip.active { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard .ph { position: relative; background: var(--green-100); }
.pcard .ph img { width: 100%; height: 240px; object-fit: cover; }
.tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--green-900); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pcard .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { font-size: 18px; }
.pcard .tl { color: var(--muted); font-size: 14px; flex: 1; }
.prow { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 700; font-size: 17px; }
.price small { font-weight: 500; color: var(--muted); font-size: 13px; }
.add {
  background: var(--green-100); color: var(--green-900); border: none;
  border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600;
}
.add:hover { background: var(--green-900); color: #fff; }

/* ---------- bundle ---------- */
.bundle { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--green-100); border-radius: 20px; overflow: hidden; }
.bundle img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.bundle .txt { padding: 44px 48px 44px 0; }
.bundle ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.bundle li { font-size: 15px; color: var(--muted); padding-left: 22px; position: relative; }
.bundle li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.price-old { text-decoration: line-through; color: var(--muted); margin-left: 8px; font-weight: 500; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story img { border-radius: 18px; height: 460px; width: 100%; object-fit: cover; }
.story p { color: var(--muted); margin-top: 16px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-size: 15px; }
.tick { color: var(--green-700); font-weight: 700; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--clay); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 12px 0 16px; font-size: 15px; }
.review small { color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-family: var(--serif); font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-700); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ---------- newsletter ---------- */
.news { background: var(--green-900); color: #fff; border-radius: 20px; padding: 56px; text-align: center; }
.news h2 { color: #fff; }
.news p { opacity: 0.85; margin: 14px auto 26px; max-width: 520px; }
.news form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.news input { flex: 1; padding: 14px 18px; border-radius: 999px; border: none; font-size: 15px; }
.news button { background: #fff; color: var(--green-900); border-radius: 999px; padding: 14px 26px; border: none; font-weight: 600; }

/* ---------- product page ---------- */
.crumb { padding: 28px 0 0; font-size: 14px; color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 32px 0 80px; }
.pdp-media img { border-radius: 18px; width: 100%; }
.pdp h1 { font-size: 42px; margin: 12px 0; }
.pdp .lead { font-size: 18px; color: var(--muted); }
.benefits { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; }
.benefit { background: var(--green-100); color: var(--green-900); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.price-big { font-family: var(--serif); font-size: 34px; font-weight: 600; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin: 22px 0; }
.qty button { width: 42px; height: 42px; border: none; background: none; font-size: 18px; color: var(--ink); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; }
.pdp .story-copy { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 26px; }
.pdp .story-copy h3 { margin-bottom: 10px; }
.pdp .story-copy p { color: var(--muted); }
.nutri { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.nutri table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nutri td { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.nutri td:first-child { color: var(--ink); font-weight: 600; width: 45%; }

/* ---------- cart ---------- */
.cart-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 40px 0 90px; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.cart-row img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.cart-row h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.cart-row small { color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; height: fit-content; }
.summary h3 { margin-bottom: 18px; }
.sum-line { display: flex; justify-content: space-between; font-size: 15px; padding: 9px 0; color: var(--muted); }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; color: var(--ink); font-weight: 700; font-size: 18px; }
.note { background: #fff8e6; border: 1px solid #f0dfae; color: #7a5c12; font-size: 13px; padding: 14px; border-radius: 10px; margin-top: 18px; }
.empty { text-align: center; padding: 90px 0; color: var(--muted); }

/* ---------- shop header ---------- */
.page-head { background: var(--green-100); padding: 56px 0 40px; margin-bottom: 44px; }
.page-head h1 { font-size: 46px; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 620px; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #cfd8d1; padding: 64px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: 14px; display: block; }
footer .logo span { color: var(--green-500); }
.foot-bot { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .nav { display: none; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-media img { height: 320px; border-radius: 18px; }
  .duo, .split, .bundle, .story, .pdp, .cart-wrap { grid-template-columns: 1fr; }
  .bundle .txt { padding: 32px 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row > :nth-child(3), .cart-row > :nth-child(4) { grid-column: 2; }
  section { padding: 60px 0; }
  .news { padding: 36px 22px; }
  .news form { flex-direction: column; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-figures { flex-wrap: wrap; gap: 20px; }
}

/* ---------- mobile nav ---------- */
.site-head { position: relative; z-index: 60; }
@media (max-width: 860px) {
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 22px;
    box-shadow: var(--shadow);
  }
}

/* ---------- legal / contact pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal .note { margin-top: 34px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
.legal-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.legal-table td:first-child { color: var(--ink); font-weight: 600; width: 62%; }
.contact-form { display: grid; gap: 12px; margin-top: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }

/* ---------- cookie consent ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px; display: grid; gap: 14px;
}
.cookie p { font-size: 14px; color: var(--muted); margin: 0; }
.cookie p a { color: var(--green-700); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; }
}
