/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

:root {
	--somy-accent: #ff329e;
	--somy-secondary: #ffed00;
	--somy-text: #111111;
	--somy-muted: #6e6e73;
	--somy-soft-pink: #ffeaf3;
}

/* Хедер стандартных страниц (Блог, Каталог, Сертификаты, Контакты, О нас и т.д.) —
   нежно-розовый вместо серого #f0f0f0 */
.wd-page-title.page-title-default,
.wd-page-title.page-title-default .wd-page-title-bg {
	background-color: var(--somy-soft-pink) !important;
}
.wd-page-title.page-title-default .wd-breadcrumbs a,
.wd-page-title.page-title-default .wd-breadcrumbs span {
	color: var(--somy-text);
}
.wd-page-title.page-title-default .wd-breadcrumbs a:hover {
	color: var(--somy-accent);
}
/* Shop-page header (Woodmart shop builder): серый фон секции с wd-woo-page-title */
.wp-block-wd-section:has(.wd-woo-page-title) {
	background-color: var(--somy-soft-pink) !important;
}
.wp-block-wd-section:has(.wd-woo-page-title) .wd-breadcrumbs a,
.wp-block-wd-section:has(.wd-woo-page-title) .wd-breadcrumbs span {
	color: var(--somy-text);
}
.wp-block-wd-section:has(.wd-woo-page-title) .wd-breadcrumbs a:hover {
	color: var(--somy-accent);
}

/* ===== Страница Контакты ===== */
.somy-contact-info,
.somy-contact-form {
	background: #ffffff;
	border-radius: 16px;
	padding: 36px 32px !important;
	box-shadow: 0 4px 24px rgba(17, 17, 17, 0.04);
}
.somy-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.somy-contact-list li {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}
.somy-contact-list li:last-child { border-bottom: none; }
.somy-contact-list .somy-ci-label {
	flex: 0 0 130px;
	color: var(--somy-muted);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.somy-contact-list .somy-ci-val {
	flex: 1 1 auto;
	color: var(--somy-text);
	font-weight: 500;
	line-height: 1.55;
}
.somy-contact-list .somy-ci-val a {
	color: var(--somy-text);
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
	transition: color .15s, border-color .15s;
}
.somy-contact-list .somy-ci-val a:hover {
	color: var(--somy-accent);
	border-bottom-color: var(--somy-accent);
}
.somy-map-wrap {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
}
.somy-map-wrap iframe {
	display: block;
	width: 100%;
	border: 0;
}
.somy-map-fallback {
	margin: 16px 0 0;
	text-align: center;
}
.somy-map-fallback a {
	color: var(--somy-accent);
	font-weight: 600;
	text-decoration: none;
}
.somy-map-fallback a:hover {
	text-decoration: underline;
}

/* ===== Страница «О нас» ===== */
/* Hero */
.wp-block-wd-title.wd-ab-lead-title-tttt0001 {
	font-size: 16px !important;
	font-weight: 500 !important;
	color: var(--somy-accent) !important;
	text-align: center !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-top: 20px;
}
.wp-block-wd-title.wd-ab-h1-tttt0002 {
	font-size: 64px !important;
	font-weight: 800 !important;
	text-align: center !important;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 30px;
}
.wp-block-wd-title.wd-ab-t2-tttt0003 {
	font-size: 40px !important;
	font-weight: 800 !important;
	text-align: center !important;
	letter-spacing: -0.01em;
}
.wp-block-wd-title.wd-ab-cta-t-tttt0007 {
	font-size: 40px !important;
	font-weight: 800 !important;
	text-align: center !important;
	letter-spacing: -0.01em;
}
.wp-block-wd-title.wd-ab-pr-t-tttt0006 {
	font-size: 36px !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	letter-spacing: -0.01em;
}
.wp-block-wd-title.wd-ab-st1-t-tttt0004,
.wp-block-wd-title.wd-ab-st2-t-tttt0005 {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: var(--somy-accent) !important;
}
.wp-block-wd-paragraph.wd-ab-cta-p-pppp0008,
.wp-block-wd-paragraph.wd-ab-p2-pppp0002 {
	text-align: center !important;
}
.somy-about-lead {
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
	font-size: 20px;
	line-height: 1.6;
	color: var(--somy-text);
	text-align: center !important;
}
.somy-about-section-lead {
	max-width: 720px;
	margin-left: auto !important;
	margin-right: auto !important;
	color: var(--somy-muted);
}
/* Блок цифр */
.somy-about-fact {
	background: #ffffff;
	border-radius: 16px;
	padding: 36px 24px !important;
	text-align: center;
	box-shadow: 0 4px 20px rgba(17, 17, 17, 0.05);
	border: 1px solid rgba(17, 17, 17, 0.04);
	transition: transform .15s, box-shadow .15s;
}
.somy-about-fact:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(255, 50, 158, 0.18);
}
.somy-fact-num {
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	color: var(--somy-accent);
	margin-bottom: 10px;
	letter-spacing: -0.02em;
}
.somy-fact-label {
	font-size: 14px;
	color: var(--somy-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.4;
}
/* Таймлайн-карточки */
.somy-story-card {
	background: #ffffff;
	border-radius: 18px;
	padding: 36px 32px !important;
	box-shadow: 0 4px 24px rgba(17, 17, 17, 0.05);
	position: relative;
	border-top: 4px solid var(--somy-accent);
}
.somy-story-card.somy-story-card-alt {
	border-top-color: var(--somy-secondary);
}
/* Секция «Производство сегодня» тёмная */
.somy-about-prod {
	border-radius: 24px;
	margin: 0 15px;
	overflow: hidden;
}
.somy-about-prod .somy-about-prod-text { padding: 40px !important; }
.somy-about-prod .somy-about-prod-photo img {
	border-radius: 16px;
	display: block;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}
.somy-prod-specs {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
}
.somy-prod-specs li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #d0d0d0;
	font-size: 15px;
}
.somy-prod-specs li:last-child { border-bottom: none; }
.somy-prod-specs li strong {
	flex: 0 0 50px;
	font-size: 28px;
	font-weight: 800;
	color: var(--somy-secondary);
	line-height: 1;
}
/* Блок Сколково — жёлтый */
.somy-about-skolkovo { text-align: center; }
.somy-skolkovo-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}
.somy-skolkovo-badge {
	display: inline-block;
	background: var(--somy-text);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 24px;
}
.somy-skolkovo-quote {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--somy-text);
	margin: 0 0 16px;
	padding: 0;
	border: none;
}
.somy-skolkovo-meta {
	font-size: 14px;
	color: rgba(17, 17, 17, 0.65);
	margin: 0;
}
/* CTA-блок снизу */
.somy-about-cta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}
.somy-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background .15s, color .15s, transform .15s, box-shadow .15s;
	cursor: pointer;
}
.somy-btn-primary {
	background: var(--somy-accent);
	color: #ffffff !important;
}
.somy-btn-primary:hover {
	background: #e01f83;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 50, 158, 0.3);
}
.somy-btn-outline {
	background: transparent;
	color: var(--somy-text) !important;
	border: 2px solid var(--somy-text);
}
.somy-btn-outline:hover {
	background: var(--somy-text);
	color: #ffffff !important;
}
@media (max-width: 1024px) and (min-width: 769px) {
	/* На планшете цифры 2×2 */
	.wp-block-wd-row.wd-ab-row1-rrrr0001 .wp-block-wd-column {
		flex: 0 0 calc(50% - 15px) !important;
		max-width: calc(50% - 15px);
	}
}
@media (max-width: 767px) {
	.somy-about-lead { font-size: 17px; padding: 0 16px; }
	.somy-about-section-lead { padding: 0 16px; }
	.somy-fact-num { font-size: 40px; }
	.somy-about-fact { padding: 28px 20px !important; }
	.somy-story-card { padding: 28px 22px !important; border-radius: 14px; }
	.somy-about-prod {
		margin: 0;
		border-radius: 0;
	}
	.somy-about-prod .somy-about-prod-text { padding: 30px 20px !important; }
	.somy-skolkovo-quote { font-size: 22px; }
	.somy-prod-specs li strong { flex: 0 0 44px; font-size: 24px; }
	/* Заголовки/лиды разделов О нас — отступы от края */
	.wp-block-wd-title.wd-ab-h1-tttt0002,
	.wp-block-wd-title.wd-ab-lead-title-tttt0001,
	.wp-block-wd-title.wd-ab-t2-tttt0003,
	.wp-block-wd-title.wd-ab-cta-t-tttt0007 {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	/* Уменьшаем крупные заголовки на мобильных */
	.wp-block-wd-title.wd-ab-h1-tttt0002 { font-size: 40px !important; line-height: 1.15; }
	.wp-block-wd-title.wd-ab-t2-tttt0003,
	.wp-block-wd-title.wd-ab-cta-t-tttt0007 { font-size: 30px !important; }
	.wp-block-wd-title.wd-ab-pr-t-tttt0006 { font-size: 26px !important; }
	.wp-block-wd-title.wd-ab-lead-title-tttt0001 { font-size: 13px !important; letter-spacing: 0.1em; }
	.wp-block-wd-title.wd-ab-st1-t-tttt0004,
	.wp-block-wd-title.wd-ab-st2-t-tttt0005 { font-size: 20px !important; }
	/* Ряд фактов и ряд таймлайна */
	.wp-block-wd-row.wd-ab-row1-rrrr0001,
	.wp-block-wd-row.wd-ab-row2-rrrr0002,
	.wp-block-wd-row.wd-ab-row3-rrrr0003 {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}
/* Форма CF7 */
.somy-contact-form .wpcf7 input[type="text"],
.somy-contact-form .wpcf7 input[type="email"],
.somy-contact-form .wpcf7 input[type="tel"],
.somy-contact-form .wpcf7 textarea {
	width: 100%;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 15px;
	background: #fafafa;
	transition: border-color .15s, background .15s;
}
.somy-contact-form .wpcf7 input:focus,
.somy-contact-form .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--somy-accent);
	background: #ffffff;
}
.somy-contact-form .wpcf7 p { margin-bottom: 14px; }
.somy-contact-form .wpcf7 .wpcf7-submit {
	background: var(--somy-accent);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s, transform .15s;
}
.somy-contact-form .wpcf7 .wpcf7-submit:hover {
	background: #e01f83;
	transform: translateY(-1px);
}
@media (max-width: 767px) {
	.somy-contact-info,
	.somy-contact-form {
		padding: 24px 20px !important;
		border-radius: 12px;
	}
	.somy-contact-list li {
		flex-direction: column;
		gap: 4px;
	}
	.somy-contact-list .somy-ci-label {
		flex: initial;
	}
}
	--somy-sky: #eaf4ff;
}

.somy-home {
	color: var(--somy-text);
	background: #fff;
}

.somy-shell {
	width: min(1320px, 94vw);
	margin: 0 auto;
}

.somy-home section {
	padding: clamp(42px, 5.3vw, 88px) 0;
}

.somy-announcement {
	background: var(--somy-accent);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.02em;
	font-weight: 700;
	text-align: center;
	padding: 11px 0;
}

.somy-nav-strip {
	background: var(--somy-sky);
	border-bottom: 1px solid #dce8f3;
	padding: 12px 0;
}

.somy-nav-strip .somy-shell {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: center;
}

.somy-nav-strip a {
	font-weight: 600;
	color: #244598;
}

.somy-hero {
	position: relative;
	min-height: 86vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 0 !important;
}

.somy-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.somy-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.64) 0%, rgba(17, 17, 17, 0.38) 48%, rgba(17, 17, 17, 0.2) 100%);
}

.somy-hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	padding: 90px 0;
}

.somy-hero-content h1 {
	color: #fff;
	font-size: clamp(36px, 6.6vw, 88px);
	line-height: 0.95;
	max-width: 980px;
	margin-bottom: 22px;
}

.somy-hero-content p {
	font-size: clamp(17px, 2.2vw, 28px);
	max-width: 760px;
	line-height: 1.3;
	margin-bottom: 26px;
}

.somy-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.somy-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.somy-cta:hover {
	transform: translateY(-1px);
}

.somy-cta-primary {
	background: var(--somy-accent);
	border-color: var(--somy-accent);
	color: #fff;
	box-shadow: 0 9px 24px rgba(255, 50, 158, 0.34);
}

.somy-cta-ghost {
	background: rgba(255, 255, 255, 0.11);
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.somy-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px 24px;
	margin-bottom: 20px;
}

.somy-section-head h2 {
	font-size: clamp(31px, 4.1vw, 54px);
	letter-spacing: -0.02em;
	line-height: 0.95;
	margin: 0;
}

.somy-section-head span,
.somy-section-head a {
	color: var(--somy-muted);
}

.somy-categories {
	background: #fff;
}

.somy-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.somy-category-card {
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 18px;
	padding: 24px 18px;
	min-height: 180px;
	display: grid;
	align-content: space-between;
	text-decoration: none;
}

.somy-category-card h3 {
	font-size: 24px;
	letter-spacing: -0.02em;
	color: var(--somy-text);
	margin: 0 0 10px;
}

.somy-category-card p {
	color: var(--somy-muted);
	margin: 0;
}

.somy-social-proof {
	background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
}

.somy-proof-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.somy-proof-item {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 18px;
}

.somy-proof-item strong {
	display: block;
	font-size: 38px;
	line-height: 1;
	margin-bottom: 8px;
}

.somy-proof-item span {
	color: var(--somy-muted);
}

.somy-products {
	padding-top: 72px;
}

.somy-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.somy-product-card {
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 16px;
	overflow: hidden;
	display: grid;
	grid-template-rows: auto 1fr;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.somy-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(17, 17, 17, 0.11);
}

.somy-product-thumb {
	background: #fbfbfb;
	display: block;
}

.somy-product-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.somy-product-content {
	padding: 16px;
}

.somy-product-content h3 {
	font-size: 21px;
	margin: 0 0 8px;
}

.somy-product-content p {
	color: var(--somy-muted);
	margin: 0 0 10px;
}

.somy-variations {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 8px 0 10px;
}

.somy-variation-chip {
	font-size: 12px;
	line-height: 1;
	padding: 6px 9px;
	border-radius: 999px;
	font-weight: 700;
	background: #fff0f7;
	color: #b0196d;
}

.somy-marketplace-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 10px;
}

.somy-marketplace-buttons .somy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	font-size: 13px;
}

.somy-marketplace-buttons .somy-btn-ozon {
	background: var(--somy-accent);
	border-color: var(--somy-accent);
	color: #fff;
}

.somy-marketplace-buttons .somy-btn-wb {
	background: #fff;
	border-color: var(--somy-accent);
	color: var(--somy-accent);
}

.somy-dry-fuel {
	background: #f9fafc;
}

.somy-dry-fuel-card {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 26px;
	background: #fff;
	border: 1px solid #eceff4;
	border-radius: 20px;
	padding: 30px;
}

.somy-dry-fuel-card h2 {
	font-size: clamp(30px, 4vw, 48px);
	line-height: 0.95;
	margin-bottom: 16px;
}

.somy-dry-fuel-card p,
.somy-dry-fuel-card li {
	color: var(--somy-muted);
}

.somy-dry-fuel-actions {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	gap: 10px;
}

.somy-how-it-works {
	background: var(--somy-secondary);
}

.somy-how-it-works h2 {
	font-size: clamp(32px, 4vw, 56px);
	letter-spacing: -0.02em;
	margin-bottom: 20px;
}

.somy-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.somy-steps > div {
	background: rgba(255, 255, 255, 0.78);
	padding: 20px;
	border-radius: 14px;
}

.somy-certs {
	background: #fff;
}

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

.somy-cert-card {
	border: 1px solid #ececec;
	border-radius: 16px;
	padding: 20px;
	background: #fff;
	min-height: 176px;
}

.somy-cert-card h3 {
	font-size: 24px;
	line-height: 1.05;
	margin-bottom: 10px;
}

.somy-cert-card p {
	color: var(--somy-muted);
}

.somy-about {
	background: #f6f7f9;
}

.somy-about-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 28px;
}

.somy-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--somy-accent);
	margin-bottom: 8px;
}

.somy-about h2 {
	font-size: clamp(32px, 4.3vw, 58px);
	letter-spacing: -0.03em;
	line-height: 0.95;
	margin-bottom: 16px;
}

.somy-about p {
	color: #4f4f53;
}

.somy-utp-list {
	background: #fff;
	border-radius: 18px;
	padding: 22px;
	border: 1px solid #ececec;
}

.somy-utp-list h3 {
	font-size: 24px;
	margin-bottom: 10px;
}

.somy-utp-list li {
	margin-bottom: 8px;
}

.somy-link-more {
	font-weight: 700;
	color: #244598;
}

.somy-blog {
	background: #fff;
}

.somy-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.somy-blog-card {
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 16px;
	overflow: hidden;
}

.somy-blog-card img {
	width: 100%;
	height: auto;
	display: block;
}

.somy-blog-content {
	padding: 15px;
}

.somy-blog-content h3 {
	font-size: 24px;
	line-height: 1.03;
	margin-bottom: 8px;
}

.somy-blog-content p {
	color: var(--somy-muted);
	margin: 0;
}

.somy-blog-date {
	font-size: 12px;
	font-weight: 700;
	color: #888;
	margin-bottom: 8px !important;
}

.somy-final-cta {
	background: var(--somy-accent);
	color: #fff;
}

.somy-final-cta h2 {
	color: #fff;
	font-size: clamp(34px, 4.7vw, 64px);
	letter-spacing: -0.03em;
	line-height: 0.95;
	margin-bottom: 10px;
}

.somy-final-cta p {
	max-width: 670px;
	margin-bottom: 16px;
}

.somy-final-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.somy-cta-light {
	background: #fff;
	color: var(--somy-accent);
}

.somy-contacts-line {
	display: grid;
	gap: 6px;
	margin-top: 16px;
	color: #fff;
}

.somy-contacts-line a {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 1200px) {
	.somy-categories-grid,
	.somy-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.somy-proof-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.somy-about-grid,
	.somy-dry-fuel-card,
	.somy-blog-grid,
	.somy-certs-grid,
	.somy-steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.somy-home section {
		padding: 36px 0;
	}

	.somy-hero {
		min-height: 70vh;
	}

	.somy-hero-content h1 {
		line-height: 1.02;
	}

	.somy-categories-grid,
	.somy-product-grid,
	.somy-proof-grid {
		grid-template-columns: 1fr;
	}
}

/* Вариант A (шаблон дубль 3): заглушка hero без видео */
.somy-home--variant-a .somy-variant-a-hero-placeholder {
	min-height: 78vh;
	background: radial-gradient(circle at 20% 20%, rgba(255, 50, 158, 0.35), transparent 45%),
		linear-gradient(145deg, #12121a 0%, #1e1e2e 55%, #252536 100%);
}

.somy-home--variant-a .somy-variant-a-hero-placeholder .somy-hero-overlay {
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0.25) 100%);
}

.somy-muted-text {
	color: var(--somy-muted);
	margin: 0;
}


/* =========================================================================
   Главная (ID=59) — блоки 2 (Цифры), 3 (Производство), 4 (Отзывы)
   ========================================================================= */

/* ---------- Воздух 80px между блоками ---------- */
.wp-block-wd-title.wd-b2-title-cd3e4f51,
.wp-block-wd-title.wd-b3-title-aaaa1111,
.wp-block-wd-title.wd-b4-title-bbbb1111,
.wp-block-wd-title.wd-9ae9095e {
	margin-top: 80px !important;
}
@media (max-width: 1024px) {
	.wp-block-wd-title.wd-b2-title-cd3e4f51,
	.wp-block-wd-title.wd-b3-title-aaaa1111,
	.wp-block-wd-title.wd-b4-title-bbbb1111,
	.wp-block-wd-title.wd-9ae9095e {
		margin-top: 60px !important;
	}
}
@media (max-width: 767px) {
	.wp-block-wd-title.wd-b2-title-cd3e4f51,
	.wp-block-wd-title.wd-b3-title-aaaa1111,
	.wp-block-wd-title.wd-b4-title-bbbb1111,
	.wp-block-wd-title.wd-9ae9095e {
		margin-top: 40px !important;
	}
}

/* ---------- Блок 2. Четыре жёлтые карточки-цифры ---------- */
.somy-number-card {
	border-radius: 16px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
}
.somy-number-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 28px rgba(255, 50, 158, 0.14);
}
.somy-number-card .wp-block-wd-title:first-of-type {
	font-weight: 800;
	letter-spacing: -0.02em;
}
.somy-number-card h3.wp-block-wd-title {
	font-weight: 700;
	color: #111;
}
.somy-number-card .wp-block-wd-paragraph {
	color: rgba(17, 17, 17, 0.78);
	line-height: 1.5;
}
.somy-number-card::after {
	content: "";
	position: absolute;
	right: -30px;
	bottom: -30px;
	width: 90px;
	height: 90px;
	border-radius: 999px;
	background: rgba(255, 50, 158, 0.08);
	pointer-events: none;
}

/* ---------- Блок 3. Производство — таймлайн + фото ---------- */
.somy-timeline .somy-timeline-item {
	padding-left: 18px;
	border-left: 3px solid #ff329e;
	line-height: 1.5;
	position: relative;
}
.somy-timeline .somy-timeline-item::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 4px;
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: #ff329e;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px #ff329e;
}
.somy-timeline .somy-timeline-item strong {
	color: #ff329e;
	font-weight: 800;
	margin-right: 4px;
	letter-spacing: -0.01em;
}

.somy-prod-photo {
	position: relative;
	justify-content: center !important;
	align-items: center;
}
.somy-prod-photo .wp-block-wd-image {
	position: relative;
	z-index: 1;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
}
.somy-prod-photo .wp-block-wd-image::before {
	content: "";
	position: absolute;
	right: -18px;
	top: -18px;
	width: 60%;
	height: 60%;
	background: #ffed00;
	border-radius: 16px;
	z-index: -1;
	pointer-events: none;
}
.somy-prod-photo .wp-block-wd-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Левая колонка блока 3 — контент по центру вертикально */
.wp-block-wd-column.somy-timeline {
	justify-content: center !important;
}

/* ---------- Блок 4. Отзывы — сетка карточек с цветной полоской сверху ---------- */
.somy-review-card {
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	justify-content: flex-start !important;
}
.somy-review-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.somy-review-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 4px;
	z-index: 1;
}
.somy-review-card--ozon::before { background: #005bff; }
.somy-review-card--wb::before   { background: #cb11ab; }

/* Строка-заголовок "★★★★★ · Ozon|Wildberries" */
.somy-review-card .somy-rev-head {
	font-weight: 700;
	letter-spacing: 0.02em;
	font-size: 13px !important;
	display: flex;
	align-items: center;
	gap: 8px;
}
.somy-review-card .somy-rev-stars {
	color: #ffc107;
	-webkit-text-stroke: 0.5px rgba(17, 17, 17, 0.25);
	letter-spacing: 1px;
}
.somy-review-card .somy-rev-src {
	text-transform: none;
	font-weight: 800;
}
.somy-review-card--ozon .somy-rev-src { color: #005bff; }
.somy-review-card--wb   .somy-rev-src { color: #cb11ab; }

/* Текст отзыва — занимает всё свободное пространство */
.somy-review-card .somy-rev-text {
	color: #111;
	line-height: 1.55;
	font-size: 14px;
	flex: 1 1 auto;
}

/* Подпись-продукт прижата к низу карточки */
.somy-review-card .somy-rev-meta {
	margin-top: auto !important;
	padding-top: 12px;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
	font-size: 13px;
	color: #666 !important;
	line-height: 1.4;
}

/* ---------- Общее / адаптация ---------- */
@media (max-width: 1024px) and (min-width: 769px) {
	/* Блок 2 (цифры) и блок 4 (отзывы) — на планшете переставляем по 2 в ряд */
	.wp-block-wd-row.wd-b2-row-3dde3d95 .wp-block-wd-column,
	.wp-block-wd-row.wd-b4-row1-rrrr1111 .wp-block-wd-column,
	.wp-block-wd-row.wd-b4-row2-rrrr2222 .wp-block-wd-column {
		flex: 0 0 calc(50% - 15px) !important;
		max-width: calc(50% - 15px);
	}
	.somy-prod-photo .wp-block-wd-image::before {
		right: -8px;
		top: -8px;
	}
}
@media (max-width: 767px) {
	.somy-number-card::after { display: none; }
	.somy-prod-photo .wp-block-wd-image::before { display: none; }
	.somy-prod-photo .wp-block-wd-image { max-width: 320px; }
	/* На мобильной отступы карточек компактнее */
	.somy-number-card {
		padding: 24px 20px !important;
	}
	.somy-review-card {
		padding: 22px 20px !important;
	}
	/* Горизонтальные отступы контента блоков 2/3/4 на мобильном,
	   чтобы заголовки, параграфы и таймлайн не прижимались к краю экрана */
	.wp-block-wd-row.wd-b2-row-3dde3d95,
	.wp-block-wd-row.wd-b3-row-cb6dc634,
	.wp-block-wd-row.wd-b4-row1-rrrr1111,
	.wp-block-wd-row.wd-b4-row2-rrrr2222 {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	/* Заголовки и лид-параграфы блоков 2/3/4 (вне row) — с горизонтальными паддингами */
	.wp-block-wd-title.wd-b2-title-cd3e4f51,
	.wp-block-wd-title.wd-b3-title-aaaa1111,
	.wp-block-wd-title.wd-b4-title-bbbb1111,
	.wp-block-wd-paragraph.wd-b2-lead-f1a25b07,
	.wp-block-wd-paragraph.wd-b3-lead-aaaa2222,
	.wp-block-wd-paragraph.wd-b4-lead-9ec27488 {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	/* Воздух между секциями на мобильном */
	.wp-block-wd-title.wd-b2-title-cd3e4f51,
	.wp-block-wd-title.wd-b3-title-aaaa1111,
	.wp-block-wd-title.wd-b4-title-bbbb1111,
	.wp-block-wd-title.wd-9ae9095e {
		margin-top: 56px !important;
	}
}
