/* ==========================================================================
   ABM responsive hardening - pricing / checkout
   ========================================================================== */

.abm-checkout-grid,
.abm-checkout-shell .abm-hero-grid,
.abm-checkout-shell .abm-kpi-grid,
.abm-pricing-decision-strip,
.abm-pricing-chooser-grid,
.abm-plan-top,
.abm-price-row,
.abm-summary-line {
  min-width: 0;
  max-width: 100%;
}

.abm-price,
.abm-price-amount,
.abm-price-meta,
.abm-summary-line strong {
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .abm-checkout-grid,
  .abm-checkout-shell .abm-hero-grid,
  .abm-pricing-decision-strip {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767.98px) {
  .abm-checkout-shell .abm-card,
  .abm-pricing-card {
    border-radius: 20px;
  }

  .abm-checkout-shell .abm-btn,
  .abm-pricing-decision-actions .abm-btn {
    white-space: normal;
  }

  .abm-pricing-chooser-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .abm-price-row,
  .abm-summary-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .abm-checkout-shell .abm-card {
    border-radius: 18px;
  }
}
