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

.yblkrest-cookie-consent,
.yblkrest-cookie-consent *,
.yblkrest-cookie-consent *::before,
.yblkrest-cookie-consent *::after {
    box-sizing: border-box;
}

.yblkrest-cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10020;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 -10px 32px rgba(31, 27, 23, 0.1);
    color: #2d2a26;
    font-family: Montserrat, Arial, sans-serif;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: yblkrest-cookie-consent-enter 220ms ease-out both;
}

.yblkrest-cookie-consent.is-leaving {
    animation: yblkrest-cookie-consent-leave 180ms ease-in both;
    pointer-events: none;
}

.yblkrest-cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: clamp(20px, 2.5vw, 30px) clamp(22px, 3.5vw, 42px) max(clamp(20px, 2.5vw, 30px), env(safe-area-inset-bottom, 0px));
}

.yblkrest-cookie-consent__content {
    min-width: 0;
    flex: 1 1 auto;
}

.yblkrest-cookie-consent__text {
    max-width: 880px;
    margin: 0;
    color: #55514b;
    font-size: clamp(9.75px, 0.8625vw, 11.25px);
    font-weight: 400;
    line-height: 1.55;
}

.yblkrest-cookie-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 10px;
    font-size: 9px;
    line-height: 1.4;
}

.yblkrest-cookie-consent__links a {
    color: #2d2a26;
    text-decoration: underline;
    text-decoration-color: rgba(45, 42, 38, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color 160ms ease;
}

.yblkrest-cookie-consent__links a:hover {
    text-decoration-color: currentColor;
}

.yblkrest-cookie-consent__links a:focus-visible,
.yblkrest-cookie-consent__accept:focus-visible {
    outline: 2px solid #7b6a52;
    outline-offset: 3px;
}

.yblkrest-cookie-consent__accept {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 198px;
    min-height: 65px;
    margin: 0;
    padding: 17.5px 35px;
    border: 0;
    border-radius: 16px;
    background: #f2f0e3;
    box-shadow: none;
    color: #2d2a26;
    font: 600 14.625px/1 Montserrat, Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.yblkrest-cookie-consent__accept:hover {
    background: #e8e2d0;
    transform: translateY(-1px);
}

.yblkrest-cookie-consent-visible .yblkrest-notice-toasts {
    bottom: calc(var(--yblkrest-cookie-consent-height, 0px) + 32px + env(safe-area-inset-bottom, 0px));
}

@keyframes yblkrest-cookie-consent-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes yblkrest-cookie-consent-leave {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

@media (max-width: 700px) {
    .yblkrest-cookie-consent {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
    }

    .yblkrest-cookie-consent__inner {
        display: grid;
        gap: 18px;
        padding: 20px 20px max(20px, env(safe-area-inset-bottom, 0px));
    }

    .yblkrest-cookie-consent__text {
        font-size: 9.75px;
        line-height: 1.5;
    }

    .yblkrest-cookie-consent__links {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 11px;
        font-size: 9px;
        white-space: nowrap;
    }

    .yblkrest-cookie-consent__links span {
        display: inline;
    }

    .yblkrest-cookie-consent__accept {
        width: 100%;
        min-height: 62.5px;
    }

    .yblkrest-cookie-consent-visible .yblkrest-notice-toasts {
        bottom: calc(var(--yblkrest-cookie-consent-height, 0px) + 20px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .yblkrest-cookie-consent,
    .yblkrest-cookie-consent.is-leaving {
        animation: none;
    }

    .yblkrest-cookie-consent__accept,
    .yblkrest-cookie-consent__links a {
        transition: none;
    }
}
