.product-popup {
    display: none;
}
.product-popup.fancybox__content {
    width: 100%;
    max-width: 1012px;
    background: #fff;
    padding: 40px;
}
@media (max-width: 800px) {
    .product-popup.fancybox__content {
        padding: 60px 16px 16px;
    }
}
.product-popup.fancybox__content .f-button.is-close-btn {
    width: 52px;
    height: 52px;
    top: 0;
    right: 0;
    color: #989898;
}
@media (max-width: 578px) {
    .product-popup.fancybox__content .f-button.is-close-btn {
        background: transparent;
    }
}
@media (max-height: 578px) {
    .product-popup.fancybox__content .f-button.is-close-btn {
        background: transparent;
    }
}
.product-popup__top {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    -moz-column-gap: 40px;
    column-gap: 40px;
}
@media (max-width: 800px) {
    .product-popup__top {
        -moz-column-gap: 24px;
        column-gap: 24px;
    }
}
.product-popup__top-body {
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}
.product-popup__name {
    color: #222;
    font-size: 24px;
    font-weight: 700;
    line-height: 116%;
    margin-bottom: 8px;
}
.product-popup__info {
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 8px;
    column-gap: 8px;
    row-gap: 8px;
}
.product-popup__grade {
    display: flex;
    align-self: center;
}
.product-popup__reviews {
    color: #222;
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    text-decoration-line: underline;
}
@media (any-hover: hover) {
    .product-popup__reviews:hover {
        text-decoration: none;
    }
}
.product-popup__code {
    color: #6d6d6d;
    font-size: 12px;
    line-height: 140%;
}
.product-popup__logo {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    max-width: 100px;
}
@media (max-width: 800px) {
    .product-popup__logo {
        max-width: 80px;
    }
}
.product-popup__logo img {
    max-width: 100%;
}
.product-popup__row {
    display: flex;
    margin: -12px;
}
@media (max-width: 800px) {
    .product-popup__row {
        flex-wrap: wrap;
    }
}
.product-popup__left {
    padding: 12px;
    flex: 0 0 auto;
    width: 41.422%;
    max-width: 100%;
}
@media (max-width: 800px) {
    .product-popup__left {
        flex: 0 0 auto;
        width: calc(100% - 32px);
        max-width: 100%;
    }
}
.product-popup__wrap {
    position: relative;
}
.product-popup__discount {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    pointer-events: none;
    border-radius: 2px;
    background: #fff49f;
    padding: 0 4px 0 0;
    color: #da291b;
    font-size: 12px;
    display: flex;
    align-items: center;
    -moz-column-gap: 4px;
    column-gap: 4px;
}
.product-popup__discount span {
    border-radius: 2px 20px 20px 2px;
    background: #da291b;
    text-align: center;
    display: inline-block;
    padding: 2px 6px 2px 4px;
    color: #fff49f;
    font-size: 12px;
    font-weight: 700;
}
.product-popup__center {
    padding: 12px;
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}
@media (max-width: 800px) {
    .product-popup__center {
        flex: 0 0 auto;
        width: calc(100% - 32px);
        max-width: 100%;
        order: 1;
    }
}
.product-popup__characteristics:not(:last-child) {
    margin-bottom: 24px;
}
.product-popup__characteristics-item {
    color: #6d6d6d;
    font-size: 14px;
    line-height: 140%;
}
.product-popup__characteristics-item:not(:last-child) {
    margin-bottom: 8px;
}
.product-popup__stock {
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
    color: #222;
    font-size: 14px;
    line-height: 140%;
}
.product-popup__stock:not(:last-child) {
    margin-bottom: 4px;
}
.product-popup__delivery {
    display: inline-flex;
    -moz-column-gap: 4px;
    column-gap: 4px;
    color: #222;
    font-size: 14px;
    line-height: 140%;
}
.product-popup__delivery a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}
@media (any-hover: hover) {
    .product-popup__delivery a:hover {
        text-decoration: none;
    }
}
.product-popup__right {
    padding: 12px;
    flex: 0 0 auto;
    width: 232px;
    max-width: 100%;
}
@media (max-width: 800px) {
    .product-popup__right {
        flex: 0 0 auto;
        width: calc(100% - 32px);
        max-width: 100%;
    }
}
.product-popup__box:not(:first-child) {
    margin-top: 24px;
}
@media (max-width: 800px) {
    .product-popup__box-inner {
        display: none;
    }
}
.product-popup__box-mob {
    display: none;
    margin-top: 24px;
}
@media (max-width: 800px) {
    .product-popup__box-mob {
        display: block;
    }
}
.product-popup__box .ah-btn:not(:last-child) {
    margin-bottom: 8px;
}
.product-popup__price {
    color: #222;
    font-size: 24px;
    font-weight: 700;
    line-height: 116%;
}
.product-popup__price:not(:last-child) {
    margin-bottom: 16px;
}

.quantity-block {
    display: flex;
    align-items: center;
    -moz-column-gap: 15px;
    column-gap: 15px;
}
.quantity-block input {
    flex: 0 0 auto;
    width: 70px;
    max-width: 100%;
    height: 30px;
    border: 1px solid #6d6d6d;
    text-align: center;
    color: #222;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
}
.quantity-block__btn {
    flex: 0 0 auto;
    width: 30px;
    max-width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #6d6d6d;
    border-radius: 50%;
    border: 1px solid #6d6d6d;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .quantity-block__btn:hover {
        color: #222;
        border-color: #222;
    }
}
.quantity-block__btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.ah-btn {
    border-radius: 4px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
    padding: 5px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    text-decoration: none;
}
.ah-btn:hover {
    text-decoration: none;
}
.ah-btn svg {
    flex: 0 0 auto;
    width: 20px;
    max-width: 100%;
    height: 20px;
    fill: currentColor;
}
.ah-btn.ah-btn-orange {
    color: #fff;
    background: #ed7b24;
}
@media (any-hover: hover) {
    .ah-btn.ah-btn-orange:not(.ah-btn-green):hover {
        background: #da6c18;
    }
}
.ah-btn.ah-btn-outline-orange {
    color: #ed7b24;
    border: 1px solid #ed7b24;
    background: transparent;
}
@media (any-hover: hover) {
    .ah-btn.ah-btn-outline-orange:hover {
        background: #ed7b24;
        color: #fff;
    }
}
.ah-btn.ah-btn-black {
    color: #fff;
    background: #333;
}
@media (any-hover: hover) {
    .ah-btn.ah-btn-black:hover {
        background: #222;
    }
}
.ah-btn.ah-btn-gray {
    color: #6d6d6d;
    background: #e9e9e9;
}
.ah-btn.ah-btn-green {
    background: #7FA832;
    color: #fff;
}
@media (any-hover: hover) {
    .ah-btn.ah-btn-gray:not(.ah-btn-green):hover {
        background: #6d6d6d;
        color: #fff;
    }
}
.ah-btn.ah-btn-outline-gray {
    border: 1px solid #e9e9e9;
    color: #6d6d6d;
    background: transparent;
}
@media (any-hover: hover) {
    .ah-btn.ah-btn-outline-gray:hover {
        background: #e9e9e9;
    }
}

.popup-sliders__bottom {
    display: flex;
    align-items: center;
}

.popup-slider {
    position: relative;
    overflow: hidden;
}
.popup-slider__img {
    display: block;
    width: 100%;
    height: 0;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}
.popup-slider__img img {
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.popup-slider__prev {
    flex: 0 0 auto;
    width: 24px;
    max-width: 100%;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 4;
    color: #d3d3d3;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .popup-slider__prev:hover {
        color: #222;
    }
}
.popup-slider__prev.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.popup-slider__prev.swiper-button-lock {
    opacity: 0;
    pointer-events: none;
}
.popup-slider__prev svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.popup-slider__next {
    flex: 0 0 auto;
    width: 24px;
    max-width: 100%;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 4;
    color: #d3d3d3;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .popup-slider__next:hover {
        color: #222;
    }
}
.popup-slider__next.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.popup-slider__next.swiper-button-lock {
    opacity: 0;
    pointer-events: none;
}
.popup-slider__next svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.popup-slider-thumbs {
    min-width: 0;
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}
.popup-slider-thumbs__slide {
    cursor: pointer;
}
.popup-slider-thumbs__slide.swiper-slide-thumb-active
.popup-slider-thumbs__img:before {
    opacity: 0;
}
.popup-slider-thumbs__img {
    display: block;
    width: 100%;
    height: 0;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}
.popup-slider-thumbs__img:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}
.popup-slider-thumbs__img img {
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
