/* *** MASONRY GAL *** */

.product-m-gallery {
    max-width: 1920px;
    width: 100%;
    height: auto;
    margin: 100px auto;
    position: relative;
}

.product-m-gallery__container {
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.product-m-gallery__title {
    width: 50%;
    font-family: "CeraPRO-Bold", sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 144%;
    color: #000;
    margin: 0 0;
    text-align: center;

}

.product-m-gallery__sort-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
}

.product-m-gallery__sort-button {
    font-family: "CeraPRO-Regular", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 144%;
    color: #acaaaa;
    width: -webkit-fill-available;
    display: block;
    background-color: #fff;
    border-width: 0;
    border-bottom: 3px solid #e6e6e6;
    padding-bottom: 10px;
}

.m-gallery-sort-button__active {
    color: #000;
    border-bottom: 3px solid #e63c32;
}

.product-m-gallery__photos {
    width: 100%;
}

.scroll-gallery{
    width: 100%;
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px 2%;
}

.m-gallery__photo {
    width: 22%;
    height: 300px;
    overflow: hidden;
    box-shadow: 5px 5px 20px #bbb;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 10px;
}

.m-gallery__photo img {
    max-width: 100%;
    max-height: 100%; 
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.m-gallery__photo video {
    max-width: 100%;
    max-height: 100%; 
    object-fit: cover;
    width: 100%;
    height: 100%;
}

div.m-gallery__photo>a {
	position: relative;
	display: block;
	height: 100%;
	width: 100%;
}

div.m-gallery__photo>a::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: url('/wp-content/uploads/zoom.svg') center no-repeat rgba(255,255,255,0.75);
	background-size: 25% 25%;
/* 	transform: translatey(-100%); */
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: 750ms;
}

div.m-gallery__photo:hover a:before {
	opacity: 1;
	transition: 750ms;
}


.notvisible {
    display: none;
}

.m-gallery__photo:nth-child(1),
.m-gallery__photo:nth-child(6),
.m-gallery__photo:nth-child(7),
.m-gallery__photo:nth-child(12),
.m-gallery__photo:nth-child(13),
.m-gallery__photo:nth-child(18),
.m-gallery__photo:nth-child(19),
.m-gallery__photo:nth-child(24),
.m-gallery__photo:nth-child(25),
.m-gallery__photo:nth-child(30){
    width: 48%;
}

@media screen and (max-width: 989px) {
    .m-gallery__photo {
        width: 31% !important;
    }
}

@media screen and (max-width: 767px) {
    .m-gallery__photo {
        width: 48% !important;
    }
    .product-m-gallery__container {
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }
    .product-m-gallery__sort-buttons {
        width: 100%;
    }
}

@media screen and (max-width: 489px) {
    .product-m-gallery__container {
        gap: 0;
    }

    .product-m-gallery__sort-buttons {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-top: 25px;
		padding: 0 16px;
    }

    .product-m-gallery__sort-button {
        border-radius: 20px;
        width: 160px;
        height: auto;
        line-height: 40px;
        padding:  0 0; 
        width: 48%;
        border-bottom: 1px solid #fff;
        box-sizing: border-box;
        margin-bottom: 30px;
        box-shadow: 5px 5px 20px #bbb;
    }

    .m-gallery-sort-button__active {
        color: #fff;
        border-bottom: 1px solid #e63c32;
        background-color:  #e63c32;
    }

    .product-m-gallery__photos {
        margin-top: 25px;
        display: block;
        overflow-x: scroll;
        position: relative;
    }

    .product-m-gallery__photos::-webkit-scrollbar {
        display: none;
    }

    .scroll-gallery{
        width: max-content;
        margin-top: 0;
        flex-wrap: nowrap;
		padding-bottom: 20px;
    }

    

    .m-gallery__photo {
        width: 260px !important;
    }
	
	.m-gallery__photo video {
		object-fit: cover;
	}
    
}

/*ЛАЙТБОКС В МАСОНРИ ГАЛЕРИ*/

.lightbox {

    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	display: none; /* Скрыто по умолчанию */
}

.lightbox__content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 600px;
}

.lightbox__slides img,
.lightbox__slides video {
    width: 100%;
    height: auto;
}

.lb-details {
    display: none;
}
div.lightbox {
	top: 0 !important;
    display: flex;
    flex-direction: column-reverse;
}

.lb-closeContainer {
	position: relative;
}

.lightbox__close,
a.lb-close {
    position: absolute;
    top: -25px;
    right: -50px;
	width: 40px !important;
	height: 40px !important;
    font-size: 30px;
    color: white;
    cursor: pointer;
	z-index: 10000;
	background: url('/wp-content/uploads/close_white.svg') center no-repeat !important;
	background-size: cover !important;
}

.lightbox__prev, .lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(131, 131, 131, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
}

.lightbox__next {
    right: 10px;
}

.lightbox__prev {
    left: 10px;
}

.lb-prev {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	opacity: 1 !important;
}

.lb-next {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	opacity: 1 !important;
}

.lb-prev:before {
    display: block;
	content:'\1F814';
	font-size: 50px;
	color: #bebebe;
	opacity: 1 !important;
	line-height: 50px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
	padding: 5px;
	position: absolute;
	left: -75px;
}


.lb-next:before {
    display: block;
	content:'\1F816';
	font-size: 50px;
	line-height: 50px;
	color: #bebebe;
	opacity: 1 !important;
	background-color: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
	padding: 5px;
	height: auto;
	position: absolute;
	right: -75px;
}

div.uk-position-center-left {left: 5% !important;}
div.uk-position-center-right {right: 5% !important;}

div.uk-position-center-left svg {width: 60px !important; height: 60px !important; }
div.uk-position-center-right svg {width: 60px !important; height: 60px !important; }

div.uk-lightbox-items>div>img {
	max-width: 90% !important;
	max-height: 90% !important;
	border-radius: 16px !important;
}
/* *** END MASONRY GAL *** */

.single-product .main__second {
	height: auto !important;
}

.single-product .main__second>div.main__wraper._opacity {
	margin: 75px 0;
	height: auto !important;
}

.circle__img--wrap img {
	transform: scale(1);
}

@media (max-width:600px) {
	.circle__img--wrap img {
		transform: scale(1);
	}
}

/* *** START BECOME A DEALER SHORT FORM *** */

/* Dealers */

.page-wrapper._dealers {
  padding-top: 0;
}
.dealers-main__slider {
  background: black;
}
.dealers-main__slide {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dealers-main__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
 }
 .dealers-main__overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, #000 13.21%, rgba(0, 0, 0, 0.00) 100%);
  z-index: 1;
}
 .dealers-main__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 50px;
 }
 .dealers-main__form {
  padding: 45px 45px 60px;
  background: white;
  border-radius: 15px;
  width: 460px;
  margin-right: 90px;
 }
 .dealers-main__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
 }
 .dealers-main__title {
  position: relative;
  font-family: 'CeraPRO-Regular';
  font-size: 48px;
  font-style: normal;
  line-height: normal;
  color: white;
  margin-top: 15px;
  margin-bottom: 35px;
 }
 .dealers-main__title::after {
  position: absolute;
  content: '';
  background: #E63D33;
  height: 3px;
  width: calc(100% + 6px);
  bottom: -5px;
  left: -3px;
 }
 .dealers-main__text {
  font-size: 26px;
  color: white;
  font-family: 'Montserrat-Light';
  line-height: normal;
 }
 .dealers-main__text b {
  font-family: 'CeraPRO-Bold';
 }
 .dealers-main__info {
position: absolute;
    left: 48%;
    bottom: calc((100vh - 610px) / 2);
    width: fit-content;
    height: 80px;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
 }
 .dealers-main__pagination {
  margin-left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
 }
 .dealers-main__pagination .swiper-pagination-bullet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: white;
  width: 110px;
  height: auto;
  background: transparent;
  margin-right: 15px;
  opacity: 0.5;
 }
 .dealers-main__pagination .swiper-pagination-bullet-active {
  opacity: 1;
 }
 .dealers-main__pagination .swiper-pagination-bullet::before {
  position: absolute;
  content: '';
  top: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgb(211, 216, 222);
 }
 .dealers-main__pagination .swiper-pagination-bullet-active::before {
  background: #E63D33;
 }
 .dealers-main__pagination .swiper-pagination-bullet span:nth-child(1) {
  font-size: 22px;
  font-family: 'CeraPRO-Bold';
  margin-bottom: 10px;
 }
 .dealers-main__pagination .swiper-pagination-bullet span:nth-child(2) {
  font-size: 16px;
  font-family: 'Montserrat-Light';
  max-width: 80px;
 }

.dealers-main__slide .container{
	max-width: 1240px;
	padding: 0 16px; 
}

#wpcf7-f34532-o1 form .form_info_wrap,
#wpcf7-f34532-o2 form .form_info_wrap,
#wpcf7-f34532-o3 form .form_info_wrap,
#wpcf7-f34532-o4 form .form_info_wrap,
#wpcf7-f34532-o5 form .form_info_wrap,
#wpcf7-f34532-o6 form .form_info_wrap,
#wpcf7-f29372-o1 form .form_info_wrap,
#wpcf7-f29372-o2 form .form_info_wrap,
#wpcf7-f29372-o3 form .form_info_wrap,
#wpcf7-f29372-o4 form .form_info_wrap,
#wpcf7-f29372-o5 form .form_info_wrap,
#wpcf7-f29372-o6 form .form_info_wrap {
    display: flex !important;
    gap: 10px !important;
    flex-direction: column !important;
}

#wpcf7-f34532-o1 form .acceptance,
#wpcf7-f34532-o2 form .acceptance,
#wpcf7-f34532-o3 form .acceptance,
#wpcf7-f34532-o4 form .acceptance,
#wpcf7-f34532-o5 form .acceptance,
#wpcf7-f34532-o6 form .acceptance,
#wpcf7-f29372-o1 form .acceptance,
#wpcf7-f29372-o2 form .acceptance,
#wpcf7-f29372-o3 form .acceptance,
#wpcf7-f29372-o4 form .acceptance,
#wpcf7-f29372-o5 form .acceptance,
#wpcf7-f29372-o6 form .acceptance {
	margin-top: 0;
    gap: 0;
}	

#wpcf7-f34532-o1 form .form_contact_information,
#wpcf7-f34532-o2 form .form_contact_information,
#wpcf7-f34532-o3 form .form_contact_information,
#wpcf7-f34532-o4 form .form_contact_information,
#wpcf7-f34532-o5 form .form_contact_information,
#wpcf7-f34532-o6 form .form_contact_information,
#wpcf7-f29372-o1 form .form_contact_information,
#wpcf7-f29372-o2 form .form_contact_information,
#wpcf7-f29372-o3 form .form_contact_information,
#wpcf7-f29372-o4 form .form_contact_information,
#wpcf7-f29372-o5 form .form_contact_information,
#wpcf7-f29372-o6 form .form_contact_information {
	max-width: 100%;
	gap: 20px;
}

#wpcf7-f34532-o1 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f34532-o2 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f34532-o3 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f34532-o4 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f34532-o5 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f34532-o6 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o1 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o2 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o3 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o4 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o5 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip,
#wpcf7-f29372-o6 form .wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #E63D33;
	font-size: 12px;
}

#wpcf7-f34532-o1 form .uacf7-form-29372,
#wpcf7-f34532-o2 form .uacf7-form-29372,
#wpcf7-f34532-o3 form .uacf7-form-29372,
#wpcf7-f34532-o4 form .uacf7-form-29372,
#wpcf7-f34532-o5 form .uacf7-form-29372,
#wpcf7-f34532-o6 form .uacf7-form-29372,
#wpcf7-f29372-o1 form .uacf7-form-29372,  
#wpcf7-f29372-o2 form .uacf7-form-29372,
#wpcf7-f29372-o3 form .uacf7-form-29372,
#wpcf7-f29372-o4 form .uacf7-form-29372,
#wpcf7-f29372-o5 form .uacf7-form-29372,
#wpcf7-f29372-o6 form .uacf7-form-29372 {
	gap: 5px;
} 

#wpcf7-f34532-o1 form .form-sub_text,
#wpcf7-f34532-o2 form .form-sub_text,
#wpcf7-f34532-o3 form .form-sub_text,
#wpcf7-f34532-o4 form .form-sub_text,
#wpcf7-f34532-o5 form .form-sub_text,
#wpcf7-f34532-o6 form .form-sub_text,
#wpcf7-f29372-o1 form .form-sub_text,
#wpcf7-f29372-o2 form .form-sub_text,
#wpcf7-f29372-o3 form .form-sub_text,
#wpcf7-f29372-o4 form .form-sub_text,
#wpcf7-f29372-o5 form .form-sub_text,
#wpcf7-f29372-o6 form .form-sub_text {
	margin-top: 5px;
}

#wpcf7-f34532-o1 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f34532-o2 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f34532-o3 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f34532-o4 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f34532-o5 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f34532-o6 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o1 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o2 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o3 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o4 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o5 form .acceptance .wpcf7-form-control-wrap,
#wpcf7-f29372-o6 form .acceptance .wpcf7-form-control-wrap {
    height: 15px;
}

#wpcf7-f34532-o1 form .submit,
#wpcf7-f34532-o2 form .submit,
#wpcf7-f34532-o3 form .submit,
#wpcf7-f34532-o4 form .submit,
#wpcf7-f34532-o5 form .submit,
#wpcf7-f34532-o6 form .submit,
#wpcf7-f29372-o1 form .submit,
#wpcf7-f29372-o2 form .submit,
#wpcf7-f29372-o3 form .submit,
#wpcf7-f29372-o4 form .submit,
#wpcf7-f29372-o5 form .submit,
#wpcf7-f29372-o6 form .submit {
    display: inline-flex;
    padding: 20px 70px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #E63D33;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 300;
    line-height: 32px;
    margin-top: 15px;
    width: 100%;
	border-radius: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 50px;
}

#wpcf7-f34532-o1 form .wpcf7-response-output,
#wpcf7-f34532-o2 form .wpcf7-response-output,
#wpcf7-f34532-o3 form .wpcf7-response-output,
#wpcf7-f34532-o4 form .wpcf7-response-output,
#wpcf7-f34532-o5 form .wpcf7-response-output,
#wpcf7-f34532-o6 form .wpcf7-response-output,
#wpcf7-f29372-o1 form .wpcf7-response-output,
#wpcf7-f29372-o2 form .wpcf7-response-output,
#wpcf7-f29372-o3 form .wpcf7-response-output,
#wpcf7-f29372-o4 form .wpcf7-response-output,
#wpcf7-f29372-o5 form .wpcf7-response-output,
#wpcf7-f29372-o6 form .wpcf7-response-output {
    margin: 10px 0 !important;
    font-size: 12px !important;
}

@media only screen and (max-width:1100px)  {
    .dealers-main__form__title {
        font-size: 35px;
    }
    .dealers-main__form {
        padding: 20px 25px !important;
    }
}

@media only screen and (max-width:768px) {

    .dealers-main__slide {
        height: auto !important;
    }
    .dealers-main__form {
        display: block !important;
        margin-bottom: 100px;
    }
    .dealers-main__content {
        flex-direction: column-reverse  !important;
        gap: 30px !important;
    }
    .become_a_partner {
        display: none !important;
    }
}