/* CONTENEDOR PRINCIPAL */
.aviso-cookies {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 700px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 18px 22px;

    z-index: 99999; /* 🔥 MÁS ALTO */
    
    border-left: 5px solid #B78D65;
    animation: aparecerCookies 0.5s ease;
}

/* CONTENIDO FLEX */
.contenido-cookies {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ICONO */
.icono img {
    width: 45px;
}

/* TEXTO */
.texto {
    flex: 1;
    min-width: 0;
}

.texto h3 {
    margin: 0;
    font-size: 17px;
    color: #222;
    font-weight: 600;
}

.texto p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.texto a {
    font-size: 13px;
    color: #B78D65;
    text-decoration: none;
    font-weight: 500;
}

.texto a:hover {
    text-decoration: underline;
}

/* ACCIONES */
.acciones {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

/* BOTONES */
.btn {
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-weight: 500;
}

/* ACEPTAR */
.btn.aceptar {
    background: #B78D65;
    color: #fff;
}

.btn.aceptar:hover {
    background: #a67c52;
}

/* RECHAZAR */
.btn.rechazar {
    background: transparent;
    border: 1px solid #ccc;
    color: #444;
}

.btn.rechazar:hover {
    background: #f5f5f5;
}

/* ANIMACIÓN */
@keyframes aparecerCookies {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* 📱 RESPONSIVE MÓVIL */
@media (max-width: 600px) {

    .aviso-cookies {
        width: 90%;
        max-width: 90%;
        padding: 14px;
    }

    .contenido-cookies {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .texto {
        width: 100%;
    }

    .acciones {
        width: 100%;
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .btn {
        flex: 1;
        padding: 10px;
    }
}
#aviso-cookies,
#aviso-cookies * {
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}