/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    border-top: 2px solid #77cbee;
    z-index: 10000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

#cookie-banner.hidden {
    display: none;
}

.cookie-content {
    flex: 1;
    min-width: 280px;
}

.cookie-content h3 {
    color: #77cbee;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-family: 'Doppio One', sans-serif;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-content a {
    color: #ffcc00;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #77cbee 0%, #5ab3d6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(119, 203, 238, 0.4);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(119, 203, 238, 0.6);
}

.cookie-btn-decline {
    background: #333;
    color: #fff;
    border: 1px solid #555;
}

.cookie-btn-decline:hover {
    background: #444;
    border-color: #666;
}

/* ===== DELIVERY INFO POPUP ===== */
#delivery-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #ffcc00;
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#delivery-popup.hidden {
    display: none;
}

#delivery-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

#delivery-popup-overlay.hidden {
    display: none;
}

.popup-icon {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: #ffcc00;
    text-align: center;
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-family: 'Doppio One', sans-serif;
}

.popup-content p {
    color: #ddd;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.popup-phone {
    background: #333;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
    border: 1px solid #77cbee;
}

.popup-phone a {
    color: #77cbee;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Doppio One', sans-serif;
    transition: color 0.3s ease;
}

.popup-phone a:hover {
    color: #ffcc00;
}

.popup-close-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #77cbee 0%, #5ab3d6 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(119, 203, 238, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.popup-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(119, 203, 238, 0.6);
}

/* ===== ANIMACJE ===== */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    #delivery-popup {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .popup-icon {
        font-size: 3rem;
    }
    
    .popup-content h3 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 1rem;
    }
    
    .popup-phone a {
        font-size: 1.3rem;
    }
}