/* Cart Menu Styling */
.cart-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    padding: 20px;
}

/* Cart Menu Open State */
.cart-menu.open {
    right: 0;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #d44a89;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Close Cart Button */
.close-cart {
    font-size: 24px;
    cursor: pointer;
}

/* Cart Items Container */
#cart-items {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

/* Cart Item Image */
.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

/* Cart Item Text */
.cart-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Cart Footer */
.cart-footer {
    padding: 10px 15px; /* Reduced padding to bring the total closer to the gray background */
    text-align: center;
    background: #f8f8f8;
    font-size: 16px;
    font-weight: bold;
}

/* Total Styling */
.cart-footer p {
    margin-bottom: 10px;
    font-size: 20px; /* Increased font size for the total */
}

/* Checkout Button */
#checkout {
    width: 100%;
    padding: 10px;
    background: #d44a89;
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

#checkout:hover {
    background: #b13a6f;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.cart-overlay.visible {
    visibility: visible;
    opacity: 1;
}

/* Quantity and Remove Item Container */
.quantity-remove-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Quantity Controls */
.quantity-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-decrease,
.quantity-increase {
    background: #d44a89;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.quantity-decrease:hover,
.quantity-increase:hover {
    background: #b13a6f;
}

/* Quantity Input Field */
.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 16px;
}

/* Remove Item Button - Added padding */
.remove-item {
    background: #d44a89;
    color: white;
    border: none;
    padding: 8px 15px; /* Increased padding */
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.remove-item:hover {
    background: #b13a6f;
}
.cart-footer p {
    color: #000 !important;
    font-weight: 600;
}
#cart-items > p {
    color: #000 !important;
}
