.cookie-notice {
    background-color: var(--black);
    border-radius: 2rem;
    bottom: 2.5rem;
    box-shadow: 0 1.2rem 4rem color-mix(in srgb, var(--black) 25%, transparent);
    display: none;
    left: 0;
    margin: 0 auto;
    max-width: 34.5rem;
    padding: 1.6rem;
    position: fixed;
    right: 0;
    transition: bottom 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out;
    width: calc(100% - 3.8rem * 2);
    z-index: 200;
}

.cookie-notice.show {
    animation: cookie-notice-slide-up 0.4s cubic-bezier(0.55, 0.385, 0.355, 1);
}

.cookie-notice__content {
    display: flex;
    gap: 1.5rem;
    margin-block-end: 1.5rem;
}

.cookie-notice__icon {
    flex-shrink: 0;
    height: 2.4rem;
    width: 2.4rem;
}

.cookie-notice__icon svg {
    --i-color: #ffffff;
    --i-s-width: 2;
    display: block;
    height: 100%;
    width: 100%;
}

.cookie-notice__text {
    color: #ffffff;
    flex: 1;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    line-height: 130%;
}

.cookie-notice__text a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.1s cubic-bezier(0.55, 0.385, 0.355, 1);
}

.cookie-notice__text a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.cookie-notice__button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.cookie-notice__button {
    background-color: #ffffff;
    border: none;
    border-radius: 100rem;
    color: var(--black);
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 130%;
    outline: none;
    padding: 0.8rem 1.6rem;
    transition: opacity 0.1s cubic-bezier(0.55, 0.385, 0.355, 1), transform 0.1s cubic-bezier(0.55, 0.385, 0.355, 1);
}

.cookie-notice__button:hover {
    opacity: 0.85;
}

.cookie-notice__button:active {
    transform: scale(0.98);
}

@keyframes cookie-notice-slide-up {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (width <= 768px) {
    .cookie-notice {
        bottom: 1.6rem;
        max-width: none;
        padding: 1.4rem;
        width: calc(100% - 1.6rem * 2);
    }

    .cookie-notice__content {
        gap: 1.2rem;
        margin-block-end: 1.2rem;
    }

    .cookie-notice__text {
        font-size: 1.3rem;
    }
}
