/* ZdravoDan — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #fcfdfb;
  --text: #16241c;
  --green: #2f7d52;
  --green-dark: #1f5c3b;
  --green-light: #eaf4ee;
  --blue: #3d7f9c;
  --blue-dark: #2c6a83;
  --blue-light: #e8f2f6;
  --tan: #8a6f47;
  --tan-light: #f3e9d8;
  --border: #e3e9e3;
  --border2: #cfdad2;
  --muted: #5d6f64;
  --muted2: #4a5a51;
  --ink2: #3f5348;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: #d7ebdf; }
h1, h2, h3 { font-family: var(--font-display); }

@keyframes zdUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zdIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zdFade { from { opacity: 0; } to { opacity: 1; } }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252,253,251,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(140deg, var(--green), var(--blue));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: none;
}
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.brand-domain { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
  background: none; border: 0; padding: 9px 12px; border-radius: 9px;
  color: #3a4a41; font-size: 14.5px; font-weight: 500; font-family: inherit;
}
.nav-link:hover, .nav-link.is-active { background: var(--green-light); color: var(--green-dark); text-decoration: none; }
.cart-btn {
  margin-left: 8px; display: flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg); border: 0; padding: 10px 16px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}
.cart-btn:hover { background: var(--green); }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: var(--green);
  display: grid; place-items: center; font-size: 12px; font-family: var(--font-mono); padding: 0 6px;
}
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border2);
  border-radius: 10px; width: 42px; height: 40px; align-items: center; justify-content: center; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-family: inherit; border: 0;
  padding: 15px 26px; font-size: 15.5px; text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: var(--green); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost { background: none; border: 1px solid var(--border2); color: var(--text); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-mint { background: #9fd3b4; color: #14301f; font-weight: 700; }
.btn-mint:hover { background: #fff; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 999px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero-copy { animation: zdUp 0.6s ease both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green-light);
  color: var(--green-dark); border-radius: 999px; padding: 7px 14px; font-size: 12.5px;
  font-weight: 600; letter-spacing: 0.02em;
}
.h1 { font-size: 58px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 22px 0 18px; }
.lead { font-size: 17.5px; line-height: 1.65; color: var(--muted2); max-width: 52ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-size: 27px; font-weight: 600; color: var(--green); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; gap: 14px; }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }
.hero-gallery .span2 { grid-column: span 2; }

/* ---------- Photo tiles (generic placeholders now filled with real photos) ---------- */
.photo-tile { position: relative; overflow: hidden; background: var(--green-light); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Strip ---------- */
.info-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.info-strip .container { padding: 26px 24px; display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.info-strip span { font-size: 14px; color: var(--muted2); }
.info-strip strong { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 72px 0 0; }
.section:last-child, .section.pb { padding-bottom: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 60ch; margin: 0 0 34px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.pillar-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; transition: 0.15s; }
.pillar-card:hover { border-color: var(--green); transform: translateY(-3px); }
.pillar-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px;
}
.pillar-num.c1 { background: var(--green-light); color: var(--green); }
.pillar-num.c2 { background: var(--blue-light); color: var(--blue); }
.pillar-num.c3 { background: var(--tan-light); color: var(--tan); }
.pillar-card h3 { font-size: 19px; font-weight: 600; margin: 16px 0 8px; }
.pillar-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: 0.15s;
}
.product-card:hover { border-color: var(--green); }
.product-photo { height: 170px; position: relative; background: #f1f5f2; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 12px; left: 12px; background: #fff; border: 1px solid #dfe7e1;
  border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 600; color: var(--green);
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.product-body h3 { font-size: 17px; font-weight: 600; margin: 0; line-height: 1.3; }
.product-short { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-price { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.add-btn { background: var(--green-light); color: var(--green-dark); border: 0; padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.add-btn:hover { background: var(--green); color: #fff; }
.add-btn.added { background: var(--green); color: #fff; }

/* ---------- CTA banner (tools) ---------- */
.cta-banner {
  background: linear-gradient(120deg, #16241c, #22453a); border-radius: 26px; padding: 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; color: #f2f7f3;
}
.cta-banner .eyebrow-dark { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9fd3b4; }
.cta-banner h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 14px; color: #fff; }
.cta-banner p { font-size: 16px; line-height: 1.65; color: #c8dbcf; margin: 0 0 26px; }
.cta-panel { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.cta-row { display: flex; justify-content: space-between; font-size: 14.5px; color: #d8e7dd; }
.cta-row + .cta-row { margin-top: 8px; }
.bar-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.15); }
.bar-fill { height: 100%; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.testi-card p { font-size: 15.5px; line-height: 1.65; color: #33443b; margin: 0 0 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.testi-meta { font-size: 13.5px; color: var(--muted); }
.testi-meta strong { color: var(--text); display: block; }

/* ---------- Newsletter box ---------- */
.newsletter-box { background: var(--green-light); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter-box h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
.newsletter-box p { font-size: 15.5px; line-height: 1.6; color: var(--ink2); margin: 0; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 200px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border2);
  background: #fff; font-size: 15px; font-family: inherit; color: var(--text);
}
.form-msg { font-size: 12.5px; color: var(--muted); min-height: 16px; }
.form-msg.ok { color: var(--green-dark); font-weight: 600; }
.form-msg.err { color: #b4442f; font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 0; }
.page-hero.pb0 { padding-bottom: 0; }
.kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.page-title { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 12px; }
.page-title.sm { font-size: 40px; }
.page-title.xs { font-size: 38px; }
.page-lead { font-size: 16.5px; line-height: 1.65; color: var(--muted2); max-width: 68ch; margin: 0 0 30px; }

/* ---------- Shop filters ---------- */
.shop-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.search-input { padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border2); background: #fff; font-size: 14.5px; min-width: 220px; font-family: inherit; }
.chip { border: 1px solid var(--border2); background: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip:hover, .chip.is-active { border-color: var(--green); color: var(--green); }
.shown-label { margin-left: auto; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }
.empty-note { grid-column: 1 / -1; text-align: center; padding: 60px 10px; color: var(--muted); font-size: 15px; }

/* ---------- Info cards row ---------- */
.info-card { border: 1px solid var(--border); border-radius: 18px; padding: 26px; background: #fff; }
.info-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.info-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Recipe articles ---------- */
.recipe-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 260px 1fr; }
.recipe-photo { min-height: 220px; background: var(--green-light); }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.recipe-body { padding: 28px; }
.recipe-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { border-radius: 999px; padding: 5px 12px; font-size: 12px; }
.tag.tag-main { font-weight: 600; }
.tag.tag-muted { background: #f4f7f5; color: var(--muted); }
.recipe-body h2 { font-size: 25px; font-weight: 600; margin: 0 0 10px; }
.recipe-body > p:first-of-type { font-size: 15px; line-height: 1.65; color: var(--muted2); margin: 0 0 14px; }
.recipe-detail { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.recipe-detail strong { color: var(--text); }

.plan-table { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; }
.plan-row { display: grid; grid-template-columns: 120px 1fr 1fr 1fr; }
.plan-row.head { background: #f4f7f5; font-size: 12.5px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.plan-row:not(.head) { border-top: 1px solid #eef2ef; font-size: 14.5px; color: var(--muted2); }
.plan-row span { padding: 14px 18px; }
.plan-row .day { font-weight: 600; color: var(--text); }

/* ---------- Fitness levels ---------- */
.level-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.level-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }
.level-card h2 { font-size: 22px; font-weight: 600; margin: 12px 0 10px; }
.level-card > p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.level-card ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.85; color: var(--muted2); }

.week-block { border-left: 3px solid var(--green); padding-left: 18px; }
.week-block h3 { font-size: 17px; margin: 0 0 6px; }
.week-block p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.split-panel { border-radius: 22px; padding: 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.split-panel h2 { font-size: 28px; font-weight: 600; margin: 0 0 12px; }
.split-panel p { font-size: 15.5px; line-height: 1.65; margin: 0 0 22px; }
.split-photo { min-height: 190px; border-radius: 18px; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog ---------- */
.article-feature { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 40px; margin-bottom: 22px; }
.article-feature p { font-size: 16px; line-height: 1.7; color: var(--ink2); margin: 0 0 14px; }
.article-feature p:last-child { margin-bottom: 0; }
.article-feature h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 14px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.blog-card:hover { border-color: var(--green); }
.blog-thumb { height: 140px; background: var(--green-light); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; }
.blog-card-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--blue); letter-spacing: 0.1em; }
.blog-card h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; line-height: 1.35; }
.blog-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Tools / calculators ---------- */
.tool-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.tool-card h2 { font-size: 22px; font-weight: 600; margin: 0 0 18px; }
.field-label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.field-input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border2); font-size: 15px; margin-bottom: 16px; font-family: inherit; }
.result-box { border-radius: 14px; padding: 20px; display: flex; align-items: baseline; gap: 12px; }
.result-box.green { background: var(--green-light); }
.result-box.blue { background: var(--blue-light); }
.result-num { font-family: var(--font-display); font-size: 38px; font-weight: 600; }
.result-num.green { color: var(--green-dark); }
.result-num.blue { color: var(--blue-dark); }
.result-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.week-days { display: flex; gap: 10px; flex-wrap: wrap; }
.day-btn { width: 74px; height: 74px; border-radius: 16px; border: 1px solid var(--border2); background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.day-btn:hover, .day-btn.done { border-color: var(--green); }
.day-btn.done { background: var(--green-light); }
.day-btn .name { font-size: 13px; font-weight: 600; color: var(--text); }
.day-btn .mark { font-size: 17px; }
.streak-msg { font-size: 14px; color: var(--green); font-weight: 600; margin: 18px 0 0; }

/* ---------- About / team ---------- */
.team-photo { height: 160px; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.contact-card h2 { font-size: 21px; font-weight: 600; margin: 0 0 18px; }
.textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border2); font-size: 15px; margin-bottom: 16px; resize: vertical; font-family: inherit; }
.contact-panel { background: var(--green-light); border-radius: 20px; padding: 30px; }
.contact-panel h2 { font-size: 21px; font-weight: 600; margin: 0 0 16px; }
.contact-panel p, .contact-card + div p { font-size: 15px; line-height: 1.85; color: #33443b; margin: 0; }
.consent-note { font-size: 12.5px; color: #7a8a80; line-height: 1.6; margin: 10px 0 0; }
.map-tile { height: 170px; border-radius: 20px; overflow: hidden; position: relative; background: var(--blue-light); }
.map-tile svg { width: 100%; height: 100%; display: block; }
.map-caption { position: absolute; left: 14px; bottom: 12px; background: #fff; border: 1px solid #d6e6ec; border-radius: 10px; padding: 6px 12px; font-size: 12px; color: var(--blue-dark); font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px; }
.faq-item h2 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.faq-item p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- Legal pages ---------- */
.legal-body p { font-size: 15.5px; line-height: 1.75; color: var(--ink2); margin: 0 0 10px; }
.legal-body h2 { font-size: 21px; font-weight: 600; margin: 30px 0 10px; }
.legal-table { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; margin: 26px 0; }
.legal-row { display: grid; }
.legal-row.head { background: #f4f7f5; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.legal-row:not(.head) { border-top: 1px solid #eef2ef; font-size: 14.5px; color: var(--muted2); }
.legal-row span { padding: 13px 18px; }
.cookie-table .legal-row { grid-template-columns: 1.1fr 1.4fr 0.7fr; }
.ship-table .legal-row { grid-template-columns: 1.2fr 1fr 0.8fr; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.step-card .num { font-family: var(--font-mono); color: var(--green); font-size: 13px; }
.step-card h3 { font-size: 17px; margin: 10px 0 8px; }
.step-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: #cfdcd4; margin-top: auto; }
.footer-grid { padding: 56px 24px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-mark { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--green), var(--blue)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.footer-brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; }
.footer-grid p { font-size: 14px; line-height: 1.7; margin: 0 0 16px; color: #a9bdb1; }
.footer-mono { font-size: 13px; line-height: 1.7; margin: 0; color: #8fa596; font-family: var(--font-mono); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7d9488; }
.footer-link { background: none; border: 0; padding: 0; color: #cfdcd4; font-size: 14.5px; font-family: inherit; }
.footer-link:hover { color: #9fd3b4; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px 40px; border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: #8fa596; }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end; }
.cart-overlay.open { display: flex; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(16,32,24,0.42); border: 0; padding: 0; cursor: pointer; }
.cart-aside {
  position: relative; width: 420px; max-width: 92vw; background: var(--bg); height: 100%;
  display: flex; flex-direction: column; animation: zdIn 0.25s ease both; box-shadow: -20px 0 50px rgba(16,32,24,0.18);
}
.cart-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 21px; font-weight: 600; margin: 0; }
.cart-close { background: none; border: 0; font-size: 22px; color: var(--muted); line-height: 1; }
.cart-close:hover { color: var(--text); }
.cart-lines { flex: 1; overflow-y: auto; padding: 20px 26px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { text-align: center; padding: 50px 10px; }
.cart-empty p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.cart-line { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: center; }
.cart-line-photo { height: 66px; border-radius: 12px; overflow: hidden; background: #f1f5f2; }
.cart-line-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; display: block; line-height: 1.35; }
.cart-line-price { font-size: 13px; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border2); background: #fff; color: var(--text); }
.qty-btn:hover { border-color: var(--green); }
.qty-val { font-family: var(--font-mono); font-size: 14px; min-width: 18px; text-align: center; }
.rm-btn { background: none; border: 0; font-size: 12.5px; color: #8a9a90; margin-left: 6px; font-family: inherit; }
.rm-btn:hover { color: #b4442f; }
.cart-line-sum { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.cart-summary { border-top: 1px solid var(--border); padding: 22px 26px 26px; background: #fff; }
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.summary-row.total { font-family: var(--font-display); font-size: 21px; font-weight: 600; padding-top: 12px; border-top: 1px solid #eef2ef; color: var(--text); margin-bottom: 0; }
.free-msg { font-size: 12.5px; color: #7a8a80; margin: 10px 0 16px; }
.checkout-msg { font-size: 12.5px; color: #7a8a80; text-align: center; margin: 12px 0 0; }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 70; display: none; justify-content: center; }
.cookie-bar.show { display: flex; }
.cookie-box {
  max-width: 860px; width: 100%; background: #fff; border: 1px solid #dfe7e1; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(16,32,24,0.16); padding: 22px 26px; display: grid;
  grid-template-columns: 1fr auto; gap: 22px; align-items: center; animation: zdFade 0.3s ease both;
}
.cookie-box strong { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 6px; }
.cookie-box p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.cookie-box .link-btn { background: none; border: 0; padding: 0; color: var(--green); font-size: 13.5px; text-decoration: underline; font-family: inherit; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.summary-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; position: sticky; top: 90px; }
.summary-card h2 { font-size: 19px; margin: 0 0 16px; }
.pay-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border2); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.pay-option input { margin: 0; }
.success-box { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 50px 30px; text-align: center; }
.success-box .check { width: 60px; height: 60px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; margin: 0 auto 18px; font-size: 28px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 80; background: var(--text); color: #fff;
  padding: 14px 20px; border-radius: 12px; font-size: 14px; box-shadow: 0 12px 30px rgba(16,32,24,0.25);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: 0.25s;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .h1 { font-size: 42px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
  .newsletter-box { grid-template-columns: 1fr; padding: 30px; }
  .recipe-card { grid-template-columns: 1fr; }
  .recipe-photo { min-height: 160px; }
  .split-panel { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 720px) {
  /* backdrop-filter on .site-header would otherwise become the containing block for
     position:fixed descendants, trapping this panel inside the header's own box. */
  .site-header { backdrop-filter: none; }
  .main-nav { display: none; position: fixed; top: 63px; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 18px; gap: 6px; overflow-y: auto; z-index: 39; }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { text-align: left; padding: 13px 14px; font-size: 16px; }
  .main-nav .cart-btn { margin-left: 0; justify-content: center; order: -1; margin-bottom: 8px; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .h1 { font-size: 34px; }
  .page-title, .page-title.sm, .page-title.xs { font-size: 30px; }
  .hero-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 24px 20px; }
  .cookie-box { grid-template-columns: 1fr; }
  .cart-aside { width: 100%; }
  .info-strip .container { justify-content: flex-start; gap: 18px 30px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cta-banner, .newsletter-box, .split-panel { padding: 22px; }
  .h1 { font-size: 28px; }
}
