/* Fast-BGP order flow. Inherits WHMCS standard_cart business logic. */
#order-standard_cart {
    --fastbgp-cart-navy: #071526;
    --fastbgp-cart-blue: #226cff;
    --fastbgp-cart-lime: #72ff22;
    --fastbgp-cart-ink: #101c2c;
    --fastbgp-cart-muted: #66758a;
    --fastbgp-cart-line: #e1e9f2;
    color: var(--fastbgp-cart-ink);
    font-family: inherit;
}

#order-standard_cart a[href*="domain=register"],
#order-standard_cart a[href*="domain=transfer"],
#order-standard_cart a[href*="domain-renewals"],
#order-standard_cart option[value*="domain=register"],
#order-standard_cart option[value*="domain=transfer"] {
    display: none !important;
}

#order-standard_cart .cart-sidebar,
#order-standard_cart .categories-collapsed {
    border-radius: 14px;
}

#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .panel,
#order-standard_cart .product,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary,
#order-standard_cart .sub-heading,
#order-standard_cart .field-container {
    border-color: var(--fastbgp-cart-line);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(30, 58, 88, .05);
}

#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .panel-heading {
    border-color: var(--fastbgp-cart-line);
    color: var(--fastbgp-cart-ink);
    background: #f7f9fc;
    font-size: 13px;
    font-weight: 800;
}

#order-standard_cart .list-group-item,
#order-standard_cart .panel-sidebar a.list-group-item {
    border-color: #edf1f5;
    color: #4c5d71;
    background: #fff;
    font-size: 12px;
}

#order-standard_cart .panel-sidebar a.list-group-item:hover,
#order-standard_cart .panel-sidebar a.list-group-item.active {
    color: var(--fastbgp-cart-blue);
    background: #f1f6ff;
}

#order-standard_cart .products .product,
#order-standard_cart .product-info,
#order-standard_cart .product-configurable-options,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary {
    overflow: hidden;
    border: 1px solid var(--fastbgp-cart-line);
    background: #fff;
}

#order-standard_cart .products .product header,
#order-standard_cart .product-info header,
#order-standard_cart .view-cart-items-header {
    color: #fff;
    background: linear-gradient(125deg, #071526, #0d2945);
}

#order-standard_cart .products .product .product-desc,
#order-standard_cart .products .product .product-pricing,
#order-standard_cart .product-info p,
#order-standard_cart .order-summary .summary-container {
    color: var(--fastbgp-cart-muted);
    font-size: 12px;
    line-height: 1.65;
}

#order-standard_cart .products .product .btn-success,
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart #btnCompleteOrder,
#order-standard_cart #checkout,
#order-standard_cart .btn-checkout {
    border-color: var(--fastbgp-cart-blue) !important;
    border-radius: 9px;
    color: #fff !important;
    background: var(--fastbgp-cart-blue) !important;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
}

#order-standard_cart .btn-default,
#order-standard_cart .btn-secondary {
    border: 1px solid #d7e1ec;
    border-radius: 9px;
    color: #536477;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

#order-standard_cart .form-control,
#order-standard_cart .custom-select,
#order-standard_cart select,
#order-standard_cart input[type="text"],
#order-standard_cart input[type="email"],
#order-standard_cart input[type="password"] {
    min-height: 40px;
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: var(--fastbgp-cart-ink);
    background-color: #fbfcfe;
    font-size: 12px;
    box-shadow: none;
}

#order-standard_cart .form-control:focus,
#order-standard_cart select:focus,
#order-standard_cart input:focus {
    border-color: #8fb4ff;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(34, 108, 255, .1);
}

#order-standard_cart .order-summary h2,
#order-standard_cart .sub-heading span,
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3 {
    color: var(--fastbgp-cart-ink);
    font-weight: 800;
}

#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .summary-totals .total-due-today {
    color: var(--fastbgp-cart-blue);
}

#order-standard_cart .alert {
    border: 0;
    border-radius: 10px;
    font-size: 12px;
}

#order-standard_cart .progress-bar {
    background: linear-gradient(90deg, var(--fastbgp-cart-blue), #56a4ff);
}

#order-standard_cart .checkout-security-msg {
    color: #607187;
    background: #f5f8fc;
}

@media (max-width: 767px) {
    #order-standard_cart .products .product,
    #order-standard_cart .view-cart-items,
    #order-standard_cart .order-summary { border-radius: 12px; }
    #order-standard_cart .btn { min-height: 40px; }
}

.fastbgp-cart-empty {
    max-width: 1050px;
    margin: 10px auto 36px;
    padding: 48px;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
    background: radial-gradient(circle at 92% 8%, rgba(100,255,28,.11), transparent 26%), #fff;
    box-shadow: 0 14px 40px rgba(30,58,88,.07);
}
.fastbgp-cart-kicker { color: #226cff; font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.fastbgp-cart-empty h1 { margin: 12px 0 14px; color: #101b2b; font-size: 31px; font-weight: 900; letter-spacing: -.045em; }
.fastbgp-cart-empty > p { max-width: 770px; color: #647489; font-size: 13px; line-height: 1.85; }
.fastbgp-cart-empty-actions { display: flex; gap: 10px; margin-top: 24px; }
.fastbgp-cart-empty-actions .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 17px; }
.fastbgp-cart-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 35px; }
.fastbgp-cart-process > div { padding: 18px; border: 1px solid #e4ebf2; border-radius: 12px; background: #f8fafc; }
.fastbgp-cart-process b { display: block; margin-bottom: 12px; color: #226cff; font-size: 10px; letter-spacing: .08em; }
.fastbgp-cart-process strong { display: block; margin-bottom: 5px; color: #17263a; font-size: 13px; }
.fastbgp-cart-process span { color: #77869a; font-size: 10px; line-height: 1.6; }
@media (max-width: 767px) {
    .fastbgp-cart-empty { margin: 0; padding: 28px 22px; }
    .fastbgp-cart-empty h1 { font-size: 25px; }
    .fastbgp-cart-empty-actions { flex-direction: column; }
    .fastbgp-cart-empty-actions .btn { justify-content: center; }
    .fastbgp-cart-process { grid-template-columns: 1fr 1fr; }
}
