/* Cart Page Styles */
.cart-section {
    padding: 100px 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 50px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image img {
    width: 100%;
    border-radius: 5px;
}

.item-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.item-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-item:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.cart-summary {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.checkout-btn {
    width: 100%;
    text-align: center;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--success-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
}