/* Only the full description tab. Keep gallery, quotation forms and related cards independent. */
body.single-product #main .woocommerce-tabs #tab-description {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 0 0;
  color: #2d4058;
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: break-word;
}
body.single-product #main .woocommerce-tabs #tab-description :where(p,h2,h3,h4,ul,ol,blockquote) {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
body.single-product #main .woocommerce-tabs #tab-description p { margin-bottom: 24px; }
body.single-product #main .woocommerce-tabs #tab-description h2 {
  margin-top: 42px;
  margin-bottom: 20px;
  color: #17325f;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -.02em;
}
body.single-product #main .woocommerce-tabs #tab-description h2:first-child { margin-top: 10px; }
body.single-product #main .woocommerce-tabs #tab-description h3 {
  margin-top: 30px;
  margin-bottom: 16px;
  color: #17325f;
  font-size: 24px;
  line-height: 1.45;
}
body.single-product #main .woocommerce-tabs #tab-description :where(ul,ol) { padding-left: 1.4em; margin-bottom: 24px; }
body.single-product #main .woocommerce-tabs #tab-description li { margin-bottom: 10px; }
/* Overrides older exact-product 480px rules; keep source proportions and responsive fit. */
body.single-product #main .woocommerce-tabs #tab-description figure.wp-block-image,
body.single-product #main .woocommerce-tabs #tab-description .wp-caption {
  box-sizing: border-box;
  display: block;
  float: none;
  width: 100% !important;
  max-width: 1040px !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 32px auto 36px !important;
}
body.single-product #main .woocommerce-tabs #tab-description img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border-radius: 14px;
}
body.single-product #main .woocommerce-tabs #tab-description :where(figcaption,.wp-caption-text) {
  margin: 12px 0 0;
  padding: 0;
  color: #617186;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}
body.single-product #main .woocommerce-tabs #tab-description table {
  width: 100%;
  table-layout: fixed;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.single-product #main .woocommerce-tabs #tab-description :where(th,td) { padding: 14px 16px; vertical-align: top; font-size: inherit; line-height: inherit; }
@media (max-width: 800px) {
  body.single-product #main .woocommerce-tabs { padding-left: 0; padding-right: 0; }
  body.single-product #main .woocommerce-tabs .tabs.small-nav-collapse {
    display: flex;
    flex-flow: row nowrap;
    gap: 18px;
    overflow-x: auto;
    margin-bottom: 20px;
  }
  body.single-product #main .woocommerce-tabs .tabs.small-nav-collapse > li { flex: 0 0 auto; width: auto; }
  body.single-product #main .woocommerce-tabs .tabs.small-nav-collapse > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    white-space: nowrap;
  }
  body.single-product #main .woocommerce-tabs #tab-description { font-size: 17px; line-height: 1.8; padding-top: 6px; }
  body.single-product #main .woocommerce-tabs #tab-description h2 { font-size: 25px; margin-top: 32px; margin-bottom: 16px; }
  body.single-product #main .woocommerce-tabs #tab-description h3 { font-size: 21px; margin-top: 26px; }
  body.single-product #main .woocommerce-tabs #tab-description p { margin-bottom: 22px; }
  body.single-product #main .woocommerce-tabs #tab-description figure.wp-block-image,
  body.single-product #main .woocommerce-tabs #tab-description .wp-caption { margin: 26px auto 30px !important; }
  body.single-product #main .woocommerce-tabs #tab-description img { border-radius: 10px; }
  body.single-product #main .woocommerce-tabs #tab-description table { font-size: 15px; }
  body.single-product #main .woocommerce-tabs #tab-description :where(th,td) { padding: 12px 10px; }
}
