/* ks-odswiezenie.css - odświeżenie sklepu wg makiety z 20.11.2026 (Figma „Makieta Agropunkt”).

   Ładowany po ks-marka.css. Etap 1: kroje Bitter + Onest, karta produktu, nagłówki filtrów.
   Cofnięcie: usunąć <link> z head.tpl. KamikStudio, 2026-11-21 */

/* z product-images-modal.tpl (przeniesione z <style> w treści, W3C 21.11) */
.pp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pp-modal[aria-hidden="false"],
.pp-modal.show {
  opacity: 1;
  visibility: visible;
}

.pp-modal__overlay {
  position: absolute;
  inset: 0;
  background: hsl(220 20% 10% / 0.9);
  backdrop-filter: blur(4px);
}

.pp-modal__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  margin: 1rem;
}

.pp-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.pp-modal__close:hover {
  opacity: 0.7;
}

.pp-modal__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pp-modal__content {
  position: relative;
}

.pp-modal__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--pp-card));
  border-radius: var(--pp-radius-xl);
  overflow: hidden;
}

.pp-modal__image img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.pp-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--pp-card));
  border: none;
  border-radius: var(--pp-radius-full);
  color: hsl(var(--pp-foreground));
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--pp-shadow-lg);
}

.pp-modal__nav:hover {
  background: hsl(var(--pp-primary));
  color: hsl(var(--pp-primary-foreground));
}

.pp-modal__nav--prev {
  left: -1.5rem;
}

.pp-modal__nav--next {
  right: -1.5rem;
}

.pp-modal__nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pp-modal__thumbnails {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 0.5rem;
}

.pp-modal__thumb {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: hsl(var(--pp-card));
  cursor: pointer;
  transition: all 0.2s ease;
}

.pp-modal__thumb:hover {
  border-color: hsl(var(--pp-muted-foreground) / 0.5);
}

.pp-modal__thumb.active,
.pp-modal__thumb.selected {
  border-color: hsl(var(--pp-primary));
}

.pp-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-modal__counter {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.75rem;
  background: hsl(220 20% 10% / 0.7);
  color: white;
  border-radius: var(--pp-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .pp-modal__nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .pp-modal__nav--prev {
    left: 0.5rem;
  }

  .pp-modal__nav--next {
    right: 0.5rem;
  }

  .pp-modal__thumb {
    width: 3rem;
    height: 3rem;
  }
}

/* z footer_copyright.tpl (przeniesione z <style> w treści, W3C 21.11) */
#footer .ks-copyright-developer{color:rgba(255,255,255,.72)!important;font-size:.8rem!important}
#footer .ks-copyright-developer a{color:#C6FE51!important;font-weight:600!important;text-decoration:none!important}
#footer .ks-copyright-developer a:hover,#footer .ks-copyright-developer a:focus-visible{text-decoration:underline!important}


/* ---------- Kroje self-hosted (assets/fonts/) ---------- */
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-latin-ext.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --naglowki: "Bitter", Georgia, "Times New Roman", serif;
  --tekst: "Onest", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Karta produktu (listing, strona główna, polecane) ---------- */
.ks-product-card,
.product-miniature .ks-product-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  transform: none !important;
}
.ks-product-card:hover { border: 0 !important; box-shadow: none !important; transform: none !important; }
.ks-product-card.ks-product-unavailable { opacity: 1; }

.ks-product-card .ks-product-image {
  padding-top: 0 !important;
  aspect-ratio: 296 / 256;
  background: var(--tlo-cieple) !important;
  border-radius: var(--r) !important;
  overflow: hidden;
}
.ks-product-card .ks-product-thumbnail {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 6% 10%;
  background: transparent !important;
}
.ks-product-card .ks-product-thumbnail img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none !important;
}
.ks-product-card:hover .ks-product-thumbnail img { transform: scale(1.03) !important; transition: transform var(--ruch); }
.ks-product-card.ks-product-unavailable .ks-product-image img { filter: grayscale(40%); opacity: .85; }

/* serduszko zawsze widoczne, pozostałe akcje po najechaniu */
.ks-product-card .ks-product-hover-actions { top: 12px; right: 12px; gap: 8px; }
.ks-product-card .ks-product-hover-actions .ks-ulub {
  width: 44px; height: 44px; border: 0 !important; background: #fff !important; color: var(--ziel) !important;
}
.ks-product-card .ks-product-hover-actions .ks-ulub:hover,
.ks-product-card .ks-product-hover-actions .ks-ulub.is-active { background: var(--ziel) !important; color: #fff !important; }
.ks-product-card .ks-hover-btn { width: 44px; height: 44px; border: 0 !important; }
/* ekrany dotykowe nie mają najechania: zostaje samo serduszko */
@media (hover: none), (max-width: 767px) {
  .ks-product-card .ks-product-hover-actions .ks-hover-btn { display: none !important; }
}

.ks-product-card .ks-product-content { padding: 16px 0 0 !important; gap: 6px; }
.ks-product-brand { min-height: 1.3em; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--tekst-cichy); line-height: 1.3; }
.ks-product-card .ks-product-title { flex: 0 0 auto; font-size: 1rem !important; }
.ks-product-card .ks-product-title a {
  font-weight: 500 !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 3 !important;
  min-height: calc(1.35em * 2);
}
.ks-product-card .ks-product-availability { margin-top: 2px; }
.ks-product-card .ks-availability { font-size: .8125rem; font-weight: 600; }
.ks-product-card .ks-product-price { margin-top: auto; padding: 10px 0 4px; flex-direction: column; align-items: flex-start; gap: 0; }
.ks-product-card .ks-price-current { font-size: 1.375rem !important; color: var(--ziel) !important; line-height: 1.2; }
.ks-product-card .ks-price-current.ks-price-sale { color: var(--blad) !important; }
.ks-product-card .ks-price-regular { order: -1; }
.ks-product-card .ks-price-unit { font-size: .8125rem; color: var(--tekst-cichy); }

.ks-product-card .ks-product-actions { margin-top: 8px; }
.ks-product-card .ks-add-to-cart-form { gap: 8px; }
.ks-product-card .ks-qty-input { width: 56px; height: 48px; border: 1px solid var(--linia-mocna) !important; font-weight: 600; }
.ks-product-card .ks-btn { height: 48px; border-radius: var(--r-maly) !important; font-size: .9375rem; font-weight: 700; }
.ks-product-card .ks-btn--cart { gap: 8px; background: var(--ziel) !important; color: #fff !important; }
.ks-product-card .ks-btn--cart:hover { background: var(--ziel-ciemna) !important; }
.ks-product-card .ks-btn--notify,
.ks-product-card .ks-btn--variants { flex: 1; background: #fff !important; color: var(--ziel) !important; border: 2px solid var(--ziel) !important; }
.ks-product-card .ks-btn--notify:hover,
.ks-product-card .ks-btn--variants:hover { background: var(--ziel) !important; color: #fff !important; }

/* trzy kolumny na listingu przy sidebarze (pełne nazwy i większe zdjęcia), cztery bez sidebara */
@media (min-width: 992px) {
  .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 40px 24px !important; }
  .ks-sidebar-hidden .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.ks-products-grid > *, .ks-product-card, .ks-product-card .ks-product-content { min-width: 0; }
.ks-product-card .ks-product-title a { overflow-wrap: anywhere; }
@media (min-width: 768px) and (max-width: 991px) {
  .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 575px) {
  .ks-products-grid { gap: 28px 12px !important; }
  .ks-product-card .ks-product-title { font-size: .9375rem !important; }
  .ks-product-card .ks-product-hover-actions .ks-ulub,
  .ks-product-card .ks-hover-btn { width: 40px; height: 40px; }
  .ks-product-card .ks-add-to-cart-form { flex-wrap: nowrap; }
  .ks-product-card .ks-qty-wrapper { display: none; }
  .ks-product-card .ks-btn { font-size: .875rem; padding: 0 10px; }
  .ks-product-card .ks-btn--notify { white-space: normal; line-height: 1.15; font-size: .8125rem; gap: 6px; }
}

/* ---------- Filtry: wyraźne kafelki do kliknięcia (uwaga Łukasza z 20.11) ---------- */
.ks-listing-sidebar .ks-filter-block { border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; margin-bottom: 10px !important; }
.ks-listing-sidebar .ks-filter-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 56px;
  padding: 10px 12px 10px 16px !important;
  border-bottom: 1px solid var(--linia) !important;
}
.ks-listing-sidebar .ks-filter-block.is-collapsed .ks-filter-header { border-bottom: 0 !important; }
.ks-listing-sidebar .ks-filter-block:not(.is-collapsed):not(.ks-filter-categories) .ks-filter-header { background: var(--ziel-jasna) !important; }
.ks-listing-sidebar .ks-filter-header:hover { background: var(--tlo-cieple) !important; }
.ks-listing-sidebar .ks-filter-title { grid-column: 1; grid-row: 1; min-width: 0; font-size: 1.0625rem !important; line-height: 1.25; color: var(--ziel) !important; }
.ks-filter-hint { grid-column: 1; grid-row: 2; padding-left: 28px; font-family: var(--tekst); font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--dostepny); }
.ks-listing-sidebar .ks-filter-toggle {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  background: var(--tlo-cieple);
  color: var(--ziel) !important;
  transform: none !important;
}
.ks-listing-sidebar .ks-filter-toggle svg { width: 16px; height: 16px; transition: transform var(--ruch); transform: rotate(180deg); }
.ks-listing-sidebar .ks-filter-block.is-collapsed .ks-filter-toggle svg { transform: rotate(0deg); }
.ks-listing-sidebar .ks-filter-block:not(.is-collapsed) .ks-filter-toggle { background: #fff; }
.ks-listing-sidebar .ks-filter-header:focus-visible { outline: 3px solid var(--ziel); outline-offset: -3px; }

/* =====================================================================
   Etap 2: strona główna (ks_homepage) wg makiety A1 / D1
   ===================================================================== */

/* ---------- Pasek pogody ---------- */
.ks-weather-bar { border-bottom: 1px solid var(--linia) !important; }
.ks-weather-bar__content { justify-content: flex-start !important; gap: 6px 24px !important; padding: 8px 0 !important; font-size: .875rem; }
.ks-weather-bar__location-btn { padding: 6px 8px 6px 0 !important; gap: 6px !important; color: var(--ziel) !important; font-weight: 600; }
.ks-weather-bar__svg { color: var(--ziel); flex: none; }
.ks-weather-bar__sep { margin-left: -4px; }
.ks-weather-bar__region { font-weight: 700 !important; }
.ks-weather-bar__icon { display: none !important; }
.ks-weather-bar__condition { font-size: .875rem !important; color: var(--tekst-cichy) !important; }
.ks-weather-bar__tip { background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--atrament) !important; font-size: .875rem !important; font-weight: 500 !important; }
.ks-weather-bar__tip::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--dostepny); vertical-align: middle; }
.ks-weather-bar__change { margin-left: auto; padding: 6px 0; border: 0; background: none; color: var(--ziel); font-size: .8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ks-weather-dropdown__search button { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 767px) {
  .ks-weather-bar__content { justify-content: space-between !important; }
  .ks-weather-bar__change { display: none; }
}

/* ---------- Baner z H1 + kafle kategorii ---------- */
.ks-hero { padding: 24px 0 8px !important; }
.ks-hero__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important; gap: 20px !important; }
.ks-hero__slider { height: auto !important; min-height: 420px; overflow: visible !important; border-radius: var(--r-duzy) !important; }
.ks-baner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px;
  height: 100%; min-height: 420px; padding: 40px 32px 40px 44px; border-radius: var(--r-duzy); background: var(--ziel); color: #fff; overflow: hidden;
}
.ks-baner__znacznik { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--limonka); font-size: .875rem; font-weight: 600; }
.ks-baner__tytul { margin: 0 0 16px; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(2rem, 1.1rem + 2vw, 2.9rem) !important; line-height: 1.05 !important; letter-spacing: -0.015em; color: #fff !important; text-wrap: balance; }
.ks-baner__tytul span { display: block; color: #fff; }
.ks-baner__lid { margin: 0 0 24px; max-width: 46ch; color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.55; }
.ks-baner__akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ks-baner__przycisk { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: var(--r-maly); background: var(--limonka); color: var(--ziel) !important; font-weight: 700; text-decoration: none !important; transition: transform var(--ruch), background var(--ruch); }
.ks-baner__przycisk:hover { background: #d6ff7f; transform: translateY(-2px); }
.ks-baner__przycisk:focus-visible, .ks-baner__telefon:focus-visible { outline: 3px solid var(--limonka); outline-offset: 3px; }
.ks-baner__telefon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff !important; font-size: .9375rem; font-weight: 600; text-decoration: none !important; }
.ks-baner__telefon:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.ks-baner__produkty { position: relative; align-self: stretch; min-height: 320px; }
.ks-baner__produkty::before { content: ""; position: absolute; inset: 2% -14% -4% 0; border-radius: 48% 52% 44% 56% / 56% 46% 54% 44%; background: var(--limonka); }
.ks-baner__worek { position: absolute; display: block; mix-blend-mode: multiply; }
.ks-baner__worek img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform var(--ruch); }
.ks-baner__worek:hover img { transform: translateY(-4px); }
.ks-baner__worek--1 { z-index: 3; left: 30%; top: 4%; width: 38%; height: 78%; }
.ks-baner__worek--2 { z-index: 2; left: 4%; top: 22%; width: 34%; height: 62%; }
.ks-baner__worek--3 { z-index: 2; right: 0; top: 18%; width: 32%; height: 66%; }
.ks-baner__cena { position: absolute; z-index: 4; left: 26%; bottom: 2%; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--r-maly); background: #fff; color: var(--atrament) !important; text-decoration: none !important; line-height: 1.2; }
.ks-baner__cena span { font-size: .75rem; color: var(--tekst-cichy); }
.ks-baner__cena strong { font-family: var(--naglowki); font-size: 1.25rem; font-weight: 800; color: var(--ziel); }

.ks-season-grid { height: 100%; gap: 16px !important; }
.ks-season-card {
  position: relative !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important;
  min-height: 202px; padding: 18px 18px 16px !important; overflow: hidden; text-align: left !important; text-decoration: none !important; border-radius: var(--r) !important; border: 1px solid var(--linia) !important; transform: none !important;
}
.ks-season-card:hover { border-color: var(--ziel) !important; }
.ks-season-card__name { position: relative; z-index: 1; font-size: 1.125rem !important; line-height: 1.15; color: var(--ziel) !important; text-align: left !important; }
.ks-season-card__opis { position: relative; z-index: 1; margin-top: 6px; max-width: 75%; font-size: .8125rem; line-height: 1.35; color: var(--tekst-cichy); }
.ks-season-card__strzalka { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tlo-cieple); color: var(--ziel); transition: background var(--ruch), color var(--ruch); }
.ks-season-card:hover .ks-season-card__strzalka { background: var(--ziel); color: #fff; }
.ks-season-card__foto { position: absolute; right: 8px; bottom: 8px; width: 46%; height: auto; max-height: 52%; object-fit: contain; mix-blend-mode: multiply; }
.ks-season-card__badge, .ks-season-card__icon { display: none !important; }

@media (max-width: 1199px) {
  .ks-hero__grid { grid-template-columns: 1fr !important; }
  .ks-season-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .ks-hero { padding-top: 12px !important; }
  .ks-hero__slider, .ks-baner { min-height: 0; }
  .ks-baner { grid-template-columns: 1fr; padding: 28px 20px 0; border-radius: var(--r); gap: 8px; }
  .ks-baner__tytul { font-size: 2rem !important; }
  .ks-baner__lid { font-size: .9375rem; margin-bottom: 18px; }
  .ks-baner__przycisk { width: 100%; justify-content: center; }
  .ks-baner__produkty { min-height: 230px; margin: 0 -20px; }
  .ks-season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .ks-season-card { min-height: 168px; padding: 14px !important; }
  .ks-season-card__name { font-size: 1rem !important; }
  .ks-season-card__opis { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ks-season-card__foto { max-height: 44%; width: 42%; }
  .ks-season-card__strzalka { left: 14px; bottom: 14px; }
}

/* ---------- Kalkulator dawkowania ---------- */
.ks-shortcuts { padding: 20px 0 8px !important; }
.ks-shortcut { gap: 18px !important; padding: 18px 22px !important; border-radius: var(--r) !important; }
.ks-shortcut:hover { box-shadow: none !important; }
.ks-shortcut .ks-shortcut__icon { display: flex !important; width: 48px; height: 48px; border-radius: var(--r-maly) !important; background: var(--ziel-jasna) !important; color: var(--ziel); }
.ks-shortcut__action--calc { flex-wrap: wrap; gap: 12px 16px !important; }
.ks-shortcut__calc-input { flex-direction: column; align-items: flex-start !important; gap: 4px !important; padding: 0 !important; background: none !important; border: 0 !important; }
.ks-shortcut__calc-input > span:first-child { font-size: .75rem; font-weight: 600; color: var(--tekst-cichy); }
.ks-shortcut__pole { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--linia-mocna); border-radius: var(--r-maly); background: #fff; }
.ks-shortcut__pole input { width: 70px; padding: 0 !important; border: 0 !important; background: transparent !important; font-weight: 600; font-size: 1rem; text-align: left !important; box-shadow: none !important; }
.ks-shortcut__pole em { font-style: normal; font-size: .8125rem; color: var(--tekst-cichy); }
.ks-shortcut__pole:focus-within { border-color: var(--ziel); box-shadow: 0 0 0 2px var(--ziel-jasna); }
.ks-shortcut__wynik { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px; border-radius: var(--r-maly); background: var(--limonka-tlo); color: var(--ziel); font-size: .875rem; font-weight: 600; align-self: flex-end; }
.ks-shortcut__wynik strong { font-family: var(--naglowki); font-size: 1.25rem; font-weight: 800; }
.ks-shortcut--calculator .ks-shortcut__btn--secondary { align-self: flex-end; min-height: 44px; background: #fff !important; color: var(--ziel) !important; border: 2px solid var(--ziel) !important; }
.ks-shortcut--calculator .ks-shortcut__btn--secondary:hover { background: var(--ziel) !important; color: #fff !important; }
@media (max-width: 991px) {
  .ks-shortcut--calculator { flex-wrap: wrap; }
  .ks-shortcut--calculator .ks-shortcut__action { width: 100%; }
}
@media (max-width: 575px) {
  .ks-shortcut__calc-input { flex: 1 1 40%; }
  .ks-shortcut__pole input { width: 100%; }
  .ks-shortcut__wynik, .ks-shortcut--calculator .ks-shortcut__btn--secondary { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Sekcje produktów ---------- */
.ks-featured-section { padding: clamp(40px, 3vw + 20px, 72px) 0 !important; background: #fff !important; }
.ks-featured-section--ciepla { background: var(--tlo-cieple) !important; }
.ks-featured-header { align-items: flex-end !important; margin-bottom: 28px !important; padding-bottom: 0 !important; border-bottom: 0 !important; gap: 12px 32px; }
.ks-featured-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem) !important; line-height: 1.1 !important; color: var(--ziel) !important; text-transform: none !important; }
.ks-featured-description { margin-top: 6px !important; color: var(--tekst-cichy) !important; font-size: 1rem !important; }
.ks-featured-link { flex: none; display: inline-flex !important; align-items: center; gap: 6px; min-height: 44px; color: var(--ziel) !important; font-weight: 700 !important; text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px; }
.ks-featured-badge, .ks-featured-icon, .ks-featured-more { display: none !important; }
.ks-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 40px 24px !important; }
.ks-featured-section--rzad .container { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 4fr); gap: 24px 32px; align-items: start; }
.ks-featured-section--rzad .ks-featured-header { flex-direction: column; align-items: flex-start !important; margin: 0 !important; }
.ks-featured-section--rzad .ks-featured-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; }
.ks-featured-section--rzad .ks-featured-description { font-size: .9375rem !important; }
.ks-featured-section--rzad .ks-featured-link { font-size: .9375rem; }
@media (max-width: 1199px) {
  .ks-featured-section--rzad .container { grid-template-columns: 1fr; }
  .ks-featured-section--rzad .ks-featured-header { flex-direction: row; align-items: flex-end !important; justify-content: space-between; width: 100%; }
}
@media (max-width: 991px) {
  .ks-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .ks-featured-section { padding: 36px 0 !important; }
  .ks-featured-header, .ks-featured-section--rzad .ks-featured-header { flex-direction: column !important; align-items: flex-start !important; gap: 4px; margin-bottom: 18px !important; }
  .ks-featured-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 28px 12px !important; }
  .ks-featured-product { flex: none !important; min-width: 0; }
}

/* ---------- Kalendarz prac + na skróty ---------- */
.ks-calendar { padding: clamp(40px, 3vw + 20px, 72px) 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff; }
.ks-calendar__wrapper { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.ks-calendar__header { margin-bottom: 20px !important; gap: 12px; flex-wrap: wrap; }
.ks-calendar__title { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; color: var(--ziel) !important; }
.ks-calendar__nav-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; border: 1px solid var(--linia-mocna) !important; border-radius: 50% !important; color: var(--ziel); }
.ks-calendar__current { font-weight: 700 !important; color: var(--ziel) !important; }
.ks-calendar__months { gap: 6px !important; margin-bottom: 24px !important; }
.ks-calendar__month { padding: 10px 4px !important; border: 1px solid var(--linia) !important; background: #fff !important; font-size: .75rem !important; font-weight: 600; color: var(--tekst-cichy) !important; }
.ks-calendar__month--active { background: var(--ziel) !important; border-color: var(--ziel) !important; color: #fff !important; }
.ks-calendar__month--current { box-shadow: none !important; border-color: var(--ziel) !important; }
.ks-calendar__tasks { display: block !important; border-top: 1px solid var(--linia); }
.ks-calendar__task {
  display: grid !important; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr) auto; align-items: center; gap: 4px 24px;
  padding: 16px 0 !important; border: 0 !important; border-bottom: 1px solid var(--linia) !important; border-radius: 0 !important; background: transparent !important; color: var(--atrament); text-decoration: none !important;
}
.ks-calendar__task[style*="none"] { display: none !important; }
.ks-calendar__task:hover { box-shadow: none !important; }
.ks-calendar__task:hover .ks-calendar__task-title { text-decoration: underline; text-underline-offset: 3px; }
.ks-calendar__task-month, .ks-calendar__task-label { display: none !important; }
.ks-calendar__task-title { margin: 0 !important; font-family: var(--naglowki); font-weight: 700; font-size: 1rem; color: var(--ziel) !important; }
.ks-calendar__task-desc { margin: 0 !important; font-size: .9375rem !important; color: var(--atrament) !important; }
.ks-calendar__task-link { color: var(--ziel); }
.ks-quick-links { margin-top: 40px; padding: 0 !important; }
.ks-quick-links__title { margin: 0 0 14px; font-family: var(--naglowki); font-weight: 800; font-size: 1.25rem; color: var(--ziel); }
.ks-quick-links__list { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px !important; justify-content: stretch !important; }
.ks-quick-link { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 14px !important; border: 1px solid var(--linia) !important; border-radius: var(--r-maly) !important; background: #fff !important; color: var(--atrament) !important; font-size: .875rem !important; font-weight: 600; text-decoration: none !important; }
.ks-quick-link svg { flex: none; color: var(--ziel); }
.ks-quick-link:hover { border-color: var(--ziel) !important; color: var(--ziel) !important; }
@media (max-width: 1199px) { .ks-quick-links__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ks-calendar__header { flex-direction: row !important; justify-content: space-between; }
  .ks-calendar__months { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .ks-calendar__task { grid-template-columns: minmax(0, 1fr) auto; }
  .ks-calendar__task-desc { grid-column: 1; }
  .ks-calendar__task-link { grid-column: 2; grid-row: 1 / span 2; }
  .ks-quick-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Treść SEO ---------- */
.ks-seo { padding: clamp(48px, 3vw + 28px, 88px) 0 !important; background: var(--tlo-cieple) !important; border-top: 0 !important; }
.ks-seo__wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 56px; max-width: none !important; }
.ks-seo__header { text-align: left !important; margin: 0 !important; }
.ks-seo__title { font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem) !important; line-height: 1.1 !important; color: var(--ziel) !important; }
.ks-seo__subtitle { margin-top: 12px !important; color: var(--tekst-cichy) !important; font-size: 1.0625rem !important; }
.ks-seo__content { display: flex !important; flex-direction: column; gap: 28px !important; margin: 0 !important; }
.ks-seo__column h3 { display: block !important; margin: 0 0 8px !important; padding: 0 !important; border: 0 !important; font-family: var(--naglowki) !important; font-weight: 700 !important; font-size: 1.125rem !important; color: var(--ziel) !important; }
.ks-seo__column p { text-align: left !important; font-size: .9375rem !important; line-height: 1.7 !important; color: var(--atrament) !important; max-width: 75ch; }
.ks-seo__column-subtitle { font-style: normal !important; color: var(--tekst-cichy) !important; margin: 0 0 8px !important; }
.ks-seo__footer { margin-top: 28px; padding: 0 !important; text-align: left !important; background: none !important; border: 0 !important; }
.ks-seo__footer p { color: var(--tekst-cichy) !important; font-size: .9375rem !important; }
@media (max-width: 991px) { .ks-seo__wrapper { grid-template-columns: 1fr; } }

/* =====================================================================
   Etap 2b: dół strony (porady, marki, newsletter, zalety, stopka) - wszystkie podstrony.
   ks_footer.css ładuje się w <body> z !important, stąd prefiks html body.
   ===================================================================== */

/* ---------- Porady dla rolnika ---------- */
html :is(body, #footer) .ks-footer-blog { padding: clamp(48px, 3vw + 28px, 80px) 0 !important; background: #fff !important; border-top: 0 !important; }
html :is(body, #footer) .ks-footer-blog .ks-container { max-width: 1280px !important; padding: 0 20px !important; }
html :is(body, #footer) .ks-blog-header { max-width: none !important; padding: 0 !important; margin-bottom: 28px !important; align-items: flex-end !important; gap: 16px; }
html :is(body, #footer) .ks-blog-title { font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem) !important; color: var(--ziel) !important; margin: 0 !important; }
html :is(body, #footer) .ks-blog-subtitle { margin-top: 6px !important; color: var(--tekst-cichy) !important; }
html :is(body, #footer) .ks-blog-wszystkie { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ziel) !important; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
html :is(body, #footer) .ks-blog-scroll { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px !important; overflow: visible !important; padding: 0 !important; }
html :is(body, #footer) .ks-blog-scroll > .ks-blog-card:nth-child(n+5) { display: none !important; }
html :is(body, #footer) .ks-blog-card { width: auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
html :is(body, #footer) .ks-blog-card:hover { box-shadow: none !important; }
html :is(body, #footer) .ks-blog-card-image { height: auto !important; aspect-ratio: 4 / 3; border-radius: var(--r) !important; }
html :is(body, #footer) .ks-blog-card-category, html :is(body, #footer) .ks-blog-card-all { display: none !important; }
html :is(body, #footer) .ks-blog-card-content { padding: 14px 0 0 !important; display: flex; flex-direction: column-reverse; gap: 8px; }
html :is(body, #footer) .ks-blog-card-title { font-family: var(--naglowki) !important; font-weight: 700 !important; font-size: 1.125rem !important; line-height: 1.25 !important; color: var(--ziel) !important; margin: 0 !important; }
html :is(body, #footer) .ks-blog-card:hover .ks-blog-card-title { text-decoration: underline; text-underline-offset: 3px; }
html :is(body, #footer) .ks-blog-card-meta { font-size: .8125rem !important; color: var(--tekst-cichy) !important; }
@media (max-width: 991px) { html :is(body, #footer) .ks-blog-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
  html :is(body, #footer) .ks-blog-header { flex-direction: column; align-items: flex-start !important; }
  html :is(body, #footer) .ks-blog-scroll { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; gap: 16px !important; margin: 0 !important; padding: 0 0 8px !important; }
  html :is(body, #footer) .ks-blog-card { flex: 0 0 78% !important; scroll-snap-align: start; }
  html :is(body, #footer) .ks-blog-scroll > .ks-blog-card:nth-child(n+5) { display: block !important; }
}

/* ---------- Marki ---------- */
html :is(body, #footer) .ks-footer-brands { padding: 28px 0 !important; background: #fff !important; border-top: 1px solid var(--linia) !important; border-bottom: 0 !important; }
html :is(body, #footer) .ks-footer-brands .ks-container { max-width: 1280px !important; padding: 0 20px !important; }
html :is(body, #footer) .ks-brands-wrapper { gap: 16px 40px !important; }
html :is(body, #footer) .ks-brands-title { flex: none; font-size: .8125rem !important; color: var(--tekst-cichy) !important; }
html :is(body, #footer) .ks-brands-list { overflow: visible !important; mask-image: none !important; -webkit-mask-image: none !important; }
html :is(body, #footer) .ks-brands-track { animation: none !important; transform: none !important; flex-wrap: wrap; gap: 12px 36px !important; }
html :is(body, #footer) .ks-brand-item { font-family: var(--naglowki) !important; font-weight: 700 !important; font-size: 1.125rem !important; color: var(--tekst-cichy) !important; opacity: 1 !important; text-decoration: none !important; }
html :is(body, #footer) .ks-brand-item:hover { color: var(--ziel) !important; }

/* ---------- Newsletter ---------- */
html :is(body, #footer) .ks-footer-newsletter { padding: 0 20px clamp(48px, 3vw + 28px, 80px) !important; background: #fff !important; }
html :is(body, #footer) .ks-footer-newsletter::before, html :is(body, #footer) .ks-newsletter-overlay, html :is(body, #footer) .ks-newsletter-badge, html :is(body, #footer) .ks-newsletter-bonus { display: none !important; }
html :is(body, #footer) .ks-newsletter-content {
  position: relative; z-index: 1; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: center;
  max-width: 1240px !important; margin: 0 auto !important; padding: clamp(28px, 3vw, 48px) clamp(20px, 4vw, 56px) !important; border-radius: var(--r-duzy) !important; background: var(--ziel) !important; text-align: left !important;
}
html :is(body, #footer) .ks-newsletter-title { margin: 0 0 12px !important; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem) !important; line-height: 1.1 !important; color: #fff !important; text-align: left !important; }
html :is(body, #footer) .ks-newsletter-subtitle { margin: 0 !important; color: rgba(255,255,255,.8) !important; text-align: left !important; max-width: 44ch; }
html :is(body, #footer) .ks-newsletter-etykieta { margin: 0 0 8px; font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.75); }
html :is(body, #footer) .ks-newsletter-crops { justify-content: flex-start !important; gap: 8px !important; margin: 0 0 14px !important; }
html :is(body, #footer) .ks-crop-btn { min-height: 40px; padding: 6px 14px !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: var(--r-maly) !important; background: transparent !important; color: #fff !important; font-weight: 600 !important; }
html :is(body, #footer) .ks-crop-btn.active, html :is(body, #footer) .ks-crop-btn[aria-pressed="true"] { background: var(--limonka) !important; border-color: var(--limonka) !important; color: var(--ziel) !important; }
html :is(body, #footer) .ks-newsletter-form { max-width: none !important; margin: 0 !important; }
html :is(body, #footer) .ks-newsletter-input-wrapper { gap: 8px !important; }
html :is(body, #footer) .ks-newsletter-input { min-height: 52px; border: 0 !important; border-radius: var(--r-maly) !important; }
html :is(body, #footer) .ks-newsletter-submit { min-height: 52px; border-radius: var(--r-maly) !important; background: var(--limonka) !important; color: var(--ziel) !important; font-weight: 700 !important; }
html :is(body, #footer) .ks-newsletter-rodo { justify-content: flex-start !important; text-align: left !important; }
html :is(body, #footer) .ks-rodo-text { color: rgba(255,255,255,.75) !important; text-align: left !important; }
html :is(body, #footer) .ks-rodo-text a { color: #fff !important; }
@media (max-width: 991px) { html :is(body, #footer) .ks-newsletter-content { grid-template-columns: 1fr; } }

/* ---------- Zalety (pasek przed stopką) ---------- */
html :is(body, #footer) .ks-footer-trust { padding: 24px 0 !important; background: #fff !important; border-top: 1px solid var(--linia) !important; border-bottom: 0 !important; }
html :is(body, #footer) .ks-trust-scroll { max-width: 1280px !important; mask-image: none !important; -webkit-mask-image: none !important; }
html :is(body, #footer) .ks-trust-track { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; animation: none !important; gap: 16px 24px !important; }
html :is(body, #footer) .ks-trust-badge.ks-trust-clone { display: none !important; }
html :is(body, #footer) .ks-trust-badge { padding: 0 !important; border: 0 !important; background: transparent !important; gap: 12px !important; align-items: center !important; min-width: 0 !important; }
html :is(body, #footer) .ks-trust-badge-icon { flex: none; width: 44px !important; height: 44px !important; border-radius: var(--r-maly) !important; background: var(--ziel-jasna) !important; }
html :is(body, #footer) .ks-trust-badge-icon svg { stroke: var(--ziel) !important; }
html :is(body, #footer) .ks-trust-badge-title { color: var(--ziel) !important; font-weight: 700 !important; font-size: .9375rem !important; }
html :is(body, #footer) .ks-trust-badge-subtitle { color: var(--tekst-cichy) !important; font-size: .8125rem !important; }
@media (max-width: 991px) { html :is(body, #footer) .ks-trust-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { html :is(body, #footer) .ks-trust-track { grid-template-columns: 1fr; } }
html :is(body, #footer) .ks-trust-badge-text { text-align: left !important; align-items: flex-start !important; }

/* ---------- Stopka ---------- */
html :is(body, #footer) .ks-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr !important; }
html :is(body, #footer) .ks-footer-logo { display: inline-flex !important; align-items: center; margin-bottom: 18px !important; padding: 10px 14px; border-radius: var(--r-maly); background: #fff; }
html :is(body, #footer) .ks-footer-logo img { display: block; width: 168px; height: auto; }
html :is(body, #footer) .ks-footer-col-title { font-family: var(--naglowki) !important; font-weight: 700 !important; font-size: 1.0625rem !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--limonka) !important; }
html :is(body, #footer) .ks-footer-info-row { grid-column: 2 / -1 !important; }
@media (max-width: 1199px) {
  html :is(body, #footer) .ks-footer-grid { grid-template-columns: 1fr 1fr 1fr !important; }
  html :is(body, #footer) .ks-footer-col--brand { grid-row: auto !important; grid-column: 1 / -1 !important; }
  html :is(body, #footer) .ks-footer-info-row { grid-column: 1 / -1 !important; }
}
@media (max-width: 767px) {
  html :is(body, #footer) .ks-footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 479px) {
  html :is(body, #footer) .ks-footer-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Pasek menu: bez znaczków NEW/HOT, link sezonowy ---------- */
.base-menu-horizontal .menu-subtitle, #ks-header-categories .menu-subtitle { display: none !important; }
.ks-header-sezon { display: none; }
@media (min-width: 1200px) {
  #ks-header-categories > .container { display: flex; align-items: center; gap: 16px; }
  #ks-header-categories .ks-catscroll { flex: 1 1 auto; min-width: 0; }
  .ks-header-sezon { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--ziel) !important; font-weight: 700; font-size: .9375rem; text-decoration: none !important; white-space: nowrap; }
  .ks-header-sezon:hover { text-decoration: underline !important; text-underline-offset: 4px; }
}

/* Kafle kategorii przy banerze - poprawka 21.11 (większe zdjęcia, jasne tło zamiast pustej ramki) */
.ks-season-card { background: var(--tlo-cieple) !important; border: 1px solid transparent !important; }
.ks-season-card:hover { background: var(--ziel-jasna) !important; border-color: var(--ziel) !important; }
.ks-season-card__opis { max-width: 68%; }
.ks-season-card__strzalka { background: #fff; }
.ks-season-card__foto { right: 4%; bottom: 6%; width: 52%; max-height: 66%; }
.ks-season-card:hover .ks-season-card__foto { transform: scale(1.04); transition: transform var(--ruch); }
@media (max-width: 767px) {
  .ks-season-card__opis { max-width: 100%; }
  .ks-season-card__foto { width: 48%; max-height: 50%; }
}

/* Przedsprzedaż / zamówienie bez stanu na karcie: wyraźny status, nie szary */
.ks-product-card.ks-product-preorder { border: 0 !important; box-shadow: none !important; }
.ks-product-card .ks-availability--preorder { display: inline-flex; align-items: center; gap: 6px; color: var(--uwaga) !important; font-weight: 700 !important; line-height: 1.3; }
.ks-product-card .ks-availability--preorder svg { flex: none; }
.ks-product-card .ks-btn--zamow { flex: 1; text-decoration: none !important; }

/* ---------- Karuzela w sekcjach kategorii (12 produktów, lewo/prawo, na końcu „Zobacz więcej”) ---------- */
.ks-featured-grid.ks-karuzela {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px !important; overflow-x: auto !important; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px !important; margin: 0 !important;
}
.ks-featured-grid.ks-karuzela::-webkit-scrollbar { display: none; }
.ks-featured-grid.ks-karuzela > * { scroll-snap-align: start; min-width: 0; }
.ks-karuzela__strzalki { display: flex; gap: 8px; margin-top: 8px; }
.ks-karuzela__strzalka { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--linia-mocna); border-radius: 50%; background: #fff; color: var(--ziel); cursor: pointer; transition: background var(--ruch), color var(--ruch); }
.ks-karuzela__strzalka:hover { background: var(--ziel); border-color: var(--ziel); color: #fff; }
.ks-karuzela__wiecej { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; aspect-ratio: 296 / 256; padding: 20px; border-radius: var(--r); background: var(--ziel); color: #fff !important; text-decoration: none !important; }
.ks-karuzela__wiecej strong { font-family: var(--naglowki); font-size: 1.25rem; font-weight: 800; }
.ks-karuzela__wiecej span:last-child { font-size: .875rem; color: rgba(255,255,255,.8); }
.ks-karuzela__wiecej-ikona { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 50%; background: var(--limonka); color: var(--ziel); }
.ks-karuzela__wiecej:hover { background: var(--ziel-ciemna); }
@media (max-width: 1199px) {
  .ks-featured-section--rzad .ks-featured-header { flex-wrap: wrap; }
  .ks-karuzela__strzalki { margin-top: 0; }
}
@media (max-width: 991px) { .ks-featured-grid.ks-karuzela { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (max-width: 767px) {
  .ks-featured-grid.ks-karuzela { grid-template-columns: none !important; grid-auto-columns: 46%; gap: 12px !important; overflow-x: auto !important; }
  .ks-karuzela__strzalki { display: none; }
}

/* ---------- Baner ze zdjęciem ze slajdu (panel: KS Homepage > Slidery) ---------- */
.ks-baner--foto { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-right: 0; gap: 32px; }
.ks-baner__foto { position: relative; align-self: stretch; display: block; margin: -40px 0 -40px 0; min-height: 420px; overflow: hidden; }
.ks-baner__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 85%; transition: transform .4s ease; }
.ks-baner__foto:hover img { transform: scale(1.03); }
@media (max-width: 767px) {
  .ks-baner--foto { grid-template-columns: 1fr; padding-right: 20px; gap: 20px; }
  .ks-baner__foto { min-height: 210px; margin: 0 -20px; }
}

/* ---------- Kafle kategorii: zdjęcie w prawym górnym rogu, tekst obok (uwaga Patryka 21.11) ---------- */
.ks-season-card { min-height: 0 !important; }
.ks-season-card__name, .ks-season-card__opis { max-width: 58% !important; }
.ks-season-card__foto { top: 14px !important; right: 12px !important; bottom: auto !important; width: 38% !important; max-height: calc(100% - 28px) !important; height: auto; }
.ks-season-card__strzalka { position: relative !important; left: auto !important; bottom: auto !important; margin-top: auto; }
.ks-season-card { gap: 0; }
.ks-season-card__opis { margin-bottom: 14px; }
@media (max-width: 767px) {
  .ks-season-card__name, .ks-season-card__opis { max-width: 60% !important; }
  .ks-season-card__foto { width: 36% !important; }
}

/* =====================================================================
   Etap 3: karta produktu wg makiety C1
   ===================================================================== */
.pp-eyebrow { margin: 0 0 8px; font-size: .875rem; font-weight: 600; color: var(--tekst-cichy); }
.pp-eyebrow:empty { display: none; }
.pp-title { color: var(--ziel) !important; font-family: var(--naglowki) !important; font-weight: 800 !important; }

.pp-przedsprzedaz { margin: 4px 0 20px; padding: 16px 18px; border-radius: var(--r); background: var(--uwaga-tlo); }
.pp-przedsprzedaz__tytul { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--uwaga); font-weight: 700; font-size: .9375rem; }
.pp-przedsprzedaz__kroki { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.pp-przedsprzedaz__kroki li { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.pp-przedsprzedaz__kroki li + li::before { content: "→"; position: absolute; left: -22px; top: 4px; color: var(--uwaga); font-weight: 700; }
.pp-przedsprzedaz__kroki strong { display: block; color: var(--atrament); font-size: .9375rem; }
.pp-przedsprzedaz__kroki span span, .pp-przedsprzedaz__kroki li > span:last-child { font-size: .8125rem; color: var(--tekst-cichy); }
.pp-przedsprzedaz__nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--uwaga); color: #fff !important; font-size: .8125rem !important; font-weight: 700; }
@media (max-width: 575px) { .pp-przedsprzedaz__kroki { grid-template-columns: 1fr; } .pp-przedsprzedaz__kroki li + li::before { display: none; } }

.pp-price__current { color: var(--ziel) !important; font-family: var(--naglowki) !important; font-weight: 800 !important; }
.pp-price__info { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; color: var(--tekst-cichy); }
.pp-price__info > span + span::before { content: "·"; margin-right: 14px; }
p.pp-price__notice { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 0 !important; background: none !important; border: 0 !important; font-size: .8125rem; color: var(--tekst-cichy); }
p.pp-price__notice svg { flex: none; margin-top: 2px; }

.pp-volume-discounts { margin: 18px 0 !important; padding: 14px 18px !important; border: 1px solid var(--linia) !important; border-radius: var(--r) !important; background: #fff !important; }
.pp-volume-discounts__header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ziel) !important; font-weight: 700; }
.pp-volume-discounts__header svg { width: 18px; height: 18px; }
.pp-volume-discounts__tabela { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.pp-volume-discounts__tabela td { padding: 9px 0; border-top: 1px solid var(--linia); }
.pp-volume-discounts__tabela tr:first-child td { border-top: 0; }
.pp-volume-discounts__tabela td:nth-child(2) { text-align: right; padding-right: 12px; color: var(--dostepny); font-weight: 700; }
.pp-volume-discounts__tabela td:last-child { text-align: right; font-weight: 700; color: var(--atrament); white-space: nowrap; }

.pp-variants__label { font-weight: 700 !important; color: var(--atrament) !important; }
.pp-variants__options { gap: 10px !important; }
.pp-variants__option label { min-height: 52px; padding: 12px 18px !important; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; background: #fff !important; color: var(--atrament) !important; font-weight: 600 !important; }
.pp-variants__option input:checked + label { border: 2px solid var(--ziel) !important; background: var(--ziel-jasna) !important; color: var(--ziel) !important; }

.pp-cart__add { background: var(--ziel) !important; border-radius: var(--r-maly) !important; font-weight: 700 !important; }
.pp-cart__add:hover { background: var(--ziel-ciemna) !important; }

.pp-siew { margin: 16px 0 0; padding: 0; border: 0 !important; border-top: 1px solid var(--linia) !important; border-radius: 0; background: none; }
.pp-siew__tytul { display: flex; align-items: center; gap: 8px; padding: 14px 0; color: var(--ziel); font-weight: 700; font-size: .9375rem; cursor: pointer; list-style: none; }
.pp-siew__tytul::-webkit-details-marker { display: none; }
.pp-siew__tytul::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.pp-siew[open] .pp-siew__tytul::after { transform: rotate(-135deg) translateY(-2px); }
.pp-siew[open] { padding-bottom: 16px; }
.pp-siew__pola { display: flex; align-items: flex-end; gap: 10px; }
.pp-siew__pola label { flex: 1; display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .75rem; font-weight: 600; color: var(--tekst-cichy); }
.pp-siew__pole { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--linia-mocna); border-radius: var(--r-maly); }
.pp-siew__pole input { width: 100%; min-width: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 1rem; font-weight: 600; color: var(--atrament); }
.pp-siew__pole em { flex: none; font-style: normal; font-size: .75rem; color: var(--tekst-cichy); }
.pp-siew__pole:focus-within { border-color: var(--ziel); }
.pp-siew__razy { padding-bottom: 11px; color: var(--tekst-cichy); }
.pp-siew__wynik { margin: 12px 0; padding: 0; background: none; font-size: .9375rem; color: var(--atrament); }
.pp-siew__wynik strong { color: var(--ziel); font-weight: 800; }
.pp-siew__wynik .js-siew-info { color: var(--tekst-cichy); }
.pp-siew__dol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pp-siew__dol span { font-size: .8125rem; color: var(--tekst-cichy); }
.pp-siew__ustaw { min-height: 40px; padding: 0 16px; border: 1px solid var(--ziel); border-radius: var(--r-maly); background: #fff; color: var(--ziel); font-weight: 700; font-size: .875rem; cursor: pointer; }
.pp-siew__ustaw:hover { background: var(--ziel); color: #fff; }

.pp-info-lista { flex-basis: 100%; display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--tekst-cichy); }
.pp-info-lista li { display: flex; align-items: center; gap: 8px; }
.pp-info-lista svg { flex: none; width: 18px; height: 18px; color: var(--ziel); }
.pp-info-lista strong { color: var(--atrament); }
.pp-badges { flex-wrap: wrap; }

.pp-parametry { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; max-width: 640px; margin: 0 0 16px; border-top: 1px solid var(--linia); }
.pp-parametry dt, .pp-parametry dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--linia); font-size: .9375rem; }
.pp-parametry dt { color: var(--tekst-cichy); font-weight: 500; }
.pp-parametry dd { color: var(--atrament); font-weight: 600; }

/* polecane na karcie produktu: wygląd jak karty na listingu */
.pp-product-card-mini { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.pp-product-card-mini__image, .pp-product-card-mini__img-wrap { border-radius: var(--r) !important; background: var(--tlo-cieple) !important; }
.pp-product-card-mini img { mix-blend-mode: multiply; }
.pp-product-card-mini__price { color: var(--ziel) !important; font-family: var(--naglowki) !important; font-weight: 800 !important; }

/* poprawki po pierwszym podglądzie karty produktu i banera (21.11) */
.pp-price__info > span + span::before { content: none; }
.pp-volume-discounts__tabela tr { display: table-row !important; padding: 0 !important; border: 0 !important; background: none !important; }
.pp-volume-discounts__tabela td { display: table-cell !important; font-size: .9375rem !important; vertical-align: middle; }
.pp-volume-discounts__tabela td::before, .pp-volume-discounts__tabela td::after { content: none !important; }
.pp-siew__pola label > span:first-child { text-align: left; }
.pp-badge span { border: 0 !important; background: none !important; padding: 0 !important; }
.ks-baner__foto img { object-position: center 100%; }
.ks-season-card__name, .ks-season-card__opis { max-width: 56% !important; }
.ks-season-card__opis { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ks-season-card__foto { width: 42% !important; max-height: 58% !important; }
/* kafelki zdjęć w sekcjach z ciepłym tłem: białe, żeby się nie zlewały */
.ks-featured-section--ciepla .ks-product-card .ks-product-image { background: #fff !important; }
@media (max-width: 575px) {
  .pp-siew__pola { flex-direction: column; align-items: stretch; }
  .pp-siew__razy { display: none; }
}
/* baner: miękkie przejście z zielonego panelu w zdjęcie (prośba Patryka 21.11) */
.ks-baner__foto::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 38%; background: linear-gradient(90deg, var(--ziel) 0%, rgba(18, 58, 10, .55) 45%, rgba(18, 58, 10, 0) 100%); pointer-events: none; }
.ks-baner__foto img { object-position: 60% center; }
.ks-baner--foto .ks-baner__tytul { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.4rem) !important; }
@media (max-width: 767px) {
  .ks-baner__foto::before { inset: 0 0 auto 0; width: auto; height: 40%; background: linear-gradient(180deg, var(--ziel) 0%, rgba(18, 58, 10, 0) 100%); }
}

/* =====================================================================
   Porządek z ramkami w ramkach (Patryk 21.11): jedna ramka na element, odstępy między elementami
   ===================================================================== */
/* karta produktu */
#product .pp-badges span, #product .pp-badge span { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
#product .pp-badges { gap: 10px; margin: 18px 0 0; }
#product p.pp-price__notice, #product .pp-price__notice { margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--tekst-cichy) !important; font-size: .8125rem; }
#product .pp-cart__qty { border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; background: #fff !important; overflow: hidden; }
#product .pp-cart__qty-input { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#product .pp-cart__qty-btn { border: 0 !important; background: transparent !important; }
#product .pp-cart__wishlist, #product .pp-cart__wishlist.is-active { border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; }
#product .pp-separator + .pp-separator, #product .pp-separator:last-child { display: none !important; }
#product .pp-quick-actions { border-top: 1px solid var(--linia) !important; padding-top: 16px !important; margin-top: 16px !important; }
#product .pp-quick-actions::before, #product .pp-quick-actions::after { content: none !important; }
#product .pp-siew + .pp-badges, #product .pp-volume-discounts + .pp-variants { margin-top: 20px; }

/* listing: filtr sezonowy bez podwójnej ramki */
.ks-listing-sidebar .ks-filter-block.ks-seasonal-sidebar { border: 0 !important; background: transparent !important; padding: 0 !important; }
.ks-filter-seasonal { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; background: var(--tlo-cieple) !important; box-shadow: none !important; cursor: pointer; }
.ks-filter-seasonal-icon { display: none !important; }
.ks-filter-seasonal-content { flex: 1; min-width: 0; }
.ks-filter-seasonal-title { margin: 0 !important; font-family: var(--naglowki); font-weight: 700; color: var(--ziel) !important; font-size: 1rem !important; }
.ks-filter-seasonal-desc { margin: 2px 0 0 !important; font-size: .8125rem !important; color: var(--tekst-cichy) !important; }
.ks-filter-seasonal input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border: 0 !important; border-radius: 999px !important; background: var(--linia-mocna) !important; cursor: pointer; transition: background var(--ruch); }
.ks-filter-seasonal input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--ruch); }
.ks-filter-seasonal input[type="checkbox"]:checked { background: var(--ziel) !important; }
.ks-filter-seasonal input[type="checkbox"]:checked::after { transform: translateX(18px); }
.ks-filter-seasonal input[type="checkbox"]:focus-visible { outline: 3px solid var(--ziel); outline-offset: 2px; }

/* listing: kategorie jako prosta lista, nie kafelki w kafelku */
.ks-filter-categories .ks-category-tree, .ks-filter-categories .ks-category-list { gap: 2px !important; }
.ks-filter-categories .ks-category-item { min-height: 40px; padding: 8px 10px !important; border: 0 !important; border-radius: var(--r-maly) !important; background: transparent !important; box-shadow: none !important; color: var(--atrament) !important; font-size: .9375rem; }
.ks-filter-categories .ks-category-item:hover { background: var(--tlo-cieple) !important; }
.ks-filter-categories .ks-category-item.is-active { background: var(--ziel-jasna) !important; color: var(--ziel) !important; font-weight: 700; }
.ks-filter-categories .ks-category-count { border: 0 !important; background: none !important; color: var(--tekst-cichy) !important; font-size: .8125rem; padding: 0 !important; min-width: 0 !important; }
.ks-filter-categories .ks-category-toggle { border: 0 !important; background: none !important; }

/* listing: nagłówek filtrów - wyraźny, filtry pod nim zwinięte */
.ks-filtry-naglowek { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 14px 16px; border-radius: var(--r-maly); background: var(--ziel); color: #fff; }
.ks-filtry-naglowek svg { flex: none; color: var(--limonka); }
.ks-filtry-naglowek__tytul { margin: 0; font-family: var(--naglowki); font-weight: 800; font-size: 1.0625rem; color: #fff; }
.ks-filtry-naglowek__opis { margin: 2px 0 0; font-size: .8125rem; color: rgba(255,255,255,.8); }

/* listing: pasek narzędzi bez ramki w ramce */
.ks-listing-toolbar { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--linia) !important; border-radius: 0 !important; margin-bottom: 24px !important; gap: 12px !important; }
.ks-view-toggle { gap: 6px !important; border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
.ks-view-btn { width: 44px; height: 44px; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; background: #fff !important; box-shadow: none !important; }
.ks-view-btn.is-active { background: var(--ziel) !important; border-color: var(--ziel) !important; color: #fff !important; }
.ks-toggle-sidebar { min-height: 44px; padding: 0 16px !important; border: 0 !important; border-radius: var(--r-maly) !important; background: var(--ziel) !important; color: #fff !important; font-weight: 700 !important; box-shadow: none !important; }
.ks-toggle-sidebar:hover { background: var(--ziel-ciemna) !important; }
.ks-toggle-sidebar svg { color: var(--limonka); }
.ks-sort-select, .ks-per-page select, .ks-per-page input { min-height: 44px; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; box-shadow: none !important; }
.ks-toolbar-compare { border: 0 !important; background: none !important; }
/* kalkulator na stronie głównej: pola, wynik i przycisk w jednej linii (Patryk 21.11) */
.ks-shortcut__action--calc { align-items: flex-end !important; }
.ks-shortcut__pole, .ks-shortcut__wynik, .ks-shortcut--calculator .ks-shortcut__btn--secondary { height: 48px !important; min-height: 48px !important; box-sizing: border-box; margin: 0 !important; }
.ks-shortcut--calculator .ks-shortcut__btn--secondary { display: inline-flex !important; align-items: center; padding-top: 0 !important; padding-bottom: 0 !important; }
.ks-shortcut__calc-input { margin: 0 !important; }
/* karta produktu: galeria bez ramki w ramce, jedna kreska nad PDF/udostępnianiem */
#product .pp-gallery { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; gap: 12px !important; }
#product .pp-gallery__main { border: 0 !important; border-radius: var(--r-duzy) !important; background: var(--tlo-cieple) !important; box-shadow: none !important; }
#product .pp-gallery__main img, #product .pp-gallery__image { mix-blend-mode: multiply; }
#product .pp-gallery__thumbnail { border: 1px solid var(--linia) !important; border-radius: var(--r-maly) !important; background: #fff !important; }
#product .pp-gallery__thumbnail.active, #product .pp-gallery__thumbnail.is-active, #product .pp-gallery__thumbnail[aria-current="true"] { border: 2px solid var(--ziel) !important; }
#product .pp-quick-actions { border-top: 0 !important; padding-top: 0 !important; margin-top: 12px !important; }

/* =====================================================================
   Strony bez listy produktów (CMS: regulamin, odstąpienie, dostawa itd.) - 21.11
   ===================================================================== */
/* bez lewej kolumny (filtry są tylko na listach produktów), treść na całą szerokość */
body#cms #left-column, body#sitemap #left-column, body#stores #left-column, body#password #left-column { display: none !important; }
body#cms #content-wrapper, body#sitemap #content-wrapper, body#stores #content-wrapper, body#password #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding-left: 0 !important; padding-right: 0 !important; }

/* nagłówek strony: okruszki nad tytułem, tytuł bez nachodzenia linii (skrypt motywu przenosi H1 do .breadcrumb) */
.breadcrumb .container { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
.breadcrumb .container > h1, .breadcrumb .container > .h1 { order: 2; margin: 0 !important; max-width: 24ch; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem) !important; line-height: 1.12 !important; letter-spacing: -0.01em; color: var(--ziel) !important; text-align: left !important; }
.breadcrumb .container > ol, .breadcrumb .container > ul, .breadcrumb .container > nav { order: 1; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important; font-size: .875rem !important; }
.breadcrumb .container a { color: var(--tekst-cichy) !important; }

/* treść CMS wklejona z Worda: jedna typografia, bez justowania, bez podświetleń */
#content.page-cms { max-width: 78ch; font-family: var(--tekst) !important; font-size: 1rem !important; line-height: 1.7 !important; color: var(--atrament) !important; }
#content.page-cms * { font-family: inherit !important; line-height: inherit !important; color: inherit; }
#content.page-cms p, #content.page-cms li, #content.page-cms span, #content.page-cms td { font-size: inherit !important; text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
#content.page-cms p { margin: 0 0 14px !important; }
#content.page-cms p:empty, #content.page-cms p:has(> b:empty:only-child) { display: none !important; }
#content.page-cms [style*="background"] { background: none !important; }
#content.page-cms h1, #content.page-cms h2, #content.page-cms h3, #content.page-cms b > span[style*="14pt"], #content.page-cms strong > span[style*="14pt"] { font-family: var(--naglowki) !important; color: var(--ziel) !important; }
#content.page-cms h2, #content.page-cms h3 { margin: 28px 0 10px !important; font-weight: 700 !important; font-size: 1.25rem !important; line-height: 1.3 !important; }
#content.page-cms ul, #content.page-cms ol { margin: 0 0 16px !important; padding-left: 22px !important; }
#content.page-cms li { margin-bottom: 6px !important; }
#content.page-cms a { color: var(--ziel) !important; text-decoration: underline; text-underline-offset: 3px; }
#content.page-cms table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
#content.page-cms td, #content.page-cms th { padding: 8px 10px; border: 1px solid var(--linia); vertical-align: top; }

/* filtry schowane na starcie (ks-sidebar-hidden w HTML), przycisk „Filtry” je pokazuje; na telefonie panel wysuwany jak dotąd */
@media (max-width: 991px) {
  .ks-listing-container.ks-sidebar-hidden .ks-listing-sidebar, .ks-listing-container.ks-sidebar-hidden > #left-column { display: block !important; }
}
.ks-toggle-sidebar.is-active { background: var(--limonka) !important; color: var(--ziel) !important; }
.ks-toggle-sidebar.is-active svg { color: var(--ziel); }
/* „Zobacz więcej” w karuzeli: biały tekst, kafel na całą wysokość karty produktu (Patryk 21.11) */
.ks-featured-grid.ks-karuzela { align-items: stretch; }
.ks-karuzela__wiecej { aspect-ratio: auto !important; height: 100%; min-height: 100%; justify-content: center !important; align-items: center !important; text-align: center; gap: 10px !important; }
.ks-karuzela__wiecej-ikona { margin-bottom: 6px !important; width: 56px !important; height: 56px !important; }
.ks-karuzela__wiecej strong, .ks-karuzela__wiecej span, .ks-karuzela__wiecej:hover strong { color: #fff !important; }
.ks-karuzela__wiecej strong { font-size: 1.5rem !important; }
.ks-karuzela__wiecej span:last-child { color: rgba(255,255,255,.85) !important; }
.ks-karuzela__wiecej .ks-karuzela__wiecej-ikona { color: var(--ziel) !important; }
/* odstępy nagłówka podstron i pełna szerokość treści CMS (Patryk 21.11) */
.breadcrumb { padding: 18px 0 8px !important; }
.breadcrumb .container > h1, .breadcrumb .container > .h1 { max-width: none !important; }
body:not(#index) #wrapper { padding-top: 12px !important; }
#main > .page-header { border: 0 !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; background: none !important; }
#content.page-cms { max-width: none !important; width: 100% !important; margin-left: 0 !important; padding-top: 16px !important; border-top: 1px solid var(--linia); }
/* nagłówek: motyw wymuszał min-height 188/113 px, nowy nagłówek jest niższy - pusty pas nad pogodą (Patryk 21.11) */
#header { min-height: 0 !important; }

/* =====================================================================
   Formularz zwrotów /zwroty (moduł ks_zwroty) + wejście z CMS
   ===================================================================== */
.ks-zwrot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 0 0 24px; padding: 18px 22px; border-radius: var(--r); background: var(--ziel-jasna); }
.ks-zwrot-cta__tytul { margin: 0 !important; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: 1.125rem !important; color: var(--ziel) !important; }
.ks-zwrot-cta__opis { margin: 2px 0 0 !important; font-size: .9375rem !important; color: var(--atrament) !important; }
.ks-zwrot-cta__przycisk { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-maly); background: var(--ziel) !important; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.ks-zwrot-cta__przycisk:hover { background: var(--ziel-ciemna) !important; }
html :is(body, #footer) .ks-footer-zwroty { color: var(--limonka) !important; font-weight: 600; }

body#module-ks_zwroty-default #left-column { display: none !important; }
body#module-ks_zwroty-default #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
.ks-ret { max-width: 880px; padding: 4px 0 40px; color: var(--atrament); font-size: 1rem; line-height: 1.6; }
.ks-ret-lid { margin: 0 0 20px; font-size: 1.0625rem; max-width: 70ch; }
.ks-ret-h2 { margin: 36px 0 14px !important; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: 1.5rem !important; color: var(--ziel) !important; }
.ks-ret-karty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.ks-ret-karta { padding: 14px 16px; border-radius: var(--r-maly); background: var(--tlo-cieple); font-size: .9375rem; color: var(--tekst-cichy); }
.ks-ret-karta strong { display: block; margin-bottom: 2px; font-family: var(--naglowki); font-size: 1.0625rem; color: var(--ziel); }
.ks-ret-kroki { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ks-ret-kroki li { display: flex; align-items: flex-start; gap: 12px; }
.ks-ret-kroki li > span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ziel); color: #fff; font-size: .875rem; font-weight: 700; }
.ks-ret-kroki a, .ks-ret-rodo a { color: var(--ziel); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ks-ret-form { padding: 22px; border: 1px solid var(--linia); border-radius: var(--r); }
.ks-rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ks-rf-field { display: flex; flex-direction: column; margin: 0 0 14px; }
.ks-rf-field.is-full, .ks-rf-lookup, .ks-rf-items { grid-column: 1 / -1; }
.ks-rf-field label { margin-bottom: 4px; font-weight: 600; font-size: .9375rem; }
.ks-rf-field input, .ks-rf-field textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--linia-mocna); border-radius: var(--r-maly); background: #fff; font: inherit; color: var(--atrament); }
.ks-rf-field input:focus, .ks-rf-field textarea:focus { border-color: var(--ziel); outline: 2px solid var(--ziel-jasna); }
.ks-rf-req { color: var(--blad); font-weight: 700; }
.ks-rf-field-error { margin-top: 4px; color: var(--blad); font-weight: 600; font-size: .875rem; }
.ks-ret-blad { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-maly); background: var(--blad-tlo); color: var(--blad); font-weight: 600; }
.ks-ret-sukces { padding: 20px 22px; border-radius: var(--r); background: var(--ziel-jasna); }
.ks-ret-sukces h2 { margin: 0 0 8px; font-family: var(--naglowki); color: var(--ziel); }
.ks-rf-lookup { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; color: var(--tekst-cichy); font-size: .9375rem; }
.ks-rf-przycisk { min-height: 48px; padding: 0 22px; border: 2px solid var(--ziel); border-radius: var(--r-maly); background: var(--ziel); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ks-rf-przycisk:hover { background: var(--ziel-ciemna); border-color: var(--ziel-ciemna); }
.ks-rf-przycisk--jasny { background: #fff; color: var(--ziel); }
.ks-rf-przycisk--jasny:hover { background: var(--ziel); color: #fff; }
.ks-rf-items fieldset { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--linia-mocna); border-radius: var(--r-maly); }
.ks-rf-items legend { padding: 0 6px; font-weight: 700; font-size: .9375rem; width: auto; border: 0; margin: 0; }
.ks-rf-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linia); }
.ks-rf-item:last-child { border-bottom: 0; }
.ks-rf-item input[type=checkbox] { flex: none; width: 22px; height: 22px; accent-color: var(--ziel); }
.ks-rf-item .ks-name { flex: 1; }
.ks-rf-item .ks-qty { width: 76px; min-height: 40px; padding: 6px 8px; border: 1px solid var(--linia-mocna); border-radius: var(--r-maly); }
.ks-rf-zgoda { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; }
.ks-rf-zgoda input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ziel); }
.ks-ret-rodo, .ks-ret-faq { margin: 0 0 10px; padding: 12px 16px; border: 1px solid var(--linia); border-radius: var(--r-maly); }
.ks-ret-rodo summary, .ks-ret-faq summary { font-weight: 600; cursor: pointer; }
.ks-ret-rodo p, .ks-ret-faq p { margin: 10px 0 0; }
.ks-rf-wyslij { margin: 18px 0 6px; }
.ks-rf-uwaga { margin: 0; font-size: .875rem; color: var(--tekst-cichy); }
@media (max-width: 640px) {
  .ks-rf-grid, .ks-ret-karty { grid-template-columns: 1fr; }
  .ks-ret-form { padding: 16px; }
  .ks-rf-przycisk { width: 100%; }
}

/* =====================================================================
   Strona kalkulatora dawkowania (/module/ks_homepage/calculator) - 21.11
   ===================================================================== */
#module-ks_homepage-calculator .ks-calc-page { max-width: none !important; padding: 0 0 24px !important; }
#module-ks_homepage-calculator .ks-calc-page__intro { text-align: left !important; max-width: 70ch; margin: 0 0 24px !important; color: var(--atrament) !important; font-size: 1.0625rem; }
#module-ks_homepage-calculator .ks-calc-page__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important; gap: 24px !important; align-items: start; }
#module-ks_homepage-calculator .ks-calc-page__form { padding: 22px !important; border: 1px solid var(--linia) !important; border-radius: var(--r) !important; box-shadow: none !important; background: #fff !important; }
#module-ks_homepage-calculator .ks-calc-info { display: block !important; margin: 0 0 20px !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--tekst-cichy) !important; font-size: .9375rem; }
#module-ks_homepage-calculator .ks-calc-info strong { display: block; color: var(--ziel) !important; font-size: 1rem; margin-bottom: 2px; }
#module-ks_homepage-calculator .ks-calc-info p { margin: 0 !important; color: var(--tekst-cichy) !important; }
#module-ks_homepage-calculator .ks-calc-field { margin: 0 0 20px !important; }
#module-ks_homepage-calculator .ks-calc-field__label { display: block; margin: 0 0 8px !important; text-align: left !important; font-weight: 700 !important; color: var(--atrament) !important; }
#module-ks_homepage-calculator .ks-calc-field__box { padding: 0 !important; border: 0 !important; background: none !important; }
#module-ks_homepage-calculator .ks-calc-field__box-label { display: block; margin-bottom: 6px; font-size: .8125rem; color: var(--tekst-cichy) !important; }
#module-ks_homepage-calculator .ks-calc-field__input { min-height: 48px; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; font-size: 1.125rem !important; font-weight: 600; color: var(--atrament) !important; background: #fff !important; }
#module-ks_homepage-calculator .ks-calc-field__range { accent-color: var(--ziel); }
#module-ks_homepage-calculator .ks-calc-unit, #module-ks_homepage-calculator .ks-calc-field__quick button { min-height: 44px; border: 1px solid var(--linia-mocna) !important; border-radius: var(--r-maly) !important; background: #fff !important; color: var(--atrament) !important; font-weight: 600 !important; }
#module-ks_homepage-calculator .ks-calc-unit.active, #module-ks_homepage-calculator .ks-calc-field__quick button.active { background: var(--ziel) !important; border-color: var(--ziel) !important; color: #fff !important; }
#module-ks_homepage-calculator .ks-calc-result { padding: 24px !important; border-radius: var(--r) !important; background: var(--ziel) !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
#module-ks_homepage-calculator .ks-calc-result * { color: #fff !important; opacity: 1 !important; }
#module-ks_homepage-calculator .ks-calc-result__header { margin-bottom: 16px !important; font-family: var(--naglowki); font-weight: 800 !important; font-size: 1.125rem; }
#module-ks_homepage-calculator .ks-calc-result__label { font-size: .8125rem !important; color: rgba(255,255,255,.75) !important; }
#module-ks_homepage-calculator .ks-calc-result__value { font-family: var(--naglowki); font-weight: 800 !important; font-size: 3rem !important; line-height: 1; color: var(--limonka) !important; }
#module-ks_homepage-calculator .ks-calc-result__divider { color: rgba(255,255,255,.5) !important; }
#module-ks_homepage-calculator .ks-calc-result__details { border-top: 1px solid rgba(255,255,255,.2) !important; padding-top: 12px !important; background: none !important; }
#module-ks_homepage-calculator .ks-calc-result__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0 !important; border: 0 !important; background: none !important; font-size: .9375rem; }
#module-ks_homepage-calculator .ks-calc-result__row--highlight span { color: var(--limonka) !important; font-weight: 700; }
#module-ks_homepage-calculator .ks-calc-disclaimer { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--tekst-cichy) !important; font-size: .875rem; }
#module-ks_homepage-calculator .ks-calc-disclaimer p { margin: 0 !important; color: var(--tekst-cichy) !important; }
#module-ks_homepage-calculator .ks-calc-cta { display: flex !important; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-maly) !important; background: #fff !important; border: 2px solid var(--ziel) !important; color: var(--ziel) !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: none !important; }
#module-ks_homepage-calculator .ks-calc-cta:hover { background: var(--ziel) !important; color: #fff !important; }
#module-ks_homepage-calculator .ks-calc-page__help { margin-top: 32px !important; padding: 0 !important; border: 0 !important; background: none !important; }
#module-ks_homepage-calculator .ks-calc-page__help h3 { font-family: var(--naglowki); font-weight: 800; color: var(--ziel); font-size: 1.375rem; }
#module-ks_homepage-calculator .ks-calc-help-item__num { background: var(--ziel) !important; color: #fff !important; }
@media (max-width: 767px) { #module-ks_homepage-calculator .ks-calc-page__grid { grid-template-columns: 1fr !important; } }

/* =====================================================================
   Wspólny układ podstron (CMS, kontakt, moduły: zwroty, kalkulator) - jeden standard (Patryk 21.11)
   Treść na pełną szerokość kontenera, bez ramki wokół całej treści.
   ===================================================================== */
body#cms #main .page-content, body#module-ks_zwroty-default #main .page-content, body#module-ks_homepage-calculator #main .page-content, body#module-ks_ulubione-lista #main .page-content,
body#cms #content, body#module-ks_zwroty-default #content, body#module-ks_homepage-calculator #content, body#module-ks_ulubione-lista #content {
  max-width: none !important; width: 100% !important; margin: 0 !important; padding: 16px 0 0 !important;
  border: 0 !important; border-top: 1px solid var(--linia) !important; border-radius: 0 !important; box-shadow: none !important; background: none !important;
}
body#module-ks_zwroty-default #left-column, body#module-ks_homepage-calculator #left-column, body#module-ks_ulubione-lista #left-column { display: none !important; }
body#module-ks_zwroty-default #content-wrapper, body#module-ks_homepage-calculator #content-wrapper, body#module-ks_ulubione-lista #content-wrapper { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.ks-ret { max-width: none !important; }
.ks-ret-lid { max-width: none !important; }
.ks-ret-lid a { color: var(--ziel); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ks-ret-karty { max-width: none; }
.ks-ret-form { max-width: none; }
.ks-ret-kroki strong { white-space: nowrap; }

/* stopka: mniejsze odstępy między linkami */
html :is(body, #footer) .ks-footer-links { display: grid; gap: 4px !important; }
html :is(body, #footer) .ks-footer-links li { margin: 0 !important; padding: 0 !important; line-height: 1.4 !important; }
html :is(body, #footer) .ks-footer-links a { display: inline-block; padding: 5px 0 !important; line-height: 1.4 !important; }
html :is(body, #footer) .ks-footer-col-title { margin-bottom: 10px !important; }
/* formularze w treści: etykiety i komunikaty do lewej (motyw wyrównywał label do prawej) */
.ks-ret, .ks-ret label, .ks-ret legend, .ks-ret p, .ks-ret span, .ks-ret .ks-rf-field-error, .ks-ret-blad, .ks-ret summary { text-align: left !important; }
.ks-ret label { justify-content: flex-start !important; float: none !important; width: auto !important; padding: 0 !important; }
.ks-ret-krok { flex: 1; min-width: 0; padding-top: 2px; }
.ks-ret-kroki strong { white-space: normal !important; }
.ks-ret-kroki li > span.ks-ret-krok { display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--atrament); font-size: 1rem; font-weight: 400; line-height: 1.55; align-items: initial; justify-content: initial; }
.ks-ret-kroki li { min-width: 0; }
.ks-ret-kroki li > span.ks-ret-krok, .ks-ret-kroki li > span.ks-ret-krok * { white-space: normal !important; overflow-wrap: break-word; }
.ks-rf-info { grid-column: 1 / -1; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-maly); background: var(--ziel-jasna); color: var(--ziel); font-weight: 600; font-size: .9375rem; }
.ks-rf-field input.ks-rf-podstawione { background: var(--limonka-tlo) !important; }

/* =====================================================================
   Gęstsze karty produktów: 5 w rzędzie (Patryk 21.11)
   ===================================================================== */
@media (min-width: 1200px) {
  .ks-featured-section--siatka .ks-featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 32px 20px !important; }
  .ks-sidebar-hidden .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 32px 20px !important; }
  .ks-listing-container:not(.ks-sidebar-hidden) .ks-products-grid:not(.ks-view-list) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 32px 18px !important; }
}
@media (min-width: 992px) {
  .ks-product-card .ks-product-image { aspect-ratio: 1 / 1; }
  .ks-product-card .ks-product-thumbnail { padding: 9% 11%; }
  .ks-product-card .ks-product-content { padding-top: 12px !important; gap: 4px; }
  .ks-product-card .ks-product-brand { font-size: .75rem; }
  .ks-product-card .ks-product-title { font-size: .9375rem !important; }
  .ks-product-card .ks-availability { font-size: .75rem; }
  .ks-product-card .ks-price-current { font-size: 1.1875rem !important; }
  .ks-product-card .ks-product-price { padding: 6px 0 2px; }
  .ks-product-card .ks-qty-input { width: 46px; height: 44px; font-size: .875rem; }
  .ks-product-card .ks-btn { height: 44px; font-size: .875rem; padding: 0 10px; gap: 6px; }
  .ks-product-card .ks-btn svg { width: 16px; height: 16px; }
  .ks-product-card .ks-add-to-cart-form { gap: 6px; }
  .ks-product-card .ks-product-hover-actions .ks-ulub, .ks-product-card .ks-hover-btn { width: 38px; height: 38px; }
  .ks-product-card .ks-product-hover-actions { top: 10px; right: 10px; }
}

/* =====================================================================
   Karta produktu v2 (Patryk 21.11): mniejsza galeria, zwarta kolumna zakupu, opis + parametry
   ===================================================================== */
@media (min-width: 1024px) {
  html body#product #wrapper #main .pp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; gap: 48px !important; align-items: start; }
  html body#product #wrapper #main .pp-grid > .pp-left-column { position: sticky !important; top: 96px; align-self: start; }
}
html body#product #wrapper #main .pp-gallery__main { aspect-ratio: 1 / 1; max-height: 520px; }
html body#product #wrapper #main .pp-gallery__main img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
@media (max-width: 1023px) {
  html body#product #wrapper #main .pp-gallery__main { max-height: 340px; }
}
/* kolumna zakupu: bez kresek i dziur */
html body#product #wrapper #main .pp-right-column { gap: 14px !important; }
html body#product #wrapper #main .pp-right-column .pp-separator { display: none !important; }
#product .pp-meta { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#product .pp-przedsprzedaz { margin: 6px 0 4px !important; }
#product .pp-price-section { margin: 6px 0 0 !important; padding: 0 !important; border: 0 !important; }
#product .pp-price { display: flex !important; flex-wrap: wrap; align-items: baseline !important; gap: 4px 10px !important; }
#product .pp-price__current { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem) !important; line-height: 1.05 !important; }
#product .pp-price__brutto { font-size: 1rem; font-weight: 600; color: var(--tekst-cichy); }
#product .pp-price__info { margin-top: 2px !important; font-size: .9375rem !important; }
#product .pp-price__info > span { border: 0 !important; padding: 0 !important; margin: 0 !important; }
#product .pp-volume-discounts { margin: 6px 0 !important; }
#product .pp-variants { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#product .pp-cart { margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; }
#product .pp-siew { margin: 6px 0 !important; }
#product .pp-badges { margin: 6px 0 0 !important; }
#product .pp-quick-actions { margin-top: 4px !important; }

/* opis pod produktem: tekst + karta Parametry */
#product .pp-opis { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 32px 56px; align-items: start; }
#product .pp-opis__tekst { min-width: 0; max-width: 76ch; font-size: 1rem; line-height: 1.7; color: var(--atrament); }
#product .pp-opis__tekst h2, #product .pp-opis__tekst h3 { margin: 28px 0 10px !important; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: 1.375rem !important; line-height: 1.25 !important; color: var(--ziel) !important; }
#product .pp-opis__tekst h3 { font-size: 1.125rem !important; font-weight: 700 !important; }
#product .pp-opis__tekst > :first-child { margin-top: 0 !important; }
#product .pp-opis__tekst p { margin: 0 0 14px !important; }
#product .pp-opis__tekst ul, #product .pp-opis__tekst ol { margin: 0 0 16px !important; padding-left: 20px !important; }
#product .pp-opis__tekst li { margin: 0 0 8px !important; padding: 0 !important; }
#product .pp-opis__tekst hr { margin: 24px 0 !important; border: 0; border-top: 1px solid var(--linia); }
#product .pp-opis__parametry { position: sticky; top: 96px; padding: 20px 22px; border-radius: var(--r); background: var(--tlo-cieple); }
#product .pp-opis__parametry-tytul { margin: 0 0 10px !important; font-family: var(--naglowki) !important; font-weight: 800 !important; font-size: 1.25rem !important; color: var(--ziel) !important; }
#product .pp-opis__parametry .pp-parametry { grid-template-columns: minmax(110px, 1fr) 1.4fr; max-width: none; border-top: 1px solid var(--linia-mocna); }
#product .pp-opis__parametry .pp-parametry dt, #product .pp-opis__parametry .pp-parametry dd { padding: 9px 0; border-bottom: 1px solid var(--linia-mocna); font-size: .9375rem; }
#product .pp-opis__pomoc { margin: 14px 0 0 !important; font-size: .875rem; color: var(--tekst-cichy); }
@media (max-width: 991px) {
  #product .pp-opis { grid-template-columns: 1fr; }
  #product .pp-opis__parametry { position: static; }
}
/* galeria: jedno zdjęcie = bez paska miniatur; telefon: miniatury pod zdjęciem, nie na tytule */
html body#product #wrapper #main .pp-gallery__main img { padding: 4%; }
#product .pp-gallery__thumbnails:not(:has(> :nth-child(2))), #product .pp-gallery__thumbnails-mobile:not(:has(> :nth-child(2))) { display: none !important; }
@media (max-width: 1023px) {
  #product .pp-gallery { display: flex !important; flex-direction: column !important; }
  #product .pp-gallery__thumbnails, #product .pp-gallery__thumbnails-mobile { position: static !important; transform: none !important; display: flex; flex-direction: row !important; gap: 8px; margin-top: 10px; overflow-x: auto; }
}
@media (max-width: 575px) { #product .pp-cart__add span { white-space: nowrap; font-size: .9375rem; } #product .pp-cart__add { padding: 0 12px !important; } }

/* Historia cen (ks_historia_cen) */
.ks-hc__liczby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.ks-hc__liczba { padding: 14px 16px; border-radius: var(--r-maly); background: var(--tlo-cieple); }
.ks-hc__liczba span { display: block; font-size: .8125rem; color: var(--tekst-cichy); }
.ks-hc__liczba strong { font-family: var(--naglowki); font-size: 1.25rem; font-weight: 800; color: var(--ziel); }
.ks-hc__wykres { margin: 0 0 18px; padding: 16px; border: 1px solid var(--linia); border-radius: var(--r-maly); }
.ks-hc__wykres svg { display: block; width: 100%; height: 160px; }
.ks-hc__os { stroke: var(--linia); stroke-width: 1; }
.ks-hc__linia { fill: none; stroke: var(--ziel); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ks-hc__tabela { width: 100%; max-width: 420px; border-collapse: collapse; margin: 0 0 12px; font-size: .9375rem; }
.ks-hc__tabela th, .ks-hc__tabela td { padding: 8px 0; border-bottom: 1px solid var(--linia); text-align: left; }
.ks-hc__tabela th { font-weight: 600; color: var(--tekst-cichy); font-size: .8125rem; }
.ks-hc__uwaga { margin: 0; font-size: .875rem; color: var(--tekst-cichy); }
@media (max-width: 575px) { .ks-hc__liczby { grid-template-columns: 1fr; } }

/* Pływające przyciski: jeden WhatsApp + strzałka do góry, mniejsze, bez etykiety (21.11) */
.ks-wa { position: fixed; right: 16px; bottom: 16px; z-index: 98; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ziel); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); border: 2px solid #fff; }
.ks-wa:hover, .ks-wa:focus-visible { background: var(--ziel-ciemna, var(--ziel)); color: #fff; }
.ks-wa svg { width: 26px; height: 26px; }
.top_button { right: 20px !important; bottom: 76px !important; width: 40px !important; height: 40px !important; border: 0 !important; animation: none !important; }
.top_button::before { line-height: 40px !important; font-size: 20px !important; }
.top_button::after { display: none !important; }
.ets_wa_whatsapp_block { display: none !important; }
@media (max-width: 767px) {
  .top_button { display: none !important; }
  #footer { padding-bottom: 72px; }
}

/* Ulubione (ks_ulubione) */
.ks-ulub { display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.ks-product-card .ks-product-hover-actions .ks-ulub { border-radius: 50% !important; }
.ks-ulub.is-active svg { fill: currentColor; }
#product .pp-cart__wishlist.is-active { background: var(--ziel) !important; color: #fff !important; border-color: var(--ziel) !important; }
.ks-ul__info { margin: 0 0 20px; color: var(--tekst-cichy); }
.ks-ul__info a { color: var(--ziel); font-weight: 600; }
.ks-ul__siatka { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.ks-ul__siatka[aria-busy="true"] { min-height: 200px; opacity: .5; }
.ks-ul__pusto { padding: 24px 0; }
.ks-ul__pusto p { margin: 0 0 16px; }
@media (max-width: 1199px) { .ks-ul__siatka { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ks-ul__siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

/* Drobne informacje pod przyciskiem zakupu (21.11) */
.pp-uwagi { margin: 12px 0 0; padding: 0; list-style: none; font-size: .8125rem; line-height: 1.5; color: var(--tekst-cichy); }
.pp-uwagi li + li { margin-top: 2px; }
.pp-meta:not(:has(*)) { display: none; }
/* telefon: ilość i serduszko w pierwszym rzędzie, przycisk zakupu na całą szerokość pod spodem (21.11) */
@media (max-width: 575px) {
  #product .pp-cart__row { flex-wrap: wrap; gap: 10px; }
  #product .pp-cart__row .pp-cart__qty { flex: 1 1 auto; width: auto; min-width: 0; }
  #product .pp-cart__row .pp-cart__wishlist { flex: 0 0 48px; width: 48px; height: 48px; }
  #product .pp-cart__row .pp-cart__add { order: 3; flex: 1 1 100%; min-height: 52px; }
}

/* W3C (21.11): stopka h4 -> h2, filtr sezonowy bez div/p w label, nagłówek filtrów h3 -> h2 */
html :is(body, #footer) h2.ks-footer-col-title { margin-top: 0 !important; line-height: 1.3 !important; }
.ks-filter-seasonal-content, .ks-filter-seasonal-title, .ks-filter-seasonal-desc { display: block; }
h2.ks-sidebar-mobile-title { font-size: 1.125rem; margin: 0; }
.cz_blocksearch .submit-text, #search_block_top .submit-text { display: inline-block; }

/* Kalkulator wysiewu od razu rozwinięty, oddzielony od przycisku i od akcji niżej (Patryk 21.11) */
.pp-siew { margin: 28px 0 !important; padding: 22px 0 !important; border-top: 1px solid var(--linia) !important; border-bottom: 1px solid var(--linia) !important; }
.pp-siew__wynik { margin: 16px 0 14px !important; font-size: 1rem !important; }
.pp-siew__wynik strong { font-size: 1.125rem; }
/* przycisk „Formularz zwrotu” na stronach CMS: reguła #content.page-cms a nadpisywała biały tekst (21.11) */
#content.page-cms a.ks-zwrot-cta__przycisk, #content.page-cms a.ks-zwrot-cta__przycisk:hover, #content.page-cms a.ks-zwrot-cta__przycisk:focus-visible { color: #fff !important; text-decoration: none !important; }
/* Powiadomienie o dostępności: na telefonie pole i przycisk jeden pod drugim (21.11) */
.pp-notify__wynik { margin: 8px 0 0; font-size: .875rem; color: var(--ziel); font-weight: 600; }
.pp-notify__wynik:empty { display: none; }
@media (max-width: 575px) {
  .pp-notify__form { flex-direction: column; align-items: stretch; }
  .pp-notify__form .pp-notify__input, .pp-notify__form .pp-notify__button { width: 100%; min-height: 48px; }
  .pp-notify__button { justify-content: center; white-space: nowrap; }
}

/* Karta „Środek ochrony roślin” (ks_sor) w kolorach marki zamiast #16a34a (21.11) */
:root { --ks-sor-primary: var(--ziel); --ks-sor-primary-dark: var(--ziel-ciemna); --ks-sor-primary-light: var(--limonka-tlo); --ks-sor-success: var(--ziel); --ks-sor-success-bg: var(--limonka-tlo); --ks-sor-success-border: #d9f2a6; }
body#product .ks-sor-card__header { background: var(--ziel) !important; }
body#product .ks-sor-status__icon { color: var(--ziel) !important; }
body#product .ks-sor-status--success .ks-sor-status__icon { background: var(--ziel) !important; color: #fff !important; }
body#product .ks-sor-status__action { color: var(--ziel) !important; }
body#product .ks-sor-status__action:hover { background: var(--ziel) !important; color: #fff !important; }
body#product .ks-sor-card :is(a, svg, i):not(.ks-sor-card__header *) { color: var(--ziel) !important; }
body#product .ks-sor-card a:not(.ks-sor-card__header *) { font-weight: 600; }
/* karta ŚOR bez ramek w ramce: jedna obwódka karty, w środku sekcje rozdzielone linią */
body#product .ks-sor-card__body { border: 0 !important; background: #fff !important; padding: 4px 18px !important; }
body#product .ks-sor-card .ks-sor-requirement, body#product .ks-sor-card .ks-sor-status { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 14px 0 !important; margin: 0 !important; }
body#product .ks-sor-card .ks-sor-status { border-top: 1px solid var(--linia) !important; }
/* telefon/tablet: karta ŚOR pod kolumną zakupu, nie między zdjęciem a ceną (21.11) */
@media (max-width: 991px) {
  html body#product section#main .pp-grid { display: flex !important; flex-direction: column; }
  html body#product section#main .pp-grid > .pp-left-column { display: contents !important; }
  body#product .pp-left-column > .pp-gallery { order: 1; }
  body#product .pp-right-column { order: 2; }
  body#product .pp-left-column > .ks-sor-card { order: 3; margin-top: 24px; }
  body#product .pp-left-column > :not(.pp-gallery):not(.ks-sor-card) { order: 4; }
}

/* Filtr upraw jako lista z polami wyboru (jak problemy), bez kolorowych kafli po emoji (21.11) */
.ks-listing-sidebar .ks-crops-filter { display: flex !important; flex-direction: column; gap: 2px; grid-template-columns: none !important; }
.ks-listing-sidebar .ks-crop-filter-item { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px !important; border: 0 !important; border-radius: var(--r-maly) !important; background: none !important; text-align: left !important; color: var(--atrament) !important; text-decoration: none !important; box-shadow: none !important; }
.ks-listing-sidebar .ks-crop-filter-item:hover { background: var(--tlo-cieple) !important; }
.ks-listing-sidebar .ks-crop-filter-icon { display: none !important; }
.ks-crop-filter-box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--linia-mocna); border-radius: 4px; background: #fff; }
.ks-crop-filter-item.is-active .ks-crop-filter-box { background: var(--ziel) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); border-color: var(--ziel); }
.ks-listing-sidebar .ks-crop-filter-name { flex: 1; font-size: .9375rem !important; margin: 0 !important; }
.ks-listing-sidebar .ks-crop-filter-count { font-size: .8125rem !important; color: var(--tekst-cichy) !important; margin: 0 !important; }
html body .ks-listing-sidebar .ks-crops-filter .ks-crop-filter-item .ks-crop-filter-name { text-align: left !important; justify-self: start; }

/* =====================================================================
   Koszyk i zamówienie (thecheckout) - jeden porządny układ (Patryk 21.11, druga wersja):
   szare tło, każdy obszar zamówienia = JEDNA biała karta z odstępem w środku;
   w karcie bez kolejnych ramek - obramowane są tylko pola i opcje do wyboru.
   ===================================================================== */
body#checkout #content.page-content, body#checkout #content.card { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
body#checkout .checkout-area-1 > .blocks,
body#checkout .checkout-area-1 > .flex-split-horizontal {
  background: #fff !important; border: 1px solid var(--linia) !important; border-radius: 16px !important;
  box-shadow: none !important; padding: 28px 32px !important; margin: 0 0 24px !important;
}
body#checkout .checkout-area-1 > .flex-split-horizontal > .blocks { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
body#checkout .checkout-area-1 > .flex-split-horizontal { gap: 48px; }
/* kolumny w karcie: bez sztywnych 50% (z odstępem karty wychodziły poza krawędź) */
body#checkout .checkout-area-1 > .flex-split-horizontal > .blocks { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; }
/* nagłówek „Adres faktury”: motyw pozycjonował go absolutnie na całą szerokość - nachodził na pola */
body#checkout .full-header .block-header { position: static !important; width: auto !important; top: auto !important; }
body#checkout .full-header .inner-area, body#checkout .checkout-area-6 .blocks { padding-top: 0 !important; }
/* koszyk: kod rabatowy i podsumowanie w granicach karty (row z marginesami -15px) */
body#checkout .card.cart-summary, body#checkout .card.cart-container { margin-left: 0 !important; margin-right: 0 !important; }
body#checkout .cart-detailed-totals { box-shadow: none !important; }
/* wszystkie zgody: odstęp między polem a tekstem */
body#checkout .checkout-area-12 label:has(input[type=checkbox]):not(:has(a)) { display: flex !important; align-items: flex-start; gap: 10px; }
body#checkout .checkout-area-12 label:has(input[type=checkbox]) a { margin: 0 4px; }
body#checkout .checkout-block { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
/* nagłówki sekcji: bez wysuwania poza kartę (full-header miał ujemne marginesy) */
body#checkout .block-header, body#checkout .full-header .block-header { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
/* koszyk: bez kart w karcie */
body#checkout .card.cart-container, body#checkout .card.cart-summary, body#checkout .card-block.block-promo,
body#checkout .cart-detailed-totals, body#checkout .cart-detailed-totals .card-block, body#checkout .cart-summary .card-block {
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important;
}
body#checkout .cart-detailed-totals { padding: 0 !important; }
body#checkout .cart-detailed-totals .card-block { padding: 0 !important; }
body#checkout .cart-detailed-totals .card-block + .card-block { border-top: 1px solid var(--linia) !important; margin-top: 10px !important; padding-top: 10px !important; }
body#checkout .block-promo { border-top: 0 !important; padding: 0 !important; }
/* ilość: jedna ramka licznika, pole w środku bez ramki */
body#checkout .qty-box { border: 1px solid var(--linia-mocna) !important; }
body#checkout .qty-box input, body#checkout .qty-box .form-control { border: 0 !important; box-shadow: none !important; background: transparent !important; }
/* opcje dostawy i płatności: jedna ramka na opcję, bez szarego paska w środku */
body#checkout .fix_deliv_pay { border: 0 !important; box-shadow: none !important; background: none !important; }
body#checkout .delivery-option, body#checkout .payment-option { border: 1px solid var(--linia) !important; border-radius: 12px !important; background: #fff !important; margin-bottom: 10px !important; overflow: hidden; }
body#checkout .delivery-option:has(input:checked), body#checkout .payment-option:has(input:checked) { border-color: var(--ziel) !important; box-shadow: inset 0 0 0 1px var(--ziel) !important; }
/* „Twój koszyk” był przycięty (margin-left -48px w overflow:hidden) */
body#checkout .shopping-cart-header { margin-left: 0 !important; padding-left: 0 !important; }
/* zgoda na warunki: odstęp między polem a tekstem */
body#checkout #thecheckout-confirm label:not(:has(a)) { display: flex !important; align-items: flex-start; gap: 10px; }
/* przycisk zamówienia: cały tekst biały (słowo „Zamów” było ciemne na zielonym) */
body#checkout #confirm_order, body#checkout #confirm_order * { color: #fff !important; }
/* puste obszary (na telefonie moduł przenosi bloki gdzie indziej) - bez pustych kart */
body#checkout .checkout-area-1 > :is(.blocks, .flex-split-horizontal):not(:has(.checkout-block)) { display: none !important; }
/* nagłówki sekcji: pierwsza litera była przycięta (overflow hidden przy ujemnym odstępie liter) */
body#checkout .block-header { overflow: visible !important; }
/* zgoda z linkiem w środku zdania: zwykły akapit z polem po lewej (flex rozbijał tekst na kolumny) */
body#checkout .checkout-area-12 label:has(input[type=checkbox]):has(a), body#checkout label:has(input[type=checkbox]):has(a) { display: block !important; position: relative; padding-left: 30px !important; }
body#checkout label:has(input[type=checkbox]):has(a) > input[type=checkbox], body#checkout label:has(input[type=checkbox]):has(a) > .custom-checkbox { position: absolute !important; left: 0; top: 2px; margin: 0 !important; }
body#checkout label:has(input[type=checkbox]):has(a) a { margin: 0 !important; }
@media (max-width: 767px) {
  body#checkout .checkout-area-1 > .blocks, body#checkout .checkout-area-1 > .flex-split-horizontal { padding: 20px 16px !important; border-radius: 12px !important; }
  body#checkout .checkout-area-1 > .flex-split-horizontal { gap: 28px; }
  /* na telefonie bloki stoją poza obszarami - każdy główny blok jako karta */
  body#checkout #content > div > div > .checkout-block:is(#thecheckout-cart-summary, #thecheckout-login-form, #thecheckout-account, #thecheckout-address-invoice, #thecheckout-shipping, #thecheckout-payment, #thecheckout-order-message, #thecheckout-confirm),
  body#checkout .checkout-block:is(#thecheckout-cart-summary, #thecheckout-login-form, #thecheckout-account, #thecheckout-address-invoice, #thecheckout-shipping, #thecheckout-payment, #thecheckout-order-message, #thecheckout-confirm):not(.checkout-area-1 *) {
    background: #fff !important; border: 1px solid var(--linia) !important; border-radius: 12px !important; padding: 20px 16px !important; margin: 0 0 16px !important;
  }
}
/* przycisk WhatsApp: na stronie zamówienia ikona miała kolor tła */
.ks-wa, .ks-wa:hover, .ks-wa svg { color: #fff !important; fill: currentColor; }
body#checkout .block-promo .promo-code { border-top: 0 !important; padding-top: 0 !important; }

/* =====================================================================
   Karta produktu na listach - stały szkielet (Patryk 21.11): marka, nazwa (2 linie),
   dawka, dostępność, a cena i przycisk zawsze na dole karty w jednej linii.
   ===================================================================== */
.ks-product-card { display: flex !important; flex-direction: column; height: 100%; }
.ks-product-card .ks-product-content { display: flex !important; flex-direction: column; flex: 1 1 auto; gap: 0 !important; padding-top: 14px !important; }
.ks-product-card .ks-product-brand { height: 18px; margin: 0 0 4px !important; line-height: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ks-product-card .ks-product-content:not(:has(.ks-product-brand)) .ks-product-title { margin-top: 22px !important; }
.ks-product-card .ks-product-title { margin: 0 0 8px !important; min-height: calc(2 * 1.35em); line-height: 1.35 !important; }
.ks-product-card .ks-product-title a { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ks-product-card .ks-product-crops { display: none !important; }
.ks-product-card .ks-product-dosage { height: 20px; margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; font-size: .8125rem !important; color: var(--tekst-cichy) !important; }
.ks-product-card .ks-product-content:not(:has(.ks-product-dosage)) .ks-product-availability { margin-top: 24px !important; }
.ks-product-card .ks-product-availability { height: 22px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.ks-product-card .ks-product-price { margin-top: auto !important; padding-top: 12px !important; }
.ks-product-card .ks-product-actions { margin-top: 10px !important; }
/* kontrast dolnego paska stopki (Lighthouse: za jasny tekst na ciemnym tle) */
html :is(body, #footer) .ks-footer-copyright .ks-copyright-text, html :is(body, #footer) .ks-footer-copyright .ks-copyright-legal, html :is(body, #footer) .ks-footer-copyright .ks-copyright-legal span { color: #D3DBCB !important; opacity: 1 !important; }
html :is(body, #footer) .ks-footer-copyright .ks-copyright-company { color: #fff !important; }
#footer .ks-copyright-developer { color: #D3DBCB !important; }

/* ===== Baner zgód CookieYes: kolory marki; na telefonie opis do 3 linii z przewijaniem
   (cała treść dostępna, baner nie zasłania strony i nie jest największym elementem - LCP) 21.11.2026 ===== */
html body .cky-consent-container .cky-btn-accept,
html body .cky-consent-container .cky-btn-reject,
html body .cky-modal .cky-btn-accept,
html body .cky-modal .cky-btn-reject,
html body .cky-modal .cky-btn-preferences { background: var(--ziel) !important; border-color: var(--ziel) !important; color: #fff !important; }
html body .cky-consent-container .cky-btn-customize,
html body .cky-modal .cky-btn-customize { background: #fff !important; border-color: var(--ziel) !important; color: var(--ziel) !important; }
html body .cky-consent-container .cky-btn:focus-visible { outline: 3px solid var(--limonka) !important; outline-offset: 2px; }
html body .cky-consent-container .cky-title { font-family: var(--naglowki) !important; color: var(--atrament) !important; }
@media (max-width: 767px) {
  html body .cky-consent-container .cky-notice-des { max-height: 4.2em; overflow-y: auto; }
  html body .cky-consent-container .cky-notice-des p { font-size: 12px !important; line-height: 1.4 !important; }
  html body .cky-consent-container .cky-consent-bar { padding: 14px 16px !important; }
  html body .cky-consent-container .cky-title { font-size: 15px !important; margin-bottom: 6px !important; }
  html body .cky-consent-container .cky-notice-btn-wrapper .cky-btn { padding: 9px 12px !important; margin-top: 8px !important; }
}

/* Komunikaty KS SOR bez kolorowej lewej krawędzi (standard: jedna ramka 1px, kolor tylko w tle/ikonie) 21.11.2026 */
html body .ks-sor-notice--warning, html body .ks-sor-notice--info, html body .ks-sor-notice--danger,
html body .ks-sor-law-notice, html body .ks-sor-products-list, html body .ks-sor-cart-warning, html body .ks-sor-fumigant-error {
  border-left-width: 1px !important;
  border-radius: 12px;
}
html body .ks-sor-notice--info, html body .ks-sor-law-notice, html body .ks-sor-products-list { border-left-color: var(--linia) !important; border-color: var(--linia) !important; background: var(--ziel-jasna, #E8F3DF) !important; }
html body .ks-sor-notice--warning, html body .ks-sor-notice--danger, html body .ks-sor-cart-warning, html body .ks-sor-fumigant-error { border-color: #F2C9C4 !important; }
