/**
 * villares_cookies.css — Pinturas Villares
 * Estilos del banner de cookies
 */

/* ── Banner principal ─────────────────────────────────────────────────────── */
.villares-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a1a;
    color: #f0f0f0;
    padding: 16px 20px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.villares-cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.villares-cookie-banner__text {
    flex: 1;
    min-width: 240px;
}

.villares-cookie-banner__text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #fff;
}

.villares-cookie-banner__text a {
    color: #f0c040;
    text-decoration: underline;
}

.villares-cookie-banner__text a:hover {
    color: #ffd966;
}

.villares-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Botones ──────────────────────────────────────────────────────────────── */
.villares-btn {
    display: inline-block;
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.villares-btn:active {
    transform: scale(0.97);
}

/* Aceptar: color de marca — ajusta el HEX a tu paleta */
.villares-btn--accept {
    background: #c8281e;   /* rojo Pinturas Villares */
    color: #fff;
}

.villares-btn--accept:hover {
    background: #a81f16;
}

/* Solo técnicas */
.villares-btn--reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.villares-btn--reject:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: #999;
}

/* ── Botón flotante de gestión ────────────────────────────────────────────── */
.villares-cookie-revoke {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 99998;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, background 0.2s;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.villares-cookie-revoke:hover {
    transform: scale(1.1);
    background: #333;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .villares-cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .villares-cookie-banner__actions {
        width: 100%;
    }

    .villares-btn {
        flex: 1;
        text-align: center;
    }
}
