.custom-cart-box {
    border: 1px solid #ccc;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    max-width: 300px;
    font-family: sans-serif;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.clear-cart {
    color: #aa0000;
    text-decoration: none;
    font-weight: bold;
}

.cart-item {
    margin-bottom: 8px;
}

.item-line {
    font-size: 15px;
    margin-bottom: 2px;
}

.remove-link {
    font-size: 13px;
    color: #0073aa;
    text-decoration: underline;
}

.cart-totals {
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    font-size: 15px;
}

.checkout-button {
    display: block;
    text-align: center;
    background: #80ae41;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

a.checkout-button:hover {
    color: black;
}

.astra-shop-summary-wrap a.ast-loop-product__link {
    pointer-events: none;
}

/* Mobile bar + slide panel hidden by default */
.mobile-cart-bar, .cart-slide-panel {
    display: none;
}

/* Desktop only box stays as is */
.desktop-cart-view {
    display: block;
}

button#toggle-cart-slide {
    padding: 10px;
    margin-left: 20px;
    background: white;
    color: black !important;
}

.mobile-cart-bar {
    display: flex;
    align-items: center;
    background: #80ae41;
    color: white;
    padding: 5px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    left: 0;
    justify-content: center;
    transform: translateY(0);
    will-change: transform;
    backface-visibility: hidden;
}

.mobile-cart-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-cart-actions button,
.mobile-cart-actions .checkout-btn-inline {
    background: white;
    color: #080808;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none !important;
}

td.product-name {
    display: contents !important;
}

.addon-list {
    font-size: 13px;
}

/* Inside Quick View*/

h2.quickview-title {
    margin-bottom: 0px !important;
    font-size: 22px;
}

.woocommerce-product-details__short-description p {
    margin-bottom: 5px;
}

.pizza-addons h3 {
    font-size: 20px;
}

p.pizza-addon-counter {
    margin-bottom: 0px !important;
}

.quickview-body-scrollable {
    padding-bottom: 0px;
}

.quickview-footer {
    padding: 0px;
}

button.mfp-close {
    opacity: 1;
    color: white !important;
}

/* Mobile styles */
@media screen and (max-width: 600px) {
    .desktop-cart-view {
        display: none;
    }

    .mobile-cart-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background-color: #80ae41;
        color: white;
        font-size: 15px;
        z-index: 9998;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    }

    .mobile-cart-bar button {
        background: white;
        color: #080808;
        font-weight: bold;
        padding: 10px 12px;
        border: none;
        border-radius: 5px;
    }

    .cart-slide-panel {
        display: block;
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        height: 85vh;
        background: #fff;
        z-index: 9999;
        transition: bottom 0.3s ease-in-out;
        padding: 16px;
        overflow-y: auto;
        border-radius: 14px 14px 0 0;
        border: 1px solid #80ae41;
    }

    .cart-slide-panel.active {
        bottom: 0;
    }

    .cart-slide-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .cart-slide-header button {
        background: #000000;
        border: none;
        padding: 6px 10px;
        border-radius: 5px;
    }
}

