/* ============================================================
   CocoSabay — wydanie premium
   Paleta z etykiet/loga: czern, biel, odcienie zlota, zielen
     --black #0B0B0C   glebia tla hero/stopki
     --gold  #F2CE5E   zloto z wiez Angkoru w logo
     --gold-deep #C9A227  ciemniejsze zloto (tekst na jasnym)
     --green #1F6B45   zielen etykiet (eco)
   Styl: duzo powietrza, cienkie linie, subtelne animacje,
   zadnych ciezkich pasow i ramek.
   ============================================================ */

:root {
  --black: #0b0b0c;
  --black-soft: #141416;
  --ink: #17181a;
  --white: #ffffff;
  --paper: #faf9f6;
  --gold: #f2ce5e;
  --gold-deep: #c9a227;
  --gold-soft: #f7e9c3;
  --milk: #fdf7ea;
  --green: #1f6b45;
  --green-soft: #e4efe8;
  --muted: #6f6f6f;
  --muted-light: #a8a49a;
  --line: #e9e6df;
  --danger: #c0392b;
  --radius: 18px;
  --shadow-soft: 0 10px 40px rgba(11, 11, 12, 0.08);
  --shadow-lift: 0 18px 50px rgba(11, 11, 12, 0.14);
  --font-display: 'Koulen', 'Kantumruy Pro', sans-serif;
  --font-body: 'Kantumruy Pro', 'Noto Sans Khmer', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  /* pismo khmerskie ma pietrowe diakrytyki - wieksza interlinia */
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   ANIMACJE WEJSCIA / REVEAL PRZY PRZEWIJANIU
   Elementy .reveal startuja niewidoczne i wjezdzaja, gdy JS
   doda klase .in (IntersectionObserver). d1..d5 = opoznienia.
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }
.reveal.d5 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [class^="anim-"], [class*=" anim-"],
  .hero-rings span, .scroll-cue-line, .hero-logo, .check-path { animation: none !important; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 206, 94, 0.14);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(242, 206, 94, 0.35);
  border-radius: 999px;
  overflow: hidden;
  padding: 3px;
  gap: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-btn.active { background: var(--gold); color: var(--black); }

.cart-button {
  position: relative;
  background: transparent;
  border: 1px solid rgba(242, 206, 94, 0.35);
  border-radius: 999px;
  color: var(--gold);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-button:hover { background: rgba(242, 206, 94, 0.12); }
.cart-count {
  background: var(--gold);
  color: var(--black);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  padding: 0 5px;
}

/* ============================================================
   HERO — czern, zloto, efekt WOW
   ============================================================ */

.hero {
  background: radial-gradient(1200px 700px at 50% -10%, #1b1a15 0%, var(--black) 58%);
  color: var(--white);
  padding: 84px 0 110px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* miekka zlota poswiata pulsujaca za logo */
.hero-glow {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(242, 206, 94, 0.22) 0%, rgba(242, 206, 94, 0.06) 42%, transparent 70%);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.07); }
}

/* rozchodzace sie cienkie zlote kregi */
.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-rings span {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 320px;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 206, 94, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring-expand 7s linear infinite;
  opacity: 0;
}
.hero-rings span:nth-child(2) { animation-delay: 2.3s; }
.hero-rings span:nth-child(3) { animation-delay: 4.6s; }
@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 26px;
}

.hero-logo {
  width: min(420px, 78vw);
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 18px 60px rgba(242, 206, 94, 0.22));
  animation: logo-breathe 7s ease-in-out infinite;
}
@keyframes logo-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.6;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, var(--gold-soft) 0%, var(--gold) 45%, #fff2c9 70%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shine 5.5s linear infinite;
}
@keyframes gold-shine {
  to { background-position: 220% center; }
}

.hero-body {
  max-width: 620px;
  color: #cfccc2;
  font-size: 16.5px;
  font-weight: 300;
  margin: 0 auto 34px;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 44px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 10px 34px rgba(242, 206, 94, 0.3);
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(242, 206, 94, 0.42);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(18px, 5vw, 44px);
  margin-top: 52px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 36px);
  color: var(--gold);
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.stat-label {
  font-size: 12.5px;
  color: var(--muted-light);
  letter-spacing: 0.06em;
}
.stat-divider { width: 1px; height: 42px; background: rgba(242, 206, 94, 0.25); }

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
}
.scroll-cue-label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(8px); opacity: 0; }
}

/* ============================================================
   SEKCJE
   ============================================================ */

section { padding: 88px 0; }
.page-section { padding: 56px 0 72px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
}
.section-title.light { color: var(--gold); }
.section-sub {
  color: var(--muted);
  margin: 0 0 44px;
  max-width: 640px;
  font-weight: 300;
  font-size: 16.5px;
}
.section-sub.light { color: #b9b5aa; }

/* ============================================================
   PROCES PRODUKCJI — ciemna sekcja z animowanymi krokami
   ============================================================ */

.process { background: var(--black); color: #e8e5dc; }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--black-soft);
  border: 1px solid rgba(242, 206, 94, 0.16);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.process-step:hover { border-color: rgba(242, 206, 94, 0.45); transform: translateY(-4px); }

.step-visual {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}
.step-visual svg { width: 100%; height: 100%; overflow: visible; }

.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 30px;
  color: rgba(242, 206, 94, 0.28);
  letter-spacing: 0.05em;
  line-height: 1;
}
.process-step h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 6px;
  line-height: 1.7;
}
.process-step p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: #b9b5aa;
}

/* --- animacje SVG procesu (delikatne, zapetlone) --- */

.anim-sway { transform-origin: 60px 74px; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

.anim-drop-fall { animation: drop-fall 3.4s ease-in infinite; }
@keyframes drop-fall {
  0%, 55% { transform: translateY(0); opacity: 0; }
  60% { opacity: 1; }
  95% { transform: translateY(52px); opacity: 1; }
  100% { transform: translateY(52px); opacity: 0; }
}

.anim-drip { animation: drip 2.6s ease-in infinite; }
.anim-drip.d2 { animation-delay: 0.8s; }
.anim-drip.d4 { animation-delay: 1.6s; }
@keyframes drip {
  0%, 40% { transform: translateY(0); opacity: 0; }
  48% { opacity: 1; }
  92% { transform: translateY(34px); opacity: 1; }
  100% { transform: translateY(34px); opacity: 0; }
}

.anim-fill-pulse { animation: fill-pulse 2.6s ease-in-out infinite; }
@keyframes fill-pulse { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }

.anim-bubble { animation: bubble 3.2s ease-in infinite; }
.anim-bubble.d2 { animation-delay: 1s; }
.anim-bubble.d3 { animation-delay: 1.7s; }
.anim-bubble.d4 { animation-delay: 2.3s; }
@keyframes bubble {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-26px); opacity: 0; }
}

.anim-oil-layer { animation: oil-layer 4s ease-in-out infinite; transform-origin: 60px 56px; }
@keyframes oil-layer { 0%,100% { opacity: 0.55; transform: scaleX(0.94); } 50% { opacity: 1; transform: scaleX(1); } }

.anim-skim { transform-origin: 58px 48px; animation: skim 3.6s ease-in-out infinite; }
@keyframes skim { 0%,100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-5px); } }

.anim-drop-grow { transform-origin: 58px 74px; animation: drop-grow 3.6s ease-in-out infinite; }
@keyframes drop-grow { 0%, 20% { transform: scale(0); } 55%, 80% { transform: scale(1); } 100% { transform: scale(0); } }

.anim-ripple { animation: ripple 3.6s ease-in-out infinite; transform-origin: 60px 102px; }
@keyframes ripple { 0%,60% { transform: scaleX(1); opacity: 0.5; } 75% { transform: scaleX(1.06); opacity: 1; } 100% { transform: scaleX(1); opacity: 0.5; } }

.anim-bottle-fill { transform-origin: 60px 104px; transform: scaleY(0.12); animation: bottle-fill 5s ease-in-out infinite; }
@keyframes bottle-fill {
  0% { transform: scaleY(0.1); }
  70%, 88% { transform: scaleY(1); }
  100% { transform: scaleY(0.1); }
}

/* ============================================================
   PASMO JAKOSCI
   ============================================================ */

.quality { background: var(--white); }
.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}
.quality-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quality-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.quality-card svg { margin-bottom: 14px; }
.quality-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.quality-card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 300; }

/* ============================================================
   PRODUKTY — czysto i przejrzyscie
   ============================================================ */

.products { background: var(--paper); }

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 19px;
  font-size: 14px;
  font-weight: 600;
  min-height: 42px;
  transition: all 0.22s ease;
}
.chip:hover { border-color: var(--gold-deep); color: var(--ink); }
.chip.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.product-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-image .placeholder {
  font-size: 56px;
  opacity: 0.9;
  filter: grayscale(0.1);
}
/* eleganckie, stonowane tla placeholderow - subtelne, nie krzykliwe */
.product-image.cat-oils    { background: linear-gradient(160deg, #f8efd5, #f2e2ae); }
.product-image.cat-teas    { background: linear-gradient(160deg, #eceaf6, #dcd8ee); }
.product-image.cat-cheese  { background: linear-gradient(160deg, #f7efe3, #eee0c8); }
.product-image.cat-spices  { background: linear-gradient(160deg, #f6e9e4, #ecd6cd); }
.product-image.cat-pickles { background: linear-gradient(160deg, #f9f0dd, #f1e2bd); }
.product-image.cat-vinegar { background: linear-gradient(160deg, #e9f2ec, #d6e7dc); }
.product-image.cat-other   { background: linear-gradient(160deg, #f1f0ec, #e6e4de); }

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  width: fit-content;
}
.category-tag.cat-teas    { color: #6b5fae; }
.category-tag.cat-cheese  { color: #a3763c; }
.category-tag.cat-spices  { color: #b0533a; }
.category-tag.cat-pickles { color: #b07f2b; }
.category-tag.cat-vinegar { color: var(--green); }
.category-tag.cat-other   { color: var(--muted); }

.product-name { font-size: 17.5px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.75; }
.product-desc { font-size: 13.5px; font-weight: 300; color: var(--muted); margin: 0; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.product-price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.stock-pill { font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 11px; }
.stock-in  { background: var(--green-soft); color: var(--green); }
.stock-low { background: #f8ecce; color: #8a6a00; }
.stock-out { background: #f6dfdb; color: var(--danger); }

.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.qty-control button {
  background: transparent;
  border: none;
  width: 40px;
  height: 42px;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.2s ease;
}
.qty-control button:hover { background: var(--gold-soft); }
.qty-control .qty-value {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.add-btn {
  flex: 1;
  background: var(--black);
  color: var(--gold);
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 700;
  min-height: 44px;
  transition: background 0.22s ease, transform 0.22s var(--ease);
}
.add-btn:hover { background: #26262a; transform: translateY(-1px); }
.add-btn:disabled { background: #d9d7d0; color: #999; cursor: not-allowed; transform: none; }
.add-btn.added { background: var(--green); color: #fff; }

/* ============================================================
   WIDOKI / ARKUSZE (koszyk, checkout, platnosc...)
   ============================================================ */

.view { display: none; }
.view.active { display: block; }

.sheet {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.sheet.centered { text-align: center; }
.sheet h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  font-size: 28px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.step-indicator {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 4px;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.cart-line-price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cart-line-total { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.remove-btn {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 12.5px;
  padding: 4px;
  text-decoration: underline;
}

.totals { margin-top: 16px; font-size: 15px; }
.totals-row { display: flex; justify-content: space-between; padding: 5px 0; }
.totals-row.grand {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  padding-top: 12px;
}

.primary-btn {
  width: 100%;
  background: var(--black);
  color: var(--gold);
  border: none;
  border-radius: 999px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  margin-top: 24px;
  min-height: 52px;
  transition: background 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.primary-btn:hover { background: #26262a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,11,12,0.22); }
.primary-btn:disabled { background: #d9d7d0; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }
.ghost-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  min-height: 46px;
  transition: border-color 0.2s ease;
}
.ghost-btn:hover { border-color: var(--gold-deep); }
.empty-note { color: var(--muted); text-align: center; padding: 28px 0; font-weight: 300; }

/* ---------- formularze ---------- */

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px; /* >=16px zapobiega auto-zoomowi na iOS */
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16);
}
.form-error { color: var(--danger); font-size: 13.5px; min-height: 20px; margin-top: 8px; }

/* ---------- platnosc ---------- */

.pay-amount {
  text-align: center;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.pay-amount .label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.pay-amount .amount {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.pay-hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.pay-hint.after { margin-top: 26px; }

.qr-frame {
  background: var(--white);
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.qr-frame img { max-width: 260px; width: 100%; border-radius: 10px; }
.qr-missing { color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }

.ref-tag {
  background: var(--gold-soft);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.ref-tag .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #7a5c00; font-weight: 700; }
.ref-tag .code {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.14em;
  color: var(--ink);
  line-height: 1.3;
  user-select: all;
}
.ref-tag .hint { font-size: 12.5px; color: #7a5c00; }

.bank-box {
  font-size: 14.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.bank-box-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bank-box strong { color: var(--ink); }

/* ---------- sukces / sledzenie ---------- */

.success-check { display: flex; justify-content: center; margin-bottom: 10px; }
.check-path {
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: check-draw 0.7s var(--ease) 0.25s forwards;
}
@keyframes check-draw { to { stroke-dashoffset: 0; } }

.order-num-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.success-order-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ink);
  letter-spacing: 0.08em;
  background: var(--gold-soft);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
  user-select: all;
  line-height: 1.4;
}
.keep-note { font-size: 13px; color: var(--muted); font-weight: 300; }

.status-timeline { margin-top: 24px; text-align: left; }
.status-step { display: flex; gap: 14px; padding: 9px 0; align-items: flex-start; }
.status-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--line);
  margin-top: 8px;
  flex: none;
}
.status-step.done .status-dot { background: var(--green); }
.status-step.current .status-dot { background: var(--gold-deep); box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.2); }
.status-step .status-label { color: var(--muted); font-size: 15px; font-weight: 300; }
.status-step.done .status-label, .status-step.current .status-label { color: var(--ink); font-weight: 600; }

.order-summary-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 14px; }
.order-summary-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.order-summary-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- przyklejony pasek koszyka (mobile) ---------- */

.mobile-cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  border-top: 1px solid rgba(242, 206, 94, 0.25);
}
.mobile-cart-bar.visible { display: flex; }
.mobile-cart-bar .info { font-size: 14px; }
.mobile-cart-bar .total { font-family: var(--font-display); color: var(--gold); font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.mobile-cart-bar button {
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 800;
  font-size: 15px;
  min-height: 44px;
}

/* ---------- stopka ---------- */

.site-footer {
  background: var(--black);
  color: var(--muted-light);
  padding: 56px 0 96px; /* dol na sticky bar */
  font-size: 14px;
  font-weight: 300;
}
.footer-logo { width: 150px; height: auto; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.site-footer h4 {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(242, 206, 94, 0.14); font-size: 12.5px; }

/* ---------- toast / ladowanie / fokus ---------- */

.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--gold);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 60;
  box-shadow: var(--shadow-lift);
  max-width: 90vw;
  text-align: center;
}

.loading { text-align: center; color: var(--muted); padding: 36px 0; }
.spinner {
  width: 30px; height: 30px;
  border: 3px solid var(--line);
  border-top-color: var(--gold-deep);
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.5s; } }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

/* ---------- desktop ---------- */

@media (min-width: 680px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer { padding-bottom: 56px; }
}
@media (min-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .process-step { padding: 26px 20px 22px; }
  .step-visual { width: 84px; height: 84px; }
}

/* ============================================================
   NOWE: kod rabatowy, metody platnosci, lightbox, tilt, konfetti
   ============================================================ */

/* ---- kod rabatowy w koszyku ---- */
.discount-box { margin: 18px 0 6px; }
.discount-box label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); margin-bottom: 6px; letter-spacing: 0.02em;
}
.discount-row { display: flex; gap: 8px; }
.discount-row input {
  flex: 1; min-width: 0; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: border-color 0.2s var(--ease);
}
.discount-row input:focus { outline: none; border-color: var(--gold-deep); }
.discount-apply-btn {
  padding: 12px 18px; border: none; border-radius: 12px;
  background: var(--ink); color: var(--gold); font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s var(--ease), opacity 0.2s;
}
.discount-apply-btn:hover { transform: translateY(-1px); }
.discount-apply-btn:disabled { opacity: 0.5; cursor: wait; }
.discount-msg { min-height: 20px; font-size: 0.84rem; margin-top: 7px; }
.discount-msg.ok { color: var(--green); font-weight: 600; }
.discount-msg.bad { color: var(--danger); }
.totals-row.discount-line span { color: var(--green); font-weight: 600; }

/* ---- wybor metody platnosci w checkout ---- */
.pay-methods { margin: 20px 0 14px; }
.pay-methods-title {
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.pay-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin-bottom: 10px;
  border: 1.5px solid var(--line); border-radius: 14px;
  cursor: pointer; background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}
.pay-method:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.pay-method.selected {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(242, 206, 94, 0.25);
}
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--milk); color: var(--gold-deep);
}
.pay-method.selected .pay-method-icon { background: var(--gold); color: var(--black); }
.pay-method-text { display: flex; flex-direction: column; gap: 2px; }
.pay-method-text strong { font-size: 0.98rem; color: var(--ink); }
.pay-method-text small { font-size: 0.8rem; color: var(--muted); }

/* ---- lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 11, 12, 0.92);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
  padding: 24px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 720px); max-height: 84vh;
  border-radius: 16px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent; color: var(--white);
  font-size: 1.1rem; cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.product-image img { cursor: zoom-in; }

/* ---- efekt 3D tilt + polysk na kartach produktow ---- */
.product-card {
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.product-card.tilting {
  transition: box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-lift);
  z-index: 2;
}
.product-card.tilting::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(242, 206, 94, 0.16), transparent 55%
  );
}

/* ---- konfetti ---- */
.confetti-canvas {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
}

/* ============================================================
   WARSTWA "WOW": zloty shimmer, wstega, ornamenty, badge, fly-to-cart
   ============================================================ */

/* ---- zloty shimmer na haslach hero ---- */
.hero-tagline {
  background: linear-gradient(
    100deg,
    var(--gold-soft) 0%, var(--gold) 32%, #fff6d8 50%, var(--gold) 68%, var(--gold-soft) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: goldShimmer 6.5s linear infinite;
}
@keyframes goldShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* ---- zlota wstega produktow (marquee) ---- */
.marquee {
  background: linear-gradient(90deg, var(--black), #1a150a 50%, var(--black));
  border-top: 1px solid rgba(242, 206, 94, 0.35);
  border-bottom: 1px solid rgba(242, 206, 94, 0.35);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeScroll 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}
.marquee-dot { font-size: 0.9rem; opacity: 0.85; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- pasek zaufania ---- */
.trust-strip {
  background: var(--milk);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 34px; padding: 14px 20px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
}
.trust-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

/* ---- ornament pod tytulami sekcji (motyw kbach) ---- */
.section-title { position: relative; }
.section-title::after {
  content: '';
  display: block;
  width: 148px; height: 14px;
  margin: 14px auto 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 14'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 7h44c6 0 8-5 14-5s8 5 12 5 6-5 12-5 8 5 14 5h44'/%3E%3C/g%3E%3Ccircle cx='74' cy='7' r='3.4' fill='%23f2ce5e'/%3E%3Ccircle cx='60' cy='7' r='1.7' fill='%23c9a227'/%3E%3Ccircle cx='88' cy='7' r='1.7' fill='%23c9a227'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.section-title.light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 14'%3E%3Cg fill='none' stroke='%23f2ce5e' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 7h44c6 0 8-5 14-5s8 5 12 5 6-5 12-5 8 5 14 5h44'/%3E%3C/g%3E%3Ccircle cx='74' cy='7' r='3.4' fill='%23f2ce5e'/%3E%3Ccircle cx='60' cy='7' r='1.7' fill='%23f2ce5e'/%3E%3Ccircle cx='88' cy='7' r='1.7' fill='%23f2ce5e'/%3E%3C/svg%3E");
}

/* ---- badge na kartach produktow ---- */
.product-image { position: relative; }
.product-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(11, 11, 12, 0.22);
}
.product-badge.badge-NEW { background: var(--green); color: var(--white); }
.product-badge.badge-BESTSELLER { background: var(--black); color: var(--gold); }
.product-badge.badge-SALE {
  background: linear-gradient(120deg, #e0483a, #c0392b);
  color: var(--white);
  animation: salePulse 1.6s ease-in-out infinite;
}
@keyframes salePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(192, 57, 43, 0.35); }
  50% { transform: scale(1.07); box-shadow: 0 8px 24px rgba(192, 57, 43, 0.55); }
}

/* ---- przekreslona stara cena ---- */
.price-old {
  color: var(--muted-light);
  font-size: 0.82em;
  font-weight: 500;
  margin-right: 4px;
}
.product-price.price-sale { color: #c0392b; }

/* ---- zlota poswiata karty przy najechaniu ---- */
.product-card:hover {
  box-shadow:
    0 18px 50px rgba(11, 11, 12, 0.14),
    0 0 0 1.5px rgba(242, 206, 94, 0.65),
    0 0 34px rgba(242, 206, 94, 0.22);
}

/* ---- "leci do koszyka" + podskok ikony ---- */
.fly-ghost {
  position: fixed; z-index: 1200;
  object-fit: cover; border-radius: 12px;
  pointer-events: none;
  opacity: 0.95;
  transition: transform 0.62s cubic-bezier(0.35, 0.8, 0.35, 1), opacity 0.62s ease;
  box-shadow: 0 14px 40px rgba(11, 11, 12, 0.3);
}
.cart-bump { animation: cartBump 0.35s var(--ease); }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.22) rotate(-4deg); }
  100% { transform: scale(1); }
}

/* ---- dostepnosc: ograniczony ruch ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-tagline { animation: none; background-position: 50% 0; }
  .marquee-track { animation: none; }
  .product-badge.badge-SALE { animation: none; }
}

/* ---- plywajacy przycisk Messengera ---- */
.messenger-fab {
  position: fixed; right: 16px; bottom: 20px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--gold);
  padding: 13px 16px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 14px 40px rgba(11, 11, 12, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.messenger-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(11, 11, 12, 0.4), 0 0 0 1.5px rgba(242, 206, 94, 0.5); }
.messenger-fab:active { transform: scale(0.96); }
.messenger-fab-label {
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width 0.3s var(--ease), opacity 0.3s var(--ease);
}
@media (min-width: 768px) {
  .messenger-fab:hover .messenger-fab-label { max-width: 220px; opacity: 1; }
}
.messenger-fab-ring {
  position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid rgba(242, 206, 94, 0.5);
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .messenger-fab-ring { animation: none; opacity: 0; } }

/* ============================================================
   SLIDER NA KARTACH + WIDOK SZCZEGOLOW PRODUKTU
   ============================================================ */

/* ---- slider ---- */
.slider { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; }
.slider-track {
  display: flex; height: 100%;
  transition: transform 0.45s var(--ease);
}
.slider-track img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }
.slider-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255, 255, 255, 0.55); cursor: pointer;
  box-shadow: 0 1px 4px rgba(11, 11, 12, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.slider-dot.on { background: var(--gold); transform: scale(1.25); }

/* ---- widok szczegolow produktu ---- */
.product-detail {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.product-detail.open { opacity: 1; pointer-events: auto; }
.detail-sheet {
  position: relative; width: 100%; max-width: 900px;
  max-height: 92vh; overflow-y: auto;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 70px rgba(11, 11, 12, 0.4);
  transform: translateY(24px);
  transition: transform 0.3s var(--ease);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.product-detail.open .detail-sheet { transform: translateY(0); }
@media (min-width: 820px) {
  .product-detail { align-items: center; padding: 24px; }
  .detail-sheet { grid-template-columns: 1.05fr 1fr; border-radius: 22px; max-height: 86vh; }
}
.detail-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--ink); color: var(--gold); font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease);
}
.detail-close:hover { transform: rotate(90deg); }
.detail-gallery { padding: 16px 16px 0; }
@media (min-width: 820px) { .detail-gallery { padding: 22px 0 22px 22px; } }
.detail-main {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: var(--milk); display: grid; place-items: center;
}
.detail-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.detail-main .placeholder { font-size: 4rem; }
.detail-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.detail-thumb {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--line); padding: 0; background: var(--white); cursor: pointer;
  transition: border-color 0.2s;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb.on { border-color: var(--gold-deep); }
.detail-info { padding: 18px 20px 26px; }
@media (min-width: 820px) { .detail-info { padding: 26px 26px 26px 22px; } }
.cat-chip {
  display: inline-block; font-size: 0.74rem; font-weight: 600;
  color: var(--green); background: var(--green-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.detail-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; margin-bottom: 8px; }
.detail-price { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 14px; }
.detail-desc { color: var(--muted); line-height: 1.75; font-size: 0.95rem; white-space: pre-line; margin-bottom: 16px; }
.detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.detail-links-title { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line);
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
  transition: border-color 0.2s, transform 0.15s var(--ease);
}
.detail-link:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.detail-qty { margin-top: 4px; }
.detail-add { min-height: 46px; }

/* Przycisk "Wyczysc koszyk" - akcja awaryjna, wyswietlana subtelnie */
.cart-clear-btn {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  background: transparent;
  border-color: transparent;
}
.cart-clear-btn:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* ---- wybor metody dostawy (dostawa / odbior) ---- */
.delivery-method { margin-bottom: 18px; }
.delivery-method-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.delivery-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.delivery-opt:hover { border-color: var(--gold-deep); }
.delivery-opt.selected { border-color: var(--green); background: var(--green-soft); }
.delivery-opt input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-opt-icon { color: var(--ink); flex-shrink: 0; }
.delivery-opt-text { display: flex; flex-direction: column; gap: 2px; }
.delivery-opt-text strong { font-size: 0.95rem; }
.delivery-opt-text small { color: var(--muted); font-size: 0.82rem; }

/* ---- karta z danymi punktu odbioru ---- */
.pickup-info {
  background: var(--milk); border: 1px solid var(--gold-soft);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.pickup-info-name { font-weight: 700; margin-bottom: 4px; }
.pickup-info-address { color: var(--ink); font-size: 0.9rem; }
.pickup-info-hours { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.pickup-info-map {
  display: inline-block; margin-top: 10px;
  color: var(--green); font-weight: 600; text-decoration: none;
  font-size: 0.9rem;
}
.pickup-info-map:hover { text-decoration: underline; }

/* ============================================================
   PLAKIETKA "COMING SOON" (zapowiedz produktu)
   ============================================================ */

/* Zloty polysk - buduje oczekiwanie, ale bez czerwonej pilnosci plakietki SALE */
.product-badge.badge-COMING_SOON {
  background: linear-gradient(
    100deg,
    var(--gold-deep) 0%, var(--gold) 38%, #fff6d8 50%, var(--gold) 62%, var(--gold-deep) 100%
  );
  background-size: 220% 100%;
  color: var(--black);
  animation: comingSoonShimmer 4.5s linear infinite;
}
@keyframes comingSoonShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

/* Etykieta obok ceny - czarno-zlota, wyraznie inna niz stany magazynowe */
.stock-soon { background: var(--ink); color: var(--gold); }

/* Karta zapowiedzi lekko przygaszona, zeby bylo jasne, ze to jeszcze nie sprzedaz */
.product-card.coming-soon .product-image img { filter: saturate(0.78); }

@media (prefers-reduced-motion: reduce) {
  .product-badge.badge-COMING_SOON { animation: none; background-position: 50% 0; }
}

/* ============================================================
   PASEK REGIONALNY (informacja o sklepie dla innego regionu)
   ============================================================ */
.region-bar {
  background: linear-gradient(90deg, #0b0b0c 0%, #16160f 50%, #0b0b0c 100%);
  border-bottom: 1px solid rgba(242, 206, 94, 0.28);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s var(--ease), max-height 0.3s var(--ease);
}
.region-bar.visible { opacity: 1; max-height: 140px; }
.region-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.region-bar-icon { font-size: 14px; line-height: 1; flex-shrink: 0; }
.region-bar-text { color: #e8e6df; font-size: 13px; flex: 1; min-width: 180px; }
.region-bar-cta {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 206, 94, 0.45);
  white-space: nowrap;
}
.region-bar-cta:hover { color: #fff6d8; border-bottom-color: #fff6d8; }
.region-bar-close {
  background: none;
  border: none;
  color: #8a877e;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  line-height: 1;
  flex-shrink: 0;
}
.region-bar-close:hover { color: var(--gold); }

/* ============================================================
   BANER COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  background: rgba(11, 11, 12, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 206, 94, 0.3);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.cookie-banner.visible { opacity: 1; transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 220px; }
.cookie-banner-text strong { color: var(--gold); font-size: 14px; display: block; margin-bottom: 3px; }
.cookie-banner-text p { color: #cfccc3; font-size: 12.5px; margin: 0 0 7px; line-height: 1.45; }
.cookie-opt { display: flex; align-items: center; gap: 7px; color: #cfccc3; font-size: 12.5px; cursor: pointer; }
.cookie-opt input { width: auto; accent-color: var(--gold); cursor: pointer; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept, .cookie-btn-reject {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cookie-btn-accept { background: var(--gold); color: var(--black); }
.cookie-btn-accept:hover { background: #fff6d8; }
.cookie-btn-reject { background: transparent; color: #cfccc3; border-color: rgba(255, 255, 255, 0.22); }
.cookie-btn-reject:hover { border-color: var(--gold); color: var(--gold); }

/* Na waskich ekranach przyciski w pelnej szerokosci, zeby dalo sie trafic kciukiem */
@media (max-width: 560px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-reject { flex: 1; }
}

/* ============================================================
   STRONY PRAWNE (polityka prywatnosci, regulamin)
   ============================================================ */
.legal-doc { max-width: 760px; margin: 0 auto; text-align: left; }
.legal-doc h2 { margin: 0 0 4px; }
.legal-doc h3 { margin: 26px 0 8px; font-size: 1.02rem; }
.legal-doc p, .legal-doc li { color: var(--ink); font-size: 0.93rem; line-height: 1.65; }
.legal-doc ul { padding-left: 20px; margin: 8px 0; }
.legal-doc li { margin-bottom: 5px; }
.legal-meta { color: var(--muted); font-size: 0.85rem !important; margin-top: 0; }
.legal-doc a { color: var(--green); }

.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 0.86rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--milk); font-weight: 700; }

/* Luki do uzupelnienia - maja krzyczec, zeby nie dalo sie ich przeoczyc */
.legal-gap {
  background: #fff3cd;
  color: #7a5a00;
  border: 1px dashed #d9ad3c;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.86em;
  font-weight: 600;
}

.footer-legal p { margin: 4px 0; }
.cookie-link-wrap { margin: 0 0 7px !important; }
.cookie-link-wrap a { color: var(--gold); font-size: 12.5px; text-decoration: underline; }
