/* Cookie-баннер Amor (Figma 4269:33754) — поверх стилей библиотеки */
.cookie-consent {
    --cookie-offset: 20rem;

    position: fixed;
    z-index: 100;
    left: var(--cookie-offset);
    bottom: var(--cookie-offset);
    right: auto;
    top: auto;
    translate: none;
    display: flex;
    flex-direction: column;
    gap: 10rem;
    width: fit-content;
    max-width: calc(100% - (var(--cookie-offset) * 2));
    padding: 30rem;
    border: 0;
    border-radius: 0;
    background-color: var(--gray900, var(--colors-900, #121212));
    color: var(--white, #fff);
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.cookie-consent.cookie-consent-hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-consent__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40rem;
}

.cookie-consent-title {
    margin: 0 0 0 0;
    color: var(--white, #fff);
    font-family: var(--font-main, Inter, Arial, Helvetica, sans-serif);
    font-size: 16rem;
    font-weight: 400;
    line-height: 120%;
}

.cookie-consent-content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 710rem;
}

.cookie-consent-content p {
    margin: 0;
    color: var(--gray200, var(--colors-200, #ccc));
    font-family: var(--font-main, Inter, Arial, Helvetica, sans-serif);
    font-size: 14rem;
    font-weight: 400;
    line-height: 130%;
    text-wrap: unset;
}

.cookie-consent-content a {
    color: var(--primary500, var(--brand-300, #006649));
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.cookie-consent-icon,
.cookie-consent-close,
.cookie-consent-reject {
    display: none !important;
}

.cookie-consent-buttons {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: center;
    gap: 0;
}

.cookie-consent.top,
.cookie-consent.bottom,
.cookie-consent.left,
.cookie-consent.right,
.cookie-consent.center,
.cookie-consent.row,
.cookie-consent.column,
.cookie-consent.mixed,
.cookie-consent.light,
.cookie-consent.dark,
.cookie-consent.custom {
    top: auto;
    right: auto;
    bottom: var(--cookie-offset);
    left: var(--cookie-offset);
    translate: none;
    max-width: calc(100% - (var(--cookie-offset) * 2));
}

@media (max-width: 1199px) {
    .cookie-consent {
        --cookie-offset: 16rem;
        left: 50%;
        translate: -50% 0;
        width: calc(100% - (var(--cookie-offset) * 2));
        max-width: 520rem;
        padding: 24rem;
        gap: 12rem;
    }

    .cookie-consent.top,
    .cookie-consent.bottom,
    .cookie-consent.left,
    .cookie-consent.right,
    .cookie-consent.center,
    .cookie-consent.row,
    .cookie-consent.column,
    .cookie-consent.mixed,
    .cookie-consent.light,
    .cookie-consent.dark,
    .cookie-consent.custom {
        left: 50%;
        translate: -50% 0;
    }

    .cookie-consent__row {
        flex-direction: column;
        align-items: stretch;
        gap: 12rem;
    }

    .cookie-consent-content {
        max-width: none;
    }

    .cookie-consent-buttons {
        align-self: stretch;
        width: 100%;
    }

    .cookie-consent-buttons .button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cookie-consent {
        max-width: none;
    }

    .cookie-consent-buttons .button {
        height: 44rem;
        padding: 12rem 16rem;
        gap: 8rem;
    }

    .cookie-consent-buttons .button span::after {
        width: 20rem;
        height: 20rem;
    }
}
