/* LIOVELA B2C V73 - mobile description guard
 * Modyfikator stworzony przez gumis
 * Cel: stabilizacja opisów produktu/CMS na mobile bez ruszania headera, koszyka, checkoutu i JS.
 */
@media (max-width: 767px) {
  body#product,
  body.product,
  body.page-product,
  body#product main,
  body#product #wrapper,
  body#product #content,
  body#product .container,
  body#product .product-container,
  body#product .product-page,
  body#product .product-information,
  body#product .product-description,
  body#product .product-short-description,
  body#product [id^="product-description-short"],
  body#product .moved-description-under-photo,
  body#product .moved-tab,
  body#product .tabs,
  body#product .tab-content,
  body#product .tab-pane,
  body#product .product-details,
  body#product .js-product-details,
  body#product .cms-description,
  body#product .rte,
  body#product .page-content,
  body#product .product-features,
  body#product .product-features dl,
  body#product .product-features .data-sheet,
  .page-product .product-information,
  .page-product .product-description,
  .page-product .product-short-description,
  .page-product [id^="product-description-short"],
  .page-product .moved-description-under-photo,
  .page-product .moved-tab,
  .page-product .tabs,
  .page-product .tab-content,
  .page-product .tab-pane,
  .page-product .rte {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
  }

  body#product .product-description *,
  body#product .product-short-description *,
  body#product [id^="product-description-short"] *,
  body#product .moved-description-under-photo *,
  body#product .moved-tab *,
  body#product .tab-content *,
  body#product .tab-pane *,
  body#product .rte *,
  .page-product .product-description *,
  .page-product .product-short-description *,
  .page-product [id^="product-description-short"] *,
  .page-product .moved-description-under-photo *,
  .page-product .moved-tab *,
  .page-product .tab-content *,
  .page-product .tab-pane *,
  .page-product .rte * {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body#product .product-description p,
  body#product .product-short-description p,
  body#product .moved-description-under-photo p,
  body#product .tab-content p,
  body#product .rte p,
  .page-product .product-description p,
  .page-product .product-short-description p,
  .page-product .moved-description-under-photo p,
  .page-product .tab-content p,
  .page-product .rte p {
    margin: 0 0 12px !important;
    line-height: 1.55 !important;
  }

  body#product .product-description ul,
  body#product .product-description ol,
  body#product .product-short-description ul,
  body#product .product-short-description ol,
  body#product .moved-description-under-photo ul,
  body#product .moved-description-under-photo ol,
  body#product .tab-content ul,
  body#product .tab-content ol,
  .page-product .product-description ul,
  .page-product .product-description ol,
  .page-product .product-short-description ul,
  .page-product .product-short-description ol,
  .page-product .moved-description-under-photo ul,
  .page-product .moved-description-under-photo ol,
  .page-product .tab-content ul,
  .page-product .tab-content ol {
    padding-left: 20px !important;
    margin-left: 0 !important;
  }

  body#product .product-description img,
  body#product .product-description picture,
  body#product .product-short-description img,
  body#product .moved-description-under-photo img,
  body#product .tab-content img,
  body#product .rte img,
  .page-product .product-description img,
  .page-product .product-description picture,
  .page-product .product-short-description img,
  .page-product .moved-description-under-photo img,
  .page-product .tab-content img,
  .page-product .rte img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }

  body#product .product-description table,
  body#product .product-short-description table,
  body#product .moved-description-under-photo table,
  body#product .tab-content table,
  body#product .rte table,
  .page-product .product-description table,
  .page-product .product-short-description table,
  .page-product .moved-description-under-photo table,
  .page-product .tab-content table,
  .page-product .rte table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: normal !important;
    border-collapse: collapse !important;
  }

  body#product .product-description th,
  body#product .product-description td,
  body#product .product-short-description th,
  body#product .product-short-description td,
  body#product .moved-description-under-photo th,
  body#product .moved-description-under-photo td,
  body#product .tab-content th,
  body#product .tab-content td,
  body#product .rte th,
  body#product .rte td,
  .page-product .product-description th,
  .page-product .product-description td,
  .page-product .product-short-description th,
  .page-product .product-short-description td,
  .page-product .moved-description-under-photo th,
  .page-product .moved-description-under-photo td,
  .page-product .tab-content th,
  .page-product .tab-content td,
  .page-product .rte th,
  .page-product .rte td {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body#product .product-description iframe,
  body#product .product-description video,
  body#product .product-short-description iframe,
  body#product .moved-description-under-photo iframe,
  body#product .tab-content iframe,
  body#product .rte iframe,
  .page-product .product-description iframe,
  .page-product .product-description video,
  .page-product .product-short-description iframe,
  .page-product .moved-description-under-photo iframe,
  .page-product .tab-content iframe,
  .page-product .rte iframe {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  body#product .product-description [style*="width"],
  body#product .product-short-description [style*="width"],
  body#product .moved-description-under-photo [style*="width"],
  body#product .tab-content [style*="width"],
  body#product .rte [style*="width"],
  .page-product .product-description [style*="width"],
  .page-product .product-short-description [style*="width"],
  .page-product .moved-description-under-photo [style*="width"],
  .page-product .tab-content [style*="width"],
  .page-product .rte [style*="width"] {
    max-width: 100% !important;
  }

  body#product .moved-description-under-photo,
  body#product .moved-tab,
  .page-product .moved-description-under-photo,
  .page-product .moved-tab {
    margin: 18px 0 12px !important;
    padding: 14px 12px !important;
    border-radius: 10px !important;
    background: #fff !important;
  }

  body#product .moved-description-under-photo h1,
  body#product .moved-description-under-photo h2,
  body#product .moved-description-under-photo h3,
  body#product .moved-description-under-photo h4,
  body#product .product-description h1,
  body#product .product-description h2,
  body#product .product-description h3,
  body#product .product-description h4,
  .page-product .moved-description-under-photo h1,
  .page-product .moved-description-under-photo h2,
  .page-product .moved-description-under-photo h3,
  .page-product .moved-description-under-photo h4,
  .page-product .product-description h1,
  .page-product .product-description h2,
  .page-product .product-description h3,
  .page-product .product-description h4 {
    line-height: 1.25 !important;
    margin-top: 0 !important;
    overflow-wrap: anywhere !important;
  }

  body#product .product-description .collapse,
  body#product .product-description .tab-pane,
  body#product .tab-content .collapse,
  .page-product .product-description .collapse,
  .page-product .product-description .tab-pane,
  .page-product .tab-content .collapse {
    max-height: none !important;
  }
}