/* Cart Notification Styles */

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 20px;
    width: 380px;
    max-width: calc(100% - 40px);
    z-index: 9999;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification .close-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 20px;
    height: 20px;
}

.cart-notification .close-notification:hover {
    color: #333;
}

.notification-content {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.notification-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
}

.notification-message {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.notification-actions {
    display: flex;
    gap: 10px;
}

.notification-actions .btn {
    flex: 1;
    font-size: 12px;
    padding: 10px 15px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
}

.notification-actions .btn-outline {
    background: #fff;
    border: 2px solid #333;
    color: #333;
}

.notification-actions .btn-outline:hover {
    background: #333;
    color: #fff;
}

.notification-actions .btn-dark {
    background: #333;
    color: #fff;
}

.notification-actions .btn-dark:hover {
    background: #000;
}

/* Mobile responsive */
@media (max-width: 575px) {
    .cart-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .notification-actions {
        flex-direction: column;
    }
    
    .notification-actions .btn {
        width: 100%;
    }
}

/* Cart overlay */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

/* Cart dropdown enhancements */
.dropdown-cart.show {
    display: block;
}

.dropdown-cart .dropdown-menu {
    display: block;
}

.dropdown-cart .btn-remove-cart {
    cursor: pointer;
}

.dropdown-cart .btn-remove-cart:hover {
    color: #c00;
}
