/* Cart Page Styles */
.cart-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
}

.cart-table {
    width: 100%;
    margin-bottom: 0;
}

.cart-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-top: none;
    border-bottom: 1px solid #dee2e6;
    padding: 12px;
}

.cart-table td {
    vertical-align: middle;
    padding: 20px 12px;
    border-bottom: 1px solid #dee2e6;
}

.cart-item-row {
    transition: all 0.3s ease;
}

.cart-item-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.cart-item-details {
    display: flex;
    align-items: center;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.cart-item-remove {
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 120px;
}

.quantity-selector .btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.quantity-selector input {
    text-align: center;
    width: 50px;
    height: 32px;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.cart-summary {
    position: sticky;
    top: 20px;
}

.cart-summary .card-header {
    padding: 15px 20px;
}

.cart-summary .card-body {
    padding: 20px;
}

.cart-summary hr {
    margin: 15px 0;
}

.coupon-form .input-group {
    margin-top: 10px;
}

.coupon-form .btn {
    padding-left: 20px;
    padding-right: 20px;
}

.cart-empty-row td {
    padding: 50px 0 !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .cart-item-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .cart-table thead {
        display: none;
    }
    
    .cart-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 10px;
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-bottom: none;
    }
    
    .cart-table td:before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 15px;
    }
    
    .cart-item-details {
        flex-direction: row;
        align-items: center;
    }
    
    .quantity-selector {
        margin-left: auto;
    }
}
/* Add to cart.css */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1e1e2c;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

.toast-info {
    background-color: #17a2b8;
}

/* Fix responsive table styles */
@media (max-width: 767.98px) {
    .cart-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 15px;
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }
}