.checkout_overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
}

.checkout_popup {
    background-color: white;
    width: 800px;
    min-height: 500px;
    border-radius: 12px;
    position: absolute;
    top: 40px;
    right: 20px;
    z-index: 999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checkout_popup .checkout_popup_title {
    font-size: 18px;
    text-align: center;
    background-color: #00800075;
    padding: 12px;
    border-radius: 4px;
    color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0px;
}

.checkStyle {
    background-color: green;
    color: white;
    padding: 8px;
    font-size: 12px;
    border-radius: 100%;
}

.cart_products {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 300px;
    overflow-y: scroll;
}

.cart_products .product {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.cart_products .product img {
    width: 15%;
    border-radius: 10px;
}

.cart_products .product .product_details {
    width: 85%;
}

.cart_products .product .product_details h2 {
    margin: 0px;
    font-size: 24px;
    margin-bottom: 8px;
}

.cart_products .product .product_details p {
    margin-top: 4px;
    margin-bottom: 0px;
}

.cart_products_btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cart_products_btns button {
    width: 100%;
    background-color: black;
    color: white;
    border: 0px;
    padding: 20px;
}

.cart_products_btns button::hover {
    filter: brightness(1.4);
}

.closeTimeBtn {
    font-size: 20px;
    margin-left: auto;
    cursor: pointer;
    background-color: red;
    color: white;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px;
}

.add_cart_text_header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.add_cart_text_header h2 {
    width: 100%;
    text-align: left;
}


@media(max-width: 600px) {
    .checkout_popup {
        width: 100%;
        right: 0;
        bottom: 0;
        top: auto;
    }

    .cart_products .product .product_details h2 {
        font-size: 18px;
    }

    .cart_products .product img {
        width: 20%;
    }
}