/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fafafa;
}
a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main { padding: 30px 0; min-height: 70vh; }

/* === Header === */
.header { background: #1a1a2e; color: #fff; padding: 15px 0; }
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.header__logo { color: #fff; font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.header__logo:hover { color: #fff; text-decoration: none; }
.header__nav a { color: #cbd5e1; text-decoration: none; margin-left: 24px; font-size: 0.95rem; transition: color .2s; }
.header__nav a:hover { color: #fff; text-decoration: none; }

/* === Footer === */
.footer { background: #f1f5f9; border-top: 1px solid #e2e8f0; padding: 20px 0; text-align: center; color: #64748b; font-size: 0.85rem; }

/* === Breadcrumbs === */
.breadcrumbs { font-size: 0.85rem; color: #64748b; margin-bottom: 16px; }
.breadcrumbs a { color: #2563eb; }
.breadcrumbs span { color: #94a3b8; }

/* === Home Sections === */
.home-section { margin-bottom: 48px; }
.home-section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.home-section__header h2 { font-size: 1.4rem; color: #1e293b; }
.home-section__link { font-size: 0.9rem; color: #2563eb; white-space: nowrap; }

/* === Categories Grid (home) === */
.categories-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.category-card {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #334155;
    font-size: 0.9rem;
    transition: all .2s;
}
.category-card:hover { background: #2563eb; color: #fff; border-color: #2563eb; text-decoration: none; }

/* === Articles Grid === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.articles-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* === Article Card === */
.article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.article-card__image { aspect-ratio: 16/10; overflow: hidden; background: #f1f5f9; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 16px; }
.article-card__meta { display: flex; gap: 12px; font-size: 0.8rem; color: #94a3b8; margin-bottom: 8px; }
.article-card__meta time { color: #64748b; }
.article-card__category a { color: #2563eb; font-weight: 500; }
.article-card__title { font-size: 1.05rem; line-height: 1.4; margin-bottom: 8px; }
.article-card__title a { color: #1e293b; }
.article-card__title a:hover { color: #2563eb; text-decoration: none; }
.article-card__annotation { font-size: 0.88rem; color: #64748b; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* === Articles Page Layout (content + sidebar) === */
.articles-page__header { margin-bottom: 24px; }
.articles-page__header h1 { font-size: 1.6rem; color: #1e293b; margin-bottom: 4px; }
.articles-page__count { font-size: 0.85rem; color: #94a3b8; }
.articles-page__layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; }

/* === Sidebar === */
.sidebar__block { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; }
.sidebar__title { font-size: 1rem; color: #1e293b; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.sidebar__list li { margin-bottom: 4px; }
.sidebar__list li a { display: block; padding: 5px 10px; border-radius: 4px; color: #475569; font-size: 0.9rem; transition: all .15s; }
.sidebar__list li a:hover { background: #f1f5f9; color: #2563eb; text-decoration: none; }
.sidebar__list li.active > a { background: #2563eb; color: #fff; }
.sidebar__list ul { margin-left: 16px; margin-bottom: 4px; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 32px; }
.pagination__link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid #e2e8f0; border-radius: 6px;
    color: #475569; font-size: 0.9rem; transition: all .15s;
}
.pagination__link:hover { background: #f1f5f9; border-color: #cbd5e1; text-decoration: none; }
.pagination__link--active { background: #2563eb; color: #fff; border-color: #2563eb; }
.pagination__dots { color: #94a3b8; padding: 0 4px; }

/* === Single Article === */
.article-single { max-width: 800px; }
.article-single__title { font-size: 1.8rem; color: #1e293b; margin-bottom: 12px; line-height: 1.3; }
.article-single__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: #64748b; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.article-single__annotation { background: #f8fafc; border-left: 4px solid #2563eb; padding: 16px 20px; margin-bottom: 24px; border-radius: 0 8px 8px 0; }
.article-single__annotation p { color: #475569; font-size: 1rem; font-style: italic; }

.article-single__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 24px; }
.article-single__photo { background: #f1f5f9; border-radius: 8px; overflow: hidden; }
.article-single__photo img { width: 100%; }
.article-single__photo figcaption { padding: 8px 12px; font-size: 0.8rem; color: #64748b; }

.article-single__text { font-size: 1rem; line-height: 1.75; margin-bottom: 32px; }
.article-single__text p { margin-bottom: 16px; }
.article-single__text h2, .article-single__text h3 { margin-top: 24px; margin-bottom: 12px; color: #1e293b; }
.article-single__text img { border-radius: 8px; margin: 16px 0; }
.article-single__text ul, .article-single__text ol { margin: 12px 0 12px 24px; }

.article-single__videos { margin-bottom: 24px; }
.article-single__videos h3 { margin-bottom: 12px; }
.article-single__video { margin-bottom: 16px; }
.article-single__video iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 8px; }

.article-single__related-cars { margin-bottom: 24px; }
.article-single__related-cars h3 { margin-bottom: 8px; }
.article-single__related-cars ul { margin-left: 20px; list-style: disc; }
.article-single__related-cars li { margin-bottom: 4px; color: #475569; }

.article-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag { display: inline-block; padding: 4px 12px; background: #f1f5f9; border-radius: 20px; font-size: 0.8rem; color: #475569; }

.article-single__source { font-size: 0.85rem; color: #94a3b8; padding-top: 16px; border-top: 1px solid #e2e8f0; }

/* === Review Card === */
.review-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.review-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.review-card__image { aspect-ratio: 16/10; overflow: hidden; background: #f1f5f9; }
.review-card__image img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body { padding: 16px; }
.review-card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #94a3b8; margin-bottom: 8px; }
.review-card__grade { display: inline-block; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.85rem; color: #fff; }
.review-card__grade--good { background: #22c55e; }
.review-card__grade--normal { background: #f59e0b; }
.review-card__grade--low { background: #ef4444; }
.review-card__title { font-size: 1.05rem; line-height: 1.4; margin-bottom: 6px; }
.review-card__title a { color: #1e293b; }
.review-card__title a:hover { color: #2563eb; text-decoration: none; }
.review-card__year { color: #94a3b8; font-weight: 400; }
.review-card__info { display: flex; gap: 12px; font-size: 0.8rem; color: #64748b; margin-bottom: 4px; }
.review-card__author { font-size: 0.8rem; color: #94a3b8; }

/* === Review Single Page === */
.review-single { max-width: 860px; }

/* Hero header */
.review-hero { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 20px; }
.review-hero__title { font-size: 1.8rem; color: #1e293b; line-height: 1.3; margin: 0; }
.review-hero__subtitle { font-size: 0.9rem; color: #94a3b8; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.review-hero__grade { flex-shrink: 0; width: 72px; height: 72px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.review-hero__grade--good { background: linear-gradient(135deg, #22c55e, #16a34a); }
.review-hero__grade--normal { background: linear-gradient(135deg, #f59e0b, #d97706); }
.review-hero__grade--low { background: linear-gradient(135deg, #ef4444, #dc2626); }
.review-hero__grade-value { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.review-hero__grade-label { font-size: 0.7rem; opacity: 0.85; }

/* Author bar */
.review-author-bar { display: flex; flex-wrap: wrap; gap: 20px; padding: 14px 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 24px; font-size: 0.88rem; color: #475569; }
.review-author-bar__item { display: flex; align-items: center; gap: 6px; }
.review-author-bar__item svg { color: #94a3b8; flex-shrink: 0; }

/* Two-column layout */
.review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }

/* Specs */
.review-specs { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px 24px; }
.review-specs h3 { font-size: 1.05rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.review-specs h3 svg { color: #64748b; }
.review-specs__table { width: 100%; border-collapse: collapse; }
.review-specs__table td { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; }
.review-specs__table tr:last-child td { border-bottom: none; }
.review-specs__table td:first-child { color: #64748b; padding-right: 12px; }
.review-specs__table td:last-child { text-align: right; }
.review-specs__table strong { color: #1e293b; font-weight: 600; }

/* Grades */
.review-grades { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px 24px; display: flex; flex-direction: column; }
.review-grades h3 { font-size: 1.05rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.review-grades h3 svg { color: #f59e0b; }
.review-grades__list { flex: 1; }
.review-grades__item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-grades__label { flex: 0 0 120px; font-size: 0.85rem; color: #475569; }
.review-grades__bar { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.review-grades__fill { height: 100%; border-radius: 4px; transition: width .4s ease; }
.review-grades__value { flex: 0 0 22px; font-size: 0.88rem; font-weight: 700; color: #1e293b; text-align: right; }
.review-grades__total { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; margin-top: 8px; border-top: 1px solid #e2e8f0; font-size: 0.9rem; color: #64748b; }
.review-grades__total-value { font-size: 1.2rem; }
.review-grades__total-value--good { color: #16a34a; }
.review-grades__total-value--normal { color: #d97706; }
.review-grades__total-value--low { color: #dc2626; }

/* Photos */
.review-photos { margin-bottom: 28px; }
.review-photos h3 { font-size: 1.05rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.review-photos h3 svg { color: #64748b; }
.review-photos__count { font-size: 0.8rem; color: #94a3b8; font-weight: 400; margin-left: 4px; }
.review-photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.review-photos__item { background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.review-photos__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.review-photos__item:hover img { transform: scale(1.03); }
.review-photos__item figcaption { padding: 8px 12px; font-size: 0.8rem; color: #64748b; }

/* Main review text */
.review-text { font-size: 1rem; line-height: 1.8; color: #334155; margin-bottom: 28px; padding: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.review-text p { margin-bottom: 12px; }
.review-text p:last-child { margin-bottom: 0; }

/* Verdicts (plus/minus/result) */
.review-verdicts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.review-verdict { display: flex; gap: 16px; padding: 18px 22px; border-radius: 10px; }
.review-verdict__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.review-verdict__content { flex: 1; min-width: 0; }
.review-verdict__content h3 { font-size: 1rem; margin-bottom: 8px; }
.review-verdict__text { font-size: 0.95rem; line-height: 1.7; color: #475569; }
.review-verdict__text p { margin-bottom: 8px; }
.review-verdict__text p:last-child { margin-bottom: 0; }

.review-verdict--plus { background: #f0fdf4; border: 1px solid #bbf7d0; }
.review-verdict--plus .review-verdict__icon { background: #dcfce7; color: #16a34a; }
.review-verdict--plus h3 { color: #15803d; }
.review-verdict--minus { background: #fef2f2; border: 1px solid #fecaca; }
.review-verdict--minus .review-verdict__icon { background: #fee2e2; color: #dc2626; }
.review-verdict--minus h3 { color: #b91c1c; }
.review-verdict--result { background: #eff6ff; border: 1px solid #bfdbfe; }
.review-verdict--result .review-verdict__icon { background: #dbeafe; color: #2563eb; }
.review-verdict--result h3 { color: #1d4ed8; }

/* Additions */
.review-additions { margin-bottom: 28px; }
.review-additions__title { font-size: 1.1rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.review-additions__title svg { color: #64748b; }
.review-additions__count { font-size: 0.75rem; background: #e2e8f0; color: #475569; padding: 2px 8px; border-radius: 10px; font-weight: 600; margin-left: 4px; }
.review-addition { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; transition: box-shadow .2s; }
.review-addition:hover { box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.review-addition__header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.85rem; color: #64748b; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.review-addition__num { background: #f1f5f9; color: #475569; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.8rem; }
.review-addition__reason { color: #2563eb; font-weight: 500; }
.review-addition__text { font-size: 0.95rem; line-height: 1.7; color: #475569; }
.review-addition__text p { margin-bottom: 8px; }
.review-addition__text p:last-child { margin-bottom: 0; }
.review-addition__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 14px; }
.review-addition__photos figure { border-radius: 8px; overflow: hidden; background: #f1f5f9; }
.review-addition__photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Feedback (thumbs) */
.review-feedback { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
.review-feedback__label { font-size: 0.9rem; color: #64748b; }
.review-feedback__buttons { display: flex; gap: 10px; margin-left: auto; }
.review-feedback__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.review-feedback__btn--up { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.review-feedback__btn--up:hover { background: #dcfce7; }
.review-feedback__btn--down { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.review-feedback__btn--down:hover { background: #fee2e2; }
.review-feedback__btn svg { flex-shrink: 0; }

/* === Sidebar Count === */
.sidebar__count { color: #94a3b8; font-size: 0.8rem; }

/* ============================================================
   Catalog Pages (/catalog)
   ============================================================ */

.cat-page { max-width: 960px; }

/* Hero (index) */
.cat-hero { margin-bottom: 28px; }
.cat-hero__title { font-size: 1.8rem; color: #1e293b; margin-bottom: 6px; }
.cat-hero__desc { font-size: 0.95rem; color: #64748b; line-height: 1.6; }

/* Header (inner pages) */
.cat-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-header__title { font-size: 1.6rem; color: #1e293b; margin: 0; }
.cat-header__count { font-size: 0.85rem; color: #94a3b8; background: #f1f5f9; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }

/* Intro text */
.cat-intro { font-size: 0.95rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; padding: 14px 18px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }

/* Vehicle type cards (index page) */
.cat-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-types__card { display: flex; flex-direction: column; align-items: center; padding: 32px 24px 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; transition: all .25s; text-decoration: none; position: relative; }
.cat-types__card:hover { border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,.12); transform: translateY(-3px); text-decoration: none; }
.cat-types__card--disabled { opacity: 0.5; pointer-events: none; cursor: default; }
.cat-types__icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cat-types__icon--cars { background: #eff6ff; color: #2563eb; }
.cat-types__icon--trucks { background: #fef3c7; color: #d97706; }
.cat-types__icon--special { background: #f1f5f9; color: #64748b; }
.cat-types__name { font-size: 1.1rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.cat-types__hint { font-size: 0.8rem; color: #94a3b8; text-align: center; }
.cat-types__arrow { position: absolute; bottom: 14px; right: 14px; color: #cbd5e1; transition: color .2s; }
.cat-types__card:hover .cat-types__arrow { color: #2563eb; }
.cat-types__badge { position: absolute; top: 12px; right: 12px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; background: #e2e8f0; color: #64748b; padding: 2px 8px; border-radius: 8px; letter-spacing: 0.5px; }

/* Filter buttons */
.cat-filter { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.cat-filter__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; font-size: 0.85rem; color: #475569; cursor: pointer; transition: all .2s; font-family: inherit; }
.cat-filter__btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.cat-filter__btn--active { background: #2563eb; color: #fff; border-color: #2563eb; }
.cat-filter__btn--active:hover { background: #1d4ed8; }
.cat-filter__btn svg { flex-shrink: 0; }

/* Alphabet nav */
.cat-alphabet { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.cat-alphabet__link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: #475569; transition: all .15s; text-decoration: none; }
.cat-alphabet__link:hover { background: #2563eb; color: #fff; text-decoration: none; }

/* Makes list (grouped by letter) */
.cat-makes { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.cat-makes__group { display: flex; gap: 0; border-bottom: 1px solid #f1f5f9; padding: 10px 0; }
.cat-makes__group:last-child { border-bottom: none; }
.cat-makes__letter { flex: 0 0 40px; font-size: 1.2rem; font-weight: 700; color: #2563eb; padding-top: 6px; }
.cat-makes__items { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-makes__card { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 8px; font-size: 0.9rem; color: #334155; transition: all .15s; text-decoration: none; border: 1px solid transparent; }
.cat-makes__card:hover { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; text-decoration: none; }
.cat-makes__card--popular { font-weight: 600; }
.cat-makes__card--popular .cat-makes__name { color: #1e293b; }
.cat-makes__card--rus .cat-makes__name { color: #b91c1c; }
.cat-makes__meta { display: flex; align-items: center; gap: 6px; }
.cat-makes__mods { font-size: 0.75rem; color: #94a3b8; background: #f1f5f9; padding: 1px 7px; border-radius: 10px; }
.cat-makes__photos { display: inline-flex; align-items: center; gap: 2px; font-size: 0.72rem; color: #94a3b8; }
.cat-makes__photos svg { color: #cbd5e1; }

/* Models grid */
.cat-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 24px; }
.cat-models__card { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: all .2s; text-decoration: none; }
.cat-models__card:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,.08); text-decoration: none; }
.cat-models__card--popular { border-left: 3px solid #f59e0b; }
.cat-models__card--new { }
.cat-models__name { font-weight: 500; color: #1e293b; font-size: 0.95rem; }
.cat-models__meta { display: flex; align-items: center; gap: 6px; }
.cat-models__mods { font-size: 0.75rem; color: #94a3b8; }
.cat-models__photos { display: inline-flex; align-items: center; gap: 2px; font-size: 0.72rem; color: #94a3b8; }
.cat-models__photos svg { color: #cbd5e1; }

/* Generations list */
.cat-gens { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.cat-gens__card { display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: all .2s; text-decoration: none; }
.cat-gens__card:hover { border-color: #2563eb; box-shadow: 0 2px 10px rgba(37,99,235,.1); text-decoration: none; }
.cat-gens__photo { flex: 0 0 120px; height: 90px; border-radius: 8px; overflow: hidden; background: #f1f5f9; }
.cat-gens__photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-gens__photo--empty { display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
.cat-gens__info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cat-gens__name { font-size: 1rem; font-weight: 600; color: #1e293b; margin: 0; }
.cat-gens__years { font-size: 0.85rem; color: #64748b; }
.cat-gens__code { font-size: 0.75rem; color: #94a3b8; background: #f1f5f9; padding: 1px 6px; border-radius: 4px; display: inline-block; width: fit-content; }
.cat-gens__stats { display: flex; gap: 12px; margin-top: auto; }
.cat-gens__mods, .cat-gens__photos { display: inline-flex; align-items: center; gap: 3px; font-size: 0.75rem; color: #94a3b8; }
.cat-gens__mods svg, .cat-gens__photos svg { color: #cbd5e1; }

/* Generation detail */
.cat-gen-subtitle { font-size: 0.92rem; color: #64748b; margin-bottom: 24px; line-height: 1.6; }
.cat-gen-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }

/* Generation gallery */
.cat-gen-gallery { }
.cat-gen-gallery__main { display: block; border-radius: 10px; overflow: hidden; background: #f1f5f9; margin-bottom: 10px; }
.cat-gen-gallery__main img { width: 100%; }
.cat-gen-gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.cat-gen-gallery__thumb { display: block; width: 60px; height: 45px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.cat-gen-gallery__thumb:hover { border-color: #2563eb; }
.cat-gen-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-gen-gallery__total { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; color: #94a3b8; }

/* Generation summary */
.cat-gen-summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; }
.cat-gen-summary__table { width: 100%; border-collapse: collapse; }
.cat-gen-summary__table td { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; }
.cat-gen-summary__table tr:last-child td { border-bottom: none; }
.cat-gen-summary__table td:first-child { color: #64748b; padding-right: 12px; width: 40%; }
.cat-gen-summary__table strong { color: #1e293b; font-weight: 600; }
.cat-gen-summary__price { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 0.95rem; color: #64748b; }
.cat-gen-summary__price strong { color: #1e293b; font-size: 1.1rem; }

/* Generation description */
.cat-gen-desc { margin-bottom: 28px; font-size: 0.95rem; line-height: 1.7; color: #475569; padding: 18px 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.cat-gen-desc__more { display: inline-block; margin-top: 8px; font-size: 0.85rem; color: #2563eb; }

/* Section title */
.cat-section-title { font-size: 1.15rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.cat-section-count { font-size: 0.75rem; background: #e2e8f0; color: #475569; padding: 2px 8px; border-radius: 10px; font-weight: 600; }

/* Modifications table */
.cat-mods-wrap { overflow-x: auto; margin-bottom: 28px; border: 1px solid #e2e8f0; border-radius: 10px; }
.cat-mods { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.cat-mods thead { background: #f8fafc; }
.cat-mods th { padding: 10px 12px; text-align: left; font-weight: 600; color: #475569; font-size: 0.8rem; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.cat-mods td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; color: #475569; }
.cat-mods tbody tr:hover { background: #f8fafc; }
.cat-mods tbody tr:last-child td { border-bottom: none; }
.cat-mods td a { color: #2563eb; font-weight: 500; }
.cat-mods td a:hover { text-decoration: underline; }
.cat-mods small { color: #94a3b8; }
.cat-mods .nowrap { white-space: nowrap; }

/* Modification detail page */
.cat-mod-release { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #64748b; margin-bottom: 8px; }
.cat-mod-release svg { color: #94a3b8; }
.cat-mod-price { font-size: 1rem; color: #475569; margin-bottom: 24px; }
.cat-mod-price strong { color: #1e293b; font-size: 1.15rem; }

.cat-mod-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 28px; }
.cat-mod-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 20px; }
.cat-mod-section__title { font-size: 0.95rem; color: #1e293b; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.cat-mod-section__title svg { color: #64748b; flex-shrink: 0; }
.cat-mod-table { width: 100%; border-collapse: collapse; }
.cat-mod-table td { padding: 7px 0; font-size: 0.88rem; border-bottom: 1px solid #f8fafc; }
.cat-mod-table tr:last-child td { border-bottom: none; }
.cat-mod-table td:first-child { color: #64748b; padding-right: 12px; width: 45%; }
.cat-mod-table td:last-child { color: #1e293b; font-weight: 500; }

.cat-mod-back { padding-top: 16px; border-top: 1px solid #e2e8f0; }
.cat-mod-back a { display: inline-flex; align-items: center; gap: 6px; color: #2563eb; font-size: 0.9rem; }

/* Description block */
.cat-description { margin-top: 24px; padding: 18px 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 0.95rem; line-height: 1.7; color: #475569; }

/* Empty state */
.cat-empty { text-align: center; padding: 48px 20px; color: #94a3b8; font-size: 0.95rem; }

/* ============================================================
   Vehicle Pages (/cars, /trucks, /special)
   ============================================================ */

/* Page container */
.veh-page { max-width: 1100px; }
.veh-page__title { font-size: 1.6rem; color: #1e293b; margin-bottom: 16px; }

/* Hero */
.veh-hero { margin-bottom: 24px; }
.veh-hero__title { font-size: 1.8rem; color: #1e293b; margin-bottom: 6px; }
.veh-hero__desc { font-size: 0.95rem; color: #64748b; }

/* Section title */
.veh-section-title { font-size: 1.1rem; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.veh-section-title svg { color: #64748b; }

/* Tabs (Все / Подержанные / Новые) */
.veh-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.veh-tabs__item { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: #475569; background: #fff; border: 1px solid #e2e8f0; transition: all .2s; text-decoration: none; }
.veh-tabs__item:hover { background: #f8fafc; border-color: #cbd5e1; color: #1e293b; text-decoration: none; }
.veh-tabs__item--active { background: #2563eb; color: #fff; border-color: #2563eb; }
.veh-tabs__item--active:hover { background: #1d4ed8; color: #fff; }
.veh-tabs__item--disabled { opacity: 0.4; pointer-events: none; }
.veh-tabs__count { font-size: 0.8rem; opacity: 0.7; }

/* Classes (trucks/special categories) — card grid */
.veh-classes { margin-bottom: 28px; }
.veh-classes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.veh-classes__card { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: all .2s; text-decoration: none; }
.veh-classes__card:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,.1); text-decoration: none; }
.veh-classes__name { font-weight: 500; color: #1e293b; font-size: 0.95rem; }
.veh-classes__count { font-size: 0.8rem; color: #94a3b8; }

/* Classes — inline tag variant (for listing page) */
.veh-classes__grid--inline { display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
.veh-classes__tag { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; font-size: 0.85rem; color: #475569; transition: all .2s; text-decoration: none; }
.veh-classes__tag:hover { border-color: #2563eb; color: #2563eb; text-decoration: none; }
.veh-classes__tag--active { background: #2563eb; color: #fff; border-color: #2563eb; }
.veh-classes__tag span { font-size: 0.8rem; opacity: 0.7; }

/* Makes — alphabet + grouped list */
.veh-makes { margin-bottom: 28px; }
.veh-makes__alphabet { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.veh-makes__alpha-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: #475569; transition: all .15s; text-decoration: none; }
.veh-makes__alpha-link:hover { background: #2563eb; color: #fff; text-decoration: none; }

.veh-makes__list { display: flex; flex-direction: column; gap: 4px; }
.veh-makes__group { display: flex; gap: 0; border-bottom: 1px solid #f1f5f9; padding: 8px 0; }
.veh-makes__group:last-child { border-bottom: none; }
.veh-makes__letter { flex: 0 0 36px; font-size: 1.1rem; font-weight: 700; color: #2563eb; padding-top: 6px; }
.veh-makes__items { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.veh-makes__card { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 6px; font-size: 0.9rem; color: #334155; transition: all .15s; text-decoration: none; }
.veh-makes__card:hover { background: #eff6ff; color: #2563eb; text-decoration: none; }
.veh-makes__card--popular { font-weight: 600; }
.veh-makes__card--popular .veh-makes__name { color: #1e293b; }
.veh-makes__card--rus .veh-makes__name { color: #b91c1c; }
.veh-makes__name { }
.veh-makes__offer-count { font-size: 0.75rem; color: #94a3b8; background: #f1f5f9; padding: 1px 6px; border-radius: 10px; }

/* Models — tag cloud */
.veh-models { margin-bottom: 24px; }
.veh-models__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.veh-models__tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem; color: #334155; transition: all .15s; text-decoration: none; }
.veh-models__tag:hover { border-color: #2563eb; color: #2563eb; text-decoration: none; }
.veh-models__tag--active { background: #2563eb; color: #fff; border-color: #2563eb; font-weight: 600; }
.veh-models__tag-count { font-size: 0.75rem; opacity: 0.6; }

/* Offers bar (total + sort) */
.veh-offers-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 16px; }
.veh-offers-bar__total { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: #1e293b; }
.veh-offers-bar__total svg { color: #64748b; }
.veh-offers-bar__sort { display: flex; gap: 4px; flex-wrap: wrap; }
.veh-sort__item { padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; color: #64748b; transition: all .15s; text-decoration: none; }
.veh-sort__item:hover { background: #e2e8f0; color: #1e293b; text-decoration: none; }
.veh-sort__item--active { background: #1e293b; color: #fff; font-weight: 600; }

/* Offer card */
.veh-offers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.veh-offer { display: flex; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; transition: all .2s; align-items: center; }
.veh-offer:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.veh-offer--fresh { border-left: 3px solid #22c55e; }

/* Offer photo */
.veh-offer__photo { flex: 0 0 180px; height: 120px; border-radius: 8px; overflow: hidden; background: #f1f5f9; position: relative; display: block; }
.veh-offer__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.veh-offer__photo:hover img { transform: scale(1.05); }
.veh-offer__no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
.veh-offer__photo-badge { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 0.7rem; padding: 2px 7px; border-radius: 4px; display: flex; align-items: center; gap: 3px; }
.veh-offer__new-badge { position: absolute; top: 6px; left: 6px; background: #22c55e; color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; }

/* Offer body (info) */
.veh-offer__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.veh-offer__title { font-size: 1rem; margin: 0; line-height: 1.3; }
.veh-offer__title a { color: #1e293b; text-decoration: none; }
.veh-offer__title a:hover { color: #2563eb; }
.veh-offer__compl { font-size: 0.8rem; color: #94a3b8; font-weight: 400; margin-left: 6px; }
.veh-offer__specs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: #64748b; }
.veh-offer__specs span { display: inline-flex; align-items: center; }
.veh-offer__year { font-weight: 500; color: #475569; }
.veh-offer__run--new { color: #22c55e; font-weight: 500; }
.veh-offer__tech { color: #94a3b8; }
.veh-offer__body-type { font-size: 0.8rem; color: #94a3b8; }
.veh-offer__beaten { color: #ef4444; font-weight: 600; font-size: 0.75rem; background: #fef2f2; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }

/* Offer right column (price, location, date) */
.veh-offer__right { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.veh-offer__price { font-size: 1.15rem; font-weight: 700; color: #1e293b; white-space: nowrap; }
.veh-offer__location { font-size: 0.8rem; color: #64748b; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.veh-offer__location svg { color: #94a3b8; }
.veh-offer__date { font-size: 0.75rem; color: #94a3b8; }

/* Empty state */
.veh-empty { text-align: center; padding: 60px 20px; color: #94a3b8; }
.veh-empty svg { margin-bottom: 12px; }
.veh-empty p { font-size: 1rem; }

/* === Responsive === */
@media (max-width: 768px) {
    .articles-page__layout { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-single__title { font-size: 1.4rem; }
    .header__inner { flex-direction: column; gap: 10px; }
    .header__nav a { margin-left: 0; margin-right: 16px; }
    .review-columns { grid-template-columns: 1fr; }
    .review-hero__title { font-size: 1.4rem; }
    .review-hero__grade { width: 60px; height: 60px; border-radius: 12px; }
    .review-hero__grade-value { font-size: 1.2rem; }
    .review-author-bar { gap: 12px; padding: 12px 16px; }
    .review-verdict { flex-direction: column; gap: 10px; }
    .review-feedback { flex-direction: column; align-items: stretch; gap: 12px; }
    .review-feedback__buttons { margin-left: 0; justify-content: center; }
    .review-photos__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .review-grades__label { flex: 0 0 100px; }
    .veh-hero__title { font-size: 1.4rem; }
    .veh-offer { flex-direction: column; align-items: stretch; gap: 10px; }
    .veh-offer__photo { flex: none; width: 100%; height: 200px; }
    .veh-offer__right { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; min-width: 0; }
    .veh-offers-bar { flex-direction: column; align-items: stretch; }
    .veh-makes__group { flex-direction: column; gap: 6px; }
    .veh-makes__letter { flex: none; }
    .veh-classes__grid { grid-template-columns: 1fr; }
    .veh-tabs { gap: 6px; }
    .veh-tabs__item { padding: 8px 14px; font-size: 0.85rem; }
    .cat-types { grid-template-columns: 1fr; }
    .cat-gen-layout { grid-template-columns: 1fr; }
    .cat-mod-specs { grid-template-columns: 1fr; }
    .cat-gens { grid-template-columns: 1fr; }
    .cat-gens__card { flex-direction: column; }
    .cat-gens__photo { flex: none; width: 100%; height: 160px; }
    .cat-makes__group { flex-direction: column; gap: 6px; }
    .cat-makes__letter { flex: none; }
    .cat-models { grid-template-columns: 1fr; }
    .cat-hero__title { font-size: 1.4rem; }
    .cat-mods { font-size: 0.78rem; }
    .cat-mods th, .cat-mods td { padding: 8px 6px; }
}
