/**
 * Главная страница (frontend/main-page/index.php)
 * Типографика вынесена из инлайн-стилей в классы.
 */
.main-page-container{
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}
/* ==== Hero ==== */
.mp-hero-title {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 64px;
	line-height: 74px;
	color: #826b52;
}

.mp-hero-subtitle {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 24px;
	line-height: 34px;
	color: #ffffff;
}

.mp-button-text-lg {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 18px;
	line-height: normal;
	color: #ffffff;
}

/* ==== Форма заявки ==== */
.mp-form-title {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 32px;
	line-height: 38px;
	color: #826b52;
}

.mp-form-subtitle {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #d9cfc8;
}

.mp-label-white {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 14px;
	line-height: normal;
	color: #ffffff;

}

.mp-input-placeholder {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	color: rgba(255, 255, 255, 0.6);
}
.promo-open-form .mp-input-placeholder::placeholder,
.promo-open-form .mp-input-placeholder::-webkit-input-placeholder {
	color: #ffffff;
	opacity: 1;   /* убрать возможное затемнение по умолчанию */
}

.mp-consent-text {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: rgba(255, 255, 255);
}

/* ==== Заголовки секций / ссылки ==== */
.mp-section-title {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 40px;
	line-height: normal;
	color: #826b52;
}

.mp-section-title-lg {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 44px;
	line-height: 52px;
	color: #826b52;
}

.mp-cta-text {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
}

.mp-view-all-text {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	color: #211a15;
}

/* ==== Карточки товаров ==== */
.mp-product-badge {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 12px;
	line-height: normal;
	color: #ffffff;
	text-transform: uppercase;
}

.mp-product-brand {
	font-size: 13px;
	color: #826b52;
	text-transform: uppercase;
}

.mp-product-title {
	font-size: 18px;
	line-height: 24px;
	color: #211a15;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mp-product-price {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 22px;
	line-height: normal;
	color: #211a15;
}

.mp-buy-button-text {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 15px;
	line-height: normal;
	color: #ffffff;
}


/* ==== Категории ==== */
.mp-category-card-title {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 24px;
	line-height: normal;
	color: #ffffff;
}

.mp-category-title-lg {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 36px;
	line-height: normal;
	color: #ffffff;
}

/* ==== Табы ==== */
.mp-tab-text {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 14px;
	line-height: normal;
	color: #211a15;
}

/* ==== Проекты ==== */
.mp-project-caption {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 15px;
	line-height: normal;
	color: #211a15;
}

/* ==== Новости ==== */
.mp-news-date {
	font-size: 14px;
	line-height: normal;
	color: #826b52;
}

.mp-news-title {
	font-size: 17px;
	line-height: 24px;
	color: #211a15;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==== Отзывы и видео ==== */
.mp-card-tag {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 11px;
	line-height: normal;
	color: #ffffff;
	text-transform: uppercase;
}

.mp-review-quote {
	font-family: Montserrat;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
}

.mp-review-author {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 15px;
	color: #ffffff;
}

.mp-review-author-role {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

/* ==== Шоурумы ==== */
.mp-showroom-title {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
	color: #211a15;
	margin-top: 12px;
}

.mp-address-text {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #211a15;
}

.mp-phone-text {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #826b52;
}

.mp-hours-text {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #5e5a56;
}

/* ==== FAQ / футер ==== */
.mp-faq-answer {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #6d655d;
}

.mp-footer-nav-title {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 14px;
	color: #f8f5f2;
	text-transform: uppercase;
}

/* ==== Бренды ==== */
.mp-brand-name-1 {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 18px;
	line-height: normal;
	letter-spacing: 1px;
	color: #826b52;
	text-transform: uppercase;
}

.mp-brand-name-2 {
	font-family: Montserrat;
	font-weight: 800;
	font-size: 21px;
	line-height: normal;
	letter-spacing: 1.5px;
	color: #211a15;
	text-transform: uppercase;
}

.mp-brand-name-3 {
	font-family: Montserrat;
	font-weight: 800;
	font-size: 22px;
	line-height: normal;
	letter-spacing: 2px;
	color: #211a15;
	text-transform: uppercase;
}

.mp-brand-name-4 {
	font-family: Montserrat;
	font-weight: 800;
	font-size: 19px;
	line-height: normal;
	letter-spacing: 0.5px;
	color: #211a15;
}

.mp-brand-name-5 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 18px;
	line-height: normal;
	letter-spacing: 1px;
	color: #211a15;
	text-transform: uppercase;
}

.mp-brand-name-6 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 20px;
	line-height: normal;
	letter-spacing: 1px;
	color: #211a15;
	text-transform: uppercase;
}

.mp-brand-name-7 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 20px;
	line-height: normal;
	letter-spacing: 0.5px;
	color: #211a15;
}

.mp-brand-name-8 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 21px;
	line-height: normal;
	letter-spacing: 0.5px;
	color: #211a15;
}

.mp-brand-name-9 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 19px;
	line-height: normal;
	letter-spacing: 0.5px;
	color: #211a15;
}

.mp-brand-name-10 {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 18px;
	line-height: normal;
	letter-spacing: 0.5px;
	color: #211a15;
}

.mp-brand-name-11 {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 18px;
	line-height: normal;
	letter-spacing: 1.5px;
	color: #211a15;
	text-transform: uppercase;
}

/* ==== Универсальные текстовые стили ==== */
.mp-text-brown-16 {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	line-height: normal;
	color: #826b52;
}

.mp-text-brown-28 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
	color: #826b52;
}

.mp-text-beige-18 {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	color: #d5cfc9;
}

.mp-text-white-15 {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 15px;
	line-height: normal;
	color: #ffffff;
}

.mp-text-white-28 {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 28px;
	color: #ffffff;
}

.mp-text-white-12-uppercase {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 12px;
	line-height: normal;
	color: #ffffff;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 4px;
	background: #826B52;
	width: fit-content;
}

/* убрать background из .bacground */
.bacground {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0; left: 0;
	z-index: -1;
}
.bacground::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(13, 9, 6, 0.62) 0%, rgba(13, 9, 6, 0.62) 100%);
}

.bacground img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-section-wrapper {
	position: relative;
	height: 724px
}

.content-hero {
	display: flex;
	max-width: 1555px;
	width: 100%;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
}

.hero-title-highlight {
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.20);
	backdrop-filter: blur(12px);
	max-width: 860px;
	margin-top: 116px;
	padding: 32px;
	margin-bottom: 140px;
}

.open-form {
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 24px 48px 0 rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(12px);
	max-width: 540px;
	width: 100%;
	margin-top: 42px;
	padding: 32px;
	margin-bottom: 90px;

}

.margin-for-heaader {
	height: 30px;
}

.slider-button {
	display: flex;
	border-radius: 999px;
	background: #826B52;
	padding: 18px 32px;
	align-items: center;
	gap: 12px;
	width: 180px;
}

.slider-button p {
	margin: 0;
}
.arrow-right{
	display: flex;
	align-items: center;
}

.tagline {
	min-height: 170px;
}
.open-form input{
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.07);
	width: 100%;
	margin-top: 8px;
}
.open-form .form-button{
	padding: 18px 24px;
	border-radius: 999px;
	background: #826B52;
	box-shadow: 0 8px 24px 0 rgba(130, 107, 82, 0.28);
	color: #FFF;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-top: 24px;
	width: 100%;
	cursor: pointer;
}
.open-form .form-button:disabled{
	opacity: .6;
	cursor: default;
}
.open-form-midle .form-button{
	cursor: pointer;
}
.open-form-midle .form-button:disabled{
	opacity: .6;
	cursor: default;
}

/* Сообщение о результате ajax-отправки формы */
.form-message {
	margin-top: 16px;
	font-family: Montserrat;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;

}
.form-message.is-error {
	color: #FFB3A7;
}
.form-message.is-success {
	color: #FFF;
}

/* Подсветка незаполненных обязательных полей */
.open-form input.is-invalid,
.open-form-midle input.is-invalid {
	border-color: #E0715E;
	background: rgba(224, 113, 94, 0.12);
}
.wrap-checked label input.is-invalid + span {
	border-color: #E0715E;
	background: rgba(224, 113, 94, 0.15);
}

.wrap-form .wrap-checked p{
	color: var(--third-color);
	font-family: var(--second-font);
}
.wrap-form .wrap-checked label input + span {
	border-radius: 6px;
	border: 1px solid var(--font-color-5);

}
.fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.brand-strip {
	width: 100%;
	background: #FAF8F6;
	padding: 48px 0;
}

.brand-items {
	display: flex;
	align-items: center;
	gap: 32px;
}

/* Главный контейнер, который обрезает всё, что выходит за рамки экрана */
.carousel-container {
	overflow: hidden;
	width: 100%;
	position: relative;
	contain: content;

}

/* Общий трек, который плавно двигается */
.carousel-track {
	display: flex;
	width: max-content;
	/* 20s — скорость движения (чем меньше, тем быстрее). linear — равномерно */
	animation: scrollInfinite 20s linear infinite;
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
	background: #ffffff;
}

/* Остановка анимации при наведении мыши (или фокусе) */
.carousel-container:hover .carousel-track,
.carousel-container:focus-within .carousel-track {
	animation-play-state: paused;
}

/* Стили для ваших блоков брендов */
.brand-items {
	display: flex;
	align-items: center;
	gap: 20px; /* Отступы между элементами вместо или вместе с hr */
}


.brand-item {
	width: 188px;
	height: 96px;
}
.logo-binova {
	height: 100%;
}
.brand-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}
.brand-item-link:hover .brand-item img {
	/* Увеличиваем картинку на 10% (1.1 от исходного размера) */
	transform: scale(1.1);
}

/* Сама CSS-анимация смещения ленты ровно на 50% (на длину одного блока) */
@keyframes scrollInfinite {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

hr.brand-hr {
	width: 1px;
	height: 36px;
	background: #E5DFDA;
	opacity: unset;
	border: 1px solid #E5DFDA;
	margin: unset;

}

.category-row {
	display: flex;
	align-items: center;
	margin-bottom: 1px;
}

.category-label {
	width: 160px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-right: 1px solid #E5DFDA;
	background: #F4EFE9;
}
.category-label p{
	margin: 0;
}

.hits-and-promotions-block {
	padding: 30px;
}

.section-tabs {
	display: flex;
	gap: 8px;
	height: fit-content;
	flex-wrap: wrap;
}
.section-tab{
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid #E5DFDA;
	background: #FFF;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease;
}
.section-tab p{
	color: #211A15;
	transition: color .25s ease;
}

.section-tab-active {
	padding: 10px 18px;
	border-radius: 999px;
	background: #826B52;
	border-color: #826B52;
}
.section-tab-active p{
	color: #fff;
}
.section-tab p{
	margin: 0;
}
.product-card{
	max-width: 330px;
	border-radius: 12px;
	border: 1px solid #E5DFDA;
	background: #FFF;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.image-wrap{
	position: relative;
}
.badge{
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	padding: 6px 12px;
	align-items: flex-start;
	border-radius: 4px;
	background: #826B52;
}
.badge p {
	margin: 0;
}
.product-photo {
	height: 320px;
	width: 100%;
}
.product-photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}
.product-info{
	padding: 20px 24px;
	display: flex;
	flex-direction: column; /* Элементы внутри карточки будут идти сверху вниз */
	flex: 1 1 auto;
}
.product-info .actions {
	margin-top: auto;
}
/* Блок описания карточки: одинаковая высота во всех карточках
   (строка бренда + отступ + заголовок максимум в 2 строки) */
.product-card .meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 74px;
}
.product-card .meta .mp-product-brand {
	margin: 0;
	line-height: 18px;
}
.product-card .meta .mp-product-title {
	margin: 0;
	min-height: 48px;
}
.buy-button {
	border-radius: 8px;
	background: #826B52;
	padding: 12px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 188px;
	width: 100%;
}
.buy-button p{
	margin: 0;
}
.actions{
	display: flex;
	gap: 12px;
}

.like-button {
	display: flex;
	width: 44px;
	height: 44px;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	border: 1px solid #E5DFDA;
}
.grid-container{
	margin-top: 25px;
}
.grid-container:not(.active){
	display: none;
}
.grid-container.active{
	animation: grid-container-in .35s ease both;
}
.grid-container.active .product-card{
	animation: product-card-in .4s ease both;
}
.grid-container.active .product-card:nth-child(1){ animation-delay: .04s; }
.grid-container.active .product-card:nth-child(2){ animation-delay: .08s; }
.grid-container.active .product-card:nth-child(3){ animation-delay: .12s; }
.grid-container.active .product-card:nth-child(4){ animation-delay: .16s; }
.grid-container.active .product-card:nth-child(5){ animation-delay: .20s; }
.grid-container.active .product-card:nth-child(6){ animation-delay: .24s; }

@keyframes grid-container-in{
	from{ opacity: 0; transform: translateY(12px); }
	to{ opacity: 1; transform: translateY(0); }
}
@keyframes product-card-in{
	from{ opacity: 0; transform: translateY(16px); }
	to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
	.section-tab,
	.section-tab p{
		transition: none;
	}
	.grid-container.active,
	.grid-container.active .product-card{
		animation: none;
	}
}

/* Слайдеры товаров на главной странице */
.grid-slider-nav{
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 16px;
}
.grid-slider-nav .slick-prev-btn,
.grid-slider-nav .slick-next-btn{
	margin-left: 0;
}
.grid-slider-nav .slick-prev-btn.slick-disabled,
.grid-slider-nav .slick-next-btn.slick-disabled{
	opacity: .35;
	pointer-events: none;
}
/*.grid-container.slick-initialized{*/
/*	margin-top: 0;*/
/*}*/
.grid-container .slick-track{
	display: flex;
	align-items: stretch;
}
.grid-container .slick-slide{
	height: auto;
	padding: 0 12px;
	box-sizing: border-box;
}
.grid-container .slick-slide > div{
	height: 100%;
}
.grid-container .slick-slide .product-card{
	height: 100%;
	margin: 0;
}



.view-all-button {
	display: flex;
	padding: 10px 20px;
	align-items: center;
	border-radius: 24px;
	border: 1px solid #C8BDB5;
	cursor: pointer;
}
.view-all-button p{
	margin: 0;
}
.bento-layout {
	display: flex;
	gap: 24px;
	width: 100%;
	/* Фиксируем общую высоту сетки по высоте левой большой карточки */
	height: 520px;
}

/* Все три основные колонки делят ширину поровну */
.left-big-category,
.center-stack {
	flex: 1;
	height: 100%; /* Занимают всю высоту родителя (520px) */
}

/* Левая большая карточка */
.left-big-category {
	position: relative;
	padding: 40px;
	overflow: hidden; /* Чтобы скруглённые углы не резались картинкой */
	border-radius: 12px; /* По макету углы скруглены */
}

/* Колонки со стопками из двух карточек */
.center-stack {
	display: flex;
	flex-direction: column;
	gap: 24px; /* Отступ между верхней и нижней карточкой */
}

/* Внутренние карточки внутри стопок */
.tech-home-card,
.tech-kitchen-card {
	flex: 1; /* Каждая карточка займет ровно 50% доступной высоты за вычетом gap */
	position: relative;
	padding: 32px; /* Внутренние отступы по макету */
	overflow: hidden;
	border-radius: 12px;
}

/* Корректное отображение фоновых картинок для всех карточек */
.left-big-category-background img,
.center-stack-background img,
.tech-kitchen-card-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1; /* Картинка уходит на задний план */
}

/* Поднимаем контент (текст и кнопки) над абсолютной картинкой */
.category-metadata,
.mp-category-card-title,
.cta-anchor {
	position: relative;
	z-index: 2;
}

.cta-anchor a{
	display: flex;
	gap: 8px;
}
.cta-anchor p{
	margin: 0;
}
.categories-grid-block{
	padding: 30px;
}
.categories-grid-block .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.promo-banner-frame {
	position: relative;
	height: 757px;
}

.promo-block-section-background {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.promo-block-section-background img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.promo-block-constent {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	padding-top: 64px;
	padding-left: 64px;
	padding-right: 64px;
	justify-content: space-between; /* Расталкивает блоки по краям */

	/* Минимальный отступ 20px, адаптивный 5% от экрана, максимальный 142px */
	gap: clamp(20px, 5vw, 142px);
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.section-header p {
	margin: 0;
}
.promo-block-constent .header{
	height: 303px;
	padding: 32px;
	border-radius: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 24px 48px 0 rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(12px);
}

.pro-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.pro-row p {
	margin: 0;
}

.open-form-midle {
	height: 570px;
	padding: 32px;
	border-radius: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(115, 115, 115, 0.25);
	box-shadow: 0 24px 48px 0 rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(12px);
}

.open-form-midle input{
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.07);
	width: 100%;
}
.open-form-midle .form-button{
	padding: 18px 24px;
	border-radius: 999px;
	background: #826B52;
	box-shadow: 0 8px 24px 0 rgba(130, 107, 82, 0.28);
	color: #FFFFFF;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	width: 100%;
	margin-top: 24px;
}
.wrap-checked label input + span {
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	background: rgba(255, 255, 255, 0.07);
}
.wrap-checked label p {
	color: rgba(255, 255, 255, 0.60)
}
.wrap-checked label input:checked + span{
	color: #FFFFFF;
}
.phone-field .frame, .name-field .frame{
	margin-top: 8px;
}

/*.projects-grid {*/
/*	display: flex;*/
/*	gap: 20px;*/
/*}*/
/*.project-card{*/
/*	flex: 1 1 300px;*/
/*	min-width: 0;*/
/*}*/
.project-image {
	height: 320px;
}
.project-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-projects-block {
	padding: 48px 0;
	border-top: 1px solid #E5DFDA;
	border-bottom: 1px solid #E5DFDA;
	background: #FAF8F6;
}

.portfolio-projects-block .section-header{
	padding-bottom: 48px;
}

/*.news-grid {*/
/*	display: flex;*/
/*	gap: 24px;*/
/*}*/

.news-card {
	border-radius: 12px;
	border: 1px solid #E5DFDA;
	background: #FFF;
}

.news-photo {
	height: 220px;
	width: 100%;
}
.news-photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.text-block {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	/* Одинаковая высота блока (box-sizing: border-box):
	   padding (20+20) + дата (20px) + отступ (8px) + заголовок максимум в 3 строки (72px) */
	min-height: 140px;
}
.text-block .mp-news-date {
	margin: 0;
	line-height: 20px;
}
.text-block .mp-news-title {
	margin: 0;
	min-height: 72px;
}

.club-news-block {
	padding: 30px;
}
.club-news-block .section-header{
	margin-bottom: 32px;
}

.video-card {
	position: relative;
	height: 460px;
	border-radius: 20px;
	cursor: pointer;
}
.video-card-prew {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	border-radius: 20px;
	overflow: hidden; /* Чтобы картинка и градиент не вылезали за скругление углов */
}

/* Картинка на заднем плане */
.video-card-prew img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
	transition: opacity .25s ease;
}

/* Градиент, который ложится строго ПОВЕРХ картинки */
.video-card-prew::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 30%, #0D0906 100%);
	pointer-events: none; /* Чтобы градиент не мешал кликам */
	transition: opacity .25s ease;
}

/* ==== Видео-отзывы: плеер включается прямо в карточке, без попапа ==== */
.video-card-player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0D0906;
	z-index: 0;
}

/* Пока видео играет: превью и оверлей с текстом/кнопкой убираем,
   слой с плеером поднимаем, чтобы работали нативные контролы */
.video-card.is-playing {
	cursor: default;
}
.video-card.is-playing .video-card-prew {
	z-index: 1;
}
.video-card.is-playing .video-card-prew img,
.video-card.is-playing .video-card-prew::after,
.video-card.is-playing .video-card-content {
	opacity: 0;
}
.video-card.is-playing .video-card-content {
	pointer-events: none;
}

/*.video-grid-container {*/
/*	display: flex;*/
/*	gap: 24px;*/
/*}*/

/* Исправленный блок с закрытым blur */
.video-card-content {
	position: relative;
	z-index: 2;
	padding: 16px;
	border-radius: 20px;
	height: 100%; /* Чтобы контент распределялся по всей высоте */
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* Опционально: раскидает tag, play и текст по высоте */
	transition: opacity .25s ease;
}
.play-action-button {
	width: 56px;
	height: 56px;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(4px); /* Исправлено: добавлено значение и закрыто */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

.video-reviews-section {
	position: relative;
	padding: 30px;
}
.video-reviews-section:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #FAF8F6;
	z-index: -2;
}
.video-reviews-section .section-header-container{
	margin-bottom: 40px;
}

.about-company-section {
	padding: 30px;
}
.about-company-section .section-header{
	margin-bottom: 40px;
}

.content-row {
	display: flex;
	gap: 24px;
}

.presentation-player {
	height: 520px;
	position: relative;
	flex: 1;
	border-radius: 20px;


}

.player-tag {
	position: absolute;
	left: 20px;
	top: 20px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.50);
	backdrop-filter: blur(4px);;
	padding: 6px 12px;
}
.player-tag p{
	margin: 0;
}

.presentation-bacground {
	height: 520px;
	position: relative;
	border-radius: 20px;
	overflow: hidden; /* чтобы видео не вылезало за скругление углов */

}
.presentation-bacground img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

/* Фоновое видео презентации: без звука, без управляющих элементов, играет постоянно */
.presentation-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
	pointer-events: none;
}
.presentation-bacground:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(31, 31, 31, 0.45) 0%, rgba(31, 31, 31, 0.45) 100%);
	border-radius: 20px;
}

.company-text-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.company-text-column .cta-anchor{
	display: flex;
	gap: 8px;
}
.company-text-column .cta-anchor p{
	margin: 0;
}

.promo-offers-block {
	border-top: 1px solid #E5DFDA;
	border-bottom: 1px solid #E5DFDA;
	padding: 30px 0;
}
.promo-offers-block .section-header{
	margin-bottom: 40px;
}

/*.offers-grid {*/
/*	display: flex;*/
/*	gap: 24px;*/
/*}*/
.promo-offer-card{
	flex: 1;
	position: relative;
	height: 360px;
	padding: 40px;
	border-radius: 16px;
}
.promo-offer-card-background{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 360px;
	z-index: 2;
	border-radius: 16px;
}
.promo-offer-card-background:after{
	content: '';
	position: absolute;
	background: linear-gradient(0deg, rgba(31, 31, 31, 0.40) 0%, rgba(31, 31, 31, 0.40) 100%);
	top: 0;
	left: 0;
	width: 100%;
	height: 360px;
	z-index: 1;
	border-radius: 16px;
}
.promo-offer-card-background img{
	width: 100%;
	height: 100%;
	border-radius: 16px;
	object-fit: cover;
}
.promo-offer-card .cta-anchor{
	display: flex;
	gap: 8px;
	align-items: center;
}
.promo-offer-card .cta-anchor p {
	margin: 0;
}

.promo-offer-card-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	position: relative;
	z-index: 3;
}

.showrooms-section {
	padding: 30px;
}
.showrooms-section .section-header{
	margin-bottom: 40px;
}

.showroom-row {
	display: flex;
	gap: 24px;
}

.showroom-info-block {
	flex: 1;
	padding: 40px;
	background-color: #F6F1EC;
	border-radius: 20px;
}

.showroom-illustration {
	height: 261px;
}
.showroom-illustration img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.info-card-row {
	display: flex;
	gap: 12px
}
.info-card-row p {
	margin: 0;
}

.info-card {
	margin-top: 16px;
	border-radius: 16px;
	border: 1px solid #E5DFDA;
	background: #FFF;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
}

.leninsky-showroom-products {
	padding: 30px;
}


.kutuzovsky-showroom-products {
	padding: 30px;
	border-top: 1px solid #E5DFDA;
	border-bottom: 1px solid #E5DFDA;
	background: #FAF8F6;
}
.project-card .info {
	margin-top: 12px;
}
.buton-popap-form{
	display: none;
}

.hits-and-promotions-block .section-header{
	flex-direction: column;
	align-items: start;
	gap: 24px;
}

@media (max-width: 1330px) {
	.mp-hero-title{
		color: #826B52;
		font-size: 40px;
		font-style: normal;
		font-weight: 700;
		line-height: 115%; /* 46px */
	}
	.mp-form-title{
		font-size: 24px;
		font-style: normal;
		font-weight: 700;
		line-height: 125%; /* 30px */
	}
	.mp-hero-subtitle{
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 150%; /* 24px */
	}
	.mp-form-subtitle{
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: 150%; /* 21px */
	}
	.hero-title-highlight{
		max-width: 600px;
	}
	.mp-section-title{
		font-size: 30px;
		font-style: normal;
		font-weight: 600;
		line-height: 125%; /* 37.5px */
	}
	.section-header{
		flex-wrap: wrap;
	}
	.mp-text-brown-28 {
		font-size: 20px;
	}
	.presentation-bacground {
		height: 100%;
	}
}
@media (max-width: 1150px) {
	.hero-title-highlight{
		max-width: 345px;
	}
	.open-form{
		max-width: 345px;
	}
	.mp-button-text-lg{
		font-size: 14px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
	}
	.promo-block-constent {
		padding: 24px;
	}
	.open-form-midle .form-button{
		font-size: 14px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
	}
	.portfolio-projects-block{
		padding: 24px;
	}
}
	.promo-block-constent .header {
		border-left: unset;
		 background: unset;
		 box-shadow: unset;
		 backdrop-filter: unset;
    }

    @media (max-width:850px) {
        .showroom-row,
        .content-row
        {
            flex-direction: column;
            gap: 16px;
        }
        .mp-showroom-title {
            font-size:21px;
        }
        .mp-section-title {
            font-size:24px;
        }
    }

@media (max-width: 700px) {
	.hero-section-wrapper {
		height: 380px;
	}

	.hero-title-highlight {
		width: 100%;
		max-width: 100%;
		margin: 20px 16px;
	}

	.open-form {
		display: none;
	}

	.buton-popap-form {
		display: flex;
		height: 48px;
		padding: 0 20px;
		border-radius: 999px;
		background: #826B52;
		justify-content: center;
		align-items: center;
	}

	.buton-popap-form p {
		margin: 0;
	}

	.hero-slider-buttons {
		display: flex;
		justify-content: space-between;
	}

	.hero-slider .arrow-right {
		display: none;
	}

	.slider-button {
		width: 120px;
		padding: 0 20px;
		height: 48px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.brand-strip {
		padding: 30px 16px 16px 15px;
	}

	.categories {
		display: flex;
		gap: 8px;
	}

	.category-row {
		width: 100%;
		flex-direction: column;
	}

	.carousel-container {
		height: 273px;
	}

	@keyframes scrollInfinite {
		0% {
			transform: translateY(0);
		}
		100% {
			transform: translateY(-50%);
		}
	}
	.carousel-track {
		flex-direction: column;
		height: max-content;
		width: unset;
	}

	.brand-items {
		flex-direction: column;
	}

	.brand-item {
		width: 100%;
		height: 32px;
		padding: 0 12px;
	}

	.logo-binova {
		width: 100%;
		height: 100%;
	}

	.brand-hr {
		display: none;
	}

	.category-label {
		height: 38px;
		padding: 12px;
		width: 100%;
	}

	.mp-brand-name-1 {
		font-size: 12px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
		text-transform: uppercase;
	}

	.grid-slider-nav {
		display: none;
	}

	.hits-and-promotions-block .grid-container {
		padding-top: 25px;
	}

	.hits-and-promotions-block {
		padding: 30px 16px 16px 15px;
	}

	.left-big-category {
		min-width: 100%;
		height: 280px;
	}

	.center-stack {
		flex-direction: row;
		height: 190px;
	}

	.bento-layout {
		height: 100%;
	}

	.mp-category-title-lg {
		font-size: 28px;
		font-style: normal;
		font-weight: 700;
		line-height: 125%; /* 35px */
	}

	.mp-category-card-title {
		font-size: 18px;
		font-style: normal;
		font-weight: 700;
		line-height: 125%; /* 22.5px */
	}

	.tech-home-card {
		padding: 16px;
	}

	.tech-kitchen-card {
		padding: 16px;
	}

	.mp-section-title {
		font-size: 24px;
		font-style: normal;
		font-weight: 600;
		line-height: 125%; /* 30px */
	}

	.categories-grid-block {
		padding: 30px 16px 16px 15px;
	}

	.bento-layout {
		flex-wrap: wrap;

	}

	.categories-grid-block .section-header {
		flex-direction: column;
		gap: 12px;
		align-items: start;
	}

	.promo-block-constent {
		flex-direction: column;
		position: relative;
		display: flex;
		gap: 30px;
		padding: 16px;
		z-index: 1; /* чтобы был поверх фона */
	}

	.promo-banner-frame {
		height: unset;
	}

	.mp-section-title-lg {
		font-size: 28px;
		font-style: normal;
		font-weight: 600;
		line-height: 120%; /* 33.6px */
	}

	.promo-block-constent .header {
		all: unset;
	}

	.mp-text-beige-18 {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 150%; /* 24px */
	}

	.pros {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding-bottom: 15px;
	}

	.open-form-midle {
		padding: 20px;
		height: auto;
	}

	.portfolio-projects-block {
		padding: 30px 16px 16px 15px;
	}

	.video-card {
		height: 520px;
		padding: 16px;
	}
	.promo-offers-block{
		padding: 30px 16px 16px 15px;
	}
	.promo-offers-block .section-header {
		flex-direction: column;
		gap: 12px;
		align-items: start;
	}
}
@media (max-width: 470px) {
	.bento-layout{
		flex-wrap: wrap;
	}
	.left-big-category{
		width: 100%;
		flex-shrink: 0;
	}
	.mp-hero-title{
		font-size: 32px;
		font-style: normal;
		font-weight: 700;
		line-height: 115%; /* 36.8px */
	}
	.tagline{
		min-height: unset;
	}
}
.slick-dots li.slick-active{
	width: unset;
}

.slider-hero.slick-slider .slick-track {
	gap: unset!important;
}
.slider-hero .slick-dots{
	bottom: 15px;
}
.slider-hero .slick-dots li button {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.20);
}
.slider-hero .slick-dots li.slick-active button{
	width: 10px;
	height: 10px;
	background: #826B52;
}
.slider-hero .slick-dots li{
	display: flex;
	gap: 10px;
	width: unset;
}
.slider-hero .slick-dotted.slick-slider{
	margin-bottom: unset;
}
.slider-hero .slick-dotted.slick-track{
	margin-bottom: unset;
}

.conteiner-tabs-with-slider {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.slick-prev-btn, .slick-next-btn{
	width: 52px;
	height: 52px;
}
.grid-slider-nav{
	margin-bottom: unset;
}

.category-colum {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.promo-block-section {
	padding-top: 20px;
}
.add2basket.in_basket{
	background:#FFF;
}
.add2basket {
	text-transform: unset;
}
.add2wish{
	display: flex;
	width: 44px;
	height: 44px;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	border: 1px solid #E5DFDA;
}
.add2wish.in_wishlist{
	border:unset;
}