/* ==========================================================================
   АвтоСтоп — единственный стиль сайта. Поверх Bootstrap 5.
   Палитра взята с фирменной визитки: оранжевый, красный, почти чёрный.
   ========================================================================== */

:root {
	/* фирменные цвета с визитки */
	--accent:        #f4780f;
	--accent-dark:   #d86300;
	--accent-light:  #ff9433;
	--accent-soft:   #fff3e6;
	--accent-line:   #ffd6ac;
	--red:           #dc2016;
	--red-dark:      #b71a12;

	--bg:            #f2f3f4;
	--surface:       #ffffff;
	--border:        #e0e2e5;
	--border-strong: #cfd3d7;

	--dark:          #1a1a1a;
	--dark-2:        #2b2b2b;
	--dark-3:        #3a3a3a;
	--dark-line:     #414141;

	--text:          #191919;
	--muted:         #6d7278;
	--on-dark:       #e9e9e9;
	--on-dark-muted: #a3a6aa;

	--radius:        4px;
	--radius-lg:     6px;
	--shadow:        none;
	--shadow-md:     none;
	--shadow-lg:     0 8px 26px rgba(0, 0, 0, .13);   /* только выпадающие меню */

	--skew:          -20deg;   /* наклон полос из логотипа */

	--bs-primary:    #f4780f;
	--bs-link-color: #d86300;
	--bs-link-hover-color: #f4780f;
	--bs-body-font-family: 'B612', system-ui, sans-serif;
	--bs-body-color: #191919;
	--bs-body-bg:    #f2f3f4;
	--bs-border-radius: 4px;
}

/* --------------------------------------------------------------- база --- */

body {
	font-family: 'B612', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 15px;
	line-height: 1.55;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text); line-height: 1.2; }
h1 { font-size: 2rem;    letter-spacing: -.015em; }
h2 { font-size: 1.5rem;  letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

hr { border-color: var(--border); opacity: 1; }

.container { max-width: 1120px; }

.section    { padding: 34px 0; }
.section-sm { padding: 18px 0; }

/* Заголовок блока: жирный, капсом, с фирменными полосами слева */
.section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border);
}
.section-title h2 {
	position: relative;
	margin: 0;
	padding-left: 20px;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.section-title h2::before {
	content: '';
	position: absolute;
	left: 0; top: 50%;
	transform: translateY(-50%) skewX(var(--skew));
	width: 5px; height: 1.05em;
	background: var(--accent);
	box-shadow: 7px 0 0 var(--accent);
}
.section-title .more {
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
	color: var(--accent-dark);
}
.section-title .more:hover { color: var(--accent); }
.section-title .hint {
	font-size: .75rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .04em;
	white-space: nowrap;
}

/* Фирменные полосы — декоративный элемент из логотипа */
.slashes { display: inline-flex; gap: 4px; transform: skewX(var(--skew)); }
.slashes i { display: block; width: 6px; height: 22px; background: var(--accent); }
.slashes i:nth-child(2) { opacity: .7; }
.slashes i:nth-child(3) { opacity: .4; }

/* ============================================================== ХЕДЕР === */

.site-header {
	background: var(--dark);
	color: var(--on-dark);
	border-bottom: 3px solid var(--accent);
}

/* строка 1 — оранжевая полоса */
.header-strip {
	background: var(--accent);
	font-size: .8125rem;
	font-weight: 600;
	color: #fff;
}
.header-strip .inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 32px;
}
.header-strip a { color: #fff; }
.header-strip a:hover { color: #fff; text-decoration: underline; }
.header-strip i { margin-right: 7px; opacity: .9; }

/* строка 2 */
.header-main {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 15px 0;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; display: block; }
.brand .brand-name {
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}
.brand .brand-name span { color: var(--accent); }
.brand:hover .brand-name { color: #fff; }

/* телефон — самый заметный элемент шапки */
.header-phone {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-left: auto;
	color: #fff;
}
.header-phone .ico {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--accent);
	color: #fff;
	font-size: 1rem;
	flex-shrink: 0;
	transform: skewX(var(--skew));
}
.header-phone .ico i { transform: skewX(20deg); }
.header-phone .num {
	display: block;
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.header-phone .cap {
	display: block;
	font-size: .6875rem;
	color: var(--on-dark-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.header-phone:hover .num { color: var(--accent-light); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .hbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	border-radius: var(--radius);
	color: var(--on-dark);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.header-actions .hbtn i { font-size: 1rem; }
.header-actions .hbtn:hover { background: var(--dark-3); color: #fff; }

.cart-badge {
	display: inline-grid;
	place-items: center;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--red);
	color: #fff;
	font-size: .6875rem;
	font-weight: 700;
	line-height: 1;
}

.nav-toggle {
	background: none;
	border: 0;
	color: var(--on-dark);
	font-size: 1.2rem;
	padding: 8px 10px;
	line-height: 1;
}

/* строка 3: каталог-меню + навигация */
.site-nav { background: var(--dark-2); }
.nav-row { display: flex; align-items: stretch; gap: 16px; }

/* --- выпадающее меню категорий --- */
.cat-menu { position: relative; flex-shrink: 0; }

.cat-menu-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	background: var(--accent);
	color: #fff;
	font-size: .875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	transition: background .15s;
}
.cat-menu-btn:hover { background: var(--accent-dark); }
.cat-menu-btn .caret { font-size: .65rem; transition: transform .15s; }
.cat-menu-btn[aria-expanded="true"] { background: var(--accent-dark); }
.cat-menu-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.cat-menu-list {
	position: absolute;
	top: 100%; left: 0;
	z-index: 60;
	min-width: 280px;
	margin: 0; padding: 0;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-top: 3px solid var(--accent);
	box-shadow: var(--shadow-lg);
	display: none;
}
.cat-menu-list.open { display: block; }

.cat-menu-list > li { position: relative; border-bottom: 1px solid var(--border); }
.cat-menu-list > li:last-child { border-bottom: 0; }
.cat-menu-list > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 16px;
	color: var(--text);
	font-size: .9375rem;
	font-weight: 600;
}
.cat-menu-list > li > a i { font-size: .7rem; color: #b6bcc3; }
.cat-menu-list > li:hover > a { background: var(--accent); color: #fff; }
.cat-menu-list > li:hover > a i { color: #fff; }

/* вылет с подкатегориями */
.cat-menu-subs {
	position: absolute;
	top: -1px; left: 100%;
	min-width: 250px;
	padding: 6px 0;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-top: 3px solid var(--accent);
	box-shadow: var(--shadow-lg);
	display: none;
}
.cat-menu-list > li.has-subs:hover .cat-menu-subs { display: block; }
.cat-menu-subs ul { list-style: none; margin: 0; padding: 0; }
.cat-menu-subs a {
	display: block;
	padding: 8px 16px;
	color: var(--muted);
	font-size: .875rem;
	font-weight: 500;
}
.cat-menu-subs a:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* --- навигация --- */
.nav-collapse { flex: 1; }
.nav-list {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0; padding: 0;
	height: 100%;
	flex-wrap: wrap;
}
.nav-list a {
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 48px;
	padding: 0 15px;
	color: var(--on-dark);
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-bottom: 3px solid transparent;
	transition: color .15s, background .15s, border-color .15s;
}
.nav-list a:hover { color: #fff; background: var(--dark-3); }
.nav-list a.active { color: #fff; border-bottom-color: var(--accent); }

/* ============================================================ БАННЕРЫ === */

.banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border);
}

.banner-text { position: relative; z-index: 2; }
.banner-img { margin: 0; flex-shrink: 0; }
.banner-img img { display: block; width: 100%; height: auto; }

/* большой */
.banner-lg {
	min-height: 232px;
	padding: 26px 0 26px 52px;
	background: var(--dark);
	border-color: var(--dark);
}
/* фирменные полосы из логотипа — чёткой оранжевой лесенкой по левому краю */
.banner-lg::before {
	content: '';
	position: absolute;
	top: -12%; left: -12px;
	width: 34px; height: 124%;
	background: repeating-linear-gradient(90deg,
		var(--accent) 0 7px, transparent 7px 17px);
	transform: skewX(var(--skew));
	z-index: 1;
}
.banner-lg .banner-text { max-width: 56%; }
.banner-lg .tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	background: var(--red);
	color: #fff;
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	transform: skewX(var(--skew));
}
.banner-lg .tag span { display: block; transform: skewX(20deg); }
.banner-lg h1 {
	color: #fff;
	font-size: 1.9rem;
	line-height: 1.12;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.banner-lg h1 span { color: var(--accent); }
.banner-lg p { color: var(--on-dark-muted); font-size: .9375rem; margin-bottom: 20px; }
.banner-lg .banner-img { width: 40%; max-width: 480px; align-self: flex-end; margin-left: auto; }

/* малые */
.banner-sm {
	min-height: 142px;
	padding: 16px 0 16px 20px;
}
.banner-sm .banner-text { max-width: 58%; }
.banner-sm h2 { font-size: 1.05rem; margin-bottom: 4px; text-transform: uppercase; }
.banner-sm .price { color: var(--red); font-weight: 700; font-size: .9375rem; margin-bottom: 8px; }
.banner-sm .banner-link {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.banner-sm .banner-link i { font-size: .7rem; margin-left: 4px; }
.banner-sm .banner-img { width: 42%; align-self: center; }

/* ------------------------------------------------------------- кнопки --- */

.btn {
	font-weight: 700;
	border-radius: var(--radius);
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: .875rem;
	padding: 9px 18px;
}
.btn-sm { font-size: .75rem; padding: 7px 14px; }
.btn-lg { font-size: 1rem; padding: 13px 26px; }

.btn-accent {
	background: var(--accent);
	border: 1px solid var(--accent);
	color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fff;
}

.btn-outline-accent {
	background: transparent;
	border: 1px solid var(--accent);
	color: var(--accent-dark);
}
.btn-outline-accent:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-dark-accent {
	background: var(--dark);
	border: 1px solid var(--dark);
	color: #fff;
}
.btn-dark-accent:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Кнопка «Мы на Яндекс Картах» */
.btn-yamaps {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 10px 18px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	color: var(--text);
	text-transform: none;
	letter-spacing: 0;
	transition: border-color .15s;
}
.btn-yamaps:hover { border-color: var(--red); color: var(--text); }
.btn-yamaps .ya {
	display: grid; place-items: center;
	width: 30px; height: 30px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: .95rem;
}
.btn-yamaps .t { text-align: left; line-height: 1.2; }
.btn-yamaps .t b { display: block; font-size: .875rem; font-weight: 700; }
.btn-yamaps .t span {
	display: block;
	font-size: .75rem;
	font-weight: 500;
	color: var(--muted);
	text-transform: none;
}
.btn-yamaps.on-dark {
	background: transparent;
	border-color: var(--dark-line);
	color: #fff;
}
.btn-yamaps.on-dark:hover { border-color: var(--accent); color: #fff; }
.btn-yamaps.on-dark .t span { color: var(--on-dark-muted); }

/* ------------------------------------------------------------ панели --- */

.card, .panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.panel { padding: 20px; }
.card-header { background: transparent; border-bottom: 1px solid var(--border); font-weight: 700; padding: 12px 16px; }
.card-body { padding: 16px; }

/* -------------------------------------------------------------- формы --- */

.form-control, .form-select {
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	padding: 10px 12px;
	font-size: .9375rem;
	background: var(--surface);
}
.form-control:focus, .form-select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(244, 120, 15, .16);
}
.form-label {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--muted);
	margin-bottom: 5px;
}

.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 120, 15, .16); }

/* ------------------------------------------------------- преимущества --- */

.perk {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 15px;
	height: 100%;
}
.perk i {
	color: var(--accent);
	font-size: 1.15rem;
	width: 34px; height: 34px;
	display: grid; place-items: center;
	background: var(--accent-soft);
	border-radius: var(--radius);
	flex-shrink: 0;
}
.perk h3 { font-size: .875rem; margin: 0 0 2px; text-transform: uppercase; letter-spacing: .02em; }
.perk p  { font-size: .8125rem; color: var(--muted); margin: 0; }

/* =========================================================== КАТЕГОРИИ === */

.cat-card { height: 100%; }

/* Картинка — фоном справа снизу, БЕЗ обрезки и растягивания.
   no-repeat + размер по ширине = PNG показывается целиком, в своих пропорциях. */
.cat-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 212px;
	padding: 18px 22px;
	background-color: var(--surface);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 42% auto;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color .15s;
}
/* оранжевая полоса сверху при наведении */
.cat-inner::after {
	content: '';
	position: absolute;
	left: -1px; right: -1px; top: -1px;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s;
}
.cat-card:hover .cat-inner { border-color: var(--border-strong); }
.cat-card:hover .cat-inner::after { transform: scaleX(1); }

.cat-head {
	padding-bottom: 11px;
	margin-bottom: 11px;
	border-bottom: 1px solid var(--border);
}
.cat-head h3 {
	font-size: 1.0625rem;
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.cat-head h3 a { color: var(--text); }
.cat-card:hover .cat-head h3 a { color: var(--accent-dark); }

.cat-subs {
	position: relative;
	z-index: 2;
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	max-width: 58%;
}
.cat-subs li { line-height: 1.8; }
.cat-subs a { color: var(--muted); font-size: .875rem; }
.cat-subs a:hover { color: var(--accent); }

.cat-link { position: relative; z-index: 2; margin-top: auto; }
.cat-link a {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--accent-dark);
}
.cat-link a i { font-size: .75rem; margin-left: 5px; }
.cat-link a:hover { color: var(--accent); }

/* Шапка раздела */
.cat-hero {
	display: flex;
	align-items: center;
	gap: 26px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 26px 28px;
}
.cat-hero-text { flex: 1; }
.cat-hero-text h1 { margin-bottom: 8px; text-transform: uppercase; }
.cat-hero-text p { color: var(--muted); margin-bottom: 18px; }
.cat-hero-img { margin: 0; width: 190px; flex-shrink: 0; }
.cat-hero-img img {
	display: block;
	width: 100%;
	height: auto;          /* натуральные пропорции, без обрезки */
	object-fit: contain;
}

/* Плитка подраздела */
.sub-tile {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 100%;
	padding: 12px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	font-size: .9375rem;
	font-weight: 600;
	transition: border-color .15s, background .15s, color .15s;
}
.sub-tile i { color: var(--accent); font-size: .8rem; }
.sub-tile:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.sub-tile.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.sub-tile.active i { color: #fff; }

/* ============================================================== УСЛУГИ === */

/* Карточка услуги с настоящей картинкой, а не иконкой */
.svc {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .15s;
}
.svc:hover { border-color: var(--border-strong); }

.svc-media {
	position: relative;
	display: block;
	margin: 0;
	padding: 10px;
	background: var(--surface);
	line-height: 0;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}
/* contain, а не cover: фото показывается целиком, ничего не срезается */
.svc-media img {
	width: 100%;
	height: 205px;
	object-fit: contain;
	display: block;
}

.svc-media .svc-price {
	position: absolute;
	left: 0; bottom: 12px;
	padding: 5px 14px 5px 12px;
	background: var(--accent);
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: .03em;
	transform: skewX(var(--skew));
}
.svc-media .svc-price span { display: block; line-height: 1.35; transform: skewX(20deg); }

/* Карточка в две колонки — фото крупнее, чтобы не тонуло в полях */
.svc-lg .svc-media img { height: 330px; }

.svc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.svc-body h3 {
	font-size: 1.0625rem;
	margin: 0 0 7px;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.svc-body h3 a { color: var(--text); }
.svc:hover .svc-body h3 a { color: var(--accent-dark); }
.svc-body p { font-size: .875rem; color: var(--muted); margin: 0 0 14px; }
.svc-body .svc-cta { margin-top: auto; }

/* ============================================ SEO-СТРАНИЦА (чехлы и др.) === */

.seo-hero {
	position: relative;
	overflow: hidden;
	background: var(--dark);
	border-radius: var(--radius);
	color: #fff;
	padding: 34px 36px 34px 56px;
}
.seo-hero::before {
	content: '';
	position: absolute;
	top: -12%; left: -12px;
	width: 34px; height: 124%;
	background: repeating-linear-gradient(90deg,
		var(--accent) 0 7px, transparent 7px 17px);
	transform: skewX(var(--skew));
}
.seo-hero > * { position: relative; z-index: 2; }
.seo-hero h1 {
	color: #fff;
	font-size: 2.1rem;
	text-transform: uppercase;
	line-height: 1.12;
	margin-bottom: 12px;
}
.seo-hero h1 span { color: var(--accent); }
.seo-hero .lead { color: var(--on-dark-muted); font-size: 1rem; max-width: 640px; margin-bottom: 20px; }
.seo-hero .btn-outline-accent,
.cta-dark .btn-outline-accent { color: var(--accent-light); border-color: var(--accent); }
.seo-hero .btn-outline-accent:hover,
.cta-dark .btn-outline-accent:hover { background: var(--accent); color: #fff; }

.price-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}
.price-strip .pill {
	display: flex;
	flex-direction: column;
	padding: 10px 16px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--dark-line);
	border-radius: var(--radius);
}
.price-strip .pill b { font-size: 1.25rem; color: var(--accent); line-height: 1.15; }
.price-strip .pill span { font-size: .75rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .04em; }

/* Сравнение цен «мы / авторынок» */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare > div {
	padding: 20px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--surface);
}
.compare .us { border-color: var(--accent); border-width: 2px; background: var(--accent-soft); }
.compare .lbl {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
	margin-bottom: 6px;
}
.compare .us .lbl { color: var(--accent-dark); }
.compare .amount { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.compare .us .amount { color: var(--accent-dark); }
.compare .them .amount { color: var(--muted); text-decoration: line-through; }
.compare .note { font-size: .8125rem; color: var(--muted); margin: 6px 0 0; }

/* Прайс-таблица */
.price-table { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-table th {
	background: var(--dark);
	color: #fff;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 700;
	padding: 11px 16px;
	text-align: left;
}
.price-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: .9375rem; vertical-align: top; }
.price-table tr:nth-child(even) td { background: #fafbfb; }
.price-table .p { font-weight: 700; color: var(--accent-dark); white-space: nowrap; }

/* Список с галочками */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 9px 28px; font-size: .9375rem; }
.ticks li::before {
	content: '\f00c';
	font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	left: 0; top: 1px;
	color: var(--accent);
	font-size: .8125rem;
}

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	font-weight: 700;
	font-size: .9375rem;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: '\f067';
	font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: .75rem;
	color: var(--accent);
	flex-shrink: 0;
}
.faq details[open] summary { color: var(--accent-dark); }
.faq details[open] summary::after { content: '\f068'; }
.faq .answer { padding: 0 18px 16px; font-size: .9375rem; color: var(--muted); }

/* Галерея фото */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	background: #f7f8f9;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	display: block;
}
.gallery figcaption { font-size: .8125rem; color: var(--muted); padding-top: 6px; }

/* Вариант для вертикальных снимков: картинка целиком, без обрезки */
.gallery-tall img {
	height: 300px;
	object-fit: contain;
	background: #f7f8f9;
	padding: 6px;
}

/* ====================================================== СЛАЙДЕР КАТАЛОГА === */

.cat-slider { position: relative; }

/* сцена */
.cs-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: var(--dark);
	border-radius: var(--radius);
	padding: 18px;
	overflow: hidden;
}
.cs-stage::before {
	content: '';
	position: absolute;
	top: -12%; left: -12px;
	width: 30px; height: 124%;
	background: repeating-linear-gradient(90deg,
		var(--accent) 0 6px, transparent 6px 15px);
	transform: skewX(var(--skew));
	z-index: 1;
}

.cs-frame {
	position: relative;
	z-index: 2;
	flex: 0 1 auto;
	height: min(66vh, 520px);
	aspect-ratio: 1654 / 2339;   /* лист каталога, чтобы не прыгала вёрстка */
	max-width: 100%;
	background: #55504f;
	border-radius: var(--radius);
	overflow: hidden;
}
.cs-frame img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: contain;         /* лист целиком, без обрезки */
	opacity: 0;
	transition: opacity .28s;
}
.cs-frame img.on { opacity: 1; }

/* стрелки */
.cs-arrow {
	position: relative;
	z-index: 3;
	flex-shrink: 0;
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border: 0;
	background: var(--accent);
	color: #fff;
	font-size: 1rem;
	transform: skewX(var(--skew));
	transition: background .15s, opacity .15s;
}
.cs-arrow i { transform: skewX(20deg); }
.cs-arrow:hover { background: var(--accent-dark); }
.cs-arrow:disabled { opacity: .3; cursor: default; }

/* подпись под сценой */
.cs-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 12px 16px;
	margin-top: -1px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
}
.cs-name {
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 0;
}
.cs-count { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.cs-count b { color: var(--accent-dark); }

/* лента миниатюр */
.cs-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	padding-bottom: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.cs-thumbs::-webkit-scrollbar { height: 6px; }
.cs-thumbs::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.cs-thumb {
	flex: 0 0 auto;
	width: 74px;
	padding: 0;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	background: #55504f;
	overflow: hidden;
	line-height: 0;
	transition: border-color .15s;
}
.cs-thumb img { width: 100%; height: auto; display: block; }
.cs-thumb:hover { border-color: var(--accent-line); }
.cs-thumb.on { border-color: var(--accent); }

@media (max-width: 767.98px) {
	.cs-stage { padding: 12px 8px 12px 20px; gap: 8px; }
	.cs-frame { height: min(58vh, 420px); }
	.section-title .hint { display: none; }
	.cs-arrow { width: 38px; height: 38px; }
	.cs-thumb { width: 58px; }
}

/* Плашка-предупреждение */
.notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 14px 16px;
	color: #8a4415;
	font-size: .875rem;
}
.notice i { color: var(--accent); font-size: 1.05rem; margin-top: 2px; }
.notice a { color: #8a4415; text-decoration: underline; font-weight: 700; }

/* Оранжевая полоса-призыв */
.cta-band {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: var(--accent);
	border-radius: var(--radius);
	padding: 24px 28px;
	color: #fff;
}
.cta-band::before {
	content: '';
	position: absolute;
	top: -20%; right: -30px;
	width: 220px; height: 140%;
	background: repeating-linear-gradient(90deg,
		#fff 0 14px, transparent 14px 32px);
	transform: skewX(var(--skew));
	opacity: .13;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 1.3rem; margin-bottom: 5px; text-transform: uppercase; }
.cta-band p { margin: 0; opacity: .94; font-size: .9375rem; }
.cta-band .btn-light { font-weight: 700; color: var(--accent-dark); background: #fff; border-color: #fff; }
.cta-band .btn-light:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

/* Тёмная полоса-призыв */
.cta-dark {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: var(--dark);
	border-radius: var(--radius);
	padding: 24px 28px 24px 48px;
	color: #fff;
}
.cta-dark::before {
	content: '';
	position: absolute;
	top: -12%; left: -12px;
	width: 30px; height: 124%;
	background: repeating-linear-gradient(90deg,
		var(--accent) 0 6px, transparent 6px 15px);
	transform: skewX(var(--skew));
}
.cta-dark > * { position: relative; z-index: 2; }
.cta-dark h2 { color: #fff; font-size: 1.3rem; margin-bottom: 5px; text-transform: uppercase; }
.cta-dark h2 span { color: var(--accent); }
.cta-dark p { margin: 0; color: var(--on-dark-muted); font-size: .9375rem; }

/* ----------------------------------------------------------- контакты --- */

.contact-card {
	display: flex;
	gap: 13px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px;
	height: 100%;
	transition: border-color .15s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card > i {
	width: 40px; height: 40px;
	flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: var(--radius);
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 1.05rem;
}
.contact-card h3 {
	font-size: .75rem;
	margin: 0 0 4px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--muted);
}
.contact-card p  { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--text); }
.contact-card a  { display: block; }

.map-frame {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	line-height: 0;
	background: var(--surface);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.shop-photo {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	display: block;
	object-fit: cover;
	aspect-ratio: 3 / 2;   /* совпадает с пропорциями снимков — не режет */
	background: #eceef0;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 16px 40px; counter-increment: s; }
.steps li::before {
	content: counter(s);
	position: absolute;
	left: 0; top: 0;
	width: 27px; height: 27px;
	display: grid; place-items: center;
	background: var(--accent);
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
	transform: skewX(var(--skew));
}
.steps li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 13px; top: 32px; bottom: 4px;
	width: 1px;
	background: var(--border-strong);
}
.steps li strong { display: block; font-size: .9375rem; }
.steps li span { font-size: .875rem; color: var(--muted); }

/* ------------------------------------------------------------ аккаунт --- */

.account-side { position: sticky; top: 14px; }

.account-user {
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 16px;
	margin-bottom: 10px;
}
.account-user .avatar {
	width: 42px; height: 42px;
	background: var(--accent);
	color: #fff;
	display: grid; place-items: center;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 10px;
	text-transform: uppercase;
	transform: skewX(var(--skew));
}
.account-user .avatar span { transform: skewX(20deg); }
.account-user .uname { font-weight: 700; font-size: .9375rem; }
.account-user .uinfo { font-size: .8125rem; color: var(--muted); word-break: break-word; }

.account-menu { list-style: none; margin: 0; padding: 0; }
.account-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 13px;
	border-radius: var(--radius);
	color: var(--text);
	font-size: .875rem;
	font-weight: 600;
	transition: background .15s, color .15s;
}
.account-menu a i { width: 17px; text-align: center; color: var(--muted); }
.account-menu a:hover { background: var(--surface); color: var(--accent-dark); }
.account-menu a:hover i { color: var(--accent); }
.account-menu li.active a { background: var(--accent); color: #fff; }
.account-menu li.active a i { color: #fff; }
.account-menu a.danger { color: var(--red); }
.account-menu a.danger i { color: var(--red); }
.account-menu a.danger:hover { background: #fff0ef; color: var(--red-dark); }

.account-tabs {
	display: flex;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 14px;
}
.account-tabs a {
	flex: 1;
	text-align: center;
	padding: 9px 4px;
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--muted);
	border-right: 1px solid var(--border);
}
.account-tabs a:last-child { border-right: 0; }
.account-tabs a i { display: block; font-size: 1rem; margin-bottom: 3px; }
.account-tabs a.active { color: #fff; background: var(--accent); }

.stat {
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 14px 16px;
	height: 100%;
}
.stat .num { font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--accent); }
.stat .cap { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat.green { border-left-color: #2f9e44; }
.stat.green .num { color: #2f9e44; }
.stat.blue { border-left-color: #1c7ed6; }
.stat.blue .num { color: #1c7ed6; }

/* ------------------------------------------------------------- заказы --- */

.order-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 16px;
	transition: border-color .15s;
}
.order-row:hover { border-color: var(--accent); }
.order-row .oid { font-weight: 700; color: var(--accent-dark); }
.order-row .odate { font-size: .8125rem; color: var(--muted); }
.order-row .osum { font-weight: 700; font-size: 1.0625rem; margin-left: auto; }

.status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 100px;
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.6;
	white-space: nowrap;
	background: #e9ecef;
	color: #495057;
}
.status.created   { background: #d0ebff; color: #1864ab; }
.status.payment   { background: #fff3bf; color: #8a6d00; }
.status.work      { background: var(--accent-soft); color: var(--accent-dark); }
.status.done      { background: #d3f9d8; color: #2b8a3e; }
.status.cancelled { background: #ffe3e3; color: var(--red-dark); }

/* ------------------------------------------------------------ корзина --- */

.cart-line {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 13px 0;
	border-bottom: 1px solid var(--border);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb {
	width: 58px; height: 58px;
	flex-shrink: 0;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	object-fit: contain;
	background: var(--bg);
}
.cart-line .cname { font-weight: 600; font-size: .9375rem; color: var(--text); }
.cart-line .cprice { font-size: .8125rem; color: var(--muted); }
.cart-line .cline-total { font-weight: 700; white-space: nowrap; }

.qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.qty button {
	width: 30px; height: 32px;
	border: 0;
	background: var(--bg);
	color: var(--text);
	font-size: 1rem;
	line-height: 1;
}
.qty button:hover { background: var(--accent); color: #fff; }
.qty input {
	width: 54px; height: 32px;
	border: 0;
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	text-align: center;
	font-size: .875rem;
	-moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.icon-btn { border: 0; background: none; color: #adb5bd; padding: 6px; line-height: 1; border-radius: var(--radius); }
.icon-btn:hover { color: var(--red); background: #fff0ef; }

.summary { position: sticky; top: 14px; }
.summary .line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: .9375rem;
	color: var(--muted);
}
.summary .line.total {
	border-top: 1px solid var(--border);
	margin-top: 6px;
	padding-top: 12px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
}

/* -------------------------------------------------------------- пусто --- */

.empty {
	text-align: center;
	padding: 46px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.empty i { font-size: 2.5rem; color: #ced4da; display: block; margin-bottom: 12px; }
.empty h3 { font-size: 1.0625rem; margin-bottom: 5px; text-transform: uppercase; }
.empty p { color: var(--muted); font-size: .875rem; margin-bottom: 16px; }

/* -------------------------------------------------------------- футер --- */

.site-footer {
	background: var(--dark);
	color: var(--on-dark-muted);
	font-size: .875rem;
	margin-top: 34px;
	flex-shrink: 0;
	border-top: 3px solid var(--accent);
}
.site-footer .footer-main { padding: 30px 0 24px; }
.site-footer .footer-logo { height: 32px; width: auto; display: block; margin-bottom: 13px; }
.site-footer h4 {
	color: #fff;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--dark-line);
}
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 7px; }
.site-footer .footer-bottom {
	border-top: 1px solid var(--dark-line);
	padding: 14px 0;
	font-size: .75rem;
	color: #7d8085;
}
.site-footer .tg {
	display: inline-grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--dark-3);
	color: var(--on-dark);
}
.site-footer .tg:hover { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------- прочее --- */

.breadcrumb { font-size: .8125rem; margin-bottom: 16px; --bs-breadcrumb-divider-color: #adb5bd; }
.breadcrumb-item.active { color: var(--muted); }

.table { --bs-table-bg: var(--surface); margin-bottom: 0; }
.table > :not(caption) > * > * { padding: 10px 12px; }
.table thead th {
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--muted);
	font-weight: 700;
	border-bottom: 1px solid var(--border);
}

.text-accent { color: var(--accent) !important; }
.text-red    { color: var(--red) !important; }
.bg-accent   { background: var(--accent) !important; }
.alert { border-radius: var(--radius); font-size: .9375rem; border-width: 1px; }

.lead-muted { color: var(--muted); font-size: 1rem; }

/* ============================================================= АДАПТИВ === */

@media (max-width: 1199.98px) {
	.banner-lg { min-height: 210px; }
	.banner-lg h1 { font-size: 1.65rem; }
	.cat-inner { background-size: 38% auto; }
	.nav-list a { padding: 0 11px; }
}

@media (max-width: 991.98px) {
	/* Каталог-кнопка и меню на всю ширину */
	.nav-row { flex-direction: column; gap: 0; }
	.cat-menu-btn { width: 100%; justify-content: flex-start; min-height: 46px; }
	.cat-menu-list { position: static; width: 100%; box-shadow: none; border-left: 0; border-right: 0; }
	.cat-menu-subs { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 14px; }
	.cat-menu-list > li > a i { display: none; }

	.nav-list { flex-direction: column; align-items: stretch; padding-bottom: 6px; }
	.nav-list a { min-height: 0; padding: 12px 4px; border-bottom: 1px solid var(--dark-line); border-left: 3px solid transparent; }
	.nav-list a.active { border-bottom-color: var(--dark-line); border-left-color: var(--accent); }

	.map-frame iframe { height: 320px; }
	.account-side, .summary { position: static; }

	.banner-lg { min-height: 0; padding: 24px 0 24px 24px; }
	.banner-lg .banner-text { max-width: 56%; }
	.cat-hero { flex-direction: column; align-items: flex-start; }
	.cat-hero-img { width: 150px; align-self: center; }

	.seo-hero { padding: 26px 24px; }
	.seo-hero h1 { font-size: 1.7rem; }
}

@media (max-width: 767.98px) {
	body { font-size: 14.5px; }
	h1 { font-size: 1.5rem; }
	h2 { font-size: 1.25rem; }

	.section { padding: 22px 0; }

	.header-main { gap: 12px; padding: 11px 0; flex-wrap: wrap; }
	.brand img { height: 32px; }
	.brand .brand-name { font-size: 1.1rem; }
	.header-phone .cap { display: none; }
	.header-phone .num { font-size: 1.05rem; }
	.header-phone .ico { width: 34px; height: 34px; }

	/* Баннер: текст сверху, картинка снизу */
	.banner { flex-direction: column; align-items: stretch; gap: 0; }
	.banner-lg { padding: 22px 20px 0 34px; }
	.seo-hero { padding: 22px 20px 22px 36px; }
	.cta-dark { padding-left: 36px; }
	.banner-lg h1 { font-size: 1.45rem; }
	.banner-lg .banner-text,
	.banner-sm .banner-text { max-width: 100%; }
	.banner-lg .banner-img,
	.banner-sm .banner-img { width: 100%; margin-top: 14px; }
	.banner-sm { padding: 16px 18px 0; }

	/* Карточка категории: картинка не должна лезть под текст */
	.cat-inner { min-height: 0; background-size: 34% auto; padding: 16px 18px; }
	.cat-subs { max-width: 64%; }

	.compare { grid-template-columns: 1fr; }
	.order-row .osum { margin-left: 0; }
	.cart-line { flex-wrap: wrap; }
	.cta-band, .cta-dark { padding: 20px; }
	.svc-media img { height: 185px; }
	.svc-lg .svc-media img { height: 240px; }
	.gallery img { height: 175px; }
	.gallery-tall img { height: 240px; }
}

@media (max-width: 575.98px) {
	.header-actions .hbtn .label { display: none; }
	.cat-inner { background-image: none !important; }
	.cat-subs { max-width: 100%; }
	.seo-hero h1 { font-size: 1.4rem; }
	.price-strip .pill { flex: 1 1 44%; }
}
