.rbl-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999990;
    font-family: inherit;
}

.rbl-cookie-banner[hidden] { display: none; }

.rbl-cookie-banner__franja {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: #fff;
    border-top: 1px solid rgba(18, 140, 74, .25);
    box-shadow: 0 -6px 24px rgba(15, 82, 47, .12);
}

.rbl-cookie-banner__mensaje {
    flex: 1 1 320px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2a2a2a;
}

.rbl-cookie-banner__mensaje a {
    color: #128c4a;
    text-decoration: underline;
    white-space: nowrap;
}

.rbl-cookie-banner__botones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.rbl-cookie-banner__btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.rbl-cookie-banner__btn--primario {
    border: 1px solid #128c4a;
    background: #128c4a;
    color: #fff;
}
.rbl-cookie-banner__btn--primario:hover { background: #0f7a41; border-color: #0f7a41; }

.rbl-cookie-banner__btn--ghost {
    border: 1px solid rgba(18, 140, 74, .35);
    background: #fff;
    color: #128c4a;
}
.rbl-cookie-banner__btn--ghost:hover { background: rgba(18, 140, 74, .08); }

.rbl-cookie-banner__panel {
    position: absolute;
    right: 24px;
    bottom: calc(100% + 16px);
    max-width: 520px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(18, 140, 74, .25);
    border-radius: 12px;
    box-shadow: 0 -6px 24px rgba(15, 82, 47, .12);
}

.rbl-cookie-banner__panel[hidden] { display: none; }

.rbl-cookie-banner__categoria { padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.rbl-cookie-banner__categoria:last-of-type { border-bottom: none; }

.rbl-cookie-banner__categoria p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.rbl-cookie-banner__interruptor {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 14px;
    color: #2a2a2a;
}
.rbl-cookie-banner__interruptor input[type="checkbox"] { margin: 0; width: 16px; height: 16px; accent-color: #128c4a; }

.rbl-cookie-banner__panel-acciones {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 640px) {
    .rbl-cookie-banner__franja { padding: 16px; }
    .rbl-cookie-banner__botones { width: 100%; }
    .rbl-cookie-banner__btn { flex: 1 1 auto; text-align: center; }
    .rbl-cookie-banner__panel { left: 16px; right: 16px; bottom: calc(100% + 12px); max-width: none; }
}
