.cookie-consent {
    position: fixed;
    z-index: 10000;
    right: clamp(.75rem, 3vw, 2rem);
    bottom: clamp(.75rem, 3vw, 2rem);
    width: min(31rem, calc(100% - 1.5rem));
    padding: 1.4rem;
    border: 1px solid rgba(30, 25, 34, .16);
    background: rgba(255, 254, 250, .97);
    color: #17141b;
    box-shadow: 0 1.2rem 4rem rgba(35, 27, 18, .22);
    backdrop-filter: blur(18px);
    font-family: "Tenor Sans", sans-serif;
    transform: translateY(calc(100% + 3rem));
    opacity: 0;
    visibility: hidden;
    transition: transform .42s cubic-bezier(.2,.75,.2,1), opacity .32s ease, visibility 0s linear .42s;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.cookie-consent__eyebrow {
    display: block;
    margin-bottom: .8rem;
    color: #92752e;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 .7rem;
    font-family: "Playfair Display", "Bodoni Moda", serif;
    font-size: clamp(1.6rem, 4vw, 2.15rem);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1;
}

.cookie-consent p {
    margin: 0;
    color: #625d65;
    font-size: .76rem;
    line-height: 1.7;
}

.cookie-consent p a {
    color: #17141b;
    text-underline-offset: .25em;
}

.cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.2rem;
}

.cookie-consent__actions button {
    min-height: 2.9rem;
    padding: .75rem 1rem;
    border: 1px solid #17141b;
    background: transparent;
    color: #17141b;
    font-family: inherit;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.cookie-consent__actions button[data-consent-accept] {
    background: #17141b;
    color: #fffefa;
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus-visible {
    outline: 2px solid #92752e;
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .cookie-consent {
        right: .75rem;
        bottom: .75rem;
    }

    .cookie-consent__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

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