/* ===== FINAL OVERRIDES — Loads LAST via {assetExists} in header.tpl ===== */

/* Product list feature checkmarks — kill gray squares */
#order-standard_cart .products .product div.product-desc ul li::before,
body #order-standard_cart .products .product div.product-desc ul li::before,
body #order-standard_cart .products#products .product div.product-desc ul li::before,
body #order-standard_cart .products .row.row-eq-height .product div.product-desc ul li::before,
form#frmConfigureProduct .product-info ul li::before {
    content: '\2713' !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    background: none !important;
    color: #01aa5d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Product list items */
#order-standard_cart .products .product div.product-desc ul li,
body #order-standard_cart .products .product div.product-desc ul li,
form#frmConfigureProduct .product-info ul li {
    padding: 8px 0 8px 24px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    list-style-type: none !important;
    border-bottom: 1px solid #f5f6f8 !important;
    font-size: 13px !important;
    color: #5a6d8a !important;
}
#order-standard_cart .products .product div.product-desc ul li:last-child {
    border-bottom: none !important;
}
#order-standard_cart .products .product div.product-desc ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Product card layout */
body #order-standard_cart .products#products .product,
body #order-standard_cart .products .row.row-eq-height .product {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* Product header */
body #order-standard_cart .products .product header,
body #order-standard_cart .products .row.row-eq-height .product header {
    background: linear-gradient(135deg, #f8faff, #f0f4fa) !important;
    padding: 20px 24px !important;
    margin: 0 !important;
    border-bottom: 1px solid #edf0f5 !important;
}
body #order-standard_cart .products .product header span {
    color: #0f1d36 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Product desc */
body #order-standard_cart .products .product div.product-desc,
body #order-standard_cart .products#products .product div.product-desc,
body #order-standard_cart .products .row.row-eq-height .product div.product-desc {
    float: none !important;
    width: 100% !important;
    padding: 20px 24px !important;
    font-size: 14px !important;
    flex: 1 !important;
    border-top: none !important;
}

/* Product footer */
body #order-standard_cart .products .product footer,
body #order-standard_cart .products .row.row-eq-height .product footer {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 24px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border-top: 1px solid #f0f2f6 !important;
}

/* Price */
body #order-standard_cart .products#products .product div.product-pricing span.price,
body #order-standard_cart .products .row.row-eq-height .product div.product-pricing span.price {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f1d36 !important;
    position: static !important;
    float: none !important;
    display: inline !important;
    width: auto !important;
    top: auto !important;
    margin: 0 4px 0 0 !important;
    line-height: 1.2 !important;
}
body #order-standard_cart .products#products .product div.product-pricing {
    display: block !important;
    margin-bottom: 0 !important;
}

/* Order button */
body #order-standard_cart .products .btn-success,
body #order-standard_cart .products .product footer a.btn,
#order-standard_cart .products .form-inline .btn-success {
    background: linear-gradient(135deg, #004fac, #0066d6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 2px 10px rgba(0,79,172,.2) !important;
    width: auto !important;
}
body #order-standard_cart .products .btn-success:hover,
body #order-standard_cart .products .product:hover .btn-success,
body #order-standard_cart .products .product:hover .form-inline .btn-success,
body #order-standard_cart .products #product0:hover button.btn.btn-success {
    background: linear-gradient(135deg, #003d87, #004fac) !important;
    color: #fff !important;
    border: none !important;
    border-color: transparent !important;
}

/* =============================================
   ORDER SUMMARY — Final overrides
   ============================================= */
#order-standard_cart .order-summary,
#order-standard_cart #scrollingPanelContainer .order-summary,
body #order-standard_cart .order-summary {
    background: #fff !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.05) !important;
    border-bottom: 1px solid #edf0f5 !important;
    border-top: 1px solid #edf0f5 !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
}
#order-standard_cart .order-summary h2,
#order-standard_cart #scrollingPanelContainer .order-summary h2,
body #order-standard_cart .order-summary h2 {
    background: #0f1d36 !important;
    color: #fff !important;
    text-align: left !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 18px 24px !important;
    margin: 0 !important;
    border-bottom: none !important;
    letter-spacing: .3px !important;
}
#order-standard_cart .summary-container,
#order-standard_cart #scrollingPanelContainer .summary-container,
body #order-standard_cart .summary-container {
    background: #fff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-height: auto !important;
    font-size: 14px !important;
}
#order-standard_cart #scrollingPanelContainer .order-summary .product-name {
    padding: 0 !important;
}

/* Config & checkout buttons */
body #order-standard_cart #frmConfigureProduct #scrollingPanelContainer #orderSummary button#btnCompleteProductConfig,
#order-standard_cart #scrollingPanelContainer .order-summary .btn-checkout {
    background: linear-gradient(135deg, #004fac, #0066d6) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
}
body #order-standard_cart #frmConfigureProduct #scrollingPanelContainer #orderSummary button#btnCompleteProductConfig:hover,
#order-standard_cart #scrollingPanelContainer .order-summary .btn-checkout:hover {
    background: linear-gradient(135deg, #003d87, #004fac) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Config product info box */
body #order-standard_cart #frmConfigureProduct .product-info,
#order-standard_cart .product-info {
    background: linear-gradient(135deg, #f8faff, #eef3fb) !important;
    border: 1px solid #dce6f5 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    font-size: 14px !important;
}
body #order-standard_cart #frmConfigureProduct .product-info ul li::before,
form#frmConfigureProduct .product-info ul li::before {
    content: '\2713' !important;
    background: none !important;
    background-color: transparent !important;
    color: #01aa5d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    width: auto !important;
    height: auto !important;
}

/* =============================================
   ADDON PANELS — Full-width stacked layout
   ============================================= */
#order-standard_cart .addon-products .col-sm-6,
#order-standard_cart #productAddonsContainer .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
#order-standard_cart .panel-addon {
    border: 1px solid #edf0f5 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    text-align: left !important;
    font-size: 14px !important;
}
#order-standard_cart .panel-addon .panel-body {
    flex: 1 !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    border-radius: 0 !important;
}
#order-standard_cart .panel-addon .panel-body label {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f1d36 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}
#order-standard_cart .panel-addon .panel-body br { display: none !important; }
#order-standard_cart .panel-addon .panel-price {
    display: flex !important;
    align-items: center !important;
    padding: 20px 24px !important;
    background: #f8faff !important;
    font-weight: 700 !important;
    color: #0f1d36 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    border-left: 1px solid #edf0f5 !important;
}
#order-standard_cart .panel-addon .panel-add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 24px !important;
    background: linear-gradient(135deg, #1bc577, #15a865) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    border-radius: 0 !important;
    min-width: 130px !important;
}
#order-standard_cart .panel-addon .panel-add:hover { opacity: .9 !important; }
#order-standard_cart .panel-addon-selected {
    border-color: #004fac !important;
    box-shadow: 0 0 0 2px #004fac !important;
}
#order-standard_cart .panel-addon-selected .panel-price {
    background: #004fac !important;
    color: #fff !important;
}
#order-standard_cart .panel-addon-selected .panel-add {
    background: #ffeef0 !important;
    color: #e74c3c !important;
}
