/* ==========================================================================
   Snab-01 — основной файл стилей (наш дизайн поверх Underscores)
   Здесь будем накапливать стили по мере сборки блоков.
   ========================================================================== */

/* --- Токены дизайна --------------------------------------------------- */
:root {
	--c-white:     #ffffff;
	--c-surface:   #f4f5f6; /* светло-серый фон секций */
	--c-graphite:  #2c3138; /* графитовый */
	--c-dark:      #1c1f24; /* почти чёрный (верхняя панель) */
	--c-text:      #1a1c1e; /* основной текст */
	--c-muted:     #6b7280; /* приглушённый текст */
	--c-border:    #e6e8eb;
	--c-accent:    #f26a1b; /* сигнальный оранжевый */
	--c-accent-2:  #e0400f; /* оранжево-красный (ховеры, важное) */

	--container:   1680px;
	--radius:      6px;
	--radius-lg:   10px;

	--font-base:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- База ------------------------------------------------------------- */
body {
	font-family: var(--font-base);
	color: var(--c-text);
	background: var(--c-white);
	line-height: 1.5;
}

.snab-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.snab-header a { text-decoration: none; color: inherit; }

/* Верхняя утилитарная панель */
.snab-topbar { background: var(--c-dark); color: #aab0b7; font-size: 13px; }
.snab-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.snab-topbar__group { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.snab-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.snab-topbar__item svg { width: 15px; height: 15px; color: var(--c-accent); }
a.snab-topbar__item:hover { color: #fff; }

/* Основная строка (sticky) */
.snab-header__main { background: #fff; border-bottom: 1px solid var(--c-border); }
.snab-header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }

/* Логотип с фирменным знаком-бейджем */
.snab-logo { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.snab-logo__mark { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, var(--c-accent), var(--c-accent-2)); color: #fff; box-shadow: 0 6px 16px rgba(226,64,15,.32); }
.snab-logo__mark svg { width: 26px; height: 26px; }
.snab-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.snab-logo__name { font-size: 25px; font-weight: 800; letter-spacing: .4px; color: var(--c-graphite); }
.snab-logo__name b { color: var(--c-accent); font-weight: 800; }
.snab-logo__tagline { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--c-muted); }
.snab-logo img {
	width: 200px;
}
/* Поиск */
.snab-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	max-width: 520px;
	box-sizing: border-box;
	height: 46px;
	padding: 0 5px 0 0;
	border: 1px solid #d8dce0;
	border-radius: 10px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.snab-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(242,106,27,.12); }
.snab-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	background: transparent;
	color: var(--c-text);
}
.snab-search__input::placeholder { color: #9aa0a6; }
.snab-search__btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	background: var(--c-accent);
	color: #fff;
	transition: background .15s;
}
.snab-search__btn:hover { background: var(--c-accent-2); }
.snab-search__btn svg { width: 18px; height: 18px; }

.snab-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	box-sizing: border-box;
	max-height: min(70vh, 540px);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 14px 34px rgba(20,24,28,.14);
}
.snab-suggest[hidden] { display: none; }
.snab-header a.snab-suggest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: var(--radius);
	color: var(--c-text);
}
.snab-header a.snab-suggest__item:hover,
.snab-header a.snab-suggest__item.is-active { background: var(--c-surface); }
.snab-suggest__img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); background: #fff; }
.snab-suggest__body { flex: 1; min-width: 0; }
.snab-suggest__name { display: block; font-size: 14px; line-height: 1.3; color: var(--c-graphite); }
.snab-suggest__item--cat .snab-suggest__name { font-weight: 700; }
.snab-suggest__sku { display: block; margin-top: 2px; font-size: 12px; color: var(--c-muted); }
.snab-suggest__price { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--c-graphite); white-space: nowrap; }
.snab-suggest__price.is-request { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.snab-suggest__label { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--c-accent); }
.snab-header a.snab-suggest__all {
	justify-content: center;
	margin-top: 4px;
	border-top: 1px solid var(--c-border);
	border-radius: 0 0 var(--radius) var(--radius);
	font-size: 14px;
	font-weight: 700;
	color: var(--c-accent);
}
.snab-suggest__empty { padding: 14px 10px; font-size: 14px; color: var(--c-muted); }

/* Правый кластер: телефон + корзина + CTA */
.snab-header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.snab-header__phone { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.snab-phone__num { display: inline-flex; align-items: center; gap: 7px; font-size: 19px; font-weight: 800; color: var(--c-graphite); white-space: nowrap; }
.snab-phone__num svg { width: 17px; height: 17px; color: var(--c-accent); }
.snab-phone__link { font-size: 12.5px; color: var(--c-accent); border-bottom: 1px dashed currentColor; }
.snab-phone__link:hover { color: var(--c-accent-2); }
.snab-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-surface); color: var(--c-graphite); transition: background .15s, color .15s; }
.snab-iconbtn:hover { background: var(--c-accent); color: #fff; }
.snab-iconbtn svg { width: 22px; height: 22px; }
.snab-iconbtn__badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-accent); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
a.snab-header__cta { order: 5; height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; }

/* Строка навигации */
.snab-nav { background: #fff; border-bottom: 1px solid var(--c-border); }
.snab-nav__inner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.snab-catalog-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; font-weight: 700; font-size: 15px; color: var(--c-graphite); border-radius: 10px; transition: background .15s, color .15s; }
.snab-catalog-btn svg { width: 20px; height: 20px; color: var(--c-accent); transition: color .15s; }
.snab-catalog-btn:hover { background: var(--c-accent); color: #fff; }
.snab-catalog-btn:hover svg { color: #fff; }
.snab-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.snab-menu li > a { display: inline-block; padding: 14px 14px; font-size: 15px; font-weight: 500; color: var(--c-graphite); border-radius: 8px; transition: background .15s, color .15s; }
.snab-menu li > a:hover, .snab-menu .current-menu-item > a { color: var(--c-accent); background: rgba(242,106,27,.08); }

/* Адаптив шапки */
@media (max-width: 860px) {
	.snab-topbar__group--right { display: none; }
}

/* ==========================================================================
   ПЕРЕИСПОЛЬЗУЕМЫЕ КНОПКИ
   ========================================================================== */
.snab-btn,
a.snab-btn,
button.snab-btn,
input.snab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 52px;
	padding: 0 28px;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .15s, color .15s, border-color .15s;
}
.snab-btn--primary,
a.snab-btn--primary,
button.snab-btn--primary,
input.snab-btn--primary { background: var(--c-accent); color: #fff !important; border-color: transparent; }
.snab-btn--primary:hover,
a.snab-btn--primary:hover,
button.snab-btn--primary:hover { background: var(--c-accent-2); }

.snab-btn--outline,
a.snab-btn--outline,
button.snab-btn--outline,
input.snab-btn--outline { background: #fff; color: var(--c-graphite) !important; border: 2px solid #b0b8bf; }
.snab-btn--outline:hover,
a.snab-btn--outline:hover,
button.snab-btn--outline:hover { background: #fff; border-color: var(--c-accent); color: var(--c-accent) !important; }
.snab-btn--block { width: 100%; }

.snab-accent { color: var(--c-accent); }

/* ==========================================================================
   ГЛАВНАЯ
   ========================================================================== */
.snab-main a { text-decoration: none; }

/* --- Первый экран (hero): крупный визуал ------------------------------ */
.snab-hero {
	position: relative;
	overflow: hidden;
	min-height: 620px;
	display: flex;
	align-items: center;
	background-color: #e9ecef;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	padding: 80px 0 130px;
	color: var(--c-text);
}

/* Осветляющая подложка слева, чтобы текст читался поверх фотографии */
.snab-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 24%, rgba(255,255,255,.42) 42%, rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 66%),
		linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 24%);
	pointer-events: none;
}

.snab-hero__inner { position: relative; z-index: 1; }
.snab-hero__content { max-width: 745px; }

.snab-hero__title {
	font-size: 46px;
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -1px;
	color: var(--c-graphite);
	margin: 0 0 20px;
}
.snab-hero__lead {
	font-size: 19px;
	line-height: 1.55;
	color: #41474d;
	max-width: 560px;
	margin: 0 0 22px;
}

/* Выделенная строка про нормативы */
.snab-hero__highlight {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 32px;
	padding: 11px 18px;
	border-radius: var(--radius);
	background: rgba(242,106,27,.12);
	border: 1px solid rgba(242,106,27,.32);
	color: var(--c-accent-2);
	font-size: 16px;
	font-weight: 700;
}
.snab-hero__highlight svg { width: 21px; height: 21px; flex-shrink: 0; }

.snab-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Карточка кратких преимуществ поверх низа первого экрана */
.snab-hero-features { position: relative; z-index: 3; margin-top: -78px; }
.snab-hero-features__inner {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 60px rgba(20,24,28,.14);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.snab-hf { display: flex; align-items: center; gap: 16px; padding: 20px 20px; }
.snab-hf + .snab-hf { border-left: 1px solid var(--c-border); }
.snab-hf__ico {
	flex-shrink: 0;
	width: 75px;
	height: 75px;
	border-radius: 14px;
	background: #f4f6f8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-hf__ico img { width: 60px; height: 60px; object-fit: contain; display: block; }
.snab-hf__t { font-size: 16px; font-weight: 700; color: var(--c-graphite); line-height: 1.2; }
.snab-hf__s { font-size: 13px; color: var(--c-muted); margin-top: 3px; }

/* Адаптив первого экрана */
@media (max-width: 1200px) {
	.snab-hero { min-height: 560px; }
	.snab-hero__title { font-size: 42px; }
}
@media (max-width: 980px) {
	.snab-hero {
		min-height: 500px;
		padding: 60px 0 120px;
		background-position: center;
	}
	.snab-hero__scrim {
		background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 55%, rgba(255,255,255,.75) 100%);
	}
	.snab-hero__content { max-width: none; }
	.snab-hero__title { font-size: 36px; }
	.snab-hero-features__inner { grid-template-columns: 1fr 1fr; }
	.snab-hf:nth-child(odd) { border-left: 0; }
	.snab-hf:nth-child(n+3) { border-top: 1px solid var(--c-border); }
}
@media (max-width: 560px) {
	.snab-hero { min-height: 420px; padding: 44px 0 100px; }
	.snab-hero__title { font-size: 28px; letter-spacing: -.5px; }
	.snab-hero__lead { font-size: 16px; }
	.snab-hero__highlight { font-size: 14px; padding: 9px 14px; }
	.snab-hero__actions .snab-btn { width: 100%; }
	.snab-hero-features { margin-top: -64px; }
	.snab-hero-features__inner { grid-template-columns: 1fr; }
	.snab-hf { padding: 20px; }
	.snab-hf + .snab-hf { border-left: 0; border-top: 1px solid var(--c-border); }
}

/* ==========================================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================================== */
.snab-section { padding: 64px 0; }
.snab-section--grey { background: var(--c-surface); }
.snab-section__head { margin-bottom: 34px; }
.snab-section__title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.3px;
	color: var(--c-graphite);
	margin: 0 0 8px;
}
.snab-section__sub { font-size: 16px; color: var(--c-muted); margin: 0; }

/* --- Блок «Решения под объект» --------------------------------------- */
.snab-solutions__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.snab-solution-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 320px;
	padding: 24px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	color: #fff !important;
	background: linear-gradient(160deg, #3a4149, #21262c);
	isolation: isolate;
	transition: transform .2s, box-shadow .2s;
}
.snab-solution-card {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.snab-solution-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,24,28,.15) 30%, rgba(20,24,28,.82) 100%);
	z-index: -1;
	transition: background .25s;
}
.snab-solution-card:hover::after {
	background: linear-gradient(180deg, rgba(20,24,28,.25) 25%, rgba(20,24,28,.88) 100%);
}
.snab-solution-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(20,24,28,.28);
}
.snab-solution-card__ico {
	position: absolute;
	top: 22px;
	right: 22px;
	color: rgba(255,255,255,.28);
	transition: color .2s;
}
.snab-solution-card:hover .snab-solution-card__ico { color: var(--c-accent); }
.snab-solution-card__ico svg { width: 54px; height: 54px; }
.snab-solution-card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 12px;
}
.snab-solution-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	transition: color .15s, gap .15s;
}
.snab-solution-card:hover .snab-solution-card__link { color: var(--c-accent); gap: 10px; }

@media (max-width: 992px) {
	.snab-solutions__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.snab-section { padding: 44px 0; }
	.snab-section__title { font-size: 26px; }
	.snab-solutions__grid { grid-template-columns: 1fr; }
	.snab-solution-card { min-height: 240px; }
}

/* --- Блок «Категории продукции» -------------------------------------- */
.snab-cats__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
.snab-cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.snab-cat-card:hover {
	border-color: var(--c-accent);
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(20,24,28,.12);
}
.snab-cat-card__media {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f2f4;
}
.snab-cat-card__label {
	padding: 16px 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-graphite);
	transition: color .2s;
}
.snab-cat-card:hover .snab-cat-card__label { color: var(--c-accent); }

@media (max-width: 1200px) {
	.snab-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
	.snab-cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
	.snab-cats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.snab-cat-card__media svg { width: 48px; height: 48px; }
	.snab-cat-card__label { font-size: 13px; padding: 12px 8px; }
}

/* --- Блок «Почему выбирают нас» -------------------------------------- */
.snab-why {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 26px;
	align-items: start;
}
.snab-why__intro { position: relative; padding-left: 22px; }
.snab-why__intro::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--c-accent), var(--c-accent-2));
}
.snab-why__title { font-size: 34px; font-weight: 800; letter-spacing: -.4px; color: var(--c-graphite); margin: 0 0 16px; line-height: 1.15; }
.snab-why__text { font-size: 16px; line-height: 1.65; color: #4a5157; margin: 0 0 26px; }

.snab-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.snab-why-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 20px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-why-card:hover { border-color: #cfd4d9; box-shadow: 0 18px 40px rgba(20,24,28,.1); transform: translateY(-3px); }
.snab-why-card__num {
	position: absolute;
	top: 18px;
	right: 22px;
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
	color: rgba(28,31,36,.06);
	letter-spacing: -2px;
}
.snab-why-card__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--c-accent), var(--c-accent-2));
	color: #fff;
	box-shadow: 0 8px 18px rgba(226,64,15,.28);
	margin-bottom: 18px;
}
.snab-why-card__ico img { width: 30px; height: 30px; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.snab-why-card__title { font-size: 18px; font-weight: 700; color: var(--c-graphite); margin: 0 0 8px; line-height: 1.25; }
.snab-why-card__text { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

@media (max-width: 1100px) {
	.snab-why { grid-template-columns: 1fr; gap: 34px; }
	.snab-why__title { font-size: 30px; }
}
@media (max-width: 620px) {
	.snab-why__grid { grid-template-columns: 1fr; gap: 16px; }
	.snab-why-card { padding: 24px 22px; }
}

/* --- Блок «Категории продукции» -------------------------------------- */
.snab-cats__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
.snab-cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.snab-cat-card:hover {
	border-color: var(--c-accent);
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(20,24,28,.12);
}
.snab-cat-card__media {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f2f4;
}
.snab-cat-card__label {
	padding: 16px 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-graphite);
	transition: color .2s;
}
.snab-cat-card:hover .snab-cat-card__label { color: var(--c-accent); }

@media (max-width: 1200px) {
	.snab-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
	.snab-cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
	.snab-cats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.snab-cat-card__media svg { width: 48px; height: 48px; }
	.snab-cat-card__label { font-size: 13px; padding: 12px 8px; }
}

/* --- Блок «Почему выбирают нас» -------------------------------------- */
.snab-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.snab-why-item { display: flex; gap: 16px; align-items: flex-start; }
.snab-why-item__ico {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-why-item__ico svg { width: 28px; height: 28px; }
.snab-why-item__title { font-size: 16px; font-weight: 700; color: var(--c-graphite); margin: 0 0 4px; }
.snab-why-item__text { font-size: 14px; line-height: 1.45; color: var(--c-muted); margin: 0; }

@media (max-width: 900px) {
	.snab-why__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 520px) {
	.snab-why__grid { grid-template-columns: 1fr; }
}

/* --- Блок «Популярные товары»: табы --------------------------------- */
.snab-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.snab-tab {
	padding: 9px 18px;
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-graphite);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.snab-tab:hover { border-color: var(--c-accent); color: var(--c-accent); }
.snab-tab.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* --- Карточка товара ------------------------------------------------- */
.snab-products__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.snab-product.is-hidden { display: none; }

.snab-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}
.snab-product:hover { border-color: #cfd4d9; box-shadow: 0 12px 26px rgba(20,24,28,.1); }

.snab-product__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: #fff;
}
.snab-product__badge--new { background: #1f9d55; }
.snab-product__badge--hit { background: var(--c-accent); }
.snab-product__badge--sale { background: var(--c-accent-2); }

.snab-product__top { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.snab-product__icon-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color .15s, border-color .15s;
}
.snab-product__icon-btn:hover { color: var(--c-accent); border-color: var(--c-accent); }
.snab-product__icon-btn svg { width: 16px; height: 16px; }

.snab-product__media {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	aspect-ratio: 1 / 1;
}

.snab-product__body { display: flex; flex-direction: column; padding: 16px; flex: 1; }
.snab-product__price { font-size: 20px; font-weight: 800; color: var(--c-graphite); }
.snab-product__from { margin-right: 2px; font-size: 13px; font-weight: 500; color: var(--c-muted); }
.snab-product__unit { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.snab-product__title {
	margin: 8px 0 6px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
	color: var(--c-text) !important;
	min-height: 38px;
}
.snab-product__title:hover { color: var(--c-accent) !important; }
.snab-product__meta { font-size: 12px; color: var(--c-muted); margin-bottom: 14px; }
.snab-product__cart,
a.snab-product__cart,
button.snab-product__cart { margin-top: auto; height: 44px; font-size: 14px; padding: 0 16px; }

@media (max-width: 1200px) { .snab-products__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .snab-products__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .snab-products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 400px)  { .snab-products__grid { grid-template-columns: 1fr; } }

/* --- Блок формы КП (акцентная полоса) -------------------------------- */
.snab-cta {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 36px;
	align-items: center;
	padding: 38px 44px;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, #2c3138, #1b1e23);
}
.snab-cta::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 34%;
	background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
	opacity: .16;
}
.snab-cta__body { position: relative; z-index: 1; }
.snab-cta__title { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #fff; }
.snab-cta__text { margin: 0; font-size: 16px; line-height: 1.5; color: #c4c9cf; max-width: 520px; }
.snab-cta__action { position: relative; z-index: 1; }
.snab-cta__btn { height: 54px; padding: 0 34px; font-size: 16px; }

@media (max-width: 900px) {
	.snab-cta { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
	.snab-cta::before { display: none; }
	.snab-cta__action { width: 100%; }
	.snab-cta__btn { width: 100%; }
}

/* --- Блок статей (карусель) ------------------------------------------ */
.snab-carousel__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
}
.snab-carousel__head .snab-section__title { margin: 0; }
.snab-carousel__nav { display: flex; gap: 10px; }
.snab-carousel__btn {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--c-border);
	background: #fff;
	color: var(--c-graphite);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.snab-carousel__btn:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.snab-carousel__btn.is-disabled { opacity: .35; pointer-events: none; }
.snab-carousel__btn svg { width: 20px; height: 20px; }

.snab-carousel__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
}
.snab-carousel__track::-webkit-scrollbar { height: 6px; }
.snab-carousel__track::-webkit-scrollbar-thumb { background: #cfd4d9; border-radius: 3px; }

.snab-article-card {
	flex: 0 0 340px;
	max-width: 85%;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	color: inherit !important;
	transition: border-color .2s, box-shadow .2s;
}
.snab-article-card:hover { border-color: #cfd4d9; box-shadow: 0 12px 26px rgba(20,24,28,.1); }
.snab-article-card__media {
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef0f2;
	overflow: hidden;
}
.snab-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.snab-article-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.snab-article-card__date { font-size: 12px; color: var(--c-muted); margin-bottom: 8px; }
.snab-article-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--c-graphite); margin: 0 0 14px; }
.snab-article-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--c-accent); transition: gap .15s; }
.snab-article-card:hover .snab-article-card__link { gap: 10px; }

@media (max-width: 560px) {
	.snab-article-card { flex-basis: 280px; }
}

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.snab-map { line-height: 0; }
.snab-map iframe { display: block; width: 100%; border: 0; }

.snab-footer { background: var(--c-dark); color: #c4c9cf; }
.snab-footer a { color: #c4c9cf; text-decoration: none; transition: color .15s; }
.snab-footer a:hover { color: var(--c-accent); }

.snab-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 40px;
}
.snab-footer__logo img {
	width: 290px;
}
.snab-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.snab-footer__logo .snab-logo__mark { width: 42px; height: 42px; }
.snab-footer__logo .snab-logo__mark svg { width: 24px; height: 24px; }
.snab-footer__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.snab-footer__logo-name { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.snab-footer__logo-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #8b9198; }
.snab-footer__about { font-size: 14px; line-height: 1.6; color: #9aa0a6; margin: 0; max-width: 320px; }

.snab-footer__title { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.snab-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }

.snab-footer__phone { display: inline-block; font-size: 22px; font-weight: 800; color: #fff !important; margin-bottom: 6px; }
.snab-footer__phone:hover { color: var(--c-accent) !important; }
.snab-footer__callback { display: inline-block; font-size: 13px; margin-bottom: 18px; color: var(--c-accent) !important; border-bottom: 1px dashed currentColor; }
.snab-footer__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.snab-footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.snab-footer__contacts svg { width: 18px; height: 18px; color: var(--c-accent); flex-shrink: 0; margin-top: 1px; }

.snab-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.snab-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #8b9198; }

@media (max-width: 900px) {
	.snab-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
	.snab-footer__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
	.snab-map iframe { height: 280px; }
}

/* Плавающая кнопка контактов */
.snab-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 50;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(242,106,27,.45);
	transition: background .15s, transform .15s;
}
.snab-float:hover { background: var(--c-accent-2); transform: translateY(-2px); }
.snab-float svg { width: 26px; height: 26px; }

@media (max-width: 520px) {
	.snab-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ==========================================================================
   СБРОС СТИЛЕЙ UNDERSCORES ДЛЯ НАШИХ ЭЛЕМЕНТОВ
   style.css темы задаёт кнопкам и полям свои рамки, отступы, фон и тени.
   Здесь адресно их отключаем, чтобы вёрстка выглядела как задумано.
   ========================================================================== */
.snab-btn,
.snab-tab,
.snab-search__btn,
.snab-iconbtn,
.snab-product__icon-btn,
.snab-product__cart,
.snab-carousel__btn {
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	text-shadow: none;
	background-image: none;
}

/* Поле поиска: убираем собственную рамку и отступы Underscores */
.snab-search input.snab-search__input {
	box-sizing: border-box;
	height: 100%;
	border: 0;
	border-radius: 0;
	padding: 0 14px;
	background: transparent;
	color: var(--c-text);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-search input.snab-search__input:focus { outline: 0; }

/* Кнопка поиска: полностью свой вид */
.snab-search button.snab-search__btn {
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--c-accent);
	color: #fff;
}
.snab-search button.snab-search__btn:hover { background: var(--c-accent-2); }

/* Поля формы в герое и в блоке КП */
.snab-field input,
.snab-field textarea {
	box-sizing: border-box;
	border: 1px solid #3a4046;
	border-radius: var(--radius);
	padding: 13px 14px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
}

/* Кнопки-иконки и табы: без чужих рамок */
.snab-tab { border: 1px solid var(--c-border); }
.snab-iconbtn,
.snab-product__icon-btn,
.snab-carousel__btn { border-style: solid; }

/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ И АДАПТИВ
   ========================================================================== */

/* Кнопка-бургер (на десктопе скрыта) */
.snab-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--c-surface);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: background .15s;
}
.snab-burger span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	border-radius: 2px;
	background: var(--c-graphite);
	transition: transform .25s, opacity .2s, background .15s;
}
.snab-burger:hover { background: var(--c-accent); }
.snab-burger:hover span { background: #fff; }
.snab-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.snab-burger.is-active span:nth-child(2) { opacity: 0; }
.snab-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Затемнение */
.snab-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: rgba(16,18,21,.55);
	opacity: 0;
	transition: opacity .25s;
}
.snab-overlay.is-open { opacity: 1; }

/* Выдвижная панель */
.snab-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 70;
	width: 320px;
	max-width: 88vw;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -14px 0 40px rgba(16,18,21,.22);
	transform: translateX(100%);
	transition: transform .28s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.snab-drawer.is-open { transform: translateX(0); }

.snab-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--c-border);
}
.snab-drawer__logo { display: inline-flex; align-items: center; gap: 10px; }
.snab-drawer__logo .snab-logo__mark { width: 38px; height: 38px; border-radius: 11px; }
.snab-drawer__logo .snab-logo__mark svg { width: 22px; height: 22px; }
.snab-drawer__logo .snab-logo__name { font-size: 20px; font-weight: 800; color: var(--c-graphite); }
.snab-drawer__logo .snab-logo__name b { color: var(--c-accent); }
.snab-drawer__close {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	color: var(--c-graphite);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: background .15s, color .15s, border-color .15s;
}
.snab-drawer__close:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.snab-drawer__close svg { width: 20px; height: 20px; }

.snab-drawer__body { display: flex; flex-direction: column; padding: 18px; gap: 18px; }

.snab-drawer__catalog {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--c-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}
.snab-drawer__catalog svg { width: 20px; height: 20px; }

.snab-drawer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.snab-drawer__menu li { border-bottom: 1px solid var(--c-border); }
.snab-drawer__menu li:last-child { border-bottom: 0; }
.snab-drawer__menu a {
	display: block;
	padding: 13px 2px;
	font-size: 16px;
	font-weight: 500;
	color: var(--c-graphite);
	text-decoration: none;
	transition: color .15s;
}
.snab-drawer__menu a:hover,
.snab-drawer__menu .current-menu-item > a { color: var(--c-accent); }

.snab-drawer__contacts { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; border-top: 1px solid var(--c-border); }
.snab-drawer__phone { font-size: 21px; font-weight: 800; color: var(--c-graphite); text-decoration: none; margin-top: 12px; }
.snab-drawer__callback { font-size: 13px; color: var(--c-accent); text-decoration: none; border-bottom: 1px dashed currentColor; align-self: flex-start; }
.snab-drawer__contact { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--c-muted); text-decoration: none; }
.snab-drawer__contact svg { width: 17px; height: 17px; color: var(--c-accent); flex-shrink: 0; }
.snab-drawer__cta { width: 100%; }

/* Блокировка прокрутки страницы при открытом меню */
body.snab-menu-open { overflow: hidden; }

/* --- Точки перестройки шапки ----------------------------------------- */
@media (max-width: 1024px) {
	/* строку навигации убираем — меню переезжает в панель */
	.snab-nav { display: none; }
	.snab-header__inner { flex-wrap: wrap; gap: 14px 20px; min-height: auto; padding-top: 14px; padding-bottom: 14px; }
	a.snab-header__cta { order: 0; margin-left: auto; }
	.snab-header__actions { order: 1; flex-basis: 100%; gap: 14px; }
	.snab-header__phone { order: 1; margin-right: auto; }
	.snab-iconbtn { order: 5; }
	.snab-burger { display: flex; order: 10; }
	.snab-search { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 720px) {
	.snab-topbar { font-size: 12px; }
	.snab-topbar__group { gap: 16px; }
}

@media (max-width: 520px) {
	.snab-topbar__inner { min-height: 36px; }
	.snab-topbar__group .snab-topbar__item + .snab-topbar__item { display: none; }
	.snab-header__inner { gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
	.snab-logo img { width: 170px; }
	a.snab-header__cta { height: 42px; padding: 0 16px; font-size: 14px; }
	.snab-phone__num { font-size: 17px; }
	.snab-search { height: 44px; }
	.snab-burger, .snab-iconbtn { width: 42px; height: 42px; }
}

@media (max-width: 380px) {
	.snab-logo img { width: 150px; }
}

/* Мелкие правки адаптива контента */
@media (max-width: 720px) {
	.snab-section { padding: 40px 0; }
	.snab-section__title { font-size: 24px; }
	.snab-tabs { gap: 8px; margin-bottom: 20px; }
	.snab-tab { padding: 8px 14px; font-size: 13px; }
	.snab-map iframe { height: 260px; }
}

/* --- Правки после проверки мобильной версии --------------------------- */

/* Боковые отступы контейнера на узких экранах */
@media (max-width: 720px) {
	.snab-container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
	.snab-container { padding-left: 16px; padding-right: 16px; }
}

/* --- Липкая шапка ------------------------------------------------------
   Шапка закреплена со смещением вверх на высоту верхней панели: панель
   плавно уходит за край экрана при прокрутке, а строка с логотипом и меню
   фиксируется. Ничего не скрывается на лету, поэтому нет скачков вёрстки.
   ---------------------------------------------------------------------- */
:root { --topbar-h: 40px; }

.snab-header {
	position: sticky;
	top: calc(-1 * var(--topbar-h));
	z-index: 40;
	background: #fff;
	transition: box-shadow .2s;
}
.snab-header.is-scrolled { box-shadow: 0 6px 20px rgba(20,24,28,.1); }

@media (max-width: 520px) {
	:root { --topbar-h: 36px; }
}

/* --- Вывод категорий и товаров из WooCommerce -------------------------- */

/* изображение категории вместо иконки */
.snab-cat-card__media { position: relative; }
.snab-cat-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snab-cat-card__label { padding-bottom: 4px; }
.snab-cat-card__count { display: block; padding: 0 14px 16px; text-align: center; font-size: 12px; color: var(--c-muted); }

/* изображение товара вместо заглушки */
.snab-product__img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* цена: формат WooCommerce и «Цена по запросу» */
.snab-product__price .woocommerce-Price-amount { font-size: 20px; font-weight: 800; color: var(--c-graphite); }
.snab-product__price bdi { white-space: nowrap; }
.snab-product__price--request { font-size: 16px; font-weight: 700; color: var(--c-muted); }

/* кнопка «В корзину»: состояние добавления */
.snab-product__cart.loading { opacity: .7; pointer-events: none; }
.snab-product__cart.added::after { content: " ✓"; }
.snab-products__grid .added_to_cart { display: none; }

/* сообщение о пустой выборке и кнопка перехода в каталог */
.snab-products__empty { margin: 26px 0 0; font-size: 15px; color: var(--c-muted); }
.snab-products__more { margin-top: 32px; display: flex; justify-content: center; }

/* --- Карусель товаров -------------------------------------------------- */
.snab-products__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
.snab-products__track::-webkit-scrollbar { height: 6px; }
.snab-products__track::-webkit-scrollbar-thumb { background: #cfd4d9; border-radius: 3px; }
.snab-products__track .snab-product {
	flex: 0 0 260px;
	max-width: 80%;
	scroll-snap-align: start;
}
.snab-products__track .snab-product.is-hidden { display: none; }

@media (max-width: 560px) {
	.snab-products__track .snab-product { flex-basis: 220px; }
	.snab-carousel__head { flex-wrap: wrap; }
}

/* ==========================================================================
   ФОРМЫ (Contact Form 7) И ПОПАП
   ========================================================================== */

/* Убираем стандартные отступы обёрток CF7 */
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); border-width: 1px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1f9d55; color: #1f9d55; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--c-accent-2); color: var(--c-accent-2); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12.5px; color: var(--c-accent-2); }
.wpcf7-spinner { margin: 0 0 0 10px; }
.snab-field .wpcf7-form-control-wrap { display: block; }

/* Согласие на обработку данных */
.snab-consent { margin-top: 4px; }
.snab-consent .wpcf7-list-item { margin: 0; }
.snab-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.snab-consent input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--c-accent);
	cursor: pointer;
}
.snab-consent .wpcf7-list-item-label { font-size: 12.5px; line-height: 1.45; color: var(--c-muted); }
.snab-consent a { color: var(--c-accent); text-decoration: underline; }
.snab-consent a:hover { color: var(--c-accent-2); }
.snab-form__submit { margin-top: 16px; }
.snab-form__submit .snab-btn { width: 100%; }

/* --- Попап ------------------------------------------------------------- */
.snab-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
/* атрибут hidden должен реально скрывать окно, иначе невидимый слой перехватывает клики */
.snab-modal[hidden] { display: none; }
.snab-overlay[hidden] { display: none; }
.snab-modal__overlay { position: absolute; inset: 0; background: rgba(16,18,21,.6); opacity: 0; transition: opacity .25s; }
.snab-modal.is-open .snab-modal__overlay { opacity: 1; }
.snab-modal__card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 540px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 32px 30px 28px;
	box-shadow: 0 30px 70px rgba(16,18,21,.35);
	transform: translateY(16px) scale(.98);
	opacity: 0;
	transition: transform .25s, opacity .25s;
}
.snab-modal.is-open .snab-modal__card { transform: translateY(0) scale(1); opacity: 1; }
.snab-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	color: var(--c-graphite);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: background .15s, color .15s, border-color .15s;
}
.snab-modal__close:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.snab-modal__close svg { width: 18px; height: 18px; }
.snab-modal__title { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: var(--c-graphite); padding-right: 40px; }
.snab-modal__sub { margin: 0 0 22px; font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }
.snab-modal__warn { font-size: 14px; color: var(--c-accent-2); margin: 0; }

/* Поля внутри попапа — светлые */
.snab-modal .snab-field input,
.snab-modal .snab-field textarea {
	background: #fff;
	border: 1px solid #d8dce0;
	color: var(--c-text);
}
.snab-modal .snab-field input::placeholder,
.snab-modal .snab-field textarea::placeholder { color: #9aa0a6; }
.snab-modal .snab-field input:focus,
.snab-modal .snab-field textarea:focus { border-color: var(--c-accent); }

@media (max-width: 620px) {
	.snab-cta__btn { width: 100%; }
	.snab-modal__card { padding: 26px 20px 22px; }
	.snab-modal__title { font-size: 21px; }
	.snab-search {
		display: none;
	}
}

/* --- Контурная кнопка поверх фотографии в первом экране ---------------- */
.snab-hero .snab-btn--outline {
	background: rgba(255,255,255,.82);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	border-color: #b9c0c6;
	color: var(--c-graphite) !important;
}
.snab-hero .snab-btn--outline:hover {
	background: #fff;
	border-color: var(--c-accent);
	color: var(--c-accent) !important;
}

/* --- Кнопка отправки, пока не отмечено согласие ------------------------ */
.wpcf7 .snab-btn[disabled],
.wpcf7 .snab-btn:disabled {
	background: var(--c-accent);
	color: #fff !important;
	opacity: .45;
	cursor: not-allowed;
}
.wpcf7 .snab-btn[disabled]:hover,
.wpcf7 .snab-btn:disabled:hover { background: var(--c-accent); }

/* ==========================================================================
   КАТЕГОРИИ ПРОДУКЦИИ — карточки разделов со списком подкатегорий
   ========================================================================== */
.snab-catgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.snab-catcard {
	display: flex;
	flex-direction: column;
	padding: 22px 20px 20px;
	border-radius: var(--radius-lg);
	background: #eef0f3;
	transition: box-shadow .2s, transform .2s;
}
.snab-catcard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,24,28,.12); }

/* мягкие оттенки подложек — чередуются по порядку */
.snab-catcard--t1 { background: #eef3fb; }
.snab-catcard--t2 { background: #fdf2e8; }
.snab-catcard--t3 { background: #eef1f4; }
.snab-catcard--t4 { background: #faf0f1; }
.snab-catcard--t5 { background: #ebf4f1; }
.snab-catcard--t0 { background: #f2eef9; }

.snab-catcard__title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}
.snab-catcard__title a {
	color: var(--c-graphite);
	text-decoration: none;
	transition: color .15s;
}
.snab-catcard__title a:hover { color: var(--c-accent); }

.snab-catcard__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.snab-catcard__list a {
	font-size: 13.5px;
	line-height: 1.35;
	color: #4f565d;
	text-decoration: none;
	transition: color .15s;
}
.snab-catcard__list a:hover { color: var(--c-accent); }
.snab-catcard__more { font-weight: 600; color: var(--c-accent) !important; }

.snab-catcard__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--c-accent);
	text-decoration: none;
	transition: gap .15s;
}
.snab-catcard__link:hover { gap: 11px; }

@media (max-width: 1400px) {
	.snab-catgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
	.snab-catgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
	.snab-catgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.snab-catgrid { grid-template-columns: 1fr; gap: 14px; }
	.snab-catcard { padding: 20px; }
	.snab-catcard__title { font-size: 17px; margin-bottom: 12px; }
}

/* ==========================================================================
   МАГАЗИН: общие элементы
   ========================================================================== */
.snab-shop { padding: 28px 0 70px; }

/* Хлебные крошки */
.snab-crumbs { font-size: 13.5px; color: var(--c-muted); margin-bottom: 22px; }
.snab-crumbs a { color: var(--c-muted); text-decoration: none; transition: color .15s; }
.snab-crumbs a:hover { color: var(--c-accent); }
.snab-crumbs__sep { margin: 0 8px; color: #c4cad0; }

/* ==========================================================================
   СТРАНИЦА ТОВАРА
   ========================================================================== */
.snab-pp__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 40px;
	align-items: start;
	max-width: 1240px;
	margin: 0 0 44px;
}

/* --- Галерея --- */
.snab-pp__gallery { position: relative; }
.snab-pp__gallery .woocommerce-product-gallery {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 16px;
	background: #fff;
	position: relative;
}
.snab-pp__gallery .woocommerce-product-gallery__image img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}
.snab-pp__gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.snab-pp__gallery .woocommerce-product-gallery__image { border-radius: var(--radius); overflow: hidden; }
.snab-pp__gallery .woocommerce-product-gallery__image img { border-radius: var(--radius); }
.snab-pp__gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}
.snab-pp__gallery .flex-control-thumbs li { width: 78px; margin: 0; }
.snab-pp__gallery .flex-control-thumbs img {
	width: 100%;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 4px;
	background: #fff;
	cursor: pointer;
	opacity: .7;
	transition: opacity .15s, border-color .15s;
}
.snab-pp__gallery .flex-control-thumbs img:hover,
.snab-pp__gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--c-accent); }

/* --- Правая колонка --- */
.snab-pp__summary { padding-top: 4px; }
.snab-pp__title {
	font-size: 30px;
	line-height: 1.22;
	font-weight: 800;
	letter-spacing: -.4px;
	color: var(--c-graphite);
	margin: 0 0 12px;
}
.snab-pp__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	font-size: 13.5px;
	color: var(--c-muted);
	margin-bottom: 22px;
}
.snab-pp__meta b { color: var(--c-graphite); font-weight: 600; }
.snab-pp__meta a { color: var(--c-accent); text-decoration: none; }
.snab-pp__meta a:hover { text-decoration: underline; }

/* Блок покупки — карточка */
.snab-pp__buybox {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 22px 24px;
	box-shadow: 0 10px 30px rgba(20,24,28,.06);
}
.snab-pp__pricebox { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.snab-pp__price { font-size: 34px; font-weight: 800; color: var(--c-graphite); line-height: 1.05; }
.snab-pp__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.snab-pp__unit { font-size: 15px; font-weight: 500; color: var(--c-muted); }
.snab-pp__price--request { font-size: 24px; color: var(--c-muted); }

.snab-pp__actions { display: flex; flex-direction: column; gap: 12px; }
.snab-pp__cart form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.snab-pp__cart .quantity { display: inline-flex; }
.snab-pp__cart .quantity input.qty {
	box-sizing: border-box;
	width: 96px;
	height: 52px;
	padding: 0 10px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	color: var(--c-text);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-pp__cart .quantity input.qty:focus { border-color: var(--c-accent); outline: none; }
.snab-pp__cart button.single_add_to_cart_button { flex: 0 0 auto; min-width: 210px; }

.snab-pp__secondary { display: flex; gap: 10px; flex-wrap: wrap; }
.snab-pp__secondary .snab-btn { flex: 0 0 auto; height: 48px; font-size: 15px; padding: 0 22px; }

.snab-pp__from { margin-right: 4px; font-size: 18px; font-weight: 600; color: var(--c-muted); }
a.snab-pp__choose { height: 52px; min-width: 210px; padding: 0 28px; font-size: 16px; }

.snab-variants {
	display: grid;
	grid-template-columns: repeat(var(--snab-vcols, 1), minmax(0, 1fr)) auto auto;
	column-gap: 20px;
}
.snab-variants__head,
.snab-variants__row {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(var(--snab-vcols, 1), minmax(0, 1fr)) auto auto;
	grid-template-columns: subgrid;
	align-items: center;
}
.snab-variants__head { padding: 16px 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--c-muted); }
.snab-variants__product { grid-column: 1 / -1; padding: 20px 0 6px; border-top: 1px solid var(--c-border); font-size: 15.5px; font-weight: 700; color: var(--c-graphite); }
.snab-variants__product a,
.snab-variants__product a:visited { color: var(--c-graphite); text-decoration: none; }
.snab-variants__product a:hover { color: var(--c-accent); }
.snab-variants__row { padding: 10px 0; border-top: 1px solid var(--c-border); }
.snab-variants__product + .snab-variants__row { border-top: 0; }
.snab-variants__cell { font-size: 14.5px; line-height: 1.35; color: var(--c-text); }
.snab-variants__name a,
.snab-variants__name a:visited { color: var(--c-text); text-decoration: none; }
.snab-variants__name a:hover { color: var(--c-accent); }
.snab-variants__row.is-current .snab-variants__name { font-weight: 700; color: var(--c-graphite); }
.snab-variants__price { font-size: 17px; font-weight: 800; color: var(--c-graphite); white-space: nowrap; }
.snab-variants__price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.snab-variants__price .snab-product__price--request { font-size: 14px; }
.snab-variants .added_to_cart { display: none; }
.snab-variants__row .snab-variants__buy,
.snab-variants__row > .snab-product__cart { margin-top: 0; }

.snab-pp__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: #4f565d;
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--c-border);
}
.snab-pp__excerpt p { margin: 0 0 8px; }
.snab-pp__excerpt p:last-child { margin-bottom: 0; }

/* Строки доверия */
.snab-pp__trust {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.snab-pp__trust li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 14px;
	color: #4f565d;
	background: var(--c-surface);
	border-radius: var(--radius);
	padding: 12px 14px;
}
.snab-pp__trust svg { width: 20px; height: 20px; color: var(--c-accent); flex-shrink: 0; }

/* --- Вкладки --- */
.snab-ptabs {
	scroll-margin-top: 140px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 6px 30px 30px;
	max-width: 1240px;
	margin: 0 0 52px;
}
.snab-ptabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid var(--c-border);
	margin-bottom: 26px;
}
.snab-ptabs__btn {
	padding: 18px 20px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--c-muted);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: color .15s, border-color .15s;
}
.snab-ptabs__btn:hover { color: var(--c-graphite); }
.snab-ptabs__btn.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.snab-ptabs__panel { display: none; }
.snab-ptabs__panel.is-active { display: block; }

/* Таблица характеристик */
.snab-specs { width: 100%; border-collapse: collapse; max-width: 860px; }
.snab-specs tr + tr { border-top: 1px solid var(--c-border); }
.snab-specs th,
.snab-specs td { padding: 14px 0; font-size: 15px; text-align: left; vertical-align: top; }
.snab-specs th { width: 40%; font-weight: 500; color: var(--c-muted); padding-right: 20px; }
.snab-specs td { color: var(--c-graphite); font-weight: 600; }

/* Текст описания */
.snab-prose { max-width: 860px; font-size: 16px; line-height: 1.75; color: #40474e; }
.snab-prose p { margin: 0 0 14px; }
.snab-prose ul, .snab-prose ol { margin: 0 0 14px; padding-left: 20px; }
.snab-prose li { margin-bottom: 6px; }
.snab-prose h2, .snab-prose h3 { color: var(--c-graphite); margin: 24px 0 10px; }

/* Документы */
.snab-docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 860px; }
.snab-docs__item a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.snab-docs__item a:hover { border-color: var(--c-accent); box-shadow: 0 10px 24px rgba(20,24,28,.08); }
.snab-docs__ico {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-docs__ico svg { width: 22px; height: 22px; }
.snab-docs__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.snab-docs__title { font-size: 15px; font-weight: 600; color: var(--c-graphite); }
.snab-docs__meta { font-size: 12.5px; color: var(--c-muted); margin-top: 2px; }
.snab-docs__dl { flex-shrink: 0; color: var(--c-muted); }
.snab-docs__dl svg { width: 20px; height: 20px; }
.snab-docs__item a:hover .snab-docs__dl { color: var(--c-accent); }

/* Нижние блоки */
.snab-pp__block { margin-bottom: 46px; }
.snab-pp__block .snab-carousel__head { margin-bottom: 22px; }

/* Полоса-призыв под карточкой */
.snab-pp__help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 28px 32px;
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, #2c3138, #1b1e23);
	margin-bottom: 46px;
}
.snab-pp__help-text { color: #c4c9cf; font-size: 15px; line-height: 1.5; max-width: 620px; }
.snab-pp__help-text b { display: block; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 6px; }

/* --- Адаптив --- */
@media (max-width: 1100px) {
	.snab-pp__top { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 900px) {
	.snab-pp__top { grid-template-columns: 1fr; gap: 28px; }
	.snab-pp__title { font-size: 25px; }
	.snab-pp__price { font-size: 28px; }
	.snab-docs { grid-template-columns: 1fr; }
	.snab-ptabs { padding: 4px 20px 24px; }
}
@media (max-width: 560px) {
	.snab-shop { padding: 18px 0 50px; }
	.snab-pp__buybox { padding: 20px 18px; }
	.snab-pp__cart form.cart { width: 100%; }
	.snab-pp__cart .quantity input.qty { width: 76px; }
	.snab-pp__cart button.single_add_to_cart_button { min-width: 0; }
	.snab-pp__secondary .snab-btn { flex: 1 1 100%; }
	.snab-pp__cart button.single_add_to_cart_button { flex: 1 1 auto; min-width: 0; }
	a.snab-pp__choose { width: 100%; min-width: 0; }
	.snab-variants { display: block; }
	.snab-variants__head { display: none; }
	.snab-variants__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0; }
	.snab-variants__cell { grid-column: 1 / -1; }
	.snab-variants__cell::before { content: attr(data-label) ": "; color: var(--c-muted); }
	.snab-variants__name::before { content: none; }
	.snab-variants__buy .snab-product__qty { width: 56px; }
	.snab-ptabs__btn { padding: 14px 12px; font-size: 14.5px; }
	.snab-specs th, .snab-specs td { font-size: 14px; }
	.snab-pp__help { padding: 22px 20px; }
}
@media (max-width: 380px) {
	.snab-variants__row { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   ПЕРЕКРЫТИЕ СТИЛЕЙ WOOCOMMERCE
   Плагин подключает свои стили после наших, поэтому здесь усиленные селекторы.
   ========================================================================== */

/* Кнопки плагина — в фирменном стиле */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.alt.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--c-accent);
	background-image: none;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-shadow: none;
	box-shadow: none;
	text-decoration: none;
	transition: background-color .15s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.button.alt.single_add_to_cart_button:hover {
	background-color: var(--c-accent-2);
	background-image: none;
	color: #fff;
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.alt.disabled { background-color: var(--c-accent); opacity: .45; }

/* Цена и распродажа */
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--c-graphite); }
.woocommerce span.onsale {
	background: var(--c-accent-2);
	color: #fff;
	border-radius: 4px;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 6px 12px;
	font-weight: 700;
	font-size: 12px;
}

/* Уведомления */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0;
	border-left: 3px solid var(--c-accent);
	border-radius: var(--radius);
	background: #f7f8f9;
	color: var(--c-graphite);
	font-size: 15px;
	padding: 16px 20px 16px 44px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { color: var(--c-accent); top: 17px; left: 18px; }
.woocommerce-error { border-left-color: var(--c-accent-2); }
.woocommerce-error::before { color: var(--c-accent-2); }

/* Галерея: изображение на всю ширину колонки */
.woocommerce div.product div.images { width: 100%; float: none; margin: 0; }
.woocommerce div.product div.images img { width: 100%; height: auto; display: block; }
.woocommerce div.product div.summary { width: 100%; float: none; margin: 0; }
.woocommerce div.product .woocommerce-tabs { display: none; }

/* Кнопка увеличения фото */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3138' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3Cpath d='M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") no-repeat center / 20px;
	font-size: 0;
	text-indent: -9999px;
	overflow: hidden;
	transition: background-color .15s, border-color .15s;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after { content: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover {
	background-color: var(--c-surface);
	border-color: var(--c-accent);
}

/* ==========================================================================
   СТРАНИЦА КАТЕГОРИИ / КАТАЛОГА
   ========================================================================== */
.snab-cat__head { margin-bottom: 22px; }
.snab-cat__title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.4px;
	color: var(--c-graphite);
	margin: 0 0 10px;
	line-height: 1.2;
}
.snab-cat__desc { font-size: 15.5px; line-height: 1.65; color: #4f565d; max-width: 900px; }
.snab-cat__desc p { margin: 0 0 10px; }

/* Плитки подразделов */
.snab-cat__subs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.snab-cat__sub {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: #fff;
	color: var(--c-graphite);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.snab-cat__sub:hover { border-color: var(--c-accent); color: var(--c-accent); }
.snab-cat__sub span { font-size: 12px; color: var(--c-muted); }

/* Раскладка: фильтры + товары */
.snab-cat__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }

/* --- Фильтры --- */
.snab-filters {
	order: 1;
	position: sticky;
	top: 120px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 22px;
}
.snab-filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.snab-filters__title { font-size: 18px; font-weight: 800; color: var(--c-graphite); margin: 0; }
.snab-filters__reset { font-size: 13px; color: var(--c-accent); text-decoration: none; border-bottom: 1px dashed currentColor; }
.snab-filters__reset:hover { color: var(--c-accent-2); }

.snab-filters__group { padding: 18px 0; border-top: 1px solid var(--c-border); }
.snab-filters__group:first-of-type { border-top: 0; padding-top: 0; }
.snab-filters__label { font-size: 14px; font-weight: 700; color: var(--c-graphite); margin: 0 0 12px; }

.snab-filters__price { display: flex; align-items: center; gap: 6px; }
.snab-filters__price input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 10px;
	font-size: 14px;
	font-family: inherit;
	color: var(--c-text);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-filters__price input:focus { border-color: var(--c-accent); outline: none; }
.snab-filters__dash { color: var(--c-muted); }
.snab-filters__go {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--c-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background .15s;
}
.snab-filters__go:hover { background: var(--c-accent-2); }
.snab-filters__go svg { width: 18px; height: 18px; }

.snab-filters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.snab-filters__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	color: #4f565d;
	text-decoration: none;
	transition: color .15s;
}
.snab-filters__item:hover { color: var(--c-graphite); }
.snab-filters__box {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border: 1px solid #cfd4d9;
	border-radius: 5px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	transition: background .15s, border-color .15s, color .15s;
}
.snab-filters__box svg { width: 13px; height: 13px; }
.snab-filters__item.is-active { color: var(--c-graphite); font-weight: 600; }
.snab-filters__item.is-active .snab-filters__box { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.snab-filters__help {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--c-border);
}
.snab-filters__help b { display: block; font-size: 15px; color: var(--c-graphite); margin-bottom: 6px; }
.snab-filters__help p { font-size: 13.5px; line-height: 1.5; color: var(--c-muted); margin: 0 0 14px; }

/* --- Панель сортировки --- */
.snab-cat__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.snab-cat__count { font-size: 14px; color: var(--c-muted); margin: 0; }
.woocommerce .snab-cat__count .woocommerce-result-count { margin: 0; float: none; }
.snab-cat__sort form.woocommerce-ordering { margin: 0; }
.snab-cat__sort select {
	box-sizing: border-box;
	height: 44px;
	padding: 0 34px 0 14px;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--c-graphite);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.snab-cat__sort select:focus { border-color: var(--c-accent); outline: none; }

/* --- Сетка товаров --- */
.snab-cat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.snab-cat__grid .snab-product__title { font-size: 13.5px; min-height: 36px; }
.snab-cat__grid .snab-product__price { font-size: 18px; }
.snab-cat__grid .snab-product__body { padding: 14px; }

/* Поле количества в карточке каталога */
.snab-product__buy { display: flex; gap: 8px; margin-top: auto; }
.snab-product__qty {
	box-sizing: border-box;
	width: 62px;
	height: 44px;
	padding: 0 6px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	color: var(--c-text);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-product__qty:focus { border-color: var(--c-accent); outline: none; }
.snab-product__buy .snab-product__cart,
.snab-product__buy button.snab-product__cart { flex: 1; height: 44px; margin-top: 0; padding: 0 14px; font-size: 14px; }

/* --- Пусто --- */
.snab-cat__empty {
	border: 1px dashed #cfd4d9;
	border-radius: var(--radius-lg);
	padding: 44px 30px;
	text-align: center;
	background: #fff;
}
.snab-cat__empty h2 { font-size: 22px; font-weight: 700; color: var(--c-graphite); margin: 0 0 10px; }
.snab-cat__empty p { font-size: 15px; color: var(--c-muted); margin: 0 0 22px; }
.snab-cat__empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Постраничная навигация --- */
.woocommerce nav.woocommerce-pagination { margin-top: 34px; text-align: left; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; margin: 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	box-sizing: border-box;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--c-graphite);
	font-size: 15px;
	font-weight: 600;
	transition: border-color .15s, color .15s, background .15s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--c-accent); color: var(--c-accent); background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
}

/* --- Адаптив каталога --- */
@media (max-width: 1300px) {
	.snab-cat__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
	.snab-cat__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
	.snab-cat__layout { grid-template-columns: 1fr; gap: 24px; }
	.snab-filters { order: 0; position: static; }
	.snab-filters__help { display: none; }
	.snab-cat__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
	.snab-cat__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 720px) {
	.snab-cat__title { font-size: 24px; }
	.snab-cat__toolbar { gap: 10px; }
	.snab-cat__sort select { height: 40px; font-size: 14px; }
}
@media (max-width: 420px) {
	.snab-cat__grid { grid-template-columns: 1fr; }
}

/* --- Уведомления магазина: аккуратный вид ------------------------------ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 0 26px;
	padding: 18px 22px 18px 56px;
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--c-accent);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 8px 24px rgba(20,24,28,.06);
	color: var(--c-graphite);
	font-size: 15.5px;
	line-height: 1.45;
	list-style: none;
}
.woocommerce-error { border-left-color: var(--c-accent-2); }

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	position: absolute;
	top: 50%;
	left: 22px;
	transform: translateY(-50%);
	font-size: 20px;
	line-height: 1;
	color: var(--c-accent);
}
.woocommerce-error::before { color: var(--c-accent-2); }

/* Кнопка внутри уведомления */
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .woocommerce-error a.button {
	order: 2;
	flex-shrink: 0;
	float: none;
	margin-left: auto;
	height: 46px;
	padding: 0 24px;
	font-size: 15px;
}

/* Убираем чёрную рамку фокуса, которую ставит WooCommerce */
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus,
.woocommerce-notices-wrapper [tabindex]:focus,
.woocommerce div.product [tabindex="-1"]:focus { outline: 0; box-shadow: 0 8px 24px rgba(20,24,28,.06); }

/* Список ошибок (например, при оформлении заказа) */
.woocommerce-error li { margin: 0; }

/* ==========================================================================
   СТРАНИЦА «О КОМПАНИИ»
   ========================================================================== */

/* Первый экран */
.snab-about-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
	padding: 64px 0 60px;
	border-bottom: 1px solid var(--c-border);
}
.snab-about-hero__glow {
	position: absolute;
	top: -260px;
	right: -140px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242,106,27,.15) 0%, rgba(242,106,27,0) 68%);
	pointer-events: none;
}
.snab-about-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	gap: 48px;
	align-items: center;
}
.snab-about-hero__content { max-width: 640px; }
.snab-about-hero__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 24px 56px rgba(20,24,28,.18);
	aspect-ratio: 4 / 3;
}
.snab-about-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snab-about-hero__media::after {
	content: "";
	position: absolute;
	right: -20px;
	bottom: -20px;
	width: 55%;
	height: 60%;
	border-radius: var(--radius-lg);
	background: linear-gradient(140deg, var(--c-accent), var(--c-accent-2));
	opacity: .14;
	z-index: -1;
}
.snab-about-hero__title {
	font-size: 38px;
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: -.6px;
	color: var(--c-graphite);
	margin: 0 0 18px;
}
.snab-about-hero__lead {
	font-size: 18px;
	line-height: 1.6;
	color: #4a5157;
	max-width: 600px;
	margin: 0 0 28px;
}

/* Текстовый блок с фактами */
.snab-about-text { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.snab-about-text__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: 0 18px 44px rgba(20,24,28,.14);
}
.snab-about-text__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snab-about-text__main p { font-size: 16.5px; line-height: 1.75; color: #40474e; margin: 0 0 14px; }
.snab-about-text__side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.snab-about-fact {
	border: 1px solid var(--c-border);
	border-top: 3px solid var(--c-accent);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 16px 18px;
}
.snab-about-fact b { display: block; font-size: 19px; font-weight: 800; color: var(--c-graphite); line-height: 1.15; margin-bottom: 2px; }
.snab-about-fact span { font-size: 13.5px; color: var(--c-muted); }

/* Направления деятельности */
.snab-dirs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.snab-dir {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.snab-dir:hover { border-color: var(--c-accent); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,24,28,.1); }
.snab-dir__ico {
	width: 52px;
	height: 52px;
	border-radius: 13px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-dir__ico svg { width: 27px; height: 27px; }
.snab-dir h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--c-graphite); margin: 0; }

/* Преимущества */
.snab-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.snab-adv__item {
	padding: 28px 26px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.snab-adv__item:hover { border-color: var(--c-accent); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,24,28,.1); }
.snab-adv__item img { width: 64px; height: 64px; object-fit: contain; display: block; margin-bottom: 16px; }
.snab-adv__item h3 { font-size: 17px; font-weight: 700; color: var(--c-graphite); margin: 0 0 8px; line-height: 1.3; }
.snab-adv__item p { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

/* Поможем подобрать решение */
.snab-help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.snab-help__card {
	position: relative;
	overflow: hidden;
	padding: 28px 26px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .2s, box-shadow .2s;
}
.snab-help__card:hover { border-color: var(--c-accent); box-shadow: 0 14px 32px rgba(20,24,28,.1); }
.snab-help__num {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: rgba(28,31,36,.06);
	letter-spacing: -2px;
}
.snab-help__card h3 { font-size: 17px; font-weight: 700; color: var(--c-graphite); margin: 0 0 10px; line-height: 1.3; padding-right: 40px; }
.snab-help__card p { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }
.snab-help__action { margin-top: 28px; display: flex; justify-content: center; }

/* Адаптив */
@media (max-width: 1200px) {
	.snab-dirs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
	.snab-about-hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.snab-about-hero__content { max-width: none; }
	.snab-about-hero__media { order: -1; }
	.snab-about-hero__title { font-size: 30px; }
	.snab-about-text { grid-template-columns: 1fr; gap: 28px; }
	.snab-about-text__media { order: -1; }
	.snab-adv { grid-template-columns: 1fr 1fr; }
	.snab-help { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.snab-about-hero { padding: 44px 0 42px; }
	.snab-about-hero__title { font-size: 25px; }
	.snab-about-hero__lead { font-size: 16px; }
	.snab-about-text__side { grid-template-columns: 1fr; }
	.snab-about-hero .snab-btn { width: 100%; }
	.snab-dirs { grid-template-columns: 1fr; gap: 12px; }
	.snab-dir { flex-direction: row; align-items: center; padding: 18px; }
	.snab-adv { grid-template-columns: 1fr; }
	.snab-help { grid-template-columns: 1fr; }
	.snab-help__action .snab-btn { width: 100%; }
}

/* ==========================================================================
   СТРАНИЦА «РЕШЕНИЯ ПОД ОБЪЕКТ»
   ========================================================================== */

/* Первый экран с фоновым изображением */
.snab-sol-hero {
	position: relative;
	overflow: hidden;
	min-height: 440px;
	display: grid;
	align-items: center;
	padding: 72px 0;
	background-color: #eaedf0;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	border-bottom: 1px solid var(--c-border);
}
.snab-sol-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.97) 34%, rgba(255,255,255,.82) 50%, rgba(255,255,255,.35) 64%, rgba(255,255,255,0) 82%);
	pointer-events: none;
}
.snab-sol-hero .snab-container { width: 100%; }
.snab-sol-hero__inner { position: relative; z-index: 1; }
.snab-sol-hero__title,
.snab-sol-hero__lead { max-width: 640px; }
.snab-sol-hero__title {
	font-size: 40px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.6px;
	color: var(--c-graphite);
	margin: 0 0 16px;
}
.snab-sol-hero__lead { font-size: 18px; line-height: 1.6; color: #4a5157; max-width: 620px; margin: 0 0 28px; }

/* Вводный текст и быстрые ссылки */
.snab-sol-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.snab-sol-intro p { font-size: 16.5px; line-height: 1.75; color: #40474e; margin: 0; }
.snab-sol-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.snab-sol-nav__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 18px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--c-graphite);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.snab-sol-nav__item::after {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.snab-sol-nav__item:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Карточки типов объектов */
@media (min-width: 1401px) { .snab-sol-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1400px) { .snab-sol-grid { grid-template-columns: repeat(2, 1fr); } }
.snab-sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.snab-sol-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-sol-card:hover { border-color: var(--c-accent); box-shadow: 0 18px 40px rgba(20,24,28,.12); transform: translateY(-3px); }
.snab-sol-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-surface);
}
.snab-sol-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.snab-sol-card:hover .snab-sol-card__media img { transform: scale(1.04); }
.snab-sol-card__num {
	position: absolute;
	top: 16px;
	left: 16px;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border-radius: 10px;
	background: var(--c-accent);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(226,64,15,.35);
}
.snab-sol-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.snab-sol-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.snab-sol-card__title a { color: var(--c-graphite); text-decoration: none; transition: color .15s; }
.snab-sol-card__title a:hover { color: var(--c-accent); }
.snab-sol-card__text { font-size: 14px; line-height: 1.55; color: var(--c-muted); margin: 0 0 18px; }
.snab-sol-card__btn { align-self: stretch; margin-top: auto; height: 44px; font-size: 14.5px; padding: 0 18px; }

/* Адаптив */
@media (max-width: 1000px) {
	.snab-sol-hero { min-height: 360px; padding: 48px 0; background-position: center; }
	.snab-sol-hero__scrim { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 60%, rgba(255,255,255,.78) 100%); }
	.snab-sol-hero__title { font-size: 30px; }
	.snab-sol-intro { grid-template-columns: 1fr; gap: 26px; }
	.snab-sol-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 620px) {
	.snab-sol-hero { min-height: 300px; padding: 38px 0; }
	.snab-sol-hero__title { font-size: 25px; }
	.snab-sol-hero__lead { font-size: 16px; }
	.snab-sol-hero .snab-btn { width: 100%; }
	.snab-sol-card__body { padding: 18px; }
	.snab-sol-grid { grid-template-columns: 1fr; }
	.snab-sol-nav { grid-template-columns: 1fr; }
}

/* ==========================================================================
   СТРАНИЦЫ РЕШЕНИЙ (общие блоки)
   ========================================================================== */

/* Хлебные крошки внутри первого экрана */
.snab-sol-hero .snab-crumbs { margin-bottom: 16px; }

/* Карточки «что предусмотреть» / оборудования */
.snab-need { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.snab-need__card {
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-need__card:hover { border-color: var(--c-accent); box-shadow: 0 16px 36px rgba(20,24,28,.1); transform: translateY(-3px); }
.snab-need__ico {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.snab-need__ico svg { width: 28px; height: 28px; }
.snab-need__card h3 { font-size: 17.5px; font-weight: 700; color: var(--c-graphite); margin: 0 0 10px; line-height: 1.3; }
.snab-need__card p { font-size: 14.5px; line-height: 1.6; color: var(--c-muted); margin: 0 0 18px; }
.snab-need__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--c-accent);
	transition: gap .15s;
}
.snab-need__card:hover .snab-need__link { gap: 11px; }

/* Выделенный информационный блок */
.snab-note {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 30px 32px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--c-accent);
	border-radius: var(--radius-lg);
	box-shadow: 0 10px 30px rgba(20,24,28,.06);
}
.snab-note__ico {
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-note__ico svg { width: 28px; height: 28px; }
.snab-note__title { font-size: 21px; font-weight: 800; color: var(--c-graphite); margin: 0 0 10px; }
.snab-note__body p { font-size: 16px; line-height: 1.7; color: #40474e; margin: 0; max-width: 900px; }

@media (max-width: 1100px) {
	.snab-need { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.snab-need { grid-template-columns: 1fr; gap: 14px; }
	.snab-need__card { padding: 20px; }
	.snab-note { flex-direction: column; gap: 16px; padding: 24px 20px; }
	.snab-note__title { font-size: 18px; }
	.snab-note__body p { font-size: 15px; }
}

/* ==========================================================================
   СТРАНИЦА «ДОСТАВКА И ОПЛАТА»
   ========================================================================== */

.snab-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.snab-terms__card {
	display: flex;
	flex-direction: column;
	padding: 34px 36px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 12px 34px rgba(20,24,28,.06);
}
.snab-terms__card--accent { background: linear-gradient(160deg, #f8fafb, #f1f4f6); }
.snab-terms__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.snab-terms__ico {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 15px;
	background: linear-gradient(145deg, var(--c-accent), var(--c-accent-2));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(226,64,15,.28);
}
.snab-terms__ico svg { width: 29px; height: 29px; }
.snab-terms__title { font-size: 26px; font-weight: 800; color: var(--c-graphite); margin: 0; letter-spacing: -.3px; }
.snab-terms__text { font-size: 16px; line-height: 1.7; color: #40474e; margin: 0 0 8px; }

.snab-terms__list { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-direction: column; }
.snab-terms__list li { padding: 15px 0; border-top: 1px solid var(--c-border); }
.snab-terms__list li:last-child { padding-bottom: 0; }
.snab-terms__list b {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--c-graphite);
	margin-bottom: 4px;
}
.snab-terms__list b::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(242,106,27,.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0400f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px;
}
.snab-terms__list span { display: block; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }

@media (max-width: 900px) {
	.snab-terms { grid-template-columns: 1fr; gap: 16px; }
	.snab-terms__card { padding: 26px 22px; }
	.snab-terms__title { font-size: 22px; }
	.snab-terms__text { font-size: 15.5px; }
}

/* Схема «как оформить заказ» */
.snab-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	counter-reset: snab-step;
}
.snab-steps__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-steps__item:hover { border-color: var(--c-accent); box-shadow: 0 14px 32px rgba(20,24,28,.1); transform: translateY(-3px); }

/* соединительная линия между шагами */
.snab-steps__item::after {
	content: "";
	position: absolute;
	top: 50px;
	right: -16px;
	width: 16px;
	height: 2px;
	background: var(--c-border);
}
.snab-steps__item:last-child::after { display: none; }

.snab-steps__num {
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: rgba(28,31,36,.07);
}
.snab-steps__ico {
	width: 50px;
	height: 50px;
	border-radius: 13px;
	background: linear-gradient(145deg, var(--c-accent), var(--c-accent-2));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	box-shadow: 0 8px 18px rgba(226,64,15,.26);
}
.snab-steps__ico svg { width: 26px; height: 26px; }
.snab-steps__item b { font-size: 16px; font-weight: 700; color: var(--c-graphite); line-height: 1.3; margin-bottom: 6px; }
.snab-steps__item > span:last-child { font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }

/* Адаптив */
@media (max-width: 1200px) {
	.snab-steps { grid-template-columns: repeat(3, 1fr); }
	.snab-steps__item::after { display: none; }
}
@media (max-width: 680px) {
	.snab-steps { grid-template-columns: 1fr; gap: 12px; }
	.snab-steps__item { flex-direction: row; align-items: center; gap: 16px; padding: 18px; flex-wrap: wrap; }
	.snab-steps__ico { margin-bottom: 0; }
	.snab-steps__item b { flex: 1 1 auto; margin-bottom: 0; }
	.snab-steps__item > span:last-child { flex-basis: 100%; }
	.snab-steps__num { top: 12px; right: 14px; font-size: 26px; }
}

/* ==========================================================================
   СТРАНИЦА «КОНТАКТЫ»
   ========================================================================== */
.snab-sol-hero--compact { min-height: 300px; padding: 48px 0; }

.snab-page > .snab-section:first-child { padding-top: 44px; }
.snab-contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }

/* Контактная информация */
.snab-contacts__title {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -.5px;
	line-height: 1.15;
	color: var(--c-graphite);
	margin: 0 0 12px;
}
.snab-contacts__lead { font-size: 18px; line-height: 1.55; color: #4a5157; margin: 0 0 14px; }
.snab-contacts__about { font-size: 15.5px; line-height: 1.65; color: var(--c-muted); margin: 0 0 28px; max-width: 520px; }
.snab-contacts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.snab-contacts__list li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .2s;
}
.snab-contacts__list li:hover { border-color: var(--c-accent); }
.snab-contacts__ico {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-contacts__ico svg { width: 23px; height: 23px; }
.snab-contacts__list b { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--c-muted); margin-bottom: 4px; }
.snab-contacts__list span { font-size: 16px; color: var(--c-graphite); }
.snab-contacts__strong { display: block; font-size: 19px; font-weight: 800; color: var(--c-graphite); text-decoration: none; transition: color .15s; }
.snab-contacts__strong:hover { color: var(--c-accent); }
.snab-contacts__callback { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--c-accent); text-decoration: none; border-bottom: 1px dashed currentColor; }

/* Форма */
.snab-contacts__form {
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 30px 32px;
	box-shadow: 0 14px 40px rgba(20,24,28,.08);
}
.snab-contacts__form-title { font-size: 24px; font-weight: 800; color: var(--c-graphite); margin: 0 0 8px; }
.snab-contacts__form-sub { font-size: 14.5px; line-height: 1.6; color: var(--c-muted); margin: 0 0 24px; }

/* Поля формы на светлом фоне */
.snab-contacts__form .snab-field input,
.snab-contacts__form .snab-field textarea {
	background: #fff;
	border: 1px solid #d8dce0;
	color: var(--c-text);
}
.snab-contacts__form .snab-field input::placeholder,
.snab-contacts__form .snab-field textarea::placeholder { color: #9aa0a6; }
.snab-contacts__form .snab-field input:focus,
.snab-contacts__form .snab-field textarea:focus { border-color: var(--c-accent); }

/* Поле загрузки файла */
.snab-file { margin-bottom: 12px; }
.snab-file__label { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-graphite); margin-bottom: 8px; }
.snab-file input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--c-muted);
	border: 1px dashed #c4cad0;
	border-radius: var(--radius);
	background: var(--c-surface);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.snab-file input[type="file"]:hover { border-color: var(--c-accent); background: #fff; }
.snab-file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 7px 14px;
	border: 0;
	border-radius: 6px;
	background: var(--c-accent);
	color: #fff;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}
.snab-file__hint { display: block; font-size: 12.5px; color: var(--c-muted); margin-top: 6px; }

/* Блок «Как мы можем помочь» */
.snab-helpgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.snab-helpgrid__item {
	padding: 28px 26px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-helpgrid__item:hover { border-color: var(--c-accent); box-shadow: 0 14px 32px rgba(20,24,28,.1); transform: translateY(-3px); }
.snab-helpgrid__ico {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--c-accent), var(--c-accent-2));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	box-shadow: 0 8px 18px rgba(226,64,15,.26);
}
.snab-helpgrid__ico svg { width: 27px; height: 27px; }
.snab-helpgrid__item h3 { font-size: 17px; font-weight: 700; color: var(--c-graphite); margin: 0 0 8px; line-height: 1.3; }
.snab-helpgrid__item p { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

/* Карта */
.snab-section--map { padding-bottom: 0; }
.snab-section--map + * { margin-top: 0; }
.snab-contacts__map { line-height: 0; margin-top: 4px; }
.snab-contacts__map iframe { display: block; width: 100%; border: 0; }

/* Адаптив */
@media (max-width: 1100px) {
	.snab-helpgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.snab-contacts { grid-template-columns: 1fr; gap: 32px; }
	.snab-contacts__about { max-width: none; }
}
@media (max-width: 620px) {
	.snab-contacts__title { font-size: 27px; }
	.snab-contacts__form { padding: 24px 20px; }
	.snab-contacts__form-title { font-size: 21px; }
	.snab-helpgrid { grid-template-columns: 1fr; gap: 14px; }
	.snab-contacts__map iframe { height: 340px; }
}

/* --- Правки страницы «Контакты» ---------------------------------------- */

/* Форма контактов: единые отступы, имя и телефон в две колонки */
.snab-contacts__form .snab-field,
.snab-contacts__form .snab-file,
.snab-contacts__form .snab-consent,
.snab-contacts__form .snab-form__submit { margin: 0; }
.snab-contacts__form .snab-file__hint { margin-top: 6px; }

@media (min-width: 700px) {
	.snab-contacts__form .wpcf7-form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		align-items: start;
	}
	.snab-contacts__form .snab-field:nth-of-type(n+3),
	.snab-contacts__form .snab-file,
	.snab-contacts__form .snab-consent,
	.snab-contacts__form .snab-form__submit,
	.snab-contacts__form .wpcf7-response-output,
	.snab-contacts__form .wpcf7-spinner { grid-column: 1 / -1; }
}

/* На узких экранах — обычный столбик с тем же шагом */
@media (max-width: 699px) {
	.snab-contacts__form .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
}

/* Секция с картой прижата к подвалу */
.snab-section--map { padding-top: 34px; padding-bottom: 0; }
.snab-section--map .snab-section__head { margin-bottom: 22px; }

/* Убираем горизонтальную прокрутку и белую полосу под подвалом */
body { overflow-x: clip; }
body { background: var(--c-white); }
.snab-contacts__map { max-width: 100%; overflow: hidden; }

/* Страховка: если автоформатирование CF7 включено, убираем отступы абзацев */
.wpcf7-form p { margin: 0; }
.wpcf7-form br { display: none; }

/* ==========================================================================
   БЛОГ
   ========================================================================== */
.snab-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 26px; }
.snab-blog__intro { max-width: 720px; }
.snab-blog__title { font-size: 36px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; color: var(--c-graphite); margin: 0 0 12px; }
.snab-blog__lead { font-size: 16.5px; line-height: 1.65; color: #4a5157; margin: 0; }

/* Поиск по статьям */
.snab-blog__search {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 320px;
	height: 48px;
	padding-right: 5px;
	border: 1px solid #d8dce0;
	border-radius: 10px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.snab-blog__search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(242,106,27,.12); }
.snab-blog__search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	background: transparent;
	color: var(--c-text);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-blog__search button {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--c-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background .15s;
}
.snab-blog__search button:hover { background: var(--c-accent-2); }
.snab-blog__search button svg { width: 18px; height: 18px; }

/* Фильтр по рубрикам */

/* Рекомендуемая статья */
.snab-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 32px;
	transition: box-shadow .2s;
}
.snab-featured:hover { box-shadow: 0 20px 46px rgba(20,24,28,.12); }
.snab-featured__media { display: block; background: var(--c-surface); aspect-ratio: 16 / 10; overflow: hidden; }
.snab-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.snab-featured:hover .snab-featured__media img { transform: scale(1.03); }
.snab-featured__body { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 38px; }
.snab-featured__badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 4px;
	background: var(--c-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 14px;
}
.snab-featured__title { font-size: 27px; font-weight: 800; line-height: 1.25; margin: 0 0 14px; }
.snab-featured__title a { color: var(--c-graphite); text-decoration: none; transition: color .15s; }
.snab-featured__title a:hover { color: var(--c-accent); }
.snab-featured__text { font-size: 15.5px; line-height: 1.65; color: var(--c-muted); margin: 0 0 24px; }
.snab-featured__btn { margin-top: auto; }

/* Сетка статей */
.snab-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.snab-blog__grid .snab-article-card { flex: none; max-width: none; }

/* Категория на обложке карточки */
.snab-article-card__media { position: relative; }

.snab-blog__pagination { margin-top: 34px; }

/* Форма-призыв внутри текста статьи */
.snab-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 34px 0;
	padding: 26px 28px;
	border-radius: var(--radius-lg);
	background: var(--c-surface);
	border-left: 4px solid var(--c-accent);
}
.snab-inline-cta__body { max-width: 520px; }
.snab-inline-cta b { display: block; font-size: 18px; font-weight: 700; color: var(--c-graphite); margin-bottom: 6px; }
.snab-inline-cta span { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); }

/* Адаптив */
@media (max-width: 1100px) {
	.snab-blog__grid { grid-template-columns: repeat(2, 1fr); }
			}
@media (max-width: 900px) {
	.snab-featured { grid-template-columns: 1fr; }
	.snab-featured__body { padding: 26px 24px; }
	.snab-featured__title { font-size: 22px; }
	.snab-blog__title { font-size: 28px; }
	.snab-post__title { font-size: 27px; }
}
@media (max-width: 620px) {
	.snab-blog__head { gap: 20px; }
	.snab-blog__search { width: 100%; }
	.snab-blog__grid { grid-template-columns: 1fr; gap: 14px; }
	.snab-post__cover { margin-bottom: 26px; }
	.snab-inline-cta { padding: 20px; margin: 26px 0; }
	.snab-inline-cta .snab-btn { width: 100%; }
	.snab-featured__btn { width: 100%; }
}

/* ==========================================================================
   КОРЗИНА
   ========================================================================== */
.snab-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }

.snab-cart__list { display: flex; flex-direction: column; }
.snab-cart__row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 132px 130px 40px;
	gap: 20px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--c-border);
}
.snab-cart__row:first-child { border-top: 1px solid var(--c-border); }

.snab-cart__media {
	width: 96px;
	height: 96px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.snab-cart__media img { width: 100%; height: 100%; object-fit: contain; display: block; }

.snab-cart__info { display: flex; flex-direction: column; gap: 4px; }
.snab-cart__name { font-size: 16px; font-weight: 600; color: var(--c-graphite); text-decoration: none; line-height: 1.35; }
.snab-cart__name:hover { color: var(--c-accent); }
.snab-cart__sku { font-size: 13px; color: var(--c-muted); }
.snab-cart__unit { font-size: 13.5px; color: var(--c-muted); }
.snab-cart__unit .woocommerce-Price-amount { color: var(--c-graphite); font-weight: 600; }

.snab-cart__qty .quantity { display: inline-flex; }
.snab-cart__qty input.qty {
	box-sizing: border-box;
	width: 92px;
	height: 46px;
	padding: 0 8px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	color: var(--c-text);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-cart__qty input.qty:focus { border-color: var(--c-accent); outline: none; }

.snab-cart__sum { font-size: 18px; font-weight: 800; color: var(--c-graphite); text-align: right; }
.snab-cart__sum .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

.snab-cart__remove-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-muted);
	background: #fff;
	text-decoration: none;
	transition: color .15s, border-color .15s, background .15s;
}
.snab-cart__remove-btn:hover { color: #fff; background: var(--c-accent-2); border-color: var(--c-accent-2); }
.snab-cart__remove-btn svg { width: 17px; height: 17px; }
.woocommerce a.remove:hover { background: var(--c-accent-2); color: #fff; }

.snab-cart__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.snab-cart__actions .snab-btn { height: 48px; font-size: 15px; }

/* Итоги */
.snab-cart__aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.snab-cart__totals {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 26px 24px;
	box-shadow: 0 12px 34px rgba(20,24,28,.07);
}
.snab-cart__totals-title { font-size: 20px; font-weight: 800; color: var(--c-graphite); margin: 0 0 18px; }
.snab-cart__totals .cart_totals h2 { display: none; }
.snab-cart__totals table.shop_table { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.snab-cart__totals table.shop_table th,
.snab-cart__totals table.shop_table td {
	border: 0;
	padding: 11px 0;
	font-size: 15px;
	text-align: left;
	border-bottom: 1px solid var(--c-border);
}
.snab-cart__totals table.shop_table th { font-weight: 500; color: var(--c-muted); }
.snab-cart__totals table.shop_table td { text-align: right; font-weight: 600; color: var(--c-graphite); }
.snab-cart__totals table.shop_table tr.snab-delivery-row td,
.woocommerce-checkout-review-order-table tr.snab-delivery-row td { font-weight: 500; color: var(--c-muted); }
.snab-cart__totals table.shop_table tr.order-total th,
.snab-cart__totals table.shop_table tr.order-total td { border-bottom: 0; padding-top: 16px; font-size: 20px; font-weight: 800; color: var(--c-graphite); }
.snab-cart__totals .wc-proceed-to-checkout { padding: 18px 0 0; }
.snab-cart__totals .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	height: 54px;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-size: 16px;
}
.snab-cart__totals .woocommerce-shipping-destination,
.snab-cart__totals .shipping-calculator-button { font-size: 13.5px; color: var(--c-muted); }

.snab-cart__help {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: var(--c-surface);
	padding: 22px 20px;
}
.snab-cart__help b { display: block; font-size: 16px; font-weight: 700; color: var(--c-graphite); margin-bottom: 6px; }
.snab-cart__help p { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); margin: 0 0 16px; }

/* Пустая корзина */
.snab-cart-empty {
	max-width: 620px;
	margin: 0 auto;
	padding: 60px 30px;
	text-align: center;
}
.snab-cart-empty__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-muted);
	margin-bottom: 22px;
}
.snab-cart-empty__ico svg { width: 42px; height: 42px; }
.snab-cart-empty h2 { font-size: 26px; font-weight: 800; color: var(--c-graphite); margin: 0 0 10px; }
.snab-cart-empty p { font-size: 16px; line-height: 1.6; color: var(--c-muted); margin: 0 0 26px; }
.snab-cart-empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   ОФОРМЛЕНИЕ ЗАКАЗА
   ========================================================================== */
.snab-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }

.snab-checkout__block,
.snab-checkout__order {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 28px 30px;
}
.snab-checkout__title { font-size: 21px; font-weight: 800; color: var(--c-graphite); margin: 0 0 20px; }
.snab-checkout__main .woocommerce-billing-fields h3,
.snab-checkout__main .woocommerce-additional-fields h3 { font-size: 17px; font-weight: 700; color: var(--c-graphite); margin: 22px 0 14px; }
.snab-checkout__main .woocommerce-billing-fields__field-wrapper > .form-row:first-child { margin-top: 0; }

/* Поля формы заказа */
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--c-graphite);
}
.woocommerce form .form-row .required { color: var(--c-accent-2); border: 0; text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--c-text);
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s;
}
.woocommerce form .form-row textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--c-accent); outline: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--c-accent-2); }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0; color: var(--c-text); }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }

@media (min-width: 700px) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last { float: none; width: 100%; }
	.snab-checkout__main .woocommerce-billing-fields__field-wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
	}
	.snab-checkout__main .woocommerce-billing-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1; }
}

/* Блок заказа справа */
.snab-checkout__order table.shop_table,
.snab-checkout__order table.shop_table thead,
.snab-checkout__order table.shop_table tbody,
.snab-checkout__order table.shop_table tfoot { display: block; width: 100%; border: 0; margin: 0; }
.snab-checkout__order table.shop_table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--c-border);
}
.snab-checkout__order table.shop_table th,
.snab-checkout__order table.shop_table td {
	border: 0;
	padding: 12px 0;
	font-size: 14.5px;
	text-align: left;
}
.snab-checkout__order table.shop_table td { text-align: right; font-weight: 600; color: var(--c-graphite); }
.snab-checkout__order table.shop_table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--c-muted); font-weight: 600; }
.snab-checkout__order table.shop_table thead th.product-total { text-align: right; }
.snab-checkout__order table.shop_table .product-name { flex: 1; min-width: 0; text-align: left; }
.snab-checkout__order table.shop_table tfoot tr.order-total { border-bottom: 0; }
.snab-checkout__order table.shop_table tfoot tr.order-total th,
.snab-checkout__order table.shop_table tfoot tr.order-total td { font-size: 19px; font-weight: 800; padding-top: 16px; }
.snab-checkout__order table.shop_table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 0; }
.snab-checkout__order table.shop_table tr.woocommerce-shipping-totals th { padding-bottom: 2px; font-weight: 600; color: var(--c-graphite); }
.snab-checkout__order table.shop_table tr.woocommerce-shipping-totals td { padding-top: 8px; text-align: left; font-weight: 500; }
.snab-checkout__order .product-name { color: var(--c-graphite); font-weight: 500; }
.snab-checkout__order .product-quantity { color: var(--c-muted); font-weight: 400; }

/* Способы оплаты */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods {
	border: 0;
	padding: 18px 0 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	padding: 14px 16px;
	background: #fff;
	transition: border-color .15s;
	list-style: none;
}
.woocommerce-checkout #payment ul.payment_methods li:hover { border-color: var(--c-accent); }
.woocommerce-checkout #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-graphite);
	cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { width: 18px; height: 18px; accent-color: var(--c-accent); margin: 0; }
.woocommerce-checkout #payment ul.payment_methods li:only-child input[type="radio"] { display: none; }
.woocommerce-checkout #payment div.payment_box {
	background: var(--c-surface);
	color: var(--c-muted);
	font-size: 13.5px;
	line-height: 1.55;
	border-radius: var(--radius);
	margin: 12px 0 0;
	padding: 14px 16px;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 18px 0 0; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--c-muted); }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: 8px; }

/* Способы доставки */
.snab-checkout__order #shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.snab-checkout__order #shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .15s;
}
.snab-checkout__order #shipping_method li:hover,
.snab-checkout__order #shipping_method li:has(input:checked) { border-color: var(--c-accent); }
.snab-checkout__order #shipping_method input[type="radio"] { flex: 0 0 17px; width: 17px; height: 17px; accent-color: var(--c-accent); margin: 2px 0 0; }
.snab-checkout__order #shipping_method label { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--c-graphite); cursor: pointer; }

.snab-checkout__note {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-top: 14px;
	padding: 18px 20px;
	border-radius: var(--radius-lg);
	background: var(--c-surface);
}
.snab-checkout__note-ico { flex-shrink: 0; color: var(--c-accent); }
.snab-checkout__note-ico svg { width: 22px; height: 22px; }
.snab-checkout__note p { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

/* Страница «Заказ принят» */
.woocommerce-order { max-width: 900px; }
.woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 26px 0;
	padding: 0;
}
.woocommerce ul.order_details li {
	flex: 1 1 180px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 16px 18px;
	margin: 0;
	border-right: 1px solid var(--c-border);
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--c-muted);
}
.woocommerce ul.order_details li strong { display: block; margin-top: 6px; font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--c-graphite); }

/* Адаптив */
@media (max-width: 1100px) {
	.snab-cart { grid-template-columns: 1fr; }
	.snab-cart__aside { position: static; }
	.snab-checkout__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.snab-cart__row {
		grid-template-columns: 76px minmax(0, 1fr) 40px;
		grid-template-areas:
			"media info remove"
			"media qty sum";
		gap: 10px 14px;
	}
	.snab-cart__media { grid-area: media; width: 76px; height: 76px; }
	.snab-cart__info { grid-area: info; }
	.snab-cart__qty { grid-area: qty; }
	.snab-cart__sum { grid-area: sum; text-align: right; font-size: 16px; }
	.snab-cart__remove { grid-area: remove; }
	.snab-cart__qty input.qty { width: 78px; height: 40px; }
	.snab-cart__actions .snab-btn { flex: 1 1 100%; }
	.snab-checkout__block,
	.snab-checkout__order { padding: 22px 18px; }
	.snab-cart-empty { padding: 40px 16px; }
}

/* ==========================================================================
   ТЕКСТОВАЯ СТРАНИЦА
   ========================================================================== */
.snab-textpage { max-width: 860px; }
.snab-textpage__head { margin-bottom: 26px; }
.snab-textpage__title {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -.5px;
	line-height: 1.18;
	color: var(--c-graphite);
	margin: 0;
}
.snab-page .widget-area,
.snab-shop .widget-area,
.snab-page #secondary,
.snab-shop #secondary { display: none; }

@media (max-width: 700px) {
	.snab-textpage__title { font-size: 27px; }
}

/* ==========================================================================
   БЛОЧНАЯ КОРЗИНА И ОФОРМЛЕНИЕ WOOCOMMERCE
   ========================================================================== */
.snab-textpage--wide { max-width: none; }
.snab-blockshop { width: 100%; }
.snab-blockshop .wp-block-woocommerce-cart,
.snab-blockshop .wp-block-woocommerce-checkout { max-width: none; margin: 0; }

/* Кнопки */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	box-sizing: border-box;
	min-height: 54px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--c-accent);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	box-shadow: none;
	transition: background-color .15s;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background-color: var(--c-accent-2); color: #fff; }
.wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: #fff; }

/* Названия товаров и ссылки */
.wc-block-components-product-name,
.wc-block-cart-item__wrap a {
	color: var(--c-graphite);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
}
.wc-block-components-product-name:hover { color: var(--c-accent); }
.wc-block-cart-item__product-metadata,
.wc-block-components-product-metadata { font-size: 13.5px; color: var(--c-muted); }

/* Изображения товаров */
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: #fff;
}

/* Заголовки колонок и таблицы */
.wc-block-cart-items__header,
.wc-block-components-totals-item__label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--c-muted);
}
.wc-block-cart-items__row { border-bottom: 1px solid var(--c-border); padding: 18px 0; }
.wc-block-components-totals-item { padding: 12px 0; font-size: 15px; }
.wc-block-components-totals-item__value { font-weight: 700; color: var(--c-graphite); }

/* Итоговая сумма */
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-size: 22px;
	font-weight: 800;
	color: var(--c-graphite);
	text-transform: none;
	letter-spacing: 0;
}

/* Боковая панель итогов */
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-checkout__sidebar .wc-block-components-sidebar {
	box-sizing: border-box;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 24px;
	box-shadow: 0 12px 34px rgba(20,24,28,.07);
}
.wc-block-cart .wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 36px; }
.wc-block-cart__sidebar .wc-block-components-title { font-size: 20px; font-weight: 800; color: var(--c-graphite); text-transform: none; letter-spacing: 0; }

/* Поле количества */
.wc-block-components-quantity-selector {
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-text);
	background: transparent;
	box-shadow: none;
}
.wc-block-components-quantity-selector__button {
	color: var(--c-graphite);
	background: transparent;
	border: 0;
	font-size: 18px;
	transition: color .15s;
}
.wc-block-components-quantity-selector__button:hover { color: var(--c-accent); }

/* Кнопка удаления */
.wc-block-cart-item__remove-link {
	color: var(--c-muted);
	font-size: 13px;
	text-decoration: none;
	transition: color .15s;
}
.wc-block-cart-item__remove-link:hover { color: var(--c-accent-2); }

/* Поля формы оформления */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-textarea,
.wc-blocks-components-select__container {
	box-sizing: border-box;
	border: 1px solid #d8dce0;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 15px;
	color: var(--c-text);
	background: #fff;
	box-shadow: none;
}
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-textarea:focus { border-color: var(--c-accent); box-shadow: none; outline: none; }
.wc-block-components-checkout-step__title { font-size: 19px; font-weight: 800; color: var(--c-graphite); }
.wc-block-components-radio-control__option { border-radius: var(--radius); }
.wc-block-components-radio-control__input:checked { border-color: var(--c-accent); }

/* Ссылки внутри блоков */
.wc-block-components-button.is-link,
.wc-block-components-panel__button { color: var(--c-accent); }

/* Одинаковые отступы между полями формы оформления заказа */
.wc-block-components-address-form .wc-block-components-text-input,
.wc-block-components-address-form .wc-block-components-country-input,
.wc-block-components-address-form .wc-block-components-state-input,
.wc-block-components-address-form .wc-block-components-combobox {
	margin-top: 0;
	margin-bottom: 16px;
}
.wc-block-components-address-form__address_1,
.wc-block-components-address-form__address_2 { margin-bottom: 16px; }
.wc-block-components-address-form .wc-block-components-address-form__field-wrapper > *:last-child { margin-bottom: 0; }

/* Форма в попапе: единая сетка и ширина полей */
.snab-modal .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.snab-modal .wpcf7-form .snab-field,
.snab-modal .wpcf7-form .snab-consent,
.snab-modal .wpcf7-form .snab-form__submit,
.snab-modal .wpcf7-form .snab-file { margin: 0; }
.snab-modal .wpcf7-form-control-wrap { display: block; width: 100%; }
.snab-modal .snab-field input,
.snab-modal .snab-field textarea { max-width: 100%; }
.snab-modal .wpcf7-form .wpcf7-response-output { margin: 4px 0 0; }

/* ==========================================================================
   БЛОКИ СТРАНИЦ РЕШЕНИЙ
   ========================================================================== */
.snab-factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.snab-factors--four { grid-template-columns: repeat(4, 1fr); }
.snab-factors__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	font-size: 15px;
	line-height: 1.5;
	color: #40474e;
	transition: border-color .2s;
}
.snab-factors__item:hover { border-color: var(--c-accent); }
.snab-factors__ico {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snab-factors__ico svg { width: 24px; height: 24px; }
.snab-factors__item b { display: block; font-size: 16px; font-weight: 700; color: var(--c-graphite); margin-bottom: 4px; }
.snab-factors__item > span:last-child { font-size: 14.5px; }

.snab-sol-grid--two { grid-template-columns: repeat(2, 1fr); }
.snab-sol-grid--two .snab-sol-card__media { aspect-ratio: 16 / 9; }
.snab-sol-grid--two .snab-sol-card__title { font-size: 21px; }
.snab-sol-grid--two .snab-sol-card__text { font-size: 15px; }
.snab-sol-grid--two .snab-sol-card__btn { align-self: flex-start; padding: 0 26px; }

.snab-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; max-width: 1240px; }
.snab-rules li {
	position: relative;
	padding: 4px 0 4px 34px;
	font-size: 15.5px;
	line-height: 1.6;
	color: #40474e;
}
.snab-rules li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(242,106,27,.12);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0400f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px;
}

.snab-docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.snab-docs-grid__card {
	padding: 28px 26px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-left: 3px solid var(--c-accent);
	border-radius: var(--radius-lg);
	transition: box-shadow .2s, transform .2s;
}
.snab-docs-grid__card:hover { box-shadow: 0 14px 32px rgba(20,24,28,.1); transform: translateY(-3px); }
.snab-docs-grid__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(242,106,27,.1);
	color: var(--c-accent);
	margin-bottom: 16px;
}
.snab-docs-grid__ico svg { width: 25px; height: 25px; }
.snab-docs-grid__card b { display: block; font-size: 18px; font-weight: 800; color: var(--c-graphite); margin-bottom: 8px; }
.snab-docs-grid__card p { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

@media (max-width: 1200px) {
	.snab-factors--four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.snab-factors,
	.snab-factors--four { grid-template-columns: 1fr 1fr; }
	.snab-sol-grid--two { grid-template-columns: 1fr; }
	.snab-rules { grid-template-columns: 1fr; }
	.snab-docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.snab-factors,
	.snab-factors--four { grid-template-columns: 1fr; gap: 12px; }
	.snab-factors__item { padding: 18px; }
	.snab-docs-grid__card { padding: 22px 20px; }
}

/* ==========================================================================
   ВЫПАДАЮЩИЕ ПОДПУНКТЫ МЕНЮ
   ========================================================================== */
.snab-menu li { position: relative; }
.snab-menu .menu-item-has-children > a { padding-right: 26px; }
.snab-menu .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .2s;
}
.snab-menu .menu-item-has-children:hover > a::after { transform: rotate(180deg); }

.snab-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 45;
	min-width: 250px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px rgba(20,24,28,.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.snab-menu li:hover > .sub-menu,
.snab-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.snab-menu .sub-menu li > a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--c-graphite);
	white-space: normal;
	line-height: 1.35;
}
.snab-menu .sub-menu li > a:hover { background: rgba(242,106,27,.08); color: var(--c-accent); }
.snab-menu .sub-menu .menu-item-has-children > a::after { display: none; }

/* Подпункты в мобильном меню */
.snab-drawer__menu li { position: relative; }
.snab-drawer__toggle {
	position: absolute;
	top: 4px;
	right: 0;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: #fff;
	color: var(--c-graphite);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: background .15s, color .15s, transform .2s;
}
.snab-drawer__toggle svg { width: 18px; height: 18px; }
.snab-drawer__menu .is-open > .snab-drawer__toggle { background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: rotate(180deg); }
.snab-drawer__menu .menu-item-has-children > a { padding-right: 48px; }

.snab-drawer__menu .sub-menu {
	display: none;
	list-style: none;
	margin: 0 0 10px;
	padding: 4px 0 4px 14px;
	border-left: 2px solid var(--c-border);
}
.snab-drawer__menu .is-open > .sub-menu { display: block; }
.snab-drawer__menu .sub-menu li { border-bottom: 0; }
.snab-drawer__menu .sub-menu a { padding: 9px 2px; font-size: 15px; color: #4f565d; }
.snab-drawer__menu .sub-menu a:hover { color: var(--c-accent); }

/* ==========================================================================
   СТРАНИЦА ПОИСКА
   ========================================================================== */
.snab-searchpage__head { margin-bottom: 30px; }
.snab-searchpage__title {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.5px;
	line-height: 1.18;
	color: var(--c-graphite);
	margin: 0 0 10px;
}
.snab-searchpage__sub { font-size: 16px; color: var(--c-muted); margin: 0 0 22px; }
.snab-searchpage__sub b { color: var(--c-graphite); }

.snab-searchpage__form {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	max-width: 560px;
	height: 52px;
	padding-right: 5px;
	border: 1px solid #d8dce0;
	border-radius: 10px;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.snab-searchpage__form:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(242,106,27,.12); }
.snab-searchpage__form input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	padding: 0 16px;
	font-family: inherit;
	font-size: 15px;
	background: transparent;
	color: var(--c-text);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.snab-searchpage__form button {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--c-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background .15s;
}
.snab-searchpage__form button:hover { background: var(--c-accent-2); }
.snab-searchpage__form button svg { width: 19px; height: 19px; }

.snab-searchpage__list { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.snab-searchpage__item {
	padding: 20px 22px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: border-color .2s;
}
.snab-searchpage__item:hover { border-color: var(--c-accent); }
.snab-searchpage__item-title { display: block; font-size: 18px; font-weight: 700; color: var(--c-graphite); text-decoration: none; margin-bottom: 6px; }
.snab-searchpage__item-title:hover { color: var(--c-accent); }
.snab-searchpage__item-text { font-size: 14.5px; line-height: 1.6; color: var(--c-muted); margin: 0; }

.snab-searchpage__pagination { margin-top: 32px; }

@media (max-width: 700px) {
	.snab-searchpage__title { font-size: 26px; }
	.snab-searchpage__form { max-width: none; height: 48px; }
}

/* ==========================================================================
   СТРАНИЦА 404
   ========================================================================== */
.snab-404__code { margin: 0 0 6px; font-size: 120px; font-weight: 800; line-height: 1; letter-spacing: -4px; color: var(--c-accent); }
.snab-404__title { margin: 0 0 12px; font-size: 34px; font-weight: 800; line-height: 1.18; letter-spacing: -.5px; color: var(--c-graphite); }
.snab-404__text { max-width: 620px; margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.snab-404__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 48px; }
.snab-404__subtitle { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--c-graphite); }

@media (max-width: 700px) {
	.snab-404__code { font-size: 84px; letter-spacing: -2px; }
	.snab-404__title { font-size: 26px; }
	.snab-404__actions .snab-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   СТРАНИЦА СТАТЬИ
   ========================================================================== */
.snab-single { padding-bottom: 0; }

/* Шапка статьи */
.snab-single { padding: 26px 0 0; }
.snab-post__head { margin-bottom: 26px; }
.snab-post__title {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.5px;
	line-height: 1.2;
	color: var(--c-graphite);
	margin: 0 0 12px;
}
.snab-post__meta { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--c-muted); }
.snab-post__dot { color: currentColor; opacity: .5; }

/* Изображение статьи: во всю ширину текстовой колонки */
.snab-post__thumb {
	margin: 0 0 26px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--c-surface);
	line-height: 0;
}
.snab-post__thumb img { display: block; width: 100%; height: auto; }

/* Раскладка: текст и боковая колонка */
.snab-single .snab-container { max-width: 1320px; }
.snab-post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.snab-post__content { max-width: none; }


/* Боковая колонка едет при прокрутке */
.snab-post__layout { align-items: start; }
.snab-post__side {
	position: -webkit-sticky;
	position: sticky;
	top: 190px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: visible;
}
.snab-post__widget {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: #fff;
	padding: 24px 22px;
	box-shadow: 0 12px 30px rgba(20,24,28,.06);
}
.snab-post__widget--contact { background: var(--c-surface); border-color: transparent; box-shadow: none; }
.snab-post__widget b { display: block; font-size: 17px; font-weight: 700; color: var(--c-graphite); margin-bottom: 8px; }
.snab-post__widget p { font-size: 14px; line-height: 1.55; color: var(--c-muted); margin: 0 0 18px; }

/* Блоки под статьёй */
.snab-post__phone { display: block; font-size: 22px; font-weight: 800; color: var(--c-graphite); text-decoration: none; margin-bottom: 4px; }
.snab-post__phone:hover { color: var(--c-accent); }
.snab-post__callback { font-size: 13.5px; color: var(--c-accent); text-decoration: none; border-bottom: 1px dashed currentColor; }

/* Типографика статьи */
.snab-prose { font-size: 17px; line-height: 1.8; }
.snab-prose h2 {
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.3px;
	color: var(--c-graphite);
	margin: 38px 0 14px;
}
.snab-prose h2:first-child { margin-top: 0; }
.snab-prose h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.snab-prose p { margin: 0 0 16px; }
.snab-prose strong { color: var(--c-graphite); font-weight: 700; }

/* Маркированные списки — оранжевые кружки */
.snab-prose ul { list-style: none; margin: 0 0 20px; padding: 0; }
.snab-prose ul li {
	position: relative;
	padding-left: 22px;
	margin: 0 0 8px;
	line-height: 1.7;
}
.snab-prose ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-accent);
}

/* Нумерованные списки */
.snab-prose ol { margin: 0 0 20px; padding-left: 22px; }
.snab-prose ol li { margin: 0 0 8px; line-height: 1.7; }
.snab-prose ol li::marker { color: var(--c-accent); font-weight: 700; }

/* Цитаты и таблицы в тексте */
.snab-prose blockquote {
	margin: 26px 0;
	padding: 20px 24px;
	border-left: 4px solid var(--c-accent);
	border-radius: var(--radius);
	background: var(--c-surface);
	font-size: 16.5px;
	color: var(--c-graphite);
}
.snab-prose blockquote p:last-child { margin-bottom: 0; }
.snab-prose img { max-width: 100%; height: auto; border-radius: var(--radius-lg); margin: 10px 0 20px; }

/* Боковая колонка следует за прокруткой */

@media (max-width: 1100px) {
		}
@media (max-width: 700px) {
	.snab-prose { font-size: 16px; }
	.snab-prose h2 { font-size: 21px; margin-top: 30px; }
	.snab-prose ul li,
	.snab-prose ol li { font-size: 15.5px; }
	.snab-post__cover { max-width: none; }
}

/* Адаптив страницы статьи */
@media (max-width: 900px) {
		.snab-post__title { font-size: 28px; }
	}
@media (max-width: 600px) {
			.snab-post__title { font-size: 23px; }
		}


/* Фото статьи: без внутренних отступов */
.snab-post__content > .snab-post__thumb,
.snab-prose > .snab-post__thumb { margin: 0 0 26px; }
.snab-post__thumb img,
.snab-prose .snab-post__thumb img { margin: 0; border-radius: 0; }

/* ==========================================================================
   СТАТЬЯ: МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================================== */
@media (max-width: 1100px) {
	.snab-single .snab-container { max-width: none; }
	.snab-post__layout {
		display: block;
	}
	.snab-post__content { width: 100%; max-width: none; }
	.snab-post__side {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		margin-top: 34px;
		width: 100%;
	}
	.snab-post__widget { width: auto; }
}

@media (max-width: 700px) {
	.snab-single { padding-top: 18px; }
	.snab-post__title { font-size: 24px; line-height: 1.25; }
	.snab-post__meta { font-size: 13.5px; }
	.snab-post__thumb { margin-bottom: 20px; }
	.snab-post__side { grid-template-columns: 1fr; }
	.snab-post__widget { padding: 20px 18px; }
	.snab-prose { font-size: 16px; line-height: 1.75; }
	.snab-prose h2 { font-size: 20px; margin: 28px 0 12px; }
	.snab-prose h3 { font-size: 18px; }
	.snab-prose ul li,
	.snab-prose ol li { font-size: 15.5px; }
	.snab-inline-cta { flex-direction: column; align-items: stretch; padding: 20px; margin: 24px 0; }
	.snab-inline-cta .snab-btn { width: 100%; }
	.snab-crumbs { font-size: 12.5px; }
}

.flex-box {
	display: flex;
	gap: 15px;
}

.flex-1 {
	flex: 1;
}

.flex-2 {
	flex: 2;
}

.flex-3 {
	flex: 3;
}

@media (max-width:769px) {
	.flex-box {
		flex-direction: column;
		margin: 15px 0;
	}
	.gap-ul {
		gap: 0;
	}
}
/* ==========================================================================
   КНОПКА «ИЗГОТОВИТЬ ПО ИНДИВИДУАЛЬНЫМ РАЗМЕРАМ»
   ========================================================================== */
.snab-btn--custom,
a.snab-btn--custom {
	flex: 1 1 100%;
	height: auto;
	min-height: 48px;
	padding: 10px 22px;
	gap: 10px;
	background: rgba(242,106,27,.08);
	border: 1px dashed var(--c-accent);
	color: var(--c-accent-2) !important;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	justify-content: flex-start;
}
.snab-btn--custom:hover,
a.snab-btn--custom:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff !important;
}
.snab-btn--custom svg { flex-shrink: 0; }

@media (max-width: 600px) {
	.snab-btn--custom, a.snab-btn--custom { font-size: 13.5px; padding: 10px 16px; }
}

/* ==========================================================================
   ПОДКАТЕГОРИИ ПЛИТКАМИ
   ========================================================================== */
.snab-subcats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}
.snab-subcat {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.snab-subcat:hover { border-color: var(--c-accent); box-shadow: 0 14px 32px rgba(20,24,28,.1); transform: translateY(-3px); }
.snab-subcat__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: #f7f8f9;
	overflow: hidden;
}
.snab-subcat__media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px; box-sizing: border-box; }
.snab-subcat__body { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 16px; }
.snab-subcat__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--c-graphite); }
.snab-subcat:hover .snab-subcat__name { color: var(--c-accent); }
.snab-subcat__count { font-size: 12.5px; color: var(--c-muted); margin-left: auto; }

@media (max-width: 1400px) { .snab-subcats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1000px) { .snab-subcats { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 640px)  { .snab-subcats { grid-template-columns: 1fr 1fr; } }


/* ==========================================================================
   ВЫПАДАЮЩАЯ ПАНЕЛЬ КАТАЛОГА
   ========================================================================== */
.snab-catalog { position: relative; }
.snab-megamenu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 60;
	width: min(1100px, calc(100vw - 64px));
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 60px rgba(20,24,28,.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.snab-catalog:hover .snab-megamenu,
.snab-catalog:focus-within .snab-megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.snab-megamenu__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px 28px;
	padding: 26px 30px;
	max-height: min(70vh, 620px);
	overflow-y: auto;
}
.snab-megamenu__col { padding: 12px 0; }
.snab-megamenu__title {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-graphite);
	text-decoration: none;
	margin-bottom: 10px;
}
.snab-megamenu__title:hover { color: var(--c-accent); }
.snab-megamenu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.snab-megamenu__list a { font-size: 14px; line-height: 1.4; color: #5c636a; text-decoration: none; }
.snab-megamenu__list a:hover { color: var(--c-accent); }
.snab-megamenu__foot { grid-column: 1 / -1; border-top: 1px solid var(--c-border); margin-top: 8px; padding-top: 16px; }
.snab-megamenu__foot a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--c-accent);
	text-decoration: none;
	transition: gap .15s;
}
.snab-megamenu__foot a:hover { gap: 12px; }

@media (max-width: 1024px) { .snab-megamenu { display: none; } }

.snab-nav__inner { position: relative; }
.snab-catnav {
	position: relative;
	width: 280px;
	flex-shrink: 0;
	border: 0;
	background: transparent;
}
.snab-catnav__head {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	min-height: 52px;
	padding: 0 18px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	background: var(--c-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}
.snab-catnav__head svg { width: 18px; height: 18px; }
.snab-catnav__list {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 30;
	width: 280px;
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-top: 0;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	box-shadow: 0 14px 34px rgba(20,24,28,.1);
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.snab-catnav__item + .snab-catnav__item { border-top: 1px solid var(--c-border); }
.snab-catnav__link {
	display: block;
	padding: 11px 12px;
	border-radius: 6px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--c-graphite);
	text-decoration: none;
	transition: background .15s, color .15s;
}
.snab-catnav__link:hover { background: rgba(242,106,27,.08); color: var(--c-accent); }
.snab-catnav__link.is-current,
.snab-catnav__item.is-open > .snab-catnav__link { color: var(--c-accent); }
.snab-catnav__sub {
	display: none;
	list-style: none;
	margin: 2px 0 8px;
	padding: 0 0 0 12px;
	border-left: 2px solid var(--c-border);
}
.snab-catnav__item.is-open > .snab-catnav__sub { display: block; }
.snab-catnav__sub a {
	display: block;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: #4f565d;
	text-decoration: none;
}
.snab-catnav__sub a:hover { background: rgba(242,106,27,.07); color: var(--c-accent); }
.snab-catnav__sub a.is-current { color: var(--c-accent); font-weight: 700; }

.snab-shell { width: 100%; }

.snab-shell__main { min-width: 0; }
.snab-shell__main .snab-container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: calc(292px + 32px);
	padding-right: 32px;
}
.snab-nav__inner { align-items: stretch; }

@media (max-width: 1100px) {
	.snab-catnav { display: none; }
	.snab-shell__main .snab-container { padding-left: 32px; }
}
@media (max-width: 720px) {
	.snab-shell__main .snab-container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
	.snab-shell__main .snab-container { padding-left: 16px; padding-right: 16px; }
}


