/* PROTERM UX-07 — system prezentacji opisów produktów (DEC-049 §4; tylko PL, karta produktu, wszystkie szerokości). WYŁĄCZNIE WYGLĄD:
   treść, kolejność, nagłówki (poziomy w HTML), linki, obrazy, tabele i dane ofertowe bez zmian; nic nie jest ukrywane. Uzupełnia UX-04 P2 (typografia bazowa 16 px / 1,65,
   odstępy, obrazy, przewijanie tabel) i UX-05 (szerokość tekstu ≥ 992 px) — działa tam, gdzie opisy mają style wklejone z edytorów (173/309 opisów: Google Docs 12pt,
   interlinia 1,38, pre-wrap, czcionki Arial/Open Sans/obce; tabele ze stałą szerokością 1199 px), które nadpisywały typografię motywu.
   1 jednolita czcionka, rozmiar i interlinia tekstu · 2 jedna skala nagłówków (H1 wklejony w opis wygląda jak H2 — poziom w HTML bez zmian) · 3 rytm akapitów
   4 akapity tekstowe wyśrodkowane w edytorze → do lewej (obrazy nadal wyśrodkowane) · 5 tabele na całą szerokość, czytelne wiersze · 6 łamanie długich ciągów · 7 szerokość tekstu na tablecie */
body#product .product-description { overflow-wrap: break-word; }
/* 1 */
body#product .product-description :is(p, ul, ol, li, dl, dt, dd, span, div, section, article, blockquote, center, label, figure, figcaption, address, td, th, strong, b, em, i, u, a, font, small) { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
body#product .product-description :is(p, li, span, div, strong, b, em, font):is([style*="background-color:transparent"], [style*="background-color: transparent"], [style*="background-color:#ffffff"], [style*="background-color: #ffffff"], [style*="background-color:#fff;"], [style*="background-color: rgb(255, 255, 255)"]) { background-color: transparent !important; }
body#product .product-description [style*="white-space"], body#product .product-description [style*="white-space"] * { white-space: normal !important; }
body#product .product-description :is(strong, b, [style*="font-weight:bold"], [style*="font-weight: bold"], [style*="font-weight:bolder"], [style*="font-weight:700"], [style*="font-weight: 700"]) { font-weight: 600 !important; }
/* 2 */
body#product .product-description :is(h1, h2, h3, h4, h5) { font-family: inherit !important; }
body#product .product-description :is(h1, h2) { font-size: 21px !important; line-height: 1.3 !important; font-weight: 700 !important; letter-spacing: 0 !important; margin: 1.5em 0 .5em !important; color: #1f2328 !important; text-align: left !important; }
body#product .product-description :is(h3, h4, h5) { font-size: 18px !important; line-height: 1.35 !important; font-weight: 600 !important; margin: 1.25em 0 .4em !important; color: #1f2328 !important; text-align: left !important; }
body#product .product-description :is(h1, h2, h3, h4, h5) :is(span, strong, b, font, [style*="font-weight"]) { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; font-family: inherit !important; }
body#product .product-description > :first-child, body#product .product-description > div:first-child > :first-child { margin-top: 0 !important; }
/* 3 */
body#product .product-description p { margin: 0 0 .6em !important; padding: 0 !important; }
body#product .product-description :is(ul, ol) { margin: 0 0 .9em !important; padding-left: 1.3em !important; }
body#product .product-description li { margin: 0 0 .3em !important; padding: 0 !important; }
/* 4 */
body#product .product-description :is(p, div, span, h1, h2, h3, h4):is([style*="text-align:center"], [style*="text-align: center"]):not(:has(img, iframe, video, table, picture)) { text-align: left !important; }
/* 5 */
body#product .product-description table:is([style*="width"], [width]) { width: 100% !important; }
body#product .product-description :is(td, th):is([style*="width"], [width]) { width: auto !important; }
body#product .product-description table { border-collapse: collapse !important; background: transparent !important; color: inherit !important; }
body#product .product-description :is(td, th) { padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid #e6eaf0 !important; font-size: 15px !important; line-height: 1.45 !important; vertical-align: top !important; text-align: left !important; }
body#product .product-description th { font-weight: 600 !important; color: #1f2328 !important; width: 45%; }
body#product .product-description tr:nth-child(even) > :is(td, th) { background: #f7f9fb !important; }
/* 6 */
body#product .product-description :is(p, li, td, th, a) { overflow-wrap: anywhere; }
/* 7 */
@media (min-width: 768px) and (max-width: 991.98px) {
  body#product .product-description :is(p, li, h1, h2, h3, h4):not(:has(img, table, iframe, video)) { max-width: 75ch; }
}
@media (max-width: 575.98px) {
  body#product .product-description :is(h1, h2) { font-size: 19px !important; }
  body#product .product-description :is(h3, h4, h5) { font-size: 17px !important; }
  body#product .product-description :is(td, th) { padding: 8px 8px !important; font-size: 14.5px !important; }
}
