/* Cookie consent banner — public site */

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1200;
    max-width: 34rem;
    margin-inline: auto;
    padding: 0;
    border: 1px solid rgba(197, 164, 89, 0.35);
    border-radius: 14px;
    background: #0b1420;
    color: #f7f5f2;
    box-shadow: 0 18px 40px rgba(9, 17, 26, 0.35);
}

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

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem 1.2rem 1.2rem;
}

.cookie-banner__title {
    margin: 0 0 0.4rem;
    color: #c5a459;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cookie-banner__text {
    margin: 0;
    color: rgba(247, 245, 242, 0.88);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #c5a459;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

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

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-banner__link {
    color: rgba(247, 245, 242, 0.8);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.cookie-banner__link:hover {
    color: #c5a459;
}

.cookie-banner__accept {
    appearance: none;
    min-height: 2.6rem;
    padding: 0.55rem 1.15rem;
    border: 0;
    border-radius: 9px;
    background: #c5a459;
    color: #0b1420;
    cursor: pointer;
    font: 700 0.9rem/1 "DM Sans", system-ui, sans-serif;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__accept:hover {
    background: #ad8d45;
    transform: translateY(-1px);
}

.cookie-banner__accept:focus-visible {
    outline: 3px solid rgba(197, 164, 89, 0.4);
    outline-offset: 2px;
}

@media (min-width: 720px) {
    .cookie-banner {
        right: 1.5rem;
        bottom: 1.5rem;
        left: auto;
        width: min(26rem, calc(100vw - 3rem));
        margin-inline: 0;
    }
}
