body {
    width: 100vw;
}

.cartItems {
    color: black;
    padding: 5px;
}

.emptyCart {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #D4AF37;
    padding: 25px;
}

.product {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin: 0;
    gap: 5px;
    background-color: white;
    border-bottom: 2px solid #D4AF37;
}

.productImage {
    height: 150px;
    width: 40%;
    max-width: 300px;
    border-radius: 15px;
}

.productDetails {
    width: 45%;
    font-size: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 3px;
}

.productInfo {
    font-weight: 400;
}

.productPrice {
    font-weight: 800;
}

.productButton {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.productTotal {
    color: rgb(88, 85, 85);
    align-self: center;
    font-size: 18px;
}

.total {
    color: rgb(23, 23, 112);
    font-weight: 700;
    font-size: 20px;
}

.removeItem {
    height: 30px;
    width: 50px;
    padding: 5px;
    font-size: 20px;
    color: red;
    border: 2px solid #D4AF37;
    background-color: white;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;

}

.removeItem:active {
    color: #D4AF37;
    border: 3px solid red;
}

.cartTotal {
    padding: 20px;
    width: 100%;
    background-color: rgba(226, 222, 222, 0.36);
}

.cartTotal h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: rgb(23, 23, 112);
}

.subTotal {
    color: rgb(23, 23, 112);
    font-size: 27px;
    font-weight: 600;
    position: relative;
    margin-bottom: 10px;
}

.totalPrice {
    position: absolute;
    right: 5px;
    color: rgb(23, 23, 112);
    font-size: 30px;
    margin-bottom: 10px;
}

.note {
    color: gray;
    font-size: 20px;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 10px;
    background-color: rgba(226, 222, 222, 0.36);
}

form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

label {
    font-size: 18px;
    margin-left: 10px;
    color: rgb(23, 23, 112);
}

.input {
    padding: 10px 15px;
    margin: 10px;
    border-radius: 15px;
    border: 2px solid #D4AF37;
    font-size: 20px;
}

#orderNow {
    width: 300px;
    text-align: center;
    background-color: rgb(23, 23, 112);
    color: white;
    border: 2px solid rgb(23, 23, 112);
    padding: 10px;
    border-radius: 15px;
    font-size: 20px;
    margin: auto;
    cursor: pointer;
}

#orderNow:active {
    border: 2px solid rgb(23, 23, 112);
    background-color: white;
    color: rgb(23, 23, 112);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: red;
    font-size: 40px;
    font-weight: 800;
    cursor: pointer;
}

.alertBox {
    display: flex;
    border: 2px solid rgb(116, 85, 1);
    background-color: white;
    position: fixed;
    top: 5px;
    right: 10px;
    max-width: 300px;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 20px;
    z-index: 9;
}