/* Favorite buttons shared by product cards, product page and favorites page. */
.vodotok-favorite-card__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vodotok-favorite-toggle,
.vodotok-favorite-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out, opacity .2s ease-in-out;
}

.vodotok-favorite-toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.vodotok-favorite-remove {
    border: 1px solid rgba(39, 43, 44, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 18px rgba(39, 43, 44, .08);
}

.vodotok-favorite-toggle:hover,
.vodotok-favorite-remove:hover {
    box-shadow: 0 10px 22px rgba(39, 43, 44, .12);
}

.vodotok-favorite-toggle:hover {
    box-shadow: none;
}

.vodotok-favorite-remove:hover {
    border-color: rgba(221, 56, 36, .35);
}

.vodotok-favorite-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 28px 28px;
    transition: background-image .2s ease-in-out, opacity .2s ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12.001 20.727l-.32-.291C6.12 15.393 2.5 12.11 2.5 8.25 2.5 5.28 4.78 3 7.75 3c1.68 0 3.29.78 4.25 2.01C12.96 3.78 14.57 3 16.25 3 19.22 3 21.5 5.28 21.5 8.25c0 3.86-3.62 7.143-9.181 12.186l-.318.291z' stroke='%23272B2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vodotok-favorite-remove svg {
    width: 20px;
    height: 20px;
    fill: #272b2c;
    pointer-events: none;
    transition: fill .2s ease-in-out;
}

.vodotok-favorite-toggle.is-active {
    background-color: transparent;
}

.vodotok-favorite-toggle:hover .vodotok-favorite-toggle__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12.001 20.727l-.32-.291C6.12 15.393 2.5 12.11 2.5 8.25 2.5 5.28 4.78 3 7.75 3c1.68 0 3.29.78 4.25 2.01C12.96 3.78 14.57 3 16.25 3 19.22 3 21.5 5.28 21.5 8.25c0 3.86-3.62 7.143-9.181 12.186l-.318.291z' stroke='%23DD3824' stroke-opacity='.72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vodotok-favorite-toggle.is-active .vodotok-favorite-toggle__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12.001 20.727l-.32-.291C6.12 15.393 2.5 12.11 2.5 8.25 2.5 5.28 4.78 3 7.75 3c1.68 0 3.29.78 4.25 2.01C12.96 3.78 14.57 3 16.25 3 19.22 3 21.5 5.28 21.5 8.25c0 3.86-3.62 7.143-9.181 12.186l-.318.291z' fill='%23DD3824' fill-opacity='.68' stroke='%23DD3824' stroke-opacity='.74' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vodotok-favorite-toggle__icon::before,
.vodotok-favorite-toggle.is-active .vodotok-favorite-toggle__icon::before {
    content: none !important;
}

.vodotok-favorite-remove:hover svg {
    fill: #dd3824;
}

.vodotok-favorite-toggle:disabled,
.vodotok-favorite-remove:disabled {
    cursor: default;
    opacity: .72;
}

.vodotok-favorite-flyer {
    position: fixed;
    z-index: 10000040;
    border-radius: 18px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 18px 44px rgba(8, 34, 48, .2);
    pointer-events: none;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .96;
}

.vodotok-favorite-flyer--fallback {
    background-image: linear-gradient(135deg, rgba(221, 56, 36, .95) 0%, rgba(242, 109, 87, .95) 100%);
}

@media (max-width: 768px) {
    .vodotok-favorite-card__actions {
        top: 10px;
        right: 10px;
    }

    .vodotok-favorite-toggle {
        width: 36px;
        height: 36px;
    }

    .vodotok-favorite-toggle__icon {
        background-size: 24px 24px;
    }

    .vodotok-favorite-remove {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}

.popup-add {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 10000025;
    padding: 32px 16px 24px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 4px 4px 14px 0 rgba(0, 0, 0, .1215686275);
    width: 383px;
    visibility: hidden;
    opacity: 0;
    transition: visibility .3s ease-in-out, opacity .3s ease-in-out;
}

.popup-add--visible {
    opacity: 1;
    visibility: visible;
}

.popup-add__close {
    top: 16px;
    right: 16px;
}

.popup-add__block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14.5px;
}

.popup-add__img {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efefef;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: #fff;
}

.popup-add__img img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.popup-add__descr {
    font-size: 16px;
    font-weight: 700;
    line-height: 20.8px;
    text-transform: uppercase;
}

.popup-add__text {
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
    text-align: left;
    text-transform: uppercase;
    color: #0c5e84;
}

@media (max-width: 768px) {
    .popup-add {
        top: 80px;
        right: 40px;
    }
}

@media (max-width: 576px) {
    .popup-add {
        top: 40px;
        right: 15px;
        width: 290px;
    }

    .popup-add__descr {
        font-size: 12px;
        line-height: 16px;
    }

    .popup-add__text {
        font-size: 14px;
        line-height: 18px;
    }
}
