/* TURBOHOST v4.27 — native cart items integrated into account order summary.
 * Same approved blue gradient; all amounts rendered by WHMCS. */
body.th48-checkout .th-whmcs-wizard.th427-redirecting {
  opacity: .85;
}
body.th48-checkout .th-whmcs-wizard .th-checkout-summary.th427-ready {
  background: linear-gradient(180deg,#173aa8 0%,#1d43b7 100%) !important;
  border:1px solid rgba(123,161,255,.2) !important;
  border-radius:30px !important;
  overflow:hidden;
}
body.th48-checkout .th-whmcs-wizard .th-checkout-summary.th427-ready > h2,
body.th48-checkout .th-whmcs-wizard .th-checkout-summary.th427-ready > .th46-summary-body {
  background:transparent !important;
}
body.th48-checkout .th-whmcs-wizard .th427-order-items {margin:0 0 14px;color:#fff}
body.th48-checkout .th-whmcs-wizard .th427-order-items h3 {
  margin:0 0 12px;font:600 14px/1.4 TH-Poppins,Poppins,sans-serif;color:#fff;
}
body.th48-checkout .th-whmcs-wizard .th427-items-scroll {
  display:flex;flex-direction:column;gap:0;max-height:min(45vh,430px);
  overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:rgba(199,223,255,.5) transparent;
}
body.th48-checkout .th-whmcs-wizard .th427-item {
  border-bottom:1px solid rgba(216,233,255,.19);
  padding:10px 0 11px;min-width:0;
}
body.th48-checkout .th-whmcs-wizard .th427-item-head {
  display:flex;align-items:start;justify-content:space-between;gap:8px;
}
body.th48-checkout .th-whmcs-wizard .th427-item-name {
  display:block;min-width:0;font-size:12px;line-height:1.45;font-weight:650;
  color:#fff;overflow-wrap:anywhere;
}
body.th48-checkout .th-whmcs-wizard .th427-item-meta {
  display:block;color:rgba(255,255,255,.78);
  font:400 10px/1.55 TH-Inter,Inter,sans-serif;overflow-wrap:anywhere;margin:3px 0;
}
body.th48-checkout .th-whmcs-wizard .th427-item-footer {
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:11px;color:rgba(255,255,255,.85);margin-top:3px;
}
body.th48-checkout .th-whmcs-wizard .th427-item-footer strong {font-size:13px;color:#fff}
body.th48-checkout .th-whmcs-wizard .th427-remove {
  flex:none;display:grid;place-items:center;min-width:26px;height:26px;
  padding:0;border-radius:30px;border:1px solid rgba(231,241,255,.25);
  background:rgba(6,30,76,.18);color:#fff;font:500 20px/1 TH-Inter,Inter,sans-serif;
  cursor:pointer;transition:background-color .16s ease,border-color .16s ease;
}
body.th48-checkout .th-whmcs-wizard .th427-remove:is(:hover,:focus-visible) {
  background:#1062FE;color:#fff;border-color:rgba(255,255,255,.65);
}
body.th48-checkout .th-whmcs-wizard .th427-edit,
body.th48-checkout .th-whmcs-wizard .th427-review-link {
  display:inline-block;color:#d7eaff;text-decoration:underline;
  font-size:10px;margin-top:5px;
}
body.th48-checkout .th-whmcs-wizard .th427-review-link {margin-top:16px}
body.th48-checkout .th-whmcs-wizard .th427-edit:is(:hover,:focus-visible),
body.th48-checkout .th-whmcs-wizard .th427-review-link:is(:hover,:focus-visible) {
  color:#fff;text-decoration:none;
}
body.th48-checkout .th-whmcs-wizard .th427-totals {padding:12px 0;margin-top:12px;border-bottom:1px solid rgba(255,255,255,.3)}
body.th48-checkout .th-whmcs-wizard .th427-total-row {
  display:flex;justify-content:space-between;gap:10px;
  font-size:11px;line-height:1.5;margin:4px 0;color:#fff;
}
body.th48-checkout .th-whmcs-wizard .th427-total-row span:last-child {text-align:right;font-weight:600}
body.th48-checkout .th-whmcs-wizard .th-checkout-summary.th427-ready .th46-summary-price {
  color:#fff;overflow-wrap:anywhere;
}
body.th48-checkout .th-whmcs-wizard .th427-note {
  font-size:10px;color:rgba(255,255,255,.76);line-height:1.5;
}
@media (max-width:920px) {
  body.th48-checkout .th-whmcs-wizard .th427-items-scroll {max-height:400px}
}


/* v4.27.1: Native WHMCS viewcart uses #orderSummary.order-summary as a single
 * element, whereas configureproduct uses #orderSummary > .order-summary.
 * Support both without modifying any sums, inputs or payment controls. */
body.th48-checkout .th-whmcs-wizard.th-checkout-v46
#order-standard_cart .secondary-cart-sidebar #orderSummary.order-summary {
  background: linear-gradient(180deg,#173aa8 0%,#1d43b7 100%) !important;
  border: 1px solid rgba(123,161,255,.2) !important;
  border-radius: 30px !important;
  color: #fff !important;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04),0 18px 40px rgba(0,0,0,.22);
}
body.th48-checkout .th-whmcs-wizard.th-checkout-v46
#order-standard_cart .secondary-cart-sidebar #orderSummary.order-summary > h2,
body.th48-checkout .th-whmcs-wizard.th-checkout-v46
#order-standard_cart .secondary-cart-sidebar #orderSummary.order-summary > .summary-container {
  background: transparent !important;
  background-image: none !important;
  color: #fff !important;
}
