/* Cart Alert - Modern Minimalist Design */

.cart-alert-wrapper {
    margin: 25px 0;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-color); /* Solid color bez gradientu */
    border-radius: 12px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cart-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.cart-alert:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.cart-alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: rgba(255, 255, 255, 0.15);*/
    border-radius: 50%;
    color: var(--icon-color);
    animation: pulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.9;
    }
}

.cart-alert-icon svg {
    width: 22px;
    height: 22px;
}

.cart-alert-content {
    flex: 1;
}

.cart-alert-line1 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    color: var(--text-line1-color);
}

.cart-alert-line2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-line2-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-alert {
        padding: 14px 18px;
        gap: 12px;
    }
    
    .cart-alert-icon {
        width: 36px;
        height: 36px;
    }
    
    .cart-alert-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-alert-line1 {
        font-size: 14px;
    }
    
    .cart-alert-count {
        font-size: 16px;
    }
    
    .cart-alert-line2 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cart-alert-wrapper {
        margin: 15px 0;
    }
    
    .cart-alert {
        padding: 12px 16px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .cart-alert-icon {
        width: 32px;
        height: 32px;
    }
    
    .cart-alert-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .cart-alert-line1 {
        font-size: 13px;
    }
    
    .cart-alert-count {
        font-size: 15px;
    }
    
    .cart-alert-line2 {
        font-size: 11px;
    }
}

/* Print */
@media print {
    .cart-alert-wrapper {
        display: none !important;
    }
}
