/* BEGIN SOURCE /assets/sarmad-v99-home-discount-card-button-fix.css sha256=7499cb57889ceb8c987960544d269a23f4f0548c5693bfaeee990b94a6527c49 */

/*
 * SARMAD V99 — unresolved V94/V96 home discounted-card fix, consolidated.
 * Scope is deliberately limited to HOME product cards that contain the existing V62 discount row.
 * No /products, product-details, cart, admin, backend, currency, payment, or order styling is changed here.
 */
.home-code-artboard .home-product-body:has(> .sarmad-v62-discount-row) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}
.home-code-artboard .home-product-body:has(> .sarmad-v62-discount-row)
  > :not(strong):not(button):not(.sarmad-v62-discount-row):first-child {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  margin-bottom: 6px !important;
}
.home-code-artboard .home-product-body:has(> .sarmad-v62-discount-row) > strong {
  position: static !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}
.home-code-artboard .home-product-body:has(> .sarmad-v62-discount-row) > .sarmad-v62-discount-row {
  position: static !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  max-width: 100% !important;
}
.home-code-artboard .home-product-body:has(> .sarmad-v62-discount-row) > .sarmad-v62-discount-row + button {
  position: static !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}


/* END SOURCE /assets/sarmad-v99-home-discount-card-button-fix.css */
