/* Dreminex single product full description scroll panel, 2026-10-08 */
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description {
  box-sizing: border-box;
  max-height: var(--dreminex-desc-desktop,400px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px;
  border: 1px solid #DEE2E6;
  border-radius: 8px;
  background: #FFFFFF;
  scrollbar-width: thin;
  scrollbar-color: var(--dreminex-design-accent, #00B4D7) #F8F9FA;
}
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description::-webkit-scrollbar { width: 8px; }
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description::-webkit-scrollbar-track { background: #F8F9FA; }
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description::-webkit-scrollbar-thumb { background: var(--dreminex-design-accent, #00B4D7); border-radius: 8px; }
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description > :first-child { margin-top: 0; }
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description > :last-child { margin-bottom: 0; }
/* Product data often arrives inside extra editor divs. Let a three-column size
   chart fill the card; scroll genuinely wide charts inside their own wrapper. */
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description div:has(> table) {
  box-sizing: border-box; width: 100%; max-width: 100%; overflow-x: auto;
}
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description table {
  display: table !important; width: 100% !important; max-width: 100%;
  margin: 12px 0 18px; border-collapse: collapse; table-layout: auto;
}
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description :is(th,td) {
  box-sizing: border-box; padding: 8px 10px !important; line-height: 1.35;
  text-align: left; overflow-wrap: normal; word-break: normal;
}
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description :is(h2,h3) {
  max-width: 100%; overflow-wrap: break-word; line-height: 1.3;
  font-size: clamp(18px, 1.5vw, 21px) !important;
  font-weight: 600; margin: 0 0 12px;
}
body.single-product .woocommerce-Tabs-panel--description :is(h2,h3) {
  font-size: clamp(18px, 1.5vw, 21px) !important;
  line-height: 1.3; overflow-wrap: break-word;
}
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description h4 {
  font-size: clamp(16px, 1.3vw, 18px) !important; line-height: 1.35;
}
@media (max-width: 1024px) {
  body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description { max-height: var(--dreminex-desc-tablet,340px); }
}
@media (max-width: 767px) {
  body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description { max-height: var(--dreminex-desc-mobile,300px); padding: 14px; }
  body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description :is(th,td) { padding: 7px 6px !important; font-size: .92em; }
}


/* Dreminex Quick View short description card, 2026-10-08 */
.rtsb-ui-modal .rtsb-modal-wrapper.quick-view-modal .summary .woocommerce-product-details__short-description {
  box-sizing: border-box;
  width: 100%;
  max-height: none;
  overflow: visible;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #DEE2E6;
  border-radius: 8px;
  background: #F8F9FA;
  color: #212529;
  overflow-wrap: break-word;
}
.rtsb-ui-modal .rtsb-modal-wrapper.quick-view-modal .summary .woocommerce-product-details__short-description p {
  margin: 0 0 12px;
}
.rtsb-ui-modal .rtsb-modal-wrapper.quick-view-modal .summary .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .rtsb-ui-modal .rtsb-modal-wrapper.quick-view-modal .summary .woocommerce-product-details__short-description {
    padding: 14px;
    margin: 16px 0;
  }
}



/* Compact description title; the product page H1 remains the primary title. */
body.single-product .elementor-widget-rtsb-product-description .woocommerce_product_description > h3:first-child,
body.single-product .woocommerce-Tabs-panel--description > h3:first-child {
  font-size: clamp(18px, 1.5vw, 21px) !important;
  line-height: 1.35; margin: 0 0 12px; font-weight: 600;
}
.dreminex-size-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.dreminex-size-table-wrap table{min-width:520px}
