.vy-cookie-lock {
    overflow: hidden;
}

.vy-cookie-banner,
.vy-cookie-modal {
    box-sizing: border-box;
    color: #272727;
    font-family: "Open Sans", Arial, sans-serif;
}

.vy-cookie-banner *,
.vy-cookie-modal * {
    box-sizing: border-box;
}

.vy-cookie-banner[hidden],
.vy-cookie-modal[hidden] {
    display: none !important;
}

.vy-cookie-banner {
    position: fixed;
    z-index: 2147483000;
    left: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    width: calc(100% - 44px);
    max-width: 610px;
    padding: 23px 24px;
    border: 1px solid #e8e0ca;
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: 0 18px 48px rgba(25, 25, 25, 0.22);
}

.vy-cookie-banner__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f2c230;
    color: #202020;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.vy-cookie-banner__title {
    margin: 0 0 8px;
    color: #202020;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.vy-cookie-banner__text {
    margin: 0;
    color: #5f5a50;
    font-size: 14px;
    line-height: 1.6;
}

.vy-cookie-banner__text a,
.vy-cookie-modal a {
    color: #785b00;
    text-decoration: underline;
}

.vy-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.vy-cookie-button {
    min-height: 43px;
    padding: 10px 20px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    background: #ffffff;
    color: #262626;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.vy-cookie-button:hover,
.vy-cookie-button:focus {
    transform: translateY(-1px);
}

.vy-cookie-button--primary {
    border-color: #f2c230;
    background: #f2c230;
    color: #1e1e1e;
}

.vy-cookie-button--primary:hover,
.vy-cookie-button--primary:focus {
    background: #e6b51f;
    border-color: #e6b51f;
}

.vy-cookie-button--outline {
    border-color: #b8ad91;
    background: transparent;
    color: #3c392f;
}

.vy-cookie-button:focus-visible,
.vy-cookie-switch input:focus-visible + .vy-cookie-switch__slider,
.cookie-settings-link:focus-visible {
    outline: 3px solid rgba(242, 194, 48, 0.38);
    outline-offset: 3px;
}

.vy-cookie-modal {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vy-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.72);
}

.vy-cookie-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.vy-cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 27px 20px;
    border-bottom: 1px solid #ece4d2;
}

.vy-cookie-modal__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #8a6a05;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vy-cookie-modal__title {
    margin: 0;
    color: #202020;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.vy-cookie-modal__close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ddd2b8;
    border-radius: 50%;
    background: transparent;
    color: #4a463d;
    font: inherit;
    font-size: 28px;
    line-height: 35px;
    cursor: pointer;
}

.vy-cookie-modal__body {
    padding: 22px 27px 8px;
}

.vy-cookie-modal__intro {
    margin: 0 0 16px;
    color: #625d52;
    font-size: 14px;
    line-height: 1.6;
}

.vy-cookie-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 19px 0;
    border-top: 1px solid #ece4d2;
}

.vy-cookie-category__title {
    margin: 0 0 6px;
    color: #272727;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.vy-cookie-category__text {
    margin: 0;
    color: #70695c;
    font-size: 13px;
    line-height: 1.55;
}

.vy-cookie-category__fixed {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f2ead7;
    color: #66552c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.vy-cookie-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

.vy-cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vy-cookie-switch__slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #aaa394;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vy-cookie-switch__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.vy-cookie-switch input:checked + .vy-cookie-switch__slider {
    background: #d9a900;
}

.vy-cookie-switch input:checked + .vy-cookie-switch__slider::before {
    transform: translateX(24px);
}

.vy-cookie-switch__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.vy-cookie-modal__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 19px 27px 25px;
    border-top: 1px solid #ece4d2;
}

footer .cookie-settings-link,
.cookie-settings-link {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #FFF;
    text-decoration: none !important;
    transition: 0.3s;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
	text-decoration: none !important;
    color: #62D4FF !important;
    transition: 0.3s;
}

@media (max-width: 700px) {
    .vy-cookie-banner {
        left: 10px;
        bottom: 10px;
        grid-template-columns: 1fr;
        width: calc(100% - 20px);
        padding: 20px;
        border-radius: 13px;
    }

    .vy-cookie-banner__mark {
        display: none;
    }

    .vy-cookie-banner__actions,
    .vy-cookie-modal__footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vy-cookie-button {
        width: 100%;
    }

    .vy-cookie-modal {
        padding: 10px;
    }

    .vy-cookie-modal__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 13px;
    }

    .vy-cookie-modal__header,
    .vy-cookie-modal__body,
    .vy-cookie-modal__footer {
        padding-left: 19px;
        padding-right: 19px;
    }

    .vy-cookie-category {
        align-items: start;
        gap: 14px;
    }

    .vy-cookie-category__fixed {
        white-space: normal;
        text-align: center;
    }
}
