
/* Cookie Banner Styles - RIVET CASA */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(26, 37, 48, 0.98); /* Colore footer con opacità */
    color: #ffffff;
    padding: 25px 0;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-top: 2px solid var(--accent-color, #eb2023);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-text {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-text a {
    color: var(--accent-color, #eb2023);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-accept {
    background-color: var(--accent-color, #eb2023);
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #c41a1d;
    transform: translateY(-2px);
}

.btn-decline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-essential {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-essential:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 992px) {
    .cookie-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cookie-text {
        margin-bottom: 0;
        padding-right: 40px;
        max-width: 65%;
    }
}
