

/* Start:/auto/style.css?177395532722281*/
/* ==========================================================================
   AUTO SECTION - WEB 3.0 CORPORATE STYLE (WHITE & RED)
   ========================================================================== */

.web3-auto-wrapper {
    --bg-color: #ffffff;
    --glass-bg: #f9f9f9;
    --glass-border: #eeeeee;
    --primary: #c62828;
    --primary-hover: #b71c1c;
    --text-main: #333333;
    --text-muted: #666666;
    --shadow-hover: 0 15px 35px rgba(198, 40, 40, 0.1);
    
    max-width: 1280px;
    margin: 0 auto 60px;
    background-color: var(--bg-color);
    border-radius: 24px;
    padding: 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

/* === Common Typography === */
.auto-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px;
    color: #1a1a1a;
}

.auto-badge {
    display: inline-block;
    background: rgba(198, 40, 40, 0.08);
    border: 1px solid rgba(198, 40, 40, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}
.auto-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.2);
}
.auto-btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.3);
}
.auto-btn--small {
    padding: 10px 20px;
    font-size: 14px;
    background: rgba(198, 40, 40, 0.08);
    color: var(--primary);
}
.auto-btn--small:hover {
    background: rgba(198, 40, 40, 0.15);
}

/* === 1. Banner === */
.auto-banner {
    position: relative;
    height: 320px;
    margin: 0 0 25px 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: #1a1a1a;
    overflow: hidden;
    z-index: 1;
}
.auto-banner__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}
.auto-banner__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.auto-banner h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 16px;
    letter-spacing: -1px;
    color: #fff;
}
.auto-banner p {
    font-size: 18px;
    color: #cbd5e1;
    margin: 0;
}
/* === 1.5. Sub Categories (Спецтехника / Мототехника) === */
.auto-categories-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 60px;
}
.auto-category-card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px 32px;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.auto-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}
.auto-category-card__bg {
    position: absolute;
    inset: 0;
    background-color: var(--primary); /* Цвет-заглушка, если нет фото */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}
.auto-category-card:hover .auto-category-card__bg {
    transform: scale(1.05);
}
.auto-category-card__content {
    position: relative;
    z-index: 3;
}
.auto-category-card__content h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.auto-category-card__content p {
    margin: 0;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .auto-categories-section { grid-template-columns: 1fr; }
    .auto-category-card { height: 140px; padding: 20px; }
}

/* === 2. Garage Section === */
.auto-garage-section {
    margin-bottom: 60px;
}
.auto-garage-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auto-garage-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.3s;
    gap: 24px;
}
.auto-garage-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}
.auto-garage-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(198, 40, 40, 0.08);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    flex-shrink: 0;
}
.auto-garage-card__icon svg {
    width: 32px;
    height: 32px;
}
.auto-garage-card__info {
    flex-grow: 1;
}
.auto-garage-card__info h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: #111;
}
.auto-garage-card__info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}
.auto-garage-card .auto-btn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .auto-garage-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    .auto-garage-card .auto-btn {
        width: 100%;
    }
}
/* === 2.5. Equipment Categories (Спецтехника) === */
.eq-categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}
.eq-cat-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}
.eq-cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}
.eq-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}
.eq-cat-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #111;
}
.eq-cat-icon {
    width: 56px;
    height: 56px;
    background: rgba(198, 40, 40, 0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eq-cat-icon svg {
    width: 28px;
    height: 28px;
}
.eq-subcats {
    column-count: 2;
    column-gap: 32px;
}
.eq-subcat-link {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    break-inside: avoid;
}
.eq-subcat-link:hover {
    color: var(--primary);
    border-bottom-color: rgba(198, 40, 40, 0.2);
    padding-left: 6px;
}
.eq-subcat-count {
    color: #aaa;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .eq-categories-grid { grid-template-columns: 1fr; }
    .eq-subcats { column-count: 3; }
}
@media (max-width: 768px) {
    .eq-subcats { column-count: 1; }
    .eq-cat-card { padding: 24px; }
}

/* === 2.6. Wide Promo Banner === */
.auto-wide-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.auto-wide-banner__content {
    position: relative;
    z-index: 2;
}
.auto-wide-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}
.auto-wide-banner p {
    font-size: 18px;
    color: #cbd5e1;
    margin: 0 auto 32px;
    max-width: 600px;
}

/* === 3. Brands Grid === */
.auto-brands-section {
    margin-bottom: 80px;
}
.auto-brands-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.auto-link-all {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
    transition: opacity 0.2s;
}
.auto-link-all:hover {
    opacity: 0.8;
}
.auto-brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 columns for 16 brands = 2 rows */
    gap: 16px;
}
.auto-brand-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px;
    position: relative;
}
.auto-brand-item img {
    max-width: 80%;
    max-height: 50%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.auto-brand-name {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
    text-align: center;
}
.auto-brand-item:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.auto-brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.auto-brand-item:hover .auto-brand-name {
    color: var(--primary);
}

/* Responsive Grid */
@media (max-width: 1024px) { .auto-brands-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 768px) { .auto-brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .auto-brands-grid { grid-template-columns: repeat(3, 1fr); } }

/* === 4. Search Section (Glassmorphism reused) === */
.auto-search-section {
    margin-bottom: 80px;
}
.auto-search-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}
.auto-search-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary);
}

.auto-search-card__inner h2,
.auto-search-card__inner p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.auto-search-form {
    display: flex;
    gap: 16px;
    max-width: 800px;
    margin: 30px auto 10px;
}
.auto-input-wrapper {
    position: relative;
    flex: 1;
}
.auto-search-icon {
    position: absolute;
    left: 20px; top: 50%; transform: translateY(-50%);
    color: #999;
}
.auto-input-wrapper input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--glass-border);
    color: #333;
    font-size: 16px;
    padding: 18px 20px 18px 54px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s;
}
.auto-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}
/* === 5. Dealers & Map === */
.auto-dealers-section { margin-bottom: 80px; }
.auto-dealers-header {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
}
.auto-dealers-controls { display: flex; gap: 16px; }
.auto-select {
    padding: 12px 16px; border: 1px solid var(--glass-border); border-radius: 12px; font-size: 15px;
    background: #fff; color: #333; outline: none; min-width: 200px; cursor: pointer;
}
.auto-select:focus { border-color: var(--primary); }
.auto-map-container {
    width: 100%; height: 400px; background: #eaeaea; border-radius: 20px; overflow: hidden; position: relative;
}
.auto-map-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #888; font-weight: 500; gap: 12px;
}
.auto-map-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }

/* === 6. Promo Banners === */
.auto-promo-section {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 80px;
}
.auto-promo-banner {
    border-radius: 20px; padding: 40px; text-decoration: none; color: #fff;
    display: flex; align-items: center; min-height: 220px; position: relative; overflow: hidden;
    transition: transform 0.3s;
}
.auto-promo-banner:hover { transform: translateY(-4px); }
.auto-promo-banner--dark { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }
.auto-promo-banner--red { background: linear-gradient(135deg, #c62828 0%, #ef5350 100%); }
.auto-promo-content { position: relative; z-index: 2; max-width: 70%; }
.auto-promo-content h3 { font-size: 28px; margin: 0 0 10px; font-weight: 800; }
.auto-promo-content p { font-size: 15px; margin: 0 0 20px; opacity: 0.9; }

/* === 7. Hot Deals === */
.auto-hot-section { margin-bottom: 80px; }
.auto-hot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid #eee; padding-bottom: 16px;}
.auto-tabs { display: flex; gap: 12px; }
.auto-tab {
    background: none; border: none; font-size: 16px; font-weight: 600; color: #888;
    cursor: pointer; padding: 8px 16px; border-radius: 8px; transition: 0.2s;
}
.auto-tab:hover { color: #333; }
.auto-tab.is-active { background: rgba(198, 40, 40, 0.08); color: var(--primary); }

.auto-products-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.auto-products-grid.active { display: grid; }
.auto-product-card {
    border: 1px solid var(--glass-border); border-radius: 16px; padding: 20px; position: relative;
    transition: box-shadow 0.3s, border-color 0.3s; display: flex; flex-direction: column;
}
.auto-product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.auto-product-badge {
    position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff;
    font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; z-index: 2;
}
.auto-product-img {
    height: 180px; background: #f9f9f9; border-radius: 12px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.auto-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.auto-product-name { font-size: 15px; margin: 0 0 16px; color: #333; flex-grow: 1; line-height: 1.4; }
.auto-product-price { margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.price-current { font-size: 20px; font-weight: 800; color: #111; }
.price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.auto-product-card .auto-btn { width: 100%; }

/* === 8. Moto Catalog === */
.auto-moto-section { margin-bottom: 80px; }
.auto-moto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.auto-moto-card {
    background: #fdfdfd; border: 1px solid #eee; border-radius: 20px; padding: 30px 20px;
    text-align: center; text-decoration: none; color: #333; transition: all 0.3s;
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px;
}
.auto-moto-card img { height: 100px; object-fit: contain; margin-bottom: 20px; transition: transform 0.3s; }
.auto-moto-card h3 { font-size: 18px; margin: 0; font-weight: 600; }
.auto-moto-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.auto-moto-card:hover img { transform: scale(1.05); }
.auto-moto-card--all { background: rgba(198, 40, 40, 0.05); border-color: rgba(198, 40, 40, 0.1); }
.auto-moto-card--all h3 { color: var(--primary); font-size: 20px; }
.auto-moto-arrow {
    width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-top: 16px;
    transition: transform 0.3s;
}
.auto-moto-card--all:hover .auto-moto-arrow { transform: translateX(5px); }

/* === 9. Wide Banner === */
.auto-wide-banner {
    background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 100%); border-radius: 24px;
    padding: 60px; color: #fff; margin-bottom: 80px; text-align: center;
    background-image: url('/upload/banner-wide.jpg'); background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.auto-wide-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.auto-wide-banner__content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.auto-wide-banner h2 { font-size: 36px; font-weight: 800; margin: 0 0 16px; }
.auto-wide-banner p { font-size: 18px; margin: 0 0 30px; opacity: 0.9; }

/* === 10. Roadmap === */
.auto-roadmap-section { margin-bottom: 80px; padding: 60px 40px; background: var(--glass-bg); border-radius: 24px; }
.auto-roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.auto-roadmap-step { position: relative; text-align: center; }
.auto-roadmap-step::after {
    content: ''; position: absolute; top: 30px; right: -50%; width: 100%; height: 2px;
    background: dashed 2px #ccc; z-index: 1;
}
.auto-roadmap-step:last-child::after { display: none; }
.step-num {
    width: 60px; height: 60px; background: var(--primary); color: #fff; font-size: 24px; font-weight: 800;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    position: relative; z-index: 2; box-shadow: 0 0 0 10px rgba(198, 40, 40, 0.1);
}
.auto-roadmap-step h3 { font-size: 20px; margin: 0 0 12px; color: #111; }
.auto-roadmap-step p { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

/* === 11. FAQ === */
.auto-faq-section { max-width: 800px; margin: 0 auto; }
.auto-faq-list { display: flex; flex-direction: column; gap: 16px; }
.auto-faq-item { border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; background: #fff; }
.auto-faq-question {
    padding: 20px 24px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; user-select: none; transition: background 0.2s;
}
.auto-faq-question:hover { background: #fcfcfc; }
.auto-faq-question .toggle { font-size: 24px; color: var(--primary); font-weight: 300; transition: transform 0.3s; }
.auto-faq-answer {
    padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease-in-out;
    color: var(--text-muted); line-height: 1.6; font-size: 15px;
}
.auto-faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.auto-faq-item.active .auto-faq-question .toggle { transform: rotate(45deg); }
.auto-faq-item.active .auto-faq-answer { padding: 0 24px 24px; max-height: 500px; }

/* Responsive tweaks */
@media (max-width: 1024px) {
    .auto-promo-section, .auto-roadmap-grid { grid-template-columns: 1fr; }
    .auto-roadmap-step::after { display: none; }
    .auto-products-grid, .auto-moto-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .auto-dealers-header { flex-direction: column; align-items: flex-start; }
    .auto-products-grid, .auto-moto-grid { grid-template-columns: 1fr; }
    .auto-banner { padding: 0 20px; }
    .auto-banner h1 { font-size: 32px; }
}

/* === 5. Moto Section === */
.auto-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-bottom: 24px;
}
.auto-title-link .auto-title {
    margin-bottom: 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.auto-title-link:hover .auto-title {
    color: var(--primary);
}
.auto-title-link .arrow {
    color: var(--primary);
    transition: transform 0.3s ease;
}
.auto-title-link:hover .arrow {
    transform: translateX(6px);
}

/* === 6. Dealers & Map Section === */
.auto-dealers-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-soft);
}
.auto-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    background-color: var(--glass-bg);
}
.auto-select:focus {
    border-color: var(--primary);
}
.dealers-brands-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 10px;
}
.dealers-brands-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-main);
}
.dealers-brands-list input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.auto-dealers-map {
    background: #e5e5e5;
    border-radius: 16px;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* === 7. FAQ Section (Full width) === */
.auto-faq-section {
    width: 100%;
    margin-bottom: 60px;
}
.auto-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auto-faq-item {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.auto-faq-item:hover {
    box-shadow: var(--shadow-soft);
}
.auto-faq-item summary {
    padding: 24px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}
.auto-faq-item summary::-webkit-details-marker {
    display: none;
}
.auto-faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.3s;
}
.auto-faq-item[open] summary::after {
    content: '−';
}
.faq-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
}

@media (max-width: 768px) {
    .auto-dealers-container { grid-template-columns: 1fr; }
    .auto-dealers-map { min-height: 350px; }
}
/* End */
/* /auto/style.css?177395532722281 */
