.g9-cookie-consent[hidden],
.g9-cookie-consent__settings[hidden] {
    display: none;
}

.g9-cookie-consent {
    position: fixed;
    z-index: 1000;
    inset-inline-start: max(1rem, env(safe-area-inset-left));
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    inline-size: min(36rem, calc(100% - 2rem));
    max-block-size: calc(100dvh - 2rem);
    overflow: auto;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #d6cbb8;
    border-radius: 1rem;
    background: #fffcf5;
    color: #19372b;
    box-shadow: 0 .75rem 2.5rem rgb(25 55 43 / 18%);
    font-family: Manrope, system-ui, sans-serif;
}

.g9-cookie-consent__copy h2 {
    margin: 0 0 .4rem;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
}

.g9-cookie-consent__copy p {
    margin: 0;
    color: inherit;
    font-size: .9rem;
    line-height: 1.55;
}

.g9-cookie-consent__copy a,
.g9-cookie-consent__settings {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.g9-cookie-consent__footer {
    padding-inline: max(1rem, calc((100% - 73rem) / 2));
    background: #fffcf5;
    color: #19372b;
}

.g9-cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem;
    margin-block-start: 1rem;
}

.g9-cookie-consent__actions > button {
    min-block-size: 44px;
    padding: .55rem .55rem;
    border: 1px solid #19372b;
    border-radius: 999px;
    background: #fffcf5;
    color: #19372b;
    font: 700 .85rem/1.3 Manrope, system-ui, sans-serif;
    cursor: pointer;
}

.g9-cookie-consent__actions > button:hover {
    background: #eae5d6;
}

.g9-cookie-consent__settings {
    min-block-size: 44px;
    padding: .625rem 0;
    border: 0;
    background: transparent;
    font: 600 .85rem/1.4 Manrope, system-ui, sans-serif;
    cursor: pointer;
}

.g9-cookie-consent :is(a, button):focus-visible,
.g9-cookie-consent__settings:focus-visible {
    outline: 3px solid #846126;
    outline-offset: 3px;
}
