/* =========================================================
   RENOLIVA — Design System & Global Styles
   Tokens derived from Figma (KcgMMBtfqbgtig9UNmeYVt)
   ========================================================= */

:root {
  /* Colors */
  --color-primary: #1f3634;
  --color-primary-dark: #173734;
  --color-primary-darker: #162b1e;
  --color-accent: #228536;
  --color-accent-dark: #184f2e;
  --color-accent-darker: #1c3d28;
  --color-accent-light: #7ec89a;
  --color-accent-soft: #d6ebdb;

  --color-bg: #ffffff;
  --color-bg-alt: #faf9f6;
  --color-bg-soft: #edf6ef;
  --color-bg-soft-2: #f4f8f3;
  --color-bg-dark: #1c2a22;

  --color-text: #1d1d1b;
  --color-text-soft: #4b5d52;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-border-soft: #d9d9d9;

  --color-warning: #fea21c;
  --color-orange: #c2410c;
  --color-danger: #e84f45;
  --color-danger-dark: #d93725;

  --color-white: #ffffff;
  --color-black: #000000;
  --color-navy: #2c336e;

  /* Typography */
  --font-primary: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Maname', Georgia, serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(23, 55, 52, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 55, 52, 0.12);
  --shadow-lg: 0 16px 48px rgba(23, 55, 52, 0.16);

  /* Layout */
  --container-max: 1280px;
  --container-pad: 30px;
  --header-height: 84px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; -webkit-appearance: none; appearance: none; }
input, select, textarea { background: none; }
table { border-collapse: collapse; }

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Layout utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: 30px; }
.section--tight { padding-block: 30px; }
.section--soft { background: var(--color-bg-soft); }
.section--dark { background: var(--color-primary); color: var(--color-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-soft);
  max-width: 640px;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--gap-2 { gap: var(--space-2); }
.flex--gap-3 { gap: var(--space-3); }
.flex--gap-4 { gap: var(--space-4); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--dark:hover { background: var(--color-primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--icon { padding: 12px; border-radius: var(--radius-full); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FBFBFBF2;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  height: var(--header-height);
}

.logo {
  font-family: var(--font-accent);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-badge svg { display: block; height: 36px; width: auto; }
.footer-newsletter .logo-badge svg { height: 30px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.main-nav__link {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-black);
  transition: color var(--transition-fast);
  position: relative;
}
.main-nav__link:hover, .main-nav__link.is-active { color: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.icon-btn:hover { background: var(--color-bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-count[hidden] { display: none; }

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.mobile-menu-toggle .icon-menu,
.mobile-menu-toggle .icon-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}
.mobile-menu-toggle .icon-menu svg,
.mobile-menu-toggle .icon-close svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.mobile-menu-toggle .icon-close { opacity: 0; }
.mobile-menu-toggle.is-active .icon-menu { opacity: 0; }
.mobile-menu-toggle.is-active .icon-close { opacity: 1; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-white);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  z-index: 99;
  padding: 4px var(--container-pad);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__link {
  display: block;
  padding: var(--space-4) 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__link:last-child { border-bottom: none; }

/* =========================================================
   Trust bar (thin strip above header)
   ========================================================= */
.trust-bar { background: var(--color-primary); }
.trust-bar__link { display: flex; align-items: center; justify-content: center; gap: var(--space-2); height: 40px; color: var(--color-white); font-size: 16px; font-weight: 500; }
.trust-bar__link svg { flex-shrink: 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-block: 30px; overflow: hidden; }
.hero__inner { display: flex; align-items: stretch; gap: var(--space-7); }
.hero__content { flex: 1 1 650px; min-width: 0; max-width: 662px; }
.hero__rating { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--color-bg-soft); border-radius: var(--radius-full); padding: 6px 16px; }
.hero__stars { color: #fea21c; font-size: 18px; letter-spacing: 2px; }
.hero__rating-value { font-size: 18px; font-weight: 700; color: #216b3e; }
.hero__title { font-family: 'Onest', sans-serif; font-size: 44px; font-weight: 700; line-height: 1.27; color: var(--color-bg-dark); margin-top: var(--space-5); }
.hero__title-accent { color: #216b3e; }
.hero__desc { font-size: 24px; font-weight: 400; color: var(--color-text-soft); line-height: 1.33; margin-top: var(--space-5); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: var(--space-6); }
.hero__trust span { display: flex; align-items: center; gap: var(--space-2); font-size: 16px; color: var(--color-text-soft); }
.hero__trust svg { flex-shrink: 0; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }
.hero__cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 350px; flex-shrink: 0;
  background: #2d7b49; color: var(--color-white);
  font-size: 20px; font-weight: 700;
  padding: 16px 20px; border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.hero__cta-primary:hover { background: #235f39; }
.hero__cta-secondary {
  display: inline-flex; align-items: center; gap: var(--space-2);
  border: 1px solid #216b3e; color: #216b3e;
  font-size: 18px; font-weight: 400;
  padding: 16px 20px; border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.hero__cta-secondary:hover { background: var(--color-bg-soft); }
.hero__payments { display: inline-flex; align-items: center; gap: var(--space-3); background: var(--color-white); border-radius: var(--radius-lg); padding: 7px 20px; margin-top: var(--space-5); box-shadow: var(--shadow-sm); }
.hero__card { position: relative; flex: 1 1 500px; min-width: 0; max-width: 686px; border-radius: 40px; overflow: hidden; }
.hero__card-img { width: 100%; height: 100%; object-fit: cover; }
.hero__card::after { content: ""; position: absolute; inset: 0; }
.hero__card-badge { position: absolute; top: 11px; right: 11px; width: 100px; height: 100px; border-radius: 50%; z-index: 2; }
.hero__card-discount {
  position: absolute; top: 11px; left: 20px; z-index: 2;
  background: var(--color-orange); color: var(--color-white);
  font-size: 32px; font-weight: 700;
  padding: 10px 20px; border-radius: var(--radius-full);
}

.slider-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow--prev { position: absolute; left: var(--space-5); top: 50%; transform: translateY(-50%); }
.slider-arrow--next { position: absolute; right: var(--space-5); top: 50%; transform: translateY(-50%); }

/* =========================================================
   Problem/Statistics + Why We Created (one merged gradient section)
   ========================================================= */
.problem-section { background: linear-gradient(180deg, #1f3634 0%, #6cb166 100%); padding-block: 30px; }
.problem-section__main { display: flex; align-items: center; gap: var(--space-7); flex-wrap: nowrap; }
.problem-section__image { flex: 0 1 652px; min-width: 0; }
.problem-section__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 40px; }
.problem-section__text { width: 650px; max-width: 100%; flex: 0 1 650px; min-width: 0; }
.problem-section__title { font-size: 32px; font-weight: 700; color: var(--color-white); line-height: 1.25; }
.problem-section__desc { font-size: 20px; font-weight: 500; color: var(--color-white); line-height: 1.3; margin-top: var(--space-4); }
.problem-section__stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-top: var(--space-6); }
.problem-stat { width: 310px; max-width: 100%; }
.problem-stat__figure { font-size: 60px; font-weight: 700; color: var(--color-white); line-height: 1; }
.problem-stat__text { font-size: 20px; font-weight: 400; color: var(--color-white); margin-top: var(--space-2); line-height: 1.3; }

.problem-section__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-top: 21px; }
.problem-section__cta-title { font-size: 32px; font-weight: 700; color: var(--color-white); max-width: 650px; flex: 1 1 400px; min-width: 280px; }
.problem-section__benefits { position: relative; width: 650px; max-width: 100%; aspect-ratio: 650 / 340; flex: 0 0 650px; }
.problem-section__benefits-img { position: absolute; left: 38.46%; top: 0; width: 41.54%; height: 100%; object-fit: cover; border-radius: 16px; }
.problem-pill-row { position: absolute; inset: 0; }
.problem-pill { position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; background: rgba(255,255,255,0.3); color: #fff; font-size: 18px; font-weight: 700; height: 50px; width: min-content; padding: 10px 20px; border-radius: 16px; }
.problem-pill--cfu { left: 8.5%; top: 7%; }
.problem-pill--skladniki { left: 68.5%; top: 17.7%; }
.problem-pill--ue { left: 2%; top: 38.5%; }
.problem-pill--vegan { left: 20%; top: 67%; }
.problem-pill--gmp { left: 66.5%; top: 60%; }
.problem-pill__check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; }
.problem-section__refs { font-size: 10px; color: rgba(255,255,255,0.7); margin-top: 0; line-height: 1.6; text-align: center; }

/* =========================================================
   JAK WSPIERA CIĘ RENOLIVA (weeks timeline)
   ========================================================= */
.benefits { background: var(--color-white); padding: 30px; }
.benefits .container { max-width: 1380px; padding-inline: 0; }
.benefits__row { display: flex; align-items: center; gap: 50px; flex-wrap: nowrap; }
.benefits__left { display: flex; flex-direction: column; gap: 20px; width: 850px; max-width: 100%; flex: 0 1 850px; min-width: 0; }
.benefits__header { display: flex; flex-direction: column; gap: 16px; }
.benefits__title { font-family: var(--font-primary); font-size: 32px; font-weight: 700; color: #000; line-height: 1.25; }
.benefits__subtitle { font-family: var(--font-primary); font-size: 20px; font-weight: 400; color: #000; line-height: 1.4; }
.benefits__timeline { position: relative; display: flex; flex-direction: column; gap: 24px; }
.benefits__week { position: relative; display: flex; }
.benefits__week:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 13px; width: 1px; height: calc(100% + 24px); background: #008729; }
.benefits__dot { position: relative; flex: 0 0 27px; width: 27px; height: 27px; }
.benefits__dot::before { content: ""; position: absolute; top: 5px; left: 5px; width: 17px; height: 17px; border-radius: 50%; background: #2d7b49; opacity: 0.15; }
.benefits__dot-inner { position: absolute; top: 8px; left: 8px; width: 11px; height: 11px; border-radius: 50%; background: #008729; }
.benefits__content { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.benefits__badge { display: inline-flex; align-self: flex-start; background: #2d7b49; color: var(--color-white); font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-full); }
.benefits__week-title { font-family: var(--font-primary); font-size: 20px; font-weight: 600; color: #111; line-height: 1.3; }
.benefits__week-desc { font-family: var(--font-primary); font-size: 14px; font-weight: 400; color: #111; line-height: 1.4; }
.benefits__recommendation { background: #6cb166; border-radius: 15px; padding: 15px 20px; }
.benefits__recommendation p { font-family: var(--font-primary); font-size: 22px; font-weight: 700; color: var(--color-white); line-height: 1.275; text-align: center; }
.benefits__image { width: 480px; max-width: 100%; flex: 0 1 480px; min-width: 0; }
.benefits__image img { width: 100%; height: 100%; aspect-ratio: 480 / 617; object-fit: cover; border-radius: 40px; }
.benefits__disclaimer { font-family: var(--font-primary); font-size: 12px; font-weight: 300; color: #000; line-height: 1.275; margin-top: 20px; text-align: center; }

.free-from { background: #ebe9e9; overflow: hidden; padding-block: 22.5px; }
.free-from__track { display: flex; width: max-content; animation: freeFromScroll 22s linear infinite; }
.free-from__group { display: flex; align-items: center; flex-shrink: 0; }
.free-from__item { display: flex; align-items: center; gap: 20px; font-size: 18px; font-weight: 400; color: #1f3634; padding-inline: 20px; white-space: nowrap; text-decoration: line-through; }
.free-from__item .free-from__divider { text-decoration: none; }
.free-from__divider { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex-shrink: 0; }
.free-from__divider svg { width: 100%; height: 100%; }
@keyframes freeFromScroll { from { transform: translateX(0); } to { transform: translateX(-20%); } }

/* =========================================================
   USAGE BANNER (Optymalna kuracja)
   ========================================================= */
.usage-banner {
  background-image: linear-gradient(90deg, rgba(0,135,41,0.75) 0%, rgba(0,33,10,0.6) 100%), url('../images/7afaa9efb75db3711241366cc6e1752df10bd6ab.jpg');
  background-size: cover; background-position: center;
  padding: 30px 40px;
  display: flex; justify-content: center;
}
.usage-banner__card { display: flex; align-items: center; justify-content: center; gap: 24px; width: 640px; max-width: 100%; min-height: 190px; background: #ffffff4d; border-radius: 30px; padding: 20px 10px; box-sizing: border-box; }
.usage-banner__text { display: flex; flex-direction: column; gap: 10px; width: 427px; max-width: 100%; }
.usage-banner__title { font-family: var(--font-primary); font-size: 28px; font-weight: 700; color: var(--color-white); line-height: 1.275; }
.usage-banner__divider { display: block; width: 100%; height: 1px; background: var(--color-white); }
.usage-banner__desc { font-family: var(--font-primary); font-size: 18px; font-weight: 500; color: var(--color-white); line-height: 1.4; text-align: center; }
.usage-banner__image { flex-shrink: 0; width: 115px; height: 150px; object-fit: contain; }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card__media {
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.product-card__media img { max-height: 220px; width: auto; }
.product-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.product-card__title { font-size: 20px; font-weight: 800; }
.product-card__subtitle { font-family: var(--font-secondary); font-size: 14px; color: var(--color-text-soft); }
.product-card__features { display: flex; flex-direction: column; gap: var(--space-2); font-size: 13px; color: var(--color-text-soft); }
.product-card__features li::before { content: "✓ "; color: var(--color-accent); font-weight: 700; }

.ingredient-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: linear-gradient(180deg, rgba(1,23,7,0) 0%, rgba(1,23,7,0.2) 50%, rgba(1,23,7,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}
.ingredient-card.is-active { opacity: 1; border-color: #fff; }
.ingredient-card__title { font-size: 22px; font-weight: 600; color: var(--color-white); }
.ingredient-card__media { border-radius: var(--radius-md); width: 100%; height: 170px; overflow: hidden; }
.ingredient-card__media img { width: 100%; height: 100%; object-fit: contain; }
.ingredient-card__meta { display: flex; align-items: center; gap: var(--space-2); font-size: 16px; font-weight: 600; color: var(--color-white); }
.ingredient-card__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.ingredient-card__desc { padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,0.3); font-size: 14px; font-weight: 400; color: var(--color-white); line-height: 1.4; }

.sklad__track-wrap { max-width: 1440px; padding-inline: 0; position: relative; }

.ingredients-arrow {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 2;
  width: 72px; height: 72px;
  background: none; border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-fast);
}
.ingredients-arrow svg { display: block; }
.ingredients-arrow--prev { left: 16px; }
.ingredients-arrow--next { right: 16px; }
.ingredients-arrow--next svg { transform: scaleX(-1); }
/* Tap/press feedback — :active alone isn't reliable on mobile touch (same
   reasoning as flashTap()'s .is-tap-flash elsewhere), so JS adds this same
   class briefly on click too, guaranteeing the same visible press on both
   desktop clicks and mobile taps. Inverts the SVG's own dark-circle/white-
   chevron colors (first <rect> is the circle background, the border ring
   <rect> has no fill of its own — inherits none from the root <svg> — so
   only the first one needs touching) rather than just scaling, per client
   request for a clearer color-based press state. */
.ingredients-arrow:active, .ingredients-arrow.is-tap-flash { transform: translateY(-50%) scale(0.88); }
.ingredients-arrow svg rect:first-of-type, .ingredients-arrow svg path { transition: fill var(--transition-fast); }
.ingredients-arrow:active svg rect:first-of-type, .ingredients-arrow.is-tap-flash svg rect:first-of-type { fill: #fff; }
.ingredients-arrow:active svg path, .ingredients-arrow.is-tap-flash svg path { fill: #1E3328; }

.ingredients-track {
  display: flex;
  gap: var(--space-5);
  width: 1440px;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Spacer padding equal to half the track minus half a card's width, so
     scrolling has enough room left for the FIRST and LAST cards to reach
     dead-center too — without it, scrolling maxes out once the last
     card's edge hits the track edge, short of actually centering it. */
  padding-inline: calc(50% - 140px);
  padding-bottom: var(--space-4);
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ingredients-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ingredients-track::-webkit-scrollbar { display: none; }

.ingredients-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: var(--space-4); }
.ingredients-dots__dot { width: 6px; height: 6px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all var(--transition-fast); }
.ingredients-dots__dot.is-active { width: 8px; height: 8px; background: var(--color-white); }

/* Efekty (light) */
.efekty { background: var(--color-bg-alt); padding: 30px 100px; }
.efekty .container { padding-inline: 0; }
.efekty__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.efekty__text { display: flex; flex-direction: column; gap: 20px; flex: 1 1 520px; min-width: 0; }
.efekty__title { font-size: 32px; font-weight: 700; color: var(--color-bg-dark); }
.efekty__list { display: flex; flex-direction: column; gap: 20px; }
.efekty__list li { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: #000; }
.efekty__icon { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, #fff, #999); }
.efekty__icon img { width: 100%; height: 100%; object-fit: cover; }
.efekty__media { flex: 1 1 660px; min-width: 0; aspect-ratio: 660 / 462; border-radius: 32px; overflow: hidden; background: var(--color-white); }
/* <picture> has no intrinsic height of its own, so the img's height:100%
   had nothing definite to resolve against and fell back to auto (sized
   from its own intrinsic ratio) — leaving a gap under a shorter image. */
.efekty__media picture { display: block; width: 100%; height: 100%; }
.efekty__media img { width: 100%; height: 100%; object-fit: cover; }
.efekty__disclaimer { font-size: 12px; color: #000; margin-top: 20px; text-align: center; }

/* =========================================================
   JAK STOSOWAĆ (usage instructions)
   ========================================================= */
.usage-instructions { background: #effde7; padding: 30px 40px; display: flex; justify-content: center; }
.usage-instructions__inner { display: flex; align-items: center; gap: 20px; width: 840px; max-width: 100%; }
.usage-instructions__image { flex-shrink: 0; width: 293px; height: 150px; border-radius: 100px; overflow: hidden; background: linear-gradient(135deg, #fff, #999); box-shadow: 0 4px 30px 0 rgba(0,0,0,0.25); }
.usage-instructions__image img { width: 100%; height: 100%; object-fit: cover; }
.usage-instructions__text { flex: 1 1 400px; min-width: 0; }
.usage-instructions__title { font-family: var(--font-primary); font-size: 28px; font-weight: 700; color: #173634; }
.usage-instructions__desc { font-family: var(--font-primary); font-size: 20px; font-weight: 400; color: #173634; }

/* Skład (dark) */
.sklad { background: var(--color-primary); padding-block: 30px; }
.sklad__title { font-size: 32px; font-weight: 700; color: var(--color-white); margin-bottom: var(--space-6); text-align: center; }
.sklad__footnote { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 48px; text-align: center; }

.research-panel { margin-top: var(--space-6); max-width: 640px; margin-inline: auto; background: #182c2b; border-radius: var(--radius-md); overflow: hidden; }
.research-panel__header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) var(--space-5); font-size: 18px; font-weight: 600; color: var(--color-white);
  cursor: pointer;
}
.research-panel.is-open .research-panel__header { border-bottom: 1px solid rgba(255,255,255,0.15); }
/* Plus/minus toggle: a horizontal + vertical bar (a "+"); the vertical bar
   fades out when open, leaving just the horizontal one (a "−"). */
.research-panel__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.research-panel__icon::before, .research-panel__icon::after {
  content: ""; position: absolute; background: var(--color-white); border-radius: 1px;
}
.research-panel__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.research-panel__icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); transition: opacity var(--transition-fast); }
.research-panel.is-open .research-panel__icon::after { opacity: 0; }
/* Collapsible body — same grid-rows 0fr/1fr trick as .katalog-detail-wrap. */
.research-panel__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.research-panel.is-open .research-panel__body { grid-template-rows: 1fr; }
.research-panel__body-inner { overflow: hidden; min-height: 0; }
.research-panel__links { padding: var(--space-2) var(--space-5); }
.research-panel__link { display: flex; gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 13px; color: #c8dcd2; }
.research-panel__link:last-child { border-bottom: none; }
.research-panel__link a { text-decoration: underline; }
.research-panel__num { color: #2d7b49; font-weight: 500; flex-shrink: 0; }
.research-panel__footer { padding: var(--space-4) var(--space-5); font-size: 10px; font-weight: 100; color: var(--color-white); }

/* =========================================================
   INDEPENDENT VERIFICATION (verified card)
   ========================================================= */
.verified { background: var(--color-white); padding-block: 30px; }
.verified__card { background: var(--color-white); border-radius: 15px; padding: 0 100px; text-align: center; }
.verified__title { font-family: var(--font-primary); font-size: 32px; font-weight: 700; color: #184f2e; margin-bottom: var(--space-5); }
.verified__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.verified__badge { display: inline-flex; align-items: center; gap: 10px; background: #edf5f0; border-radius: 20px; padding: 8px 16px 8px 12px; font-family: var(--font-primary); font-size: 14px; font-weight: 500; color: #2e4538; }
.verified__check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* =========================================================
   HONEST CONVERSATION (speech-bubble Q&A)
   ========================================================= */
.honest { background: #fbf8f1; padding-block: 30px; }
.honest__header { max-width: 880px; margin-inline: auto; text-align: center; margin-bottom: var(--space-6); }
.honest__title { font-family: var(--font-primary); font-size: 32px; font-weight: 700; color: #000; }
.honest__subtitle { font-family: var(--font-primary); font-size: 20px; font-weight: 400; color: #000; margin-top: var(--space-3); }
.honest__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; }
.honest-card { flex: 0 0 310px; max-width: 100%; }
.honest-card__q { position: relative; z-index: 2; right: 30px; background: #173734; border-radius: 15px; padding: 14px 10px; text-align: center; }
.honest-card__q p { font-family: var(--font-primary); font-size: 18px; font-weight: 700; color: var(--color-white); line-height: 1.3; }
.honest-card__a { position: relative; background: #e5f3e4; border-radius: 15px; padding: 14px 10px; margin-top: -20px; padding-top: 30px; }
.honest-card__a p { font-family: var(--font-primary); font-size: 16px; font-weight: 400; color: #173734; line-height: 1.4; }
.honest-card__tail { position: absolute; bottom: -14px; display: block; }
.honest-card__tail--q { left: 0; }
.honest-card__tail--a { right: 0; }
.honest__cta { display: flex; justify-content: center; margin-top: var(--space-7); }
.honest__cta-btn { display: inline-flex; align-items: center; justify-content: center; background: #2d7b49; color: var(--color-white); font-family: var(--font-primary); font-size: 20px; font-weight: 700; padding: 16px 36px; border-radius: var(--radius-full); text-align: center; transition: background var(--transition-fast); }
.honest__cta-btn:hover { background: #235f39; }

/* Comparison */
.comparison { background: linear-gradient(135deg, #1c2a22 0%, #31453e 55%, #329d4f 100%); padding-block: 30px; }
.comparison__title { font-size: 32px; font-weight: 700; color: #fbfbfb; max-width: 750px; margin-inline: auto; margin-bottom: var(--space-6); text-align: center; }
.comparison__images { display: grid; grid-template-columns: 508px 508px; justify-content: center; gap: var(--space-5); max-width: 1040px; margin-inline: auto; margin-bottom: 16px; }
.comparison__images img { width: 100%; max-width: 508px; height: 300px; object-fit: cover; border-radius: var(--radius-lg); background: #d9d9d9; }
.comparison__rows { display: flex; flex-direction: column; max-width: 1040px; margin-inline: auto; }
.comparison__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: var(--space-3) 0; border-bottom: 1px solid rgba(251,251,251,0.3); }
.comparison__row:last-child { border-bottom: none; }
.comparison__cell { display: flex; align-items: center; gap: var(--space-3); font-size: 18px; font-weight: 400; color: #fbfbfb; }
.comparison__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; }
.comparison__icon--yes { background: #7caf6e; }
.comparison__icon--no { background: #f09f98; }
.comparison__disclaimer { font-size: 12px; color: #9db770; margin-top: var(--space-6); text-align: center; }

@media (max-width: 1060px) {
  .comparison__images { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .comparison__images img { max-width: 100%; }
  .comparison__rows { max-width: 100%; }
}

/* Offer / Oferta (dark, tabbed, slider) */
.offer { background: var(--color-primary); padding-block: 30px; }
.offer__header { max-width: 700px; margin: 0 auto var(--space-6); text-align: center; }
.offer__title { font-size: 32px; font-weight: 700; color: var(--color-white); }
.offer__subtitle { font-size: 18px; font-weight: 400; color: var(--color-white); opacity: 0.9; margin-top: var(--space-2); }

.offer__tabs { display: flex; width: 380px; background: rgba(255,255,255,0.08); border-radius: var(--radius-full); padding: 4px; margin: 0 auto var(--space-6); }
.offer__tab { flex: 1; padding: 10px 24px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; color: #e8f3e5; text-align: center; }
.offer__tab.is-active { background: var(--color-white); color: var(--color-primary); }

.offer__panel { display: none; }
.offer__panel.is-active { display: block; }

.offer-slider { position: relative; }
.offer-slider__viewport { overflow: hidden; margin-inline: auto; }
.offer-slider__track { display: flex; gap: var(--space-5); transition: transform var(--transition-base); cursor: grab; }
.offer-slider__track.is-dragging { cursor: grabbing; transition: none; }
.offer-slider__arrow {
  position: absolute; top: 212px; z-index: 2;
  width: 72px; height: 72px;
  background: none; border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.offer-slider__arrow svg { display: block; }
.offer-slider__arrow--prev { left: -36px; }
.offer-slider__arrow--next { right: -36px; }
.offer-slider__arrow--next svg { transform: scaleX(-1); }
.offer-slider__dots { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-5); }
.offer-slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); flex-shrink: 0; }
.offer-slider__dot.is-active { width: 24px; border-radius: var(--radius-full); background: var(--color-white); }

.offer__tab:focus-visible,
.offer-slider__arrow:focus-visible,
.offer-slider__dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.offer-card { flex: 0 0 319px; background: linear-gradient(180deg, #162b1e 0%, #22392b 100%); border: 1px solid rgba(255,255,255,0.2); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.offer-card__top { background: #243b2a; padding: var(--space-4); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); transition: background var(--transition-fast); }
.offer-card__body { transition: background var(--transition-fast); }
.offer-card.is-selected .offer-card__top, .offer-card.is-selected .offer-card__body { background: #2a5038; }
.offer-card__badge { background: rgba(255,255,255,0.2); color: var(--color-white); font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-full); }
.offer-card__photo { width: 279px; border-radius: 14px; padding: var(--space-4); display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 210px; }
.offer-card__photo img { max-height: 165px; max-width: 100%; width: auto; }
.offer-card__photo--dashed { width: 279px; height: 200px; margin-inline: auto; background: rgba(255,255,255,0.05); border: 1px dashed rgba(255,255,255,0.35); border-radius: 14px; flex-direction: column; gap: 4px; padding: var(--space-3); }
.offer-card__photo-label { font-size: 13px; font-weight: 600; color: #7ec89a; text-align: center; }
.offer-card__photo-comp { font-size: 12px; font-weight: 400; color: var(--color-white); opacity: 0.85; text-align: center; }

.offer-card__body { padding: var(--space-5); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); flex: 1; }
.offer-card__title { font-size: 22px; font-weight: 700; color: var(--color-white); }
.offer-card__comp { font-size: 12px; font-weight: 600; color: #7ec89a; }
.offer-card__desc { font-size: 14px; font-weight: 400; color: var(--color-white); opacity: 0.9; line-height: 1.3; margin-bottom: var(--space-2); }
.offer-card__price { display: flex; align-items: baseline; justify-content: center; gap: var(--space-2); flex-wrap: wrap; }
.offer-card__price-current { font-size: 30px; font-weight: 700; color: var(--color-white); }
.offer-card__price-old { font-size: 18px; font-weight: 400; color: var(--color-white); opacity: 0.7; text-decoration: line-through; }
.offer-card__discount { background: var(--color-orange); color: var(--color-white); font-size: 20px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); }
.offer-card__lowest { font-size: 10px; color: var(--color-white); opacity: 0.7; }
.offer-card__savings { display: inline-block; align-self: center; background: rgba(255,255,255,0.08); color: #7ec89a; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-full); width: fit-content; }
.offer-card__delivery { align-self: stretch; background: rgba(255,255,255,0.08); color: var(--color-white); font-size: 13px; font-weight: 500; text-align: center; padding: 6px; border-radius: 8px; }
.offer-card__cta {
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  margin-top: auto;
  background: var(--color-white); color: #1c3d28;
  font-size: 18px; font-weight: 600;
  padding: 14px; border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.offer-card__cta:hover { background: #216b3e; color: var(--color-white); }
.offer-card.is-selected .offer-card__cta { color: #216b3e; }
.offer-card__cta:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.offer__disclaimer { font-size: 12px; color: var(--color-white); opacity: 0.8; margin-top: var(--space-6); text-align: center; }
.offer__cta-row { display: flex; justify-content: center; margin-top: var(--space-5); }
.offer__payments { display: flex; justify-content: center; align-items: center; gap: var(--space-3); background: rgba(255,255,255,0.3); border-radius: var(--radius-lg); padding: 7px 20px; margin: var(--space-5) auto 0; width: fit-content; }

/* =========================================================
   Reviews — load more grid + pagination
   ========================================================= */
.reviews-section { background: linear-gradient(180deg, #f5f3ef 0%, #ffffff 100%); }
.reviews-section .section__header { max-width: none; }
.reviews-section .section__title { font-size: 32px; white-space: nowrap; }

.reviews-rating { display: flex; align-items: center; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }
.reviews-rating__score { font-size: 28px; font-weight: 700; color: var(--color-primary); }
.reviews-rating__stars { color: var(--color-warning); font-size: 22px; letter-spacing: 3px; }
.reviews-rating__note { font-size: 16px; font-weight: 600; color: var(--color-primary); }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(24, 79, 46, 0.08), 0 1px 2px rgba(24, 79, 46, 0.06);
}
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.review-card__stars { color: var(--color-warning); font-size: 16px; letter-spacing: 2px; }
.review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf6ef;
  color: #216b3e;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.review-card__title { font-size: 16px; font-weight: 700; color: var(--color-text); margin: 0; }
.review-card__text { font-size: 14px; color: var(--color-text); flex: 1; margin: 0; }
.review-card__photo { overflow: hidden; aspect-ratio: 290 / 515; }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card__client { display: flex; align-items: center; gap: 10px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #329D4F, #1C2A22); }
.review-card__author { font-size: 14px; color: var(--color-text); }
.review-card__disclaimer { font-size: 12px; color: #000; text-align: center; margin: 0; }

.reviews-loadmore-wrap { display: flex; justify-content: center; margin-top: var(--space-5); }
.reviews-loadmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(24, 79, 46, 0.08), 0 1px 2px rgba(24, 79, 46, 0.06);
  transition: transform var(--transition-fast);
}
.reviews-loadmore:hover { transform: translateY(-2px); }

.reviews-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: var(--space-4); }
.reviews-page {
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-page--arrow { border: 1px solid var(--color-border); }
.reviews-page--arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.reviews-page.is-active { background: var(--color-primary); color: var(--color-white); }
.reviews-page--ellipsis { color: #99a1a6; cursor: default; }

.reviews-disclaimer { font-size: 12px; color: var(--color-text-muted); margin-top: var(--space-6); text-align: center; }

/* =========================================================
   Badges / Pricing
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}
.badge--discount { background: var(--color-danger); color: var(--color-white); }
.badge--featured { background: var(--color-warning); color: var(--color-primary-dark); }
.badge--soft { background: var(--color-accent-soft); color: var(--color-accent-dark); }

.price-row { display: flex; align-items: baseline; gap: var(--space-3); }
.price-current { font-size: 28px; font-weight: 800; color: var(--color-primary); }
.price-original { font-size: 16px; color: var(--color-text-muted); text-decoration: line-through; }

/* =========================================================
   Quiz Section
   ========================================================= */
.quiz-section { background: var(--color-bg-alt); padding: 30px 40px; }
.quiz-section .container { padding-inline: 0; }
.quiz-section__grid { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.quiz-section__grid.is-hidden { display: none; }
.quiz-section__info { flex: 1 1 380px; min-width: 0; }
.quiz-section__title { font-size: 32px; font-weight: 700; color: var(--color-bg-dark); margin-top: var(--space-3); line-height: 1.25; }
.quiz-section__subtitle { font-size: 18px; color: var(--color-text-soft); margin-top: var(--space-3); line-height: 1.3; }

.quiz__progress { margin-top: var(--space-6); max-width: 270px; }
.quiz__progress-label { font-size: 14px; font-weight: 600; color: #216b3e; margin-bottom: var(--space-2); }
.quiz__progress-bar { height: 6px; border-radius: var(--radius-full); background: var(--color-border); overflow: hidden; }
.quiz__progress-bar span { display: block; height: 100%; width: 33%; background: #2d7b49; border-radius: var(--radius-full); transition: width var(--transition-base); }

.quiz {
  flex: 1 1 700px;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 20px 40px;
}

.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: quizFade 0.4s ease; }
@keyframes quizFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.quiz__question { font-size: 22px; font-weight: 600; color: var(--color-bg-dark); margin-bottom: 16px; }
.quiz__subtext { font-family: var(--font-secondary); color: var(--color-text-soft); margin-bottom: var(--space-6); }

.quiz__options { display: flex; flex-direction: column; gap: var(--space-3); }
.quiz__option {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-bg-dark);
  transition: all var(--transition-fast);
}
.quiz__option:hover { border-color: var(--color-accent); background: var(--color-bg-soft); }
.quiz__option.is-selected { border-color: #2d7b49; background: #6cb166; color: var(--color-white); }

.quiz__nav { display: flex; justify-content: flex-start; gap: var(--space-3); margin-top: var(--space-6); }
.quiz__nav--center { justify-content: center; }
.quiz__back { background: none; border: none; padding: 0; font-family: var(--font-primary); font-size: 14px; font-weight: 500; color: #2d7b49; text-decoration: underline; cursor: pointer; }

/* ---- Results ---- */
.quiz-results { display: none; margin-top: 20px; }
.quiz-results.is-active { display: block; animation: quizFade 0.4s ease; }
.quiz-results__grid { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.quiz-results__left { flex: 1 1 380px; min-width: 0; }
.quiz-results__title { font-size: 32px; font-weight: 700; color: var(--color-bg-dark); line-height: 1.25; }
.quiz-results__subtitle { font-size: 18px; color: var(--color-text-soft); margin-top: 14px; line-height: 1.28; }
.quiz-results__right { flex: 1 1 700px; min-width: 0; }

.quiz-cards { display: flex; flex-direction: column; gap: 20px; }
.quiz-cards__alts { display: flex; gap: 20px; flex-wrap: wrap; }

.quiz-card { border-radius: 24px; display: flex; }
.quiz-card__media { flex-shrink: 0; background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.quiz-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.quiz-card__badge { align-self: flex-start; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); color: var(--color-white); font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-full); margin-bottom: 14px; }
.quiz-card__title { font-weight: 700; }
.quiz-card__contents { font-weight: 500; margin-top: 6px; }
.quiz-card__desc { font-weight: 400; margin-top: 6px; }
.quiz-card__pricing { display: flex; align-items: baseline; justify-content: center; gap: var(--space-3); flex-wrap: wrap; margin-top: 5px; }
.quiz-card__pricing .badge--discount { background: var(--color-orange); }
.quiz-card__omnibus { font-size: 11px; margin-top: 6px; text-align: center; }
.quiz-card__meta-pill { align-self: center; background: rgba(255,255,255,0.078); border: 1px solid rgba(255,255,255,0.16); color: #7ec89a; border-radius: var(--radius-full); padding: 5px 12px; font-size: 12px; font-weight: 600; margin-top: 10px; text-align: center; }
.quiz-card__delivery { background: rgba(255,255,255,0.078); color: var(--color-white); border-radius: 8px; padding: 7px 12px; font-size: 13px; margin-top: 8px; text-align: center; }
.quiz-card__cta { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full); font-weight: 700; text-align: center; transition: all var(--transition-fast); }

.quiz-card--featured {
  background: #1e3328;
  border: 1px solid var(--color-white);
  padding: 24px;
  gap: 24px;
}
.quiz-card--featured .quiz-card__media { width: 280px; height: 372px; }
.quiz-card--featured .quiz-card__title { font-size: 26px; color: var(--color-white); }
.quiz-card--featured .quiz-card__contents { font-size: 14px; color: #75c525; }
.quiz-card--featured .quiz-card__desc { font-size: 15px; color: var(--color-white); }
.quiz-card--featured .price-current { font-size: 30px; font-weight: 700; color: var(--color-white); }
.quiz-card--featured .price-original { font-size: 18px; color: rgba(255,255,255,0.7); }
.quiz-card--featured .quiz-card__omnibus { color: rgba(255,255,255,0.6); }
.quiz-card--featured .quiz-card__cta { width: 100%; margin-top: 14px; background: var(--color-white); color: #1c3d28; padding: 14px 24px; font-size: 18px; }
.quiz-card--featured .quiz-card__cta:hover { background: var(--color-bg-soft); }

.quiz-cards__alts .quiz-card--secondary {
  flex: 1 1 260px;
  min-width: 0;
  background: #f4f8f3;
  border-radius: 20px;
  padding: 16px;
  gap: 14px;
}
.quiz-cards__alts .quiz-card--secondary .quiz-card__media { width: 112px; border-radius: 14px; }
.quiz-card--secondary .quiz-card__title { font-size: 18px; color: var(--color-bg-dark); }
.quiz-card--secondary .quiz-card__contents { font-size: 13px; color: #228536; }
.quiz-card--secondary .quiz-card__desc { font-size: 13px; color: var(--color-text-muted); }
.quiz-card--secondary .price-current { font-size: 22px; font-weight: 800; color: var(--color-bg-dark); }
.quiz-card--secondary .price-original { font-size: 14px; color: var(--color-text-muted); }
.quiz-card--secondary .quiz-card__omnibus { color: var(--color-text-muted); }
.quiz-card--secondary .quiz-card__cta { width: 100%; max-width: 150px; margin-top: 10px; background: none; border: 1px solid #228536; color: #228536; padding: 10px 20px; font-size: 14px; }
.quiz-card--secondary .quiz-card__cta:hover { background: var(--color-white); }

/* =========================================================
   Cart Drawer
   ========================================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,55,52,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: 430px;
  max-width: 100vw;
  background: #fbfbfb;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 8px 24px;
  border-bottom: 1px solid #ebe9e9;
  flex-shrink: 0;
}
.cart-drawer__header h3 { font-size: 18px; font-weight: 600; color: var(--color-bg-dark); }
.cart-drawer__close {
  width: 40px; height: 40px; border-radius: 50%;
  background: #f9f4f1; color: var(--color-bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
  flex-shrink: 0;
}
.cart-drawer__close:hover { background: var(--color-bg-soft); }

.cart-drawer__shipping {
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}
.cart-drawer__shipping-msg { font-size: 14px; font-weight: 700; margin-bottom: var(--space-2); color: #666666; }
.cart-drawer__shipping-highlight { color: #008729; }
.cart-drawer__shipping-bar { height: 6px; border-radius: 3px; background: #ebe9e9; overflow: hidden; }
.cart-drawer__shipping-bar span { display: block; height: 100%; background: #008729; transition: width var(--transition-base); border-radius: 3px; }

.cart-drawer__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.cart-drawer__items { display: contents; }
.cart-drawer__empty-msg { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 20px; font-weight: 700; color: var(--color-black); padding: var(--space-6) 0; }

.cart-drawer-item { position: relative; display: flex; flex-direction: column; gap: 5px; }
.cart-drawer-item__row { display: flex; gap: var(--space-3); }
.cart-drawer-item__media { width: 110px; height: 110px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-drawer-item__media img { max-width: 90px; max-height: 90px; object-fit: contain; }
.cart-drawer-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-3); }
.cart-drawer-item__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.cart-drawer-item__title { font-size: 14px; font-weight: 700; color: var(--color-bg-dark); }
.cart-drawer-item__subtitle { font-size: 12px; font-weight: 400; color: #6a6a6a; margin-top: 2px; }
.cart-drawer-item__remove { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-drawer-item__remove:hover { background: #f3f4f6; }
.cart-drawer-item__row2 { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.cart-drawer-item__qty { display: flex; align-items: center; gap: var(--space-2); }
.cart-drawer-item__qty button { width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; transition: transform var(--transition-fast), background var(--transition-slow), color var(--transition-slow); }
.cart-drawer-item__qty button:active { transform: scale(0.9); background: #e5e7eb; }
.cart-drawer-item__qty button.is-plus { background: var(--color-bg-dark); color: var(--color-white); }
.cart-drawer-item__qty button.is-plus:active { background: var(--color-primary-dark); }
/* Tap feedback that outlasts a quick mobile tap: JS adds this on click (both
   dec and is-plus), then removes it ~350ms later — transition:none makes the
   flash-in instant, then the button's own transition (above) eases it back
   out over --transition-slow once the class is removed. */
.cart-drawer-item__qty button.is-tap-flash { transition: none; background: var(--color-accent); color: var(--color-white); }
.cart-drawer-item__qty span { display: inline-block; width: 36px; text-align: center; font-weight: 700; font-size: 14px; border: 1px solid var(--color-accent-soft); border-radius: 6px; padding: 4px 0; }
.cart-drawer-item__price { text-align: right; }
.cart-drawer-item__price-current { font-size: 18px; font-weight: 700; color: var(--color-bg-dark); }
.cart-drawer-item__price-old { font-size: 13px; color: #8f9ca3; text-decoration: line-through; display: block; }
.cart-drawer-item__badge { position: absolute; top: 0; left: 0; background: var(--color-danger); color: var(--color-white); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }

.cart-drawer__crosssell { display: flex; flex-direction: column; gap: 15px; }
.cart-drawer__crosssell-title { font-size: 20px; font-weight: 700; color: var(--color-accent); }
.cart-drawer-crosssell-item { display: flex; align-items: center; gap: var(--space-3); background: var(--color-white); border: 1px solid #ebe9e9; border-radius: var(--radius-md); padding: 10px; }
.cart-drawer-crosssell-item__media { width: 44px; height: 56px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-drawer-crosssell-item__media img { max-width: 40px; max-height: 52px; object-fit: contain; }
.cart-drawer-crosssell-item__body { flex: 1; min-width: 0; }
.cart-drawer-crosssell-item__title { font-size: 18px; font-weight: 600; color: var(--color-bg-dark); }
.cart-drawer-crosssell-item__desc { font-size: 13px; color: #6a6a6a; margin: 2px 0 6px; }
.cart-drawer-crosssell-item__price { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--color-bg-dark); flex-wrap: wrap; }
.cart-drawer-crosssell-item__price-old { font-size: 13px; font-weight: 400; color: #8f9ca3; text-decoration: line-through; }
.cart-drawer-crosssell-item__save { display: inline-block; margin-top: 4px; background: var(--color-bg-soft); color: #216b3e; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.cart-drawer-crosssell-item__add { border: 1px solid #216b3e; color: #216b3e; font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: var(--radius-full); white-space: nowrap; flex-shrink: 0; transition: transform var(--transition-fast), background var(--transition-slow), color var(--transition-slow); }
.cart-drawer-crosssell-item__add:hover { background: #216b3e; color: var(--color-white); }
.cart-drawer-crosssell-item__add:active { background: #184f2e; color: var(--color-white); transform: scale(0.96); }
/* JS adds this on tap and commits the actual cart change a beat later, so
   the fill is visible before the item potentially disappears from the list. */
.cart-drawer-crosssell-item__add.is-tap-flash { transition: none; background: #216b3e; color: var(--color-white); }

.cart-drawer__footer { padding: var(--space-5); border-top: 1px solid #ebebeb; flex-shrink: 0; }
.cart-drawer__back-btn {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  width: 100%;
  border: 1px solid #216b3e; color: #216b3e;
  border-radius: var(--radius-full);
  padding: 16px 24px;
  font-size: 18px; font-weight: 400;
}
.cart-drawer__back-btn:hover { background: var(--color-bg-soft); }
.cart-drawer__totals-row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: var(--space-2); }
.cart-drawer__totals-row:last-of-type { margin-bottom: 0; }
.cart-drawer__totals-row--subtotal span:first-child { font-weight: 700; color: var(--color-black); }
.cart-drawer__totals-row--subtotal span:last-child { font-weight: 500; color: #1c3d28; }
.cart-drawer__totals-row--discount span:first-child { font-weight: 400; color: #666666; }
.cart-drawer__totals-row--discount span:last-child { font-weight: 500; color: #2d7b49; }
.cart-drawer__totals-row--total { margin-top: var(--space-2); }
.cart-drawer__totals-row--total span:first-child { font-weight: 600; color: #1c3d28; }
.cart-drawer__totals-row--total span:last-child { font-weight: 700; font-size: 20px; color: #1c3d28; }
.cart-drawer__cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px;
  margin-top: var(--space-4);
  background: #2d7b49; color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 20px; font-weight: 700;
  transition: background var(--transition-fast);
}
.cart-drawer__cta:hover { background: #235f39; }

/* =========================================================
   Checkout
   ========================================================= */
.checkout-steps { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.checkout-step { display: flex; align-items: center; gap: var(--space-2); }
.checkout-step__circle {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  background: #e5e7eb; color: var(--color-text-soft);
}
.checkout-step__label { font-size: 16px; font-weight: 500; color: var(--color-text-soft); }
.checkout-step.is-done .checkout-step__circle { background: var(--color-bg-soft); color: #216b3e; }
.checkout-step.is-active .checkout-step__circle { background: #216b3e; color: var(--color-white); }
.checkout-step.is-active .checkout-step__label { font-weight: 700; color: var(--color-bg-dark); }
.checkout-step__line { width: 60px; height: 1px; background: var(--color-accent-soft); }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-6); align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: var(--space-5); min-width: 820px; }

.checkout-card { background: var(--color-white); border: 1px solid var(--color-accent-soft); border-radius: var(--radius-md); padding: var(--space-5); }
.checkout-card__header { display: flex; align-items: center; justify-content: space-between; }
.checkout-card__title { font-size: 20px; font-weight: 700; color: var(--color-bg-dark); }
.checkout-card__divider { height: 1px; background: var(--color-border); margin: var(--space-4) 0; }
.checkout-card__legal { font-size: 13px; color: #59616b; line-height: 1.5; margin-top: var(--space-4); }
.checkout-card__legal a, .checkout-checkbox a { text-decoration: underline; }

.checkout-stripe-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #635bff; }

.checkout-form .form-field { margin-bottom: var(--space-4); }
.checkout-form > .checkout-card > .form-field:last-child { margin-bottom: 0; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: var(--space-2); color: var(--color-text-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-accent-soft);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color var(--transition-fast);
}
.form-field input::placeholder { color: #8f9ca3; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-field input.is-error, .form-field select.is-error, .form-field textarea.is-error {
  border-color: var(--color-danger-dark);
}
.form-field__error { display: block; font-size: 12px; color: var(--color-danger-dark); margin-top: var(--space-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.checkout-checkbox { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 13px; color: #1f2429; cursor: pointer; margin-top: var(--space-4); }
.checkout-checkbox input { margin-top: 3px; width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; accent-color: var(--color-accent); }
.checkout-checkbox input.is-error { outline: 2px solid var(--color-danger-dark); outline-offset: 2px; }

.checkout-submit {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 20px; font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.checkout-submit:hover { background: #a3380a; }
.checkout-submit:disabled { opacity: 0.6; cursor: default; }

.checkout-payment-element { margin-top: var(--space-4); }
.checkout-payment-message { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: #fdeceb; color: #9a1f1f; font-size: 14px; }
.checkout-payment-message--pending { background: #eaf5ec; color: #216b3e; }
.checkout-payment-message p { margin: 0 0 var(--space-3); }
.checkout-payment-message__recheck { border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-weight: 600; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); cursor: pointer; }
.checkout-payment-message__recheck:disabled { opacity: 0.6; cursor: default; }

/* Order summary */
.checkout-summary-col { display: flex; flex-direction: column; gap: var(--space-4); position: sticky; top: calc(var(--header-height) + 24px); max-width: 420px; }
.checkout-summary { padding: var(--space-5); }

.checkout-summary__items { display: flex; flex-direction: column; gap: var(--space-4); }
.checkout-summary__empty { text-align: center; color: var(--color-text-muted); font-size: 14px; padding: var(--space-4) 0; }
.checkout-summary-item { position: relative; display: flex; gap: var(--space-3); }
.checkout-summary-item__media { width: 90px; height: 90px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.checkout-summary-item__media img { max-width: 74px; max-height: 74px; object-fit: contain; }
.checkout-summary-item__body { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }
.checkout-summary-item__title { font-size: 14px; font-weight: 700; color: var(--color-bg-dark); }
.checkout-summary-item__subtitle { font-size: 12px; color: #6a6a6a; margin-top: -6px; }
.checkout-summary-item__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.checkout-summary-item__qty { display: flex; align-items: center; gap: var(--space-2); }
.checkout-summary-item__qty button { width: 28px; height: 28px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; transition: transform var(--transition-fast), background var(--transition-slow), color var(--transition-slow); }
.checkout-summary-item__qty button:active { transform: scale(0.9); background: #e5e7eb; }
.checkout-summary-item__qty button.is-plus { background: var(--color-bg-dark); color: var(--color-white); }
.checkout-summary-item__qty button.is-plus:active { background: var(--color-primary-dark); }
/* Same tap-flash trick as .cart-drawer-item__qty — JS adds this on click (both
   dec and is-plus), then removes it ~350ms later. */
.checkout-summary-item__qty button.is-tap-flash { transition: none; background: var(--color-accent); color: var(--color-white); }
.checkout-summary-item__qty span { display: inline-block; width: 28px; text-align: center; font-weight: 700; font-size: 14px; border: 1px solid var(--color-accent-soft); border-radius: 6px; padding: 4px 0; }
.checkout-summary-item__price { text-align: right; }
.checkout-summary-item__price-current { font-size: 18px; font-weight: 700; color: var(--color-bg-dark); }
.checkout-summary-item__price-old { font-size: 13px; color: #8f9ca3; text-decoration: line-through; display: block; }
.checkout-summary-item__badge { position: absolute; top: 0; left: 0; background: var(--color-danger); color: var(--color-white); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }

.checkout-crosssell__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.checkout-crosssell__title { font-size: 18px; font-weight: 700; color: var(--color-text-soft); }
.checkout-crosssell__badge { background: var(--color-orange); color: var(--color-white); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.checkout-crosssell-item { display: flex; align-items: center; gap: var(--space-3); }
.checkout-crosssell-item__media { width: 44px; height: 56px; border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.checkout-crosssell-item__media img { max-width: 36px; max-height: 48px; object-fit: contain; }
.checkout-crosssell-item__body { flex: 1; }
.checkout-crosssell-item__title { font-size: 16px; font-weight: 700; color: var(--color-bg-dark); }
.checkout-crosssell-item__desc { font-size: 13px; color: var(--color-text-soft); margin: 2px 0 6px; }
.checkout-crosssell-item__price { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--color-bg-dark); flex-wrap: wrap; }
.checkout-crosssell-item__price-old { font-size: 13px; font-weight: 400; color: #8f9ca3; text-decoration: line-through; }
.checkout-crosssell-item__save { background: var(--color-bg-soft); color: #216b3e; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.checkout-crosssell-item__add { border: 1px solid #216b3e; color: #216b3e; font-size: 14px; font-weight: 600; padding: 8px 20px; border-radius: var(--radius-full); white-space: nowrap; transition: transform var(--transition-fast), background var(--transition-slow), color var(--transition-slow); }
.checkout-crosssell-item__add:hover { background: #216b3e; color: var(--color-white); }
.checkout-crosssell-item__add:active { background: #184f2e; color: var(--color-white); transform: scale(0.96); }
/* JS adds this on tap and commits the actual cart change a beat later, so
   the fill is visible before the item potentially disappears from the list. */
.checkout-crosssell-item__add.is-tap-flash { transition: none; background: #216b3e; color: var(--color-white); }

.checkout-promo__title { font-size: 16px; font-weight: 700; color: var(--color-bg-dark); margin-bottom: var(--space-3); }
.checkout-promo__row { display: flex; gap: var(--space-3); }
.checkout-promo__input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--color-accent-soft); border-radius: var(--radius-sm); font-size: 15px; transition: border-color var(--transition-fast), background var(--transition-fast); }
.checkout-promo__input::placeholder { color: #8f9ca3; }
.checkout-promo__input:focus { outline: none; border-color: var(--color-accent); }
.checkout-promo__input.is-error { background: #fff5f5; border-color: var(--color-danger-dark); }
.checkout-promo__input.is-warning { background: #fff9e6; border-color: #ffe0b2; }
.checkout-promo__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 112px;
  background: var(--color-accent-darker); color: var(--color-white); font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: var(--radius-sm); white-space: nowrap;
}
.checkout-promo__btn:hover { background: var(--color-primary-darker); }
.checkout-promo__btn:disabled { opacity: 0.8; cursor: default; }
.checkout-promo__spinner {
  display: inline-block; width: 16px; height: 16px; vertical-align: middle;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: var(--color-white);
  border-radius: 50%; animation: promoSpin 0.6s linear infinite;
}
@keyframes promoSpin { to { transform: rotate(360deg); } }

.checkout-promo__feedback:empty { margin: 0; }
.checkout-promo__chip-row { display: flex; margin-top: var(--space-3); }
.checkout-promo__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eefde7; border: 1px solid var(--color-primary-dark);
  border-radius: var(--radius-full); padding: 6px 12px;
  font-size: 13px; font-weight: 700; color: var(--color-black);
}
.checkout-promo__chip svg { flex-shrink: 0; }
.checkout-promo__chip-remove {
  width: 16px; height: 16px; border-radius: 50%; background: var(--color-black); color: var(--color-white);
  display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; flex-shrink: 0;
}
.checkout-promo__success { font-size: 14px; font-weight: 500; color: #008729; margin-top: var(--space-2); }

.checkout-promo__alert { display: flex; align-items: center; gap: 8px; margin-top: var(--space-2); font-size: 12px; font-weight: 500; line-height: 1.4; }
.checkout-promo__alert svg { flex-shrink: 0; }
.checkout-promo__alert--error { color: var(--color-danger-dark); font-family: var(--font-secondary); }
.checkout-promo__alert--warning { align-items: center; background: #fff9e6; border: 1px solid #ffe0b2; color: #b25e00; border-radius: var(--radius-sm); padding: var(--space-3); }

.checkout-breakdown { display: flex; flex-direction: column; gap: var(--space-2); }
.checkout-breakdown__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--color-text-soft); }
.checkout-breakdown__row span:last-child { font-weight: 600; color: var(--color-bg-dark); }
.checkout-breakdown__row--discount span { color: #008729 !important; font-weight: 700 !important; }
/* This class's own `display: flex` above otherwise beats the [hidden]
   attribute's UA-stylesheet `display: none` at equal specificity (author
   styles win ties over UA styles) — js-co-promo-row's `.hidden = true`
   after removing a promo code was silently having no visual effect,
   leaving the stale discount row showing. */
.checkout-breakdown__row[hidden] { display: none; }

.checkout-total__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.checkout-total__row > span:first-child { font-size: 18px; font-weight: 700; color: var(--color-bg-dark); }
.checkout-total__price { display: flex; align-items: baseline; gap: var(--space-2); }
.checkout-total__price strong { font-size: 28px; font-weight: 700; color: #216b3e; }
.checkout-total__price small { font-size: 14px; color: var(--color-text-soft); }
.checkout-total__tax { font-size: 13px; color: #0b173e; text-align: right; margin-top: var(--space-2); }
.checkout-summary__note { font-size: 12px; color: var(--color-text-muted); margin-top: var(--space-4); }

.checkout-trust { background: var(--color-bg-soft); border: 1px solid #216b3e; border-radius: var(--radius-md); padding: var(--space-5) var(--space-4); }
.checkout-trust__title { display: flex; align-items: center; gap: var(--space-2); font-size: 15px; font-weight: 700; color: #216b3e; margin-bottom: var(--space-2); }
.checkout-trust__text { font-size: 13px; color: var(--color-text-soft); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-white); }

.footer-main {
  display: grid;
  grid-template-columns: 2.3fr 0.4fr 0.65fr 0.85fr;
  gap: 40px;
  padding-block: 30px;
  align-items: start;
}
.footer-newsletter .logo-badge { margin-bottom: var(--space-5); }
.footer-newsletter h2 {
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 4px;
}
.footer-newsletter > p {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-family: var(--font-secondary); font-weight: 500; font-size: 16px; color: var(--color-white); }
/* "Pomoc i dokumenty" column links to the compliance pages + Kontakt.
   Uses an explicit marker class, not :nth-of-type — the footer-newsletter
   block before it is also a <div>, so :nth-of-type(2) was actually counting
   "Informacje" (the 2nd div sibling overall) instead of this column. */
.footer-col--legal ul a { text-decoration: underline; }
.footer-col p { font-family: var(--font-secondary); font-size: 14px; line-height: 1; color: var(--color-white); margin: 0; }
.footer-col p + p { margin-top: 14px; }

.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-6); }
.footer-legal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: var(--space-4); }
.footer-legal p { font-family: var(--font-secondary); color: var(--color-white); text-align: center; }
.footer-legal__row p { text-align: left; }
.footer-legal__row p:first-child { font-size: 10px; opacity: 0.85; line-height: 1; }
.footer-legal__row p:last-child { font-size: 14px; opacity: 0.9; line-height: 1; }
.footer-legal > p { font-size: 12px; font-weight: 300; opacity: 0.85; line-height: 1; }
.footer-copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-5); font-family: var(--font-secondary); font-size: 14px; opacity: 0.85; text-align: center; }

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: var(--space-4);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 24px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 16px;
  padding: 8px 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button {
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form[hidden], .newsletter-consent[hidden] { display: none; }
.newsletter-form__msg { font-family: var(--font-secondary); font-size: 14px; color: var(--color-white); margin: -6px 0 var(--space-4); }
.newsletter-form__msg--error { color: #ffb3b3; }

.newsletter-consent { display: flex; align-items: flex-start; gap: var(--space-2); font-family: var(--font-secondary); font-size: 14px; color: var(--color-white); opacity: 0.95; width: 100%; cursor: pointer; }
.newsletter-consent input { margin-top: 3px; width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; accent-color: var(--color-navy); }

/* =========================================================
   Contact page (Kontakt)
   ========================================================= */

/* =========================================================
   Legal pages
   ========================================================= */
.legal-cta-bar, .legal-page { line-height: 1; }
.legal-cta-bar { background: var(--color-white); padding: 12px 10px; display: flex; justify-content: center; }
.legal-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 500px;
  max-width: 100%;
  height: 54px;
  background: #2d7b49;
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 20px;
}

.legal-page {
  background: var(--color-bg-alt);
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 50px;
  padding: 30px 130px;
}

.legal-toc {
  border-right: 1px solid var(--color-border);
  padding-right: 30px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.legal-toc__label { font-size: 11px; font-weight: 500; color: var(--color-text-muted); margin-bottom: 10px; }
.legal-toc__nav { display: flex; flex-direction: column; gap: 10px; }
.legal-toc__link { font-size: 13px; font-weight: 500; color: var(--color-text-muted); }
.legal-toc__link.is-active, .legal-toc__link:hover { font-weight: 600; color: #1a6ef7; }

.legal-article { display: flex; flex-direction: column; gap: 30px; max-width: 800px; }
.legal-article__header { display: flex; flex-direction: column; gap: 12px; }
.legal-article__header h1 { font-size: 32px; color: #1a1a2e; }
.legal-article__date { font-size: 13px; color: var(--color-text-muted); font-weight: 400; }

.legal-section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-height) + 24px); }
.legal-section h2 { font-size: 22px; font-weight: 600; color: #1a1a2e; }
.legal-section p { font-size: 15px; font-weight: 400; color: #1a1a2e; overflow-wrap: anywhere; }
.legal-section p a { text-decoration: underline; }
.legal-section ol.legal-list { list-style: decimal; padding-left: 1.4em; }
.legal-section ul.legal-list { list-style: disc; padding-left: 1.4em; }
.legal-section .legal-list li { font-size: 15px; font-weight: 400; color: #1a1a2e; margin-bottom: 6px; }
.legal-section .legal-list li:last-child { margin-bottom: 0; }
.legal-section .legal-list li strong { font-weight: 700; }
.legal-section .legal-list--bold li { font-weight: 700; }
.legal-section .legal-list--tight li { margin-bottom: 0; }
.legal-section .legal-list li.no-bullet { list-style: none; }
.legal-section p.legal-p--bold strong { font-weight: 700; }

.legal-callout {
  background: #f0f7ff;
  border-left: 4px solid #1a6ef7;
  padding: 15px 18px;
  font-size: 14px;
  color: #1a1a2e;
}

@media (max-width: 1024px) {
  .legal-page { padding: 30px 60px; }
}
@media (max-width: 768px) {
  .legal-cta-bar__btn { min-width: 0; width: 100%; font-size: 17px; }
  .legal-page { grid-template-columns: 1fr; padding: 24px 15px; gap: 24px; }
  .legal-toc { border-right: none; border-bottom: 1px solid var(--color-border); padding-right: 0; padding-bottom: 20px; position: static; }
}

/* =========================================================
   Kontakt page
   ========================================================= */
.kontakt-hero { background: var(--color-bg-alt); padding: 30px 130px; }
.kontakt-hero__inner { max-width: var(--container-max); margin-inline: auto; }
.kontakt-hero__title { font-size: 40px; font-weight: 700; color: #0b173e; margin-bottom: 20px; }

.kontakt-layout { display: grid; grid-template-columns: 430px 1fr; gap: 50px; align-items: start; }

.kontakt-cards { display: flex; flex-direction: column; gap: 20px; }
.kontakt-card { background: var(--color-white); border: 1px solid #e0e3e8; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 15px; }
.kontakt-card__head { display: flex; align-items: center; gap: 12px; }
.kontakt-card__head--split { justify-content: space-between; }
.kontakt-card__head h3 { font-size: 18px; font-weight: 700; color: #0b173e; }
.kontakt-card__date { font-size: 13px; font-weight: 400; color: var(--color-text-muted); }
.kontakt-divider { height: 1px; border: none; background: #e0e3e8; margin: 0; }

.kontakt-row { display: flex; align-items: center; gap: 14px; }
.kontakt-row__icon { width: 36px; height: 36px; flex-shrink: 0; background: #eef0f7; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #1c1b1f; }
.kontakt-row__icon svg { width: 18px; height: 18px; }
.kontakt-row__text { display: flex; flex-direction: column; gap: 1px; }
.kontakt-row__label { font-size: 12px; font-weight: 500; color: #5e6673; }
.kontakt-row__value { font-size: 16px; font-weight: 600; color: #0b173e; }

.kontakt-card--dark { background: #173734; }
.kontakt-card--dark .kontakt-card__head h3 { color: var(--color-white); }
.kontakt-card--dark .kontakt-divider { background: rgba(255,255,255,0.15); }
.kontakt-card--dark__icon { width: 36px; height: 36px; background: rgba(255,255,255,0.13); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--color-white); }
.kontakt-card--dark__icon svg { width: 16px; height: 16px; }
.kontakt-address { display: flex; flex-direction: column; gap: 6px; }
.kontakt-address__name { font-size: 15px; font-weight: 700; color: var(--color-white); }
.kontakt-address__text { font-size: 14px; font-weight: 400; color: #bfcce0; line-height: 1; }
.kontakt-meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.kontakt-meta-row__label { color: #a6b8d1; font-weight: 500; }
.kontakt-meta-row__value { color: var(--color-white); font-weight: 600; }

.kontakt-map { position: relative; height: 500px; border-radius: 16px; overflow: hidden; border: 1px solid #e0e3e8; background: #e7eaee; }
.kontakt-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.kontakt-articles { display: flex; flex-direction: column; gap: 30px; margin-top: 20px; }
.kontakt-article h2 { font-size: 22px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.kontakt-article p { font-size: 15px; font-weight: 400; color: #1a1a2e; line-height: 1; }

@media (max-width: 1024px) {
  .kontakt-hero { padding: 30px 60px; }
  .kontakt-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .kontakt-hero { padding: 30px 15px; }
  .kontakt-hero__title { font-size: 30px; text-align: center; }
  .kontakt-map { height: 400px; }
}

/* =========================================================
   About / O nas page
   ========================================================= */
.about-hero { background: var(--color-white); padding-block: 30px; }
.about-hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-hero__text {
  flex: 1;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-soft);
}
.about-hero__media { flex: 0 0 520px; max-width: 45%; }
.about-hero__media img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-xl); }

.about-manufacturing { background: var(--color-primary); padding-block: 30px; }
.about-manufacturing__title { color: var(--color-white); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: var(--space-4); }
.about-manufacturing__text { color: rgba(255,255,255,0.7); font-family: var(--font-primary); font-size: 16px; line-height: 1; max-width: 900px; margin-bottom: var(--space-5); }

.badges-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  background: #edf5f0;
  color: #2e4538;
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 12px;
  font-size: 14px;
  font-weight: 500;
}
.badge-check__icon {
  width: 18px; height: 18px;
  color: #184f2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-check__icon svg { width: 16px; height: 16px; }

.about-products { background: var(--color-bg-alt); padding-block: 30px; }
.about-products__title { text-align: center; color: #1c2a22; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: var(--space-5); }
.about-products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }

.about-product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-product-card__media { height: 240px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-product-card__media img { max-height: 200px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.about-product-card__body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; flex: 1; }
.about-product-card__title { font-size: 22px; font-weight: 700; color: #1c2a22; margin-bottom: 8px; }
.about-product-card__desc { font-size: 15px; color: var(--color-text-soft); }
.about-product-card__cta {
  align-self: stretch;
  text-align: center;
  background: var(--color-bg-soft);
  color: #2d7b49;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
}

/* =========================================================
   Thank You page
   ========================================================= */
.thank-you { background: #faf4f1; padding-block: 30px; }
.thank-you__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; max-width: 800px; }
.thank-you__icon { width: 80px; height: 80px; border-radius: 50%; background: #edf6ef; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.thank-you__text { display: flex; flex-direction: column; gap: 16px; }
.thank-you__title { font-size: 40px; font-weight: 700; line-height: 1.2; color: #1c2a22; }
.thank-you__subtext { font-family: var(--font-primary); font-size: 18px; font-weight: 400; line-height: 1.44; color: #4b5d52; max-width: 600px; margin-inline: auto; }
.thank-you__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2d7b49;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.thank-you__cta:hover { background: #235f39; }

/* =========================================================
   Katalog page
   ========================================================= */
.katalog-hero { position: relative; padding-block: 30px; overflow: hidden; }
.katalog-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.katalog-hero__content { max-width: 535px; }
.katalog-hero__title { font-size: 44px; font-weight: 700; line-height: 1.28; color: var(--color-white); }
.katalog-hero__subtitle { font-family: var(--font-primary); font-size: 24px; font-weight: 500; line-height: 1.33; color: var(--color-white); margin-top: var(--space-4); }
.katalog-hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: var(--space-5);
  background: #2d7b49; color: var(--color-white);
  font-size: 20px; font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.katalog-hero__cta:hover { background: #235f39; }
.katalog-hero__image { width: 100%; max-width: 185px; border-radius: var(--radius-lg); }

.katalog-products .section__header { margin-bottom: var(--space-6); }
.katalog-products .section__title { font-size: 32px; }

.katalog-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: var(--space-5); }
/* Detail panels are grid children (not separate block siblings) so their
   visual order can be moved next to their own card on mobile via `order`,
   while staying full-width so they still force a flex-wrap line break. */
.katalog-grid > .katalog-detail-wrap { flex: 0 0 100%; width: 100%; }

.katalog-card {
  display: flex; flex-direction: column;
  width: 100%; max-width: 300px; text-align: left;
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 10px 0;
  box-shadow: 0 6px 16px rgba(31,54,52,0.02);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.katalog-card.is-active { border-color: var(--color-accent); }
.katalog-card__media { display: flex; align-items: center; justify-content: center; height: 200px; }
.katalog-card__media img { max-height: 200px; width: auto; }
.katalog-card__body { display: flex; flex-direction: column; gap: var(--space-4); padding: 12px; flex: 1; }
.katalog-card__title { font-size: 20px; font-weight: 800; color: var(--color-primary); text-align: center; }
.katalog-card__subtitle { font-size: 14px; font-weight: 500; color: var(--color-text); text-align: center; margin-top: var(--space-2); }
.katalog-card__features { display: flex; flex-direction: column; gap: var(--space-2); }
.katalog-card__features li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 13px; font-weight: 500; color: var(--color-primary); text-align: left; }
.katalog-check { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; }
.katalog-card__cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: auto;
  border: 1px solid var(--color-accent); color: var(--color-accent);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 14px; font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.katalog-card:hover .katalog-card__cta { background: var(--color-accent); color: var(--color-white); }

.katalog-quiz-card {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  gap: var(--space-6);
  width: 100%; max-width: 300px;
  background: linear-gradient(180deg, #e5f3e4 0%, #effde7 100%);
  border-radius: var(--radius-lg);
  padding: 30px 15px;
}
.katalog-quiz-card__title { font-size: 24px; font-weight: 700; color: var(--color-black); }
.katalog-quiz-card__text { font-size: 18px; font-weight: 400; color: var(--color-black); margin-top: var(--space-2); max-width: 270px; }
.katalog-quiz-card__btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #6cb166; color: var(--color-white);
  font-size: 16px; font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
}

/* Collapsible detail panels — CSS grid-rows trick animates height without JS
   measuring scrollHeight, and stays correct even if an inner accordion opens
   while the panel itself is expanded. */
.katalog-detail-wrap { display: grid; grid-template-rows: 0fr; position: relative; transition: grid-template-rows 0.45s ease; }
.katalog-detail-wrap.is-open { grid-template-rows: 1fr; margin-top: var(--space-5); }
.katalog-detail-inner { overflow: hidden; min-height: 0; position: relative; }

/* Positioned on .katalog-detail-wrap (not .katalog-detail-inner) since the
   inner element's overflow:hidden — needed for the 0fr/1fr collapse trick
   above — was clipping this negative-top triangle out of view entirely.
   Solid var(--color-accent) fill, downward-pointing, sitting 3px below the
   active card's bottom edge. */
.katalog-detail__pointer {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 12px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.katalog-detail-wrap.is-open .katalog-detail__pointer { opacity: 1; }
/* `top`/`left` above are just placeholders; initKatalogDetails() sets exact
   px values in JS on open (and on resize) since the active card's true
   center and its real vertical gap to a given wrap both depend on the live
   flex layout, not a value derivable from the stylesheet alone. */

.katalog-detail { background: var(--color-white); border: 1px solid #e4ebe4; border-radius: var(--radius-lg); padding: 40px; display: flex; gap: var(--space-7); }
.katalog-detail__media { display: flex; flex-direction: column; gap: var(--space-4); flex: 0 0 460px; }
.katalog-detail__photo { background: var(--color-bg-soft-2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: var(--space-5); overflow: hidden; }
.katalog-detail__photo img { width: 100%; max-width: 300px; max-height: 360px; object-fit: contain; }
.katalog-detail__nutrition { border-radius: var(--radius-md); overflow: hidden; }
.katalog-detail__nutrition img { width: 100%; height: auto; object-fit: contain; }

.katalog-detail__info { flex: 1; min-width: 0; }
.katalog-detail__title { font-size: 32px; font-weight: 800; color: var(--color-primary); }
.katalog-detail__descriptor { font-size: 18px; font-weight: 500; color: var(--color-accent); margin-top: var(--space-3); }
.katalog-detail__desc { font-size: 16px; font-weight: 400; color: var(--color-text); line-height: 1.625; margin-top: var(--space-3); }

.katalog-detail__benefits { background: #f1f8ef; border-radius: var(--radius-md); padding: var(--space-5); margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.katalog-detail__benefits-label { font-size: 13px; font-weight: 700; color: var(--color-accent); }
.katalog-detail__benefit-row { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; font-weight: 500; color: var(--color-primary); }
.katalog-detail__benefit-row svg { flex-shrink: 0; margin-top: 6px; }

.katalog-detail .accordion { margin-top: var(--space-5); }
/* Open state shows a green minus instead of the default rotated-cross "+" */
.katalog-detail .accordion-toggle {
  font-size: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
}
.katalog-detail .accordion-toggle::before { content: "+"; font-size: 22px; color: inherit; }
.katalog-detail .accordion-item.is-open .accordion-toggle { transform: none; }
.katalog-detail .accordion-item.is-open .accordion-toggle::before { content: "\2212"; color: var(--color-accent); }
.katalog-detail__sklad-note, .katalog-detail__who-sub { font-size: 14px; font-weight: 500; color: #6b7873; margin-bottom: var(--space-3); }
.katalog-detail__sklad-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.katalog-detail__sklad-columns ul, .katalog-detail__sklad-single { display: flex; flex-direction: column; gap: var(--space-2); }
.katalog-detail__sklad-columns li, .katalog-detail__sklad-single li { font-size: 14px; font-weight: 400; color: var(--color-primary); }
.katalog-detail__who-row { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; font-weight: 500; color: var(--color-primary); margin-bottom: var(--space-3); }
.katalog-detail__who-row:last-child { margin-bottom: 0; }
.katalog-detail__who-row svg { flex-shrink: 0; margin-top: 6px; }

.katalog-detail__cta { background: linear-gradient(180deg, #e5f3e4 0%, #effde7 100%); border-radius: var(--radius-md); padding: 28px; margin-top: var(--space-5); }
.katalog-detail__cta-title { font-size: 20px; font-weight: 700; color: var(--color-primary); }
.katalog-detail__cta-text { font-size: 15px; font-weight: 400; color: var(--color-primary); margin-top: var(--space-2); }
.katalog-detail__cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: var(--space-4);
  background: #2d7b49; color: var(--color-white);
  font-size: 16px; font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.katalog-detail__cta-btn:hover { background: #235f39; }

/* Hero's two-column layout (large heading + 488px product shot) gets cramped
   well above the site's general 768px breakpoint, so it stacks on its own
   schedule. */
@media (max-width: 1100px) {
  .katalog-hero {
    padding-block: 30px;
    background-image: url('../images/fc9fb6b22397d38ac77607ead452690c214b4d24.jpg'), radial-gradient(ellipse at 50% 92%, #96b866 0%, #1d452c 100%) !important;
  }
  .katalog-hero__inner { flex-direction: column; text-align: center; }
  .katalog-hero__content { max-width: 100%; }
  .katalog-hero__title { font-size: 32px; }
  .katalog-hero__subtitle { font-size: 16px; }
}

/* =========================================================
   Accordion
   ========================================================= */
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-weight: 700; }
.accordion-toggle { font-size: 22px; transition: transform var(--transition-fast); }
.accordion-item.is-open .accordion-toggle { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height var(--transition-base); }
.accordion-item.is-open .accordion-content { max-height: 800px; padding-bottom: var(--space-4); }

/* =========================================================
   FAQ (bordered cards, plus/minus icon)
   ========================================================= */
.faq-section { background: linear-gradient(180deg, #ffffff 0%, #f5f3ef 100%); }
.faq-section .section__header { margin-bottom: 24px; }
.faq-section .section__title { font-size: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; margin-inline: auto; }
.accordion-item.faq-item { border: 1px solid #000; border-radius: 12px; padding: 15px 20px; }
.faq-item__header { padding: 0; gap: 10px; font-size: 20px; font-weight: 600; color: #1c2a22; cursor: pointer; }
.faq-item__icon { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: #216b3e; border-radius: 1px; }
.faq-item__icon::before { left: 5px; right: 5px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-item__icon::after { top: 5px; bottom: 5px; left: 50%; width: 2px; transform: translateX(-50%); transition: transform var(--transition-fast); }
.faq-item.is-open .faq-item__icon::after { transform: translateX(-50%) scaleY(0); }
.accordion-item.faq-item.is-open .faq-item__content { padding-bottom: 0; }
.faq-item__content p { font-size: 20px; font-weight: 400; color: #1c2a22; margin: 5px 0 0; }

@media (max-width: 768px) {
  .faq-section .section__title { font-size: 28px; }
}

/* =========================================================
   Motivation CTA
   ========================================================= */
.motivation-cta { background: linear-gradient(180deg, #1d452c 0%, #96b866 100%); padding: 30px 100px; }
.motivation-cta__inner { display: flex; align-items: stretch; gap: 50px; max-width: none; padding-inline: 0; }
.motivation-cta__content { display: flex; flex-direction: column; gap: 20px; flex: 1 1 550px; min-width: 0; }
.motivation-cta__stack { display: flex; flex-direction: column; gap: 5px; }
.motivation-cta__title { font-size: 32px; font-weight: 700; color: var(--color-white); text-align: left; margin: 0; }
.motivation-cta__text { font-size: 20px; font-weight: 500; color: var(--color-white); text-align: left; margin: 0; }
.motivation-cta__chips { display: grid; grid-template-columns: repeat(2, auto); justify-content: flex-start; gap: 12px; }
.motivation-cta__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min-content;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.motivation-cta__btn { align-self: flex-start; }
.motivation-cta__media { flex: 1 1 640px; min-width: 0; max-width: 640px; max-height: 340px; border-radius: 40px; overflow: hidden; position: relative; }
.motivation-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0 -200px; display: block; }
.motivation-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 1024px) {
  .motivation-cta { padding: 30px 40px; }
  .motivation-cta__inner { flex-direction: column; gap: 30px; }
  .motivation-cta__content, .motivation-cta__media { flex: 0 1 auto; }
  .motivation-cta__media { max-width: 100%; max-height: none; aspect-ratio: 640 / 340; }
}

@media (max-width: 768px) {
  .motivation-cta__media img { object-position: 0 -130px; }
}

@media (max-width: 768px) {
  .motivation-cta { padding: 30px 15px; }
  .motivation-cta__title, .motivation-cta__text { text-align: center; }
  .motivation-cta__chips { grid-template-columns: 1fr; justify-content: center; justify-items: center; }
  .motivation-cta__btn { align-self: stretch; width: 100%; }
}

/* =========================================================
   Sticky CTA bar — appears once the hero section scrolls out of view
   ========================================================= */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-white);
  box-shadow: 0 -8px 32px rgba(45,51,105,0.14);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
}
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.sticky-cta__inner { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 13px 70px; }
.sticky-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #2d7b49; color: var(--color-white);
  font-family: var(--font-primary); font-size: 16px; font-weight: 700;
  padding: 10px 12px; border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(24,79,46,0.06);
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.sticky-cta__btn:hover { background: #235f39; }
.sticky-cta__badge {
  display: inline-flex; align-items: center;
  background: rgba(194,65,12,0.9); color: var(--color-white);
  font-family: var(--font-primary); font-size: 20px; font-weight: 700;
  padding: 4px 8px; border-radius: var(--radius-full);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sticky-cta { background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .sticky-cta__inner { padding: 10px 15px; gap: 20px; }
  .sticky-cta__btn { padding: 5px 12px; }
}

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive — Mobile (max-width: 768px)
   ========================================================= */
@media (max-width: 1024px) {
  .quiz-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-form { min-width: 0; }
  /* Summary renders first once the grid stacks — so people know what
     they're ordering before filling in delivery/payment details. */
  .checkout-summary-col { position: static; max-width: none; order: -1; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --container-pad: 15px; --header-height: 72px; }

  .thank-you__title { font-size: 28px; }
  .thank-you__subtext { font-size: 16px; }
  .thank-you__cta { font-size: 18px; padding: 14px 30px; }

  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  .hero { padding: 30px 15px; }
  .hero .container { padding-inline: 0; }
  .hero__inner { flex-direction: column; gap: 20px; }
  .hero__card { order: -1; max-width: 100%; width: 100%; flex: none; aspect-ratio: 330 / 299; }
  .hero__card-badge { right: 0; }
  .hero__card-discount { font-size: 20px; padding: 10px; }
  .hero__content { max-width: 100%; width: 100%; flex: none; display: flex; flex-direction: column; }
  .hero__title { order: 1; font-size: 32px; line-height: 1.28; margin-top: 0; }
  .hero__desc { order: 2; font-size: 18px; line-height: 32px; }
  .hero__rating { order: 3; margin-top: 20px; width: min-content; }
  .hero__trust { order: 4; }
  .hero__cta-row { order: 5; flex-direction: column; gap: 10px; }
  .hero__cta-primary { width: 100%; max-width: 330px; align-self: center; }
  .hero__cta-secondary { align-self: center; }
  .hero__payments { order: 6; align-self: center; }

  .hero-slider { min-height: 560px; }
  .hero-slide__content { max-width: 100%; padding: var(--space-7) var(--container-pad); }

  .problem-section { padding: 30px 15px; }
  .problem-section .container { padding-inline: 0; }
  .problem-section__title { font-size: 28px; }
  .problem-section__cta-title { font-size: 28px; }
  .problem-section__main { flex-direction: column; flex-wrap: wrap; gap: 20px; }
  .problem-section__image { flex: none; }
  .problem-section__desc { margin-top: 10px; }
  .problem-section__stats { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 40px; }
  .problem-stat { text-align: center; }
  .problem-stat__text { margin-top: 15px; }
  .problem-section__bottom { margin-top: 30px; }
  .problem-section__cta-title { text-align: center; }
  .problem-section__benefits { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; width: 100%; aspect-ratio: auto; }
  .problem-section__benefits-img { position: static; width: 100%; max-width: 270px; height: auto; aspect-ratio: 270 / 340; }
  .problem-pill-row { position: static; inset: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .problem-pill { position: static; left: auto; top: auto; }
  .problem-section__refs { margin-top: 30px; }

  .benefits { padding: 30px 15px; }
  .benefits__row { flex-direction: column; gap: 20px; }
  .benefits__left { flex: none; }
  .benefits__title { font-size: 28px; }
  .benefits__image { flex: none; width: 100%; }
  .benefits__disclaimer { text-align: center; }

  .usage-banner { padding: 30px 15px; }
  .usage-banner__card { flex-direction: column; align-items: center; width: 330px; height: auto; min-height: 342px; }
  .usage-banner__text { width: 310px; }
  .usage-banner__title { text-align: center; }

  .efekty { padding: 30px 15px; }
  .efekty__media { aspect-ratio: 1 / 1; }
  .efekty__disclaimer { text-align: center; }

  .usage-instructions { padding: 30px 15px; }
  .usage-instructions__inner { flex-direction: column; align-items: flex-start; }
  .usage-instructions__text { order: 1; flex: none; width: 100%; }
  .usage-instructions__image { order: 2; align-self: center; }

  .ingredients-track { padding-inline: calc(50% - 140px); }
  /* Moved down to sit level with the dots row instead of overlaying the
     card artwork — same reasoning as the offer-slider's mobile arrows:
     top edge stays flush with the track's own bottom edge (bottom === height),
     so the box just grows downward over the dots band rather than floating
     mid-card. */
  .ingredients-arrow { top: auto; bottom: -24px; transform: none; width: 56px; height: 56px; }
  .ingredients-arrow:active, .ingredients-arrow.is-tap-flash { transform: scale(0.88); }
  .ingredients-arrow svg { width: 100%; height: 100%; }
  .ingredients-arrow--prev { left: 4px; }
  .ingredients-arrow--next { right: 4px; }

  .verified__card { padding: 0 15px; }

  .honest__title { font-size: 28px; }
  .honest__grid { gap: 40px; }
  .honest-card__q { right: 10px; }

  .comparison__title { font-size: 28px; }
  .comparison__cell { font-size: 14px; }
  .comparison__images { grid-template-columns: 1fr 1fr; }
  .comparison__images img { height: 165px; }

  .quiz-section { padding: 30px 15px; }
  .quiz-section__grid { flex-direction: column; gap: 30px; }
  .quiz-section__info { flex: none; width: 100%; text-align: center; }
  .quiz__progress { margin-inline: auto; }
  .quiz { flex: none; width: 100%; padding: var(--space-6) var(--space-4); border-radius: var(--radius-lg); }
  .quiz__options { grid-template-columns: 1fr; }

  .quiz-results__grid { flex-direction: column; gap: 24px; }
  .quiz-results__left { flex: none; width: 100%; height: min-content; margin-bottom: 20px; text-align: center; }
  .quiz-results__right { flex: none; width: 100%; }
  .quiz-card--featured { flex-direction: column; }
  .quiz-card--featured .quiz-card__media { width: 100%; height: 200px; }
  .quiz-cards__alts { flex-direction: column; }
  .quiz-card--secondary { flex-direction: column; }
  .quiz-cards__alts .quiz-card--secondary .quiz-card__media { width: 100%; height: 160px; }
  .quiz-card--secondary .quiz-card__cta { max-width: none; }
  .quiz-card__body { justify-content: flex-start; }

  .offer__tabs { width: 100%; max-width: 335px; }

  /* Moved down to sit level with the dots row instead of overlaying the
     card artwork — .offer-slider__dots is a sibling AFTER .offer-slider,
     so these are positioned relative to .offer-slider's own bottom edge,
     just far enough below it to line up with the dots. Sized up from the
     original 44px so the affordance reads clearly on a touch screen; the
     top edge stays flush with the slider's own bottom edge (bottom === width)
     so growing the box doesn't shift where it starts. */
  .offer-slider__arrow { top: auto; bottom: -56px; width: 56px; height: 56px; }
  .offer-slider__arrow svg { width: 100%; height: 100%; }
  .offer-slider__arrow--prev { left: 12px; }
  .offer-slider__arrow--next { right: 12px; }

  .offer-card { flex: 0 0 300px; }

  .offer-card {
    display: grid;
    /* Must match .offer-card__photo's own 153px width below — it used to be
       102px while the photo was 153px wide, so a two-product composite photo
       (wider content filling that box, unlike a single-bottle shot) visibly
       overflowed into the title column (2026-09-15 fix, real bug: reported
       on "Czysta odnowa"'s Renoliva+Liv Balance photo). */
    grid-template-columns: 153px 1fr;
    grid-template-areas:
      "badge badge"
      "photo title"
      "comp comp"
      "desc desc"
      "price price"
      "lowest lowest"
      "savings savings"
      "delivery delivery"
      "cta cta";
    gap: var(--space-2) var(--space-3);
    padding: var(--space-4);
    background: #243b2a;
    transition: background var(--transition-fast);
  }
  .offer-card.is-selected {
    background: #2a5038;
  }
  .offer-card__top,
  .offer-card__body {
    display: contents;
  }
  .offer-card__badge { grid-area: badge; justify-self: center; }
  .offer-card__photo--dashed,
  .offer-card__photo {
    grid-area: photo; width: 153px; height: 153px; min-height: 0; align-self: start; padding: var(--space-2);
  }
  .offer-card__photo img { max-width: 100%; max-height: 100%; }
  .offer-card__photo img.offer-card__photo-img--renoliva { max-width: 70%; }
  .offer-card__title,
  .offer-card__comp,
  .offer-card__desc,
  .offer-card__lowest {
    text-align: center;
  }
  /* hyphens/overflow-wrap (2026-09-15 fix, real bug): widening the photo
     column above from 102px to 153px left long single words in this
     narrower title column ("maksymalny", "regeneracja", "równowaga") with
     no breathing room, sitting flush against the card's edge — lang="pl"
     is already set on <html>, so hyphens:auto lets them break gracefully
     with a hyphen instead. */
  .offer-card__title { grid-area: title; align-self: center; margin: 0; font-size: 19px; hyphens: auto; overflow-wrap: break-word; }
  .offer-card__comp { grid-area: comp; }
  .offer-card__desc { grid-area: desc; margin-bottom: 0; }
  .offer-card__price { grid-area: price; justify-content: center; }
  .offer-card__lowest { grid-area: lowest; }
  .offer-card__savings { grid-area: savings; justify-self: center; }
  .offer-card__delivery { grid-area: delivery; }
  .offer-card__cta { grid-area: cta; margin-top: var(--space-2); }

  .cta-guarantee-btn { white-space: normal; text-align: center; max-width: 100%; }

  .reviews-section .section__title { font-size: 28px; white-space: normal; }
  .reviews-grid { grid-template-columns: 1fr; gap: 24px; }

  .cart-drawer { width: 100%; }

  .checkout-steps { display: none; }
  .checkout-card { padding: var(--space-4); }
  .checkout-summary-item__media { width: 70px; height: 70px; }
  .checkout-summary-item__media img { max-width: 56px; max-height: 56px; }
  .checkout-promo__row { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }

  .katalog-grid { justify-content: center; }
  /* Each detail panel opens directly under its own card, not after every
     card + the quiz tile — reorders the flex children without touching DOM. */
  .katalog-grid > [data-detail-toggle="berlislim"] { order: 1; }
  .katalog-grid > [data-detail-panel="berlislim"] { order: 2; }
  .katalog-grid > [data-detail-toggle="livbalance"] { order: 3; }
  .katalog-grid > [data-detail-panel="livbalance"] { order: 4; }
  .katalog-grid > .katalog-quiz-card { order: 5; }
  .katalog-detail { flex-direction: column; padding: 24px; gap: var(--space-5); }
  .katalog-detail__media { flex: none; }
  .katalog-detail__sklad-columns { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: var(--space-6); padding-block: 24px; }
  .footer-legal__row { grid-template-columns: 1fr; gap: var(--space-3); }
  .footer-legal > p { text-align: center; }
  .newsletter-form { flex-direction: row; max-width: 330px; }

  .about-hero__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .about-hero__text { text-align: center; }
  .about-hero__media { max-width: 100%; flex-basis: auto; }
  .about-manufacturing__title { text-align: left; }
  .badges-row { flex-direction: column; align-items: flex-start; }
  .badge-check { width: fit-content; }
  .about-products__grid { grid-template-columns: 1fr; }

  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow--prev { left: var(--space-3); }
  .slider-arrow--next { right: var(--space-3); }
}

@media (max-width: 480px) {
  .comparison__images img { height: 105px; }
}

