/* Add this to assets/css/cart-styles.css */
.cart-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 350px;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
}

.cart-items {
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    background: #f0f0f0;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-price button {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 18px;
    cursor: pointer;
}

.cart-total {
    font-weight: bold;
    margin: 15px 0;
    text-align: right;
}

.checkout-btn {
    width: 100%;
    padding: 10px;
    background: rgb(70, 238, 185);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.checkout-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}
.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.close-btn:hover {
    color: red;
}
