.hidden {
    display: none;
}

.top-menu-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  overflow: hidden;
  height: 92px; }

.top-menu-more {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 90px;
  padding-top: 12px;
  padding-bottom: 10px;
  cursor: pointer; }

.top-menu-more__img {
  width: 45px;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 8px; }

.top-menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap; }

.top-menu-more__title {
  font-size: 12px;
  font-weight: 600;
  text-align: center; }

.top-menu__item {
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s; }
  .top-menu__item.hover {
    background: #F5F7F7; }

.top-menu__link {
  display: block;
  padding-top: 12px;
  padding-bottom: 10px;
  width: 90px;
  color: inherit; }

.top-menu__item-ico {
  margin-bottom: 8px; }
  .top-menu__item-ico img {
    display: block;
    margin-left: auto;
    margin-right: auto; }

.top-menu__item-title {
  font-weight: 600;
  text-align: center;
  font-size: 12px; }

.sub-menu-wrap {
  position: relative; }

.sub-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  display: none;
  padding-top: 10px; }
  .sub-menu.is-show {
    display: block; }

.sub-menu__content {
  background: #fff;
  padding: 30px;
  -webkit-box-shadow: 0 8px 32px rgba(23, 29, 31, 0.16);
          box-shadow: 0 8px 32px rgba(23, 29, 31, 0.16);
  -webkit-border-radius: 8px;
          border-radius: 8px;
  border: 1px solid #66A2B4;
  padding-bottom: 14px; }

.sub-menu__corner {
  width: 48px;
  height: 18px;
  background: url("/image/menu/corner.svg") no-repeat;
  position: absolute;
  top: -7px;
  left: 20px;
  z-index: 1; }

.sub-menu__top {
  margin-bottom: 28px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center; }

.sub-menu__line {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-left: 28px;
  margin-right: 28px;
  height: 1px;
  background: #E1E4E6; }

.sub-menu__title {
  font-family: 'Open Sans bold', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px; }

.sub-menu__all-link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 12px 16px;
  padding-right: 20px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 600;
  color: #000;
  background: #F5F7F7;
  -webkit-border-radius: 6px;
          border-radius: 6px;
  font-size: 14px;
  line-height: 16px;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s; }
  .sub-menu__all-link:hover {
    background: transparent; }
  .sub-menu__all-link svg {
    display: block;
    margin-left: 12px; }

.sub-menu__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px; }

.sub-menu__item {
  width: 25%;
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
  position: relative; }

.sub-menu__item--right {
  margin-left: auto; 
  max-height: 200px;
  }

.sub-menu__item-title {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: #9DA2A3;
  font-family: 'Open Sans bold', sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 12px; }
  .sub-menu__item-title:hover {
    color: #000; }
  .sub-menu__item-title svg {
    display: block;
    margin-left: 16px; }

span.sub-menu__item-title:hover {
  color: #9DA2A3; }

.sub-menu__nav-link {
  display: block;
  height: 32px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 32px;
  background: #F5F7F7;
  -webkit-border-radius: 6px;
          border-radius: 6px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #000;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s; }
  .sub-menu__nav-link:last-child {
    margin-bottom: 0; }
  .sub-menu__nav-link:hover {
    background: #66A2B4;
    color: #fff; }

.sub-menu__pic {
  height: 100%; }
  .sub-menu__pic img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-box-shadow: 0px 4px 16px rgba(23, 29, 31, 0.24);
            box-shadow: 0px 4px 16px rgba(23, 29, 31, 0.24);
    -webkit-border-radius: 10px;
            border-radius: 10px; }
			
.youtube_button
{
	display: block;
    position: absolute;
    right: 1px;
    top: 52px;
	z-index:1000;
}

@media (min-width: 64em) {
	.youtube_button {
		display: block;
		position: absolute;
		right: 1px;
		top: 16px; }
}

.kit_slide
{
	display:none;
}

.kit_slide_button
{
	color: lightseagreen;
    font-weight: bold;
    margin-top: 0.5em;
    margin-left: 2em;
	margin-bottom: 0.5em;
    cursor: pointer;
}

.filter__block__arrow
{
	cursor:pointer;
}

.active
{
	font-weight: bold;
}

#youtube_popup_container{
    position: fixed;
    top: 50vh;
    left: 40px;
    width: 261px;
    height: 211px;
    border-radius: 16px;
    padding: 26px;
    background: #1C232B;
    /* border: 1px solid lightblue; */
    z-index: 99;
    display: none;
}

.youtube_popup_text
{
    font-size: 14px;
    line-height: 17.36px;
    margin-top: 20px;
	padding-left: 10px;
    font-weight: 600;
	color: #fff;
}

.youtube_popup_button
{
    /* height: 40px; */
    /* background: red; */
    /* border-radius: 20px; */
    color: #fff;
    text-align: center;
    padding-top: 0.5em;
    margin-top: 1em;
    font-size: 14px;
    /* line-height: 24px; */
	
	border: 1px solid #0000;
    border-radius: 6px;
	background: #00A1E7;
	/* font-size: 12px; */
    font-weight: 600;
    line-height: 18px;
    min-width: 68px;
    padding: 11px 16px;
}
}

.youtube_popup_button:hover
{
    background:#CD201F;
}

.youtube_close_button
{
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
}

.youtube_close_button:hover
{
    opacity: 0.5;
}

.lSPrev
{
    z-index: 0 !important;
}

.catalog-container-outer {
		padding: 20px 0;
	}
	.catalog-container {
		display: flex;
		flex-wrap: wrap;
		border-left: 1px solid #dadada;
		margin: 20px 0;
	}
	.catalog-item {
		width: 25%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		border: unset;
		border-bottom: 1px solid #dadada;
		border-right: 1px solid #dadada;
		border-top: 1px solid #dadada;
		position: relative;
		background: #fff;
	}
	.catalog-item:before {
		content: '';
		display: block;
		padding-top: 100%;
	}
	.catalog-item:hover {	
		transform: scale(1.02, 1.02);
		transition: all 0.1s ease-in-out 0s;
		z-index: 10;
		box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
	}
	@media (max-width: 1200px) {
		.catalog-item {
			width: calc(100% / 3);
		}
	}	
	@media (max-width: 500px) {
		.catalog-item {
			width: 50%;
		}
	}
	.catalog-item-content {
		position: absolute;
		width: 100%;
		margin-left: -7px;
		color: black;
	}
	.catalog-item-text {	
		padding: 5px 0;
		font-weight: bold;
	}
	.catalog-item-image {
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		max-height: 120px;
		height: 120px;
		max-width: 100px;
		margin: 10px auto 10px;
	}
	.seo_tags {
		margin-bottom: 1em;
		margin-top: 1em;
		transition-duration: 0.3s;
	}
	
	.seo_tags .tag {
		display: inline-block;
		padding: 5px 15px;
		background: no-repeat;
		border-radius: 15px;
		cursor: pointer;
		margin-top: 10px;
		border: 1px solid #4fa4b6;
	}
	
	.seo_tags .tag a {
		text-decoration: none;
		color: rgb(108, 108, 108);
	}


.toggleSeoTags {
	max-height: 100% !important;
}
@media (max-width: 1023px) {
	.seo_tags {
		max-height: 6em;
		overflow: hidden;
	}
}
@media (min-width: 1024px) {
	.toggleSeoTags {
		max-height: 100%;
	}
}


.form-policy-text {
	text-decoration: none;
    color: #6a6a6a;
    font-size: 13px;
    margin-top: 10px;
}

.form-policy-text a {
	color: #6a6a6a;
	text-decoration: underline;
}

/*  slider styles on main page  */
	.owl-carousel-home-slider .item div {
		height: 430px;
		display: block;
		background-size: auto 100% !important;
		position: relative;
		max-width: 1440px;
		margin: 0 auto;
	}
	.owl-carousel-home-slider .item span {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-left: -100px;
		margin-top: -20px;
		width: 200px;
		text-align: center;
	}
	.green-btn {
		background: #91d1cf;
		border-radius: 5px;
		border: none;
		padding: 12px 25px;
		text-transform: uppercase;
		font-size: 12px;
		color: #333;
		box-shadow: 0 1px 0 0.1px #658344;
	}
	.owl-carousel-home-slider .owl-dots {
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translate(-50%);
		display: flex;
		align-items: center;
	}
	.owl-carousel-home-slider .owl-dots .owl-dot {
		display: inline-block;
		zoom: 1;
	}
	.owl-carousel-home-slider .owl-dots .owl-dot span {
		width: 32px;
		height: 4px;
		background: #fff !important;
		opacity: 0.48;
		margin: 14px 7px;
	}
	.owl-carousel-home-slider .owl-dots .owl-dot.active span {
		height: 8px;
		margin: 12px 7px;
	}
/*  end slider styles on main page  */


.whatsapp-icon {
	width: 30px;
	position: relative;
    top: -6px;
    width: 30px;
    margin-left: 19px;	
}

@media (max-width: 599px) {

	.header-icons {
		top: 4px;
	}
}

@media (max-width: 1023px) {
	.bars {
		margin-right: 6px;
	}
	.logo img {
		width: 120px;
	}
	.logo span {
		margin-left: 5px !important;
	}
	.header-icons {
		display: flex;
		left: 0;
	}
	.whatsapp-icon {
		top: 0;
	}
}

@media (min-width: 1024px) and (max-width: 1219px) {
	.logo span {
		margin-left: 5px !important;
		max-width: 133px !important;
	}	
	.btn_calc, .btn_calc2 {
		top: 20px;
	}
}

.text-reviews {
	padding-top: 50px;
	padding-bottom: 50px;
}

.text-review {
	border: 1px pink solid;
    padding: 20px;
    margin-top: 20px;
	background: #fff;
	outline: 5px solid #fff;
}

.text-review-data {
	display: flex;
	justify-content: space-between;
	padding-top: 20px;
    align-items: flex-end;
	font-weight: 700;
}

.text-review-rating::after {
	content: 'Оценка';
}

/* quiz */

    .step {
        display: none;
    }
	
	.step h2 {
		margin-bottom: 20px;
		margin-top: 10px;
	}
	
	.step .quiz-label {
		display: inline-block;
		margin-bottom: 10px;
	}
	
    .button-container {
        text-align: center;
        margin-top: 20px;
    }
	
    .button {
        cursor: pointer;
        background-color: #4caf50;
        color: white;
        padding: 10px 20px;
        display: inline-block;
        border-radius: 5px;
        margin-right: 10px;
    }
	
    .button.disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
	
	.quiz-button-container {
		text-align: center;
	}
	
    .quiz-button {
        cursor: pointer;
        /*background-color: #f44336;*/
		background-color: #5aaa51;
        color: white;
        padding: 15px 30px;
		margin-bottom: 20px;
        border-radius: 10px;
        text-align: center;
		display: inline-block;
		transition: opacity 0.3s ease-in-out;
    }
	
    .quiz-button:hover {
        opacity: 0.8;
    }
	
    #form-popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
	
    .popup-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
		width: 90%;
		max-width: 500px;
    }
	
	.progress-container {
		width: 100%;
		height: 20px;
		background-color: #ccc;
		border-radius: 4px;
	}
	
	.progress-bar {
		width: 0;
		height: 100%;
		background-color: #4caf50;
		border-radius: 4px;
		transition: width 0.3s ease;
		text-align: right;
		padding-left: 2px;
		padding-right: 10px;
		line-height: 20px;
		color: #fff;
		font-weight: bold;
	}

/* quiz end */

/* descr */

.descr-container .descr-text {
	line-height:1.38;
	margin-top:0pt;
	margin-bottom:0pt;
}

.descr-container .descr-text-2 {
	background-color: transparent;
	font-size: 16pt;
	white-space: pre-wrap;
}

.descr-container .descr-p-style {
	background-color: transparent;
	font-size: 11pt;
	white-space: pre-wrap;
}

.descr-container .descr-p-span-style {
	font-size: 11pt;
	background-color: transparent;
	font-variant-numeric: normal;
	font-variant-east-asian: normal;
	vertical-align: baseline;
	white-space: pre-wrap;
}

.descr-container .descr-ol-style {
	margin-top:0;
	margin-bottom:0;
	padding-inline-start:48px;
}

.descr-container .descr-li-style {
	list-style-type:decimal;
	font-size:11pt;
	font-family:'Open Sans',sans-serif;
	color:#000000;
	background-color:transparent;
	font-weight:400;
	font-style:normal;
	font-variant:normal;
	text-decoration:none;
	vertical-align:baseline;
	white-space:pre;
}

.descr-container .descr-li-text {
	list-style-type:decimal;
	font-size:11pt;
	font-family:'Open Sans',sans-serif;
	color:#000000;
	background-color:transparent;
	font-weight:400;
	font-style:normal;
	font-variant:normal;
	text-decoration:none;
	vertical-align:baseline;
	white-space:pre;
}

.descr-container .descr-li-text-span {
	font-size:11pt;
	font-family:'Open Sans',sans-serif;
	color:#000000;
	background-color:transparent;
	font-weight:400;
	font-style:normal;
	font-variant:normal;
	text-decoration:none;
	vertical-align:baseline;
	white-space:pre;
	white-space:pre-wrap;
}

.sitemap-container .row {
	display: flex;
}
.sitemap-container .row a {
	color: #2a2a2a;
	text-decoration: none;
}
.sitemap-container .row h1 {
	margin-bottom: 10px;
}
.sitemap-container .col-sm-12 {
	width: 100%;
}
.sitemap-container .col-sm-6 {
	display: flex;
	justify-content: center;
	width: 50%;
}

@media (max-width: 767px) {
	.sitemap-container .row {
		flex-direction: column;
	}
	.sitemap-container .col-sm-6 {
		width: 100%;
	}
}

 /* product card */
 
.product-item__order-button {
    margin-top: 10px;
    min-height: 40px;
	min-width: 80px;
    background-color: #ff5733;
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: relative;
}

.product-item__order-button::after {
    content: "Заказать";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-item:hover .product-item__order-button {
    opacity: 1;
}

.product-item:hover .product-item__order-button:hover {
    opacity: 0.8;
}

.order-buttons-container {
	display: flex;
	gap: 13px;
	text-align: center;
}

@media (max-width: 1023px) {
	.order-buttons-container {
		flex-direction: column;
		gap: 0;
	}
}

.order-buttons-order-button {
	font-size: 12px;
	font-weight: bold;
	padding: 15px 30px;
    margin-bottom: 20px;
    margin-top: 0;
	min-width: 80px;
    background-color: #ff5733;
	border-radius: 30px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.order-buttons-order-button,
.order-buttons-container a {
	transition: opacity 0.3s ease-in-out;
}

.order-buttons-container button:hover,
.order-buttons-container a:hover {
	opacity: 0.8;
}

/* descpiption see all button */

.elite-mebel-button {
	display: flex;
	justify-content: center;
	text-align: center;
}

.elite-mebel-button a {
    margin-top: 10px;
    min-height: 50px;
	min-width: 250px;
    background-color: #fe8267;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    position: relative;
	border-radius: 10px;
	transition: opacity 0.3s ease-in-out;
}

.elite-mebel-button a:hover {
    opacity: 0.8;
}

.elite-mebel-button a::after {
    content: "Смотреть все варианты";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 100%;
}

/* category reviews */

.category-reviews-button {
	display: flex;
	justify-content: center;
	text-align: center;
}

.category-reviews-button button {
    margin-top: 10px;
    min-height: 50px;
	min-width: 250px;
    background-color: #fe8267;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
	border-radius: 10px;
	transition: opacity 0.3s ease-in-out;
}

.category-reviews button:hover {
    opacity: 0.8;
}


/* questions and answers */

.container-qna {
	margin: 80px 0 150px;
}

.item-qna {
	border-radius: 10px;
	background: #fafafa;
	transition: all .15s ease-in;
}

.item-qna:hover {
	background: #f6f6f6;
	box-shadow: 0px 0px 19px 0px rgba(34, 60, 80, 0.2);
}

.question-qna {
    display: flex;
    justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding: 15px;
	cursor: pointer;
	border-radius: 10px;
	background: #f2f2f5;
	font-weight: bold;	
	transition: all .15s ease-in;
}

.item-qna:hover .question-qna {
	background: #fafafa;
}

.answer-qna {
    display: none;
	padding: 10px 15px;
}

.cap-qna {
	height: 32px;
	width: 32px;
	margin-right: 10px;
	transition: transform 0.15s;
    background: #fff;
    border-radius: 50%;
}

.flip {
	transform: rotate(-180deg);
}

.text-main-cat-toggle {
	height: 160px;
	overflow: hidden;
}

.text-main-cat-button {
	display: flex;
	justify-content: flex-end;
	padding: 15px 20px 30px 0;
}

.text-main-cat-button button {
    margin-top: 10px;
    min-height: 50px;
	min-width: 250px;
    background-color: #fc7c61;
    color: #fff;
    border: none;
    cursor: pointer;
	border-radius: 10px;
	transition: opacity 0.3s ease-in-out;
}

.tg-chat-icon {
	margin-left: 2px;
}

.list-group-item {
	padding-right: 8px;
}

/* categories slider on main */

#category-carousel .owl-nav {
    position: absolute;
    top: -20px;
    right: 12px;
    z-index: 10;
	margin-top: 0;
}

#category-carousel .owl-nav button .fa-chevron-left:before, 
#category-carousel .owl-nav button .fa-chevron-right:before {
    font-size: 24px;
}

#category-carousel .owl-nav button {
	color: #bebebe;
	transition: all 0.15s ease;
}

#category-carousel .owl-nav button:hover {
	color: #000;
	background: unset;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*position: absolute;
    top: 0;
    left: 0;
    z-index: 1;*/
}

.category-slide {
    padding: 20px;
	font-size: 16px;
	font-weight: 400;
    color: #000;
}

.category-slide:hover .overlay {
    opacity: 0;
}

.category-slide:hover .subcategory-list {
    opacity: 1;
}

.category-slide a {
    color: #000;
}

.category-slide a:hover {
    color: #989494;
}

.category-slide h3 {
	text-align: left;
}

.subcategory-container {
    position: relative;
}

.subcategory-list {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
	opacity: 0;
	position: relative;
    z-index: 2;
}

.subcategory-list ul {
    list-style: none;
    padding: 0;
}

.subcategory-list ul li {
    margin-bottom: 5px;
}

/* categories text on item hover */

.product-item__image {
    position: relative;
    width: 100%;
    display: inline-block;
	max-height: 260px;
	/* background: #e9e9e9; */
}

.product-item__image img {
    display: block;
    width: 100%;
	height: 250px;
    width: auto;
    margin: auto;
}

.product-item__image .overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item__image .overlay-text::before {
    content: attr(data-text);
    /* color: #fff; */
    /* font-size: 14px; */
    /* text-align: left; */
    /* display: block; */
    /* padding: 10px; */
}

.product-item__image:hover .overlay-text {
    opacity: 1;
	color: #fff;
    font-size: 14px;
    text-align: left;
}


.search_form input, .search_form select, .search_form button{
    height: 3em;
    border-radius: 5px;
    padding: 0.5em;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.search_form {
	display: flex;
    justify-content: center;
    flex-wrap: wrap;	
}

@media (max-width: 500px) {
	.search_form input, .search_form select, .search_form button{
		width: 100%;
        margin-bottom: 0.5em;
	}
}


/* Лендинги */

.landing-page {
	padding-bottom: 20px;
}

.grandchild-categories {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
	margin-top: 0;
}

.grandchild-categories .col-md-4 {
    padding: 10px;
    flex: 1 1 25%;
	max-width: 25%;
    box-sizing: border-box;
    text-align: center;
}

.grandchild-categories img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.4s ease;
}

.grandchild-categories a:hover img {
    transform: scale(1.03);
}

.grandchild-categories div {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.grandchild-categories a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 992px) {
    .grandchild-categories .col-md-4 {
        flex: 1 1 33%;
		max-width: 33%;
    }
}

@media (max-width: 767px) {
    .grandchild-categories .col-md-4 {
        flex: 1 1 50%;
		max-width: 50%;
    }
}

@media (max-width: 480px) {
    .grandchild-categories .col-md-4 {
        flex: 1 1 100%;
		max-width: 100%;
    }
}

.landing_form_top {
	
}

.landing-form_container {
	display: flex;
	flex-direction: column;
	padding: 20px;
	/* border: 1px solid rgba(42, 42, 42, 0.5); */
	margin: 30px 0px;
    text-align: center;
	color: #2a2a2a;
	background-color: #fafafb;
}

.landing-form_title {
	font-size: 30px;
	line-height: 1.8;
	font-family: 'Oranienbaum', serif;
}

.landing-form_subtitle {
	font-size: 16px;
    line-height: 1.5;
	/* font-family: 'Oranienbaum', serif; */
}

.landing-form_fields {
	/* display: flex; */
	/* align-items: flex-end; */
	margin-top: 20px;
	width: 100%;
}

.landing-form_input,
.landing-form_btn {
	width: 30%;
	margin: 0 4px 10px;
}

.landing-form_input {
	display: inline-flex;
	flex-direction: column;
	text-align: left;
}

.landing-form_input span {
    font-size: 14px;
    font-family: 'Open Sans bold', sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
}

.landing-form_input input {
	padding: 0 20px;
	font-size: 15px;
	height: 40px;
}

.landing-form_btn {
	display: inline-block;
    vertical-align: bottom;
	min-height: 40px;
	cursor: pointer;
	font-size: 14px;
}

.telegram-btn {
	display: flex;
    align-items: center;
    justify-content: center;
	align-self: center;
	background-color: rgb(36, 161, 222);
	border: 1px solid rgb(33, 154, 213);
	color: #fff;
	/* padding: 12px 20px; */
}

.telegram-btn:hover {
	/* background-color: rgb(33 154 213); */
	opacity: 0.8;
}

.landing-captcha {
	display:flex;
	justify-content: center;
	margin-top: 10px;
	margin-bottom: 20px;
}

.landing_form_bottom .landing-form_container {
	margin: 30px 0;
}

@media (max-width: 767px) {
	.landing-form_fields {
		display: flex;
		flex-direction: column;
	}
    .landing-form_input,
	.landing-form_btn {
        width: 100%;
    }
	.landing-form_btn {
		margin-top: 10px;
	}
	.landing-captcha {
		width: 100%;
	}
	
	/*наши работы*/
	.row.clearfix {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Плавность на iOS */
        scroll-snap-type: x mandatory;   /* "Прилипание" карточек при скролле */
        padding-bottom: 15px;           /* Место для скроллбара */
        margin-left: 0;
        margin-right: 0;
    }

    /* 2. Настраиваем ширину карточек */
    .row.clearfix [class*="col-phablet"], 
    .row.clearfix [class*="col-tablet"] {
        flex: 0 0 85%;                 /* Карточка занимает 85% ширины, остаток намекает на следующую */
        max-width: 85%;
        margin-right: 15px;
        scroll-snap-align: start;
        display: block !important;     /* Показываем скрытые для планшетов элементы */
    }

    /* 3. Убираем лишние распорки (clearfix), которые ломают flex-ряд */
    .row.clearfix .clearfix {
        display: none !important;
    }

    /* 4. Скрываем стандартный некрасивый скроллбар */
    .row.clearfix::-webkit-scrollbar {
        height: 4px;
    }
    .row.clearfix::-webkit-scrollbar-thumb {
        background: #4fa4b6; /* Цвет вашего бренда из кода выше */
        border-radius: 10px;
    }
	
	/*наши категории*/
	.grandchild-categories.row {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important; /* Запрещаем перенос на новую строку */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px; /* Отступ для удобства */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Настраиваем ширину элементов внутри */
    .grandchild-categories.row .col-md-4 {
        flex: 0 0 45%; /* Показываем 2 полных категории и кусочек третьей */
        max-width: 45%;
        scroll-snap-align: start;
        margin-right: 10px;
    }

    /* Убираем лишние отступы и центрируем текст */
    .grandchild-categories.row .col-md-4 a {
        display: block;
        text-align: center;
        text-decoration: none;
    }

    .grandchild-categories.row .col-md-4 img {
        border-radius: 8px; /* Немного скруглим углы для красоты */
        margin-bottom: 8px;
        width: 100%;
        height: auto;
    }

    /* Прячем стандартный скроллбар для чистоты дизайна */
    .grandchild-categories.row::-webkit-scrollbar {
        display: none;
    }
	
}


.landing_form_top {
    padding: 60px 50px;
	margin-bottom: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.landing_form_top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.landing-form-top_container {
    background-color: unset;
	margin: 0;
	padding: 0;
}

.landing-form-top_inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.landing-form-top_left {
    max-width: 600px;
    color: #fff;
	padding-top: 50px;
	z-index: 2;
}

.landing-form-top_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
	color: #fff;
	text-align: left;
}

.landing-form-top_subtitle {
    font-size: 20px;
	font-weight: 500;
	text-align: left;
}

.landing-form-top_right {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
	z-index: 2;
    text-align: center;
}

.landing_form_top .landing-form_fields {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
	margin-top: 0;
}

.landing_form_top .landing-form_title {
	line-height: 1.5;
}

.landing_form_top .landing-form_subtitle {
	line-height: 1.2;
	margin-bottom: 10px;
}

.landing_form_top .landing-form_input,
.landing_form_top .landing-form_btn {
    width: 100%;
	margin: 0 0 10px;
}

.landing_form_top .landing-form_fields .landing-form_btn {
    background-color: #ff5733;
    color: #fff;
	font-weight: 500;
    border: 0;
}

.landing_form_top .landing-form_fields .landing-form_btn:not(:disabled):hover {
    opacity: 0.8;
}

.landing_form_top .telegram-btn {
    margin-top: 10px;
}

.landing_form_top .form-policy-text {
    /* font-size: 12px; */
}

@media (max-width: 991px) {
	.landing_form_top {
		padding: 60px 20px;
	}
	.landing-form-top_left {
		padding-top: 30px;
	}
	.landing-form-top_title {
		font-size: 40px;
	}
	.landing-form-top_subtitle {
		font-size: 18px;
		font-weight: 400;
	}
}

@media (max-width: 768px) {
    .landing_form_top {
        padding: 40px 15px;
		margin-top: 0;
    }
	.landing_form_top::before {
		background: linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.7) 0%,
			rgba(0, 0, 0, 0.5) 30%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%
		);
	}
    .landing-form-top_inner {
        flex-direction: column;
        align-items: stretch;
		gap: 28px;
    }
    .landing-form-top_left {
        text-align: center;
        max-width: 100%;
		padding-top: 0;
    }
    .landing-form-top_right {
        max-width: 100%;
    }
	
	/*стили для чата*/
	#jivo_action, 
    [class*="wrap__mirQH"] {
        display: none !important;
        visibility: hidden !important;
    }
	
    /*запрещаем виджету раскрываться на весь экран без клика */
    #jcont:not([class*="_OPEN_WIDGET"]) {
        max-height: 80px !important;
        overflow: hidden !important;
    }
	
	
}

.landing-form_input input.input-error {
	border: 1px solid #e74c3c !important;
	background: #fff5f5;
	border-radius: 2px;
}

.landing_form_top .alert-danger,
.landing_form_top .alert-success {
    font-weight: 500;
    font-size: 14px;
}

.landing-form_btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
