/* c-images
------------------------------------------------------------------- */
.product-images__section {
    display: flex;
    flex-direction: column;
}

.slides-slider {
    box-sizing: border-box;
}

.owl-prev {
    display: none;
}

.owl-next {
    display: none;
}

.owl-stage-outer {
    margin-bottom: 40px;
}

.c-images__big {
    position: relative;
    height: 400px;
    border: 1px solid #dadada;
    background: #fff;
    border: 10px solid #fff;
    margin-bottom: 20px;
}

.owl-carousel .owl-item img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100%;
    margin: 0 auto;
}

.c-images {
    width: 100%;
}

@media (max-width: 989px) {
    .c-images__big {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .c-images__big {
        height: 200px;
    }
}

.c-images__slider {
    margin-top: 10px;
}

.c-images__slider__item {
    position: relative;
    display: block;
    height: 100px;
    border: 1px solid #dadada;
    background: #fff;
    width: 150px;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .c-images__slider__item {
        height: 70px;
        width: 100%;
    }
}

.c-images__slider__img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
}

.owl-item.current .c-images__slider__item {
    border: 2px solid var(--main-color);
}

.c-images .fancy-modal:first-child {
    width: 100%;
    height: 100%;
}

.c-main-img__inner {
    height: 100%;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.c-main-img__wrap {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
}

.c-main-img__wrap:after {
    content: '';
    position: absolute;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    -webkit-transition: 0.3s opacity;
    -o-transition: 0.3s opacity;
    transition: 0.3s opacity;
}

.c-images__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.c-images__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.c-main-img__wrap_zoomable:hover .c-main-img,
.c-main-img__wrap_zoomable:hover:after {
    opacity: 0;
    pointer-events: none;
}

/* Вложенные селекторы и important необходимы, чтобы перебить стили из других owl-carousel */
.c-main-img {
    -webkit-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
    background: #fff;
    object-fit: scale-down;
    position: relative;
    z-index: 2;
    height: 100% !important;
}

.c-carousel .owl-stage {
    display: flex;
}

/* .c-carousel .owl-stage .owl-item {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
}
 */
.c-carousel .owl-stage .c-images__slider__item {
    width: 100% !important;
}

.main-product-slide {
    box-sizing: border-box;
}