/* Меню «Бетон»: 16 пунктов в две колонки, чтобы помещались в экран */
@media only screen and (min-width: 1240px) {
  #Top_bar .menu > li#menu-item-3527 > ul.sub-menu {
    width: 760px;
    column-count: 2;
    column-gap: 0;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  #Top_bar .menu > li#menu-item-3527 > ul.sub-menu > li {
    width: 380px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}

/* Шапка на десктопе: высота 60px, как у липкой шапки при прокрутке */
@media only screen and (min-width: 1240px) {
  #Top_bar:not(.is-sticky) #logo {
    height: 60px !important;
    line-height: 60px !important;
    padding: 0 !important;
  }
  #Top_bar:not(.is-sticky) #logo img.logo-main { max-height: 48px; }
  .logo-overflow #Top_bar:not(.is-sticky) .logo { height: 60px; }
  #Top_bar:not(.is-sticky) .menu > li > a { padding: 0 !important; }
  #Top_bar:not(.is-sticky) .top_bar_right { height: 60px !important; }
  #Top_bar:not(.is-sticky) .top_bar_right_wrapper { top: 13px !important; }
}

/* /tovarnyj-beton/: картинка у H1 на всю ширину рамки */
.page-id-3467 .column_zoom_box .zoom_box,
.page-id-3467 .column_zoom_box .zoom_box .photo { width: 100%; }
.page-id-3467 .column_zoom_box .zoom_box .photo img { width: 100%; height: auto; display: block; }
/* SB-design этап 1: начало (12.10.2026) */

/* a) Ссылки в тексте на светлом фоне: тёмные с жёлтым подчёркиванием */
#Content .section:not(.dark) .wrap:not(.dark) :is(p, li, td, th, dd, figcaption, blockquote, .sb-plants) a:not(.button):not(.action_button):not(.ui-tabs-anchor):not(:has(img)),
#Content .the_content_wrapper :is(p, li, td, th, dd, figcaption, blockquote, .sb-plants) a:not(.button):not(.action_button):not(:has(img)) {
	color: #2a2f35;
	text-decoration: underline;
	text-decoration-color: #f6b60b;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
#Content .section:not(.dark) .wrap:not(.dark) :is(p, li, td, th, dd, figcaption, blockquote, .sb-plants) a:not(.button):not(.action_button):not(.ui-tabs-anchor):not(:has(img)):hover,
#Content .the_content_wrapper :is(p, li, td, th, dd, figcaption, blockquote, .sb-plants) a:not(.button):not(.action_button):not(:has(img)):hover {
	color: #8a5c00;
}

/* b) Заголовки преимуществ (icon box) на белом: тёмные вместо жёлтых */
#Content .section:not(.dark) .icon_box .title,
#Content .section:not(.dark) .icon_box .title * {
	color: #2a2f35 !important;
}

/* c) Активная вкладка (цены, адреса заводов): тёмный текст и жёлтая полоса снизу */
#Content .ui-tabs .ui-tabs-nav li.ui-state-active a,
#Content .tabs_vertical.ui-tabs .ui-tabs-nav li.ui-state-active a {
	color: #2a2f35;
	box-shadow: inset 0 -3px 0 #f6b60b;
}
#Content .ui-tabs .ui-tabs-nav li.ui-state-active a:after,
#Content .ui-tabs .ui-tabs-nav li.ui-state-active:after {
	display: none;
}

/* c) Активный пункт меню шапки: тёмный текст и жёлтая полоса снизу */
@media only screen and (min-width: 1240px) {
	#Top_bar .menu > li:is(.current-menu-item, .current_page_item, .current-menu-parent, .current-page-parent, .current-menu-ancestor, .current-page-ancestor, .current_page_ancestor) > a {
		color: #2a2f35;
		box-shadow: inset 0 -3px 0 #f6b60b;
	}
	#Top_bar .menu > li:is(.current-menu-item, .current_page_item, .current-menu-parent, .current-page-parent, .current-menu-ancestor, .current-page-ancestor, .current_page_ancestor).submenu > a > span:not(.description)::after {
		border-top-color: #2a2f35;
	}
}

/* d) Карточки услуг с высветленным фото: светлая подложка под текстом, обычный вес абзацев */
#Content .section:not(.dark) .column_attr.bg-cover {
	box-shadow: inset 0 0 0 2000px rgba(255, 255, 255, .9);
}
#Content .section:not(.dark) .column_attr.bg-cover p,
#Content .section:not(.dark) .column_attr.bg-cover p :is(b, strong) {
	font-weight: 400;
	color: #2a2f35;
}

/* f, g) Длинный текст: по левому краю, строка не шире 820px.
   width: fit-content — короткая строка остаётся по центру блока, длинная читается слева. */
#Content .wrap.one > .mcb-wrap-inner > .column.one > .column_attr > :is(p, ul, ol),
#Content .the_content_wrapper > :is(p, ul, ol) {
	max-width: 820px;
}
#Content .wrap.one > .mcb-wrap-inner > .column.one > .column_attr.align_center > :is(p, ul, ol) {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#Content .column_attr :is(ul, ol),
#Content .column_attr :is(ul, ol) li {
	text-align: left;
}
@media only screen and (max-width: 767px) {
	#Content .column_attr.mobile_align_center > :is(p, ul, ol) {
		width: fit-content;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
	}
}

/* h) Межстрочный в заголовках */
#Content :is(h1, h2, h3, h4) {
	line-height: 1.25;
}
@media only screen and (max-width: 767px) {
	/* в Betheme Custom CSS у вкладок и карточек bdp font-size с !important */
	#Content .tabs_vertical.ui-tabs .ui-tabs-nav li a {
		font-size: 18px !important;
		line-height: 1.3;
	}
	#Content .bdp-post-title,
	#Content .bdp-post-title a {
		font-size: 20px !important;
		line-height: 1.3 !important;
	}
}

/* e) Таблицы на мобильном: горизонтальная прокрутка вместо обрезки */
@media only screen and (max-width: 767px) {
	#Content .column_attr:has(> table),
	#Content .the_content_wrapper:has(> table),
	#Content .column_attr :is(div, .ui-tabs-panel):has(> table) {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	#Content :is(.column_attr, .the_content_wrapper) table {
		min-width: 100%;
	}
	#Content :is(.column_attr, .the_content_wrapper) table:has(tr > :nth-child(4)) :is(td, th) {
		min-width: 110px;
	}
	#Content .ui-tabs .ui-tabs-nav li,
	#Content .ui-tabs .ui-tabs-nav li a {
		white-space: normal;
		float: none;
	}
}

/* i) Отступы */
/* «Как купить бетон» на главной: зазор между рядами карточек */
#Content .mcb-section-6f648aa4c .wrap.one-third {
	margin-bottom: 24px;
}
/* «Наши объекты» (доставка, Энем): карточки с тенью не наезжают друг на друга */
#Content .wrap.one-second > .mcb-wrap-inner > .column.column_column.fonz {
	margin-bottom: 40px;
}
/* Баннер «Узнайте актуальные цены» → блок адресов */
#Content .section.dark + .section:has(.tabs_vertical) {
	margin-top: 40px;
}

/* j) Chaty: кнопка жёлтая вместо красной, иконка тёмная (body — чтобы перебить inline-стиль Chaty, он подключается позже) */
body #chaty-widget-0 .chaty-i-trigger .chaty-cta-button,
body #chaty-widget-0 .chaty-i-trigger .chaty-cta-button button {
	background-color: #f6b60b;
}
body #chaty-widget-0 .chaty-i-trigger .chaty-cta-button svg :is(circle, ellipse) {
	fill: #f6b60b;
}
/* облачко и крестик тёмные, строки в облачке жёлтые */
body #chaty-widget-0 .chaty-i-trigger .chaty-cta-button svg :is(.chaty-sts4-0, rect) {
	fill: #2a2f35;
}
body #chaty-widget-0 .chaty-i-trigger .chaty-cta-button svg .chaty-st0 {
	fill: #f6b60b;
}

/* SB-design этап 1: конец */
/* SB-design этап 3: начало (13.10.2026) */

/* 1) Нижняя панель «Позвонить / WhatsApp / Рассчитать» (разметка в Betheme → Hooks → Bottom) */
.sb-mbar {
	display: none;
}
@media only screen and (max-width: 767px) {
	.sb-mbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		height: calc(60px + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: #2a2f35;
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
		box-sizing: border-box;
	}
	.sb-mbar .sb-mbar__btn {
		flex: 1 1 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		height: 60px;
		color: #fff;
		font-family: Montserrat, Helvetica, Arial, sans-serif;
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0;
		text-transform: none;
		text-decoration: none;
	}
	.sb-mbar .sb-mbar__btn + .sb-mbar__btn {
		border-left: 1px solid rgba(255, 255, 255, .15);
	}
	.sb-mbar .sb-mbar__btn--calc {
		background: #f6b60b;
		color: #000;
		font-weight: 700;
	}
	.sb-mbar .sb-mbar__btn svg {
		width: 18px;
		height: 18px;
		flex: none;
		fill: currentColor;
	}
	/* тема обнуляет padding у body, без !important не перебивается */
	body {
		padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
	}
	/* кнопки «наверх» поднимаем над панелью */
	#to_top_scrollup,
	#wpfront-scroll-top-container {
		bottom: calc(80px + env(safe-area-inset-bottom)) !important;
	}
	/* на мобильном вместо Chaty панель; топ-бар и жёлтые телефонные кнопки шапки скрыты */
	#chaty-widget-0,
	.chaty-widget {
		display: none !important;
	}
	#Action_bar {
		display: none !important;
	}
	#Top_bar a.action_button {
		display: none !important;
	}
}

/* 2) Кнопки под прайсом и на страницах марок */
.sb-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 0;
}
.sb-btns--left {
	justify-content: flex-start;
	margin: 0 0 22px;
}
#Content a.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border-radius: 8px;
	box-sizing: border-box;
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	/* перебиваем правило ссылок этапа 1 */
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
#Content a.sb-btn--primary {
	background: #f6b60b;
	border: 2px solid #f6b60b;
	color: #000 !important;
}
#Content a.sb-btn--primary:hover {
	background: #e0a400;
	border-color: #e0a400;
}
#Content a.sb-btn--outline {
	background: transparent;
	border: 2px solid #2a2f35;
	color: #2a2f35 !important;
}
#Content a.sb-btn--outline:hover {
	background: #2a2f35;
	color: #fff !important;
}
/* источник всплывающей формы: сама ссылка-триггер скрыта, открываем её скриптом */
.sb-popup-src {
	display: none;
}
@media only screen and (max-width: 767px) {
	.sb-btns {
		flex-direction: column;
		align-items: stretch;
	}
	#Content a.sb-btn {
		width: 100%;
	}
}

/* 3) Плитка «Цена без НДС» на страницах марок (5-я плитка блока .sbm-keys) */
#Content .sbm-keys > div:nth-child(5) {
	background: #f6b60b;
}
#Content .sbm-keys > div:nth-child(5) :is(.k, .v) {
	color: #2a2f35;
}

/* 4) Таблица доставки на мобильном: без колонки «Завод отгрузки» */
@media only screen and (max-width: 767px) {
	.page-id-767 #Content table :is(th, td):nth-child(4) {
		display: none;
	}
	/* min-width 110px из этапа 1 для таблиц от 4 колонок здесь не нужен */
	.page-id-767 #Content table :is(th, td) {
		min-width: 0 !important;
		padding-left: 6px;
		padding-right: 6px;
	}
}

/* SB-design этап 3: конец */
/* SB-design этап 5: начало (15.10.2026) */

/* Первый экран главной: без размытой тёмной плашки, фото видно, затемнение только слева */
#Content .mcb-section-791e3bb48 {
	position: relative;
}
#Content .mcb-section-791e3bb48::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(20, 22, 25, .78) 0%, rgba(20, 22, 25, .55) 40%, rgba(20, 22, 25, 0) 70%);
	pointer-events: none;
}
#Content .mcb-section-791e3bb48 > .section_wrapper {
	position: relative;
	z-index: 1;
}
#Content .mcb-section-791e3bb48 .wrap.header1 {
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-radius: 0;
}
#Content .mcb-section-791e3bb48 .column_attr {
	max-width: 640px;
	padding: 40px 0 !important;
	text-align: left;
}
#Content .mcb-section-791e3bb48 h1 {
	margin-bottom: 22px;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

/* три факта с иконками */
#Content .sb-hero-facts {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	max-width: none;
	width: auto;
}
#Content .sb-hero-facts li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
#Content .sb-hero-facts li::before {
	display: none;
}
#Content .sb-hero-facts svg {
	flex: none;
	width: 26px;
	height: 26px;
	fill: #f6b60b;
}

/* кнопки первого экрана */
#Content .sb-btns--hero {
	justify-content: flex-start;
	margin: 0;
}
#Content a.sb-btn--light {
	background: rgba(255, 255, 255, .08);
	border: 2px solid #fff;
	color: #fff !important;
}
#Content a.sb-btn--light:hover {
	background: #fff;
	color: #2a2f35 !important;
}

/* телефон: умеренное затемнение целиком, компактный первый экран */
@media only screen and (max-width: 767px) {
	#Content .mcb-section-791e3bb48 {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		background-position: 30% center !important;
	}
	#Content .mcb-section-791e3bb48::before {
		background: linear-gradient(180deg, rgba(20, 22, 25, .62) 0%, rgba(20, 22, 25, .74) 100%);
	}
	#Content .mcb-section-791e3bb48 .column_attr {
		padding: 28px 4px 30px !important;
	}
	#Content .mcb-section-791e3bb48 h1 {
		font-size: 27px;
		line-height: 1.2;
		margin-bottom: 18px;
		text-align: left;
	}
	#Content .sb-hero-facts {
		margin-bottom: 22px;
	}
	#Content .sb-hero-facts li {
		font-size: 16px;
		gap: 10px;
		margin-bottom: 10px;
	}
	#Content .sb-hero-facts svg {
		width: 22px;
		height: 22px;
	}
}

/* SB-design этап 5: конец */
/* SB-design этап 6: начало (15.10.2026) */

/* Иконки преимуществ на главной: линейные SVG (медиатека, ikonka-*.svg; выбор по alt «Иконка: …», т.к. Seraphinite встраивает SVG как data:) на светло-жёлтой подложке вместо Font Awesome в серых кругах */
#Content .icon_box .image_wrapper:has(img[alt^="Иконка:"]) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin: 0 auto 22px;
	border-radius: 22px;
	background: #fff4d6;
}
#Content .icon_box .image_wrapper img[alt^="Иконка:"] {
	width: 48px;
	height: 48px;
}

/* телефон: две колонки вместо одной */
@media only screen and (max-width: 767px) {
	#Content .mcb-wrap-inner:has(> .column_icon_box img[alt^="Иконка:"]) {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 26px 14px;
	}
	#Content .mcb-wrap-inner:has(> .column_icon_box img[alt^="Иконка:"]) > .column {
		width: auto !important;
		float: none;
		margin: 0;
	}
	#Content .icon_box .image_wrapper:has(img[alt^="Иконка:"]) {
		width: 68px;
		height: 68px;
		border-radius: 18px;
		margin-bottom: 14px;
	}
	#Content .icon_box .image_wrapper img[alt^="Иконка:"] {
		width: 38px;
		height: 38px;
	}
	#Content .column_icon_box:has(img[alt^="Иконка:"]) .title {
		font-size: 16px;
		line-height: 1.25;
	}
	#Content .column_icon_box:has(img[alt^="Иконка:"]) .desc {
		font-size: 13px;
		line-height: 1.55;
	}
}

/* SB-design этап 6: конец */
/* SB-design этап 6, часть 2: начало (15.10.2026) */

/* Баннеры «Когда и куда доставить…» / «Узнайте актуальные цены!» (секции с колонкой .buttom3, 37 страниц):
   наши фото вместо стоковых с впечатанным жёлтым клином; первый баннер на странице — КамАЗ, следующий — завод */
#Content .section.dark:has(.buttom3) {
	background-image:
		linear-gradient(90deg, rgba(20, 22, 25, .9) 0%, rgba(20, 22, 25, .78) 45%, rgba(20, 22, 25, .45) 100%),
		url(/img/dostavka-betona-avtobetonosmesitel-gelendzhik.webp) !important;
	background-size: cover !important;
	background-position: center 46% !important;
	padding-top: 72px !important;
	padding-bottom: 72px !important;
}
#Content .section.dark:has(.buttom3) ~ .section.dark:has(.buttom3) {
	background-image:
		linear-gradient(90deg, rgba(20, 22, 25, .9) 0%, rgba(20, 22, 25, .78) 45%, rgba(20, 22, 25, .45) 100%),
		url(/img/novyj-zavod-gelendzhik.webp) !important;
	background-position: center 45% !important;
}
#Content .section.dark:has(.buttom3) h3 {
	font-size: 28px;
	line-height: 1.3;
	color: #fff;
	max-width: 760px;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
/* кнопка жёлтая с тёмным текстом (в Betheme Custom CSS у .buttom3 a цвета с !important) */
#Content .column.buttom3 .column_attr a.popup-link.button {
	background-color: #f6b60b !important;
	color: #2a2f35 !important;
	border-radius: 8px;
	padding: 18px 34px !important;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
#Content .column.buttom3 .column_attr a.popup-link.button .button_label {
	color: #2a2f35;
}
@media only screen and (max-width: 767px) {
	#Content .section.dark:has(.buttom3) {
		background-image:
			linear-gradient(180deg, rgba(20, 22, 25, .82) 0%, rgba(20, 22, 25, .7) 100%),
			url(/img/dostavka-betona-avtobetonosmesitel-gelendzhik.webp) !important;
		padding-top: 44px !important;
		padding-bottom: 44px !important;
	}
	#Content .section.dark:has(.buttom3) ~ .section.dark:has(.buttom3) {
		background-image:
			linear-gradient(180deg, rgba(20, 22, 25, .82) 0%, rgba(20, 22, 25, .7) 100%),
			url(/img/novyj-zavod-gelendzhik.webp) !important;
	}
	#Content .section.dark:has(.buttom3) h3 {
		font-size: 21px;
	}
	#Content .column.buttom3 .column_attr a.popup-link.button {
		display: block;
		text-align: center;
	}
}

/* Карточки «Наших услуг» (класс sb-svc-card у колонки, разметка в конструкторе): фото сверху, текст на белом, сетка 2×2 */
#Content .section:has(.sb-svc-card) .section_wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
#Content .section:has(.sb-svc-card) .section_wrapper::before,
#Content .section:has(.sb-svc-card) .section_wrapper::after,
#Content .section:has(.sb-svc-card) .section_wrapper > :not(.mcb-wrap),
#Content .section:has(.sb-svc-card) .section_wrapper > .mcb-wrap:not(:has(.sb-svc-card)) {
	display: none;
}
#Content .section:has(.sb-svc-card) .mcb-wrap {
	height: auto !important;
	min-height: 0 !important;
	width: auto !important;
	float: none;
	margin: 0;
	padding: 0 !important;
}
#Content .section:has(.sb-svc-card) .mcb-wrap-inner,
#Content .column.sb-svc-card,
#Content .column.sb-svc-card .column_attr {
	height: 100% !important;
	min-height: 0 !important;
}
#Content .column.sb-svc-card {
	margin: 0;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}
#Content .column.sb-svc-card .column_attr {
	padding: 0 0 26px !important;
	text-align: left;
	background: #fff !important;
	box-shadow: none !important;
}
#Content .sb-svc__photo {
	height: 230px;
	margin: 0 0 22px;
	overflow: hidden;
	background: #2a2f35;
}
#Content .sb-svc__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* старые фото услуг высветлены до диапазона ~208–255: «уровни» фильтром */
#Content .sb-svc__photo img.sb-svc__old {
	filter: brightness(.55) contrast(9.8) saturate(1.1);
}
#Content .column.sb-svc-card .column_attr > :not(.sb-svc__photo) {
	margin-left: 28px;
	margin-right: 28px;
}
#Content .column.sb-svc-card h4 {
	margin-bottom: 10px;
}
#Content .column.sb-svc-card p,
#Content .column.sb-svc-card p b {
	font-weight: 400;
	color: #2a2f35;
	text-align: left;
}
#Content .column.sb-svc-card a.sb-svc__more {
	font-weight: 700;
	color: #2a2f35;
}
@media only screen and (max-width: 767px) {
	#Content .section:has(.sb-svc-card) .section_wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	#Content .sb-svc__photo {
		height: 190px;
	}
	#Content .column.sb-svc-card .column_attr > :not(.sb-svc__photo) {
		margin-left: 18px;
		margin-right: 18px;
	}
}

/* «Наши объекты» (главная, доставка, Энем): сетка 3×2, кадры 16:10, подписи слева; старые карточки 2×2 на доставке/Энеме скрыты классом sb-hide */
#Content .wrap:has(> .mcb-wrap-inner > .column.sb-hide) {
	display: none !important;
}
#Content .sb-objects {
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
	text-align: left;
}
#Content .sb-objects > figure img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	height: auto !important;
	border-radius: 8px !important;
}
#Content .sb-objects > figure p {
	text-align: left !important;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	color: #2a2f35;
	margin: 12px 0 0 !important;
	max-width: none;
	width: auto;
}
@media only screen and (max-width: 767px) {
	#Content .sb-objects {
		grid-template-columns: 1fr 1fr !important;
		gap: 16px 12px !important;
	}
	#Content .sb-objects > figure p {
		font-size: 13px;
	}
}

/* SB-design этап 6, часть 2: конец */
/* ===== Копия сайта: элементы, которые на сайте делали скрипты Betheme и плагинов ===== */

/* Вкладки (цены, адреса заводов) */
#Content .ui-tabs .ui-tabs-panel[hidden] { display: none !important; }
#Content .ui-tabs .ui-tabs-nav a { cursor: pointer; }

/* Вопросы-ответы (Betheme helper) */
#Content .helper .helper_content { display: none; }
#Content .helper.active .helper_content { display: block; }
#Content .helper .helper_header .link { cursor: pointer; }

/* «Читать больше» */
.read_div[hidden] { display: none !important; }

/* Всплывающая форма заявки */
.popup-content { display: none; }
.sb-pop { position: fixed; inset: 0; z-index: 10000; background: rgba(20, 22, 25, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sb-pop__box { position: relative; background: #fff; border-radius: 10px; max-width: 520px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.sb-pop__box .popup-content { display: block; }
.sb-pop__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: #2a2f35; }
.sb-pop .wpcf7 input[type="text"], .sb-pop .wpcf7 input[type="tel"], .sb-pop .wpcf7 textarea { width: 100%; box-sizing: border-box; }
.sb-pop .sb-wa-hint { font-size: 13px; color: #5b6168; text-align: center; margin: 8px 0 0; }

/* Карточка калькулятора в контенте */
#Content a.sb-calc-card { display: flex; gap: 18px; align-items: flex-start; margin: 26px 0 0; padding: 20px 22px; background: #f4f5f6; border-left: 4px solid #f6b60b; border-radius: 8px; color: #2a2f35; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
#Content a.sb-calc-card:hover { box-shadow: 0 8px 22px rgba(42, 47, 53, .12); transform: translateY(-1px); }
.sb-calc-card__ic { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #f6b60b; display: flex; align-items: center; justify-content: center; }
.sb-calc-card__tx { display: grid; gap: 6px; min-width: 0; }
.sb-calc-card__h { font-size: 19px; font-weight: 700; line-height: 1.3; }
.sb-calc-card__p { font-size: 15px; line-height: 1.5; color: #5b6168; }
.sb-calc-card__btn { justify-self: start; margin-top: 8px; display: inline-flex; background: #f6b60b; color: #2a2f35; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 30px; }
@media only screen and (max-width: 767px) {
	#Content a.sb-calc-card { margin-top: 18px; padding: 16px; }
	.sb-calc-card__ic { flex-basis: 46px; height: 46px; }
	.sb-calc-card__h { font-size: 17px; }
}

/* Плавающая кнопка калькулятора (компьютер) */
.sb-calc-fab { position: fixed; right: 22px; bottom: 156px; z-index: 9990; display: flex; align-items: center; height: 56px; border-radius: 28px; background: #f6b60b; color: #2a2f35; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); overflow: hidden; }
.sb-calc-fab__ic { flex: 0 0 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.sb-calc-fab__tx { max-width: 0; white-space: nowrap; font-weight: 700; font-size: 14px; transition: max-width .3s, padding .3s; }
.sb-calc-fab:hover .sb-calc-fab__tx, .sb-calc-fab:focus-visible .sb-calc-fab__tx { max-width: 320px; padding-right: 20px; }
body.page-id-3621 .sb-calc-fab { display: none; }

/* Кнопка «Связаться» (вместо Chaty) и «наверх» */
.sb-chaty { position: fixed; right: 22px; bottom: 22px; z-index: 9991; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sb-chaty__list { display: none; flex-direction: column; gap: 10px; }
.sb-chaty.open .sb-chaty__list { display: flex; }
.sb-chaty__list a, .sb-chaty__btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.sb-chaty__btn { border: 0; background: #f6b60b; color: #2a2f35; cursor: pointer; }
.sb-chaty__tip { position: absolute; right: 64px; bottom: 14px; background: #fff; color: #2a2f35; font-size: 14px; font-weight: 600; padding: 5px 10px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); white-space: nowrap; }
.sb-chaty.open .sb-chaty__tip { display: none; }
.sb-totop { position: fixed; right: 30px; bottom: 92px; z-index: 9989; width: 40px; height: 40px; border-radius: 6px; background: #2a2f35; color: #fff; display: none; align-items: center; justify-content: center; text-decoration: none; }
.sb-totop.show { display: flex; }

/* Плашка о сокращённой версии сайта */
.sb-note { position: relative; z-index: 2; background: #f6b60b; color: #2a2f35; font: 600 14px/1.4 Montserrat, Arial, sans-serif; text-align: center; padding: 8px 16px; }

@media only screen and (max-width: 767px) {
	.sb-calc-fab, .sb-chaty, .sb-totop { display: none !important; }
}

/* Мобильное меню (Side_slide Betheme без скрипта темы) */
#Side_slide { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; overflow-y: auto; z-index: 10001; transition: right .3s; background: #fff; box-shadow: -4px 0 20px rgba(0, 0, 0, .15); }
#Side_slide.open { right: 0; }
#body_overlay.open { display: block !important; position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, .4); }
#Side_slide .menu_wrapper ul { list-style: none; margin: 0; padding: 0; }
#Side_slide .menu_wrapper li a { display: block; padding: 11px 20px; color: #2a2f35; text-decoration: none; border-bottom: 1px solid #eee; font-weight: 600; }
#Side_slide .menu_wrapper .sub-menu { display: none; background: #f6f7f8; }
#Side_slide .menu_wrapper li.open > .sub-menu { display: block; }
#Side_slide .menu_wrapper .sub-menu a { font-weight: 500; padding-left: 32px; }
#Side_slide .close { display: block; font-size: 30px; line-height: 1; padding: 12px 18px; text-align: right; color: #2a2f35; text-decoration: none; }
#Side_slide .extras { padding: 10px 20px; }
#Side_slide .extras .action_button { display: block; margin: 6px 0; text-align: center; }
@media only screen and (min-width: 1240px) { #Top_bar .responsive-menu-toggle { display: none !important; } }

/* Иконки шрифта темы Betheme (icon-*) недоступны — заменяем пустые значки */
#Top_bar .responsive-menu-toggle i::before { content: "\2630"; font-style: normal; font-size: 26px; }
#Action_bar .contact_details li i { display: none; }

/* Выпадающее меню на компьютере (в теме открывалось скриптом) */
@media only screen and (min-width: 1240px) {
	#Top_bar .menu li ul.sub-menu { display: none; }
	#Top_bar .menu li:hover > ul.sub-menu, #Top_bar .menu li:focus-within > ul.sub-menu { display: block; }
}
.sb-chaty .sb-chaty__btn { padding: 0 !important; margin: 0 !important; min-width: 0; line-height: 1; font-size: 24px; }
.sb-chaty .sb-chaty__list a { padding: 0 !important; }

/* Внутренние страницы (контент из редактора) */
#Content .section.the_content { padding-top: 34px; }
#Content .the_content_wrapper table th, #Content .the_content_wrapper table td { text-align: left; }
#Content .the_content_wrapper h2 { margin-top: 36px; }
#Subheader ul.breadcrumbs .sb-sep { margin: 0 6px; opacity: .7; }

/* MAX: кнопка в «Связаться» и в формах заявки */
.sb-chaty .sb-chaty__list a.sb-chaty__max { background: linear-gradient(135deg, #2bb0ff, #7b3dff); font: 800 13px/1 Montserrat, Arial, sans-serif; letter-spacing: .02em; }
.sb-max-btn { display: block; width: 100%; margin: 10px 0 0; padding: 13px 20px; border: 0; border-radius: 30px; background: linear-gradient(135deg, #2bb0ff, #7b3dff); color: #fff; font: 700 15px/1.2 Montserrat, Arial, sans-serif; cursor: pointer; }
.sb-max-btn:hover { filter: brightness(1.08); }
.sb-max-note { font-size: 13px; color: #2a2f35; background: #fff4d1; border-radius: 6px; padding: 8px 10px; margin: 8px 0 0; }
.sb-max-btn { box-sizing: border-box; }
.sb-pop .sb-pop__close { background: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: 36px !important; height: 36px !important; min-width: 0; border-radius: 0 !important; color: #2a2f35 !important; z-index: 2; }
.altEmail_container, form.sb-wa-form input[name="aloqud2343"] { display: none !important; }
body:has(.sb-chaty.open) .sb-calc-fab, body:has(.sb-chaty.open) .sb-totop { display: none !important; }

/* Серый блок «Бетон от производителя»: нижний текст в одну колонку с верхним абзацем (820 px по центру) */
#Content .mcb-section-4b6c39970 .mcb-item-90dc11fb5 .column_attr > *,
#Content .mcb-section-4b6c39970 .mcb-item-90dc11fb5 .read_div > * { max-width: 820px; margin-left: auto; margin-right: auto; }
#Content .mcb-section-4b6c39970 .mcb-item-90dc11fb5 .column_attr > span { display: block; }
#Content .mcb-section-4b6c39970 .mcb-item-90dc11fb5 .column_attr > span { margin-bottom: 36px; }

/* Плавающая кнопка калькулятора: текст тёмный и при наведении (тема красила ссылку в жёлтый) */
a.sb-calc-fab, a.sb-calc-fab:hover, a.sb-calc-fab:focus, a.sb-calc-fab:visited, a.sb-calc-fab .sb-calc-fab__tx { color: #2a2f35 !important; text-decoration: none !important; }

/* ===== Новая палитра (макет 10.11.2026): графит, стальной синий, тёплый бетон; жёлтый — только действие ===== */
#Subheader { background-color: #2A2F35 !important; background-image: none !important; border-bottom: 6px solid transparent; border-image: repeating-linear-gradient(135deg, #F6B60B 0 12px, #2A2F35 12px 24px) 6; }
#Subheader .title { color: #FFFFFF !important; }
#Subheader ul.breadcrumbs li, #Subheader ul.breadcrumbs li a, #Subheader .sb-sep { color: #D9D6D0 !important; }
#Subheader ul.breadcrumbs li a:hover { color: #F6B60B !important; }
#Content .sb2 a:not(.btn):not(.calc-card):not(.chip) { color: #1E4E79; }
#Content .sb2 a:not(.btn):not(.calc-card):not(.chip):hover { color: #2A2F35; }
#Content .sb2-sec.sb2-alt { background: #EEEBE6; }
#Content .sb2 .prose table th, #Content .sb2 table thead th { background: #2A2F35; color: #FFFFFF; }
#Content .sb2 .tiles div:not(.hl) b { color: #1E4E79; }
#Content .sb2 .faq summary::after { color: #1E4E79; }
#Content .sb2 .chip { background: #F8F6F2; border-color: #E4E1DB; color: #2A2F35; }
#Content .sb2 .chip:hover { background: #2A2F35; color: #FFFFFF; }
#Content .sb2 .prose a:not(.btn) { border-bottom-color: rgba(30, 78, 121, .35) !important; text-decoration-color: rgba(30, 78, 121, .35); }
