/* ParsAbr order form: standard_cart in the ParsAbr design (loaded by the parsabr theme head.tpl).
   Colours come from the theme tokens; this file only fixes standard_cart's hard-coded light surfaces.
   The order summary already follows the page via standard_cart's #scrollingPanelContainer script. */

#order-standard_cart { color: var(--text); }
#order-standard_cart .sub-heading { border-top-color: var(--line) !important; }
#order-standard_cart .sub-heading span, #order-standard_cart .primary-bg-color {
  background: var(--paper) !important; color: var(--text-2) !important; padding: 0 .75rem; font-weight: 500;
}
#order-standard_cart .header-lined h1 { color: var(--strong); }
#order-standard_cart .header-lined p { color: var(--text-2); }

/* Product and summary panels */
#order-standard_cart .product-info, #order-standard_cart .field-container,
#order-standard_cart .order-summary, #order-standard_cart .summary-container,
#order-standard_cart .view-cart-items, #order-standard_cart .products .product,
#order-standard_cart .domain-checker-container, #order-standard_cart .already-registered {
  background: var(--white) !important; color: var(--text) !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow-card);
}
#order-standard_cart .order-summary h2, #order-standard_cart .order-summary .product-name { color: var(--strong) !important; }
#order-standard_cart .order-summary .summary-totals, #order-standard_cart .order-summary .bordered-totals { border-color: var(--line) !important; }
#order-standard_cart .total-due-today .amt { color: var(--strong) !important; font-weight: 600; }
#order-standard_cart .view-cart-items-header { background: var(--chip-bg) !important; color: var(--text-2) !important; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
#order-standard_cart .view-cart-items .item { background: var(--white) !important; color: var(--text) !important; border-color: var(--line) !important; }
#order-standard_cart .view-cart-items .item .item-group, #order-standard_cart .view-cart-items .item .item-domain { color: var(--text-2) !important; }
#order-standard_cart .nav-tabs .nav-link.active { background: var(--white) !important; color: var(--strong) !important; border-color: var(--line) var(--line) transparent !important; }
#order-standard_cart .view-cart-items .item-title, #order-standard_cart .products .product header { color: var(--strong) !important; }
#order-standard_cart .products .product header { background: transparent !important; border-bottom: 1px solid var(--line); }
#order-standard_cart .products .product header span { color: var(--strong) !important; }
#order-standard_cart .products .product header .qty { color: var(--text-muted) !important; }
#order-standard_cart .products .product div.product-pricing span.price { color: var(--strong) !important; }
/* description full width with the price and order button under it: Nexus does this, WHMCS 8's twenty-one
   floats them side by side (60/40) and the 220px button then overlaps the description */
body #order-standard_cart .products .product div.product-desc, body #order-standard_cart .products .product footer { float: none; width: 100%; } /* body: standard_cart.css loads after this file */
body #order-standard_cart .products .product footer .btn-order-now { display: flex; align-items: center; justify-content: center; gap: .5rem; width: fit-content; min-width: 220px; margin: 1rem auto 0; padding: .8rem 2rem; font-size: 1rem; font-weight: 600; }
#order-standard_cart .btn-checkout, #order-standard_cart #btnCompleteProductConfig, #order-standard_cart #btnCompleteOrder {
  background: var(--btn-grad) !important; color: var(--btn-fg) !important; border: 0 !important; box-shadow: var(--btn-glow);
}
#order-standard_cart .empty-cart .btn, #order-standard_cart .btn-continue-shopping { color: var(--text-2) !important; }

/* Configurable options sliders and radio tiles */
#order-standard_cart .irs-line, #order-standard_cart .irs--flat .irs-line { background: var(--chip-bg); }
#order-standard_cart .irs-bar, #order-standard_cart .irs--flat .irs-bar,
#order-standard_cart .irs-single, #order-standard_cart .irs--flat .irs-single { background: var(--strong); color: var(--btn-fg); }
#order-standard_cart .payment-methods .radio-inline, #order-standard_cart .account-select-container .account {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text);
}
#order-standard_cart .account-select-container .account.active { border-color: var(--strong); }

/* Product spec cards are styled in assets/parsabr-compat.css (.pa-card). */
