/* =========================================
   1. БАЗОВАЯ СИСТЕМА И ПЕРЕМЕННЫЕ
========================================= */
:root {
    --bg-color: #f4f5f7; 
    --surface: #ffffff; 
    --text-main: #111111;
    --text-muted: #666666; 
    --accent-color: #FF9900; 
    --avito-color: #00AAFF; 
    --border: #d1d5db; 
    --grid-line: rgba(0, 0, 0, 0.04); 
    --shadow-premium: 0 4px 12px rgba(0, 0, 0, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    font-size: 16px; 
    line-height: 1.6; 
    padding-top: 100px; 
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); 
    background-size: 24px 24px; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   2. ЕДИНАЯ ШАПКА И ПОДВАЛ
========================================= */
/* Шапка */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 15px 0; transition: all 0.3s ease; }
.header-wrap { display: flex; justify-content: space-between; align-items: center; }

.logo-block { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text-wrapper { display: flex; flex-direction: column; }
.logo-text { font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--text-main); line-height: 1; letter-spacing: -0.5px; }
.logo-sub { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

.contact-block { display: flex; align-items: center; gap: 30px; }
.status-box { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 8px rgba(46, 204, 113, 0.6); animation: pulse 2s infinite; }
.status-time { font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 500; color: #888; border-left: 1px solid #ccc; padding-left: 8px; margin-left: 4px; }
.phone { font-family: 'Roboto Mono', monospace; font-size: 20px; font-weight: 700; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; transition: color 0.2s; }
.phone:hover { color: var(--accent-color); }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.status-dot.offline { background-color: #d1d5db; box-shadow: none; animation: none; }

/* Подвал */
.footer { background: #111111; color: #888; padding: 80px 0 50px; font-size: 13px; line-height: 1.6; border-top: 4px solid var(--accent-color); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #ffffff; font-size: 14px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-col p { margin-bottom: 8px; }
.footer-col a { color: var(--accent-color); text-decoration: none; transition: 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #222; padding-top: 30px; font-size: 11px; color: #555; text-align: justify; text-align-last: center; line-height: 1.5; }
.footer-legal p { margin-bottom: 10px; }

/* =========================================
   3. ГЛОБАЛЬНЫЕ КНОПКИ И НАВИГАЦИЯ
========================================= */
.btn-avito { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--avito-color); color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; padding: 18px 30px; border-radius: 4px; font-size: 15px; transition: 0.2s; letter-spacing: 0.5px; }
.btn-avito:hover { background: #0099e6; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,170,255,0.2); }

/* Строгая рамка и белый фон */
.btn-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--surface); color: var(--text-main); text-decoration: none; font-family: 'Roboto Mono', monospace; font-weight: 700; text-transform: uppercase; padding: 16px 24px; border-radius: 4px; font-size: 14px; border: 2px solid var(--border); transition: all 0.2s ease; }
.btn-phone:hover { border-color: var(--text-main); }
.btn-phone svg { transition: stroke 0.2s; }

/* Навигация и кнопка Каталога */
.nav-bar { width: 100%; padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.breadcrumbs { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.breadcrumbs a { color: var(--text-main); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-color); }

/* Рамка и белый фон */
.catalog-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--text-main); text-decoration: none; text-transform: uppercase; background: var(--surface); padding: 10px 20px; border-radius: 4px; border: 1px solid var(--border); transition: all 0.2s ease; letter-spacing: 0.5px; }
.catalog-btn svg { width: 16px; height: 16px; stroke: var(--accent-color); transition: 0.2s; }
.catalog-btn:hover { border-color: var(--text-main); box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.catalog-btn:hover svg { stroke: var(--text-main); }

/* =========================================
   4. ГЛАВНАЯ СТРАНИЦА (index.html)
========================================= */
.hero { min-height: calc(100vh - 100px); display: flex; align-items: center; padding: 40px 0; text-align: center; background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(244,245,247,0) 70%); }
.hero .container { width: 100%; }

.badge-alert { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--text-main); padding: 8px 16px; border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; border: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.badge-alert::before { content: ''; display: block; width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; }

.hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-bottom: 25px; letter-spacing: -1.5px; color: var(--text-main); max-width: 900px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto 50px auto; font-weight: 500; line-height: 1.6; }
.hero p strong { color: var(--text-main); font-weight: 700; }

.hero-stats { display: flex; justify-content: center; gap: 60px; border-top: 1px solid var(--border); padding-top: 40px; max-width: 800px; margin: 0 auto; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: 'Roboto Mono', monospace; font-size: 36px; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.stat-num span { font-size: 20px; color: var(--text-muted); font-weight: 500; }
.stat-text { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Живой поиск и Фильтры */
.catalog { padding: 40px 0 60px; }
.search-wrap { max-width: 600px; margin: 0 auto 30px auto; position: relative; }
.search-input { width: 100%; padding: 16px 45px 16px 50px; font-family: 'Roboto Mono', monospace; font-size: 16px; color: var(--text-main); background: var(--surface); border: 2px solid var(--border); border-radius: 4px; outline: none; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.search-input:focus { border-color: var(--accent-color); box-shadow: 0 4px 15px rgba(255, 153, 0, 0.1); }
.search-input::placeholder { color: #aaa; font-family: 'Montserrat', sans-serif; font-weight: 500; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: #aaa; pointer-events: none; transition: 0.3s ease; }
.search-input:focus + .search-icon { stroke: var(--accent-color); }
.search-clear { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--text-muted); cursor: pointer; display: none; transition: 0.2s ease; }
.search-clear:hover { stroke: var(--accent-color); }
.no-results { display: none; text-align: center; padding: 40px 20px; font-size: 18px; font-weight: 700; color: var(--text-muted); grid-column: 1 / -1; }

.filter-group { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: var(--surface); border: 1px solid var(--border); padding: 12px 24px; border-radius: 4px; cursor: pointer; font-family: 'Roboto Mono', monospace; font-size: 14px; font-weight: 700; color: var(--text-muted); transition: all 0.2s ease; text-transform: uppercase; }
.filter-btn:hover { border-color: var(--text-main); color: var(--text-main); }
.filter-btn.active { background: var(--text-main); color: #fff; border-color: var(--text-main); }

/* --- Карточки Витрины --- */
.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.part-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; text-decoration: none; display: flex; flex-direction: column; transition: 0.3s; overflow: hidden; box-shadow: var(--shadow-premium); opacity: 1; }
.part-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: var(--accent-color); }
.part-img { width: 100%; background: #fff; border-bottom: 1px solid var(--border); aspect-ratio: 4/3; position: relative; overflow: hidden; }
.part-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; text-align: center; line-height: 1.4; }
.part-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.part-article { display: inline-flex; align-items: center; gap: 6px; font-family: 'Roboto Mono', monospace; font-size: 11px; color: var(--text-muted); font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; background: #f4f5f7; padding: 4px 8px; border-radius: 2px; border: 1px dashed #a0a0a0; align-self: flex-start; }
.part-article::before { content: ''; display: block; width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; }
.part-title { font-size: 15px; font-weight: 800; color: var(--text-main); line-height: 1.3; }
.part-card.hide { display: none !important; }

/* --- Микро-заглушка на витрине --- */
.part-no-photo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
background-color: var(--bg-color); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 12px 12px; display: flex; 
flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #ccc; border-radius: 2px; }
.part-no-photo svg { width: 26px; height: 26px; stroke: #999; margin-bottom: 12px; }
.no-photo-status { font-size: 11px; font-weight: 800; color: var(--text-main); text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.no-photo-label { font-family: 'Roboto Mono', monospace; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }

/* Пунктирный шильдик */
.part-article { display: inline-flex; align-items: center; gap: 6px; font-family: 'Roboto Mono', monospace; font-size: 11px; color: var(--text-muted); font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; background: var(--bg-color); padding: 4px 8px; border-radius: 2px; border: 1px dashed #a0a0a0; align-self: flex-start; }
.part-article::before { content: ''; display: block; width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; }
.part-title { font-size: 15px; font-weight: 800; color: var(--text-main); line-height: 1.3; }
.part-card.hide { display: none !important; }

/* Кнопка "Показать еще" - белая с рамкой */
.load-more-wrap { text-align: center; margin-top: 40px; }
.btn-load-more { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text-main); border: 2px solid var(--border); padding: 14px 30px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.btn-load-more:hover { border-color: var(--accent-color); color: var(--accent-color); }
.btn-load-more.hide { display: none !important; }

/* Баннер Авито (Главная страница) */
.avito-banner { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--avito-color); border-radius: 4px; padding: 50px; text-align: center; margin-bottom: 40px; box-shadow: var(--shadow-premium); }
.avito-banner h2 { font-size: 32px; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; }
.avito-banner p { font-size: 16px; color: var(--text-muted); margin-bottom: 35px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.avito-banner-buttons { display: flex; justify-content: center; gap: 20px; align-items: center; }

/* =========================================
   5. СТРАНИЦА ДЕТАЛИ (part-template.html)
========================================= */
.product-section { padding: 10px 0 60px; }
.product-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 25px; }

/* --- ЛЕВАЯ КОЛОНКА (Галерея) --- */
.gallery-container { display: flex; flex-direction: column; gap: 15px; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 30px; box-shadow: var(--shadow-premium); }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; background: var(--bg-color); border: 1px solid var(--border); border-radius: 4px; position: relative; overflow: hidden; }
.gallery-main img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: opacity 0.15s ease-in-out; mix-blend-mode: darken; color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; text-align: center; line-height: 1.4; }

.gallery-thumbs { display: flex; justify-content: center; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs.hide { display: none !important; }
.thumb-item { flex-shrink: 0; width: 64px; height: 64px; background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 4px; cursor: pointer; transition: all 0.2s ease; opacity: 0.6; }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; color: var(--text-muted); font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 600; text-transform: uppercase; text-align: center; }
.thumb-item:hover { border-color: #aaa; opacity: 1; }
.thumb-item.active { opacity: 1; border-color: var(--accent-color); box-shadow: 0 0 0 1px var(--accent-color); }

/* Заглушка (Для страницы детали) */
.no-photo-placeholder { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--text-muted); border-radius: 4px; color: var(--text-main); text-align: center; padding: 30px; background-color: var(--bg-color); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; min-height: 400px; }
.no-photo-icon { width: 48px; height: 48px; stroke: var(--text-muted); margin-bottom: 20px; }
.no-photo-text { font-family: 'Roboto Mono', monospace; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); margin-bottom: 12px; }
.no-photo-sub { font-size: 13px; line-height: 1.6; max-width: 320px; color: var(--text-muted); font-weight: 500; }

/* --- ПРАВАЯ КОЛОНКА (Информация) --- */
.product-info { display: flex; flex-direction: column; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 30px; box-shadow: var(--shadow-premium); }

.badges { display: flex; gap: 10px; margin-bottom: 20px; }
.badge { font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; letter-spacing: 1px; }
.badge-new { background: #f0f0f0; color: var(--text-main); border: 1px solid var(--border); }
.badge-factory { background: var(--text-main); color: #fff; }

.product-info h1 { font-size: 32px; font-weight: 900; line-height: 1.2; margin-bottom: 15px; text-transform: uppercase; letter-spacing: -0.5px; }

/* Пунктирный шильдик */
.article { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 30px; padding: 8px 15px; background: var(--bg-color); border-radius: 4px; border: 1px dashed #a0a0a0; text-transform: uppercase; }
.article span { color: var(--text-main); font-family: 'Roboto Mono', monospace; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }

/* =========================================
   ТЕХНИЧЕСКАЯ СПЕЦИФИКАЦИЯ (Новый формат)
========================================= */
.spec-table { display: flex; flex-direction: column; gap: 4px; }
.spec-row { display: flex; justify-content: space-between; font-size: 14px; }

/* Категория (Левая сторона) - делаем ЖИРНОЙ и черной */
.spec-label { color: var(--text-main); font-weight: 700; }

/* Значение (Правая сторона) - делаем ОБЫЧНЫМ шрифтом и серым цветом */
.spec-value { color: var(--text-muted); font-weight: 500; text-align: right; max-width: 65%; }

/* Зона конверсии (С рамкой) */
.action-box { background: #f9fafb; padding: 30px; border-radius: 4px; border: 1px solid var(--border); margin-top: 35px; }
.action-title { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.buttons-group { display: flex; flex-direction: column; gap: 12px; }

.email-contact { text-align: center; margin-top: 15px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.email-contact a { font-weight: 800; color: var(--text-main); text-decoration: none; border-bottom: 1px dashed var(--text-main); padding-bottom: 2px; transition: 0.2s; }
.email-contact a:hover { color: var(--accent-color); border-color: var(--accent-color); }

/* =========================================
   SEO-ТЕГИ (Внутренняя перелинковка)
========================================= */
.tech-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    /* МАГИЯ FLEXBOX: Эта строчка прижимает блок к самому низу левой колонки */
    margin-top: auto; 
    padding-top: 30px; 
}
.tech-tags-label { 
    width: 100%; 
    font-size: 10px; 
    font-weight: 800; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 4px; 
}
.tech-tag { 
    display: inline-flex; 
    align-items: center; 
    padding: 6px 12px; 
    background: var(--bg-color); 
    border: none; /* 1. УБИРАЕМ ФИЗИЧЕСКУЮ РАМКУ */
    border-radius: 4px; 
    font-family: 'Roboto Mono', monospace; 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text-muted); 
    text-decoration: none; 
    letter-spacing: 0.5px; 
    box-shadow: inset 0 0 0 1px var(--border), 0 4px 8px rgba(0, 0, 0, 0); 
    transition: all 0.2s ease; 
    transform: translateZ(0);
}
.tech-tag:hover { 
    color: var(--text-main); 
    background: var(--surface); 
    transform: translateY(-2px) translateZ(0); 
    box-shadow: inset 0 0 0 1px var(--accent-color), 0 4px 8px rgba(255, 153, 0, 0.15); 
}

/* =========================================
   6. БЛОКИ УСЛОВИЙ / ДОВЕРИЯ
========================================= */
.workflow { padding: 20px 0 60px; }
.workflow-grid, .trust-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-section { margin-top: 30px; gap: 20px; } 

/* Верхний акцент и рамка */
.workflow-card, .trust-item { background: var(--surface); padding: 30px 25px; border-radius: 4px; text-align: center; border: 1px solid var(--border); border-top: 3px solid var(--border); transition: 0.2s; box-shadow: var(--shadow-premium); }
.trust-item { padding: 25px; } 
.workflow-card:hover, .trust-item:hover { border-top-color: var(--accent-color); transform: translateY(-4px); }

.workflow-card svg, .trust-item svg { width: 36px; height: 36px; stroke: var(--text-main); margin-bottom: 15px; opacity: 0.9; }
.workflow-card h3, .trust-item h4 { font-size: 14px; font-weight: 900; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-item h4 { font-size: 13px; margin-bottom: 8px; }
.workflow-card p, .trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.trust-item p { font-size: 12px; line-height: 1.5; }

/* =========================================
   7. UX АНИМАЦИИ
========================================= */
@keyframes fadeInCard {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.part-card.show-animate { animation: fadeInCard 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* Липкий подвал (Мобильный) */
.sticky-mobile-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 12px 20px; z-index: 1000; box-shadow: 0 -4px 20px rgba(0,0,0,0.06); }
.sticky-mobile-bar .buttons-group { display: flex; flex-direction: row; gap: 10px; justify-content: center; }
.sticky-mobile-bar .btn-avito, .sticky-mobile-bar .btn-phone { flex: 1; padding: 14px 10px; font-size: 11px; letter-spacing: 0; }
.sticky-mobile-bar svg { width: 16px; height: 16px; }

/* =========================================
   8. АДАПТИВНОСТЬ (Media Queries)
========================================= */
@media (max-width: 992px) {
    .header-wrap { flex-direction: column; gap: 12px; }
    .status-time { display: none; }
    body { padding-top: 130px; }	
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-legal { text-align: center; text-align-last: center; }
    
    .parts-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-grid, .trust-section { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .sticky-mobile-bar { display: block; }
    body.has-sticky-bar { padding-bottom: 80px; } 
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 60px 0; }
    .hero-stats { flex-direction: column; gap: 30px; border-top: none; padding-top: 0; }
    .stat-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 600px) {
    .parts-grid { grid-template-columns: 1fr; }
    .filter-group { gap: 10px; }
    .filter-btn { padding: 8px 16px; font-size: 12px; flex: 1 1 calc(50% - 10px); }
    .avito-banner-buttons { flex-direction: column; gap: 15px; }
    .avito-banner-buttons a { width: 100%; }
    
    .gallery-container { padding: 20px; }
    .product-info { padding: 20px; }
}