/* Мебельные магазины — page styles
   Prefix: mkl-mbl
   Body: mkl-page--mebelnye-magaziny
*/

body.mkl-page--mebelnye-magaziny .creatium-migr-header-wrap img,
body.mkl-page--mebelnye-magaziny .creatium-migr-footer-wrap img,
body.mkl-page--mebelnye-magaziny .creatium-page-body .mkl-section[class*="mkl-mbl-"] img.emoji,
body.mkl-page--mebelnye-magaziny .creatium-page-body .mkl-section[class*="mkl-mbl-"] img.wp-smiley {
	width: 1.1em !important;
	height: 1.1em !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	display: inline !important;
	vertical-align: -0.12em;
	margin: 0 0.05em 0 0;
	object-fit: contain;
}

body.mkl-page--mebelnye-magaziny .creatium-page-body .mkl-section[class*="mkl-mbl-"] img {
	height: auto;
	max-width: 100%;
}

body.mkl-page--mebelnye-magaziny .creatium-page-body .mkl-mbl-cta__contacts img {
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

:root {
	--mbl-bg: #d7aff8;
	--mbl-bg-soft: #e8d8fb;
	--mbl-ink: #231971;
	--mbl-text: #2a2742;
	--mbl-muted: #5a5670;
	--mbl-accent: #6451e6;
	--mbl-dark: #100943;
	--mbl-white: #fff;
}

.mkl-section[class*="mkl-mbl-"] {
	color: var(--mbl-text);
}

.mkl-section[class*="mkl-mbl-"].node > .wrapper1 {
	background-color: var(--mbl-bg);
}

.mkl-section.mkl-mbl-hero.node > .padding_top,
.mkl-section.mkl-mbl-hero.node > .padding_bottom {
	padding-top: 0;
	padding-bottom: 0;
	height: 0;
	min-height: 0;
	overflow: hidden;
}

.mkl-section.mkl-mbl-compare.node > .padding_top,
.mkl-section.mkl-mbl-channels.node > .padding_top,
.mkl-section.mkl-mbl-stages.node > .padding_top,
.mkl-section.mkl-mbl-expertise.node > .padding_top,
.mkl-section.mkl-mbl-cases.node > .padding_top,
.mkl-section.mkl-mbl-pricing.node > .padding_top,
.mkl-section.mkl-mbl-faq.node > .padding_top,
.mkl-section.mkl-mbl-cta.node > .padding_top {
	padding-top: 40px;
}

.mkl-section.mkl-mbl-compare.node > .padding_bottom,
.mkl-section.mkl-mbl-channels.node > .padding_bottom,
.mkl-section.mkl-mbl-stages.node > .padding_bottom,
.mkl-section.mkl-mbl-expertise.node > .padding_bottom,
.mkl-section.mkl-mbl-cases.node > .padding_bottom,
.mkl-section.mkl-mbl-pricing.node > .padding_bottom,
.mkl-section.mkl-mbl-faq.node > .padding_bottom,
.mkl-section.mkl-mbl-cta.node > .padding_bottom {
	padding-bottom: 40px;
}

.mkl-mbl-badge {
	display: inline-block;
	margin: 0 0 10px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mbl-accent);
}

.mkl-mbl-heading {
	margin: 0 0 1rem;
	font-family: "TTNorms Medium", sans-serif;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.22;
	color: var(--mbl-ink);
	text-align: left;
}

.mkl-mbl-heading--hero {
	font-size: clamp(30px, 3.6vw, 44px);
}

.mkl-mbl-lead {
	margin: 0 0 1.5rem;
	max-width: 820px;
	font-family: "TTNorms Regular", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--mbl-text);
	text-align: left;
}

.mkl-mbl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	line-height: 1.25;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform .15s ease, background .15s ease, color .15s ease;
}

.mkl-mbl-btn--primary {
	background: var(--mbl-accent);
	color: #fff !important;
}

.mkl-mbl-btn--primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

.mkl-mbl-btn--outline {
	background: transparent;
	border-color: var(--mbl-accent);
	color: var(--mbl-ink) !important;
}

.mkl-mbl-btn--outline:hover { background: rgba(100, 81, 230, 0.08); }

.mkl-mbl-btn--light {
	background: #fff;
	color: var(--mbl-accent) !important;
	width: 100%;
	margin-top: 8px;
}

.mkl-mbl-btn--light:hover { background: #f4f1ff; }

/* ── HERO ── */
.mkl-section.mkl-mbl-hero {
	position: relative;
	overflow: hidden;
}

.mkl-mbl-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

body.mkl-page--mebelnye-magaziny .creatium-page-body img.mkl-mbl-hero__bg-img,
.mkl-mbl-hero__bg-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center right !important;
	opacity: 0.22 !important;
	display: block !important;
}

.mkl-section.mkl-mbl-hero > .container,
.mkl-section.mkl-mbl-hero > .padding_top,
.mkl-section.mkl-mbl-hero > .padding_bottom,
.mkl-section.mkl-mbl-hero > .wrapper1 {
	position: relative;
	z-index: 1;
}

.mkl-section.mkl-mbl-hero.node > .wrapper1 {
	background: linear-gradient(90deg, var(--mbl-bg) 0%, rgba(215, 175, 248, 0.92) 55%, rgba(215, 175, 248, 0.7) 100%);
}

.mkl-mbl-hero__content {
	padding: 48px 0 56px;
	max-width: 780px;
}

.mkl-mbl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 22px;
}

.mkl-mbl-hero__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-mbl-hero__stat {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.mkl-mbl-hero__check {
	flex-shrink: 0;
	color: var(--mbl-accent);
	font-weight: 700;
}

.mkl-mbl-hero__stat strong {
	display: block;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 16px;
	color: var(--mbl-ink);
	margin-bottom: 2px;
}

.mkl-mbl-hero__stat span {
	display: block;
	font-size: 14px;
	color: var(--mbl-muted);
}

/* ── COMPARE ── */
.mkl-mbl-compare__wrap { padding: 8px 0 12px; }

.mkl-mbl-compare__table {
	margin: 8px 0 16px;
	border: 1px solid rgba(35, 25, 113, 0.15);
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-mbl-compare__head,
.mkl-mbl-compare__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.mkl-mbl-compare__head > div,
.mkl-mbl-compare__row > div {
	padding: 14px 16px;
	font-size: 17px;
	line-height: 1.5;
	border-bottom: 1px solid rgba(35, 25, 113, 0.1);
}

.mkl-mbl-compare__head > div:first-child,
.mkl-mbl-compare__row > div:first-child {
	border-right: 1px solid rgba(35, 25, 113, 0.1);
}

.mkl-mbl-compare__col--bad { background: var(--mbl-dark); color: #fff; }
.mkl-mbl-compare__col--good { background: rgba(255, 255, 255, 0.75); color: var(--mbl-ink); }
.mkl-mbl-compare__row:last-child > div { border-bottom: 0; }

.mkl-mbl-compare__note {
	margin: 0;
	padding: 16px 18px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.65);
	border-left: 3px solid var(--mbl-accent);
	font-size: 17px;
	line-height: 1.55;
	color: var(--mbl-text);
}

.mkl-mbl-compare__note--yellow {
	background: #fff3b0;
	border-left-color: #e6b800;
}

.mkl-mbl-compare__note p { margin: 0; }

/* ── CHANNELS ── */
.mkl-mbl-channels__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.mkl-mbl-channels__card {
	padding: 20px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-mbl-channels__icon {
	display: block;
	font-size: 28px;
	margin-bottom: 10px;
}

.mkl-mbl-channels__card h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 19px;
	color: var(--mbl-ink);
}

.mkl-mbl-channels__card p {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--mbl-text);
}

.mkl-mbl-channels__result {
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--mbl-ink) !important;
}

/* ── STAGES / WEEKS ── */
.mkl-mbl-weeks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 12px 0 24px;
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(35, 25, 113, 0.12);
}

.mkl-mbl-weeks__item {
	padding: 22px 20px;
	border-right: 1px solid rgba(35, 25, 113, 0.1);
	border-bottom: 1px solid rgba(35, 25, 113, 0.1);
}

.mkl-mbl-weeks__item:nth-child(2n) { border-right: 0; }
.mkl-mbl-weeks__item:nth-child(n+3) { border-bottom: 0; }

.mkl-mbl-weeks__item h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 20px;
	color: var(--mbl-ink);
}

.mkl-mbl-weeks__item p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--mbl-text);
	max-width: 320px;
}

.mkl-mbl-stages__sub {
	margin: 0 0 14px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 22px;
	color: var(--mbl-ink);
}

.mkl-mbl-monthly {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.mkl-mbl-monthly__card {
	background: rgba(255, 255, 255, 0.65);
	border-radius: 12px;
	padding: 18px 16px;
}

.mkl-mbl-monthly__card span {
	display: block;
	font-size: 22px;
	margin-bottom: 6px;
}

.mkl-mbl-monthly__card h4 {
	margin: 0 0 6px;
	font-size: 18px;
	color: var(--mbl-ink);
}

.mkl-mbl-monthly__card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--mbl-text);
}

/* ── EXPERTISE (макет: 2 плитки с картинками сверху + 4 тайла + жёлтый баннер) ── */
.mkl-mbl-expertise__featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 8px 0 20px;
}

.mkl-mbl-expertise__feature {
	min-width: 0;
}

body.mkl-page--mebelnye-magaziny .creatium-page-body img.mkl-mbl-expertise__feature-img,
.mkl-mbl-expertise__feature-img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	border-radius: 12px;
	margin: 0 0 14px !important;
	object-fit: cover !important;
	aspect-ratio: 16 / 9;
}

.mkl-mbl-expertise__feature h3 {
	margin: 0 0 8px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 20px;
	line-height: 1.35;
	color: var(--mbl-ink);
}

.mkl-mbl-expertise__feature p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--mbl-text);
}

.mkl-mbl-expertise__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}

.mkl-mbl-expertise__block {
	padding: 20px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
}

.mkl-mbl-expertise__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--mbl-dark);
	font-size: 18px;
	line-height: 1;
}

.mkl-mbl-expertise__block h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
	color: var(--mbl-ink);
}

.mkl-mbl-expertise__block p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--mbl-text);
}

.mkl-mbl-expertise__banner {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: 12px;
	background: #fff3b0;
	color: var(--mbl-text);
}

.mkl-mbl-expertise__banner-icon {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1.2;
}

.mkl-mbl-expertise__banner p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

/* ── CASES ── */
.mkl-mbl-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 8px 0 20px;
}

.mkl-mbl-cases__card {
	background: rgba(255, 255, 255, 0.65);
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.mkl-page--mebelnye-magaziny .creatium-page-body img.mkl-mbl-cases__img,
.mkl-mbl-cases__card .mkl-mbl-cases__img,
.mkl-mbl-cases__card .mkl-mbl-media {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	aspect-ratio: 16 / 10;
}

.mkl-mbl-cases__body {
	padding: 14px 16px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.mkl-mbl-cases__card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	color: var(--mbl-ink);
}

.mkl-mbl-cases__meta {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--mbl-text);
}

.mkl-mbl-cases__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.mkl-mbl-cases__stats > div {
	padding: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.7);
	text-align: center;
}

.mkl-mbl-cases__stats strong {
	display: block;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 22px;
	color: var(--mbl-ink);
	margin-bottom: 2px;
}

.mkl-mbl-cases__stats span {
	display: block;
	font-size: 14px;
	color: var(--mbl-muted);
}

.mkl-mbl-cases__actions { margin-top: 8px; }

/* ── PRICING ── */
.mkl-pricing-cards.mkl-mbl-pricing__cards,
.mkl-mbl-pricing__cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	max-width: none !important;
	margin: 12px 0 16px !important;
}

.mkl-pricing-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 10px;
	background: #fff3b0;
	color: var(--mbl-text);
	font-size: 16px;
	line-height: 1.5;
}

/* ── FAQ ── */
.mkl-mbl-faq__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 8px;
}

.mkl-mbl-faq__item {
	background: rgba(255, 255, 255, 0.55);
	border-radius: 10px;
	padding: 16px 16px 16px 18px;
	border-left: 4px solid var(--mbl-dark);
}

.mkl-mbl-faq__item h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.35;
	color: var(--mbl-ink);
}

.mkl-mbl-faq__item p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--mbl-text);
}

/* ── CTA (типовой: purple form + dark side) ── */
.mkl-mbl-cta__wrap { padding: 8px 0 12px; }

.mkl-mbl-cta__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 24px;
	align-items: start;
	margin-top: 8px;
}

.mkl-mbl-cta__form-card {
	padding: 28px 24px;
	background: var(--mbl-accent);
	border-radius: 18px;
	color: var(--mbl-white);
}

.mkl-mbl-cta__form-card h3 {
	margin: 0 0 6px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 24px;
	color: var(--mbl-white);
}

.mkl-mbl-cta__form-lead {
	margin: 0 0 18px;
	font-size: 16px;
	opacity: 0.92;
}

.mkl-mbl-cta__field { margin-bottom: 12px; }

.mkl-mbl-cta__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
}

.mkl-mbl-cta__optional {
	font-size: 13px;
	opacity: 0.8;
	font-weight: 400;
}

.mkl-mbl-cta__field input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 8px;
	background: transparent;
	color: var(--mbl-white);
	font-size: 18px;
	box-sizing: border-box;
}

.mkl-mbl-cta__field input::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.mkl-mbl-cta__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 12px;
	font-size: 16px;
	line-height: 1.45;
	cursor: pointer;
}

.mkl-mbl-cta__consent input {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: var(--mbl-white);
}

.mkl-mbl-cta__consent a {
	color: inherit;
	text-decoration: underline;
}

.mkl-mbl-cta__success {
	margin-top: 12px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 8px;
}

.mkl-mbl-cta__trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
}

.mkl-mbl-cta__trust span {
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	font-size: 16px;
	text-align: center;
}

.mkl-mbl-cta__trust-wide { grid-column: 1 / -1; }

.mkl-mbl-cta__side {
	padding: 22px 20px;
	border-radius: 16px;
	background: var(--mbl-dark);
	color: #fff;
}

.mkl-mbl-cta__side-title {
	margin: 0 0 12px;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 18px;
	color: #fff;
}

.mkl-mbl-cta__contacts {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.mkl-mbl-cta__contacts li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mkl-mbl-cta__contacts li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mkl-mbl-cta__contacts li > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.mkl-mbl-cta__contacts strong {
	display: block;
	font-family: "TTNorms Medium", sans-serif;
	font-size: 16px;
	color: #fff;
}

.mkl-mbl-cta__contacts a,
.mkl-mbl-cta__contacts span {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
	text-decoration: none;
}

.mkl-mbl-cta__contacts a:hover { opacity: 0.85; }

.mkl-mbl-cta__pills {
	display: grid;
	gap: 8px;
}

.mkl-mbl-cta__pills span {
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 14px;
	color: #fff;
}

@media (max-width: 1100px) {
	.mkl-mbl-channels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mkl-mbl-monthly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mkl-mbl-expertise__featured,
	.mkl-mbl-expertise__tiles { grid-template-columns: 1fr; }
	.mkl-pricing-cards.mkl-mbl-pricing__cards,
	.mkl-mbl-pricing__cards { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
	.mkl-mbl-hero__stats,
	.mkl-mbl-compare__head,
	.mkl-mbl-compare__row,
	.mkl-mbl-weeks,
	.mkl-mbl-cases__grid,
	.mkl-mbl-faq__grid,
	.mkl-mbl-cta__layout,
	.mkl-mbl-cta__trust {
		grid-template-columns: 1fr !important;
	}

	.mkl-mbl-channels__grid,
	.mkl-mbl-monthly { grid-template-columns: 1fr; }

	.mkl-mbl-weeks__item {
		border-right: 0 !important;
		border-bottom: 1px solid rgba(35, 25, 113, 0.1) !important;
	}

	.mkl-mbl-weeks__item:last-child { border-bottom: 0 !important; }

	.mkl-mbl-hero__actions { flex-direction: column; }
	.mkl-mbl-btn { width: 100%; }
}
