/* Плашка согласия на cookie и Яндекс.Метрику */
.vs-cookie {
    position: fixed;
    z-index: 1500;
    bottom: 24px;
    width: calc(100% - 48px);
    max-width: 400px;
    padding: 24px;
    background-color: var(--white, #ffffff);
    border: 1.5px solid var(--blue-ultra-light, #E4EBF6);
    border-top: 6px solid var(--yellow, #F5CF47);
    border-radius: var(--radius-lg, 28px);
    box-shadow: 0 12px 44px -8px rgba(50, 85, 156, 0.28);
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--black, #343434);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.vs-cookie[hidden] {
    display: none;
}
.vs-cookie.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.vs-cookie--bottom-left {
    left: 24px;
}
.vs-cookie--bottom-right {
    right: 24px;
}
.vs-cookie--bottom-center {
    left: 50%;
    margin-left: -200px;
}

.vs-cookie__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.vs-cookie__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--blue-ultra-light, #E4EBF6);
    color: var(--blue, #32559C);
}
.vs-cookie__title {
    font-family: 'Baloo-Cyrillic', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: var(--blue-dark, #253556);
}
.vs-cookie__text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 21px;
    color: var(--grey-dark, #5F5F5F);
}
.vs-cookie__link {
    color: var(--blue, #32559C);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.vs-cookie__link:hover {
    color: var(--blue-dark, #253556);
}

.vs-cookie__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vs-cookie__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm, 8px);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: var(--black, #343434);
    background: none;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.vs-cookie__btn--primary {
    background-color: var(--yellow, #F5CF47);
    border-color: var(--yellow, #F5CF47);
}
.vs-cookie__btn--second {
    border-color: var(--yellow, #F5CF47);
}
.vs-cookie__btn:hover {
    background-color: var(--blue-light, #C5D2E9);
    border-color: var(--blue-light, #C5D2E9);
    color: var(--blue, #32559C);
}
.vs-cookie__btn:active {
    background-color: var(--blue, #32559C);
    border-color: var(--blue, #32559C);
    color: var(--white, #ffffff);
}
.vs-cookie__btn:focus-visible,
.vs-cookie__link:focus-visible,
.vs-cookie__decline:focus-visible {
    outline: 2px solid var(--blue, #32559C);
    outline-offset: 2px;
}

.vs-cookie__decline {
    display: block;
    width: fit-content;
    margin: 14px auto 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--grey, #999999);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}
.vs-cookie__decline:hover {
    color: var(--grey-dark, #5F5F5F);
}

@media (max-width: 767.9px) {
    .vs-cookie,
    .vs-cookie--bottom-left,
    .vs-cookie--bottom-right,
    .vs-cookie--bottom-center {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        margin-left: 0;
        padding: 20px;
        border-radius: 20px;
    }
    .vs-cookie__icon {
        width: 40px;
        height: 40px;
    }
    .vs-cookie__title {
        font-size: 18px;
        line-height: 22px;
    }
    .vs-cookie__text {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 16px;
    }
}

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