
    :root {
        --hc-maroon: #850D10;
        --hc-maroon-dark: #630A0C;
        --hc-gold: #FFB900;
        --hc-gold-soft: #FFF4D6;
        --hc-border: #F0E2C0;
        --hc-text: #2B2B2B;
        --hc-shadow: 0 4px 14px rgba(133, 13, 16, .12);
    }

    /* ---------- Wrapper ---------- */
    .force-custom-cart {
        position: relative !important;
        display: inline-block !important;
        font-family: 'Poppins', sans-serif !important;
        box-sizing: border-box !important;
    }
    .force-custom-cart *, .force-custom-cart *::before, .force-custom-cart *::after { box-sizing: border-box !important; }
    .force-custom-cart.is-loading { opacity: .5 !important; pointer-events: none !important; }

    /* ---------- Cart icon ---------- */
    .force-custom-cart .cart-icon-link {
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid #f0e2c0 !important;
        text-decoration: none !important;
        transition: box-shadow .3s ease, border-color .3s ease !important;
    }
    .force-custom-cart .cart-icon-link:hover,
    .force-custom-cart .cart-icon-link:focus-visible {
        background: #fff !important;
        border: 1px solid var(--hc-gold) !important;
        box-shadow: var(--hc-shadow) !important;
    }
    .force-custom-cart .cart-icon { width: 30px !important; height: 30px !important; }

    .force-custom-cart .cart-count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 19px !important;
        height: 19px !important;
        padding: 0 3px !important;
        background: var(--hc-gold) !important;
        color: var(--hc-maroon) !important;
        border: 2px solid #fff !important;
        border-radius: 50% !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    /* ---------- Dropdown ---------- */
    .force-custom-cart .cart-dropdown {
        display: none !important;
        position: absolute !important;
        top: 52px !important;
        right: 0 !important;
        width: 340px !important;
        max-width: calc(100vw - 24px) !important;
        max-height: min(480px, calc(100vh - 90px)) !important;
        max-height: min(480px, calc(100dvh - 90px)) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #fff !important;
        border: 1px solid var(--hc-border) !important;
        border-top: 3px solid var(--hc-gold) !important;
        border-radius: 14px !important;
        padding: 16px !important;
        box-shadow: 0 15px 40px rgba(133, 13, 16, .18) !important;
        z-index: 999999 !important;
    }
    /* invisible bridge so hover isn't lost between icon and dropdown */
    .force-custom-cart .cart-dropdown::before {
        content: "" !important;
        position: absolute !important;
        top: -16px !important; left: 0 !important; right: 0 !important;
        height: 16px !important;
    }
    .force-custom-cart.is-open .cart-dropdown { display: block !important; }

    @media (hover: hover) and (min-width: 769px) {
        .force-custom-cart:hover .cart-dropdown { display: block !important; }
    }

    .force-custom-cart .cart-empty {
        margin: 0 !important;
        text-align: center !important;
        color: #666 !important;
        font-size: 14px !important;
    }

    /* ---------- Items ---------- */
    .force-custom-cart .cart-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 10px !important;
        margin-bottom: 8px !important;
        background: #fff !important;
        border: 1px solid transparent !important;
        border-bottom-color: #F2F2F2 !important;
        border-radius: 10px !important;
        transition: box-shadow .25s ease, border-color .25s ease !important;
    }
    .force-custom-cart .cart-item:hover {
        background: #fff !important;
        border: 1px solid var(--hc-gold) !important;
        box-shadow: var(--hc-shadow) !important;
    }
    .force-custom-cart .cart-item-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .force-custom-cart .cart-item-img { width: 50px !important; height: 50px !important; flex-shrink: 0 !important; }
    .force-custom-cart .cart-item-thumb,
    .force-custom-cart .cart-item-img img {
        width: 50px !important;
        height: 50px !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        display: block !important;
    }
    .force-custom-cart .cart-item-info { flex: 1 1 auto !important; min-width: 0 !important; }
    .force-custom-cart .cart-item-info h4 {
        margin: 0 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    .force-custom-cart .cart-item-info h4 a { color: var(--hc-maroon) !important; text-decoration: none !important; }
    .force-custom-cart .cart-item-info h4 a:hover { color: var(--hc-maroon-dark) !important; text-decoration: underline !important; }
    .force-custom-cart .cart-price {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: var(--hc-maroon) !important;
        margin-top: 4px !important;
    }

    /* ---------- Quantity controls ---------- */
    .force-custom-cart .cart-qty-controls {
        display: flex !important;
        align-items: center !important;
        height: 28px !important;
        flex-shrink: 0 !important;
        background: var(--hc-gold-soft) !important;
        border: 1px solid var(--hc-gold) !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }
    .force-custom-cart .cart-qty-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        color: var(--hc-maroon) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        transition: background .2s ease, color .2s ease !important;
    }
    .force-custom-cart .cart-qty-btn:hover,
    .force-custom-cart .cart-qty-btn:focus-visible {
        background: #fff !important;
        color: var(--hc-maroon) !important;
        box-shadow: inset 0 0 0 1px var(--hc-gold), 0 2px 6px rgba(133, 13, 16, .15) !important;
    }
    .force-custom-cart .cart-qty-num {
        display: inline-block !important;
        min-width: 22px !important;
        padding: 0 4px !important;
        text-align: center !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: var(--hc-maroon) !important;
    }

    /* ---------- Totals & buttons ---------- */
    .force-custom-cart .cart-divider {
        margin: 12px 0 !important;
        border: none !important;
        border-top: 1px solid var(--hc-border) !important;
    }
    .force-custom-cart .cart-subtotal {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 0 12px 0 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--hc-text) !important;
    }
    .force-custom-cart .cart-subtotal span:last-child { color: var(--hc-maroon) !important; }

    .force-custom-cart .cart-buttons { display: flex !important; flex-direction: column !important; gap: 8px !important; }
    .force-custom-cart .cart-buttons a {
        display: block !important;
        padding: 10px !important;
        border-radius: 8px !important;
        text-align: center !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    }
    .force-custom-cart .cart-buttons .view-cart {
        background: var(--hc-gold) !important;
        color: var(--hc-maroon) !important;
        border: 1px solid var(--hc-gold) !important;
    }
    .force-custom-cart .cart-buttons .checkout {
        background: var(--hc-maroon) !important;
        color: #fff !important;
        border: 1px solid var(--hc-maroon) !important;
    }
    /* Hover: white background + light shadow + 1px solid border */
    .force-custom-cart .cart-buttons .view-cart:hover {
        background: #fff !important;
        color: var(--hc-maroon) !important;
        border: 1px solid var(--hc-gold) !important;
        box-shadow: var(--hc-shadow) !important;
    }
    .force-custom-cart .cart-buttons .checkout:hover {
        background: #fff !important;
        color: var(--hc-maroon) !important;
        border: 1px solid var(--hc-maroon) !important;
        box-shadow: var(--hc-shadow) !important;
    }

    /* ---------- Responsive ---------- */
    /* Large tablets / small laptops */
    @media (max-width: 1024px) {
        .force-custom-cart .cart-dropdown { width: 320px !important; }
    }

    /* Tablets & phones: dropdown opens on tap */
    @media (max-width: 768px) {
        .force-custom-cart .cart-icon-link { width: 40px !important; height: 40px !important; }
        .force-custom-cart .cart-icon { width: 28px !important; height: 28px !important; }
        .force-custom-cart .cart-dropdown {
            width: 320px !important;
            top: 48px !important;
        }
    }

    /* Phones: full-width panel pinned under the header (top set by JS) */
    @media (max-width: 480px) {
        .force-custom-cart { position: static !important; }
        .force-custom-cart .cart-icon-link { position: relative !important; }
        .force-custom-cart .cart-dropdown {
            position: fixed !important;
            left: 12px !important;
            right: 12px !important;
            top: 64px !important;
            width: auto !important;
            max-width: none !important;
            max-height: calc(100vh - 80px) !important;
            max-height: calc(100dvh - 80px) !important;
            padding: 14px !important;
        }
        .force-custom-cart .cart-qty-btn { width: 30px !important; height: 30px !important; }
        .force-custom-cart .cart-qty-controls { height: 32px !important; }
        .force-custom-cart .cart-buttons a { padding: 12px !important; }
    }

    /* Very small phones */
    @media (max-width: 360px) {
        .force-custom-cart .cart-dropdown { left: 8px !important; right: 8px !important; padding: 12px !important; }
        .force-custom-cart .cart-item { padding: 8px 6px !important; gap: 6px !important; }
        .force-custom-cart .cart-item-img,
        .force-custom-cart .cart-item-thumb,
        .force-custom-cart .cart-item-img img { width: 42px !important; height: 42px !important; }
        .force-custom-cart .cart-item-info h4 { font-size: 12px !important; }
        .force-custom-cart .cart-price { font-size: 12px !important; }
    }

    /* Landscape phones / short screens */
    @media (max-height: 500px) {
        .force-custom-cart .cart-dropdown { max-height: calc(100vh - 70px) !important; }
    }

    /* Large screens */
    @media (min-width: 1600px) {
        .force-custom-cart .cart-dropdown { width: 360px !important; }
    }
    