/* Product pages: prevent imported and template size charts escaping their panels. */
body.single-product .llpp-product,
body.single-product .llpp-content,
body.single-product .llpp-description,
body.single-product .ll-product-details,
body.single-product .woocommerce-Tabs-panel {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.single-product .llpp-product table,
body.single-product .ll-product-details table,
body.single-product .woocommerce-Tabs-panel table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

body.single-product .llpp-product th,
body.single-product .llpp-product td,
body.single-product .ll-product-details th,
body.single-product .ll-product-details td,
body.single-product .woocommerce-Tabs-panel th,
body.single-product .woocommerce-Tabs-panel td {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* Collection pages: keep a deliberate visual break after every hero/header. */
body.ll-collection-page main.site-main > ul.products {
  margin-top: clamp(28px, 3vw, 44px) !important;
}

@media (max-width: 767px) {
  body.single-product .llpp-product table,
  body.single-product .ll-product-details table,
  body.single-product .woocommerce-Tabs-panel table {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  body.single-product .llpp-product th,
  body.single-product .llpp-product td,
  body.single-product .ll-product-details th,
  body.single-product .ll-product-details td,
  body.single-product .woocommerce-Tabs-panel th,
  body.single-product .woocommerce-Tabs-panel td {
    padding: 9px 5px !important;
  }

  body.ll-collection-page main.site-main > ul.products {
    margin-top: 24px !important;
  }
}
