/* ============================================================
   3G ACTION — Landing / Konfigurator nawozów
   Design system: kolory, typografia, 3 motywy, komponenty
   ============================================================ */

/* ---------- Fonts ---------- */
:root {
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  --maxw: 1180px;
  --pad: clamp(18px, 5vw, 40px);
  --shadow: 0 1px 2px rgba(20,30,20,.05), 0 10px 30px -12px rgba(20,40,20,.18);
  --shadow-lg: 0 2px 6px rgba(20,30,20,.06), 0 30px 60px -22px rgba(20,40,20,.30);
}

/* ---------- Themes ---------- */
/* Belt-and-suspenders: zmienne motywu „garden" są też dostępne na :root,
   więc strona renderuje się poprawnie nawet gdyby atrybut data-theme zniknął. */
:root,
[data-theme="garden"] {
  --bg: #f3ecdd;
  --bg-2: #eadfc9;
  --surface: #fffdf7;
  --surface-2: #f0e8d6;
  --ink: #1d2a19;
  --ink-soft: #5c6852;
  --ink-faint: #8a9580;
  --brand: #2f6b3c;
  --brand-deep: #1d4727;
  --accent: #8cc63f;
  --accent-deep: #5f9a2c;
  --soil: #7a5b3f;
  --line: rgba(29,42,25,.12);
  --line-strong: rgba(29,42,25,.22);
  --on-brand: #f7f3e8;
  --on-accent: #173a14;
  --halo: rgba(140,198,63,.18);
}
[data-theme="earth"] {
  --bg: #ece2d0;
  --bg-2: #e0d2b8;
  --surface: #fbf5ea;
  --surface-2: #ebdfc8;
  --ink: #2a2419;
  --ink-soft: #6c6151;
  --ink-faint: #9a8c75;
  --brand: #6a7a36;
  --brand-deep: #46512a;
  --accent: #c8643c;
  --accent-deep: #a84d28;
  --soil: #8a5a3a;
  --line: rgba(42,36,25,.13);
  --line-strong: rgba(42,36,25,.24);
  --on-brand: #fbf5ea;
  --on-accent: #fbf5ea;
  --halo: rgba(200,100,60,.16);
}
[data-theme="forest"] {
  --bg: #122019;
  --bg-2: #0d1812;
  --surface: #1b2e22;
  --surface-2: #23402d;
  --ink: #eef4e6;
  --ink-soft: #a9bba0;
  --ink-faint: #7d9072;
  --brand: #7cc05a;
  --brand-deep: #5fa23e;
  --accent: #d2ec51;
  --accent-deep: #b6d23a;
  --soil: #cba980;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --on-brand: #0f1d13;
  --on-accent: #14250f;
  --halo: rgba(210,236,81,.14);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
[data-theme="forest"] .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* section heads */
.sec { padding: clamp(48px, 9vw, 96px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(28px, 6vw, 46px); margin: 14px 0 0; }
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: clamp(15px,2.4vw,18px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; border-radius: 999px; padding: 15px 26px;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  background: var(--brand); color: var(--on-brand);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 70%, transparent);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--surface); box-shadow: none; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* pill chip */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; }

/* card */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--brand-deep); color: var(--on-brand);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 9px; padding-bottom: 9px; text-align: center; flex-wrap: wrap; }
.topbar b { font-weight: 800; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 19px;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent);
}
.logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.logo .wordmark span { color: var(--brand); }
[data-theme="forest"] .logo .wordmark span { color: var(--accent); }
.logo small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.nav { display: none; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--brand); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px 10px 14px; font-weight: 700; font-size: 14px; color: var(--ink);
}
.cart-btn svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: var(--on-accent); border-radius: 999px;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--bg);
}
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(34px,6vw,72px) 0 clamp(40px,7vw,86px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 0%, var(--halo), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: clamp(28px,4vw,52px); grid-template-columns: 1fr; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 8.5vw, 68px); letter-spacing: -.03em; }
.hero-copy h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
[data-theme="forest"] .hero-copy h1 em { color: var(--accent); }
.no-hl .hero-copy h1 em::after { display: none; }
.hero-copy h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4%; height: 36%; z-index: -1;
  background: var(--accent); opacity: .28; border-radius: 4px;
}
.hero-copy .lead { margin-top: 20px; font-size: clamp(16px, 2.6vw, 20px); color: var(--ink-soft); max-width: 30em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4/3.5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  --slot-bg: var(--surface-2);
}
.hero-photo image-slot { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 13px 15px;
  display: flex; align-items: center; gap: 11px;
}
.hero-badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--halo); color: var(--brand); }
[data-theme="forest"] .hero-badge .ic { color: var(--accent); }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: 15px; font-family: var(--font-display); }
.hero-badge span { font-size: 12.5px; color: var(--ink-soft); }
.hero-badge.b1 { left: -10px; bottom: 26px; }
.hero-badge.b2 { right: -8px; top: 24px; }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; }
}

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-tile {
  position: relative; text-align: left; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; min-height: 150px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s; overflow: hidden;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cat-tile .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--halo); color: var(--brand); }
[data-theme="forest"] .cat-tile .ic { color: var(--accent); }
.cat-tile .ic svg { width: 26px; height: 26px; }
.cat-tile h3 { font-size: 18px; margin-top: auto; }
.cat-tile p { font-size: 13px; color: var(--ink-soft); }
.cat-tile .arrow { position: absolute; top: 16px; right: 16px; color: var(--ink-faint); transition: transform .2s, color .2s; }
.cat-tile:hover .arrow { transform: translate(3px,-3px); color: var(--brand); }
.cat-tile.wide { grid-column: span 2; flex-direction: row; align-items: center; min-height: 0; }
.cat-tile.wide h3 { margin-top: 0; }
.cat-tile.wide .txt { display: flex; flex-direction: column; gap: 3px; }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } .cat-tile.wide { grid-column: span 3; } }

/* ---------- Configurator ---------- */
.configurator { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.cfg-head { padding: clamp(22px,4vw,32px) clamp(22px,4vw,38px) 0; }
.cfg-progress { display: flex; gap: 7px; margin-top: 20px; }
.cfg-progress i { height: 6px; flex: 1; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.cfg-progress i b { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .4s cubic-bezier(.4,0,.1,1); }
.cfg-progress i.done b { width: 100%; }
.cfg-progress i.active b { width: 100%; }
.cfg-step { padding: clamp(20px,4vw,34px) clamp(22px,4vw,38px) clamp(24px,4vw,38px); }
.cfg-step .qn { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.cfg-step h3 { font-size: clamp(22px,4vw,30px); margin: 10px 0 4px; }
.cfg-step .sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.opt-grid { display: grid; gap: 11px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .opt-grid.two { grid-template-columns: 1fr 1fr; } }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 16px; transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover { border-color: var(--brand); }
.opt.sel { border-color: var(--brand); background: var(--halo); box-shadow: inset 0 0 0 1px var(--brand); }
.opt .oic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--brand); border: 1px solid var(--line); }
[data-theme="forest"] .opt .oic { color: var(--accent); }
.opt.sel .oic { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.opt .oic svg { width: 25px; height: 25px; }
.opt .otx b { display: block; font-size: 16px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.opt .otx span { font-size: 13px; color: var(--ink-soft); }
.opt .check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: .15s; }
.opt.sel .check { background: var(--brand); border-color: var(--brand); }
.opt .check svg { width: 13px; height: 13px; color: var(--on-brand); opacity: 0; transition: .15s; }
.opt.sel .check svg { opacity: 1; }
.cfg-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.cfg-back { background: none; border: none; color: var(--ink-soft); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 4px; }
.cfg-back:hover { color: var(--ink); }
.cfg-back[disabled] { opacity: 0; pointer-events: none; }

/* slider input */
.range-field { margin: 8px 0 6px; }
.range-field .val { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,7vw,52px); color: var(--brand); line-height: 1; }
[data-theme="forest"] .range-field .val { color: var(--accent); }
.range-field .val small { font-size: .42em; color: var(--ink-soft); font-weight: 700; margin-left: 6px; }
input[type=range].rng { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: var(--surface-2); margin-top: 20px; }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); border: 4px solid var(--surface); box-shadow: var(--shadow); cursor: grab; }
input[type=range].rng::-moz-range-thumb { width: 30px; height: 30px; border: 4px solid var(--surface); border-radius: 50%; background: var(--brand); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-top: 10px; font-weight: 600; }
.toggle-area { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-top: 6px; }
.toggle-area button { border: none; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.toggle-area button.on { background: var(--brand); color: var(--on-brand); }

/* result */
.cfg-result { padding: clamp(22px,4vw,34px) clamp(22px,4vw,38px) clamp(28px,4vw,40px); }
.result-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--halo); color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 8px 14px; border-radius: 999px; }
[data-theme="forest"] .result-flag { color: var(--accent); }
.result-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 720px) { .result-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.rec-main { display: flex; gap: 16px; padding: 18px; border: 1.5px solid var(--brand); border-radius: var(--radius); background: var(--bg); position: relative; }
.rec-main .ribbon { position: absolute; top: -11px; left: 18px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.rec-thumb { width: 96px; height: 96px; flex: none; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.rec-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
[data-theme="forest"] .rec-thumb img { mix-blend-mode: normal; }
.rec-info { flex: 1; min-width: 0; }
.rec-info h4 { font-size: 18px; }
.rec-info .why { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.rec-price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.rec-price b { font-family: var(--font-display); font-size: 22px; }
.rec-price s { color: var(--ink-faint); font-size: 14px; }
.rec-side { display: flex; flex-direction: column; gap: 12px; }
.rec-addon { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.rec-addon .rec-thumb { width: 58px; height: 58px; border-radius: 11px; }
.rec-addon b { font-size: 14px; font-family: var(--font-display); }
.rec-addon span { font-size: 12px; color: var(--ink-soft); }
.rec-addon .pr { margin-left: auto; font-weight: 800; font-size: 14px; white-space: nowrap; }
.set-summary { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--brand-deep); color: var(--on-brand); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.set-summary .st { flex: 1; min-width: 180px; }
.set-summary .st span { font-size: 13px; opacity: .82; }
.set-summary .st b { display: block; font-family: var(--font-display); font-size: 26px; margin-top: 2px; }
.set-summary .st b s { font-size: 15px; opacity: .6; font-weight: 600; margin-left: 8px; }
.cfg-restart { background: none; border: none; color: var(--ink-soft); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-top: 16px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
@media (min-width: 820px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-in { background: var(--surface); padding: clamp(24px,4vw,38px); }
.calc-out { background: var(--brand-deep); color: var(--on-brand); padding: clamp(24px,4vw,38px); display: flex; flex-direction: column; }
.calc-label { font-weight: 700; font-size: 14px; margin-bottom: 12px; display: block; }
.calc-field { position: relative; margin-bottom: 22px; }
.calc-field input[type=number] {
  width: 100%; font-family: var(--font-display); font-weight: 800; font-size: 38px;
  border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius-sm);
  padding: 16px 70px 16px 18px; color: var(--ink); -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-field input:focus { outline: none; border-color: var(--brand); }
.calc-field .unit { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-faint); font-size: 16px; }
.calc-out .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(46px,10vw,72px); line-height: .95; }
.calc-out .big small { font-size: .35em; opacity: .8; margin-left: 8px; }
.calc-out .muted { opacity: .8; font-size: 14px; margin-top: 4px; }
.calc-pack { margin-top: auto; padding-top: 22px; }
.pack-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.pack-row .pk-thumb { width: 50px; height: 50px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; overflow: hidden; flex: none; }
.pack-row .pk-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pack-row b { font-size: 15px; font-family: var(--font-display); }
.pack-row span { font-size: 12.5px; opacity: .8; }
.pack-row .qty { margin-left: auto; text-align: right; }
.pack-row .qty b { font-size: 17px; }

/* ---------- Comparison (sprinter vs maraton) ---------- */
.vs-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vs-grid { grid-template-columns: 1fr 1fr; } }
.vs-card { border-radius: var(--radius-lg); padding: clamp(22px,3.5vw,32px); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vs-card.mineral { background: var(--surface); }
.vs-card.organic { background: var(--brand-deep); color: var(--on-brand); border-color: var(--brand-deep); }
.vs-card .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.vs-card.mineral .tag { background: var(--surface-2); color: var(--ink-soft); }
.vs-card.organic .tag { background: rgba(255,255,255,.15); color: var(--on-brand); }
.vs-card h3 { font-size: clamp(24px,4vw,32px); margin: 16px 0 4px; }
.vs-card .meta { font-size: 14px; opacity: .85; }
.vs-card.mineral .meta { color: var(--ink-soft); }
.vs-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 13px; }
.vs-list li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.vs-list li svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.vs-card.mineral .vs-list li svg { color: var(--soil); }
.vs-card.organic .vs-list li svg { color: var(--accent); }
.vs-runner { position: absolute; right: -10px; top: -10px; font-size: 88px; opacity: .12; line-height: 1; }
.vs-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid; font-size: 13.5px; }
.vs-card.mineral .vs-foot { border-color: var(--line); color: var(--ink-soft); }
.vs-card.organic .vs-foot { border-color: rgba(255,255,255,.16); opacity: .9; }

/* ---------- Calendar ---------- */
.cal-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.cal-tabs button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 15px; color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; transition: .15s; }
.cal-tabs button.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.cal-track { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cal-track { grid-template-columns: repeat(3,1fr); } }
.cal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.cal-card .mon { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
[data-theme="forest"] .cal-card .mon { color: var(--accent); }
.cal-card h4 { font-size: 18px; }
.cal-card p { font-size: 13.5px; color: var(--ink-soft); }
.cal-card .prod-link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--brand); text-decoration: none; }
[data-theme="forest"] .cal-card .prod-link { color: var(--accent); }
.cal-card .prod-link:hover { gap: 11px; }
.cal-card .num { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--surface-2); }

/* ---------- Special cases ---------- */
.special-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .special-grid { grid-template-columns: 1fr 1fr; } }
.special-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.special-photo { aspect-ratio: 16/9; --slot-bg: var(--surface-2); position: relative; }
.special-photo image-slot { width: 100%; height: 100%; }
.special-photo .pin { position: absolute; left: 16px; top: 16px; z-index: 2; }
.special-body { padding: 22px clamp(20px,3vw,28px) 26px; }
.special-body h3 { font-size: clamp(20px,3vw,25px); }
.special-body p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.special-body .feat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- Trust / reviews ---------- */
.trust-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 38px; }
@media (min-width: 720px) { .trust-stats { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,5vw,42px); color: var(--brand); }
[data-theme="forest"] .stat b { color: var(--accent); }
.stat span { font-size: 13.5px; color: var(--ink-soft); }
.review-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3,1fr); } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { display: flex; gap: 2px; color: var(--accent-deep); }
[data-theme="forest"] .review .stars { color: var(--accent); }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 14.5px; line-height: 1.55; }
.review .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--halo); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); flex: none; }
[data-theme="forest"] .review .av { color: var(--accent); }
.review .who b { font-size: 14px; display: block; }
.review .who span { font-size: 12px; color: var(--ink-faint); }

.badges-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.badge {
  display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 18px; font-weight: 700; font-size: 14px;
}
.badge svg { width: 24px; height: 24px; color: var(--brand); flex: none; }
[data-theme="forest"] .badge svg { color: var(--accent); }
.badge span { font-weight: 600; font-size: 12px; color: var(--ink-soft); display: block; }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--brand-deep); color: var(--on-brand); border-radius: var(--radius-lg); padding: clamp(34px,6vw,64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, var(--halo), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px,6vw,48px); }
.cta-band p { max-width: 32em; margin: 16px auto 0; opacity: .9; font-size: clamp(15px,2.4vw,18px); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer.site { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(40px,6vw,64px) 0 32px; margin-top: clamp(40px,7vw,90px); }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-col h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; font-family: var(--font-body); font-weight: 800; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }

/* ---------- Cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(15,25,15,.45); backdrop-filter: blur(3px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--bg); z-index: 100; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.1,1); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.drawer-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-empty { text-align: center; color: var(--ink-faint); padding: 60px 20px; }
.drawer-empty svg { width: 54px; height: 54px; margin-bottom: 14px; opacity: .5; }
.line-item { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item .li-thumb { width: 60px; height: 60px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; flex: none; display: grid; place-items: center; }
.line-item .li-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
[data-theme="forest"] .line-item .li-thumb img { mix-blend-mode: normal; }
.line-item .li-info { flex: 1; min-width: 0; }
.line-item .li-info b { font-size: 14px; font-family: var(--font-display); display: block; }
.line-item .li-info .li-price { font-weight: 700; font-size: 14px; margin-top: 3px; }
.qty-ctl { display: inline-flex; align-items: center; gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--surface); }
.qty-ctl button { width: 28px; height: 28px; border: none; background: none; font-size: 16px; font-weight: 800; color: var(--ink); display: grid; place-items: center; }
.qty-ctl span { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }
.li-remove { background: none; border: none; color: var(--ink-faint); font-size: 12px; text-decoration: underline; margin-top: 6px; padding: 0; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer-foot .ship-bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 6px 0 8px; }
.drawer-foot .ship-bar b { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.drawer-foot .ship-note { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 14px; }
.drawer-foot .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.drawer-foot .total b { font-family: var(--font-display); font-size: 26px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 120; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: .28s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--accent); }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* misc */
.section-divider { height: 1px; background: var(--line); max-width: var(--maxw); margin: 0 auto; }
.center { text-align: center; }
.mt-cta { margin-top: 30px; display: flex; justify-content: center; }


/* === Image slots (production) ===
   Aby wstawić realne zdjęcie — odkomentuj/edytuj odpowiednią regułę poniżej
   i wskaż URL pliku (najlepiej WebP w katalogu /img/).
*/
.img-slot{
  position:absolute; inset:0; width:100%; height:100%;
  border-radius: inherit;
  background-color: var(--surface-2);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-faint); font-size: 13px; font-weight: 700;
  text-align:center; padding: 18px; overflow:hidden;
  letter-spacing: .01em;
}
.img-slot-ph{ opacity:.9; max-width: 80%; line-height:1.35; }
.hero-illustration{
  position:absolute; inset:0; width:100%; height:100%;
  display:block; border-radius: inherit;
}
/* Gdy w slocie jest ilustracja SVG, ukryj tekstowy placeholder */
.img-slot:has(.hero-illustration) .img-slot-ph{ display:none; }

/* Domyślne tła (ładne gradienty) — zostają widoczne, dopóki nie podasz zdjęcia */
.img-slot--hero-main{
  background-image:
    radial-gradient(120% 90% at 70% 30%, rgba(140,198,63,.45), transparent 60%),
    linear-gradient(135deg, #2f6b3c 0%, #1d4727 100%);
  color: var(--on-brand);
}
.img-slot--special-robot{
  background-image:
    radial-gradient(80% 60% at 30% 70%, rgba(140,198,63,.35), transparent 60%),
    linear-gradient(135deg, #1d4727 0%, #2f6b3c 60%, #5f9a2c 100%);
  color: var(--on-brand);
}
.img-slot--special-pets{
  background-image:
    radial-gradient(80% 60% at 70% 30%, rgba(247,243,232,.25), transparent 60%),
    linear-gradient(135deg, #5f9a2c 0%, #2f6b3c 70%