.aviso-cookies-site[hidden] {
    display: none;
}

.aviso-cookies-site {
    position: fixed;
    z-index: 50;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f8bf03;
    background: #171717;
    color: #fff;
}

.aviso-cookies-site p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.4;
}

.acoes-aviso-cookies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.acoes-aviso-cookies button {
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid #f8bf03;
    border-radius: 6px;
    background: transparent;
    color: #f8bf03;
    font: inherit;
    cursor: pointer;
}

.acoes-aviso-cookies button:hover,
.acoes-aviso-cookies button:focus-visible {
    background: #f8bf03;
    color: #111;
}

.link-detalhes-cookies {
    padding: 0;
    border: 0;
    background: none;
    color: #f8bf03;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.popup-cookies-site {
    width: min(680px, calc(100% - 28px));
    max-height: min(82vh, 760px);
    padding: 0;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    color: #222;
    box-shadow: 0 18px 60px #0005;
}

.popup-cookies-site::backdrop {
    background: #0009;
}

.conteudo-popup-cookies {
    padding: 22px 24px;
    overflow-y: auto;
    font-size: .95rem;
    line-height: 1.55;
}

.cabecalho-popup-cookies {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cabecalho-popup-cookies h2 {
    margin: 0;
    font-size: 1.35rem;
}

.conteudo-popup-cookies h3 {
    margin: 20px 0 6px;
    font-size: 1.05rem;
}

.conteudo-popup-cookies p {
    margin: 8px 0;
}

.conteudo-popup-cookies a {
    color: #6b5100;
    overflow-wrap: anywhere;
}

.fechar-popup-cookies {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: #eee;
    color: #222;
    font-size: 1.5rem;
    cursor: pointer;
}

.acoes-popup-cookies {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.acoes-popup-cookies button {
    min-height: 40px;
    padding: 6px 16px;
    border: 1px solid #c79a00;
    border-radius: 6px;
    background: #f8bf03;
    color: #171717;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 600px) {
    .conteudo-popup-cookies {
        padding: 18px 16px;
    }

}
