/* PERF-CLS (F8) — rasid-perf-batch-a.php v1.6.0-prod (PRODUCTION)
   Pre-clamp for server-classified long product short descriptions (.rch-preclamp,
   added by single-product.php when stripped text >= 700 chars).
   Mirrors commerce-overrides.css .has-overflow clamp + fade values EXACTLY, but applies
   from first paint — before the theme JS adds .has-overflow — so the purchase-card
   height is final immediately and the centered gallery image no longer jumps.
   The theme JS still owns state: it detects overflow via scrollHeight (unaffected by
   this clamp), unhides/manages the toggle, and .is-expanded removes the clamp. */
.rch-template .rch-product-page .rch-short-description.rch-preclamp:not(.is-expanded) .rch-short-description__content {
  max-height: calc(1.9em * 7) !important;
  overflow: hidden !important;
}
.rch-template .rch-product-page .rch-short-description.rch-preclamp:not(.is-expanded)::after {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  right: 0 !important;
  bottom: 40px !important;
  left: 0 !important;
  height: 72px !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 86%) !important;
}
