/* Loovie Rent — Cart Dark Contrast V3.9, 2026-11-11
   Scope: dark theme only; cart page rental-terms readability and desktop cart navbar CTA.
   No JS, routing, price calculation, stock, dates, checkout or data mutation.
   Mobile navbar colors remain managed by the already-approved V3.6 guard.
*/

/* Rental information on /keranjang: old terms CSS had fixed dark-on-light ink. */
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms {
    background: #172435 !important;
    background-image: none !important;
    border: 1px solid #445c74 !important;
    color: #eaf1fb !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .16) !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms h2,
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms h3,
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms strong {
    color: #f1f4fa !important;
    -webkit-text-fill-color: #f1f4fa !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms .loovie-section-kicker {
    color: #f0c680 !important;
    -webkit-text-fill-color: #f0c680 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms-list,
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms-list li {
    color: #dce8f6 !important;
    -webkit-text-fill-color: #dce8f6 !important;
    opacity: 1 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms-list li::marker {
    color: #f0c680 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms-icon {
    background: #2f435a !important;
    color: #f5d599 !important;
    border: 1px solid #526982 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms .btn-loovie-outline {
    background: #1d3047 !important;
    color: #f7dfae !important;
    -webkit-text-fill-color: #f7dfae !important;
    border-color: #92764b !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms .btn-loovie-outline:is(:hover, :focus-visible) {
    background: #34465a !important;
    border-color: #f0c680 !important;
    color: #fff1c9 !important;
    -webkit-text-fill-color: #fff1c9 !important;
}
/* The category component can include small notes, links and informational alerts. */
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms :is(.small, .text-muted, .text-body-secondary) {
    color: #d0e1f2 !important;
    -webkit-text-fill-color: #d0e1f2 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms a:not(.btn) {
    color: #f1d69f !important;
    -webkit-text-fill-color: #f1d69f !important;
    text-underline-offset: 3px;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms .alert-info {
    background: #1a3a4c !important;
    border-color: #3b7185 !important;
    color: #d4eff8 !important;
}
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-heels-terms .alert-info strong {
    color: #effbff !important;
    -webkit-text-fill-color: #effbff !important;
}

/* Make summary/help copy and labels readable without changing totals/checkout. */
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-summary-card .text-muted,
html[data-bs-theme="dark"] body.loovie-cart-page-v39 main .loovie-cart-item .text-muted {
    color: #c5d5e6 !important;
    -webkit-text-fill-color: #c5d5e6 !important;
}

/* Public desktop navbar cart CTA, especially after an item has been added.
   Do not override V3.6 mobile inline-managed theme styles. */
@media (min-width: 992px) {
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link {
        background: #293b50 !important;
        background-image: none !important;
        border: 1px solid #aa8857 !important;
        color: #ffe3ac !important;
        -webkit-text-fill-color: #ffe3ac !important;
        text-shadow: none !important;
        opacity: 1 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .18) !important;
    }
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link.has-items,
    html[data-bs-theme="dark"] body.loovie-cart-page-v39 .loovie-navbar #publicNavbar a.loovie-cart-link {
        background: #344760 !important;
        border-color: #edbf71 !important;
        color: #ffe7b7 !important;
        -webkit-text-fill-color: #ffe7b7 !important;
    }
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link:is(:hover, :focus-visible) {
        background: #465872 !important;
        border-color: #ffdfa3 !important;
        color: #fff4d6 !important;
        -webkit-text-fill-color: #fff4d6 !important;
        box-shadow: 0 0 0 3px rgba(237, 191, 113, .2) !important;
    }
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link .loovie-cart-icon-wrapper,
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link .loovie-cart-icon-wrapper i {
        color: inherit !important;
        -webkit-text-fill-color: currentColor !important;
        opacity: 1 !important;
    }
    html[data-bs-theme="dark"] .loovie-navbar #publicNavbar a.loovie-cart-link .loovie-cart-badge {
        background: #bd3449 !important;
        border-color: #293b50 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}
