/* ==========================================================================
   STILI BANNER COOKIE CONSENT GDPR - Sicily Palermo Tour
   ========================================================================== */

.cookie-banner-container {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 900px;
    background: rgba(11, 37, 69, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid #d97706;
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    opacity: 0;
}

.cookie-banner-container.show {
    bottom: 25px;
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text-box {
    flex: 1 1 450px;
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cookie-icon {
    font-size: 1.4rem;
}

.cookie-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.cookie-desc {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-link {
    color: #f59e0b;
    text-decoration: underline;
    font-weight: 700;
}

.cookie-link:hover {
    color: #fef08a;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cookie-necessary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-necessary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    border: none;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

@media (max-width: 640px) {
    .cookie-banner-container.show {
        bottom: 15px;
        width: 94%;
        padding: 16px 18px;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: space-between;
    }
    .btn-cookie-necessary,
    .btn-cookie-accept {
        flex: 1;
        text-align: center;
        padding: 11px 12px;
        font-size: 0.82rem;
    }
}
