/*
Theme Name: Plant & Fun
Theme URI: https://plantandfun.com
Author: Weboski
Author URI: https://weboski.pl
Description: Motyw WooCommerce dla Plant&Fun – drewniane warzywniaki balkonowe. Zbudowany na blokach ACF, 1:1 z projektem front-endu.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.7
Text Domain: plantandfun
*/

/* ------------------------------------------------------------------
   PLANT&FUN — wyciągnięte 1:1 z front_temp/plantandfun-home.html,
   plantandfun-product.html, plantandfun-cart.html.
   Style specyficzne dla WooCommerce (PDP/archiwum/koszyk/kasa/konto)
   są w assets/css/woocommerce.css. Nowe style spoza mockupów są w
   assets/css/custom.css (mobile-first, 1 breakpoint 992px).
   Nazwy zmiennych CSS zachowane 1:1 z oryginału (bez renamingu).
   ------------------------------------------------------------------ */
:root {
  --bg:           #ffffff;
  --bg-soft:      #f5f5f7;
  --bg-mute:      #fafafa;
  --cream:        #f7f3eb;
  --cream-deep:   #efe9dc;
  --sage:         #e7ede1;
  --sage-mid:     #c9d5bf;
  --ink:          #1d1d1f;
  --ink-soft:     #424245;
  --ink-mute:     #6e6e73;
  --line:         #d2d2d7;
  --line-soft:    #e8e8ed;
  --line-warm:    #e3ddcf;
  --green:        #2f6f3f;
  --green-deep:   #1a3a25;
  --green-darker: #0f2517;
  --green-soft:   #e8f1ea;
  --green-bright: #8bbf6f;
  --brand-orange: #c96f3a;
  --brand-orange-deep: #a8542a;
  --brand-orange-soft: #f0d8c6;
  --accent:       #0071e3;
  --radius:       18px;
  --radius-lg:    28px;
  --max:          1240px;
  --shadow-1:     0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-2:     0 4px 16px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.08);
  --shadow-green: 0 20px 60px rgba(31, 74, 42, .15);
  --ease:         cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* overflow-x: hidden na html/body robi z nich kontener przewijania, co ZABIJA
   position: sticky w headerze (sprawdzone na oryginalnym makiecie - nagłówek
   odjeżdżał razem ze stroną). "clip" przycina tak samo, ale nie tworzy
   kontenera przewijania, więc sticky działa. "hidden" zostaje jako fallback
   dla starszych przeglądarek bez wsparcia dla clip. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  font-display: swap;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--green); color: #fff; }

/* ---------- Typography (stylowanie kontekstowe, bez klas na h1-h6/p) ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-deep);
}
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; font-weight: 700; }
.h-display { font-size: clamp(44px, 8vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.h-section { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.h-sub     { font-size: clamp(20px, 2vw, 24px); font-weight: 400; color: var(--ink-mute); line-height: 1.4; letter-spacing: -0.01em; }
.lead      { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); line-height: 1.55; max-width: 64ch; }
.small     { font-size: 14px; color: var(--ink-mute); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
section { padding: clamp(80px, 11vw, 160px) 0; }
.center { text-align: center; }
.pad-tight { padding: clamp(56px, 8vw, 110px) 0; }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.section-relative { position: relative; overflow: hidden; }
.section-relative > .wrap { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
/* Zalogowany admin: pasek WP jest fixed na top:0, więc sticky header
   musi zaczynać się pod nim, inaczej chowa się za paskiem. */
body.admin-bar .nav-wrap { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav-wrap { top: 46px; }
}
/* Pasek WP na mobile przestaje być fixed przy przewijaniu - wtedy header
   ma trzymać się samej góry. */
@media (max-width: 600px) {
  body.admin-bar .nav-wrap { top: 0; }
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.brand { display: inline-flex; align-items: center; height: 32px; }
.brand img { height: 28px; width: auto; display: block; }
.nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav ul a { font-size: 13px; color: var(--ink); opacity: .82; transition: opacity .2s var(--ease); }
.nav ul a:hover { opacity: 1; }
.nav ul a.nav-link--shop { color: var(--brand-orange); opacity: 1; font-weight: 600; }
.nav ul a.nav-link--shop:hover { color: var(--brand-orange-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 12px; color: var(--ink-mute); }
.lang span { padding: 2px 6px; border-radius: 4px; }
.lang .on { background: var(--bg-soft); color: var(--ink); }
.lang a { color: inherit; text-decoration: none; }

.cart-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-soft);
  transition: background .2s var(--ease);
}
.cart-icon:hover { background: var(--sage); }
.cart-icon .badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--brand-orange); color: #fff;
  font-size: 11px; font-weight: 600;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile menu (hamburger + drawer) ---------- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.menu-toggle:hover { background: var(--bg-soft); }
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: absolute; left: 0;
  transition: transform .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 49;
  padding: 32px 24px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
  overflow-y: auto;
}
body.admin-bar .mobile-drawer { top: 92px; }
@media (max-width: 782px) { body.admin-bar .mobile-drawer { top: 106px; } }
@media (max-width: 600px) { body.admin-bar .mobile-drawer { top: 60px; } }
body.menu-open .mobile-drawer { display: block; opacity: 1; transform: none; pointer-events: auto; }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer ul a {
  display: block; padding: 16px 8px; font-size: 18px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--line-soft); letter-spacing: -0.01em;
}
.mobile-drawer ul a.nav-link--shop { color: var(--brand-orange); font-weight: 600; }
.mobile-drawer .drawer-lang { margin-top: 24px; font-size: 13px; color: var(--ink-mute); }

@media (max-width: 960px) {
  .nav ul { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .lang { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 500;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn-dark { background: var(--brand-orange); color: #fff; }
.btn-dark:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }
.btn-primary { background: var(--brand-orange); color: #fff; border: 0; }
.btn-primary:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }
.btn-secondary { background: var(--ink); color: #fff; border: 0; }
.btn-secondary:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-link { color: var(--accent); font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.btn-link:hover { text-decoration: underline; }

/* ---------- Hero (home) ---------- */
.hero {
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(139,191,111,.18) 0%, transparent 70%),
    linear-gradient(180deg, #fbfaf6 0%, #eaefe4 100%);
  overflow: hidden;
  position: relative;
}
.hero .eyebrow { color: var(--green-deep); margin-bottom: 22px; }
.hero-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.hero-logo img { height: 32px; width: auto; }
.hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 28px; flex-wrap: wrap;
  color: var(--ink-mute); font-size: 14px;
}
.hero-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta__item svg { color: var(--brand-orange); }
.hero-meta__sep { opacity: .4; }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.hero p.h-sub { max-width: 56ch; margin: 22px auto 0; }
.hero-actions { margin-top: 36px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-stage {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 1080px;
  padding: 0 clamp(16px, 3vw, 32px);
  position: relative;
}
.hero-stage img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  transition: opacity .25s var(--ease);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.color-toggle { display: flex; justify-content: center; gap: 14px; margin-top: 32px; position: relative; z-index: 2; }
.color-swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid transparent; padding: 3px; cursor: pointer;
  background: transparent;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.color-swatch span {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
}
.color-swatch.cream span { background: #efe1c9; }
.color-swatch.dark span  { background: #1d1d1f; border-color: rgba(255,255,255,.18); }
.color-swatch.active { border-color: var(--ink); }
.color-swatch:hover { transform: scale(1.08); }

/* Botanical ornaments — subtelne, dekoracyjne, w tle.
   Pozycja/rozmiar/opacity przychodzą z inline-style (patrz
   plantandfun_ornament() w inc/template-functions.php), tutaj tylko
   bezpieczne wartości domyślne, żeby nic się nie rozjechało, gdy
   któryś ornament nie dostanie własnego rozmiaru. */
.ornament { position: absolute; pointer-events: none; user-select: none; opacity: 0.5; z-index: 0; }
svg.ornament { width: 100px; aspect-ratio: 1; }
img.ornament { width: 100px; height: auto; }
.hero .wrap, .hero .hero-stage { position: relative; z-index: 1; }

/* Wgrany sygnet (plik marki) — stonowanie do znaku wodnego. */
img.ornament--sygnet { filter: grayscale(1) opacity(0.9); mix-blend-mode: multiply; }
/* Wbudowany fallback sygnetu rysuje się currentColor, więc potrzebuje tintu. */
svg.ornament--sygnet { color: var(--green-deep); }

/* Ornamenty to czysta dekoracja — na małych ekranach tylko przeszkadzają. */
@media (max-width: 640px) {
  .ornament { display: none; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; padding: 0 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 8px; font-size: 13px; }
  .hero-meta__sep { display: none; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--line-warm);
  border-bottom: 1px solid var(--line-warm);
  padding: 28px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item__icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-deep); border: 1px solid var(--line-warm);
}
.trust-item__text { display: flex; flex-direction: column; }
.trust-item__title { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.trust-item__sub   { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 540px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ("Jak to działa") ---------- */
.steps-section { background: var(--cream); position: relative; overflow: hidden; }
.steps-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.steps-head h2 span { color: var(--green); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 32px;
  min-height: 260px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--line-warm);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--sage-mid); }
.step .num { font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: 0.08em; margin-bottom: 18px; }
.step h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.02em; font-weight: 600; }
.step p { font-size: 15px; color: var(--ink-mute); margin: 0; line-height: 1.5; }
.step .icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--green-deep);
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 22px; min-height: auto; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 14px; }
}

/* ---------- Media i tekst (+ wariant "showcase" ciemny) ---------- */
.media-text { position: relative; }

/* Opcjonalny nagłówek sekcji nad blokiem (jak "Co nas wyróżnia." w projekcie). */
.media-text__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.media-text__head h2 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.media-text__head p { font-size: clamp(20px, 2vw, 24px); font-weight: 400; color: var(--ink-mute); line-height: 1.4; letter-spacing: -0.01em; margin: 18px 0 0; }

.media-text .media-text__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
/* Kolejność w DOM to [tekst][media], czyli domyślnie obraz jest PO PRAWEJ.
   Wariant "obraz po lewej" przestawiamy przez order (nie direction: rtl,
   bo tamto odwracało też układ wewnątrz kolumn). */
.media-text.is-left .media-text__text { order: 2; }
.media-text.is-left .media-text__media { order: 1; }

/* h2 przychodzi z edytora WYSIWYG (bez klas), więc rozmiar nadajemy
   kontekstowo - inaczej spada do domyślnych ~24px zamiast wielkości
   nagłówka sekcji z projektu (.h-section). */
.media-text__text h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.media-text__text h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.media-text__text p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; }
.media-text__text p strong { color: var(--ink); font-weight: 600; }
.media-text__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage); }
.media-text__media img { width: 100%; height: 100%; object-fit: cover; }
/* "Na zewnątrz containera" = blok wychodzi poza siatkę 1240px na pełną szerokość. */
.media-text.is-outside > .wrap { max-width: none; padding: 0; }

/* Wariant showcase: ciemne tło, lista punktów z checkmarkiem.
   UWAGA: tło/zaokrąglenie siedzą na .media-text__grid (wewnątrz .wrap),
   NIE na <section> - inaczej box rozlewa się na pełną szerokość ekranu
   zamiast trzymać container, tak jak .showcase w projekcie. */
/* Sekcja zachowuje bazowy padding (jak zwykły <section> w projekcie) -
   oprawa boksu siedzi na .media-text__grid, więc tło sekcji ma być puste. */
.media-text.is-showcase { background: none; }
.media-text.is-showcase .media-text__grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-darker) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-green);
  color: #fff;
  position: relative;
  margin: clamp(40px, 5vw, 64px) 0;
}
.media-text.is-showcase .media-text__text {
  padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1;
}
.media-text.is-showcase .media-text__text h2 { font-size: clamp(28px, 3.5vw, 44px); color: #fff; }
.media-text.is-showcase .media-text__text p { color: rgba(255,255,255,.78); font-size: 17px; }
/* Eyebrow w ciemnym boksie musi być jasny - domyślny green-deep byłby niewidoczny. */
.media-text.is-showcase .media-text__text .eyebrow { color: var(--green-bright); }
.media-text__checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.media-text__checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,.88); }
.media-text__checklist li svg { flex: 0 0 20px; margin-top: 2px; color: var(--green-bright); }
.media-text.is-showcase .media-text__media {
  aspect-ratio: auto; display: flex; align-items: center; justify-content: center; min-height: 420px; position: relative; border-radius: 0;
}
.media-text.is-showcase .media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.media-text.is-showcase .media-text__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, transparent 0%, transparent 70%, rgba(15,37,23,.3) 100%);
  pointer-events: none;
}
@media (max-width: 960px) {
  .media-text .media-text__grid { grid-template-columns: 1fr; }
  .media-text.is-left .media-text__text,
  .media-text.is-left .media-text__media { order: 0; }
  .media-text.is-showcase .media-text__media { min-height: 320px; order: -1; }
}
@media (max-width: 640px) { .media-text.is-showcase .media-text__text { padding: 32px 24px; } }

/* ---------- Garden cards ("Ogród. Zieleń. Miasto.") ---------- */
.garden-section { background: linear-gradient(180deg, var(--cream) 0%, #f0ebde 100%); position: relative; overflow: hidden; }
.garden-head { margin-bottom: clamp(40px, 6vw, 64px); }
.garden-head h2 { letter-spacing: -0.035em; }
.garden-head h2 .dot { color: var(--green); }
.garden-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.garden-card { display: flex; flex-direction: column; gap: 22px; transition: transform .4s var(--ease); }
.garden-card:hover { transform: translateY(-4px); }
.garden-card .media {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #fff;
  box-shadow: 0 10px 30px rgba(31,74,42,.08), 0 2px 6px rgba(0,0,0,.04);
}
.garden-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.garden-card:hover .media img { transform: scale(1.04); }
.garden-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; padding: 0 4px; }
.garden-card p strong { color: var(--ink); font-weight: 600; }
.garden-nav { display: flex; gap: 12px; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
.garden-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-warm);
  background: rgba(255,255,255,.7); color: var(--ink-mute); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.garden-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.garden-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 960px) { .garden-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .garden-grid { grid-template-columns: 1fr; } .garden-card p { font-size: 13px; } }

/* ---------- Product slider (upsell-card) ---------- */
.upsell-section { padding: clamp(80px, 11vw, 140px) 0; position: relative; background: linear-gradient(180deg, #fbfaf6 0%, #f4efe2 100%); }
.upsell-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); flex-wrap: wrap; }
.upsell-head-text { max-width: 640px; }
.upsell-head .eyebrow { margin-bottom: 14px; }
.upsell-head h2 { font-size: clamp(32px, 4.5vw, 52px); }
.upsell-head p { color: var(--ink-mute); font-size: 17px; line-height: 1.55; margin: 16px 0 0; max-width: 60ch; }
.upsell-nav { display: flex; gap: 10px; }
.upsell-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-warm);
  background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.upsell-nav button:disabled { opacity: .30; cursor: default; }
.upsell-nav button:not(:disabled):hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.upsell-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.upsell-track-wrap { overflow: hidden; position: relative; margin: 0 -8px; padding: 8px; }
.upsell-track { display: flex; gap: 20px; transition: transform .55s var(--ease); will-change: transform; }
.upsell-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background: #ffffff; border: 1px solid var(--line-warm); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.upsell-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.upsell-card__image { aspect-ratio: 4 / 3; background: var(--sage); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.upsell-card__image img,
.upsell-card__image svg.product-art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.upsell-card:hover .upsell-card__image img,
.upsell-card:hover .upsell-card__image svg.product-art { transform: scale(1.04); }
.upsell-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--green-deep); padding: 6px 10px; border-radius: 980px;
}
.upsell-card__badge--orange { background: var(--brand-orange) !important; color: #fff !important; }
.upsell-card__body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.upsell-card__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink); }
.upsell-card__desc { font-size: 14px; line-height: 1.5; color: var(--ink-mute); margin: 0 0 16px; flex: 1; }
.upsell-card__variant { font-size: 12px; color: var(--ink-mute); margin-bottom: 6px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 500; }
.upsell-card__price { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); }
.upsell-card__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.upsell-card__cta {
  flex: 1; min-width: 130px; background: var(--green-deep); color: #fff; border: 0;
  padding: 11px 16px; border-radius: 980px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all .25s var(--ease);
}
.upsell-card__cta:hover { background: var(--green); transform: translateY(-1px); }
.upsell-card__cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.upsell-card__cta:active { transform: translateY(0); }
.upsell-card__cta:disabled { opacity: .7; cursor: default; }
@keyframes upsellPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } 50% { box-shadow: 0 0 0 4px rgba(47,111,63,.14); } }
.upsell-card__cta:not(:disabled):focus-visible,
.upsell-card:hover .upsell-card__cta { animation: upsellPulse 1.6s var(--ease) infinite; }
.upsell-card__link { font-size: 13px; color: var(--accent); text-decoration: none; }
.upsell-card__link:hover { text-decoration: underline; }

.upsell-dots { display: none; justify-content: center; gap: 8px; margin-top: 28px; }
.upsell-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--sage-mid); cursor: pointer; transition: all .3s var(--ease); }
.upsell-dots button.active { background: var(--green-deep); width: 24px; border-radius: 4px; }

.upsell-header-media { margin: 0 0 32px; }
.upsell-header-media img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.upsell-header-media figcaption { margin-top: 10px; text-align: left; font-size: 13px; color: var(--ink-mute); }
@media (max-width: 640px) {
  .upsell-header-media img { aspect-ratio: 4 / 3; }
}

.upsell-empty {
  background: var(--sage);
  border: 1px solid var(--sage-mid);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 56px) 24px;
  text-align: center;
}
.upsell-empty__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-warm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-deep);
  margin: 0 auto 18px;
}
.upsell-empty h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--ink); }
.upsell-empty p { font-size: 14px; color: var(--ink-mute); margin: 0 0 14px; }
.upsell-empty a { font-size: 14px; color: var(--accent); font-weight: 500; text-decoration: none; }
.upsell-empty a:hover { text-decoration: underline; }

/* Tła SVG ilustracji produktów (miękkie gradienty per indeks) */
.upsell-card__image[data-tint="1"] { background: linear-gradient(135deg, #e7ede1, #c9d5bf); }
.upsell-card__image[data-tint="2"] { background: linear-gradient(135deg, #f3ead8, #e8d8b0); }
.upsell-card__image[data-tint="3"] { background: linear-gradient(135deg, #e0ebd9, #b8cba3); }
.upsell-card__image[data-tint="4"] { background: linear-gradient(135deg, #f0e5d2, #d9c79e); }
.upsell-card__image[data-tint="5"] { background: linear-gradient(135deg, #edd8c9, #d4ad8e); }
.upsell-card__image[data-tint="6"] { background: linear-gradient(135deg, #dde8de, #a8c1aa); }
.upsell-card__image .product-art { width: 60%; height: 60%; color: #1a3a25; opacity: .85; }

/* Wariant kart — packshot (zdjęcie produktu na białym tle, np. Warzywniak) */
.upsell-card__image--packshot { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line-soft); padding: 24px; }
.upsell-card__image--packshot img { width: 88%; height: auto; object-fit: contain; margin: 0 auto; transition: transform .8s var(--ease); }
.upsell-card--variant:hover .upsell-card__image--packshot img { transform: scale(1.05); }

@media (max-width: 1120px) { .upsell-card { flex: 0 0 calc((100% - 40px) / 3); } }
@media (max-width: 880px) {
  .upsell-card { flex: 0 0 calc((100% - 20px) / 2); }
  .upsell-nav { display: none; }
  .upsell-dots { display: flex; }
  .upsell-head { align-items: flex-start; }
}
@media (max-width: 540px) {
  .upsell-card { flex: 0 0 100%; }
  .upsell-head { flex-direction: column; align-items: flex-start; }
  .upsell-head h2 { font-size: 30px; }
}

/* ---------- Bundle CTA ---------- */
.bundle-section, .bundle { padding: clamp(60px, 8vw, 100px) 0; background: var(--cream); }
.bundle-box { background: #ffffff; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); text-align: center; border: 1px solid var(--line-warm); position: relative; }
.bundle-box .eyebrow { margin-bottom: 18px; display: inline-block; }
.bundle-box h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; color: var(--ink); }
.bundle-box p { color: var(--ink-mute); max-width: 56ch; margin: 0 auto 28px; font-size: 17px; line-height: 1.55; }
.bundle-steps { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 auto 32px; max-width: 720px; }
.bundle-steps .chip {
  background: var(--green-soft); color: var(--green-deep); border: 1px solid transparent;
  padding: 10px 18px; border-radius: 980px; font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.bundle-steps .chip svg { width: 16px; height: 16px; }
.bundle-steps .plus-sep { color: var(--ink-mute); font-weight: 300; font-size: 18px; }
.bundle-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Projekt odwraca kolory tej sekcji zależnie od strony:
   - strona główna: sekcja kremowa + boks biały (wartości domyślne wyżej),
   - karta produktu: sekcja biała + boks kremowy.
   Gdy ustawisz "Tło sekcji: Białe", boks przechodzi w krem, żeby nie zlał się z tłem. */
.bundle-section.bg-white .bundle-box,
.bundle-section.bg-none .bundle-box { background: var(--cream); }
@media (max-width: 640px) {
  .bundle-box { padding: 32px 24px; }
  .bundle-steps { gap: 8px; }
  .bundle-steps .chip { padding: 8px 14px; font-size: 13px; }
  .bundle-steps .plus-sep { display: none; }
  .bundle-actions .btn { width: 100%; }
}

/* ---------- Opinie (reviews) ---------- */
.opinie-section { padding: clamp(80px, 11vw, 140px) 0; background: #fff; position: relative; }
.opinie-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.opinie-head .rating-summary {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 22px;
  background: var(--cream); border-radius: 980px; border: 1px solid var(--line-warm);
}
.opinie-head .stars { color: var(--brand-orange); letter-spacing: 2px; font-size: 16px; }
.opinie-head .rating-number { font-weight: 600; font-size: 17px; color: var(--ink); }
.opinie-head .rating-count { color: var(--ink-mute); font-size: 14px; }
.opinie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opinia-card { background: var(--cream); border: 1px solid var(--line-warm); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.opinia-card .stars { color: var(--brand-orange); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.opinia-card .quote { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.01em; flex: 1; }
.opinia-card .author { display: flex; align-items: center; gap: 12px; }
.opinia-card .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.opinia-card .name { font-size: 14px; font-weight: 600; color: var(--ink); }
.opinia-card .meta { font-size: 12px; color: var(--ink-mute); display: flex; align-items: center; gap: 6px; }
.opinia-card .verified { color: var(--green-deep); }
@media (max-width: 1080px) { .opinie-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 640px) {
  .opinie-grid { grid-template-columns: 1fr; gap: 14px; }
  .opinia-card { padding: 22px 20px; }
  .opinia-card .quote { font-size: 15px; }
  .opinia-card .stars { font-size: 14px; }
}
@media (max-width: 480px) {
  .opinie-head .rating-summary { padding: 10px 16px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .opinie-head .rating-summary .rating-count { font-size: 12px; }
}

/* ---------- FAQ ---------- */
/* Domyślnie bez tła (tak jak FAQ na stronie głównej w projekcie).
   Gradient bieli w kremowy z PDP ustawia się polem "Tło sekcji" -> fade-cream. */
.faq-section { background: none; }
.faq { max-width: 880px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 24px 4px; }
.faq details:first-of-type { border-top: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease); color: var(--ink-soft);
}
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .answer { margin-top: 14px; color: var(--ink-mute); font-size: 16px; line-height: 1.6; max-width: 72ch; }
.faq .answer strong { color: var(--ink); font-weight: 600; }

/* ---------- Newsletter ---------- */
/* Odstępy jak .pad-tight z projektu (tam newsletter siedzi w <section class="pad-tight">). */
.newsletter-section { padding: clamp(56px, 8vw, 110px) 0; }
.newsletter {
  background: linear-gradient(135deg, var(--sage) 0%, #d5e0c9 100%);
  color: var(--ink); border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 80px);
  text-align: center; max-width: var(--max); margin: 0 auto; border: 1px solid var(--sage-mid);
}
.newsletter h2 { color: var(--green-deep); font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
.newsletter p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 28px; font-size: 16px; }
.newsletter p strong, .newsletter strong { color: var(--green-deep) !important; }
.newsletter form { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 520px; margin: 0 auto; }
.newsletter__row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type="text"], .newsletter input[type="email"] {
  flex: 0 0 auto; background: #fff; border: 1px solid var(--sage-mid); color: var(--ink);
  border-radius: 980px; padding: 13px 20px; font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s var(--ease);
}
.newsletter__row input[type="email"] { flex: 1 1 200px; }
.newsletter input::placeholder { color: var(--ink-mute); }
.newsletter input:focus { border-color: var(--green-deep); }
.newsletter button {
  background: var(--brand-orange); color: #fff; border: 0; padding: 13px 28px; border-radius: 980px;
  font-weight: 500; font-size: 15px; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); font-family: inherit;
  flex: 0 0 auto;
}
.newsletter button:hover { background: var(--brand-orange-deep); transform: translateY(-1px); }
.newsletter .consent { display: flex; align-items: flex-start; gap: 10px; max-width: 520px; margin: 18px auto 0; font-size: 12px; color: var(--ink-mute); text-align: left; }
.newsletter .consent input { margin-top: 3px; }
.newsletter .form-msg { margin-top: 14px; font-size: 13px; }
.newsletter .form-msg.is-success { color: var(--green-deep); }
.newsletter .form-msg.is-error { color: var(--brand-orange-deep); }

/* Wariant z obrazem po lewej — dwukolumnowy, treść wyrównana do lewej */
.newsletter--media {
  display: flex; align-items: stretch; text-align: left; padding: 0; overflow: hidden;
}
.newsletter--media .newsletter__media { flex: 0 1 50%; min-width: 0; }
.newsletter--media .newsletter__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsletter--media .newsletter__content { flex: 0 1 50%; min-width: 0; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.newsletter--media h2 { font-size: clamp(22px, 2.6vw, 30px); }
.newsletter--media p { margin: 0 0 20px; max-width: none; }
.newsletter--media form,
.newsletter--media .consent { margin: 0 0 0; max-width: none; }
.newsletter--media form { margin-bottom: 14px; }

@media (max-width: 780px) {
  .newsletter--media { flex-direction: column; }
  .newsletter--media .newsletter__media { flex: 0 0 auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .newsletter { padding: 40px 24px; }
  .newsletter--media { padding: 0; }
  .newsletter h2 { font-size: 22px; }
  .newsletter__row { flex-direction: column; }
  .newsletter__row input[type="email"] { flex: 0 0 auto; }
  .newsletter button { width: 100%; }
  .newsletter--media .newsletter__content { padding: 28px 22px; }
}

/* ---------- Footer ---------- */
footer { padding: 48px 0 32px; background: var(--bg); border-top: 1px solid var(--line-soft); }
.footer-simple { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; align-items: start; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.footer-simple__brand img { height: 26px; margin-bottom: 12px; }
.footer-simple__brand p { color: var(--ink-mute); font-size: 14px; line-height: 1.55; margin: 0; max-width: 30ch; }
.footer-simple__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-simple__col h4 { font-size: 12px; font-weight: 600; margin: 0 0 8px; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-simple__col p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin: 0; }
.footer-simple__col a { color: var(--ink-mute); transition: color .2s var(--ease); }
.footer-simple__col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 0; border-top: 0; font-size: 13px; color: var(--ink-mute); flex-wrap: wrap; gap: 16px; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom li a { color: var(--ink-mute); transition: color .2s var(--ease); }
.footer-bottom li a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .footer-simple { grid-template-columns: 1fr; gap: 28px; }
  .footer-simple__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .footer-simple__cols { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA (strona główna / produkt) ---------- */
.sticky-cta { display: none; }
@media (max-width: 880px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line-warm); padding: 12px 16px; gap: 10px;
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
  }
  .sticky-cta .price { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
  .sticky-cta .price strong { font-size: 16px; letter-spacing: -0.01em; line-height: 1; }
  .sticky-cta .price small { font-size: 11px; color: var(--ink-mute); margin-top: 2px; }
  .sticky-cta a, .sticky-cta button {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-orange); color: #fff; padding: 12px 18px; border-radius: 980px;
    font-size: 14px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* ---------- Kafle cech (Apple-style, liczby/glify) ---------- */
.features { background: linear-gradient(180deg, #fbfaf6 0%, var(--cream) 100%); }
.features-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.features-head .eyebrow { color: var(--green-deep); }
.features-head h2 { color: var(--ink); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.features-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
.feature-card {
  background: #fff; border: 1px solid var(--line-warm); border-radius: 22px;
  padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between;
  text-align: center; color: var(--ink); min-height: 260px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(31,74,42,.08); border-color: var(--sage-mid); }
.feature-card__hero { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 0; min-height: 100px; }
.feature-card__hero .huge { font-size: 52px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.feature-card__hero .huge small { display: block; font-size: 18px; color: var(--ink-mute); font-weight: 500; margin-top: 8px; letter-spacing: -0.01em; }
.feature-card__hero .accent { color: var(--green-deep); }
.feature-card__hero .glyph { width: 88px; height: 88px; border-radius: 50%; background: var(--sage); display: inline-flex; align-items: center; justify-content: center; color: var(--green-deep); }
.feature-card h3 { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 8px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
}
@media (min-width: 992px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; }
  .feature-card { min-height: auto; padding: 36px 32px; }
  .feature-card__hero { min-height: 140px; padding: 20px 0; }
  .feature-card__hero .huge { font-size: clamp(48px, 6vw, 76px); }
}

/* ---------- Specyfikacja wariantów (rozmiar/kolor edukacyjnie) ---------- */
.variants { background: linear-gradient(180deg, var(--cream) 0%, #f0ebde 100%); }
.variants-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); max-width: 640px; margin-left: auto; margin-right: auto; }
.variants-head p { color: var(--ink-mute); font-size: 17px; line-height: 1.55; margin-top: 14px; }
.variants-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.variant-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line-warm); }
.variant-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.02em; }
.variant-card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.variant-card .row:last-child { border-bottom: 0; }
.variant-card .row .icon { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); display: inline-flex; align-items: center; justify-content: center; color: var(--green-deep); flex: 0 0 36px; }
.variant-card .row .name { font-size: 15px; font-weight: 500; color: var(--ink); }
.variant-card .row .meta { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.variants-note { text-align: center; margin-top: 28px; color: var(--ink-mute); font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; }
@media (min-width: 992px) {
  .variants-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tabela specyfikacji (collapsible) ---------- */
details.spec-collapsible {
  max-width: 920px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-warm);
  overflow: hidden;
}
details.spec-collapsible > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px clamp(24px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: background .2s var(--ease);
}
details.spec-collapsible > summary:hover { background: rgba(0,0,0,.02); }
details.spec-collapsible > summary::-webkit-details-marker { display: none; }
details.spec-collapsible > summary .chev {
  flex: 0 0 32px; width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
  color: var(--ink-soft);
  background: #fff;
}
details.spec-collapsible[open] > summary .chev { transform: rotate(180deg); background: var(--ink); color: #fff; border-color: var(--ink); }
details.spec-collapsible .spec-body {
  padding: 4px clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
details.spec-collapsible .spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  gap: 16px;
}
details.spec-collapsible .spec-row .spec-label { color: var(--ink-mute); }
details.spec-collapsible .spec-row .spec-value { color: var(--ink); font-weight: 500; text-align: right; }
@media (max-width: 720px) {
  details.spec-collapsible .spec-body { grid-template-columns: 1fr; }
}

/* ---------- Sekcja: tabela specyfikacji ---------- */
.spec { background: #fff; }
/* Nagłówek sekcji - w projekcie wyśrodkowany, z odstępem do rozwijanego panelu.
   Bez tego nagłówek lądował po lewej i przyklejał się do panelu. */
.spec-head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
/* "Doklejenie" do sekcji powyżej - bez górnego paddingu, żeby tabela
   wyglądała jak część poprzedniej sekcji (tak jest w projekcie: spec
   siedzi wewnątrz sekcji zamówienia, nie jako osobny blok). */
.spec.is-joined { padding-top: 0; }

/* ------------------------------------------------------------------
   MODYFIKATORY TŁA SEKCJI (pole ACF "Tło sekcji").
   Celowo na końcu arkusza - ta sama specyficzność co .upsell-section /
   .faq-section itd., więc muszą wygrać kolejnością w kaskadzie.
   Wartości 1:1 z inline-style'ami sekcji w front_temp.
   ------------------------------------------------------------------ */
.bg-none       { background: none; }
.bg-white      { background: #fff; }
.bg-sage       { background: linear-gradient(180deg, var(--sage) 0%, #dbe3d2 100%); }
.bg-cream      { background: linear-gradient(180deg, #fbfaf6 0%, var(--cream) 100%); }
.bg-cream-flat { background: var(--cream); }
.bg-cream-deep { background: linear-gradient(180deg, var(--cream) 0%, #f0ebde 100%); }
.bg-fade-cream { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }

/* ---------- Intro animations (fade-in/up/left/right — patrz assets/js/animations.js) ---------- */
.fade-in, .fade-up, .fade-left, .fade-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 600ms;
}
.fade-in { transform: translate3d(0, 0, 0); }
.fade-up { transform: translate3d(0, 32px, 0); }
.fade-left { transform: translate3d(-40px, 0, 0); }
.fade-right { transform: translate3d(40px, 0, 0); }
.fade-in.is-animated, .fade-up.is-animated, .fade-left.is-animated, .fade-right.is-animated {
  opacity: 1; transform: translate3d(0, 0, 0);
}
.fade-in[data-delay], .fade-up[data-delay], .fade-left[data-delay], .fade-right[data-delay] {
  transition-delay: var(--anim-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-up, .fade-left, .fade-right { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------
   LEGACY — obecne w oryginalnym CSS mockupów, ale nieużywane przez
   finalny markup front_temp (brak zastosowania w żadnym bloku).
   Zachowane 1:1 na wypadek przyszłego wykorzystania.
   ------------------------------------------------------------------ */
.hero-meta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; color: var(--ink-mute); font-size: 14px; }
.grow-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }
.grow-head h2 { font-size: clamp(36px, 5vw, 64px); }
.grow-head h2 .a { color: var(--ink); }
.grow-head h2 .b { color: var(--ink-mute); }
.grow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grow-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 4px 12px rgba(31,74,42,.06); }
.grow-card:hover { box-shadow: 0 12px 32px rgba(31,74,42,.12); transform: translateY(-4px); }
.grow-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.grow-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.grow-card:hover .media img { transform: scale(1.04); }
.grow-card .info { padding: 28px 28px 32px; }
.grow-card .info h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.grow-card .info p { font-size: 15px; color: var(--ink-mute); margin: 0; }
.products-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { background: #fff; border-radius: var(--radius-lg); padding: 32px 24px 28px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line-warm); position: relative; }
.product:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31,74,42,.10); border-color: var(--sage-mid); }
.product .ph { width: 100%; aspect-ratio: 1 / 1; background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.product .ph img { width: 88%; height: auto; object-fit: contain; }
.product h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.product .sub { font-size: 13px; color: var(--ink-mute); margin-bottom: 14px; }
.product .price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.product .btn { width: 100%; }
.product--featured { border-color: var(--brand-orange); box-shadow: 0 12px 32px rgba(201,111,58,.10); }
.product-badge { position: absolute; top: 14px; right: 14px; background: var(--brand-orange); color: #fff; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 10px; border-radius: 980px; z-index: 2; }
.spec-section { margin-top: clamp(40px, 5vw, 64px); padding: clamp(36px, 5vw, 56px); background: #fff; border: 1px solid var(--line-warm); border-radius: var(--radius-lg); }
.spec-section h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 24px; text-align: center; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 920px; margin: 0 auto; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; align-items: center; gap: 16px; }
.spec-row:nth-child(odd) { padding-right: 24px; }
.spec-row:nth-child(even) { padding-left: 24px; }
.spec-label { color: var(--ink-mute); }
.spec-value { color: var(--ink); font-weight: 500; text-align: right; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.footer p { color: var(--ink-mute); font-size: 14px; line-height: 1.6; max-width: 44ch; margin: 0 0 16px; }
.footer h4 { font-size: 13px; font-weight: 600; margin: 0 0 16px; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a, .footer li { font-size: 14px; color: var(--ink-mute); }
.footer li a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .grow { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
  .grow-card .info { padding: 22px; }
  .grow-card .info h3 { font-size: 20px; }
}
@media (max-width: 720px) {
  .spec-table { grid-template-columns: 1fr; }
  .spec-row { padding: 12px 0 !important; }
}
