/* =========================================================
   Автотовары СТАРТ — фирменный стиль: графит + лайм
   ========================================================= */

:root {
	--dark: #16171b;
	--dark-2: #1f2126;
	--lime: #c8f000;
	--lime-600: #b2d600;
	--lime-ink: #4d6100;
	--white: #fff;
	--bg-gray: #f5f6f7;
	--border: #e6e8eb;
	--text: #16171b;
	--muted: #6e747d;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-hover: 0 8px 26px rgba(22, 23, 27, .13);
	--container: 1280px;
	--header-h: 68px;
	--topbar-h: 40px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--text);
	background: var(--white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select {
	font: inherit;
}

h1, h2, h3 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -.02em;
}

p {
	margin: 0;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--lime);
	color: var(--dark);
	padding: 10px 16px;
	font-weight: 700;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

:focus-visible {
	outline: 3px solid var(--lime-600);
	outline-offset: 2px;
}

/* ---------------------------------------------------------
   Кнопки и бейджи
   --------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .1s;
	text-align: center;
}

.btn:active {
	transform: translateY(1px);
}

.btn--lime {
	background: var(--lime);
	color: var(--dark);
}

.btn--lime:hover {
	background: var(--lime-600);
}

.btn--outline {
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}

.btn--outline:hover {
	border-color: var(--dark);
}

.btn--wide {
	width: 100%;
}

.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.badge--stock {
	background: rgba(200, 240, 0, .22);
	color: var(--lime-ink);
}

/* ---------------------------------------------------------
   Шапка
   --------------------------------------------------------- */

/* Липкой делаем всю шапку: верхняя полоса уезжает вверх, основная панель остаётся.
   Sticky на внутреннем блоке не работает — он прилипает только внутри своего родителя. */
.header {
	position: sticky;
	top: calc(-1 * var(--topbar-h));
	z-index: 100;
}

.header__top {
	background: var(--dark-2);
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
	height: var(--topbar-h);
}

.header__top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	flex-wrap: nowrap;
	overflow: hidden;
}

.header__top-left,
.header__top-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

.header__geo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white);
}

.header__geo svg {
	color: var(--lime);
	flex: none;
}

.header__help {
	color: rgba(255, 255, 255, .6);
}

.header__phone {
	color: var(--white);
	font-weight: 700;
	white-space: nowrap;
}

.header__phone:hover {
	color: var(--lime);
}

.header__msg {
	display: inline-flex;
	color: rgba(255, 255, 255, .75);
}

.header__msg:hover {
	color: var(--lime);
}

.header__main {
	background: var(--dark);
	transition: box-shadow .2s;
}

.header__main.is-stuck {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.header__main-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.header__logo img {
	width: 180px;
	height: auto;
}

.search {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	background: var(--white);
	border-radius: 999px;
	padding: 4px 4px 4px 44px;
	min-height: 46px;
}

.search__icon {
	position: absolute;
	left: 15px;
	color: var(--muted);
	pointer-events: none;
}

.search__input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 8px 4px;
	font-size: 15px;
	color: var(--text);
	min-width: 0;
}

.search__input:focus {
	outline: none;
}

.search__btn {
	border: 0;
	background: var(--lime);
	color: var(--dark);
	font-weight: 700;
	padding: 10px 22px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .15s;
}

.search__btn:hover {
	background: var(--lime-600);
}

.header__call,
.burger {
	display: none;
}

.mobile-menu {
	background: var(--dark-2);
	padding: 16px 0 22px;
	color: var(--white);
}

.mobile-menu__title {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .5);
	margin-bottom: 10px;
}

.mobile-menu__list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.mobile-menu__list a {
	display: flex;
	justify-content: space-between;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-weight: 600;
}

.mobile-menu__list span {
	color: rgba(255, 255, 255, .4);
	font-weight: 500;
}

/* ---------------------------------------------------------
   Карусель
   --------------------------------------------------------- */

.slider {
	padding: 20px 0 0;
}

.slider__viewport {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg-gray);
}

.slider__track {
	display: flex;
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.slider__slide {
	flex: 0 0 100%;
}

.slider__slide img {
	width: 100%;
	aspect-ratio: 2119 / 742;
	object-fit: cover;
}

.slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--dark);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s;
}

.slider__arrow:hover {
	background: var(--lime);
}

.slider__arrow--prev {
	left: 14px;
}

.slider__arrow--next {
	right: 14px;
}

.slider__dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: background-color .15s, width .15s;
}

.slider__dot.is-active {
	background: var(--lime);
	width: 22px;
	border-radius: 999px;
}

/* ---------------------------------------------------------
   Секции
   --------------------------------------------------------- */

.main {
	min-height: 50vh;
	padding-bottom: 10px;
}

.section {
	padding: 44px 0;
}

.section--gray {
	background: var(--bg-gray);
}

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.section__title {
	font-size: 30px;
	font-weight: 800;
}

.section__title--sm {
	font-size: 22px;
}

.section__lead {
	margin: 12px 0 26px;
	max-width: 760px;
	color: var(--muted);
	font-size: 16px;
}

.section__more {
	color: var(--muted);
	font-weight: 600;
	white-space: nowrap;
}

.section__more:hover {
	color: var(--text);
}

.page-title {
	font-size: 30px;
	font-weight: 800;
	margin: 6px 0 4px;
}

.page-lead {
	color: var(--muted);
	margin-bottom: 20px;
}

/* ---------------------------------------------------------
   Хлебные крошки
   --------------------------------------------------------- */

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 18px 0 10px;
	font-size: 13px;
	color: var(--muted);
}

.crumbs a:hover {
	color: var(--text);
	text-decoration: underline;
}

.crumbs__sep {
	color: var(--border);
}

.crumbs__current {
	color: var(--text);
}

/* ---------------------------------------------------------
   Сетка категорий
   --------------------------------------------------------- */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 14px;
}

.cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 20px 14px 22px;
	background: var(--bg-gray);
	border-radius: var(--radius);
	text-align: center;
	transition: background-color .15s, transform .15s, box-shadow .15s;
}

.cat-card:hover {
	background: var(--white);
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

/* Рисованная иконка занимает ту же высоту, что и фото, чтобы плитки
   в сетке были одинаковыми, пока картинки загружены не везде. */
.cat-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
}

.cat-card__icon svg {
	width: 56px;
	height: 56px;
	color: var(--dark);
}

.cat-card__icon--photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 120px;
}

.cat-card__icon--photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Смешивание убирает белую подложку у фото. Прозрачный PNG оно не портит:
	   пустые пиксели так и остаются пустыми. */
	mix-blend-mode: multiply;
}

.cat-card__name {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
}

.cat-card__count {
	font-size: 12px;
	color: var(--muted);
}

/* ---------------------------------------------------------
   Сетка товаров
   --------------------------------------------------------- */

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 16px;
}

.product-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px;
	transition: box-shadow .15s, transform .15s, border-color .15s;
}

.product-card:hover {
	box-shadow: var(--shadow-hover);
	border-color: transparent;
	transform: translateY(-2px);
}

.product-card__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	background: var(--bg-gray);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product-card__placeholder {
	padding: 22%;
	opacity: .55;
	mix-blend-mode: normal;
}

.product-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.product-card:hover .product-card__title {
	color: var(--lime-ink);
}

.product-card__sku {
	font-size: 12px;
	color: var(--muted);
	margin: 6px 0 0;
}

.product-card__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}

.price {
	font-size: 19px;
	font-weight: 800;
	white-space: nowrap;
}

.price--empty {
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
}

/* ---------------------------------------------------------
   Каталог
   --------------------------------------------------------- */

.catalog {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 28px;
	align-items: start;
	padding-bottom: 40px;
}

.catalog__filter-toggle {
	display: none;
	width: 100%;
	margin-bottom: 14px;
}

.catalog__nav-title {
	font-weight: 800;
	margin-bottom: 10px;
}

.catalog__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.catalog__nav-list a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	transition: background-color .15s;
}

.catalog__nav-list a:hover {
	background: var(--bg-gray);
}

.catalog__nav-list a.is-active {
	background: var(--lime);
	font-weight: 700;
}

.catalog__nav-list span {
	color: var(--muted);
	font-size: 12px;
}

.catalog__nav-list a.is-active span {
	color: var(--lime-ink);
}

.catalog__nav--extra {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
}

/* Короткие значения вроде 5W-30 удобнее плитками, чем списком. */
.catalog__nav-list--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.catalog__nav-list--inline a {
	padding: 6px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 13px;
}

.catalog__nav-list--inline a.is-active {
	border-color: var(--lime);
}

.catalog__promo {
	margin-top: 22px;
	padding: 20px;
	background: var(--dark);
	color: var(--white);
	border-radius: var(--radius);
}

.catalog__promo-title {
	font-weight: 800;
	margin-bottom: 6px;
}

.catalog__promo-text {
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
	margin-bottom: 14px;
}

.catalog__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.catalog__count {
	color: var(--muted);
	font-size: 14px;
}

.catalog__select {
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 16px;
	background: var(--white);
	cursor: pointer;
	font-size: 14px;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 14px;
	transition: background-color .15s, border-color .15s;
}

.pagination .page-numbers:hover {
	border-color: var(--dark);
}

.pagination .page-numbers.current {
	background: var(--lime);
	border-color: var(--lime);
}

/* Текст о разделе — под товарами, чтобы не отодвигать каталог. */
.cat-text {
	max-width: 900px;
	margin: 0 0 44px;
	padding: 24px 26px;
	background: var(--bg-gray);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.cat-text__title {
	font-size: 18px;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 10px;
}

/* ---------------------------------------------------------
   Карточка товара
   --------------------------------------------------------- */

.product {
	display: grid;
	grid-template-columns: minmax(280px, 460px) 1fr;
	gap: 40px;
	align-items: start;
	padding-bottom: 20px;
}

.product__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-gray);
	border-radius: var(--radius);
	padding: 30px;
	aspect-ratio: 1;
}

.product__image {
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product__image--placeholder {
	width: 55%;
	opacity: .5;
	mix-blend-mode: normal;
}

.product__title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 14px;
}

.product__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 20px;
}

.product__price-box {
	padding: 18px 20px;
	background: var(--bg-gray);
	border-radius: var(--radius);
	margin-bottom: 18px;
}

.product__price-box .price {
	font-size: 30px;
}

.product__price-note {
	font-size: 12px;
	color: var(--muted);
	margin-top: 6px;
}

.product__pickup {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin-bottom: 22px;
}

.product__pickup-title {
	font-weight: 800;
	margin-bottom: 6px;
}

.product__pickup-addr {
	font-size: 15px;
}

.product__pickup-hours {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 16px;
}

.product__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.product__desc {
	margin-bottom: 20px;
	color: var(--muted);
}

.product__specs {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.product__specs th,
.product__specs td {
	text-align: left;
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}

.product__specs th {
	width: 40%;
	font-weight: 500;
	color: var(--muted);
}

.product__specs a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   Преимущества
   --------------------------------------------------------- */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.feature {
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--lime);
	color: var(--dark);
	margin-bottom: 14px;
}

.feature__title {
	font-size: 17px;
	font-weight: 800;
	margin-bottom: 8px;
}

.feature__text {
	color: var(--muted);
	font-size: 14px;
}

/* ---------------------------------------------------------
   Карта «Как нас найти»
   --------------------------------------------------------- */

.map__box {
	display: grid;
	grid-template-columns: 340px 1fr;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.map__info {
	padding: 30px;
}

.map__title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 16px;
}

.map__address {
	font-size: 18px;
	font-weight: 700;
}

.map__note {
	color: var(--muted);
	font-size: 14px;
	margin-top: 4px;
}

.map__hours {
	margin: 20px 0;
	padding: 14px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.map__hours dt {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
	margin-bottom: 5px;
}

.map__hours dd {
	margin: 0;
	font-weight: 600;
}

.map__phone {
	display: inline-block;
	font-size: 22px;
	font-weight: 800;
}

.map__phone:hover {
	color: var(--lime-ink);
}

.map__cta {
	display: flex;
	margin-top: 18px;
}

.map__canvas {
	min-height: 380px;
	background: var(--bg-gray);
}

.map__canvas iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
}

/* ---------------------------------------------------------
   Форма подбора
   --------------------------------------------------------- */

.podbor__box {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.podbor__aside {
	background: var(--dark);
	color: var(--white);
	padding: 34px;
}

.podbor__title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 14px;
}

.podbor__text {
	color: rgba(255, 255, 255, .68);
	font-size: 15px;
	margin-bottom: 24px;
}

.podbor__phone {
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	color: var(--lime);
}

.podbor__hours {
	font-size: 13px;
	color: rgba(255, 255, 255, .5);
	margin-top: 6px;
}

.podbor__form {
	padding: 34px;
}

.field {
	margin-bottom: 18px;
}

.field--hp {
	position: absolute;
	left: -9999px;
}

.field__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
	margin-bottom: 7px;
}

.field__label span {
	color: #d33;
}

.field__input {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 15px;
	transition: border-color .15s;
}

.field__input:focus {
	outline: none;
	border-color: var(--lime-600);
}

.field__input.is-error {
	border-color: #d33;
}

.field__hint {
	font-size: 12px;
	color: var(--muted);
	margin-top: 6px;
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
	cursor: pointer;
}

.consent__box {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--lime-600);
	cursor: pointer;
}

.consent__text {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
}

.consent__text a {
	color: var(--text);
	text-decoration: underline;
}

.consent__text a:hover {
	color: var(--lime-ink);
}

.podbor__policy {
	font-size: 12px;
	color: var(--muted);
	margin-top: 12px;
	text-align: center;
}

.podbor__result {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.podbor__result.is-ok {
	color: var(--lime-ink);
}

.podbor__result.is-error {
	color: #d33;
}

/* ---------------------------------------------------------
   Пустые состояния и текстовые страницы
   --------------------------------------------------------- */

.empty {
	text-align: center;
	padding: 60px 20px;
}

.empty__code {
	font-size: 76px;
	font-weight: 800;
	color: var(--lime);
	line-height: 1;
}

.empty__title {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 10px;
}

.empty__text {
	color: var(--muted);
	max-width: 480px;
	margin: 0 auto 22px;
}

.empty__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.page-content {
	max-width: 800px;
	padding-bottom: 40px;
}

.prose p {
	margin-bottom: 14px;
}

.prose h2 {
	font-size: 22px;
	margin: 26px 0 12px;
}

/* ---------------------------------------------------------
   Подвал
   --------------------------------------------------------- */

.footer {
	background: var(--dark);
	color: rgba(255, 255, 255, .72);
	margin-top: 30px;
}

.footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 30px;
	padding-top: 44px;
	padding-bottom: 34px;
}

.footer__logo {
	width: 160px;
	margin-bottom: 14px;
}

.footer__tagline {
	font-size: 13px;
	color: rgba(255, 255, 255, .5);
	letter-spacing: .04em;
	text-transform: uppercase;
}

.footer__title {
	color: var(--white);
	font-weight: 800;
	margin-bottom: 14px;
}

.footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 14px;
}

.footer__list a:hover {
	color: var(--lime);
}

.footer__phone {
	color: var(--white);
	font-size: 18px;
	font-weight: 800;
}

.footer__muted {
	color: rgba(255, 255, 255, .45);
	font-size: 13px;
}

.footer__msgs {
	display: flex;
	gap: 14px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
}

.footer__msgs a {
	color: var(--lime);
}

.footer__map iframe {
	width: 100%;
	min-height: 160px;
	border: 0;
	border-radius: var(--radius-sm);
}

.footer__map-link {
	color: var(--lime);
	font-weight: 600;
	font-size: 14px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 18px;
	padding-bottom: 22px;
	font-size: 12px;
	color: rgba(255, 255, 255, .42);
	flex-wrap: wrap;
}

.footer__copy a {
	color: rgba(255, 255, 255, .6);
	text-decoration: underline;
	margin-left: 6px;
}

.footer__copy a:hover {
	color: var(--lime);
}

/* ---------------------------------------------------------
   Адаптив
   --------------------------------------------------------- */

@media (max-width: 1024px) {
	.catalog {
		grid-template-columns: 1fr;
	}

	.catalog__filter-toggle {
		display: block;
	}

	.catalog__nav {
		display: none;
		padding: 16px;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		margin-bottom: 16px;
	}

	.catalog__nav.is-open {
		display: block;
	}

	.catalog__promo {
		display: none;
	}

	.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.podbor__box,
	.map__box {
		grid-template-columns: 1fr;
	}

	.map__info {
		padding: 24px 22px;
	}

	.map__canvas,
	.map__canvas iframe {
		min-height: 300px;
	}

	.podbor__aside,
	.podbor__form {
		padding: 26px 22px;
	}
}

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

	.header__top-inner {
		font-size: 12px;
		justify-content: center;
		gap: 10px;
	}

	.header__hours,
	.header__help {
		display: none;
	}

	.header__logo img {
		width: 128px;
	}

	.header__main-inner {
		gap: 10px;
		flex-wrap: wrap;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.search {
		order: 3;
		flex-basis: 100%;
		padding-left: 40px;
		min-height: 42px;
	}

	.search__icon {
		left: 13px;
	}

	.search__btn {
		padding: 9px 16px;
		font-size: 14px;
	}

	.header__call {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: var(--lime);
		color: var(--dark);
		margin-left: auto;
		flex: none;
	}

	.burger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 42px;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, .1);
		cursor: pointer;
		padding: 0 11px;
		flex: none;
	}

	.burger span {
		display: block;
		height: 2px;
		background: var(--white);
		border-radius: 2px;
		transition: transform .2s, opacity .2s;
	}

	.burger.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.burger.is-open span:nth-child(2) {
		opacity: 0;
	}

	.burger.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.section {
		padding: 30px 0;
	}

	.section__title,
	.page-title {
		font-size: 23px;
	}

	.section__lead {
		font-size: 15px;
	}

	.cat-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 10px;
	}

	.cat-card {
		padding: 16px 10px;
	}

	.cat-card__icon svg {
		width: 36px;
		height: 36px;
	}

	.product-grid {
		grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
		gap: 10px;
	}

	.product-card {
		padding: 10px;
	}

	.product-card__title {
		font-size: 13px;
	}

	.price {
		font-size: 17px;
	}

	/* На узких экранах баннер занимает всю ширину — иначе текст на нём мелкий. */
	.slider {
		padding-top: 12px;
	}

	.slider .container {
		padding: 0;
	}

	.slider__viewport {
		border-radius: 0;
	}

	/* Листается свайпом, стрелки только мешают на маленьком баннере. */
	.slider__arrow {
		display: none;
	}

	.slider__dots {
		bottom: 8px;
	}

	.product__title {
		font-size: 21px;
	}

	.product__media {
		padding: 20px;
	}

	.podbor__title {
		font-size: 22px;
	}

	.footer__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 30px;
	}

	.footer__bottom-inner {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 420px) {
	.product-grid,
	.cat-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
