/* Discount badge + price layout — moboniaz2026 */

/* Stable height — prevent layout jump when variation price updates */
.single-product-view-wrapper .woocommerce-variation-price {
  min-height: 58px;
}

.single-product-view-wrapper .woocommerce-variation-price .price,
.single-product-view-wrapper .simple-product-price-wrapper .price {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.single-product-view-wrapper .variations_form .single_variation {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Original price — smaller & lighter */
.single-product-view-wrapper .simple-product-price-wrapper .price > del bdi,
.single-product-view-wrapper .woocommerce-variation-price .price > del bdi,
.single-product-view-wrapper .simple-product-price-wrapper .price > del .woocommerce-Price-amount,
.single-product-view-wrapper .woocommerce-variation-price .price > del .woocommerce-Price-amount {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #a1a1aa !important;
}

.single-product-view-wrapper .simple-product-price-wrapper .price > del,
.single-product-view-wrapper .woocommerce-variation-price .price > del {
  opacity: 0.9;
  text-decoration-thickness: 1px;
  text-decoration-color: #c4c4c4;
}

.single-product-view-wrapper .simple-product-price-wrapper .price > del bdi,
.single-product-view-wrapper .woocommerce-variation-price .price > del bdi {
  text-decoration-thickness: 1px;
  text-decoration-color: #c4c4c4;
}

/* Sale row: RTL → discount | price | ریال */
.single-product-view-wrapper .mn2026-price-sale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
  direction: rtl;
}

.single-product-view-wrapper .mn2026-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eb5757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.single-product-view-wrapper .mn2026-price-sale > .woocommerce-Price-amount {
  display: inline-flex;
  align-items: center;
}

.single-product-view-wrapper .mn2026-price-sale > .woocommerce-Price-amount bdi {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  font-weight: 700;
  font-size: 25px;
  color: #000;
}

.single-product-view-wrapper .mn2026-price-currency {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
}

.single-product-view-wrapper .mn2026-price-currency .woocommerce-Price-currencySymbol {
  padding: 0 !important;
}
