@import url('https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css');

.cart-model {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 350px;
    background: #fff;
    padding: 20px;
}

.cart_header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid;
}

.cart_user {
    margin: 10px 0;

}

.cart_login {
    background-color: #000;
    color: #fff;
    padding: 5px;
    margin: 10px 0;
    text-decoration: none;
}

button#cart_close {
    background: #000;
    color: #fff;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

.cart_footer button {
    background: #000;
    color: #fff;
    width: 100%;
    height: 40px;
    border: none;
    margin: 15px 0;
    border-radius: 7px;
}

.sub_total {
    display: flex;
    justify-content: space-between;
}

.cart_details {
    width: 50%;
}

.cart_product .price {
    font-size: 13px;
    color: #000;
}

.cart_product {
    height: 300px;
    overflow: scroll;
}

.variant-btn {
    margin: 5px;
    padding: 8px 15px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.variant-btn.selected {
    background-color: #007bff;
    color: white;
}

.clear-variant-btn {
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
}

.cart-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid #eee;
    gap: 0;
}

.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cart-item-remove:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.cart-item-details {
    flex: 1;
    position: relative;
    padding-right: 35px; 
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}
    .header_top {
        background-color: #fcd7dd;
        color: #000;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 500;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
        perspective: 1000px;
    }

    .flip-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .flipper {
        position: absolute;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transition: transform 1s ease-in-out;
    }


    .message {
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Front and back */
    .front {
        transform: rotateX(0deg);
    }

    .back {
        transform: rotateX(180deg);
    }