/* Opisy KP — jednolity wyglad opisow produktu niezaleznie od motywu.
   body#product podnosi specyficznosc ponad typowe style motywow; custom.css motywu (laduje sie pozniej) nadal moze to nadpisac. */

body#product .product-description,
body#product [id^="product-description-short"] {
  line-height: 1.7;
}

body#product .product-description *,
body#product [id^="product-description-short"] * {
  font-family: inherit;
}

/* Naglowki: h2 i h3 wygladaja tak samo — sekcje opisu sa na jednym poziomie */
body#product .product-description h2,
body#product .product-description h3,
body#product .product-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;
}

body#product .product-description > :first-child,
body#product [id^="product-description-short"] > :first-child {
  margin-top: 0;
}

body#product .product-description > :last-child,
body#product [id^="product-description-short"] > :last-child {
  margin-bottom: 0;
}

body#product .product-description p,
body#product [id^="product-description-short"] p {
  margin: 0 0 1em;
}

/* Listy — czesc motywow zeruje list-style, przywracamy kropki */
body#product .product-description ul,
body#product .product-description ol,
body#product [id^="product-description-short"] ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

body#product .product-description ul,
body#product [id^="product-description-short"] ul {
  list-style: disc outside;
}

body#product .product-description ol {
  list-style: decimal outside;
}

body#product .product-description li,
body#product [id^="product-description-short"] li {
  display: list-item;
  margin: 0 0 0.4em;
  padding: 0;
}

/* Tabela danych technicznych */
body#product .product-description table {
  width: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
}

body#product .product-description th,
body#product .product-description td {
  border: 1px solid #e5e5e5;
  padding: 0.55em 1em;
  text-align: left;
  vertical-align: top;
}

body#product .product-description th {
  background: #f7f7f7;
  font-weight: 600;
}

body#product .product-description tr > td:first-child {
  color: #666;
}

@media (max-width: 575px) {
  body#product .product-description table {
    display: block;
    overflow-x: auto;
  }
}

body#product .product-description img {
  max-width: 100%;
  height: auto;
}
