/* =================================================================
   HERBATA Z CAŁEGO ŚWIATA — arkusz stylów
   Paleta i typografia inspirowane wnętrzem herbaciarni:
   miodowe ściany, orzechowe drewno, kremowy pergamin, zieleń liścia.
   ================================================================= */

/* ---------- Zmienne / tokeny projektowe ---------- */
:root {
  /* --- drewno i espresso: struktura, nie tylko akcent --- */
  --espresso:  #1e1206;
  --wood-900:  #2b1a0f;
  --wood-800:  #3a2417;
  --wood-700:  #5b3a22;
  --wood-600:  #6f4a2c;

  /* --- mosiądz i złoto: puszki, wagi, szyldy (zamiast pomarańczowego miodu) --- */
  --gold-800: #6f4a11;
  --gold-700: #8a5d15;
  --gold-600: #a8761f;
  --gold-500: #c2913a;
  --gold-400: #d7ab5c;
  --gold-300: #e6c88c;
  --gold-200: #f0dcb4;
  /* zgodność ze starszymi regułami */
  --honey-700: var(--gold-700);
  --honey-600: var(--gold-600);
  --honey-500: var(--gold-500);
  --honey-400: var(--gold-400);
  --honey-300: var(--gold-300);

  /* --- liść: stonowana, przygaszona zieleń suszu --- */
  --leaf-800: #26361f;
  --leaf-700: #35492b;
  --leaf-600: #46603a;
  --leaf-500: #5d7a4c;

  /* --- papier: ciepły, lekko przygaszony (nie „biały cukier”) --- */
  --cream-50:  #fdfaf3;
  --cream-100: #f8f2e6;
  --cream-200: #f1e7d5;
  --cream-300: #e6d8bd;

  --paper: #fdfaf3;
  --ink: #2b1a0f;
  --ink-soft: #6b5744;
  --ink-faint: #7d6a53;
  --line: #e2d4b8;
  --line-strong: #cdb98f;
  --clay: #9e3f2c;

  /* --- cienie: ciepłe i warstwowe, nie jeden szary rozmyty --- */
  --shadow-sm: 0 1px 2px rgba(43,26,15,.06), 0 2px 6px rgba(43,26,15,.05);
  --shadow-md: 0 2px 4px rgba(43,26,15,.05), 0 10px 24px rgba(43,26,15,.09);
  --shadow-lg: 0 4px 8px rgba(43,26,15,.07), 0 26px 56px rgba(43,26,15,.17);
  --shadow-gold: 0 8px 22px rgba(168,118,31,.26);

  /* --- promienie wg hierarchii: duże płaszczyzny, karty, drobiazgi --- */
  --r-xs: 5px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 20px;
  --r-pill: 999px;
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);

  --maxw: 1200px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 76px;

  /* faktura papieru — ziarno, nie deseń */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-100);
  line-height: 1.65;
  font-size: 17px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, nie hidden: „hidden" na body tworzy własny kontekst przewijania,
     przez co nagłówek z position: sticky przestaje się przyklejać i ikona
     koszyka znika przy zjeżdżaniu w dół. „clip" tnie tak samo w poziomie,
     ale sticky działa. */
  overflow-x: clip;
}
/* Starsze przeglądarki nie znają clip — tam wracamy do hidden,
   żeby strona nie przewijała się na boki. */
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}
/* ziarno papieru na całej stronie — ledwo widoczne, ale odbiera „plastik” */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1;
  background-image: var(--grain); background-size: 140px 140px;
  opacity: .035; pointer-events: none; mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold-300); color: var(--wood-900); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; border-radius: var(--r-xs); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Typografia ----------
   Fraunces ma zmienne osie: opsz (rozmiar optyczny), SOFT i WONK.
   Przy dużych stopniach dajemy większy opsz i odrobinę WONK — litery
   robią się miękkie i „rysowane”, jak na etykiecie puszki.            */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  color: var(--wood-900);
  font-variation-settings: "opsz" 72, "SOFT" 26, "WONK" 1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 5.6vw, 4.4rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.9rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); font-variation-settings: "opsz" 24, "SOFT" 20, "WONK" 0; letter-spacing: -.012em; }
h4 { font-size: 1.05rem; font-variation-settings: "opsz" 18, "SOFT" 18, "WONK" 0; }

/* Wyróżnienie w nagłówku — kursywa Fraunces, bez zmiany koloru na jedno słowo */
h1 em, h2 em { font-style: italic; font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 1; }

/* Nadtytuł: zamiast wersalików z rozstrzelonym trackingiem — kapitaliki
   w kolorze mosiądzu, zakotwiczone cienką linią. */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  font-variation-settings: "opsz" 14, "SOFT" 20, "WONK" 0;
  font-variant-caps: all-small-caps;
  letter-spacing: .07em;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-transform: none;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 64ch; line-height: 1.72; }
p { text-wrap: pretty; }

/* Liczby w cenach i statystykach — równej szerokości, żeby się nie „chwiały” */
.price, .cart-total b, .co-row b, .ord-total, .hero-trust .stat b { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin: 16px auto 0; }
/* ozdobny znak pod nagłówkiem sekcji — mosiężny listek zamiast zwykłej kreski */
.section-head::after {
  content: ""; display: block; width: 42px; height: 1px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: .005em;
  transition: box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
/* Główne CTA: mosiądz z cieplejszym górnym światłem i ciemniejszą krawędzią */
.btn--primary {
  background: linear-gradient(178deg, #9c6c1c, #7a5112);
  color: #fff;
  border: 1px solid var(--gold-800);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.28);
  text-shadow: 0 1px 1px rgba(90,58,10,.35);
}
.btn--primary:hover {
  background: linear-gradient(178deg, #9c6c1c, #8a5d15);
  box-shadow: 0 10px 28px rgba(168,118,31,.34), inset 0 1px 0 rgba(255,255,255,.36);
}
.btn--primary:active { box-shadow: inset 0 2px 6px rgba(90,58,10,.35); }
.btn--ghost {
  background: transparent; color: var(--wood-800);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--wood-900); color: var(--cream-50); border-color: var(--wood-900); }
.btn--leaf { background: var(--leaf-700); color: #fff; border: 1px solid var(--leaf-800); }
.btn--leaf:hover { background: var(--leaf-800); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .89rem; }

/* =================================================================
   NAGŁÓWEK
   ================================================================= */
.topbar {
  background: linear-gradient(180deg, var(--wood-900), var(--espresso));
  color: var(--cream-200);
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar a:hover { color: var(--honey-400); }
.topbar .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar .stars { color: var(--honey-400); font-weight: 800; }
/* Ikony w pasku górnym — mały, stały rozmiar i wyrównanie do tekstu */
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--honey-400); }

/* Przyklejamy KONTENER, do którego skrypt wstawia nagłówek. Gdy sticky
   siedziało na samym nagłówku, przewijało się razem ze stroną: element
   przyklejony może trzymać się tylko w granicach swojego rodzica, a ten
   kontener jest wysoki dokładnie na nagłówek. */
#site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header {
  z-index: 60;
  background: rgba(253, 250, 243, .93);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.7), 0 10px 30px -22px rgba(43,26,15,.5);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--honey-400), var(--honey-600));
  display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { line-height: 1; }
.brand-text b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--wood-900); display: block; letter-spacing: .01em; }
.brand-text span { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--honey-700); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 700; font-size: .98rem; position: relative; padding: 6px 0; color: var(--wood-800); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--honey-600); transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-700); }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--gold-700); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--wood-800);
  transition: background .15s ease, color .15s ease; position: relative;
}
.icon-btn:hover { background: var(--cream-200); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--honey-600); color: #fff;
  font-size: .68rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 4px;
}
.cart-count:empty, .cart-count[data-empty="true"] { display: none; }

.nav-toggle { display: none; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  background:
    /* ciepłe światło zza lady, po prawej */
    radial-gradient(900px 520px at 76% 6%, rgba(215,171,92,.30), transparent 62%),
    /* poświata znad półek */
    radial-gradient(700px 420px at 12% 100%, rgba(198,150,70,.16), transparent 68%),
    linear-gradient(168deg, #402813 0%, #2b1a0f 48%, var(--espresso) 100%);
  color: var(--cream-50);
  overflow: hidden;
}
/* winieta — przyciemnia brzegi, buduje głębię wnętrza */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 100% at 50% 40%, transparent 52%, rgba(15,9,3,.55) 100%);
}
.hero::after {
  /* ziarno — to samo, co na papierze, ale mocniejsze na ciemnym tle */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: var(--grain); background-size: 160px 160px;
  opacity: .05; mix-blend-mode: overlay;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 104px 0 108px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-400); }
.hero p.lead { color: rgba(253,250,243,.82); margin: 22px 0 32px; max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(230,200,140,.22); }
.hero-trust .stat b {
  font-family: var(--font-display); font-size: 1.85rem; color: var(--gold-300); display: block;
  font-variation-settings: "opsz" 36, "SOFT" 24, "WONK" 0; line-height: 1.1;
}
.hero-trust .stat span { font-size: .84rem; color: rgba(253,250,243,.64); letter-spacing: .02em; }

.hero-shelf {
  background:
    repeating-linear-gradient(93deg, rgba(255,255,255,.022) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #5a3a22, #341f0e);
  border-radius: var(--r-md);
  padding: 20px 20px 8px;
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(233,197,140,.18),
    inset 0 -2px 0 rgba(0,0,0,.4);
  transform: rotate(-1deg);
  border: 1px solid #24150a;
}
.shelf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
/* deska półki: mosiężna krawędź u góry, cień pod spodem */
.shelf-row + .shelf-row {
  margin-top: 14px; padding-top: 18px;
  border-top: 5px solid #2a1809;
  box-shadow: 0 -1px 0 rgba(214,170,104,.22), 0 8px 16px -6px rgba(0,0,0,.6);
  border-radius: 2px;
}
.hero-shelf .shelf-row:last-child { padding-bottom: 14px; }
.tin {
  aspect-ratio: 1; border-radius: var(--r-sm) var(--r-sm) var(--r-xs) var(--r-xs);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; color: #fff; font-weight: 700; font-size: .78rem;
  position: relative; overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
  box-shadow: 0 6px 12px -4px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .4s cubic-bezier(.33,1,.68,1), box-shadow .4s ease;
}
/* refleks światła na blasze + przyciemnienie pod napisem */
.tin::before {
  content:""; position:absolute; inset:0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(255,255,255,.16) 0%, transparent 34%),
    linear-gradient(180deg, transparent 42%, rgba(0,0,0,.52));
}
/* wieczko puszki */
.tin::after {
  content:""; position:absolute; top:0; left:0; right:0; height: 13%;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.16));
  border-bottom: 1px solid rgba(0,0,0,.25); z-index: 2;
}
.tin:hover { transform: translateY(-4px); box-shadow: 0 14px 22px -6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.tin img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.tin span { position: relative; z-index: 2; line-height: 1.15; }
.tin small { position: relative; z-index:2; display:block; font-weight: 600; font-size: .62rem; opacity: .85; letter-spacing: .12em; text-transform: uppercase; }

/* =================================================================
   PASEK KORZYŚCI (emocje / problemy)
   ================================================================= */
.values { background: var(--cream-50); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value { text-align: center; padding: 8px; }
.value .ico {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--cream-100), var(--cream-200));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(43,26,15,.06);
  display: grid; place-items: center; color: var(--gold-700);
}
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value p { font-size: .95rem; color: var(--ink-soft); }

/* =================================================================
   KATEGORIE
   ================================================================= */
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 230px; display: flex; align-items: flex-end;
  padding: 26px; color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card { transition: box-shadow .4s ease; }
.cat-card:hover { box-shadow: var(--shadow-lg); }
.cat-card::after {
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(176deg, rgba(30,18,6,.08) 30%, rgba(30,18,6,.62) 72%, rgba(30,18,6,.86) 100%);
  transition: background .4s ease;
}
.cat-card:hover::after { background: linear-gradient(176deg, rgba(30,18,6,.12) 24%, rgba(30,18,6,.68) 70%, rgba(30,18,6,.9) 100%); }
.cat-card img { transition: transform .8s cubic-bezier(.33,1,.68,1); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.cat-card > div { position: relative; z-index: 2; }
.cat-card h3 { color: #fff; font-size: 1.55rem; }
.cat-card p { font-size: .89rem; opacity: .82; margin-top: 3px; }
.cat-card .arrow {
  margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--gold-300);
  display: inline-flex; align-items: center; gap: 7px;
}
.cat-card .arrow::after { content: ""; width: 16px; height: 1px; background: var(--gold-400); transition: width .35s ease; }
.cat-card:hover .arrow::after { width: 30px; }
.cat-herbata { background: linear-gradient(135deg, #3c5a2e, #2c4422); }
.cat-kawa    { background: linear-gradient(135deg, #5b3a22, #2b1a0f); }
.cat-yerba   { background: linear-gradient(135deg, #4a6b3a, #2f4a1f); }

/* =================================================================
   PRODUKTY — puszki na półce (signature)
   ================================================================= */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.shop-filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.shop-filters h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--honey-700); margin-bottom: 12px; }
.filter-list button {
  display: flex; justify-content: space-between; width: 100%;
  padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  color: var(--wood-800); transition: background .15s ease;
}
.filter-list button:hover { background: var(--cream-200); }
.filter-list button.active { background: var(--wood-900); color: var(--gold-300); box-shadow: inset 0 1px 0 rgba(230,200,140,.14); }
.filter-list button .n { opacity: .6; font-weight: 700; }
.filter-list button.active .n { opacity: .8; }

.search-box { position: relative; margin-bottom: 18px; }
.search-box input {
  width: 100%; padding: 12px 14px 12px 40px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--cream-50); font-size: .95rem; font-family: inherit; color: var(--ink);
}
.search-box input:focus { outline: 2px solid var(--honey-400); outline-offset: 1px; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.product {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, border-color .35s ease;
}
/* mosiężny włos, który zapala się przy najechaniu — zamiast podskakiwania karty */
.product::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.33,1,.68,1);
}
.product:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product:hover::after { transform: scaleX(1); }
.product-media {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(150deg, var(--cream-200), var(--cream-300));
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.33,1,.68,1); }
.product:hover .product-media img { transform: scale(1.045); }
.product-media .placeholder { color: var(--gold-600); opacity: .42; }
.product-media .placeholder svg { width: 58px; height: 58px; }
/* „para” przy najechaniu */
.product-media .steam {
  position: absolute; bottom: -10px; left: 50%; width: 4px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  border-radius: 4px; opacity: 0; filter: blur(2px);
}
.product:hover .steam { animation: steam 1.6s ease-out infinite; }
.product:hover .steam.s2 { animation-delay: .4s; margin-left: -14px; }
.product:hover .steam.s3 { animation-delay: .8s; margin-left: 12px; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(0) scaleX(1); }
  30% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-46px) scaleX(1.8); }
}

/* Etykiety: drobne, wpisane w róg, bez krzykliwych pigułek */
.badge {
  position: absolute; top: 11px; left: 11px; z-index: 3;
  background: rgba(30,18,6,.82);
  backdrop-filter: blur(4px);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-variant-caps: all-small-caps;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  padding: 3px 11px; border-radius: var(--r-xs);
  border: 1px solid rgba(230,200,140,.28);
  text-transform: none;
}
.badge--hot { color: var(--gold-200); }
.badge--sale { background: rgba(158,63,44,.9); color: #fff; border-color: rgba(255,255,255,.2); }
.badge--out { background: rgba(30,18,6,.86); color: var(--cream-200); top: auto; bottom: 11px; }

.product-body { padding: 17px 17px 19px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-origin {
  font-family: var(--font-display);
  font-variant-caps: all-small-caps;
  font-size: .85rem; letter-spacing: .06em;
  color: var(--leaf-600); font-weight: 600;
  text-transform: none;
}
.product h3 { font-size: 1.15rem; line-height: 1.22; }
.product-desc {
  font-size: .89rem; color: var(--ink-soft); flex: 1; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.price {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.32rem; color: var(--wood-900); line-height: 1.1;
  font-variation-settings: "opsz" 24, "SOFT" 20, "WONK" 0;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.price small { font-family: var(--font-body); font-size: .74rem; font-weight: 600; color: var(--ink-faint); letter-spacing: .02em; }
.price .old { font-family: var(--font-body); font-size: .85rem; color: var(--ink-faint); text-decoration: line-through; font-weight: 600; margin-right: 2px; }
.add-btn {
  background: var(--wood-900); color: var(--gold-300);
  border: 1px solid var(--wood-800);
  border-radius: var(--r-sm); width: 44px; height: 44px; display: grid; place-items: center;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(230,200,140,.16);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.add-btn:hover {
  background: linear-gradient(178deg, #9c6c1c, #7a5112);
  color: #fff; border-color: var(--gold-800);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.3);
}
.add-btn:active { box-shadow: inset 0 2px 5px rgba(60,38,6,.4); }
.add-btn svg { width: 19px; height: 19px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* =================================================================
   HISTORIA / O NAS
   ================================================================= */
.story {
  background:
    radial-gradient(800px 460px at 82% 12%, rgba(198,150,70,.16), transparent 64%),
    linear-gradient(172deg, var(--wood-900), var(--espresso));
  color: var(--cream-100);
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story h2 { color: #fff; }
.story h2 em { color: var(--honey-300); font-style: italic; }
.story p { color: rgba(251,245,233,.82); margin-top: 16px; }
.story .signature { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--honey-300); margin-top: 22px; }
.story-visual {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  background: linear-gradient(135deg, #6f4a2c, #3c5a2e);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  position: relative;
}
.story-visual .quote { padding: 40px; text-align: center; }
.story-visual .quote p { font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-style: italic; }
.story-visual .quote span {
  display:block; margin-top: 16px; font-family: var(--font-display);
  font-variant-caps: all-small-caps; font-size: 1rem; letter-spacing: .06em;
  text-transform: none; color: var(--gold-300); font-weight: 600;
}

/* =================================================================
   OPINIE
   ================================================================= */
.reviews { background: var(--cream-200); }
.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 44px; }
.rating-big { display: flex; align-items: center; gap: 14px; }
.rating-big .num { font-family: var(--font-display); font-size: 3.2rem; color: var(--wood-900); font-variation-settings: "opsz" 48, "SOFT" 24, "WONK" 0; }
.rating-big .stars { color: var(--honey-500); font-size: 1.4rem; letter-spacing: 2px; }
.rating-big .meta { font-size: .9rem; color: var(--ink-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
/* duży cudzysłów jako znak wodny — sygnał, że to cytat, nie kafelek */
.review::before {
  content: "„"; position: absolute; top: 6px; right: 20px;
  font-family: var(--font-display); font-size: 4.6rem; line-height: 1;
  color: var(--gold-500); opacity: .17; pointer-events: none;
}
.review p { position: relative; }
.review .stars { color: var(--honey-500); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 1rem; color: var(--wood-800); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(165deg, var(--gold-500), var(--gold-700));
  color: #fff; display: grid; place-items: center; font-weight: 600;
  font-family: var(--font-display); font-size: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.review .who b { font-size: .95rem; }
.review .who span { font-size: .78rem; color: var(--ink-soft); display: block; }

/* =================================================================
   BLOG
   ================================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, border-color .35s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.post-card img { transition: transform .7s cubic-bezier(.33,1,.68,1); }
.post-card:hover img { transform: scale(1.04); }
.post-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--leaf-700), var(--wood-700)); position: relative; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(253,250,243,.94); color: var(--wood-800);
  font-family: var(--font-display); font-variant-caps: all-small-caps;
  font-size: .84rem; font-weight: 600; padding: 2px 11px;
  border-radius: var(--r-xs); letter-spacing: .05em;
  border: 1px solid var(--line);
}
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-date { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }
.post-card h3 { font-size: 1.3rem; }
.post-excerpt { font-size: .95rem; color: var(--ink-soft); flex: 1; }
.post-link { font-weight: 800; color: var(--honey-700); margin-top: 8px; }

/* pojedynczy wpis */
.article { max-width: 760px; margin: 0 auto; }
.article-hero { aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; margin: 22px 0 32px; background: linear-gradient(135deg, var(--leaf-700), var(--wood-700)); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { margin-top: 10px; }
.article-meta { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }
.article-content { margin-top: 28px; font-size: 1.08rem; }
.article-content p { margin-bottom: 20px; }
.article-content h2 { margin: 32px 0 12px; }
.article-content h3 { margin: 24px 0 10px; }
.article-content ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }

/* =================================================================
   KONTAKT
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--cream-200); color: var(--honey-700); display: grid; place-items: center; }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row b { display: block; font-size: .95rem; }
.info-row span, .info-row a { color: var(--ink-soft); font-size: .95rem; }
.info-row a:hover { color: var(--honey-700); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--cream-50); color: var(--ink);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input[type="color"] { height: 46px; padding: 4px; cursor: pointer; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--honey-400); outline-offset: 1px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; margin-top: 22px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* =================================================================
   NEWSLETTER (emocja: rytuał, należenie do społeczności)
   ================================================================= */
.newsletter {
  background:
    radial-gradient(700px 400px at 18% 0%, rgba(215,171,92,.22), transparent 62%),
    linear-gradient(168deg, #3d2513, var(--espresso));
  color: #fff;
  border-top: 1px solid rgba(230,200,140,.16);
}
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { color: #fff; }
.newsletter h2 em { color: var(--gold-300); font-style: italic; }
.newsletter p { color: rgba(253,250,243,.76); margin-top: 12px; max-width: 46ch; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 15px 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(230,200,140,.28); font-size: 1rem; font-family: inherit;
  background: rgba(253,250,243,.07); color: #fff;
  transition: background .25s ease, border-color .25s ease;
}
.newsletter-form input::placeholder { color: rgba(253,250,243,.5); }
.newsletter-form input:focus {
  outline: none; background: rgba(253,250,243,.12); border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(215,171,92,.2);
}

/* =================================================================
   STOPKA
   ================================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--espresso), #160c03);
  color: var(--cream-200); padding: 70px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 {
  color: var(--gold-300); font-family: var(--font-display);
  font-variant-caps: all-small-caps; font-size: 1.02rem; font-weight: 600;
  letter-spacing: .06em; text-transform: none; margin-bottom: 14px;
}
.site-footer a { color: rgba(244,234,214,.75); font-size: .95rem; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand p { color: rgba(244,234,214,.65); font-size: .95rem; margin-top: 14px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a { border: 1px solid rgba(230,200,140,.14); transition: background .25s ease, border-color .25s ease; }
.footer-social a:hover { background: var(--gold-600); border-color: var(--gold-500); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(244,234,214,.6); }

/* =================================================================
   KOSZYK (drawer)
   ================================================================= */
.overlay { position: fixed; inset: 0; background: rgba(43,26,15,.5); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 990; }
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: var(--cream-100); z-index: 1000; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 22px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
}
.cart-header h3 { font-size: 1.45rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb {
  width: 66px; height: 66px; border-radius: var(--r-sm);
  background: linear-gradient(150deg, var(--cream-200), var(--cream-300));
  border: 1px solid var(--line);
  flex: none; overflow: hidden; display:grid; place-items:center; color: var(--gold-600);
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-body { flex: 1; }
.cart-item b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.cart-item .ci-price { color: var(--ink-soft); font-size: .88rem; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button {
  width: 28px; height: 28px; border-radius: var(--r-xs);
  background: var(--cream-100); border: 1px solid var(--line);
  font-weight: 700; color: var(--wood-800); font-size: 1rem; line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}
.qty button:hover:not(:disabled) { background: var(--gold-200); border-color: var(--gold-400); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.ci-remove { color: var(--ink-soft); font-size: .8rem; margin-top: 6px; text-decoration: underline; }
.ci-remove:hover { color: var(--clay); }
.cart-foot {
  padding: 22px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
  box-shadow: 0 -8px 24px -18px rgba(43,26,15,.5);
}
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.02rem; margin-bottom: 16px; }
.cart-total b { font-family: var(--font-display); font-size: 1.65rem; color: var(--wood-900); font-variation-settings: "opsz" 28, "SOFT" 22, "WONK" 0; }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--wood-900); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; z-index: 120; box-shadow: var(--shadow-lg); opacity: 0; transition: all .3s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--honey-400); }

/* breadcrumb / page hero */
.page-hero { background: var(--wood-900); color: var(--cream-100); padding: 56px 0; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(251,245,233,.78); margin-top: 10px; }
.crumbs { font-size: .85rem; color: rgba(251,245,233,.6); margin-bottom: 14px; }
.crumbs a:hover { color: var(--honey-300); }

/* =================================================================
   RESPONSYWNOŚĆ
   ================================================================= */
@media (max-width: 1080px) {
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 48px; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 68px 0 76px; }
  .hero-shelf { max-width: 420px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cats-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .contact-grid, .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-list button { width: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav, .topbar { display: none; }
  .nav-toggle { display: grid; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head::after { margin-top: 18px; }
  .cats-grid, .reviews-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-trust { gap: 24px; margin-top: 30px; padding-top: 22px; }
  .hero-inner { padding: 52px 0 60px; }
  /* na telefonie półka i puszki robią się drobne — zwiększamy oddech */
  .hero-shelf { padding: 15px 15px 6px; }
  .shelf-row { gap: 10px; }
  .tin { font-size: .72rem; padding: 9px; }
  /* karty produktów: zdjęcie nieco wyższe, treść luźniejsza */
  .product-media { aspect-ratio: 5/4; }
  .product-body { padding: 15px 15px 17px; }
  .review { padding: 24px 22px; }
  .review::before { font-size: 3.6rem; right: 16px; }

  /* mobilne menu — osobny panel poza nagłówkiem (omija pułapkę backdrop-filter) */
  .main-nav.mobile-open { /* nieużywane — zachowane dla zgodności */ }
}

/* ===== MOBILNE MENU (szuflada) ===== */
body.nav-locked { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.mobile-menu .mm-backdrop { position: absolute; inset: 0; background: rgba(43,26,15,.55); opacity: 0; transition: opacity .3s ease; }
.mobile-menu .mm-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 350px);
  background: linear-gradient(180deg, var(--cream-50), var(--cream-100));
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 50px rgba(43,26,15,.35);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.33,1,.68,1);
  display: flex; flex-direction: column; padding: 20px 24px 30px; overflow-y: auto;
}
.mobile-menu.open { visibility: visible; }
.mobile-menu.open .mm-backdrop { opacity: 1; }
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mm-head .brand-mark { width: 40px; height: 40px; }
.mm-close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--wood-800); background: var(--cream-200); border: 1px solid var(--line); }
.mm-close svg { width: 22px; height: 22px; }
.mm-links { display: flex; flex-direction: column; margin-top: 4px; }
.mm-link {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--wood-900);
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateX(18px); transition: opacity .35s ease, transform .35s ease;
}
.mm-link .mm-arrow { color: var(--gold-600); opacity: .5; font-size: 1rem; }
.mm-link.active { color: var(--gold-700); }
.mm-link:hover { color: var(--gold-700); }
.mobile-menu.open .mm-link { opacity: 1; transform: none; }
.mobile-menu.open .mm-link:nth-child(1) { transition-delay: .10s; }
.mobile-menu.open .mm-link:nth-child(2) { transition-delay: .16s; }
.mobile-menu.open .mm-link:nth-child(3) { transition-delay: .22s; }
.mobile-menu.open .mm-link:nth-child(4) { transition-delay: .28s; }
.mobile-menu.open .mm-link:nth-child(5) { transition-delay: .34s; }
.mm-cta { margin-top: 22px; text-align: center; }
.mm-contact { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mm-contact a { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--wood-900); font-size: 1.05rem; }
.mm-contact svg { width: 18px; height: 18px; color: var(--honey-600); }
.mm-note { font-size: .85rem; color: var(--ink-soft); }

/* dostępność: redukcja ruchu */
/* ---------- DOKUMENTY (regulamin, polityka prywatności) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 46px 52px;
  line-height: 1.75;
  color: var(--ink);
}
.legal h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 6px; }
.legal h2 {
  font-size: 1.12rem;
  margin: 36px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--leaf-700, #4a6b3a); text-decoration: underline; text-underline-offset: 2px; }
.legal-date { color: var(--ink-soft); font-size: .9rem; margin-bottom: 26px !important; }
.legal-box {
  background: var(--cream-100, #f7f1e6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 18px;
  line-height: 1.75;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .92rem; }
.legal-table th {
  text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); padding: 10px 12px; border-bottom: 2px solid var(--line); vertical-align: bottom;
}
.legal-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .legal { padding: 28px 22px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .legal-table td { border: 0; padding: 3px 0; }
  .legal-table td:first-child { font-weight: 700; }
}

/* zgoda na regulamin w kasie */
.co-consent {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--cream-100, #f7f1e6); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin: 4px 0 14px;
  font-size: .9rem; line-height: 1.55;
}
.co-consent input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--leaf-600, #5a7f45); }
.co-consent.is-missing { border-color: #c0453a; background: #fbe9e7; }
.co-note { font-size: .84rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* widoczny focus klawiatury */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--honey-500); outline-offset: 2px; border-radius: 6px;
}


/* ===== DODANIE DO KOSZYKA: lot produktu ===== */
.fly-item {
  position: fixed; z-index: 200; pointer-events: none; border-radius: 50%;
  overflow: hidden; box-shadow: 0 14px 34px rgba(43,26,15,.34);
  background: var(--cream-100); display: grid; place-items: center; color: var(--leaf-600);
}
.fly-item img { width: 100%; height: 100%; object-fit: cover; }
.fly-item svg { width: 50%; height: 50%; }
#cartBtn.cart-hit { animation: cartHit .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes cartHit {
  0% { transform: scale(1); }
  35% { transform: scale(1.22) rotate(-7deg); }
  60% { transform: scale(.94) rotate(3deg); }
  100% { transform: scale(1); }
}
.cart-count.bump { animation: countBump .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes countBump { 0% { transform: scale(1); } 45% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* potwierdzenie dodania */
.cart-confirm {
  position: fixed; right: 22px; bottom: 22px; z-index: 190;
  display: flex; align-items: center; gap: 13px; max-width: min(92vw, 370px);
  background: var(--cream-50); border: 1px solid var(--line); border-radius: 15px;
  padding: 12px 14px; box-shadow: 0 18px 44px rgba(43,26,15,.24);
  transform: translateY(130%); opacity: 0; transition: transform .42s cubic-bezier(.33,1,.68,1), opacity .28s ease;
}
.cart-confirm.show { transform: none; opacity: 1; }
/* Gdy na dole wisi pasek ciasteczek, potwierdzenie wchodzi nad niego,
   zamiast się z nim nakładać. */
body.ma-pasek-ciastek .cart-confirm { bottom: 130px; }
/* Przy otwartym koszyku pasek ciasteczek schodzi z drogi — zasłaniał
   przycisk „Przejdź do kasy" na dole panelu. Wraca po jego zamknięciu. */
body.panel-otwarty .cookie-bar { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
body.panel-otwarty .cart-confirm { bottom: 22px; }
@media (max-width: 700px) { body.ma-pasek-ciastek .cart-confirm { bottom: 190px; } }
.cc-thumb { width: 52px; height: 52px; border-radius: 11px; overflow: hidden; flex: none;
  background: var(--cream-200); display: grid; place-items: center; color: var(--leaf-600); }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cc-leaf svg { width: 24px; height: 24px; }
.cc-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cc-body b { font-size: .78rem; color: var(--leaf-700); letter-spacing: .04em; }
.cc-body span { font-family: var(--font-display); font-size: 1.02rem; color: var(--wood-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-go { flex: none; background: var(--wood-900); color: var(--gold-300); border-radius: var(--r-sm);
  padding: 9px 13px; font-weight: 700; font-size: .85rem; transition: background .15s, transform .15s; }
.cc-go:hover { background: var(--gold-700); }
@media (max-width: 560px) { .cart-confirm { right: 12px; left: 12px; bottom: 12px; max-width: none; } }

/* brak towaru */
.product.is-out .product-media { filter: grayscale(.75) opacity(.65); }
.badge--out { background: #6f5a44; color: #fff; top: auto; bottom: 10px; }
.add-btn:disabled { opacity: .4; cursor: not-allowed; }
.product-last { font-size: .8rem; color: var(--honey-700); font-weight: 700; margin-top: 8px; }

/* ===== KOSZYK: dopracowanie ===== */
.ci-sum { font-weight: 800; color: var(--wood-900); white-space: nowrap; align-self: center; }
.ci-max { display: block; font-size: .74rem; color: var(--ink-soft); margin-top: 4px; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.ship-bar { height: 6px; border-radius: 99px; background: var(--cream-200); overflow: hidden; margin-bottom: 8px; }
.ship-bar-fill { height: 100%; background: linear-gradient(90deg, var(--leaf-600), var(--gold-500)); border-radius: 99px; transition: width .6s cubic-bezier(.33,1,.68,1); }
.ship-note { font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
.ship-note--ok { color: var(--leaf-700); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ship-note--ok svg { width: 16px; height: 16px; }
.cart-more { display: block; width: 100%; text-align: center; margin-top: 10px; padding: 8px;
  font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.cart-more:hover { color: var(--wood-900); }

/* ===== KASA ===== */
.checkout-modal { position: fixed; inset: 0; z-index: 170; display: none; }
.checkout-modal.open { display: block; }
.co-backdrop { position: absolute; inset: 0; background: rgba(43,26,15,.58); animation: coFade .25s ease; }
@keyframes coFade { from { opacity: 0; } to { opacity: 1; } }
.co-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(94vw, 520px); max-height: 92vh; overflow-y: auto;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(43,26,15,.4); animation: coIn .3s cubic-bezier(.33,1,.68,1);
}
@keyframes coIn { from { opacity: 0; transform: translate(-50%,-44%) scale(.97); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--cream-50); z-index: 2; }
.co-head h3 { font-family: var(--font-display); font-size: 1.5rem; }
.co-sub { font-size: .87rem; color: var(--ink-soft); margin-top: 2px; }
.co-body { padding: 18px 24px 26px; }
.co-cartlines { background: var(--cream-100); border-radius: 12px; padding: 12px 14px; margin-bottom: 20px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 3px 0; }
.co-group { margin-bottom: 20px; }
.co-label {
  font-family: var(--font-display); font-size: 1.12rem; color: var(--wood-900);
  margin-bottom: 10px; font-weight: 600;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.co-body input, .co-body textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--line);
  border-radius: 11px; background: #fff; font-family: inherit; font-size: .95rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.co-body input:focus, .co-body textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(215,171,92,.26); }
.co-body textarea { min-height: 62px; resize: vertical; }
.co-opts { display: flex; flex-direction: column; gap: 8px; }
.co-opt { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-opt:hover { border-color: var(--honey-500); }
.co-opt:has(input:checked) { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(215,171,92,.32); background: #fffdf7; }
.co-opt input { width: auto; margin: 0; accent-color: var(--honey-700); }
.co-opt span { flex: 1; font-size: .95rem; }
.co-opt b { color: var(--wood-800); font-size: .92rem; }
.co-online { background: var(--leaf-600); color: #fff; border-radius: var(--r-xs); padding: 2px 9px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; }
.co-hint { font-size: .87rem; color: var(--ink-soft); background: var(--cream-100); border-radius: 10px; padding: 11px 13px; margin-top: 8px; }
.co-point { margin-top: 10px; }
.co-point-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; max-height: 190px; overflow-y: auto; }
.co-point-item { text-align: left; padding: 10px 13px; border-radius: 10px; background: var(--cream-100);
  display: flex; flex-direction: column; gap: 2px; transition: background .15s; }
.co-point-item:hover { background: var(--cream-200); }
.co-point-item b { font-size: .92rem; color: var(--wood-900); }
.co-point-item span { font-size: .8rem; color: var(--ink-soft); }
.co-point-info { font-size: .84rem; color: var(--ink-soft); padding: 8px 2px; }
.co-summary { background: var(--cream-100); border-radius: 14px; padding: 16px 18px; margin: 6px 0 18px; }
.co-freeinfo { font-size: .85rem; color: var(--leaf-700); font-weight: 700; margin-bottom: 10px; }
.co-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: .95rem; }
.co-row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 11px; font-size: 1.2rem; font-family: var(--font-display); }
.co-row--total b { color: var(--wood-900); font-variation-settings: "opsz" 28, "SOFT" 22, "WONK" 0; }
.co-fine { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; text-align: center; }
.co-panel--ok { padding: 40px 30px; text-align: center; }
.co-panel--ok h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 16px 0 4px; }
.co-ok-num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-700); letter-spacing: .03em; }
.co-ok-lead { color: var(--ink-soft); margin: 10px auto 0; max-width: 40ch; }
.co-panel--ok .btn { margin-top: 22px; }
.co-ok-badge { width: 66px; height: 66px; border-radius: 50%; background: var(--leaf-600); color: #fff;
  display: grid; place-items: center; margin: 0 auto; animation: okPop .45s cubic-bezier(.34,1.56,.64,1); }
.co-ok-badge svg { width: 33px; height: 33px; }
@keyframes okPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== STRONA STATUSU ZAMÓWIENIA ===== */
.order-status { padding: 70px 0 90px; background: var(--cream-100); min-height: 60vh; }
.os-card { max-width: 560px; margin: 0 auto; background: var(--cream-50); border: 1px solid var(--line);
  border-radius: 22px; padding: 44px 36px; text-align: center; box-shadow: var(--shadow-lg); }
.os-card h1 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 6px; }
.os-num { font-weight: 700; color: var(--honey-700); }
.os-lead { color: var(--ink-soft); margin: 12px auto 0; max-width: 42ch; }
.os-steps { display: flex; flex-direction: column; gap: 12px; margin: 28px auto; max-width: 280px; text-align: left; }
.os-step { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink-soft); }
.os-step span { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.os-step.is-done span { background: var(--leaf-600); border-color: var(--leaf-600); }
.os-step.is-done { color: var(--wood-900); }
.os-step.is-now span { border-color: var(--honey-600); box-shadow: 0 0 0 4px rgba(240,205,132,.4); }
.os-step.is-now { color: var(--wood-900); font-weight: 700; }
.os-help { font-size: .88rem; color: var(--ink-soft); margin-bottom: 22px; }

/* ---------- DOKUMENTY (regulamin, polityka prywatności) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 46px 52px;
  line-height: 1.75;
  color: var(--ink);
}
.legal h1 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 6px; }
.legal h2 {
  font-size: 1.12rem;
  margin: 36px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--leaf-700, #4a6b3a); text-decoration: underline; text-underline-offset: 2px; }
.legal-date { color: var(--ink-soft); font-size: .9rem; margin-bottom: 26px !important; }
.legal-box {
  background: var(--cream-100, #f7f1e6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 18px;
  line-height: 1.75;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .92rem; }
.legal-table th {
  text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); padding: 10px 12px; border-bottom: 2px solid var(--line); vertical-align: bottom;
}
.legal-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .legal { padding: 28px 22px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .legal-table td { border: 0; padding: 3px 0; }
  .legal-table td:first-child { font-weight: 700; }
}

/* zgoda na regulamin w kasie */
.co-consent {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--cream-100, #f7f1e6); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin: 4px 0 14px;
  font-size: .9rem; line-height: 1.55;
}
.co-consent input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--leaf-600, #5a7f45); }
.co-consent.is-missing { border-color: #c0453a; background: #fbe9e7; }
.co-note { font-size: .84rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; }

/* ---------- MAPA PACZKOMATÓW ---------- */
.co-map-btn { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 4px; }
.co-map-ico { font-size: 1.05rem; line-height: 1; color: #ffc700; text-shadow: 0 0 0 #000; }
.co-point-chosen {
  margin-top: 10px; padding: 12px 14px; border-radius: 10px;
  background: #e8f3df; border: 1px solid #c2dcae; font-size: .9rem; line-height: 1.5;
}
.co-point-chosen b { display: block; color: #2c4422; font-size: .98rem; }
.co-point-chosen span { display: block; color: #44633a; }

.geo-modal {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(28, 17, 9, .62);
  backdrop-filter: blur(3px);
  display: grid; place-items: center;
  padding: 20px;
  animation: geoIn .22s ease;
}
@keyframes geoIn { from { opacity: 0; } to { opacity: 1; } }
.geo-box {
  width: min(980px, 100%); height: min(680px, 90vh);
  background: var(--cream-50); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.geo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex: none;
}
.geo-head b { font-size: 1.05rem; }
.geo-close {
  border: 0; background: var(--cream-100, #f7f1e6); width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--ink);
  display: grid; place-items: center; transition: background .18s ease;
}
.geo-close:hover { background: var(--line); }
.geo-body { flex: 1; min-height: 0; position: relative; }
.geo-body inpost-geowidget { display: block; width: 100%; height: 100%; }
.geo-loading {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 24px; color: var(--ink-soft); font-size: .94rem; line-height: 1.6;
}
@media (max-width: 640px) {
  .geo-modal { padding: 0; }
  .geo-box { width: 100%; height: 100%; border-radius: 0; }
}

/* mapa punktów ORLEN */
.geo-search { display: flex; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex: none; }
.geo-search input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .94rem; background: #fff;
}
.geo-search input:focus { outline: 2px solid var(--gold-500, #c08a2e); outline-offset: 1px; }
.orlen-mapa { position: absolute; inset: 0; }
.orlen-pop { font-family: inherit; min-width: 190px; }
.orlen-pop b { display: block; font-size: .96rem; margin-bottom: 3px; }
.orlen-pop span { display: block; font-size: .86rem; color: #5d4a35; line-height: 1.45; }
.orlen-pop .orlen-godz { margin-top: 4px; opacity: .8; }
.orlen-wybierz {
  margin-top: 10px; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #9c6c1c, #7a5112); color: #fff;
  padding: 9px 14px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: .88rem;
}
.orlen-wybierz:hover { filter: brightness(1.08); }

/* zapis do newslettera */
.newsletter-col { display: flex; flex-direction: column; }
.nl-status { margin: 10px 0 0; font-size: .92rem; min-height: 1.2em; color: #f2e6cf; }
.nl-status.is-ok { color: #cfe8b8; font-weight: 600; }
.nl-status.is-err { color: #f3c9c2; font-weight: 600; }
.nl-rodo { margin: 14px 0 0; font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .62); max-width: 520px; }
.nl-rodo a { color: rgba(255, 255, 255, .82); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- PASEK CIASTECZEK ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 950;
  width: min(1060px, calc(100vw - 32px));
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(43, 26, 15, .22);
}
.cookie-bar.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookie-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 22px;
}
.cookie-text { font-size: .9rem; line-height: 1.6; color: var(--ink); }
.cookie-text b { display: block; margin-bottom: 2px; }
.cookie-text a { color: var(--leaf-700, #4a6b3a); text-decoration: underline; text-underline-offset: 2px; }
.cookie-acts { flex: none; }
.cookie-acts .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .cookie-bar { bottom: 10px; width: calc(100vw - 20px); }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .cookie-acts .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: opacity .2s ease; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .fly-item, .cart-confirm, .co-panel, .co-ok-badge { animation: none !important; transition: none !important; }
}
