.chat__content-form textarea {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 16px 20px;
    background: #fff3;
    border-radius: 10px
}

.error_text {
    display: none;
    color: red;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

#chbx {
    transition: all .3s ease-in-out;
}

.application__text-title.success-text {
	font-size: 23px;
	display: none;
	width: 100%;
	justify-content: center;
	align-items: center;
}

@media (max-width: 1024px) {
	.application__text-title.success-text {
		font-size: 15px;
	}
}

.reviews .btn {
	display: flex !important;
}

.reviews .group {
	justify-content: space-between;
}

.loader-wrap {
	position: fixed;
	width: 100%;
	min-width: 100%;
	height: 100%;
	min-height: 100%;
	top: 0;
	left: 0;
	z-index: 10000 !important;
	background-color: rgba(255, 255, 255, 0.75);
	display: flex;
	justify-content: center;
	align-items: center;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid #fff;
	border-bottom-color: var(--primary);
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn {
	cursor: pointer;
}

.product-info .text-h1 .order {
    -webkit-transform: translate(5px, -8px);
    -ms-transform: translate(5px, -8px);
    transform: translate(5px, -8px);
    padding: 8px 12px;
    font-weight: 500;
    font-size: 16px;
    font-family: var(--font-secondary);
    color: #707070;
    background: #e3e9e2;
    border-radius: 5px;
    display: inline-block;
}

.office__info-colors-list img{
    cursor:pointer;
}

.office__img {
    max-height: 490px;
    position: relative;
}

.project .swiper-navigation {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
	position: absolute;
	z-index: 4;
	top: 50%;
}

/*.project__swiper-container {*/
/*	width: 100%;*/
/*	display: flex;*/
/*	flex-direction: column;*/
/*}*/

.project .swiper-btn {
	padding: 0 8px;
}

.project .swiper-btn.btn-next {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.markers__item-content {
	z-index: 99;
}

.markers__item-title {
	text-decoration: underline;
}

.custom-menu-class {
	display: grid;
    gap: 8px;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
    justify-items: center;
}

.custom-menu-class a {
	display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.custom-menu-class span {
	max-width: 135px;
    width: 100%;
    text-align: center;
}

.custom-menu-class li {
	max-width: 200px;
	width: 100%
}

@media (max-width: 1280px) {
	.custom-menu-class {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 1020px) {
	.custom-menu-class {
		grid-template-columns: repeat(4, 1fr);
		width: 100%;
	}
}

@media (max-width: 768px) {
	.custom-menu-class {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 425px) {
	.custom-menu-class {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.custom-menu-class li, .custom-menu-class span {
		max-width: unset;
	}
}

@media screen and (max-width: 1279px) {
    .header__menu .menu>.menu-item>p {
        padding: 6px 10px;
        margin-left: -10px;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        color: #ffffffe7;
        font-size: 15px;
        font-weight: 600;
        line-height: 154%;
        letter-spacing: .01em;
        text-transform: uppercase;
        background: transparent;
        border-radius: 4px;
        -webkit-transition: var(--transition-ease);
        transition: var(--transition-ease);
        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;
        gap: 10px;
    }
}

@media screen and (max-width: 1279px) {
    .header__menu .menu>.menu-item:hover>p {
        color: #fff;
        background: #fff3;
    }
}

.project .swiper-btn.btn-next:after, .project .swiper-btn.btn-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: #d9d9d9;
}

.project .swiper-btn.btn-next, .project .swiper-btn.btn-prev {
    position: absolute;
    top: 47%;
    width: calc(var(--swiper-navigation-size) / 44* 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.project .swiper-btn.btn-prev {
	left: var(--swiper-navigation-sides-offset, 10px);
    right: auto;
}

.project .swiper-btn.btn-next {
	right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}

.project .swiper-btn.btn-prev:after, .project .swiper-rtl .swiper-btn.btn-next:after {
    content: 'prev';
}

.project .swiper-btn.btn-next:after, .project .swiper-rtl .swiper-btn.btn-prev:after {
    content: 'next';
}



.office__wrapper .cabinet-slider.btn-next:after, .office__wrapper .cabinet-slider.btn-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: #d9d9d9;
}

.office__wrapper .cabinet-slider.btn-next, .office__wrapper .cabinet-slider.btn-prev {
    position: absolute;
    top: 47%;
    width: calc(var(--swiper-navigation-size) / 44* 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.office__wrapper .cabinet-slider.btn-prev {
	left: var(--swiper-navigation-sides-offset, 10px);
    right: auto;
}

.office__wrapper .cabinet-slider.btn-next {
	right: var(--swiper-navigation-sides-offset, 10px);
    left: auto;
}

.office__wrapper .cabinet-slider.btn-prev:after, .office__wrapper .swiper-rtl .cabinet-slider.btn-next:after {
    content: 'prev';
}

.office__wrapper .cabinet-slider.btn-next:after, .office__wrapper .swiper-rtl .cabinet-slider.btn-prev:after {
    content: 'next';
}

.menu p {
    display: none;
}

@media (max-width: 1280px) {
    .menu p {
        display: flex;
    }
    .menu:not(.custom-menu-class) .menu-item-has-children>a {
        display: none!important;
    }

}

.title-search-result {
    width: 220px !important;
}

.header [data-btn=search] .search input:last-child {
    border-right: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.header [data-btn=search] .search input:last-child:hover {
    background-color: #edf1f3;
}

.header [data-btn=search] .search input:first-child {
    border-right: 1px solid rgba(0, 0, 0, .1);
}

div.bx-auth {
    margin-left: auto;
    margin-right: auto;
}

.bx-system-auth-form, .bx-auth-reg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bx-auth-reg {
    flex-direction: column;
}

.bx-system-auth-form form{
    width: 320px;
}

.bx-system-auth-form table input[type="text"],
.bx-system-auth-form table input[type="password"],
.bx-system-auth-form table input[type="submit"],
.bx-auth-reg table input[type="text"],
.bx-auth-reg table input[type="password"],
.bx-auth-reg table input[type="submit"],
div.bx-auth table input[type="text"],
div.bx-auth table input[type="password"],
div.bx-auth table input[type="submit"] {
    padding: 10px;
    width: 220px;
    height: 100%;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 6px;
    margin-bottom: 8px;
}

.bx-auth-reg table input[type="text"],
.bx-auth-reg table input[type="password"],
.bx-auth-reg table input[type="submit"] {
    margin-left: 6px;
}

.bx-system-auth-form table input[type="submit"],
.bx-auth-reg table input[type="submit"],
div.bx-auth table input[type="submit"] {
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.bx-system-auth-form table input[type="submit"]:hover,
.bx-auth-reg table input[type="submit"]:hover,
div.bx-auth table input[type="submit"]:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/*.product-info .wrapper {*/
/*    display: flex;*/
/*}*/

/*.product-info__swiper {*/
/*    position: unset;*/
/*    transform: unset;*/
/*}*/

.swiper__mob {
    display: none;
}

@media screen and (max-width: 1279px) {
    /*.product-info .wrapper {*/
    /*    display: unset;*/
    /*}*/

    .swiper__mob {
        display: flex;
    }

    .swiper__desc {
        display: none;
    }

    .product-info .text-h1 .order {
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
    }

    .product-info .text-h1 {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }
}

.not-overflow {
    overflow: unset;
}

.product-item-detail-slider-image.active {
    z-index: unset;
}

.product-item-scu-item-text-block {
    padding: 6px 10px;
    color: #1a2f53d9;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    border-radius: 4px;
    -webkit-transition: var(--transition-ease);
    transition: var(--transition-ease);
}

.product-item-detail-info-section {
    padding: 0;
}

.product-item-detail-info-section>div {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
}

.product-item-scu-item-color-container {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.product-item-scu-item-color {
    background-size: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.product-item-scu-item-color-block {
    overflow: hidden;
    border-radius: 6px;
}

.popup-window.popup-window-with-titlebar.bx-blue.--open {
	border-radius: 8px;
}
.popup-window-content>div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-direction: column;
}
.popup-window-buttons .btn {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    border-radius: 8px;
    white-space: nowrap;
    gap: 8px;
    --icon-size: 20px;
	font-size: 12px;
    width: 100%;
    height: auto;
    padding: 8px;
    background-color: var(--primary)!important;
	display: flex;
	justify-content: center;
	gap: 6px;
	align-items: center;
}
.popup-window-buttons .btn::after {
	content: '→';
}
.product-item-detail-slider-image img {
	border-radius: 6px;
	overflow: hidden;
}

.product-item-scu-item-text {
	font-size: 14px;
}

.office__img-item {
    transition: all .3s ease-in-out;  /* Плавный переход для opacity */
    opacity: 0;
    visibility: hidden;
}
.office__img-item.active {
	opacity: 1;
	visibility: visible;
}

.office__info .tabs {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px
}

@media screen and (max-width: 640px) {
    .office__info .tabs {
        gap:10px
    }
}

.office__info .tabs__list {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 10px;
    overflow: auto
}

@media screen and (max-width: 475px) {
    .office__info .tabs__list {
        margin-left:-16px;
        padding: 0 16px;
        width: calc(100% + 32px);
        scrollbar-width: none
    }

    .office__info .tabs__list::-webkit-scrollbar {
        display: none
    }
}

.office__info .tabs__list-item {
    padding: 4px 8px;
    font-weight: 700;
    font-size: 15px;
    line-height: 154%;
    text-transform: uppercase;
    border-radius: 6px;
    -webkit-transition: var(--transition-ease);
    transition: var(--transition-ease);
    cursor: pointer;
    white-space: nowrap
}

.office__info .tabs__list-item:hover,.office__info .tabs__list-item.active {
    background: #2b2d331a
}

@media screen and (max-width: 475px) {
    .office__info .tabs__list-item {
        font-size:14px
    }
}

.office__info .tabs__content {
    width: 100%
}

.office__info .tabs__content-item {
    width: 100%;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px
}

@media screen and (max-width: 640px) {
    .office__info .tabs__content-item {
        gap:10px
    }
}

.office__info .tabs__content-item.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.office__info .tabs__content .product-info__desc {
    max-width: calc(100% - 40px)
}

.office__info {
    display: grid;
    grid-template-areas: "a b"
                         "c b";
    grid-template-columns: 1fr 755px;
    max-width: unset;
    grid-template-rows: min-content 100%;
}

.office__info--text {
    grid-area: a;
}

.office__info .office__img {
    grid-area: b;
}

.office__info .tabs {
    grid-area: c;
}

.office__info--text {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	flex-direction: column;
}

.product-info__content {
	display: grid;
	grid-template-areas: 'a c'
						 'b c'
						 'd c'
						 'e c';
    grid-template-columns: 1fr 755px;
    max-width: unset;
    grid-template-rows: min-content min-content min-content 100%;
}

.product-info__content .text-h1 {
	grid-area: a;
}

.product-info__content .product-info__price {
	grid-area: b;
}

.product-info__content .product-info__swiper {
	grid-area: c;
	position: unset;
	transform: unset;
}
/*
.product-info__content .product-info__swiper .swiper-thumbs {
	height: auto;
}
.product-info__content .product-info__swiper .swiper-thumbs .swiper-wrapper {	
	flex-direction: column;
    gap: 15px;
}*/

.product-info__content .tabs {
	grid-area: d;
}

.product-info__content [data-entity="main-button-container"] {
	grid-area: e;
}

@media screen and (max-width: 1279px) {
	.office__info {
		display: flex;
	}
	.not-overflow {
		    overflow: hidden;
	}
	.product-info__content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
}

.close-link {
	cursor: pointer;
	text-decoration: underline;
}

.chat .success-text {
    font-size: 20px;
}


/*.products__swiper .products-swiper {*/
/*	overflow: hidden;*/
/*}*/

/*.portfolio__list-item:hover .flex-col {*/
/*    height: auto !important; !* Сделаем высоту 100% при hover *!*/
/*    max-height: 100% !important; !* Сделаем высоту 100% при hover *!*/
/*    transition: height 0.3s ease; !* Добавим плавную анимацию *!*/
/*}*/

.markers__item-trigger {
	opacity: 0.6;
	transition: all .3s ease-in-out;
}

.markers__item-trigger:hover {
	opacity: 1;
}

.product-title {
	font-size: 16px;
}

@media screen and (max-width: 475px) {
    .product-title {
        font-size: 14px;
    }
}

.video_preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.video_preview--back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.6);
}

.video_preview--back img {
    width: auto!important;
    height: auto!important;
}

.product-info__swiper .swiper-thumbs {
	overflow: hidden;
}

.product-info__swiper .swiper-thumbs {
	height: 610px;
}