/*
Theme Name: Delta Store
Theme URI: https://delta-mebel.shop
Author: Delta
Author URI: https://delta-furniture.ru
Description: Дочерняя тема интернет-магазина мебели Delta. Базовая тема — Twenty Twenty-Five (блочная). Дизайн — в стиле крупных мебельных маркетплейсов: белый фон, синий акцент, карточки товаров с ценой.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delta-store
Template: twentytwentyfive
*/

/* =========================================================
   1. Базовые стили и шрифты
   ========================================================= */
:root {
	--delta-blue: #2563eb;
	--delta-blue-dark: #1d4ed8;
	--delta-blue-soft: #eff4ff;
	--delta-dark: #111827;
	--delta-text: #1f2937;
	--delta-muted: #6b7280;
	--delta-light: #f6f7f9;
	--delta-border: #e5e7eb;
	--delta-white: #ffffff;
	--delta-radius: 12px;
	--delta-radius-sm: 8px;
	--delta-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
	--delta-shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.12);
	--delta-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
	background-color: var(--delta-white);
	color: var(--delta-text);
	font-family: var(--delta-font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	padding-top: 0;
}

a {
	color: var(--delta-blue);
	text-decoration: none;
}

a:hover {
	color: var(--delta-blue-dark);
	text-decoration: underline;
}

img {
	height: auto;
}

/* =========================================================
   2. Верхняя полоса (телефон / инфо)
   ========================================================= */
.delta-topbar {
	background: #1e3a8a;
	color: #ffffff;
	font-size: 0.86rem;
	padding: 7px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	text-align: center;
}

.delta-topbar a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.delta-topbar a:hover {
	text-decoration: underline;
}

.delta-topbar .delta-topbar__phone {
	font-weight: 700;
	white-space: nowrap;
}

.delta-topbar .delta-topbar__sep {
	opacity: 0.5;
}

@media (max-width: 640px) {
	.delta-topbar .delta-topbar__hide-mobile {
		display: none;
	}
}

/* =========================================================
   3. Шапка
   ========================================================= */
.wp-site-blocks > header,
header.wp-block-template-part {
	background: var(--delta-white);
	border-bottom: 1px solid var(--delta-border);
	box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
	position: sticky;
	top: 0;
	z-index: 100;
}

header .wp-block-site-title {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--delta-dark);
	margin: 0;
}

header .wp-block-site-title a {
	color: var(--delta-dark);
	text-decoration: none;
}

header .wp-block-site-title a:hover {
	color: var(--delta-blue);
}

/* Навигация в шапке */
header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--delta-text);
	font-weight: 600;
	font-size: 0.95rem;
}

header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--delta-blue);
}

header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
header .wp-block-navigation .current_page_item > .wp-block-navigation-item__content {
	color: var(--delta-blue);
}

/* Вторая строка шапки — категории */
header .wp-block-group.has-light-background-color {
	background: var(--delta-light);
	border-top: 1px solid var(--delta-border);
}

header .wp-block-group.has-light-background-color .wp-block-navigation .wp-block-navigation-item__content {
	font-weight: 700;
	font-size: 0.92rem;
	padding: 6px 12px;
	border-radius: 6px;
}

header .wp-block-group.has-light-background-color .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: var(--delta-blue-soft);
}

/* Подменю — выпадающее */
header .wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
	border-radius: var(--delta-radius-sm);
	box-shadow: var(--delta-shadow);
	padding: 8px;
}

header .wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 8px 12px;
	border-radius: 6px;
	white-space: nowrap;
}

header .wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--delta-blue-soft);
	color: var(--delta-blue);
}

/* Скрываем корзину и кабинет — магазин работает по заявкам */
header .wc-block-mini-cart,
header [data-block-name="woocommerce/customer-account"] {
	display: none !important;
}

/* Верхние ссылки в шапке */
.delta-topnav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.delta-topnav__link {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--delta-text);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.delta-topnav__link:hover {
	background: var(--delta-blue-soft);
	color: var(--delta-blue);
	text-decoration: none;
}

/* Панель категорий в шапке */
.delta-catbar {
	background: var(--delta-light);
	border-top: 1px solid var(--delta-border);
	border-bottom: 1px solid var(--delta-border);
}

.delta-catbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 4px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.delta-catbar__item {
	position: relative;
}

.delta-catbar__link {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--delta-text);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
}

.delta-catbar__link:hover {
	background: var(--delta-blue-soft);
	color: var(--delta-blue);
	text-decoration: none;
}

.delta-catbar__item--has-children > .delta-catbar__link::after {
	content: " ▾";
	opacity: 0.6;
}

.delta-catbar__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
	border-radius: 10px;
	box-shadow: var(--delta-shadow-lg);
	padding: 8px;
	z-index: 200;
}

.delta-catbar__item:hover .delta-catbar__dropdown,
.delta-catbar__item:focus-within .delta-catbar__dropdown {
	display: block;
}

.delta-catbar__dropdown-link {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	color: var(--delta-text);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
}

.delta-catbar__dropdown-link:hover {
	background: var(--delta-blue-soft);
	color: var(--delta-blue);
	text-decoration: none;
}

/* =========================================================
   4. Герой-блок на главной
   ========================================================= */
body.home .wp-block-cover {
	background: linear-gradient(120deg, #1e3a8a 0%, #1d4ed8 55%, #2563eb 100%) !important;
}

body.home .wp-block-cover h1 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.15;
	margin-bottom: 0.6em;
}

body.home .wp-block-cover p {
	font-size: clamp(1rem, 2vw, 1.25rem);
	opacity: 0.95;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   5. Заголовки секций на главной
   ========================================================= */
body.home .wp-block-heading {
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--delta-dark);
}

/* =========================================================
   6. Кнопки
   ========================================================= */
.button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button {
	background-color: var(--delta-blue) !important;
	color: #ffffff !important;
	border-radius: var(--delta-radius-sm);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0.2px;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background-color: var(--delta-blue-dark) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
	transform: translateY(-1px);
}

/* Кнопка «Оставить заявку» */
.delta-request-button {
	display: block;
	width: 100%;
	text-align: center;
	background-color: var(--delta-blue);
	color: #ffffff;
	border: none;
	border-radius: var(--delta-radius-sm);
	padding: 13px 18px;
	font-size: 0.98rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.3;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.delta-request-button:hover {
	background-color: var(--delta-blue-dark);
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
	transform: translateY(-1px);
}

/* «Читать далее» в блочных карточках — вторичная кнопка */
.wc-block-components-product-button .wp-block-button__link {
	background: var(--delta-white) !important;
	color: var(--delta-blue) !important;
	border: 1px solid var(--delta-blue);
	padding: 10px 16px;
	font-size: 0.9rem;
	font-weight: 600;
}

.wc-block-components-product-button .wp-block-button__link:hover {
	background: var(--delta-blue-soft) !important;
	color: var(--delta-blue-dark) !important;
	box-shadow: none;
	transform: none;
}

/* =========================================================
   7. Карточки категорий (главная / каталог)
   ========================================================= */
.woocommerce ul.products li.product-category {
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
	border-radius: var(--delta-radius);
	padding: 14px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product-category:hover {
	box-shadow: var(--delta-shadow-lg);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product-category a img {
	border-radius: var(--delta-radius-sm);
	width: 100%;
	height: 180px;
	object-fit: cover;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--delta-dark);
	text-align: center;
	padding: 0;
	margin: 0;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title mark {
	background: none;
	color: var(--delta-muted);
	font-weight: 500;
}

/* =========================================================
   8. Карточки товаров — классические (shortcode на главной)
   ========================================================= */
.woocommerce ul.products li.product {
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
	border-radius: var(--delta-radius);
	padding: 14px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
	box-shadow: var(--delta-shadow-lg);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
	border-radius: var(--delta-radius-sm);
	width: 100%;
	height: 220px;
	object-fit: cover;
	margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--delta-text);
	padding: 0;
	margin-bottom: 8px;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.woocommerce ul.products li.product .price {
	color: var(--delta-dark) !important;
	font-weight: 800 !important;
	font-size: 1.15rem !important;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product .price del {
	color: var(--delta-muted);
	font-weight: 500;
	opacity: 0.8;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

/* =========================================================
   9. Карточки товаров — блочные (архивы, каталог)
   ========================================================= */
.wc-block-product-template {
	gap: 20px;
}

li.wc-block-product {
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
	border-radius: var(--delta-radius);
	padding: 14px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
}

li.wc-block-product:hover {
	box-shadow: var(--delta-shadow-lg);
	transform: translateY(-3px);
}

li.wc-block-product .wc-block-components-product-image {
	border-radius: var(--delta-radius-sm);
	overflow: hidden;
	margin-bottom: 12px;
}

li.wc-block-product .wc-block-components-product-image img {
	transition: transform 0.3s ease;
}

li.wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

li.wc-block-product .wp-block-post-title {
	font-size: 0.98rem !important;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 8px;
	text-align: left !important;
	color: var(--delta-text);
}

li.wc-block-product .wp-block-post-title a {
	color: var(--delta-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

li.wc-block-product .wp-block-post-title a:hover {
	color: var(--delta-blue);
}

li.wc-block-product .wp-block-woocommerce-product-price,
li.wc-block-product .wc-block-components-product-price {
	margin-bottom: 10px !important;
}

li.wc-block-product .wc-block-components-product-price .woocommerce-Price-amount {
	color: var(--delta-dark) !important;
	font-weight: 800 !important;
	font-size: 1.15rem !important;
}

li.wc-block-product .wp-block-woocommerce-product-button {
	margin-top: auto;
	margin-bottom: 10px !important;
}

li.wc-block-product .delta-request-button {
	margin-top: 0;
}

/* Старый-новый ценник в блочных карточках */
.wc-block-components-product-price del,
.wc-block-components-product-price .wc-block-components-product-price__regular {
	color: var(--delta-muted);
	font-weight: 500;
	opacity: 0.8;
}

/* =========================================================
   10. Страница товара
   ========================================================= */
body.single-product {
	background: var(--delta-white);
}

body.single-product .wp-block-woocommerce-product-title,
body.single-product .product_title {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--delta-dark);
}

body.single-product .wp-block-woocommerce-product-price .wc-block-components-product-price {
	font-size: 1.7rem !important;
}

body.single-product .wc-block-components-product-price .woocommerce-Price-amount {
	color: var(--delta-dark) !important;
	font-weight: 800 !important;
	font-size: 1.7rem !important;
}

body.single-product .wc-block-components-product-price del {
	font-size: 1.1rem;
	font-weight: 500;
}

body.single-product .wp-block-woocommerce-product-image-gallery {
	border-radius: var(--delta-radius);
	overflow: hidden;
	border: 1px solid var(--delta-border);
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	border-bottom: 1px solid var(--delta-border);
}

body.single-product .delta-request-button {
	max-width: 420px;
	padding: 16px 22px;
	font-size: 1.08rem;
}

body.single-product .wp-block-woocommerce-product-details,
body.single-product .woocommerce table.shop_attributes {
	border: 1px solid var(--delta-border);
	border-radius: var(--delta-radius-sm);
	overflow: hidden;
}

body.single-product table.shop_attributes th {
	background: var(--delta-light);
	color: var(--delta-muted);
	font-weight: 600;
	width: 38%;
	border-color: var(--delta-border);
}

body.single-product table.shop_attributes td {
	border-color: var(--delta-border);
	color: var(--delta-text);
}

body.single-product table.shop_attributes tr:nth-child(odd) td {
	background: var(--delta-white);
}

body.single-product .wc-block-components-product-sku {
	color: var(--delta-muted);
	font-size: 0.85rem;
}

/* =========================================================
   11. Хлебные крошки / сортировка / пагинация
   ========================================================= */
.woocommerce .woocommerce-breadcrumb {
	color: var(--delta-muted);
	font-size: 0.85rem;
	margin-bottom: 16px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--delta-muted);
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--delta-blue);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 16px;
}

.woocommerce nav.woocommerce-pagination ul {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
	margin: 0 3px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: var(--delta-radius-sm);
	padding: 8px 14px;
	font-weight: 600;
	color: var(--delta-text);
	background: var(--delta-white);
	border: 1px solid var(--delta-border);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--delta-blue);
	border-color: var(--delta-blue);
	color: #ffffff;
}

/* =========================================================
   12. Подвал
   ========================================================= */
.wp-site-blocks > footer,
footer.wp-block-template-part {
	background: #111827;
	color: #d1d5db;
	margin-top: 40px;
}

footer.wp-block-template-part .wp-block-site-title a,
footer.wp-block-template-part .wp-block-site-title {
	color: #ffffff;
	font-weight: 800;
}

footer.wp-block-template-part .wp-block-site-tagline {
	color: #9ca3af;
}

footer.wp-block-template-part .wp-block-navigation-item__content,
footer.wp-block-template-part a {
	color: #d1d5db;
}

footer.wp-block-template-part .wp-block-navigation-item__content:hover,
footer.wp-block-template-part a:hover {
	color: #ffffff;
	text-decoration: underline;
}

footer.wp-block-template-part p,
footer.wp-block-template-part li {
	color: #9ca3af;
}

footer.wp-block-template-part .wp-block-heading {
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 14px;
}

footer.wp-block-template-part .wp-block-columns {
	gap: 40px;
}

.delta-footnav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.delta-footnav a {
	color: #d1d5db;
	text-decoration: none;
	font-size: 0.95rem;
	display: inline-block;
	padding: 2px 0;
}

.delta-footnav a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* =========================================================
   13. Заголовок архивов категорий
   ========================================================= */
.woocommerce .woocommerce-products-header .page-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--delta-dark);
	letter-spacing: -0.5px;
}

.woocommerce .term-description {
	color: var(--delta-muted);
	margin-bottom: 20px;
}

/* =========================================================
   14. Адаптив
   ========================================================= */
@media (max-width: 782px) {
	.wc-block-product-template {
		gap: 14px;
	}

	li.wc-block-product,
	.woocommerce ul.products li.product {
		padding: 10px;
	}

	.delta-request-button {
		padding: 11px 14px;
		font-size: 0.92rem;
	}

	.delta-topnav {
		gap: 2px;
	}

	.delta-topnav__link {
		padding: 6px 8px;
		font-size: 0.88rem;
	}

	.delta-catbar__inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 4px 10px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.delta-catbar__inner::-webkit-scrollbar {
		display: none;
	}

	.delta-catbar__link {
		padding: 9px 10px;
		font-size: 0.9rem;
		white-space: nowrap;
	}

	.delta-catbar__dropdown {
		display: none !important;
	}
}

@media (max-width: 600px) {
	header .wp-block-site-title {
		font-size: 1.2rem;
	}

	.woocommerce ul.products li.product a img {
		height: 180px;
	}
}

/* ============ Лендинг раздела «Диваны» ============ */
.delta-landing__hero {
	background: linear-gradient(135deg, #f5f2ea 0%, #ece5d8 100%);
	border-radius: 16px;
	padding: 48px 40px;
	margin: 24px 0 40px;
	text-align: center;
}

.delta-landing__title {
	font-size: clamp(1.7rem, 3.5vw, 2.6rem);
	line-height: 1.15;
	margin: 0 0 16px;
	color: #1c1a17;
}

.delta-landing__intro {
	max-width: 720px;
	margin: 0 auto 24px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #4a463f;
}

.delta-landing__cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.delta-btn {
	display: inline-block;
	background: #e86a17;
	color: #fff;
	font-weight: 600;
	padding: 13px 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.delta-btn:hover {
	background: #d45c0e;
	color: #fff;
}

.delta-btn--ghost {
	background: #fff;
	color: #1c1a17;
	border: 1px solid #d9d2c4;
}

.delta-btn--ghost:hover {
	background: #f6f2ea;
	color: #1c1a17;
}

.delta-landing__section {
	margin: 0 0 48px;
}

.delta-landing__subtitle {
	font-size: clamp(1.3rem, 2.5vw, 1.8rem);
	margin: 0 0 22px;
	color: #1c1a17;
}

.delta-types {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.delta-type {
	display: block;
	background: #fff;
	border: 1px solid #e8e2d6;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: #1c1a17;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.delta-type:hover {
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	color: #1c1a17;
}

.delta-type__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f2eee6;
}

.delta-type__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.delta-type__body {
	display: block;
	padding: 14px 16px 16px;
}

.delta-type__name {
	display: block;
	font-weight: 600;
	font-size: 1.02rem;
	margin-bottom: 4px;
}

.delta-type__count {
	display: block;
	font-size: 0.9rem;
	color: #8a857a;
}

.delta-landing__seo {
	background: #faf8f4;
	border-radius: 16px;
	padding: 36px 40px;
	margin: 8px 0 16px;
}

.delta-landing__seo p {
	font-size: 1rem;
	line-height: 1.7;
	color: #4a463f;
	margin-bottom: 14px;
}

.delta-landing__section .woocommerce.columns-4 ul.products {
	justify-content: flex-start;
}

/* ============ Блоки главной страницы ============ */
.delta-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.delta-benefit {
	background: #fff;
	border: 1px solid #e8e2d6;
	border-radius: 12px;
	padding: 24px 22px;
}

.delta-benefit__title {
	font-size: 1.12rem;
	margin: 0 0 10px;
	color: #1c1a17;
}

.delta-benefit__text {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #4a463f;
	margin: 0;
}

.delta-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.delta-step {
	background: #fff;
	border: 1px solid #e8e2d6;
	border-radius: 12px;
	padding: 24px 22px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.delta-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e86a17;
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
	flex: 0 0 auto;
}

.delta-step__title {
	font-size: 1.1rem;
	margin: 0 0 8px;
	color: #1c1a17;
}

.delta-step__text {
	font-size: 0.93rem;
	line-height: 1.55;
	color: #4a463f;
	margin: 0;
}

.delta-home-about {
	background: linear-gradient(135deg, #f5f2ea 0%, #ece5d8 100%);
	border-radius: 16px;
	padding: 40px;
}

.delta-home-about h2 {
	margin-top: 0;
}

.delta-home-about .wp-block-list li {
	margin-bottom: 8px;
	line-height: 1.6;
}

/* Адаптив лендинга и блоков */
@media (max-width: 900px) {
	.delta-types {
		grid-template-columns: repeat(3, 1fr);
	}

	.delta-benefits,
	.delta-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.delta-types {
		grid-template-columns: repeat(2, 1fr);
	}

	.delta-landing__hero,
	.delta-landing__seo,
	.delta-home-about {
		padding: 28px 20px;
	}
}

/* =========================================================
   15. Карточки товаров в каталоге — фото без обрезки
   ========================================================= */
li.wc-block-product .wc-block-components-product-image,
.wc-block-components-product-image {
	aspect-ratio: auto !important;
}

li.wc-block-product .wc-block-components-product-image img,
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img {
	aspect-ratio: auto !important;
	height: auto !important;
	object-fit: contain !important;
}

/* =========================================================
   16. Новый дизайн (макеты 01-home / 02-category / 03-product)
   ========================================================= */
:root {
	--navy: #10272d;
	--cream: #f5f1e8;
	--gold: #c4a36f;
	--gold2: #a98a59;
	--ink: #111;
	--muted: #62635e;
	--white: #fff;
	--line: #ded7c9;
	--radius: 14px;
	--max: 1240px;
}

/* Палитра каталога/категорий/товара — тёплая светлая по дизайн-системе CRO.
   Скопирована на страницы каталога, чтобы не трогать главную и блог. */
body.tax-product_cat,
body.post-type-archive-product,
body.single-product {
	--navy: #7b5139;
	--cream: #f7f5f1;
	--gold: #7b5139;
	--gold2: #623e2c;
	--ink: #1c1917;
	--muted: #6b625a;
	--line: #e6ddd2;
	background: #f7f5f1;
}

/* --- Кнопки, хлебные крошки и заголовки секций (каталог и категории) --- */

/* --- Шапка/подвал: полная ширина, без белых полос по бокам --- */
/* Родительская тема (global styles) даёт body боковой padding и display:grid,
   из-за чего шапка сжималась и появлялись белые полосы. Обнуляем паддинги,
   а контент по-прежнему центрируется через .container. */
body {
	padding-left: 0;
	padding-right: 0;
	--wp--style--root--padding-left: 0;
	--wp--style--root--padding-right: 0;
}
/* Статьи: глобальные стили родительской темы сужают body до 860px
   (--wp--style--global--content-size), из-за чего шапка/подвал сжимаются,
   а телефон вылезает за правый край. Возвращаем body на всю ширину —
   контент .single-post центрируется своим правилом ниже. */
body.single-post,
body.single {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* Обёртку шапки делаем липкой, чтобы шапка оставалась при скролле.
   Фон, границу и размытие рисует сам .dm-header (внутри обёртки). */
.wp-site-blocks > header,
header.wp-block-template-part {
	background: transparent;
	border-bottom: none;
	box-shadow: none;
	position: sticky;
	top: 0;
	z-index: 100;
}
.wp-site-blocks > footer,
footer.wp-block-template-part {
	background: transparent;
	margin-top: 0;
}

.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 13px 20px; font-weight: 800; transition: .2s; cursor: pointer; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: var(--gold2); color: var(--gold2); }
.btn-block { width: 100%; }

.crumbs { font-size: 12px; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--gold2); }

.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.4px; color: var(--ink); }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.link { font-weight: 800; color: var(--gold2); white-space: nowrap; }
.link:hover { color: var(--gold); }

@media (max-width: 800px) {
	.container { width: min(var(--max), calc(100% - 28px)); }
	.section { padding: 52px 0; }
}

@media (max-width: 430px) {
	.btn { padding: 11px 13px; font-size: 13px; }
}

/* --- Раздел диванов: hero, виды, фильтры, сетка, пагинация, SEO ---
   Фон hero-блока категорий — светлый #e9e1d6, как на главной странице. */
.category-hero { background: #e9e1d6; color: #20201e; border-radius: 18px; padding: 48px 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 50px; }
.category-hero h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -2px; margin: 0 0 12px; color: #20201e; }
.category-hero p { color: #5f5a52; max-width: 680px; margin: 0; }
.category-hero .hero-actions { margin-top: 26px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* Hero-слайдер в категориях каталога (как на главной).
   Сохраняем «квадратную» пропорцию кадра как у исходных баннеров (~1094x1024),
   чтобы cover не обрезал верх/низ, как на главной странице. */
.category-hero .dm-hero-image {
	flex: 0 0 min(46%, 520px);
	min-height: 0;
	min-width: 0;
	width: 100%;
	aspect-ratio: 1.07 / 1;
	border-radius: 14px;
	align-self: center;
	overflow: hidden;
}
@media (max-width: 1050px) {
	.category-hero .dm-hero-image {
		flex-basis: min(52%, 460px);
	}
}
@media (max-width: 760px) {
	.category-hero { flex-wrap: wrap; align-items: center; }
	.category-hero .dm-hero-image {
		flex: 1 1 100%;
		width: 100%;
		margin-top: 22px;
	}
}

.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 60px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px; transition: .2s; display: block; }
.type:hover, .type.active { border-color: var(--gold); }
.type img { width: 100%; aspect-ratio: 1.3/1; object-fit: cover; border-radius: 8px; display: block; }
.type h3 { font-size: 13px; margin: 10px 3px 3px; color: var(--ink); }
.type span { font-size: 11px; color: var(--muted); margin: 0 3px; }

/* --- Каталог /catalog/: группы «Основная мебель» и «Свет и интерьер» --- */
.catalog-group { margin-top: 46px; }
.catalog-group-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -1px; margin: 0 0 26px; color: var(--ink); }
.catalog-section + .catalog-section { margin-top: 36px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
	.catalog-group { margin-top: 34px; }
	.catalog-group-title { margin-bottom: 18px; }
	.catalog-section + .catalog-section { margin-top: 28px; }
	.product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 9px; }
}

.toolbar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin-bottom: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: 12px; font-weight: 700; color: var(--ink); }
/* Мобильный бар [Фильтры] [Сортировка] — скрыт на десктопе. */
.m-filter-bar { display: none; }
.m-filter-toggle { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px 10px; font-size: 13px; font-weight: 800; color: var(--ink); cursor: pointer; transition: .15s; font-family: inherit; }
.m-filter-toggle:hover { border-color: var(--gold2); color: var(--gold2); }
.toolbar.is-filter-open .m-filter-toggle[data-toggle="filter"],
.toolbar.is-sort-open .m-filter-toggle[data-toggle="sort"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.m-badge { background: var(--gold2); color: #fff; border-radius: 99px; font-size: 10px; font-weight: 800; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }
.m-badge[hidden] { display: none; }
.sort { border: 0; background: transparent; font-weight: 700; font-size: 13px; color: var(--ink); cursor: pointer; margin-left: auto; white-space: nowrap; height: 46px; padding: 0 10px; border-radius: 11px; }
.sort:hover { color: var(--gold2); }

/* --- Фильтр каталога диванов --- */
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.f-field { display: flex; flex-direction: column; gap: 4px; }
.f-field > span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.f-field select { appearance: none; -webkit-appearance: none; height: 46px; min-height: 46px; background-color: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 0 34px 0 13px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%237b5139' stroke-width='1.6' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 13px center; transition: border-color .15s, box-shadow .15s; }
.f-field select:hover { border-color: var(--gold2); }
.f-field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 99px; text-decoration: none; transition: .15s; }
.chip:hover { border-color: var(--gold2); color: var(--gold2); }
.chip span { opacity: .6; font-size: 11px; font-weight: 800; }
.chip-reset { background: transparent; border-color: transparent; color: var(--gold2); }
.chip-reset:hover { background: transparent; border-color: transparent; color: var(--gold); text-decoration: underline; }
.no-results { background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 36px; text-align: center; margin-bottom: 18px; }
.no-results p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .2s; display: block; color: var(--ink); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(123, 81, 57, .14); border-color: var(--line); }
.p-img { position: relative; aspect-ratio: 1.12/1; background: #f1ede5; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.product-card:hover .p-img img { transform: scale(1.025); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; border-radius: 6px; padding: 5px 8px; font-size: 10px; font-weight: 800; }
.p-body { padding: 16px; }
.p-title { font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 39px; margin: 0 0 8px; color: var(--ink); }
.p-title a { color: var(--ink); }
.p-title a:hover { color: var(--gold2); }
.p-price { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.p-price-no { font-size: 14px; font-weight: 800; color: var(--gold2); }
.p-meta { font-size: 11px; color: var(--muted); margin-bottom: 13px; }
.p-sizes { font-size: 12px; color: var(--muted); }
.p-range { color: var(--gold2); }
.p-actions { display: block; }
.p-actions .btn { width: 100%; font-size: 12px; padding: 12px 10px; border-radius: 9px; }
.p-more { background: var(--gold); color: #fff; }
.p-more:hover { background: var(--gold2); color: #fff; transform: none; }

.info-block { margin-top: 70px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px 44px; }
.info-block h2 { margin: 0 0 14px; font-size: 28px; }
.info-block p { color: var(--muted); font-size: 14px; max-width: 920px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.info-mini { background: var(--cream); padding: 18px; border-radius: 10px; }
.info-mini strong { display: block; margin-bottom: 5px; }
.info-mini span { font-size: 12px; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 7px; margin: 35px 0 0; flex-wrap: wrap; }
/* Селектор сужен до .pagination .page: общий `.page` случайно попадал в <body>
   (у WordPress-страниц на body есть класс `page`), ломал шапку и давал полосы по бокам. */
.pagination .page { min-width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 13px; padding: 0 10px; color: var(--ink); }
.pagination .page.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page:hover { color: var(--gold2); border-color: var(--gold); }

@media (max-width: 1050px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); }
	.product-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.type-grid { grid-template-columns: repeat(3, 1fr); }
	.category-hero { display: block; }
	.category-hero .hero-actions { margin-top: 22px; }
	.info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.category-hero { padding: 30px 24px; margin-bottom: 34px; }
	.type-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
	.toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
	.m-filter-bar { display: flex; gap: 8px; }
	.filter-form { display: none; width: 100%; }
	.f-field { flex: 1 1 calc(50% - 8px); }
	.f-field select { width: 100%; }
	.toolbar .sort { display: none; margin-left: 0; width: 100%; height: 46px; border: 1px solid var(--line); background: #fff; padding: 0 12px; }
	.toolbar.is-filter-open .filter-form { display: flex; }
	.toolbar.is-sort-open .sort { display: block; }
	.info-block { padding: 26px 22px; }
	.info-grid { grid-template-columns: 1fr; }
	.p-actions .btn:nth-child(2) { display: none; }
}
@media (max-width: 430px) {
	.product-grid { gap: 9px; }
	.p-body { padding: 12px; }
	.p-title { font-size: 13px; }
	.p-price { font-size: 16px; }
	.type h3 { font-size: 12px; }
	.f-field { flex-basis: 100%; }
}

/* --- Карточка товара: галерея, инфо, услуги, вкладки, похожие --- */
.product-page { padding-bottom: 70px; }
.product-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; align-items: start; }
.gallery { display: grid; grid-template-columns: 88px 1fr; gap: 12px; position: sticky; top: 100px; }
.thumbs { display: flex; flex-direction: column; gap: 9px; }
.thumb { width: 88px; height: 72px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; padding: 0; cursor: pointer; }
.thumb.active { border: 2px solid var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.main-photo { aspect-ratio: 1/1; background: #eee8dc; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom { position: absolute; right: 14px; top: 14px; background: #fff; border: 1px solid var(--line); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 6; }
.dm-lens { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 6px 24px rgba(0,0,0,.28); background-color: rgba(255,255,255,.15); background-repeat: no-repeat; pointer-events: none; opacity: 0; transition: opacity .15s ease; z-index: 5; display: none; }
@media (hover: hover) { .dm-lens { display: block; } }
.dm-lightbox { position: fixed; inset: 0; background: rgba(12, 11, 10, .9); z-index: 100000; display: none; align-items: center; justify-content: center; padding: 26px; }
.dm-lightbox.is-open { display: flex; }
.dm-lightbox__img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 60px rgba(0,0,0,.55); cursor: zoom-out; }
.dm-lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 28px; line-height: 1; cursor: pointer; color: #111; }

.product-info .tag { display: inline-block; background: #e9e3d7; color: #5c513f; border-radius: 99px; padding: 6px 10px; font-size: 11px; font-weight: 800; margin-bottom: 13px; }
.product-info h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -2px; margin: 0 0 12px; color: var(--ink); }
.big-price { font-size: 25px; font-weight: 800; margin-bottom: 20px; }
.lead-box { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px; margin: 20px 0; }
.lead-box strong { display: block; margin-bottom: 4px; }
.lead-box span { font-size: 12px; color: var(--muted); }
.product-desc { color: var(--muted); font-size: 14px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 20px 0; border-top: 1px solid var(--line); }
.spec { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; gap: 10px; }
.spec b { font-weight: 600; color: var(--muted); }
.spec strong { text-align: right; }
.colors { display: flex; gap: 8px; margin: 10px 0 22px; flex-wrap: wrap; }
.color { width: 29px; height: 29px; border-radius: 50%; border: 3px solid #fff; outline: 1px solid var(--line); }
.color.active { outline: 2px solid var(--gold); }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 55px 0; }
.service { background: var(--navy); color: #fff; border-radius: 12px; padding: 20px; }
.service strong { display: block; font-size: 14px; margin-bottom: 4px; }
.service span { font-size: 11px; color: #f0e7db; }

.tabs { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.tab-nav { display: flex; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-nav button { background: none; border: 0; padding: 17px 22px; font-weight: 800; font-size: 13px; border-bottom: 2px solid transparent; color: var(--ink); cursor: pointer; }
.tab-nav button.active { border-color: var(--gold); color: var(--gold2); }
.tab-content { padding: 28px; }
.tab-content h2 { font-size: 25px; margin: 0 0 12px; }
.tab-content p, .tab-content li { font-size: 14px; color: var(--muted); }
.tab-content ul { padding-left: 18px; }

.related { margin-top: 65px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; }
.related-card img { width: 100%; aspect-ratio: 1.1/1; object-fit: cover; display: block; }
.related-body { padding: 13px; }
.related-body h3 { font-size: 13px; min-height: 38px; margin: 0 0 7px; color: var(--ink); }
.related-price { font-weight: 800; font-size: 17px; }
.sticky-cta { display: none; }

@media (max-width: 900px) {
	.product-top { grid-template-columns: 1fr; }
	.gallery { position: static; }
	.product-info h1 { font-size: 40px; }
	.service-strip, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.gallery { grid-template-columns: 1fr; }
	.thumbs { order: 2; display: grid; grid-template-columns: repeat(4, 1fr); }
	.thumb { width: 100%; height: auto; aspect-ratio: 1.2/1; }
	.product-info h1 { font-size: 34px; }
	.spec-list { grid-template-columns: 1fr; }
	.service-strip, .related-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
	.service { padding: 15px; }
	.tab-content { padding: 20px; }
	.sticky-cta { display: flex; position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px; gap: 9px; }
	.sticky-cta .price-mini { font-weight: 800; flex: 1; display: flex; align-items: center; }
	.product-page { padding-bottom: 90px; }
}

/* ===== Блог (Статьи) ===== */
.blog-index { padding: 44px 0 64px; }
.blog-index .section-head { margin: 0 0 28px; }
.blog-index .section-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.4px; color: var(--ink); margin: 0; }
.blog-index .section-head p { margin: 8px 0 0; color: var(--muted); }

.wp-block-query .wp-block-post-template { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; transition: .2s; display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #10272d12; }
.blog-card-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; background: #eee8dc; }
.blog-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-body h2 { font-size: 16px; line-height: 1.4; margin: 0; }
.blog-card-body h2 a { color: var(--ink); text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--gold2); }
.blog-card-excerpt { color: var(--muted); font-size: 13px; line-height: 1.55; flex: 1; }
.blog-card-excerpt p { margin: 0; }
.blog-card-date { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }

.wp-block-query-pagination { margin-top: 30px; gap: 6px; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none; display: inline-block; }
.wp-block-query-pagination a:hover, .wp-block-query-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.wp-block-query-pagination .page-numbers.dots { border: 0; background: none; }

/* Статья */
.single-post { padding: 40px 0 64px; max-width: 860px; margin-inline: auto; }
.single-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.8px; margin: 0 0 12px; color: var(--ink); }
.single-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.single-date { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.single-cats a { color: var(--gold2); font-weight: 700; text-decoration: none; }
.single-cats a:hover { color: var(--gold); }
.single-img img { width: 100%; border-radius: 13px; margin-bottom: 24px; display: block; background: #eee8dc; }
.single-post .wp-block-post-content { font-size: 16px; line-height: 1.7; color: var(--ink); }
.single-post .wp-block-post-content h2 { font-size: 24px; margin: 28px 0 14px; }
.single-post .wp-block-post-content h3 { font-size: 19px; margin: 22px 0 12px; }
.single-post .wp-block-post-content p { margin: 0 0 16px; }
.single-post .wp-block-post-content ul, .single-post .wp-block-post-content ol { margin: 0 0 16px 22px; }
.single-post .wp-block-post-content a { color: var(--gold2); font-weight: 700; }
.single-post .wp-block-post-content blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; }
.single-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.single-nav a { color: var(--gold2); font-weight: 800; text-decoration: none; }
.single-nav a:hover { color: var(--gold); }

@media (max-width: 700px) {
	.blog-index { padding: 30px 0 44px; }
	.wp-block-query .wp-block-post-template { grid-template-columns: 1fr; }
	.single-post { padding: 28px 0 44px; }
	.single-nav { flex-direction: column; }
}

/* --- Страница «Каталог мебели» (/catalog/) --- */
.catalog-section { margin-bottom: 56px; }
.catalog-section:last-child { margin-bottom: 0; }
.catalog-section .section-head { margin-bottom: 24px; }
.catalog-section .product-grid { padding-bottom: 28px; }
@media (min-width: 1051px) {
	.catalog-section .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   17. Новый дизайн «DeltaМебель» (макет 2026-08).
   Классы с префиксом dm- не пересекаются со старыми блоками.
   ========================================================= */

/* --- Шапка --- */
.dm-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dm-nav { height: 76px; display: flex; align-items: center; gap: 26px; }
.dm-logo { font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
.dm-logo-mark { width: 22px; height: 22px; border: 3px solid #7b5139; transform: rotate(30deg); display: inline-block; border-radius: 2px; }
.dm-header .dm-logo-img,
.dm-footer .dm-logo-img { height: 34px; width: auto; display: block; }
.dm-header .dm-logo-img { filter: invert(1); }
.dm-menu { display: flex; gap: 22px; font-size: 14px; color: #555; }
.dm-menu a { color: #555; }
.dm-menu a:hover { color: #7b5139; }
.dm-spacer { flex: 1; }
.dm-phone { font-weight: 800; font-size: 15px; color: var(--ink); white-space: nowrap; }
.dm-phone small { display: block; font-weight: 400; color: var(--muted); text-align: right; font-size: 11px; }
.dm-burger { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); padding: 4px; cursor: pointer; }

/* --- Кнопки --- */
.dm-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #7b5139; border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer; transition: .2s; text-decoration: none; }
.dm-btn-primary { background: #7b5139; color: #fff; }
.dm-btn-primary:hover { background: #623e2c; color: #fff; }
.dm-btn-light { background: #fff; color: #20201e; }
.dm-btn-light:hover { background: #f7f5f1; color: #7b5139; }

/* --- Общие секции --- */
.dm-section { padding: 44px 0; }
.dm-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.dm-section-head h2 { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -.8px; margin: 0; color: var(--ink); }
.dm-section-head a { white-space: nowrap; }
.dm-muted { color: var(--muted); }

/* --- Hero --- */
.dm-hero { padding: 26px 0 16px; }
.dm-hero-box { min-height: 500px; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.12fr; background: #e9e0d6; }
.dm-hero-copy { padding: 66px 48px; display: flex; flex-direction: column; justify-content: center; }
.dm-eyebrow { color: #7b5139; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.dm-hero h1 { font-size: clamp(38px, 4.6vw, 54px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -1.8px; color: #20201e; }
.dm-hero p { font-size: 18px; color: #555; max-width: 560px; margin: 0; }
.dm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dm-hero-image { min-height: 500px; position: relative; background: #ddd; }
.dm-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-hero-badge { position: absolute; right: 22px; bottom: 22px; background: #272522; color: #fff; padding: 13px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; }

/* --- Hero: слайд-шоу --- */
.dm-hero-image--slider { overflow: hidden; }
.dm-hero-slides { position: absolute; inset: 0; }
.dm-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease-in-out, visibility 0s linear 1.1s; }
.dm-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease-in-out; }
.dm-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-hero-slide.is-active img { animation: dm-kenburns 6s ease-out forwards; }
@keyframes dm-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.dm-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #20201e; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); transition: .2s; display: flex; align-items: center; justify-content: center; }
.dm-hero-arrow:hover { background: #fff; }
.dm-hero-arrow--prev { left: 16px; }
.dm-hero-arrow--next { right: 16px; }
.dm-hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 8px; padding: 0 90px; pointer-events: none; }
.dm-hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.6); cursor: pointer; transition: .2s; pointer-events: auto; }
.dm-hero-dot.is-active { background: #fff; transform: scale(1.25); }

/* --- Полоса преимуществ --- */
.dm-trustbar { background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 44px; }
.dm-trust { padding: 20px; border-right: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.dm-trust:last-child { border: 0; }
.dm-trust-ico { width: 26px; height: 26px; object-fit: contain; flex: none; }

/* --- Каталог категорий --- */
.dm-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.dm-cat { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; display: block; text-decoration: none; transition: .2s; }
.dm-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(32,32,30,.07); }
.dm-cat-img { height: 145px; background: #ffffff; overflow: hidden; }
.dm-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.dm-cat:hover .dm-cat-img img { transform: scale(1.04); }
.dm-cat-body { padding: 13px; }
.dm-cat-body strong { display: block; color: var(--ink); font-size: 14px; }
.dm-cat-body span { font-size: 13px; color: var(--muted); }

/* --- Популярные модели --- */
.dm-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dm-product { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; transition: .2s; }
.dm-product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(32,32,30,.08); }
.dm-product > a { display: block; color: inherit; text-decoration: none; }
.dm-product-img { height: 270px; background: #eee8dc; overflow: hidden; }
.dm-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.dm-product:hover .dm-product-img img { transform: scale(1.03); }
.dm-tag { position: absolute; top: 12px; left: 12px; background: #fff; padding: 6px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #20201e; }
.dm-product-body { padding: 16px; }
.dm-product-title { font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.dm-product .dm-muted { font-size: 13px; }
.dm-price { margin: 8px 0 14px; font-weight: 900; font-size: 18px; color: var(--ink); }
.dm-product .dm-btn { width: 100%; }

/* --- Почему выбирают Delta --- */
.dm-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dm-benefit { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.dm-num { color: #7b5139; font-weight: 900; font-size: 15px; }
.dm-benefit h3 { margin: 10px 0 6px; font-size: 17px; color: var(--ink); }
.dm-benefit p { margin: 0; font-size: 13px; }

/* --- Подвал и мобильная панель --- */
.dm-footer { background: #242320; color: #fff; margin-top: 50px; padding: 45px 0 20px; }
.dm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.dm-footer .dm-muted { color: #b9b5af; }
.dm-footer a { color: #d8d3cb; }
.dm-footer a:hover { color: #fff; }
.dm-footer b { display: block; margin-bottom: 12px; color: #fff; font-size: 14px; }
.dm-footer .dm-muted a { line-height: 1.9; }
.dm-logo-light { color: #fff; }
.dm-footer .dm-logo-light .dm-logo-mark { border-color: #c9a86b; }
.dm-mobilebar { display: none; }

/* --- Адаптив --- */
@media (max-width: 1100px) {
	.dm-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.dm-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.dm-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 14px; flex-direction: column; gap: 0; box-shadow: 0 20px 30px rgba(32,32,30,.08); }
	.dm-menu.dm-open { display: flex; }
	.dm-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
	.dm-menu a:last-child { border: 0; }
	.dm-burger { display: block; }
	.dm-phone { margin-left: auto; }
	.dm-nav .dm-btn { display: none; }
	.dm-hero-box { grid-template-columns: 1fr; }
	.dm-hero-image { min-height: 360px; }
	.dm-hero-copy { padding: 42px 28px; }
	.dm-hero h1 { font-size: 40px; }
	.dm-trustbar { grid-template-columns: 1fr 1fr; }
	.dm-trust:nth-child(2) { border-right: 0; }
	.dm-trust:nth-child(3), .dm-trust:nth-child(4) { border-top: 1px solid var(--line); }
	.dm-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.dm-benefits { grid-template-columns: 1fr 1fr; }
	.dm-products { grid-template-columns: 1fr 1fr; }
	.dm-footer-grid { grid-template-columns: 1fr 1fr; }
	.dm-mobilebar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; }
	.dm-mobilebar a { padding: 12px; text-align: center; font-size: 12px; font-weight: 800; color: var(--ink); }
	.dm-mobilebar a:nth-child(2) { background: #7b5139; color: #fff; }
}
@media (max-width: 560px) {
	.dm-nav { height: 65px; gap: 12px; }
	.dm-phone { font-size: 13px; }
	.dm-phone small { display: none; }
	.dm-hero h1 { font-size: 34px; }
	.dm-hero p { font-size: 16px; }
	.dm-hero-box { min-height: 0; }
	.dm-hero-image { min-height: 300px; }
	.dm-trustbar { grid-template-columns: 1fr 1fr; }
	.dm-trust { padding: 13px; font-size: 12px; }
	.dm-cat-grid, .dm-products, .dm-benefits { grid-template-columns: 1fr 1fr; }
	.dm-cat-img { height: 115px; }
	.dm-product-img { height: 190px; }
	.dm-section { padding: 34px 0; }
	.dm-section-head h2 { font-size: 27px; }
	.dm-footer { margin-top: 30px; padding-bottom: 80px; }
	.dm-footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   18. CRO-редизайн главной (2026-08-24).
   Палитра по брифу: фон #F7F5F1, карточки #FFFFFF, текст #20201E,
   вторичный #73716C, CTA #7B5139, hover #623E2C, линии #E8E3DC.
   ========================================================= */

/* --- База: контейнер и фон (старый dm-блок удалён) --- */
body {
	background: #f7f5f1;
}

.container {
	width: min(var(--max), calc(100% - 40px));
	margin: auto;
}

.dm-section[id] {
	scroll-margin-top: 90px;
}

/* --- Мелкие кнопки и статусы цен --- */
.dm-btn-sm {
	padding: 8px 13px;
	font-size: 12px;
	border-radius: 8px;
}

.dm-btn-block {
	width: 100%;
}

.dm-price-todo {
	color: #7b5139;
	font-size: 15px;
	font-weight: 700;
}

/* --- Hero: подзаголовок и приписка под CTA --- */
.dm-hero-sub {
	font-size: 18px;
	color: #555;
	max-width: 560px;
	margin: 0;
}

.dm-hero-note {
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	color: #7a6f62;
}

/* --- Hero: плейсхолдер изображения и отступ trustbar под hero-box --- */
.dm-hero-image--empty {
	background: linear-gradient(180deg, #f0e9df, #e2d7c8);
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
}

.dm-hero-ph {
	color: #8a7a68;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	max-width: 220px;
}

.dm-hero .dm-trustbar {
	margin: 22px 0 0;
}

/* --- Каталог: 9 мебельных разделов по 3 колонки --- */
.dm-cat-grid {
	grid-template-columns: repeat(3, 1fr);
}

/* --- Чек-лист «Что важно при заказе» --- */
.dm-checklist {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 28px;
	margin-top: 22px;
}

.dm-checklist-head h3 {
	margin: 0 0 6px;
	color: var(--ink);
	font-size: 20px;
}

.dm-checklist-head p {
	margin: 0 0 18px;
}

.dm-checklist-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 24px;
}

.dm-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--ink);
	line-height: 1.45;
}

.dm-check-ico {
	color: #7b5139;
	font-weight: 900;
	flex: none;
}

/* --- Производство: 5 шагов --- */
.dm-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.dm-step {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 22px;
}

.dm-step-num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #7b5139;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	margin-bottom: 12px;
}

.dm-step h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--ink);
	line-height: 1.3;
}

.dm-step p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

/* --- FAQ --- */
.dm-faq-list {
	display: grid;
	gap: 10px;
	max-width: 100%;
}

.dm-faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.dm-faq-item summary {
	cursor: pointer;
	padding: 16px 46px 16px 18px;
	font-weight: 700;
	color: var(--ink);
	list-style: none;
	position: relative;
	font-size: 15px;
}

.dm-faq-item summary::-webkit-details-marker {
	display: none;
}

.dm-faq-item summary:after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	color: #7b5139;
	line-height: 1;
}

.dm-faq-item[open] summary:after {
	content: "–";
}

.dm-faq-a {
	padding: 0 18px 16px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

/* --- Финальный CTA --- */
.dm-final {
	padding: 10px 0 0;
}

.dm-final-box {
	background: #7a5038;
	color: #fff;
	border-radius: 22px;
	padding: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
}

.dm-final-box h2 {
	margin: 0 0 6px;
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: -.7px;
}

.dm-final-box p {
	margin: 0;
	color: #eadfd7;
}

.dm-final-box .dm-actions .dm-btn-primary {
	background: #fff;
	color: #7a5038;
	border-color: #fff;
}

.dm-final-box .dm-actions .dm-btn-primary:hover {
	background: #f0e9e2;
}

.dm-final-box .dm-actions .dm-btn-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}

.dm-final-box .dm-actions .dm-btn-light:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

/* --- Блок заявки: контакты + форма --- */
.dm-lead {
	padding: 54px 0;
}

.dm-lead-box {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 40px;
	align-items: center;
	background:
		linear-gradient(115deg, rgba(28, 23, 19, .9) 0%, rgba(28, 23, 19, .62) 48%, rgba(28, 23, 19, .38) 100%),
		var(--dm-lead-bg, url('/wp-content/uploads/2026/08/B23_460619_5-01.jpg')) center / cover no-repeat,
		var(--ink);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 22px;
	padding: 38px;
	box-shadow: 0 20px 55px -26px rgba(20, 16, 12, .6);
	color: #fff;
}

.dm-lead-copy h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: -.7px;
}

.dm-lead-box .dm-muted {
	color: rgba(255, 255, 255, .85);
}

.dm-lead-points {
	margin: 18px 0 24px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.dm-lead-points li {
	padding-left: 26px;
	position: relative;
	color: #fff;
	font-size: 14px;
}

.dm-lead-points li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #d9b68a;
	font-weight: 900;
}

.dm-lead-contacts {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.dm-lead-contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
}

.dm-contact-ico {
	color: #7b5139;
	font-size: 18px;
}

.dm-lead-messengers {
	display: flex;
	gap: 8px;
}

/* WPForms-поля на тёмном фоне лид-формы */
.dm-lead-box .wpforms-field-label {
	color: #fff !important;
}

.dm-lead-box .wpforms-field-label-inline {
	color: rgba(255, 255, 255, .92) !important;
}

.dm-lead-box .wpforms-required-label {
	color: #e8b98a !important;
}

.dm-lead-box .wpforms-submit {
	background: #7b5139 !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .18) !important;
	border-radius: 12px !important;
	padding: 14px 26px !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	width: 100%;
	box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55);
}

.dm-lead-box .wpforms-submit:hover {
	background: #6a452f !important;
}

.dm-form {
	display: grid;
	gap: 14px;
}

.dm-field {
	display: grid;
	gap: 6px;
}

.dm-field-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
}

.dm-field input,
.dm-field select,
.dm-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	font: inherit;
	font-size: 14px;
	background: #f7f5f1;
	color: #20201e;
	box-sizing: border-box;
}

.dm-field input:focus,
.dm-field select:focus,
.dm-field textarea:focus {
	outline: none;
	border-color: #7b5139;
	background: #fff;
}

.dm-field input[type="file"] {
	padding: 10px 12px;
	background: #fff;
}

.dm-field-hint {
	font-size: 12px;
	color: var(--muted);
}

.dm-form-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.dm-form-consent input {
	margin-top: 2px;
}

.dm-form-consent a {
	color: var(--muted);
	text-decoration: underline;
}

.dm-form-note {
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

.dm-form-status {
	font-size: 14px;
	font-weight: 700;
	border-radius: 10px;
	padding: 12px 14px;
	display: none;
}

.dm-form-status.is-ok {
	display: block;
	background: #e6f0e6;
	color: #2e5d34;
}

.dm-form-status.is-error {
	display: block;
	background: #f7e3e0;
	color: #8a3329;
}

/* --- Блок «Где мы находимся» --- */
.dm-location {
	padding: 54px 0 10px;
}

.dm-loc-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 26px;
	align-items: stretch;
	margin-top: 34px;
}

.dm-loc-main {
	display: grid;
	gap: 22px;
	align-content: start;
}

.dm-loc-photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.dm-loc-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #f3efe8;
	min-height: 160px;
}
.dm-loc-photo--ph {
	background: #fff;
	border: 1px dashed #c9bfb2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #b9af9f;
}
.dm-loc-photo .dm-loc-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dm-loc-track {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform .6s ease;
}
.dm-loc-track img {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dm-loc-photo--slider .dm-loc-dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 2;
	pointer-events: none;
}
.dm-loc-photo--slider .dm-loc-dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	transition: background .3s, width .3s;
}
.dm-loc-photo--slider .dm-loc-dots i.is-active {
	background: #fff;
	width: 18px;
	border-radius: 5px;
}

.dm-loc-ph-ico {
	font-size: 34px;
	line-height: 1;
	letter-spacing: 4px;
}

.dm-loc-ph-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
}

.dm-loc-info {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 22px 24px;
}

.dm-loc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.dm-loc-row:last-child {
	border-bottom: 0;
}

.dm-loc-row span {
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .4px;
	flex-shrink: 0;
}

.dm-loc-row b {
	font-size: 15px;
	font-weight: 800;
	color: var(--ink);
	text-align: right;
}

.dm-loc-row a {
	color: var(--ink);
}

.dm-loc-row a:hover {
	color: #7b5139;
}

.dm-loc-socials {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.dm-loc-map {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 10px;
	min-height: 320px;
}

.dm-loc-map iframe {
	width: 100% !important;
	height: 440px !important;
	border: 0;
	border-radius: 10px;
	display: block;
}

/* --- Кнопка «Построить маршрут» --- */
.dm-loc-map .dm-route-btn {
	width: 100%;
	margin: 12px 0 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #7b5139;
	border-radius: 12px;
	padding: 13px 18px;
	background: #7b5139;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dm-loc-map .dm-route-btn:hover { background: #623e2c; border-color: #623e2c; color: #fff; }
.dm-route-btn__ico { flex: 0 0 auto; }

/* --- Попап «Построить маршрут» (выбор навигатора) --- */
.dm-route-pop {
	position: fixed;
	inset: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	transition: opacity .22s ease, visibility .22s ease;
}
.dm-route-pop.is-open { visibility: visible; opacity: 1; }
.dm-route-pop__scrim { position: absolute; inset: 0; background: rgba(16, 12, 9, .5); }
.dm-route-pop__box {
	position: relative;
	width: min(420px, 100%);
	background: #fff;
	border-radius: 18px;
	padding: 26px 24px 20px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
	transform: translateY(10px);
	transition: transform .22s ease;
}
.dm-route-pop.is-open .dm-route-pop__box { transform: translateY(0); }
.dm-route-pop__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: #f1ede6;
	color: #4a4238;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.dm-route-pop__close:hover { background: #e5dfd4; color: #000; }
.dm-route-pop__title { display: block; font-size: 20px; letter-spacing: -.3px; color: #20201e; margin: 0 26px 6px 0; }
.dm-route-pop__sub { margin: 0 0 18px; color: #6b655b; font-size: 14px; line-height: 1.45; }
.dm-route-opts { display: grid; gap: 12px; }
.dm-route-opt {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid #e5dfd4;
	border-radius: 14px;
	text-decoration: none;
	color: #20201e;
	transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.dm-route-opt:hover { border-color: #c9bcae; background: #faf8f4; transform: translateY(-1px); }
.dm-route-opt__ic {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e7e2d8;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dm-route-opt__ic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-route-opt__ic--2gis img { object-fit: contain; padding: 12px 8px; }
.dm-route-opt__tx { font-weight: 700; font-size: 16px; }

/* --- Адаптив блока «Где мы находимся» --- */
@media (max-width: 900px) {
	.dm-loc-grid {
		grid-template-columns: 1fr;
	}
	.dm-loc-map iframe {
		height: 380px !important;
	}
}

@media (max-width: 560px) {
	.dm-loc-photos {
		grid-template-columns: 1fr;
	}
	.dm-loc-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.dm-loc-socials {
		justify-content: flex-start;
	}
	.dm-loc-map iframe {
		height: 320px !important;
	}
}

/* --- Плейсхолдеры «Наши работы» и «Отзывы» --- */
.dm-works-ph,
.dm-reviews-ph {
	background: #fff;
	border: 1px dashed #c9bfb2;
	border-radius: 20px;
	padding: 46px 26px;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.dm-works-ph h3,
.dm-reviews-ph h3 {
	margin: 0 0 10px;
	color: var(--ink);
	font-size: 20px;
}

.dm-works-ph p,
.dm-reviews-ph p {
	max-width: 560px;
	margin: 0 auto 8px;
	font-size: 14px;
}

.dm-works-ph .dm-actions,
.dm-reviews-ph .dm-actions {
	justify-content: center;
	margin-top: 16px;
}

.dm-works-ph-ico,
.dm-reviews-ph-ico {
	font-size: 40px;
	color: #b9af9f;
	margin-bottom: 8px;
	line-height: 1;
}

/* --- Подвал: мессенджеры и нижняя строка --- */
.dm-footer-messengers {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.dm-footer .dm-btn-sm {
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 8px;
}

.dm-footer-legal {
	border-top: 1px solid rgba(255, 255, 255, .14);
	margin-top: 28px;
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	justify-content: space-between;
	font-size: 12px;
	color: #b9b5af;
}

.dm-footer-legal a {
	color: #d8d3cb;
}

.dm-footer-legal a:hover {
	color: #fff;
}

/* --- Мобильная панель: выделяем «Рассчитать» (3-я кнопка) --- */
.dm-mobilebar a:nth-child(2) {
	background: none;
	color: var(--ink);
}

.dm-mobilebar a:nth-child(3) {
	background: #7b5139;
	color: #fff;
}

/* --- Адаптив для новых блоков --- */
@media (max-width: 1050px) {
	.dm-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.dm-cat-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.dm-lead-box {
		grid-template-columns: 1fr;
		padding: 26px;
		gap: 26px;
	}
	.dm-final-box {
		padding: 34px;
	}
	.dm-steps {
		grid-template-columns: 1fr 1fr;
	}
	.dm-footer-legal {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	.dm-cat-grid {
		grid-template-columns: 1fr 1fr;
	}
	.dm-checklist-grid {
		grid-template-columns: 1fr;
	}
	.dm-steps {
		grid-template-columns: 1fr;
	}
	.dm-lead {
		padding: 40px 0;
	}
	.dm-lead-box {
		padding: 20px;
		border-radius: 16px;
	}
	.dm-lead-copy h2 {
		font-size: 26px;
	}
	.dm-final-box {
		padding: 26px;
		justify-content: center;
		text-align: center;
	}
	.dm-final-box .dm-actions {
		justify-content: center;
		width: 100%;
	}
	.dm-final-box .dm-actions .dm-btn {
		flex: 1;
	}
	.dm-mobilebar a {
		font-size: 11px;
		padding: 11px 6px;
	}
	.dm-form-consent {
		font-size: 11px;
	}
}

/* --- Иконки-пиктограммы (мессенджеры, часы, телефон, каталог) --- */
.dm-ico-inline {
	display: inline-block;
	vertical-align: -3px;
	margin-right: 5px;
}

.dm-btn-ico {
	margin-right: 7px;
}

.dm-soc-ico {
	display: inline-block;
	vertical-align: -3px;
	margin-right: 6px;
}

.dm-mob-ico {
	display: inline-block;
	vertical-align: -3px;
	margin-right: 5px;
}

.dm-has-ico {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Шапка: телефон и часы работы */
.dm-phone-line {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.dm-phone small {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
}

/* Раздел «Где мы находимся»: телефон, e-mail и часы */
.dm-loc-phone,
.dm-loc-email,
.dm-loc-hours {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

/* Каталог на главной: иконка рядом с названием категории */
.dm-cat-body strong {
	display: flex;
	align-items: center;
	gap: 7px;
}

.dm-cat-ico {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* --- Отзывы: карусель на главной (по 3, автопрокрутка) --- */
.dm-rev-carousel {
	position: relative;
	overflow: hidden;
	padding: 4px 0 6px;
}
.dm-rev-track {
	display: flex;
	transition: transform .55s ease;
}
.dm-rev-slide {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	box-sizing: border-box;
	padding: 0 7px;
	display: flex;
}
.dm-rev-slide .dm-rev-card {
	width: 100%;
	height: 100%;
}
.dm-rev-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dm-rev-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.dm-rev-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}
.dm-star {
	color: #d9d2c8;
	font-size: 15px;
}
.dm-star--on {
	color: #f5a623;
}
.dm-rev-date {
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
}
.dm-rev-text {
	font-size: 14px;
	line-height: 1.5;
	color: #4a4640;
	margin: 0;
	flex: 1;
}
.dm-rev-author {
	font-weight: 800;
	font-size: 14px;
	color: var(--ink);
}
.dm-rev-link {
	font-size: 13px;
	font-weight: 700;
	color: #7b5139;
	text-decoration: none;
}
.dm-rev-link:hover {
	text-decoration: underline;
}
.dm-rev-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,.92);
	color: #20201e;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
	transition: .2s;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dm-rev-arrow:hover {
	background: #fff;
}
.dm-rev-arrow--prev {
	left: 8px;
}
.dm-rev-arrow--next {
	right: 8px;
}
.dm-rev-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}
.dm-rev-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #d9d2c8;
	cursor: pointer;
	transition: .2s;
}
.dm-rev-dot.is-active {
	background: #7b5139;
	transform: scale(1.25);
}

/* --- Отзывы: таб на карточке товара --- */
.dm-rev-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 6px;
}
.dm-rev-item {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px 18px;
}
.dm-rev-item .dm-rev-stars {
	margin-bottom: 6px;
}
.dm-rev-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}
.dm-rev-head strong {
	font-weight: 800;
	color: var(--ink);
}
.dm-rev-head span {
	font-size: 12px;
	color: var(--muted);
}
.dm-rev-item p {
	font-size: 14px;
	line-height: 1.5;
	color: #4a4640;
	margin: 0;
}

@media (max-width: 900px) {
	.dm-rev-slide {
		flex: 0 0 50%;
		max-width: 50%;
	}
}
@media (max-width: 560px) {
	.dm-rev-slide {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* --- Hero: fallback-изображение (когда слайд-шоу не задано) --- */
.dm-hero-image picture {
	position: absolute;
	inset: 0;
}

/* --- Размерная сетка на странице товара --- */
.dm-size-grid {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px;
	margin: 18px 0;
}
.dm-size-grid-head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 12px;
}
.dm-size-grid-head strong {
	font-size: 15px;
	font-weight: 800;
	color: var(--ink);
}
.dm-size-grid-head span {
	font-size: 11px;
	color: var(--muted);
}
.dm-size-grid-list {
	display: grid;
	gap: 8px;
}
.dm-size-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: border-color .15s ease, background .15s ease;
}
.dm-size-row:hover {
	border-color: var(--gold2);
	background: var(--cream);
}
a.dm-size-row {
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}
a.dm-size-row:hover {
	text-decoration: none;
}
.dm-size-row.is-selected {
	border-color: var(--gold);
	background: #f3ecdf;
	box-shadow: 0 0 0 1px var(--gold) inset;
}
.dm-size-radio {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid var(--line);
	flex: 0 0 auto;
	position: relative;
}
.dm-size-row.is-selected .dm-size-radio {
	border-color: var(--gold);
}
.dm-size-row.is-selected .dm-size-radio::after {
	content: '';
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: var(--gold);
}
.dm-size-label {
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
	flex: 0 0 auto;
}
.dm-size-price {
	margin-left: auto;
	font-weight: 800;
	font-size: 14px;
	color: var(--ink);
	text-align: right;
}
.dm-size-price .woocommerce-Price-amount {
	color: var(--ink);
}

@media (max-width: 600px) {
	.dm-size-grid {
		padding: 12px;
	}
	.dm-size-row {
		padding: 9px 10px;
	}
}
