/* Dark cart cleanup: keep green for intentional headers and CTAs, not thin dividers. */
html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .card-sidebar::before,
html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar::before,
html:not([data-theme="light"]) #order-standard_cart .sidebar-collapsed .card-sidebar::before,
html:not([data-theme="light"]) #order-standard_cart .sidebar-collapsed .panel-sidebar::before {
    display: none !important;
}

html:not([data-theme="light"]) #order-standard_cart .sub-heading {
    border-top-color: rgba(148, 163, 184, 0.16) !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
}

html:not([data-theme="light"]) #order-standard_cart .order-summary .subtotal,
html:not([data-theme="light"]) #order-standard_cart .order-summary .summary-totals,
html:not([data-theme="light"]) #order-standard_cart .order-summary .bordered-totals {
    border-color: rgba(148, 163, 184, 0.16) !important;
}

html:not([data-theme="light"]) body.page-viewcart #order-standard_cart .header-lined h1,
html:not([data-theme="light"]) body.page-checkout #order-standard_cart .header-lined h1 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
}

html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header {
    padding: 0 0 10px !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header > h3,
html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header .panel-title,
html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header .card-title {
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #e9eef7 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header .card-minimise,
html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar > .card-header .panel-minimise {
    margin-left: auto !important;
    float: none !important;
    font-size: 11px !important;
}

html:not([data-theme="light"]) #order-standard_cart .cart-sidebar .panel-sidebar .list-group-item {
    padding: 12px 14px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item {
    padding: 14px 16px !important;
    font-size: 13px !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item-title {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #f3f7fb !important;
    overflow-wrap: anywhere !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item-group,
html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item-domain,
html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item small,
html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item small * {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item-price span {
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
}

html:not([data-theme="light"]) #order-standard_cart .view-cart-items .item-price .cycle,
html:not([data-theme="light"]) #order-standard_cart .view-cart-items .renewal-price {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
}
