.ov-consent[hidden] {
    display: none !important;
}

.ov-consent {
    position: fixed;
    z-index: 99999;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2.5rem);
    width: min(680px, calc(100vw - 2rem));
    color: #1f211f;
    background: #f3eee4;
    border: 1px solid rgba(31, 33, 31, 0.18);
    border-radius: 2px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
    font-family: inherit;
}

.ov-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: end;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.ov-consent__copy {
    min-width: 0;
}

.ov-consent__eyebrow {
    margin: 0 0 0.6rem;
    color: #655f55;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ov-consent h2 {
    margin: 0 0 0.7rem;
    color: #181a18;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 520;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.ov-consent p:not(.ov-consent__eyebrow) {
    max-width: 52ch;
    margin: 0;
    color: #43463f;
    font-size: 0.96rem;
    line-height: 1.58;
}

.ov-consent__privacy {
    display: inline-block;
    margin-top: 0.7rem;
    color: #343730;
    font-size: 0.82rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.ov-consent__actions {
    display: grid;
    gap: 0.65rem;
    min-width: 150px;
}

.ov-consent__button {
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid #20231f;
    border-radius: 0;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ov-consent__button--primary {
    color: #f7f2e9;
    background: #20231f;
}

.ov-consent__button--primary:hover,
.ov-consent__button--primary:focus-visible {
    color: #ffffff;
    background: #3b4038;
    border-color: #3b4038;
}

.ov-consent__button--secondary {
    color: #20231f;
    background: transparent;
}

.ov-consent__button--secondary:hover,
.ov-consent__button--secondary:focus-visible {
    background: rgba(32, 35, 31, 0.08);
}

.ov-consent__button:focus-visible,
.ov-consent__privacy:focus-visible {
    outline: 2px solid #20231f;
    outline-offset: 3px;
}

@media (max-width: 620px) {
    .ov-consent {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 1.5rem);
        overflow: auto;
    }

    .ov-consent__inner {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding: 1.25rem;
    }

    .ov-consent__actions {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }
}

@media (max-width: 390px) {
    .ov-consent__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ov-consent__button {
        transition: none;
    }
}
