.analytics-consent__panel {
    position: fixed;
    z-index: 10000;
    right: 24px;
    bottom: 24px;
    width: min(560px, calc(100vw - 32px));
    border: 1px solid rgba(24, 45, 39, .18);
    border-radius: 14px;
    background: #fffdf7;
    box-shadow: 0 20px 60px rgba(21, 36, 31, .22);
    color: #182d27;
    padding: 22px;
}

.analytics-consent__panel[hidden] {
    display: none;
}

.analytics-consent__copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.15;
}

.analytics-consent__copy p {
    margin: 10px 0 8px;
    color: #53615c;
    font-size: 15px;
    line-height: 1.5;
}

.analytics-consent__copy a {
    color: #8d5c1d;
    font-size: 14px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.analytics-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.analytics-consent__button {
    min-height: 42px;
    border: 1px solid #c48222;
    border-radius: 999px;
    cursor: pointer;
    font: 800 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 0 18px;
}

.analytics-consent__button--primary {
    background: #d99024;
    color: #ffffff;
}

.analytics-consent__button--secondary {
    background: #ffffff;
    color: #6d4b1d;
}

.analytics-consent__button:hover,
.analytics-consent__button:focus-visible,
.analytics-consent__copy a:focus-visible {
    outline: 3px solid rgba(217, 144, 36, .35);
    outline-offset: 3px;
}

.footer-cookie-settings {
    border: 0;
    background: transparent;
    color: #63716d;
    cursor: pointer;
    font: inherit;
    padding: 0;
    transition: color 160ms ease;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    color: var(--active-primary, #23815f);
    outline: none;
}

@media (max-width: 640px) {
    .analytics-consent__panel {
        right: 16px;
        bottom: 16px;
        padding: 18px;
    }

    .analytics-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .analytics-consent__button {
        width: 100%;
    }
}
