﻿.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dim the background */
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it's above other content */
}

.cart-div {
    position: fixed;
    right: 0;
    top: 0;
    width: 20%;
    min-width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 20%;
    background-color: #fefaef;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Adds a shadow for better visibility */
    box-sizing: border-box; /* Ensures padding doesn't affect overall width */
    z-index: 1001; /* Ensures the popup is above other content */
}

.cart-checkout {
    position: absolute;
    bottom: 0px;
    padding: 5px;
    background-color: #e1ddd4;
}

.cart-contents {
    overflow-y: auto;
    overflow-x: clip;
    flex-grow: 1;
}

.cart-footer {
    padding: 5px;
    
}


.cart-accent {
    background-color: #c06e40;
    color: #fff;
}

.cart-accent .button {
    background-color: #34373c !important;
}
.cart-accent .button:hover {
    background-color: #191a1c !important;
}


.cart-item-row {
    border: solid 1px #c1c2bd;
    padding: 1rem 0;
    background-color: #e1ddd4;
    margin: 0.5rem .5rem 2rem .5rem;
    font-size: 0.875rem;


    
    border-radius: 3px;

}

.cart-item-row .price,
.cart-footer .price {
    font-size: 0.9rem;
    text-align: right;
    width: 100%;
}

.cart-item-row .close {
    float: right;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.cart-item-row ul li {
    margin: 0;
    font-size: 0.9rem;
}
