/* ==========================================================================
   ReoTest Child — адаптивные стили каталога
   Мобильные стили — базовые, планшет/десктоп — через min-width.
   ========================================================================== */

:root {
	--rt-blue: #0a78b8;        /* основной (тёмнее фирменного #13aff0 — читается на белом) */
	--rt-blue-light: #13aff0;  /* фирменный голубой из старой темы */
	--rt-cta: #17863a;         /* кнопка заявки */
	--rt-cta-hover: #12702f;
	--rt-text: #1f2933;
	--rt-muted: #5c6773;
	--rt-line: #e3e8ee;
	--rt-bg-soft: #f4f7fa;
	--rt-radius: 8px;
	--rt-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .06);
}

/* ---------- Базовое ---------- */
img { max-width: 100%; height: auto; }
.entry-content, .entry-content p, .entry-content li { overflow-wrap: anywhere; }
.rt-icon { flex: 0 0 auto; }

/* Таблицы характеристик: прокрутка внутри блока на узких экранах */
.wp-block-table { max-width: 100%; overflow-x: auto; }
.rt-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; }
.rt-table-wrap table { margin: 0; width: 100%; }
.entry-content table td, .entry-content table th { padding: 8px 10px; vertical-align: top; }

/* ---------- Шапка ---------- */
@media (max-width: 959px) {
	#site-header.minimal-header #site-header-inner { height: auto !important; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; }
	#site-header #site-logo, #site-header #site-logo #site-logo-inner { height: auto !important; display: flex; align-items: center; }
	#site-header #site-logo img { max-height: 46px !important; width: auto !important; }
	#site-header .oceanwp-mobile-menu-icon { float: none; margin: 0 0 0 auto; }
	.rt-page-header:not(.rt-page-header--compact) { padding-top: 22px !important; padding-bottom: 22px !important; }
	.rt-page-header h1.page-header-title { margin-bottom: 6px; }
	#site-header .oceanwp-mobile-menu-icon a { line-height: 46px !important; height: 46px; font-size: 15px; }
}

/* ---------- Баннер с заголовком ---------- */
.rt-page-header .page-header-title { margin: 0; line-height: 1.25; }
.rt-page-header h1.page-header-title { font-size: 26px; }
.rt-page-header--compact { padding-top: 14px !important; padding-bottom: 14px !important; }
.rt-page-header--compact .site-breadcrumbs { position: static; transform: none; margin: 0; }
.rt-tagline { font-size: 22px; }
.site-breadcrumbs { white-space: normal; max-width: 100%; }

/* ---------- Кнопки ---------- */
.rt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: var(--rt-radius);
	border: 2px solid transparent;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.rt-btn--cta { background: var(--rt-cta); color: #fff; }
.rt-btn--cta:hover, .rt-btn--cta:focus { background: var(--rt-cta-hover); color: #fff; }
.rt-btn--ghost { background: #fff; color: var(--rt-blue); border-color: var(--rt-blue); }
.rt-btn--ghost:hover, .rt-btn--ghost:focus { background: var(--rt-blue); color: #fff; }
.rt-btn:focus-visible, .rt-contact-bar__item:focus-visible, .rt-card__link:focus-visible {
	outline: 3px solid var(--rt-blue-light);
	outline-offset: 2px;
}
.rt-actions { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }

/* ---------- Карточка товара ---------- */
.rt-product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 0 0 28px;
}
.rt-product__media {
	background: #fff;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	padding: 12px;
	text-align: center;
}
.rt-product__image { display: block; margin: 0 auto; max-height: 460px; width: auto; object-fit: contain; }
.rt-product__noimage, .rt-card__noimage {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1; color: #b8c2cc; background: var(--rt-bg-soft); border-radius: 6px;
}
.rt-product__noimage .rt-icon { width: 64px; height: 64px; }

.rt-specs { margin: 0; border-top: 1px solid var(--rt-line); }
.rt-specs__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--rt-line);
}
.rt-specs dt { color: var(--rt-muted); font-weight: 400; margin: 0; }
.rt-specs dd { margin: 0; font-weight: 600; text-align: right; color: var(--rt-text); }

.rt-price { margin: 16px 0 0; font-size: 18px; }
.rt-price__label { color: var(--rt-muted); margin-right: 6px; }
.rt-price__value { font-weight: 700; color: var(--rt-text); }

.rt-benefits { list-style: none; margin: 8px 0 0; padding: 14px 16px; background: var(--rt-bg-soft); border-radius: var(--rt-radius); }
.rt-benefits li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 6px 0; font-size: 14px; color: var(--rt-text); }
.rt-benefits .rt-icon { color: var(--rt-blue); margin-top: 1px; }

/* Заголовок товара */
.single-post .single-post-title { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }

/* ---------- Сетка товаров в категориях ---------- */
#blog-entries.blog-grid, #blog-entries {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}
#blog-entries::before, #blog-entries::after { display: none !important; }
#blog-entries > .rt-card {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}
.rt-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	transition: box-shadow .15s, border-color .15s;
	overflow: hidden;
}
.rt-card:hover { box-shadow: var(--rt-shadow); border-color: #cfd8e1; }
.rt-card__link { display: flex; flex-direction: column; flex: 1 1 auto; padding: 10px 10px 0; color: var(--rt-text); }
.rt-card__link:hover { color: var(--rt-text); }
.rt-card__media { display: block; aspect-ratio: 1 / 1; background: #fff; margin-bottom: 10px; }
.rt-card__media img { width: 100%; height: 100%; object-fit: contain; }
.rt-card__title {
	font-size: 14px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	margin: 0 0 6px !important;
	color: var(--rt-text);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rt-card__meta { font-size: 12px; color: var(--rt-muted); margin-bottom: 8px; }

/* Подкатегории */
.rt-subcats ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.rt-subcats a {
	display: inline-block; padding: 8px 14px; border: 1px solid var(--rt-line); border-radius: 999px;
	font-size: 14px; color: var(--rt-text); background: #fff;
}
.rt-subcats a:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
.rt-tax-intro { font-size: 15px; color: var(--rt-text); margin-bottom: 18px; }
.rt-tax-text { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rt-line); }
.rt-tax-text h2 { font-size: 20px; }
.rt-tax-text h3 { font-size: 17px; }
.rt-empty { padding: 20px; background: var(--rt-bg-soft); border-radius: var(--rt-radius); margin-bottom: 24px; }
.rt-empty + .page-header, .rt-empty ~ .no-results { display: none; }

/* Пагинация — крупнее под палец */
.oceanwp-pagination .page-numbers a, .oceanwp-pagination .page-numbers span { min-width: 40px; height: 40px; line-height: 40px; }

/* ---------- Нижняя панель связи (телефоны) ---------- */
.rt-contact-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: grid; grid-template-columns: 1fr 1.4fr 1fr;
	background: #fff; border-top: 1px solid var(--rt-line);
	box-shadow: 0 -2px 10px rgba(16, 24, 40, .08);
	padding-bottom: env(safe-area-inset-bottom);
}
.rt-contact-bar__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 56px; padding: 6px 4px; border: 0; border-radius: 0; background: transparent;
	color: var(--rt-blue); font-size: 12px; font-weight: 600; line-height: 1.1; text-transform: none; letter-spacing: 0;
}
.rt-contact-bar__item--cta { background: var(--rt-cta); color: #fff; }
.rt-contact-bar__item--cta:hover, .rt-contact-bar__item--cta:focus { background: var(--rt-cta-hover); color: #fff; }
body { padding-bottom: 56px; }
/* кнопки «наверх» и чат не должны перекрывать панель */
#scroll-top { bottom: 72px !important; }
jdiv .__jivoMobileButton, .__jivoMobileButton { bottom: 70px !important; }

/* ---------- Сайдбар под контентом на телефонах ---------- */
@media (max-width: 959px) {
	#content-wrap { display: flex; flex-direction: column; }
	#content-wrap > #primary { order: 1; }
	#content-wrap > .sidebar-container { order: 2; margin-top: 32px; }
	/* На телефоне в сайдбаре оставляем только поиск: список производителей есть в меню */
	.single-post #content-wrap > .sidebar-container .widget-oceanwp-custom-menu { display: none; }
	.site-breadcrumbs { font-size: 12px; }
}

/* ---------- ≥ 480px ---------- */
@media (min-width: 480px) {
	.rt-actions { flex-direction: row; flex-wrap: wrap; }
	.rt-actions .rt-btn { flex: 1 1 200px; }
}

/* ---------- ≥ 768px: планшет ---------- */
@media (min-width: 768px) {
	.rt-contact-bar { display: none; }
	body { padding-bottom: 0; }
	#scroll-top { bottom: 20px !important; }
	jdiv .__jivoMobileButton, .__jivoMobileButton { bottom: 20px !important; }

	#blog-entries.blog-grid, #blog-entries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.rt-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.rt-page-header h1.page-header-title { font-size: 32px; }
}

/* ---------- ≥ 1100px: десктоп ---------- */
@media (min-width: 1100px) {
	#blog-entries.blog-grid, #blog-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.no-sidebar #blog-entries, .content-full-width #blog-entries { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.single-post .single-post-title { font-size: 28px; }
}

/* ---------- Печать карточки товара ---------- */
@media print {
	.rt-contact-bar, .rt-actions, #site-header, #top-bar-wrap, .sidebar-container, #footer, #related-posts { display: none !important; }
	body { padding: 0; }
}

/* ---------- Читаемость текста и всплывающее окно ---------- */
.single-post .entry-content, .single-post .entry-content p, .single-post .entry-content li,
.page .entry-content p, .rt-tax-intro, .rt-tax-text { color: #3b4752; }
.pum-container .pum-title { font-size: 22px !important; line-height: 1.3 !important; margin-bottom: 12px !important; }
.pum-container .wpcf7 input[type="submit"] { background: var(--rt-cta); min-height: 48px; border-radius: var(--rt-radius); text-transform: none; letter-spacing: 0; font-size: 16px; }
.pum-container .wpcf7 textarea { height: 110px; }
.pum-container .wpcf7-acceptance { font-size: 13px; }
@media (max-width: 479px) { .pum-container.pum-responsive { padding: 18px !important; } .pum-container .pum-title { font-size: 19px !important; } }

/* ---------- Таблица типоразмеров конвейера ---------- */
.rt-sizes { border-collapse: collapse; width: 100%; font-size: 14px; }
.rt-sizes th, .rt-sizes td { border: 1px solid var(--rt-line); padding: 6px !important; text-align: center; }
.rt-sizes thead th { background: var(--rt-bg-soft); font-weight: 600; }
.rt-sizes tbody th { background: var(--rt-bg-soft); white-space: nowrap; }
.rt-size {
	display: block; width: 100%; min-height: 40px; padding: 6px 4px; border: 1px solid transparent; border-radius: 6px;
	background: transparent; color: var(--rt-blue); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap;
}
.rt-size:hover, .rt-size:focus { background: var(--rt-blue); color: #fff; }
.rt-sizes__note { font-size: 14px; color: var(--rt-muted); }
.single-post .entry-content .rt-table-wrap table.rt-sizes { min-width: 560px; }
.recent-posts-comments{display:none!important}

.rt-cat-link { margin: 14px 0 0; font-size: 14px; color: var(--rt-muted); }
.rt-cat-link a { color: var(--rt-blue); font-weight: 600; }

/* ==========================================================================
   Версия 1.1 — обновлённая раскладка (шапка, главная, карточки, подвал)
   Палитра прежняя: фирменный голубой #13aff0, рабочий синий #0a78b8, зелёная заявка.
   ========================================================================== */

:root { --rt-grad: linear-gradient(120deg, #0a78b8 0%, #13aff0 100%); --rt-dark: #17212b; }

/* ---------- Верхняя полоса ---------- */
#top-bar-wrap { background: var(--rt-bg-soft); border-bottom: 1px solid var(--rt-line); font-size: 13px; }
#top-bar-content { float: none; width: 100%; color: var(--rt-muted); }
#top-bar-content .topbar-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
#top-bar-content .rt-topbar__contacts { display: flex; gap: 18px; }
#top-bar-content a { color: var(--rt-text); font-weight: 600; }
#top-bar-content a:hover { color: var(--rt-blue); }
#top-bar-inner { padding: 7px 0; }
@media (max-width: 767px) { #top-bar-wrap { display: none !important; } }

/* ---------- Шапка: контакты и кнопка ---------- */
.rt-hcontacts { display: flex; align-items: center; gap: 18px; }
.rt-hcontacts__text { display: none; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.rt-hcontacts__phone { font-size: 20px; font-weight: 700; color: var(--rt-text); white-space: nowrap; }
.rt-hcontacts__phone:hover { color: var(--rt-blue); }
.rt-hcontacts__mail { font-size: 13px; color: var(--rt-muted); }
.rt-hcontacts__btn { display: none; min-height: 44px; padding: 10px 18px; }
.rt-hcontacts__call {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; background: var(--rt-bg-soft); color: var(--rt-blue);
}
@media (max-width: 959px) {
	.rt-hcontacts { margin-left: auto; margin-right: 6px; }
}
@media (min-width: 600px) {
	.rt-hcontacts__text { display: flex; }
	.rt-hcontacts__call { display: none; }
}
@media (min-width: 960px) {
	#site-header.minimal-header #site-header-inner {
		display: flex; flex-wrap: wrap; align-items: center;
		height: auto !important; padding-top: 14px;
	}
	#site-header #site-logo { order: 1; float: none; height: auto; }
	#site-header #site-logo #site-logo-inner { height: auto !important; display: flex; align-items: center; }
	#site-header #site-logo img { max-height: 58px; width: auto; }
	.rt-hcontacts { order: 2; margin-left: auto; }
	.rt-hcontacts__btn { display: inline-flex; }

	/* меню — отдельной синей полосой во всю ширину окна */
	#site-header #site-navigation-wrap {
		order: 3; flex: 0 0 100%; float: none; position: relative; right: auto; margin-top: 14px;
		background: var(--rt-blue);
	}
	/* фон полосы на всю ширину окна — отдельным слоем, чтобы не обрезать выпадающие меню */
	#site-header #site-navigation-wrap::before {
		content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; pointer-events: none;
		background: var(--rt-blue); box-shadow: 0 0 0 100vmax var(--rt-blue); clip-path: inset(0 -100vmax);
	}
	#site-header #site-navigation-wrap #site-navigation { position: relative; z-index: 2; }
	#site-header #site-navigation-wrap #site-navigation { float: none; width: 100%; }
	#mega-menu-wrap-main_menu, #mega-menu-wrap-main_menu #mega-menu-main_menu { background: transparent !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu { display: flex !important; flex-wrap: wrap; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item { border: 0 !important; box-shadow: none !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link {
		height: 48px !important; line-height: 48px !important; padding: 0 13px !important; border: 0 !important; border-radius: 0 !important;
		color: #fff !important; background: transparent !important; font-size: 14px !important; font-weight: 600 !important; box-shadow: none !important;
	}
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item:first-child > a.mega-menu-link { padding-left: 0 !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link:hover,
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link { background: rgba(0, 0, 0, .2) !important; color: #fff !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link .mega-indicator:after,
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link:before { color: #fff !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > ul.mega-sub-menu { border-top: 3px solid var(--rt-blue-light) !important; box-shadow: var(--rt-shadow) !important; }
	#site-header #site-navigation-wrap .search-toggle-li a, #site-header #site-navigation-wrap li.search-toggle-li a i { color: #fff !important; }
	#site-header #searchform-dropdown { top: 100%; }
}
@media (min-width: 960px) and (max-width: 1199px) {
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link { padding: 0 6px !important; font-size: 12.5px !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link:before { display: none !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link > span.mega-indicator { margin-left: 2px !important; }
	#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item { margin: 0 !important; }
}

/* ---------- Баннер с заголовком на внутренних страницах ---------- */
.rt-page-header { background: var(--rt-grad) !important; }
.rt-page-header .page-header-title, .rt-page-header .site-breadcrumbs, .rt-page-header .site-breadcrumbs a { color: #fff !important; }
.rt-page-header .site-breadcrumbs a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }

/* ---------- Общие элементы секций ---------- */
.rt-section { padding: 36px 0; }
.rt-section--soft { background: var(--rt-bg-soft); }
.rt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rt-section-title { font-size: 22px; line-height: 1.25; margin: 0 0 18px; color: var(--rt-text); font-weight: 700; }
.rt-section__head .rt-section-title { margin: 0; }
.rt-section__more, .rt-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--rt-blue); white-space: nowrap; }
.rt-section__more .rt-icon, .rt-link-arrow .rt-icon { width: 16px; height: 16px; }
.rt-btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); }
.rt-btn--light:hover, .rt-btn--light:focus { background: #fff; color: var(--rt-blue); }
.rt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ---------- Главная ---------- */
.rt-home { width: 100%; max-width: none; padding: 0 !important; }
.rt-home #primary { width: 100%; float: none; padding: 0; }
.rt-hero {
	position: relative; color: #fff; padding: 32px 0;
	background: #0a78b8 url("../img/hero-bg.svg") center bottom / cover no-repeat;
}
/* лёгкое затемнение слева — текст читается поверх чертежа */
.rt-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(5, 60, 100, .55) 0%, rgba(5, 60, 100, .25) 45%, rgba(5, 60, 100, 0) 75%);
}
.rt-hero__inner { position: relative; }
.rt-hero__kicker { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.rt-hero__title { color: #fff; font-size: 28px; line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
.rt-hero__lead { font-size: 16px; line-height: 1.55; margin: 0 0 20px; color: rgba(255, 255, 255, .92); max-width: 640px; }
.rt-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rt-hero__actions .rt-btn { flex: 1 1 220px; }
.rt-hero__form { display: none; }
.rt-hero__facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt-hero__facts li {
	display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px;
	background: rgba(255, 255, 255, .12); border-radius: var(--rt-radius); font-size: 13px; line-height: 1.35; color: #fff;
}
.rt-hero__facts strong { display: block; font-size: 14px; }
.rt-hero__facts .rt-icon { width: 22px; height: 22px; margin-top: 1px; }

.rt-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rt-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.rt-cat:hover { box-shadow: var(--rt-shadow); border-color: #cfd8e1; }
.rt-cat__link { display: flex; flex-direction: column; color: var(--rt-text); padding: 12px; }
.rt-cat__link:hover { color: var(--rt-blue); }
.rt-cat__media { display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.rt-cat__media img { width: 100%; height: 100%; object-fit: contain; }
.rt-cat__name { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.rt-cat__count { display: block; font-size: 13px; color: var(--rt-muted); margin-top: 2px; }
.rt-cat__subs { display: none; list-style: none; margin: 0; padding: 0 12px 12px; }
.rt-cat__subs li { margin: 0; padding: 3px 0; font-size: 13px; line-height: 1.3; }
.rt-cat__subs a { color: var(--rt-muted); }
.rt-cat__subs a:hover { color: var(--rt-blue); }
.rt-section--slider { padding-top: 0; display: none; }

.rt-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rt-brands li { margin: 0; }
.rt-brand {
	display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 64px; padding: 10px 14px;
	background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); color: var(--rt-text);
}
.rt-brand:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
.rt-brand__name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.rt-brand__country { font-size: 12px; color: var(--rt-muted); margin-top: 2px; }

.rt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; counter-reset: none; }
.rt-steps li { margin: 0; padding: 16px; background: #fff; border-radius: var(--rt-radius); border: 1px solid var(--rt-line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--rt-muted); }
.rt-steps strong { color: var(--rt-text); font-size: 16px; }
.rt-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rt-blue); color: #fff; font-weight: 700; }
.rt-about { max-width: 900px; }
.rt-about p { color: #3b4752; font-size: 15px; line-height: 1.65; }

/* ---------- Карточки: кнопка «Узнать цену» ---------- */
.rt-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px 10px; }
.rt-card__more { display: none; font-size: 13px; font-weight: 600; color: var(--rt-blue); }
.rt-card__more:hover { text-decoration: underline; }
.rt-card__price {
	flex: 1 1 auto; min-height: 38px; padding: 6px 10px; border: 1px solid var(--rt-cta); border-radius: 6px;
	background: #fff; color: var(--rt-cta); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.rt-card__price:hover, .rt-card__price:focus { background: var(--rt-cta); color: #fff; }

/* ---------- Похожее оборудование ---------- */
.rt-related { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rt-line); }
#related-posts.rt-related .rt-section-title { font-size: 20px; }

/* ---------- Блок «Не нашли нужный прибор?» ---------- */
.rt-cta-band { background: #e8f6fd; border-top: 1px solid #cfeaf8; padding: 26px 0; }
.rt-cta-band__inner { display: flex; flex-direction: column; gap: 14px; }
.rt-cta-band__title { font-size: 20px; font-weight: 700; color: var(--rt-text); margin: 0 0 4px; }
.rt-cta-band__lead { margin: 0; color: #3b4752; }
.rt-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rt-cta-band__phone { font-size: 18px; font-weight: 700; color: var(--rt-text); white-space: nowrap; }
.rt-cta-band__phone:hover { color: var(--rt-blue); }

/* ---------- Подвал ---------- */
#footer-widgets.rt-footer { background: var(--rt-dark); color: #b9c3cc; padding: 36px 0 20px; }
.rt-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.rt-footer a { color: #e6ebef; }
.rt-footer a:hover { color: var(--rt-blue-light); }
.rt-footer__brand { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.rt-footer__about { font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.rt-footer__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.rt-footer__contacts, .rt-footer__links { list-style: none; margin: 0; padding: 0; }
.rt-footer__contacts li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 14px; line-height: 1.45; }
.rt-footer__contacts .rt-icon { color: var(--rt-blue-light); margin-top: 1px; }
.rt-footer__contacts + .rt-btn { margin-top: 6px; }
.rt-footer__links li { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
.rt-footer__links--2col { columns: 2; column-gap: 16px; }
.rt-footer__links--2col li { break-inside: avoid; }
.rt-footer__gost { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.rt-footer__gost summary { cursor: pointer; font-size: 14px; color: #e6ebef; }
.rt-footer__gost ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-footer__gost li { margin: 0; }
.rt-footer__gost a { display: inline-block; padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 4px; font-size: 12px; }
#footer-bottom { background: #111920 !important; }
#footer-bottom #copyright { font-size: 12px; line-height: 1.5; color: #8d98a3; text-align: left; }
#footer-bottom #copyright a { color: #b9c3cc; margin-left: 6px; }

/* ---------- ≥ 480px ---------- */
@media (min-width: 480px) {
	.rt-card__more { display: inline; }
	.rt-card__price { flex: 0 0 auto; }
	.rt-hero__facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ≥ 768px ---------- */
@media (min-width: 768px) {
	.rt-section { padding: 48px 0; }
	.rt-section-title { font-size: 26px; }
	.rt-hero { padding: 48px 0; }
	.rt-hero__title { font-size: 38px; }
	.rt-hero__lead { font-size: 18px; }
	.rt-hero__actions .rt-btn { flex: 0 0 auto; }
	.rt-hero__facts { grid-template-columns: repeat(4, 1fr); }
	.rt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.rt-cat__subs { display: block; }
	.rt-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rt-steps { grid-template-columns: repeat(2, 1fr); }
	.rt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.rt-section--slider { display: block; }
	.rt-cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
	.rt-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ≥ 1100px ---------- */
@media (min-width: 1100px) {
	.rt-hero { padding: 64px 0 56px; }
	.rt-hero__title { font-size: 42px; }
	.rt-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px 56px; align-items: start; }
	.rt-hero__text { grid-column: 1; }
	.rt-hero__form { grid-column: 2; grid-row: 1 / span 2; }
	.rt-hero__facts { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, 1fr); margin-top: 8px; align-self: start; }
	.rt-hero__form { display: block; background: #fff; color: var(--rt-text); border-radius: 12px; padding: 22px 24px 18px; box-shadow: 0 10px 30px rgba(6, 50, 80, .25); }
	.rt-hero__form-title { font-size: 19px; font-weight: 700; margin: 0 0 4px; color: var(--rt-text); }
	.rt-hero__form-lead { font-size: 13px; color: var(--rt-muted); margin: 0 0 12px; }
	.rt-hero__form label { font-size: 13px; color: var(--rt-muted); display: block; margin: 0 0 8px; }
	.rt-hero__form input[type="text"], .rt-hero__form input[type="tel"], .rt-hero__form input[type="email"], .rt-hero__form textarea { margin-top: 3px; min-height: 40px; border-radius: 6px; }
	.rt-hero__form textarea { height: 64px; min-height: 64px; }
	.rt-hero__form .wpcf7-acceptance { font-size: 12px; }
	.rt-hero__form input[type="submit"] { width: 100%; min-height: 46px; background: var(--rt-cta); border-radius: var(--rt-radius); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
	.rt-hero__form input[type="submit"]:hover { background: var(--rt-cta-hover); }
	.rt-hero__form .wpcf7-response-output { font-size: 13px; margin: 8px 0 0 !important; }
	.rt-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rt-brands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.rt-steps { grid-template-columns: repeat(4, 1fr); }
	.rt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rt-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 36px; }
	.rt-product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; }
	.single-post .entry-content { max-width: 980px; }
}

/* Кнопка отправки любой формы заявки — зелёная, как остальные кнопки заявки */
.wpcf7 input[type="submit"] { background: var(--rt-cta); border-radius: var(--rt-radius); min-height: 46px; padding: 0 28px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.wpcf7 input[type="submit"]:hover { background: var(--rt-cta-hover); }

/* ---------- Баннер cookie (152-ФЗ) ---------- */
.rt-cookie {
	position: fixed; left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 99999;
	background: #fff; color: var(--rt-text); border: 1px solid var(--rt-line); border-radius: 12px;
	box-shadow: 0 10px 30px rgba(16, 24, 40, .18); padding: 14px 16px;
}
.rt-cookie[hidden] { display: none; }
.rt-cookie__text { margin: 0 0 10px; font-size: 13px; line-height: 1.45; }
.rt-cookie__text a { color: var(--rt-blue); text-decoration: underline; }
.rt-cookie__actions { display: flex; gap: 8px; }
.rt-cookie__actions .rt-btn { flex: 1 1 0; min-height: 40px; padding: 8px 12px; font-size: 14px; }
@media (min-width: 768px) {
	.rt-cookie { left: auto; right: 20px; bottom: 20px; max-width: 460px; }
	html.rt-cookie-open #scroll-top { bottom: 190px !important; }
}
.rt-map { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 320px; padding: 20px; background: var(--rt-bg-soft); border: 1px solid var(--rt-line); border-radius: var(--rt-radius); text-align: center; }
.rt-map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--rt-radius); }
.rt-map[data-loaded] { padding: 0; background: none; border: 0; min-height: 0; }
.rt-map__note { margin: 0; font-size: 12px; color: var(--rt-muted); }
.rt-legal h2 { font-size: 20px; margin: 28px 0 10px; }
.rt-legal p, .rt-legal li { color: #3b4752; line-height: 1.6; }

/* ==========================================================================
   Шапка v1.3 — «Каталог оборудования» + поиск + строка производителей
   ========================================================================== */
.rt-catbtn, .rt-hsearch, .rt-subnav, .rt-catpanel { display: none; }
#site-header { position: relative; }

@media (min-width: 960px) {
	#site-header #site-navigation-wrap { display: none !important; }
	#site-header.minimal-header #site-header-inner { flex-wrap: nowrap; gap: 16px; padding: 14px 0; }
	#site-header #site-logo { order: 1; flex: 0 0 auto; }
	.rt-catbtn { order: 2; }
	.rt-hsearch { order: 3; }
	.rt-hcontacts { order: 4; margin-left: auto; flex: 0 0 auto; }

	.rt-catbtn {
		display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
		min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--rt-radius);
		background: var(--rt-blue); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer;
	}
	.rt-catbtn:hover, .rt-catbtn.is-open { background: #075d91; color: #fff; }
	.rt-catbtn .rt-icon path { transition: transform .15s, opacity .15s; transform-origin: 12px 12px; }
	.rt-catbtn.is-open .rt-catbtn__l1 { transform: translateY(6px) rotate(45deg); }
	.rt-catbtn.is-open .rt-catbtn__l2 { opacity: 0; }
	.rt-catbtn.is-open .rt-catbtn__l3 { transform: translateY(-6px) rotate(-45deg); }

	.rt-hsearch { display: flex; flex: 1 1 260px; max-width: 420px; position: relative; margin: 0; }
	.rt-hsearch input[type="search"] {
		width: 100%; height: 48px; margin: 0; padding: 0 46px 0 16px;
		border: 2px solid var(--rt-line); border-radius: var(--rt-radius); background: #fff; font-size: 14px; color: var(--rt-text);
	}
	.rt-hsearch input[type="search"]:focus { border-color: var(--rt-blue-light); outline: 0; }
	.rt-hsearch button {
		position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px;
		background: transparent; color: var(--rt-muted); display: flex; align-items: center; justify-content: center; cursor: pointer;
	}
	.rt-hsearch button:hover { color: var(--rt-blue); background: var(--rt-bg-soft); }

	/* Вторая строка */
	.rt-subnav { display: block; border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line); background: #fff; }
	.rt-subnav__inner { display: flex; align-items: center; gap: 26px; height: 48px; }
	.rt-subnav__link, .rt-subnav__ddbtn {
		display: inline-flex; align-items: center; height: 48px; padding: 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
		background: none; color: var(--rt-text); font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer;
	}
	.rt-subnav__link:hover, .rt-subnav__ddbtn:hover, .rt-subnav__dd.is-open .rt-subnav__ddbtn { color: var(--rt-blue); background: none; }
	.rt-subnav__link.is-active { color: var(--rt-blue); border-bottom-color: var(--rt-blue); }
	.rt-subnav__link--info { color: var(--rt-muted); font-weight: 400; }
	.rt-subnav__spacer { flex: 1 1 auto; }
	.rt-subnav__arr { font-size: 11px; margin-left: 6px; }
	.rt-subnav__dd { position: relative; }
	.rt-subnav__pop {
		display: none; position: absolute; top: 100%; left: -16px; z-index: 1001; width: 560px; padding: 14px;
		grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
		background: #fff; border: 1px solid var(--rt-line); border-top: 3px solid var(--rt-blue-light); border-radius: 0 0 10px 10px;
		box-shadow: 0 18px 40px rgba(16, 24, 40, .18);
	}
	.rt-subnav__dd:hover .rt-subnav__pop, .rt-subnav__dd.is-open .rt-subnav__pop, .rt-subnav__dd:focus-within .rt-subnav__pop { display: grid; }
	.rt-subnav__pop a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 6px; color: var(--rt-text); font-size: 14px; line-height: 1.25; }
	.rt-subnav__pop a:hover { background: var(--rt-bg-soft); color: var(--rt-blue); }
	.rt-subnav__pop small { color: var(--rt-muted); font-size: 12px; }
	.rt-subnav__pop .rt-subnav__popall { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; color: var(--rt-blue); font-weight: 600; border-top: 1px solid var(--rt-line); border-radius: 0; margin-top: 6px; padding-top: 10px; }

	/* Панель каталога */
	.rt-catpanel { display: block; position: absolute; left: 0; right: 0; z-index: 1002; }
	.rt-catpanel[hidden] { display: none; }
	.rt-catpanel::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(15, 30, 45, .28); pointer-events: none; }
	.rt-catpanel__grid {
		display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 380px; overflow: hidden;
		background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(16, 24, 40, .25); border: 1px solid var(--rt-line);
	}
	.rt-catpanel__list { list-style: none; margin: 0; padding: 10px 0; background: var(--rt-bg-soft); }
	.rt-catpanel__list li { margin: 0; }
	.rt-catpanel__item {
		display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 20px;
		color: var(--rt-text); font-size: 15px; font-weight: 600; border-left: 3px solid transparent;
	}
	.rt-catpanel__item small { color: var(--rt-muted); font-weight: 400; font-size: 13px; }
	.rt-catpanel__item.is-active { background: #fff; color: var(--rt-blue); border-left-color: var(--rt-blue); }
	.rt-catpanel__panes { padding: 22px 28px; }
	.rt-catpanel__pane { display: none; }
	.rt-catpanel__pane.is-active { display: block; }
	.rt-catpanel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 8px; }
	.rt-catpanel__title { font-size: 20px; font-weight: 700; color: var(--rt-text); line-height: 1.25; }
	.rt-catpanel__title:hover { color: var(--rt-blue); }
	.rt-catpanel__all { color: var(--rt-blue); font-weight: 600; white-space: nowrap; }
	.rt-catpanel__brands { margin: 0 0 16px; font-size: 14px; color: #3b4752; }
	.rt-catpanel__brands span { color: var(--rt-muted); margin-right: 4px; }
	.rt-catpanel__products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.rt-catpanel__products li { margin: 0; }
	.rt-catpanel__products a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); color: var(--rt-text); font-size: 13px; font-weight: 600; line-height: 1.3; }
	.rt-catpanel__products a:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
	.rt-catpanel__products img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
	.rt-catpanel__products span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 960px) and (max-width: 1199px) {
	.rt-hcontacts__mail { display: none; }
	.rt-hcontacts__phone { font-size: 17px; }
	.rt-hcontacts__btn { padding: 10px 14px; font-size: 14px; }
	.rt-catbtn { padding: 0 16px; }
	.rt-catbtn__more { display: none; }
	.rt-subnav__inner { gap: 18px; }
	.rt-catpanel__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rt-catpanel__products li:nth-child(4) { display: none; }
}

/* ==========================================================================
   v1.4 — фильтр по производителю (вариант B)
   ========================================================================== */
.rt-chip {
	display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border: 1px solid var(--rt-line); border-radius: 999px;
	background: #fff; color: var(--rt-text); font-size: 13.5px; line-height: 1.2; white-space: nowrap;
}
.rt-chip small { color: var(--rt-muted); font-size: 12px; }
.rt-chip:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
.rt-chip.is-on { background: var(--rt-blue); border-color: var(--rt-blue); color: #fff; }
.rt-chip.is-on small { color: #d6ecf8; }
.rt-chip--more { color: var(--rt-blue); font-weight: 600; }

.rt-filter { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; padding: 12px 14px; background: var(--rt-bg-soft); border: 1px solid var(--rt-line); border-radius: 10px; }
.rt-filter__brands { display: flex; gap: 8px; align-items: center; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: thin; }
.rt-filter__label { font-weight: 700; font-size: 14px; white-space: nowrap; margin-right: 2px; }
.rt-filter__sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.rt-filter__sort label { margin: 0; color: var(--rt-muted); white-space: nowrap; }
.rt-filter__sort select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--rt-line); border-radius: 8px; background: #fff; font-size: 14px; max-width: 220px; }
@media (min-width: 960px) {
	.rt-filter { flex-direction: row; align-items: center; justify-content: space-between; }
	.rt-filter__brands { flex-wrap: wrap; overflow: visible; }
	.rt-filter__sort { flex: 0 0 auto; margin-left: auto; }
}

.rt-catpanel__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; }
.rt-catpanel__label { font-size: 13px; color: var(--rt-muted); margin-right: 4px; }
.rt-catpanel__brands .rt-chip { padding: 5px 11px; font-size: 13px; }

/* Верхняя полоса: страницы компании */
#top-bar-content .rt-topbar__contacts { gap: 20px; }
#top-bar-content .rt-topbar__contacts a { font-weight: 400; color: var(--rt-text); }
#top-bar-content .rt-topbar__contacts a:hover { color: var(--rt-blue); }
#top-bar-content .rt-topbar__mail { font-weight: 600 !important; }
@media (max-width: 1099px) { #top-bar-content .rt-topbar__about { display: none; } #top-bar-content .topbar-content { justify-content: flex-end; } }
@media (max-width: 959px) { .rt-filter__label { display: none; } }

/* ==========================================================================
   v1.5 — реквизиты, «Производители», «Доставка»
   ========================================================================== */
.rt-footer__legal { font-size: 13px; line-height: 1.5; margin: 0 0 14px; color: #9aa6b1; }
.rt-requisites { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rt-line); }
.rt-requisites__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rt-requisites__head h2 { margin: 0; font-size: 22px; }
.rt-requisites__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rt-requisites__table th, .rt-requisites__table td { border: 0; border-bottom: 1px solid var(--rt-line); padding: 10px 12px 10px 0 !important; text-align: left; vertical-align: top; }
.rt-requisites__table th { width: 34%; color: var(--rt-muted); font-weight: 400; }
.rt-requisites__table td { color: var(--rt-text); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 599px) { .rt-requisites__table th, .rt-requisites__table td { display: block; width: auto; } .rt-requisites__table th { border-bottom: 0; padding-bottom: 0 !important; } }

.rt-brandpage__lead { font-size: 16px; color: #3b4752; max-width: 860px; }
.rt-brandpage__grid { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.rt-brandcard { margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); }
.rt-brandcard:hover { box-shadow: var(--rt-shadow); }
.rt-brandcard__name { font-size: 19px; font-weight: 700; color: var(--rt-text); }
.rt-brandcard__name:hover { color: var(--rt-blue); }
.rt-brandcard__country { font-size: 13px; color: var(--rt-muted); }
.rt-brandcard__count { font-size: 14px; color: var(--rt-text); margin-top: 4px; }
.rt-brandcard__subs { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-brandcard__subs li { margin: 0; }
.rt-brandcard__subs a { display: inline-block; padding: 4px 10px; border: 1px solid var(--rt-line); border-radius: 999px; font-size: 13px; color: var(--rt-text); }
.rt-brandcard__subs a:hover { border-color: var(--rt-blue); color: var(--rt-blue); }
.rt-brandcard__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--rt-blue); }
.rt-note { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 18px 20px; background: #e8f6fd; border: 1px solid #cfeaf8; border-radius: 10px; margin: 24px 0; }
.rt-note p { margin: 0; }
.rt-howto { margin-top: 28px; }
.rt-howto h2 { font-size: 22px; }
.rt-howto__grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0; }
.rt-howto__item { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--rt-line); border-radius: var(--rt-radius); background: #fff; }
.rt-howto__item .rt-icon { color: var(--rt-blue); width: 26px; height: 26px; }
.rt-howto__item p { margin: 4px 0 0; color: #3b4752; font-size: 14px; }
@media (min-width: 768px) {
	.rt-brandpage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-howto__grid { grid-template-columns: repeat(3, 1fr); }
	.rt-note { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1100px) { .rt-brandpage__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rt-brandpage { margin-top: 32px; } .rt-brandpage__title { font-size: 22px; margin-bottom: 6px; }
/* Подписи Яндекс.Карт из кода вставки — показываем только вместе с загруженной картой */
div:has(> .rt-map:not([data-loaded])) > a[href*="yandex.ru/maps"] { display: none; }
