/* Opisy KP — jednolity wyglad opisow produktu, kategorii i producenta niezaleznie od motywu.
   body#product podnosi specyficznosc ponad typowe style motywow; custom.css motywu (laduje sie pozniej) nadal moze to nadpisac. */

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description),
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) {
  line-height: 1.7;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) *,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) * {
  font-family: inherit;
}

/* Naglowki: h2 i h3 wygladaja tak samo — sekcje opisu sa na jednym poziomie */
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) h2,
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) h3,
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) h4 {
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
  margin: 1.8em 0 0.6em;
  padding: 0;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) > :first-child,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) > :first-child {
  margin-top: 0;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) > :last-child,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) > :last-child {
  margin-bottom: 0;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) p,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) p {
  margin: 0 0 1em;
}

/* Listy — czesc motywow zeruje list-style, przywracamy kropki */
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) ul,
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) ol,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) ul,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) ul {
  list-style: disc outside;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) ol {
  list-style: decimal outside;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) li,
:is(body#product [id^="product-description-short"], body#manufacturer #manufacturer-short_description) li {
  display: list-item;
  margin: 0 0 0.4em;
  padding: 0;
}

/* Tabela danych technicznych */
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) th,
:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) td {
  border: 1px solid #e5e5e5;
  padding: 0.55em 1em;
  text-align: left;
  vertical-align: top;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) th {
  background: #f7f7f7;
  font-weight: 600;
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) tr > td:first-child {
  color: #666;
}

@media (max-width: 575px) {
  :is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) table {
    display: block;
    overflow-x: auto;
  }
}

:is(body#product .product-description, body#category #category-description, body#manufacturer #manufacturer-description) img {
  max-width: 100%;
  height: auto;
}
