/* =====================================================================
 * STRONA PRODUKTU - nowy wygląd (26.11.2026, wariant B; projekt docs/superpowers/specs/2026-11-26-strona-produktu-design.md,
 * makiety .superpowers/brainstorm/produkt-2026-11-26/). Ładowany na każdej stronie (szybki podgląd jest na liście, w wyszukiwarce,
 * w „Polecamy również”). Cena i gramatury są wspólne ze szybkim podglądem (:is(.quickview, body#product #main)),
 * reszta tylko na stronie produktu. Szablony: catalog/product.tpl, _partials/product-prices.tpl, product-variants.tpl, product-add-to-cart.tpl.
 * ===================================================================== */

/* ---------- cena (P1): „Cena”, duża kwota, pod nią cena za kg, po prawej waga ---------- */
:is(.quickview, body#product #main) .product-prices {
  margin: 14px 0 16px;
  padding: 16px 18px 14px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
  text-transform: none;
}

:is(.quickview, body#product #main) .product-prices .pk-cena {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin: 0 !important;   /* .current-price: margin-top -47px !important (motyw, strona produktu) */
}

:is(.quickview, body#product #main) .product-prices .pk-cena-l {
  display: flex;
  flex-direction: column;
  margin: 0;
}

:is(.quickview, body#product #main) .product-prices .pk-cena-et {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

:is(.quickview, body#product #main) .product-prices .cena-za-wariant {
  display: block;
  margin: 0;
  color: #e2431f;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
}

:is(.quickview, body#product #main) .product-prices .pk-cena-pod {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
}

:is(.quickview, body#product #main) .product-prices .pk-cena-kg {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f3f1ee;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

:is(.quickview, body#product #main) .product-prices .pk-cena-kg b {
  color: #1f2328;
  font-weight: 700;
}

:is(.quickview, body#product #main) .product-prices .pk-cena-vat {
  color: #8a9099;
  font-size: 14px;
}

@media (max-width: 575px) {
  :is(.quickview, body#product #main) .product-prices .pk-cena-pod {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

:is(.quickview, body#product #main) .product-prices .pk-waga-blok {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;    /* do prawej (Łukasz 27.11) */
  align-self: flex-start;   /* „ZA KAWAŁEK” w jednej linii z „CENA” */
  margin-left: auto;
  gap: 4px;
}

/* jak „CENA” (.pk-cena-et); prawa krawędź równo z tekstem w plakietce (jej padding 16 px) */
:is(.quickview, body#product #main) .product-prices .pk-waga-et {
  margin-right: 16px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

:is(.quickview, body#product #main) .product-prices .pk-waga {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff4f0;
  color: #c2410c;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

:is(.quickview, body#product #main) .product-prices .tax-shipping-delivery-label:empty {
  display: none;
}

/* ---------- gramatury: kafelki 3 w rzędzie, w każdym waga i cena ---------- */
:is(.quickview, body#product #main) .product-variants {
  width: 100%;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #fff;
}

:is(.quickview, body#product #main) .product-variants .control-label {
  display: block;
  margin-bottom: 10px;
  color: #1f2328;
  font-size: 16px;
  font-weight: 700;
}

:is(.quickview, body#product #main) .product-variants > .product-variants-item ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

:is(.quickview, body#product #main) .product-variants > .product-variants-item ul li {
  float: none;
  margin: 0;
}

/* 4 i więcej gramatur - 4 w rzędzie (Łukasz 27.11); tylko od 1200 px - węższy kafelek łamałby „0,70 kg” */
@media (min-width: 1200px) {
  :is(.quickview, body#product #main) .product-variants > .product-variants-item ul:has(> li:nth-child(4)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

/* radio ukryte jak w motywie - klik w kafelek je zaznacza */
:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 70px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid #cfd4da;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  color: #1f2328;
  font-weight: 600;
  transition: border-color .15s ease, background-color .15s ease;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label b {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura-cena {
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura-ok {
  display: none;
  position: absolute;
  top: 8px;
  right: 9px;
  color: #f75533;
  font-size: 17px;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:hover + .radio-label {
  border: 1.5px solid #f9b49b;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:checked + .radio-label {
  padding-right: 30px;
  border: 2px solid #f75533;
  background: #fff4f0;
  color: #c2410c;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:checked + .radio-label .pk-gramatura-cena {
  color: #c2410c;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:checked + .radio-label .pk-gramatura-ok {
  display: block;
}

:is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:focus-visible + .radio-label {
  outline: 3px solid #fbbf9f !important;
  outline-offset: 2px;
}

:is(.quickview, body#product #main) .wiecej-gramatur {
  margin-top: 12px;
  color: #c2410c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f3cbbd;
  text-underline-offset: 3px;
}

:is(.quickview, body#product #main) .wiecej-gramatur:hover {
  text-decoration-color: currentColor;
}

/* „dodatkowe opcje?” - ciepła karta: dwa akapity i dwa telefony jako duże przyciski (stuknięcie = dzwonienie) */
:is(.quickview, body#product #main) #gramatury-info.pk-gram-info {
  margin: 10px 0 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #faf7f3;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

:is(.quickview, body#product #main) .pk-gram-info p {
  margin: 0 0 8px;
}

:is(.quickview, body#product #main) .pk-gram-info p b {
  color: #1f2328;
}

:is(.quickview, body#product #main) .pk-gram-tel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

:is(.quickview, body#product #main) .pk-gram-tel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e7e2db;
  border-radius: 12px;
  background: #fff;
  color: #1f2328;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}

:is(.quickview, body#product #main) .pk-gram-tel a:hover {
  border-color: #f95428;
  background: #fff7f3;
}

:is(.quickview, body#product #main) .pk-gram-tel a > i {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f5ee;
  color: #1f9d55;
  font-size: 15px;
  line-height: 36px;
  text-align: center;
}

:is(.quickview, body#product #main) .pk-gram-tel a > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

:is(.quickview, body#product #main) .pk-gram-tel-et {
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

:is(.quickview, body#product #main) .pk-gram-tel b {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

:is(.quickview, body#product #main) .pk-gram-tel small {
  color: #8a9099;
  font-size: 14px;
}

/* Sklep wyróżniony, Zakład drugorzędny - jak telefony w stopce i „Masz pytania?” (Łukasz 27.11: „tutaj też mniej ważne ZAKŁAD / MASARNIA”) */
:is(.quickview, body#product #main) .pk-gram-tel-gora {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
}

:is(.quickview, body#product #main) .pk-gram-tel-znaczek {
  position: absolute;     /* na górnej krawędzi kafelka - kafelki Sklep i Zakład zostają równej wysokości */
  top: -10px;
  right: 12px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #1f9d55;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
}

:is(.quickview, body#product #main) .pk-gram-tel a.pk-gram-tel-glowny {
  position: relative;
  border: 2px solid #f95428;
  box-shadow: 0 4px 14px rgba(249, 84, 40, .14);
}

:is(.quickview, body#product #main) .pk-gram-tel a.pk-gram-tel-glowny:hover {
  border-color: #e0461d;
  background: #fff;
}

:is(.quickview, body#product #main) .pk-gram-tel a.pk-gram-tel-glowny > i {
  background: #f95428;
  color: #fff;
}

:is(.quickview, body#product #main) .pk-gram-tel-glowny .pk-gram-tel-et {
  color: #1f2328;
}

:is(.quickview, body#product #main) .pk-gram-tel-glowny b {
  color: #e2431f;
  font-size: 19px;
}

:is(.quickview, body#product #main) .pk-gram-tel a:not(.pk-gram-tel-glowny) {
  background: rgba(255, 255, 255, .55);
}

:is(.quickview, body#product #main) .pk-gram-tel a:not(.pk-gram-tel-glowny) > i {
  background: #f1eeea;
  color: #9a948c;
}

:is(.quickview, body#product #main) .pk-gram-tel a:not(.pk-gram-tel-glowny) b {
  color: #4b5563;
  font-weight: 600;
}

@media (max-width: 575px) {
  :is(.quickview, body#product #main) .pk-gram-tel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :is(.quickview, body#product #main) .product-prices .cena-za-wariant {
    font-size: 36px;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label {
    padding: 0 10px;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label b {
    font-size: 18px;
  }
}

/* wąski kafelek gramatury (telefon ok. 100 px, tablet 768-991 px ok. 90 px): waga w jednej linii, ✓ mniejszy w rogu zamiast miejsca
 * na niego po prawej - inaczej „0,90 kg” łamie się na dwie linie (przegląd 26.11: iPad pionowo) */
@media (max-width: 991px) {
  :is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label {
    padding: 0 10px;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label b {
    white-space: nowrap;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura .input-radio:checked + .radio-label {
    padding-right: 10px;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura-ok {
    top: 5px;
    right: 5px;
    font-size: 14px;
  }
}

/* =====================================================================
 * Tylko strona produktu (body#product)
 * ===================================================================== */

/* krótki opis i link „pokaż więcej” */
body#product #main .product-description-short {
  padding: 0 0 12px;
  color: #2b2f36;
  font-size: 17px;
  line-height: 1.65;
}

body#product #main .toggle-desc-extended {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 15px;
}

/* ---------- karta zamówienia ---------- */
:is(.quickview, body#product #main) .pk-karta {
  margin: 16px 0 18px;
  padding: 22px 22px 18px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .07);
}

/* w karcie cena i gramatury bez własnych ramek */
:is(.quickview, body#product #main) .pk-karta .product-prices {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* cena + waga porcji - pas na górze karty z delikatnymi kropkami jak w logo, zanikającymi w stronę ceny (Łukasz 27.11: „obrazek tła z lekkim deseniem… subtelnie”, wariant B);
   od krawędzi do krawędzi karty (ujemny margines = padding karty), pod spodem jedna linia (gramatury bez własnej) */
:is(.quickview, body#product #main) .pk-karta .product-prices {
  margin: -22px -22px 8px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #f3e4dc;
  border-radius: 15px 15px 0 0;
  background-color: #fffaf7;
  background-image:
    linear-gradient(270deg, rgba(255, 250, 247, 0) 0%, rgba(255, 250, 247, .55) 40%, #fffaf7 75%),
    radial-gradient(circle, rgba(249, 84, 40, .22) 0, rgba(249, 84, 40, .22) 1.4px, transparent 2px);
  background-position: 0 0, 7px 7px;
  background-size: 100% 100%, 14px 14px;
}

:is(.quickview, body#product #main) .pk-karta .product-prices .pk-waga {
  background: #fff;
  box-shadow: inset 0 0 0 1px #f6d5c8;
}

:is(.quickview, body#product #main) .pk-karta .product-prices .cena-za-wariant {
  font-size: 40px;
}

:is(.quickview, body#product #main) .pk-karta .product-variants {
  margin: 0 0 14px;
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
}

/* produkt bez gramatur (Termobox): zostaje sama kreska między ceną a przyciskiem - bez pustego miejsca pod nią */
:is(.quickview, body#product #main) .pk-karta .product-variants.pk-bez-gramatur {
  margin-bottom: 0;
  padding-top: 0;
}

/* ilość + przycisk na resztę szerokości */
:is(.quickview, body#product #main) .pk-karta .product-add-to-cart .product-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

:is(.quickview, body#product #main) .pk-karta .product-add-to-cart .product-quantity .add {
  flex: 1 1 auto;
}

:is(.quickview, body#product #main) .pk-karta .product-actions .add-to-cart {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  font-size: 19px;
  line-height: 58px;
}

:is(.quickview, body#product #main) .pk-karta .product-quantity .bootstrap-touchspin #quantity_wanted {
  height: 58px;
}

:is(.quickview, body#product #main) .pk-karta .product-quantity .bootstrap-touchspin .btn-touchspin {
  height: 29px;
}

:is(.quickview, body#product #main) .pk-karta #product-availability:empty,
:is(.quickview, body#product #main) .pk-karta .product-minimal-quantity:empty {
  display: none;
}

/* „Udostępnij” i baner Tpay modułu pod nim - na stronie produktu bez nich (baner Tpay jest w linii „Płatność”) */
:is(.quickview, body#product #main) .pk-karta .product-additional-info .social-sharing,
:is(.quickview, body#product #main) .pk-karta .product-additional-info .box-security {
  display: none;
}

/* szybki podgląd: bez „Czytaj opinie” / „Oceń produkt” - w podglądzie nie ma opinii ani okienka oceny, a przejście na stronę produktu
   gubi sens podglądu (Łukasz 27.11); zostają gwiazdki ze średnią, pełna strona - przycisk pod zdjęciami */
.quickview #product_comments_block_extra .comments_advices {
  display: none !important;   /* reguła ze stroną produktu (:is z #main) ma wyższą wagę */
}

/* szybki podgląd: zdjęcia jak na stronie produktu - jedna zaokrąglona jasna ramka zamiast kwadratowej z motywu (Łukasz 27.11) */
.quickview .images-quickviews .product-cover {
  overflow: hidden;
  border: 1px solid #e6e8eb;
  border-radius: 14px;
  background: #fff;
}

.quickview .images-quickviews .product-cover .slick-list {
  border-radius: 13px;
}

.quickview .images-quickviews .thumb {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}

.quickview .images-quickviews .slick-current .thumb,
.quickview .images-quickviews .thumb.selected,
.quickview .images-quickviews .thumb:hover {
  border-color: #f75533;
}

.quickview .images-quickviews .thumb-container > div::before {
  display: none;   /* druga, kwadratowa ramka z opcji motywu */
}

.quickview .images-quickviews .slick-slide:focus,
.quickview .images-quickviews .slick-slide > div:focus {
  outline: 0;
}

/* krótki opis równo z nazwą i gwiazdkami (motyw: wcięcie 15 px z obu stron) */
.quickview .product-description-short {
  padding-right: 0;
  padding-left: 0;
}

/* szybki podgląd: przydatność i skład pod zdjęciami - etykieta nad wartością, linia między nimi (jak ramka „Skład i przydatność” na stronie produktu) */
.quickview .pk-qv-fakty {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #faf7f3;
}

.quickview .pk-qv-fakty dl {
  margin: 0;
}

.quickview .pk-qv-fakty dt {
  margin: 0 0 2px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.quickview .pk-qv-fakty dt:not(:first-child) {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ece7e1;
}

.quickview .pk-qv-fakty dd {
  margin: 0;
  color: #2b2f36;
  font-size: 15px;
  line-height: 1.45;
}

.quickview .pk-qv-fakty dd b {
  font-weight: 700;
}

.quickview .pk-qv-opis-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #c2410c;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f3cbbd;
  text-underline-offset: 3px;
  cursor: pointer;
}

.quickview .pk-qv-opis-btn:hover {
  text-decoration-color: currentColor;
}

/* okienko z pełnym opisem nad podglądem */
.quickview .pk-qv-okno {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, .45);
}

.quickview .pk-qv-okno[hidden] {
  display: none;
}

.quickview .pk-qv-okno-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px 30px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .3);
  color: #2b2f36;
  font-size: 16px;
  line-height: 1.65;
}

.quickview .pk-qv-okno-x {
  position: sticky;
  top: 0;
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -6px -10px 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.quickview .pk-qv-okno-x i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #1f2328;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
}

.quickview .pk-qv-okno-x:hover i {
  background: #e5e7eb;
}

.quickview .pk-qv-okno-t {
  margin: 0 0 14px;
  color: #1f2328;
  font: 700 24px/1.25 'Bitter', Georgia, serif;
  text-transform: none;
}

.quickview .pk-qv-okno-opis p {
  margin: 0 0 12px;
}

.quickview .pk-qv-okno-opis [data-toggle^="peklqv"] {
  color: #6b7280;   /* stonowane, jak na stronie produktu - informacja trzeciej wagi */
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: #d6dadf;
  text-underline-offset: 3px;
}

@media (max-width: 575px) {
  .quickview .pk-qv-okno {
    padding: 10px;
  }

  .quickview .pk-qv-okno-panel {
    max-height: calc(100vh - 20px);
    padding: 20px 18px;
  }
}

/* szybki podgląd: link do pełnej strony produktu - szeroki przycisk pod miniaturkami */
.quickview .images-quickviews {
  margin-bottom: 18px;   /* motyw: 60 px */
}

.quickview .pk-qv-pelna {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1.5px solid #f3cbbd;
  border-radius: 12px;
  background: #fff;
  color: #c2410c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}

.quickview .pk-qv-pelna-t {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quickview .pk-qv-pelna small {
  color: #8a6a5c;
  font-size: 14px;
  font-weight: 400;
}

.quickview .pk-qv-pelna:hover {
  border-color: #f95428;
  background: #fff7f3;
  color: #c2410c;
}

/* opinie pod przyklejonym nagłówkiem przy wejściu z linku …#idTab5 */
body#product #idTab5 {
  scroll-margin-top: 100px;
}

/* szybki podgląd: „Udostępnij” i baner Tpay modułu (hook pod kartą) - bez nich, pasek Tpay jest w karcie */
.quickview .social-sharing,
.quickview .box-security {
  display: none;
}

/* dostawa i płatność pod przyciskiem */
:is(.quickview, body#product #main) .pk-dostawa {
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #eef0f2;
  list-style: none;
}

:is(.quickview, body#product #main) .pk-dostawa li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: #2b2f36;
  font-size: 15px;
  line-height: 1.4;
}

:is(.quickview, body#product #main) .pk-dostawa li > i {
  flex: 0 0 22px;
  color: #1f9d55;
  font-size: 18px;
  text-align: center;
}

:is(.quickview, body#product #main) .pk-dostawa b {
  font-weight: 700;
}

/* pasek metod płatności Tpay jak w kroku Płatność - pod linią „Płatność”, na środku karty (obrazek ma biały margines z lewej -
   przy wcięciu jak tekst wyglądał krzywo; Łukasz 27.11) */
:is(.quickview, body#product #main) .pk-dostawa .pk-tpay-metody {
  justify-content: center;
  padding: 8px 0 0;
}

:is(.quickview, body#product #main) .pk-dostawa .pk-tpay-metody a {
  display: block;
  width: 100%;
  max-width: 420px;
}

:is(.quickview, body#product #main) .pk-dostawa .pk-tpay-metody img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* ---------- „W skrócie”: 2 × 2 kafelki pod kartą ---------- */
body#product #main .pk-kafle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

body#product #main .pk-kafel {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: start;
  column-gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f5f2;
}

body#product #main .pk-kafel i {
  grid-row: 1 / span 2;
  color: #f75533;
  font-size: 22px;
  line-height: 1.4;
}

body#product #main .pk-kafel span {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body#product #main .pk-kafel > b {
  color: #1f2328;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

body#product #main .pk-kafel > b::first-letter {
  text-transform: uppercase;
}

/* alergeny w składzie (pogrubione jak na Kartkach DOSTAWA) */
body#product #main .pk-kafel-sklad > b {
  font-weight: 500;
}

body#product #main .pk-kafel-sklad > b b {
  font-weight: 800;
}

/* tablet 768-991 px: prawa kolumna wąska (ok. 330-480 px) - kafelki „W skrócie” jeden pod drugim jak na telefonie */
@media (max-width: 991px) {
  body#product #main .pk-kafle {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :is(.quickview, body#product #main) .pk-karta {
    padding: 18px 16px 14px;
  }

  :is(.quickview, body#product #main) .pk-karta .product-prices {
    margin: -18px -16px 8px;
    padding: 16px 16px 14px;
  }

  :is(.quickview, body#product #main) .pk-karta .product-prices .cena-za-wariant {
    font-size: 36px;
  }

  body#product #main .pk-kafle {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* pionowy baner „Porcje wędlin pakujemy próżniowo” (tablet pod zdjęciem, telefon pod kafelkami) */
body#product #main img.pk-pakowanie {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 18px auto 0;
  border-radius: 12px;
}

@media (max-width: 991px) {
  body#product #main img.pk-pakowanie {
    display: block;   /* które z dwóch - klasy hidden-* (tablet 768-991, telefon do 767) */
  }
}

/* ---------- odznaki TrustMate: karta „Nagrody od naszych Klientów” (O2) ---------- */
body#product #main .pk-odznaki {
  margin: 26px 0 0;
  padding: 18px 20px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbf8f4);
  text-align: center;
}

body#product #main .pk-odznaki-t {
  margin: 0 0 12px;
  color: #1f2328;
  font: 700 21px/1.2 'Bitter', Georgia, serif;
}

body#product #main .pk-odznaki-lista {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

body#product #main .pk-odznaki-lista img {
  display: block;
  width: 100%;
  height: auto;
}

body#product #main .pk-odznaki-p {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
}

body#product #main .pk-odznaki-p a {
  color: #0a6ef2;
  font-weight: 600;
}

@media (max-width: 767px) {
  body#product #main .pk-odznaki {
    margin: 0 0 18px;
  }

  body#product #main .pk-odznaki-lista {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 280px;
  }
}

/* ---------- opis bez zakładek (D2): tekst w czytelnej kolumnie, obok ramka „Skład i przydatność”, pod spodem opinie ---------- */
body#product #main .pk-opis,
body#product #main .pk-opinie,
body#product #main .pk-zalaczniki,
body#product #main .pk-dodatkowe {
  margin: 34px 0;   /* także pod spodem - odstęp od boksu „na Święta” (27.11) */
  padding: 28px 30px 26px;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  background: #fff;
}

body#product #main .pk-sekcja-t {
  margin: 0 0 18px;
  color: #1f2328;
  font: 700 28px/1.2 'Bitter', Georgia, serif;
  text-transform: none;
}

body#product #main .pk-sekcja-t span {
  color: #9aa3ad;
  font-size: 22px;
}

body#product #main .pk-opis-siatka {
  display: grid;
  grid-template-columns: minmax(0, 780px) 380px;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

body#product #main #description .product-description p {
  margin: 0 0 16px;
  color: #2b2f36;
  font-size: 17px;
  line-height: 1.75;
}

body#product #main .pk-sklad {
  position: sticky;
  top: 90px;
  padding: 20px 22px 18px;
  border: 1px solid #ece7e1;
  border-radius: 14px;
  background: #fbf9f6;
}

body#product #main .pk-sklad h3 {
  margin: 0 0 6px;
  color: #2a1810;
  font: 700 20px/1.2 'Bitter', Georgia, serif;
  text-transform: none;
}

body#product #main .pk-sklad dl {
  margin: 0;
}

body#product #main .pk-sklad dt {
  margin: 12px 0 2px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* subtelna linia między pozycjami (Łukasz 27.11) */
body#product #main .pk-sklad dt:not(:first-child) {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ece7e1;
}

body#product #main .pk-sklad dd {
  margin: 0;
  color: #1f2328;
  font-size: 16px;
  line-height: 1.5;
}

body#product #main .pk-sklad dd::first-letter {
  text-transform: uppercase;
}

body#product #main .pk-sklad dd.pk-ean {
  color: #4b5563;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}

/* marka: logo + „Producent / Sadowscy” na dole ramki */
body#product #main .pk-sklad .pk-marka {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ece7e1;
  color: #1f2328;
  text-decoration: none;
}

body#product #main .pk-sklad .pk-marka img {
  flex: none;
  width: 72px;
  height: 72px;
  margin: 0;
  object-fit: contain;
  mix-blend-mode: multiply;   /* białe tło obrazka znika na beżowej ramce */
}

body#product #main .pk-sklad .pk-marka-et {
  display: block;
  margin-bottom: 2px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body#product #main .pk-sklad .pk-marka b {
  font-size: 16px;
  font-weight: 700;
}

body#product #main .pk-sklad .pk-marka:hover b {
  color: #c2410c;
  text-decoration: underline;
}

body#product #main .pk-sklad .pk-sklad-sklad b {
  font-weight: 800;
}

/* „Sól peklowa” - wiersz na całą szerokość ramki: nazwa, pod nią dopisek, strzałka po prawej (obraca się po rozwinięciu - aria-expanded ustawia
   custom.js); jako „pigułka” zawijała się na 2 linie w owal. Stonowany, szary - informacja trzeciej wagi, nie ma przyciągać wzroku (Łukasz 27.11) */
body#product #main .pk-sklad .pk-pekl {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid #e7e2db;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}

body#product #main .pk-sklad .pk-pekl:hover,
body#product #main .pk-sklad .pk-pekl[aria-expanded="true"] {
  border-color: #d3ccc3;
  background: #fff;
  color: #4b5563;
}

body#product #main .pk-sklad .pk-pekl-ik {
  flex: none;
  font-size: 16px;
}

body#product #main .pk-sklad .pk-pekl-t {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}

body#product #main .pk-sklad .pk-pekl-t b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

body#product #main .pk-sklad .pk-pekl-t span {
  display: block;
  color: #8a9099;
  font-size: 13px;
}

body#product #main .pk-sklad .pk-pekl-st {
  flex: none;
  font-size: 11px;
  transition: transform .2s;
}

body#product #main .pk-sklad .pk-pekl[aria-expanded="true"] .pk-pekl-st {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  body#product #main .pk-sklad .pk-pekl-st {
    transition: none;
  }
}

/* rozwinięty tekst o soli peklowej - stonowany jak przycisk: szara ramka, akapity, śródtytuły, lista z ptaszkami */
body#product #main .pk-sklad .pk-pekl-tekst {
  margin-top: 8px;
  padding: 14px 16px 6px;
  border: 1px solid #e7e2db;
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

body#product #main .pk-sklad .pk-pekl-tekst p {
  margin: 0 0 10px;
}

body#product #main .pk-sklad .pk-pekl-tekst b {
  color: #374151;
  font-weight: 700;
}

body#product #main .pk-sklad .pk-pekl-tekst .pk-pekl-lead {
  margin: 14px 0 6px;
  padding-top: 12px;
  border-top: 1px solid #f0ece6;
  line-height: 1.4;
}

body#product #main .pk-sklad .pk-pekl-tekst .blink {
  animation: none;   /* mruganie - za głośne jak na informację trzeciej wagi */
}

body#product #main .pk-sklad .pk-pekl-tekst h4 {
  margin: 14px 0 6px;
  padding-top: 12px;
  border-top: 1px solid #f0ece6;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

/* pierwszy śródtytuł („Dlaczego nie robimy wędlin bez soli peklowej?”) - bez kreski nad nim, trochę większy */
body#product #main .pk-sklad .pk-pekl-tekst > h4:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 15px;
}

body#product #main .pk-sklad .pk-pekl-tekst ul {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

body#product #main .pk-sklad .pk-pekl-tekst li {
  position: relative;
  margin: 0 0 5px;
  padding-left: 22px;
}

body#product #main .pk-sklad .pk-pekl-tekst li::before {
  content: "\f00c";   /* ptaszek */
  position: absolute;
  top: 1px;
  left: 0;
  color: #1f9d55;
  font-family: "Font Awesome 5 Pro";
  font-size: 12px;
  font-weight: 900;
}

body#product #main .pk-sklad .pk-pekl-tekst li b {
  font-weight: 600;
}

@media (max-width: 991px) {
  body#product #main .pk-opis-siatka {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  body#product #main .pk-sklad {
    position: static;
  }
}

@media (max-width: 767px) {
  body#product #main .pk-opis,
  body#product #main .pk-opinie,
  body#product #main .pk-zalaczniki,
  body#product #main .pk-dodatkowe {
    margin: 24px 0;
    padding: 20px 16px 18px;
  }

  body#product #main .pk-opinie #product_comments_block_tab div.comment,
  body#product #main .pk-opinie #product_comments_block_tab div.comment:first-child {
    padding: 14px 14px 14px 46px;
  }

  body#product #main .pk-opinie #product_comments_block_tab div.comment::before {
    top: 10px;
    left: 12px;
    font-size: 44px;
  }

  body#product #main .pk-sekcja-t {
    font-size: 24px;
  }
}

/* ---------- ocena pod nazwą produktu: gwiazdki, średnia liczbą, „Czytaj opinie (N)” · „Oceń produkt” (27.11) ---------- */
:is(.quickview, body#product #main) #product_comments_block_extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  height: auto;
  min-height: 0;
  margin: 6px 0 14px;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_note > span {
  display: none;   /* „Ocena” */
}

:is(.quickview, body#product #main) #product_comments_block_extra .star_content {
  display: flex;
  float: none;
  margin: 0;
}

:is(.quickview, body#product #main) #product_comments_block_extra .star {
  width: 19px;
  height: 18px;
  margin: 0;
}

:is(.quickview, body#product #main) #product_comments_block_extra div.star::after {
  font-size: 18px;
  line-height: 18px;
}

:is(.quickview, body#product #main) #product_comments_block_extra .pk-ocena-liczba {
  color: #1f2328;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices li {
  display: flex;
  align-items: center;
  height: auto;
  margin: 0;
  padding: 0;
}

/* kropka między linkami */
:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: #b8bdc4;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices a {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: #d6dadf;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .15s, text-decoration-color .15s;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices a::before {
  color: #9aa0a6;
  text-decoration: none;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices a:hover {
  color: #c2410c;
  text-decoration-color: currentColor;
}

:is(.quickview, body#product #main) #product_comments_block_extra .comments_advices a:hover::before {
  color: inherit;
}

/* ---------- opinie (moduł productcomments): gwiazdki, imię i data w jednej linii, „tak / nie” i „Oceń produkt” w stylu sklepu (27.11) ---------- */
/* każda opinia jak cytat: ciepła karta z dużym cudzysłowem (Łukasz 27.11) */
body#product #main .pk-opinie #product_comments_block_tab div.comment,
body#product #main .pk-opinie #product_comments_block_tab div.comment:first-child {
  position: relative;
  margin: 0 0 12px;
  padding: 18px 22px 16px 70px;
  border: 0;
  border-radius: 14px;
  background: #faf7f3;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment::before {
  content: "\201D";
  position: absolute;
  top: 12px;
  left: 20px;
  color: #f2b9a4;
  font: 700 64px/1 'Bitter', Georgia, serif;
  pointer-events: none;
}

body#product #main .pk-opinie .comment_author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  line-height: 1.3;
}

/* „Ocena” przed gwiazdkami - gwiazdki mówią same za siebie */
body#product #main .pk-opinie .comment_author > span:first-child {
  display: none;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author .star_content {
  margin: 0;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author .star {
  width: 20px;
  height: 20px;
  margin: 0 1px 0 0;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author div.star::after {
  font-size: 20px;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author_infos {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  clear: none;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author_infos strong {
  color: #1f2328;
  font-size: 15px;
  font-weight: 700;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author_infos em {
  color: #8a9099;
  font-size: 14px;
  font-style: normal;
}

body#product #main .pk-opinie #product_comments_block_tab .comment_author_infos em::before {
  content: "·";
  margin-right: 8px;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details {
  margin-top: 8px;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details .title_block {
  margin: 0 0 4px;
  color: #1f2328;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details p {
  margin: 0;
  color: #2b2f36;
  font-size: 16px;
  line-height: 1.6;
}

/* „Komentarz był pomocny? [tak] [nie]”, „1 z 1 osób…”, „Zgłoś nadużycie” w jednej linii pod treścią */
body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #6b7280;
  font-size: 14px;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details ul:empty {
  display: none;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details ul li::before {
  content: none;   /* moduł na telefonie: trójkącik przed każdą pozycją */
}

body#product #main .pk-opinie #product_comments_block_tab div.comment .comment_details ul li:has(.report_btn) {
  margin-left: auto;
}

body#product #main .pk-opinie .usefulness_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 4px;
  padding: 5px 14px;
  border: 1px solid #d6dadf;
  border-radius: 999px;
  background: #fff;
  color: #2b2f36;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}

body#product #main .pk-opinie .usefulness_btn + .usefulness_btn {
  margin-left: 0;
}

body#product #main .pk-opinie .usefulness_btn::before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f164";   /* kciuk w górę */
}

body#product #main .pk-opinie .usefulness_btn[data-is-usefull="0"]::before {
  content: "\f165";   /* kciuk w dół */
}

body#product #main .pk-opinie .usefulness_btn:hover,
body#product #main .pk-opinie .usefulness_btn:focus-visible {
  border-color: #f95428;
  background: #fff7f3;
  color: #c2410c;
  outline: 0;
}

body#product #main .pk-opinie #product_comments_block_tab span.report_btn {
  color: #8a9099;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #d6dadf;
  text-underline-offset: 3px;
  cursor: pointer;
}

body#product #main .pk-opinie #product_comments_block_tab span.report_btn:hover {
  color: #c2410c;
  text-decoration-color: currentColor;
}

/* „Oceń produkt” - obrys w kolorze sklepu z gwiazdką; pełny pomarańczowy zostaje dla „Do koszyka” */
body#product #main .pk-opinie #product_comments_block_tab .align_center {
  margin: 18px 0 0;
  text-align: left;
}

body#product #main .pk-opinie #new_comment_tab_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 2px solid #f95428;
  border-radius: 12px;
  background: #fff;
  color: #c2410c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  box-shadow: none;
  transition: background-color .15s, color .15s;
}

body#product #main .pk-opinie #new_comment_tab_btn::before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f005";   /* gwiazdka */
  color: #f5b301;
}

body#product #main .pk-opinie #new_comment_tab_btn:hover {
  background: #f95428;
  color: #fff;
}

body#product #main .pk-opinie #new_comment_tab_btn:hover::before {
  color: #fff;
}

/* ---------- okienko „Oceń produkt” i „Dziękujemy za opinię” ---------- */
body#product :is(#myModal, #result_comment) .modal-dialog {
  max-width: 760px;
  width: auto;
  margin: 40px auto;
  padding: 0 12px;
}

body#product #result_comment .modal-dialog {
  max-width: 480px;
}

body#product :is(#myModal, #result_comment) .modal-content {
  position: relative;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .28);
}

body#product :is(#myModal, #result_comment) .modal-body {
  padding: 28px 30px 26px;
}

body#product .pk-okno-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

body#product .pk-okno-x:hover {
  background: #e5e7eb;
  color: #1f2328;
}

body#product #new_comment_form h2.title {
  margin: 0 50px 20px 0;
  padding: 0;
  background: none;
  color: #1f2328;
  font: 700 26px/1.2 'Bitter', Georgia, serif;
  text-transform: none;
}

/* drugi nagłówek „Oceń produkt” w kolumnie formularza - ten sam tekst co u góry */
body#product #new_comment_form .new_comment_form_content > h2 {
  display: none;
}

body#product #new_comment_form .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

body#product #new_comment_form .row > .product {
  flex: 0 0 36%;
  max-width: 36%;
  padding: 0 12px;
}

body#product #new_comment_form .row > .new_comment_form_content {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  padding: 0 12px;
}

body#product #new_comment_form .product img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eceef1;
  border-radius: 12px;
}

body#product #new_comment_form .product .product_desc .product_name {
  margin: 0;
  padding: 10px 0 0;
  color: #1f2328;
  font-size: 15px;
  line-height: 1.35;
}

body#product #new_comment_form #criterions_list {
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eef0f2;
}

body#product #new_comment_form #criterions_list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
}

body#product #new_comment_form #criterions_list label {
  float: none;
  margin: 0;
  color: #2b2f36;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

body#product #new_comment_form #criterions_list .clearfix {
  display: none;
}

body#product #new_comment_form #criterions_list .star_content {
  display: flex;
  float: none;
}

/* duże gwiazdki do klikania (Klienci 65+); link w środku na całą gwiazdkę */
body#product #new_comment_form #criterions_list .cancel {
  display: none;
}

body#product #new_comment_form #criterions_list .star {
  position: relative;
  width: 36px;
  height: 34px;
  margin: 0;
  cursor: pointer;
}

body#product #new_comment_form #criterions_list .star a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body#product #new_comment_form #criterions_list div.star::after {
  font-size: 32px;
  line-height: 34px;
}

body#product #new_comment_form label {
  margin: 16px 0 6px;
  color: #2b2f36;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

body#product #new_comment_form label sup {
  color: #c2410c;
}

body#product #new_comment_form :is(input[type="text"], textarea) {
  display: block;
  width: 100%;
  height: auto;
  padding: 11px 14px;
  border: 1px solid #d6dadf;
  border-radius: 10px;
  background: #fff;
  color: #1f2328;
  font-size: 16px;   /* 16 px - iPhone nie przybliża strony przy wpisywaniu */
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}

body#product #new_comment_form textarea {
  min-height: 130px;
  resize: vertical;
}

body#product #new_comment_form :is(input[type="text"], textarea):focus {
  border-color: #f95428;
  box-shadow: 0 0 0 3px rgba(249, 84, 40, .15);
  outline: 0;
}

body#product #new_comment_form #new_comment_form_footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
}

body#product #new_comment_form #new_comment_form_footer > p {
  float: none;
  margin: 0 !important;
  color: #8a9099;
}

body#product #new_comment_form #new_comment_form_footer .clearfix {
  display: none;
}

body#product #new_comment_form #new_comment_form_footer p.fr {
  display: flex;
  gap: 10px;
  margin-left: auto !important;
}

body#product #new_comment_form #new_comment_form_footer .btn {
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  box-shadow: none;
}

body#product #new_comment_form #new_comment_form_footer .closefb {
  border: 1px solid #d6dadf;
  background: #fff;
  color: #4b5563;
}

body#product #new_comment_form #new_comment_form_footer .closefb:hover {
  border-color: #9aa0a6;
  background: #f9fafb;
  color: #1f2328;
}

body#product #new_comment_form #new_comment_form_footer #submitNewMessage {
  border: 1px solid #f95428;
  background: #f95428;
  color: #fff;
}

body#product #new_comment_form #new_comment_form_footer #submitNewMessage:hover {
  border-color: #e0461d;
  background: #e0461d;
}

body#product #new_comment_form #new_comment_form_error {
  margin: 12px 0 0;
  padding: 10px 14px !important;
  border: 1px solid #f3cbbd;
  border-radius: 10px;
  background: #fff7f3;
  color: #b42318;
  font-size: 15px;
}

body#product #new_comment_form #new_comment_form_error ul {
  margin: 0;
  padding-left: 18px;
}

body#product #result_comment .modal-body {
  padding: 34px 30px 30px;
  text-align: center;
}

body#product #result_comment .modal-body h2 {
  margin: 0;
  color: #1f2328;
  font: 700 20px/1.4 'Bitter', Georgia, serif;
  text-transform: none;
}

body#product #result_comment .modal-body h2::before {
  display: block;
  margin: 0 auto 12px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f058";   /* ptaszek w kółku */
  color: #1f9d55;
  font-size: 44px;
}

@media (max-width: 575px) {
  body#product :is(#myModal, #result_comment) .modal-dialog {
    margin: 16px auto;
    padding: 0 10px;
  }

  body#product :is(#myModal, #result_comment) .modal-body {
    padding: 22px 18px 20px;
  }

  body#product #new_comment_form h2.title {
    font-size: 22px;
  }

  /* produkt w jednej linii: miniaturka i nazwa */
  body#product #new_comment_form .row > .product {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 14px;
  }

  body#product #new_comment_form .product img {
    flex: none;
    width: 64px;
    margin: 0;
  }

  body#product #new_comment_form .product .product_desc .product_name {
    padding: 0;
  }

  body#product #new_comment_form #new_comment_form_footer p.fr {
    flex: 1 1 100%;
  }

  body#product #new_comment_form #new_comment_form_footer p.fr .btn {
    flex: 1 1 0;
  }
}

/* ---------- miniaturki zdjęć pod dużym zdjęciem: jednakowe kafelki z jasną ramką, zaznaczona / pod myszą w kolorze sklepu (27.11) ---------- */
body#product #main .images-container .product-images .thumb {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color .15s;
}

/* zaznaczona i pod myszą - ta sama ramka, tylko pomarańczowa (bez drugiej obwódki; Łukasz 27.11) */
body#product #main .images-container .product-images .slick-current .thumb,
body#product #main .images-container .product-images .thumb:hover {
  border-color: #f75533;
}

/* duże zdjęcie - ta sama subtelna ramka co miniaturki (Łukasz 27.11). Karuzela (slick) i zoom to osobne warstwy - zaokrąglenie ramki ich nie
   przycinało, róg zdjęcia wystawał kwadratowo (Łukasz 27.11: „widać kwadrat”) - stąd isolation i zaokrąglenie samej karuzeli i zdjęć */
body#product #main .images-container .product-cover,
.quickview .images-quickviews .product-cover {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e6e8eb;
  border-radius: 14px;
  background: #fff;
}

body#product #main .images-container .product-cover :is(.slick-list, .thumb-item, img),
.quickview .images-quickviews .product-cover :is(.slick-list, .thumb-item, img) {
  border-radius: 13px;
}

/* druga, kwadratowa ramka z opcji motywu (posthemeoptions: .thumb-container > div:before) - zostaje jedna, zaokrąglona */
body#product #main .images-container .product-images .thumb-container > div::before {
  display: none;
}

body#product #main .images-container .product-images .slick-slide:focus,
body#product #main .images-container .product-images .slick-slide > div:focus {
  outline: 0;
}

/* ---------- przyklejony pasek „Do koszyka” (telefon; pokazuje custom.js) ---------- */
body#product .pk-pasek {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;   /* pod okienkami Bootstrapa (1050) */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e3e6ea;
  background: #fff;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
}

body#product .pk-pasek[hidden] {
  display: none;
}

body#product .pk-pasek-c {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

body#product .pk-pasek-cena {
  color: #e2431f;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

body#product .pk-pasek-waga {
  color: #6b7280;
  font-size: 14px;
}

body#product .pk-pasek-btn {
  flex: 1 1 auto;
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: #f75533;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

body#product .pk-pasek-btn i {
  vertical-align: -5px;
  font-size: 22px;
}

@media (max-width: 767px) {
  /* zapas pod stopką na wysokość paska - stały (przełączany razem z paskiem przesuwałby stronę); na #footer, nie na body - body ma wysokość ekranu */
  body#product #footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 768px) {
  body#product .pk-pasek {
    display: none !important;
  }
}

/* kółko „do góry” motywu nad paskiem, gdy pasek widać */
html.pk-pasek-jest .back-top {
  bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
}

/* =====================================================================
 * ZMIANA GRAMATURY - subtelna animacja (27.11.2026; Łukasz: „subtelną animację zmiany aktualnie wybranej gramatury w CENA / WAGA PORCJI
 * + może też samego przycisku wariantu”). Strona produktu i szybki podgląd. Klasy dokłada custom.js („ZMIANA GRAMATURY”):
 *   .pk-wybor (gramatury)       - kliknięty kafelek: ptaszek wskakuje,
 *   .pk-laduje (karta)          - sklep liczy nową cenę (ok. 0,2-0,5 s): kwota i waga przygasają, żeby było widać, że coś się dzieje,
 *   .pk-nowa-cena / .pk-nowa-waga (pas ceny) - nowa kwota wjeżdża od dołu, plakietka wagi lekko „bije” z pierścieniem.
 * Animuje się tylko to, co się zmieniło (+ / - ilości też przeładowuje kartę - wtedy nic). „Ogranicz ruch” w systemie - bez ruchu, samo przygaszenie.
 * ===================================================================== */
:is(.quickview, body#product #main) .pk-karta .product-prices :is(.cena-za-wariant, .pk-waga) {
  transition: opacity .15s ease;
}

:is(.quickview, body#product #main) .pk-karta.pk-laduje .product-prices :is(.cena-za-wariant, .pk-waga) {
  opacity: .4;
}

@media (prefers-reduced-motion: no-preference) {
  /* kafelek: krótkie wciśnięcie pod palcem / myszą */
  :is(.quickview, body#product #main) .product-variants .pk-gramatura .radio-label {
    transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
  }

  :is(.quickview, body#product #main) .product-variants .pk-gramatura:active .radio-label {
    transform: scale(.97);
  }

  :is(.quickview, body#product #main) .product-variants.pk-wybor .pk-gramatura .input-radio:checked + .radio-label .pk-gramatura-ok {
    animation: pk-ok .34s cubic-bezier(.34, 1.56, .64, 1) both;
  }

  :is(.quickview, body#product #main) .pk-karta .product-prices.pk-nowa-cena .cena-za-wariant {
    animation: pk-cena .38s cubic-bezier(.2, .8, .2, 1) both;
  }

  :is(.quickview, body#product #main) .pk-karta .product-prices.pk-nowa-waga .pk-waga {
    animation: pk-waga .55s cubic-bezier(.2, .8, .2, 1) both;
  }
}

@keyframes pk-ok {
  from {
    opacity: 0;
    transform: scale(.3) rotate(-30deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pk-cena {
  from {
    opacity: 0;
    transform: translateY(.3em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* pierścień jak fala - ten sam pomarańcz co ramka wybranego kafelka, rozchodzi się i znika */
@keyframes pk-waga {
  0% {
    transform: scale(.94);
    box-shadow: inset 0 0 0 1px #f6d5c8, 0 0 0 0 rgba(247, 85, 51, .3);
  }
  45% {
    transform: scale(1.04);
  }
  100% {
    transform: none;
    box-shadow: inset 0 0 0 1px #f6d5c8, 0 0 0 10px rgba(247, 85, 51, 0);
  }
}
