/**
 * MAV AUTO — Design System CSS
 * Full rewrite per Figma/PDF mockups (Blocks 1–6)
 * Uses clamp() for fluid responsive sizing
 * Base viewport: 1440px wide
 */

/* ══════════════════════════════════════════
   Foundation
   ══════════════════════════════════════════ */
@font-face {
    font-family: 'Bounded';
    src: url('../fonts/Bounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Bounded';
    src: url('../fonts/Bounded-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --mv-red: #E8184B;
    --mv-dark: #1A1A1A;
    --mv-dark-bg: #2B2B2B;
    --mv-gray: #F5F5F5;
    --mv-gray-border: #E0E0E0;
    --mv-text: #333;
    --mv-text-light: #666;
    --mv-white: #fff;
    --mv-radius: 12px;
    --mv-radius-lg: 20px;
    --mv-font: 'Bounded', 'Inter', -apple-system, sans-serif;
    --mv-container: min(92%, 1300px);
}

.mv-hero, .mv-car-grid, .mv-delivery-banner, .mv-country-picks,
.mv-steps, .mv-team, .mv-telegram, .mv-recommendations, .mv-faq,
.mv-map, .mv-cta-footer {
    font-family: var(--mv-font);
    box-sizing: border-box;
}
*, *::before, *::after { box-sizing: border-box; }

/* Protect icon fonts */
[class^="flaticon-"]:before, [class*=" flaticon-"]:before { font-family: "flaticon" !important; }
/* FA Pro override removed — use theme's FA version */

/* ══════════════════════════════════════════
   Shared Components
   ══════════════════════════════════════════ */
.mv-btn {
    display: inline-block;
    padding: clamp(8px, 1vh, 14px) clamp(18px, 2vw, 32px);
    border-radius: 50px;
    font-family: var(--mv-font);
    font-size: clamp(11px, 1vw, 15px);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-align: center;
    white-space: nowrap;
}
.mv-btn--red { background: var(--mv-red); color: var(--mv-white); border-color: var(--mv-red); }
.mv-btn--red:hover { opacity: .85; color: var(--mv-white); }
.mv-btn--outline { background: transparent; color: var(--mv-dark); border-color: var(--mv-dark); }
.mv-btn--outline:hover { background: var(--mv-dark); color: var(--mv-white); }
.mv-btn--outline-red { background: transparent; color: var(--mv-red); border-color: var(--mv-red); }
.mv-btn--outline-red:hover { background: var(--mv-red); color: var(--mv-white); }
.mv-btn--outline-dark { background: transparent; color: var(--mv-dark); border-color: var(--mv-dark); }
.mv-btn--outline-dark:hover { background: var(--mv-dark); color: var(--mv-white); }

.mv-arrow { font-style: normal; font-weight: 600; color: var(--mv-red); }
.mv-link-arrow {
    font-family: var(--mv-font);
    font-size: clamp(11px, 0.9vw, 15px);
    color: var(--mv-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mv-link-arrow:hover { color: var(--mv-red); }
.mv-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(10px, 1.5vw, 24px);
}
.mv-section-header h2 {
    font-family: var(--mv-font);
    font-size: clamp(16px, 1.8vw, 28px);
    font-weight: 700;
    margin: 0;
}
.mv-more-wrap { text-align: center; margin-top: clamp(10px, 1.5vw, 24px); }
.mv-container { width: var(--mv-container); margin: 0 auto; }

/* ══════════════════════════════════════════
   Header overrides
   ══════════════════════════════════════════ */
.boxcar-header { position: relative; z-index: 100; }
.boxcar-header .c-box { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.boxcar-header .right-box { margin-left: auto; }
.boxcar-header .nav-out-bar { display: flex !important; visibility: visible !important; opacity: 1 !important; margin-left: clamp(12px, 1.5vw, 24px) !important; margin-right: auto !important; }
.boxcar-header .nav-out-bar .navigation { display: flex !important; list-style: none; gap: 8px; margin: 0; padding: 0; }
.boxcar-header .right-box { display: flex !important; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; visibility: visible !important; opacity: 1 !important; }

.home .header-style-v3 {background: #000000 !important; box-shadow: none !important; border-bottom: 0 !important;}
.home .header-style-v3 .header-inner {height: 65px; padding: 0; display: flex; align-items: center; background: transparent;  }
.home .header-style-v3, .home .header-style-v3 .header-inner, .home .header-style-v3 .header-inner .boxcar-container, .home .header-style-v3 .header-inner .c-box { overflow: visible !important; }
.home .header-style-v3 .header-inner .c-box .logo-inner .logo img { max-width: clamp(90px, 8vw, 140px); max-height: clamp(32px, 3.5vh, 50px); width: auto; }
.home .header-style-v3 .header-inner .c-box .nav-out-bar .nav .navigation li a { color: #fff !important; font-size: clamp(10px, 0.9vw, 14px); font-weight: 500; }
.home .header-style-v3 .header-inner .c-box .nav-out-bar .nav .navigation li a:hover { color: var(--mv-red) !important; }
.home .header-style-v3 .right-box .box-account { font-size: clamp(9px, 0.8vw, 13px) !important; padding: clamp(5px, 0.6vh, 8px) clamp(10px, 1vw, 18px) !important; display: inline-flex; align-items: center; justify-content: center; line-height: 1; min-height: 36px; }
.home .header-style-v3 .right-box .header-btn-two { white-space: nowrap; padding: clamp(5px, 0.6vh, 8px) clamp(10px, 1vw, 18px) !important; font-size: clamp(9px, 0.8vw, 13px) !important; display: inline-flex; align-items: center; justify-content: center; line-height: 1; min-height: 36px; }

/* Inner page header */
.header-style-v1 .right-box .box-account { color: var(--mv-white) !important; font-size: 14px; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 50px; padding: 8px 20px; }
.header-style-v1 .right-box .header-btn-two { color: var(--mv-white) !important; border-color: var(--mv-red) !important; background: transparent; font-size: 14px; }



/* ══════════════════════════════════════════
   BLOCK 1 — Hero
   ══════════════════════════════════════════ */
.mv-hero {
    background: #000000 !important;      
    margin-top: 0 !important;              
    padding-top: 35px;                       
    padding-bottom: 50px;
}
.mv-hero__title {
    text-align: center;
    margin-bottom: clamp(20px, 3vh, 36px);
}
.mv-hero__title h1 {
    font-family: var(--mv-font);
    font-size: clamp(20px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--mv-white);
    margin: 0;
    text-transform: uppercase;
}
.mv-hero__title h1 .mv-red-text { color: var(--mv-red); font-style: italic; }

/* Advantages row */
.mv-advantages {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 40px);
    margin-bottom: clamp(22px, 3.5vh, 40px);
    flex-wrap: wrap;
}
.mv-advantages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(4px, 0.5vh, 8px);
    max-width: clamp(70px, 7vw, 120px);
}
.mv-advantages__item img {
    width: clamp(36px, 4vw, 70px);
    height: clamp(36px, 4vw, 70px);
    border-radius: var(--mv-radius);
    object-fit: contain;
}
.mv-advantages__item span {
    font-size: clamp(9px, 0.8vw, 14px);
    line-height: 1.35;
    color: var(--mv-white);
    font-weight: 500;
}

/* Filter */
.mv-filter {
    max-width: clamp(560px, 62vw, 820px);
    margin: 0 auto;
}
.mv-filter__form {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px;
    padding: 5px;
}
.mv-filter__form .mv-filter__select { flex: 1; min-width: 0; }
.mv-filter__form input[type="text"] {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    color: var(--mv-white);
    font-family: var(--mv-font);
    font-size: clamp(12px, 1vw, 14px);
    padding: 10px 16px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s;
}
.mv-filter__form input[type="text"]:focus { border-color: rgba(255,255,255,.4); }
/* native selects removed — using custom .mv-dd dropdowns */
.mv-filter__form input::placeholder { color: rgba(255,255,255,.35); font-size: clamp(11px, 0.9vw, 13px); }
.mv-filter__form input[type="text"] { flex: 0 1 clamp(90px, 9vw, 120px); min-width: 70px; }
.mv-filter__form .mv-btn {
    flex-shrink: 0;
    padding: 10px clamp(20px, 2vw, 30px);
    font-size: clamp(12px, 1vw, 14px);
    border-radius: 50px;
    border: none;
}
.mv-filter__reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(36px, 3.5vw, 44px);
    height: clamp(36px, 3.5vw, 44px);
    color: rgba(255,255,255,.5);
    font-size: clamp(16px, 1.4vw, 22px);
    text-decoration: none;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    transition: all .2s;
    margin-left: 6px;
}
.mv-filter__reset:hover { color: var(--mv-white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }

/* Custom dropdowns */
.mv-dd { position: relative; flex: 1 1 auto; min-width: 0; }
.mv-dd__trigger {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    color: var(--mv-white);
    font-family: var(--mv-font);
    font-size: clamp(12px, 1vw, 14px);
    padding: 10px 16px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.mv-dd__trigger:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.mv-dd__arrow { font-size: 14px; opacity: .6; flex-shrink: 0; transition: transform .2s; }
.mv-dd.is-open .mv-dd__arrow { transform: rotate(180deg); }
.mv-dd__list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-width: 280px;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 6px 0;
    z-index: 200;
    list-style: none;
    margin: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.mv-dd.is-open .mv-dd__list { display: block; }
.mv-dd__list--scroll { max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.mv-dd__list--scroll::-webkit-scrollbar { width: 4px; }
.mv-dd__list--scroll::-webkit-scrollbar-track { background: transparent; }
.mv-dd__list--scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.mv-dd__list li {
    padding: 9px 16px;
    font-family: var(--mv-font);
    font-size: clamp(11px, 0.9vw, 14px);
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mv-dd__list li:hover { background: rgba(255,255,255,.08); color: var(--mv-white); }
.mv-dd__list li.is-active { color: var(--mv-red); font-weight: 600; }
.mv-dd__list li.is-hidden { display: none; }

/* Quick filter tags */
.mv-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(4px, 0.5vw, 10px);
    margin-top: clamp(3px, 0.8vh, 14px);
    justify-content: center;
}
.mv-filter__tags a {
    padding: clamp(3px, 0.3vh, 6px) clamp(6px, 0.5vw, 10px);
    font-size: clamp(9px, 0.8vw, 14px);
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}
.mv-filter__tags a:hover { color: var(--mv-white); }

/* ══════════════════════════════════════════
   Car Grid (Block 1 bottom + Block 6)
   ══════════════════════════════════════════ */
.mv-car-grid {
    padding: clamp(16px, 3vh, 40px) 0;
    background: var(--mv-white);
    color: var(--mv-text);
}
.mv-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.2vw, 20px);
}
.mv-card {
    border-radius: var(--mv-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.mv-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.mv-card__img {
    display: block;
    aspect-ratio: 5/3;
    overflow: hidden;
    border-radius: var(--mv-radius);
}
.mv-card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--mv-radius); }
.mv-card__placeholder { width: 100%; height: 100%; background: var(--mv-gray); }
.mv-card__body { padding: clamp(6px, 0.8vh, 12px) 4px; }
.mv-card__price {
    font-family: var(--mv-font);
    font-size: clamp(14px, 1.3vw, 20px);
    font-weight: 700;
    color: var(--mv-red);
    margin-bottom: 2px;
}
.mv-detail__tag {
    font-family: var(--mv-font);
    font-size: clamp(7px, 0.6vw, 8px);
    font-weight: 700;
    color: var(--mv-text-light);
    margin-bottom: 0px;
}
.mv-detail__price-note {
    font-size: clamp(3px, 0.3vw, 4px);  
    font-weight: 400;                  
    color: #999;                        
    margin-bottom: 0px;
}
.mv-card__name {
    font-size: clamp(10px, 0.85vw, 14px);
    color: var(--mv-text-light);
    text-transform: uppercase;
    line-height: 1.4;
}

/* ══════════════════════════════════════════
   Delivery Banner
   ══════════════════════════════════════════ */
.mv-delivery-banner {
    background: var(--mv-white);
    padding: 0 0 clamp(16px, 2vh, 30px);
    color: var(--mv-text);
}
.mv-delivery-banner__inner {
    background: var(--mv-dark);
    border-radius: var(--mv-radius-lg);
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    color: var(--mv-white);
    overflow: hidden;
    min-height: clamp(160px, 20vh, 280px);
}
.mv-delivery-banner__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: clamp(20px, 3vw, 50px) clamp(20px, 3vw, 50px);
}
.mv-delivery-banner__text h3 {
    font-family: var(--mv-font);
    font-size: clamp(16px, 2vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    color: var(--mv-white);
}
.mv-delivery-banner__text h3 span { color: var(--mv-red); }
.mv-delivery-banner__text h3 em { font-style: italic; color: var(--mv-white); }
.mv-delivery-banner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: clamp(10px, 1.5vh, 24px);
}
.mv-delivery-banner__actions .mv-btn {
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 700;
    font-size: clamp(9px, 0.9vw, 14px);
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   BLOCK 2 — Country Picks
   ══════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   COUNTRY PICKS — Block 2 mockup (Vectornator SVG, scaled 2x → real px)
   Source SVG canvas: 3300x3029 → real ~1650x1515
   ─────────────────────────────────────────────────────────────────────────── */
/* ===== Базовые переменные и сброс ===== */
/* ===== Базовые переменные и сброс ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

:root {
    --mv-font: 'Inter', system-ui, sans-serif;
    --mv-cp-china-bg: #fee7ed;
    --mv-cp-korea-bg: #e7ecfe;
    --mv-cp-accent: #f40f45;
    --mv-cp-text: #000000;
    --mv-cp-text-muted: rgba(0, 0, 0, 0.55);
    --mv-cp-radius-block: clamp(20px, 2.6vw, 42px);
    --mv-cp-radius-card: clamp(16px, 1.85vw, 30px);
}

.mv-country-picks {
    padding: clamp(20px, 3vh, 50px) 0;
}

.mv-country-picks__block {
    border-radius: var(--mv-cp-radius-block);
    padding: clamp(20px, 3vw, 50px);
    margin-bottom: clamp(16px, 2vh, 30px);
    background: #fff;
}

.mv-country-picks__block--china {
    background: var(--mv-cp-china-bg);
}

.mv-country-picks__block--korea {
    background: var(--mv-cp-korea-bg);
}

/* ===== Заголовки ===== */
.mv-country-picks__header h2 {
    font-family: var(--mv-font);
    font-size: clamp(20px, 2.4vw, 40px);
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.15;
    color: var(--mv-cp-text);
}

.mv-country-picks__header p {
    font-family: var(--mv-font);
    font-size: clamp(12px, 1.5vw, 25px);
    font-weight: 500;
    margin: 0 0 clamp(16px, 2vh, 32px);
    color: var(--mv-cp-text);
    opacity: 0.8;
}

.mv-country-picks__content {
    display: flex;
    gap: clamp(14px, 1.8vw, 30px);
    align-items: stretch;
}

.mv-brand-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 clamp(180px, 18vw, 280px);
    background: #fff;
    border-radius: var(--mv-cp-radius-card);
    padding: clamp(16px, 1.6vw, 30px);
}

.mv-brand-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.mv-brand-list li {
    margin: 0;
}

.mv-brand-list__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: clamp(6px, 0.7vh, 10px) 0;
    text-decoration: none;
    font-family: var(--mv-font);
    font-size: clamp(11px, 1.05vw, 17px);
    font-weight: 500;
    color: var(--mv-cp-text);
    transition: color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mv-brand-list__item:hover {
    color: var(--mv-cp-accent);
}

.mv-brand-list__name {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-brand-list__count {
    color: var(--mv-cp-text-muted);
    flex-shrink: 0;
}

.mv-brand-card__more {
    display: block;
    text-align: center;
    margin-top: clamp(12px, 1.5vh, 24px);
    padding-top: clamp(8px, 1vh, 14px);
    font-family: var(--mv-font);
    font-size: clamp(11px, 1.05vw, 17px);
    font-weight: 500;
    color: var(--mv-cp-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.mv-brand-card__more:hover {
    color: var(--mv-cp-accent);
}

.mv-pick-cards {
    display: flex;
    gap: clamp(10px, 1.4vw, 24px);
    flex: 1 1 auto;
}

.mv-pick-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--mv-cp-radius-card);
    overflow: hidden;
    text-decoration: none;
    color: var(--mv-cp-text);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.mv-pick-cards {
    transform: translateY(clamp(12px, 2vh, 24px));
    position: relative;
    z-index: 2;
}

.mv-country-picks__block {
    overflow: visible;
    position: relative;
}

.mv-pick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.mv-pick-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
}

.mv-pick-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-pick-card__arrow {
    position: absolute;
    top: clamp(10px, 1vw, 18px);
    right: clamp(10px, 1vw, 18px);
    width: clamp(28px, 2.2vw, 38px);
    height: clamp(28px, 2.2vw, 38px);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mv-cp-accent);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 600;
    transition: transform 0.2s, background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.mv-pick-card__arrow::before {
    content: "→";
    line-height: 1;
}

.mv-pick-card:hover .mv-pick-card__arrow {
    transform: translate(2px, -2px);
    background: var(--mv-cp-accent);
    color: #fff;
}

/* Текстовая часть карточки */
.mv-pick-card__body {
    padding: clamp(12px, 1.2vw, 22px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
}

.mv-pick-card__title {
    font-family: var(--mv-font);
    font-weight: 700;
    font-size: clamp(14px, 1.3vw, 24px);
    color: var(--mv-cp-accent);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-pick-card__price {
    font-family: var(--mv-font);
    font-weight: 500;
    font-size: clamp(12px, 1.05vw, 17px);
    color: var(--mv-cp-text);
    line-height: 1.3;
}

.mv-pick-card__offers {
    margin-top: auto;
    font-family: var(--mv-font);
    font-size: clamp(11px, 1vw, 16px);
    font-weight: 500;
    color: var(--mv-cp-text-muted);
    padding-top: clamp(6px, 0.8vh, 12px);
}

/* ===== Сетка категорий (5 квадратов) ===== */
.mv-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 22px);
    padding: clamp(16px, 2vh, 30px) 0 0;
}

.mv-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 1 / 1;
    padding: clamp(14px, 1.4vw, 26px);
    border-radius: var(--mv-cp-radius-card);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mv-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mv-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.mv-category-card__label,
.mv-category-card__count {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.mv-category-card__label {
    font-family: var(--mv-font);
    font-weight: 600;
    font-size: clamp(13px, 1.3vw, 22px);
    line-height: 1.2;
}

.mv-category-card__count {
    display: block;
    margin-top: 4px;
    font-family: var(--mv-font);
    font-size: clamp(11px, 1.05vw, 17px);
    font-weight: 500;
    opacity: 0.9;
}

.mv-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .mv-country-picks__content {
        flex-wrap: wrap;
    }
    .mv-brand-card {
        flex: 0 0 100%;
    }
    .mv-pick-cards {
        flex: 0 0 100%;
    }
    .mv-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mv-pick-cards {
        flex-direction: column;
    }
    .mv-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

 padding: clamp(30px, 4vh, 60px) 0; background: var(--mv-gray); color: var(--mv-text); }
.mv-country-picks__block { border-radius: var(--mv-radius-lg); padding: clamp(20px, 3vw, 40px); margin-bottom: clamp(16px, 2vh, 30px); background: var(--mv-white); }
.mv-country-picks__block--china { background: #FCE4E8; }
.mv-country-picks__block--korea { background: #E4E8FC; }
.mv-country-picks__header h2 { font-family: var(--mv-font); font-size: clamp(18px, 2vw, 26px); font-weight: 700; margin: 0 0 6px; }
.mv-country-picks__header p { color: var(--mv-text-light); margin: 0 0 clamp(12px, 1.5vh, 24px); font-size: clamp(11px, 0.9vw, 14px); }
.mv-country-picks__content { display: flex; gap: clamp(16px, 2vw, 30px); }
.mv-brand-list { display: flex; flex-direction: column; gap: 4px; min-width: clamp(140px, 14vw, 200px); }
.mv-brand-list__item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; text-decoration: none; color: var(--mv-text); font-size: clamp(11px, 0.9vw, 14px); border-bottom: 1px solid var(--mv-gray); }
.mv-brand-list__item:hover { color: var(--mv-red); }
.mv-brand-list__count { color: var(--mv-text-light); font-size: clamp(10px, 0.8vw, 13px); }
.mv-brand-list__more { color: var(--mv-red); text-decoration: none; font-size: clamp(10px, 0.8vw, 13px); margin-top: 6px; }
.mv-pick-cards { display: flex; gap: clamp(10px, 1.2vw, 20px); flex: 1; }
.mv-pick-card { flex: 1; border-radius: var(--mv-radius); overflow: hidden; background: var(--mv-gray); }
.mv-pick-card__link { display: block; position: relative; overflow: hidden; }
.mv-pick-card__link img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.mv-pick-card__arrow { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; background: var(--mv-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--mv-red); font-weight: 700; text-decoration: none; transition: background .2s; }
.mv-pick-card:hover .mv-pick-card__arrow { background: var(--mv-red); color: var(--mv-white); }
.mv-pick-card__info { padding: clamp(6px, 0.8vh, 12px); }
.mv-pick-card__info strong { display: block; font-size: clamp(11px, 0.9vw, 14px); font-weight: 700; margin-bottom: 3px; text-transform: uppercase; }
.mv-pick-card__info small { display: block; color: var(--mv-text-light); font-size: clamp(9px, 0.7vw, 12px); }
.mv-pick-card__price { color: var(--mv-red); font-weight: 700; font-size: clamp(12px, 1vw, 15px); margin-top: 4px; }

/* Categories scroll */
.mv-categories { display: flex; gap: 12px; overflow-x: auto; padding: 20px 0 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mv-categories::-webkit-scrollbar { display: none; }
.mv-category-card { flex: 0 0 auto; min-width: 120px; padding: 14px 18px; border-radius: var(--mv-radius); background: var(--mv-white); border: 1px solid var(--mv-gray-border); text-decoration: none; color: var(--mv-text); font-size: clamp(11px, 0.9vw, 14px); font-weight: 500; transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 6px; overflow: hidden; position: relative; }
.mv-category-card--img { min-height: 140px; padding-top: 74px; justify-content: flex-start; }
.mv-category-card--img img { position: absolute; top: 0; left: 0; width: 100%; height: 68px; object-fit: cover; border-radius: var(--mv-radius) var(--mv-radius) 0 0; }
.mv-category-card__label { position: relative; z-index: 2; display: block; line-height: 1.2; }
.mv-category-card--img small { position: relative; z-index: 2; display: block; margin-top: 4px; font-size: 12px; }
.mv-category-card--accent { background: var(--mv-red); color: var(--mv-white); border-color: var(--mv-red); justify-content: center; text-align: center; }
.mv-category-card:hover { border-color: var(--mv-red); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* ══════════════════════════════════════════
   BLOCK 3 — Steps
   ══════════════════════════════════════════ */
.mv-steps { padding: clamp(40px, 5vh, 80px) 0; background: var(--mv-white); color: var(--mv-text); }
.mv-steps__layout { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.mv-steps__left { min-width: 0; }
.mv-steps__left h2 { font-family: var(--mv-font); font-size: clamp(22px, 2.5vw, 36px); font-weight: 800; line-height: 1.2; text-transform: uppercase; margin: 0 0 12px; }
.mv-steps__left h2 strong { color: var(--mv-red); }
.mv-steps__left p { color: var(--mv-text-light); font-size: clamp(12px, 1vw, 15px); margin: 0 0 20px; font-style: italic; }
.mv-steps__photo { width: clamp(120px, 14vw, 200px); height: clamp(120px, 14vw, 200px); border-radius: 50%; overflow: hidden; }
.mv-steps__photo img { width: 100%; height: 100%; object-fit: cover; }
.mv-steps__right { flex: 1; display: flex; flex-direction: column; gap: clamp(8px, 1vh, 16px); }
.mv-step { display: flex; justify-content: space-between; align-items: flex-start; padding: clamp(14px, 1.8vh, 24px); border: 1px solid var(--mv-gray-border); border-radius: var(--mv-radius); gap: 16px; }
.mv-step__content h4 { font-family: var(--mv-font); font-size: clamp(13px, 1.2vw, 18px); font-weight: 700; margin: 0 0 6px; }
.mv-step__content p { font-size: clamp(11px, 0.9vw, 14px); color: var(--mv-text-light); margin: 0; line-height: 1.5; }
.mv-step__num { font-family: var(--mv-font); font-size: clamp(32px, 4vw, 60px); font-weight: 800; color: rgba(0,0,0,.05); line-height: 1; flex-shrink: 0; }
.mv-steps__cta { text-align: center; margin-top: clamp(20px, 3vh, 40px); }

/* ══════════════════════════════════════════
   BLOCK 4 — Team
   ══════════════════════════════════════════ */
.mv-team { padding: clamp(30px, 4vh, 60px) 0; background: var(--mv-gray); color: var(--mv-text); }
.mv-team h2 { font-family: var(--mv-font); font-size: clamp(20px, 2.2vw, 32px); font-weight: 800; text-transform: uppercase; margin: 0 0 clamp(20px, 3vh, 40px); }
.mv-team h2 span { color: var(--mv-red); }
.mv-team__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mv-team__member { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mv-team__photo { position: relative; width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50% 0% 50% 50%; overflow: hidden; background: var(--mv-gray-border); margin: 0 auto 10px; }
.mv-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.mv-team__photo .mv-arrow { position: absolute; top: 8px; right: 10px; font-size: 28px; color: var(--mv-red); }
.mv-team__member h5 { font-family: var(--mv-font); font-size: clamp(11px, 1vw, 15px); font-weight: 700; margin: 0 0 3px; color: var(--mv-red); }
.mv-team__member small { font-size: clamp(9px, 0.8vw, 12px); color: var(--mv-text-light); }
.mv-team__specials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
    margin-top: clamp(16px, 2vw, 28px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.mv-team__specials .mv-team__special-inner {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 50% 50% 50% 0;
    min-width: 0;
}
.mv-team__special-inner { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50% 50% 50% 0; margin: 0 auto; background: var(--mv-dark); color: var(--mv-white); text-decoration: none; padding: 16px; text-align: center; transition: background .2s; }
.mv-team__special-inner:hover { background: var(--mv-dark-bg); }
.mv-team__special-inner span { font-family: var(--mv-font); font-size: clamp(10px, 0.9vw, 14px); font-weight: 700; text-transform: uppercase; line-height: 1.4; color: var(--mv-white); }

/* ══════════════════════════════════════════
   BLOCK 5 — Telegram
   ══════════════════════════════════════════ */
.mv-telegram { padding: clamp(30px, 4vh, 60px) 0; background: #EBF4FA; color: var(--mv-text); }
.mv-telegram__inner { display: flex; align-items: center; gap: clamp(30px, 4vw, 60px); }
.mv-telegram__text { flex: 1; }
.mv-telegram__text h2 { font-family: var(--mv-font); font-size: clamp(18px, 2vw, 28px); font-weight: 800; font-style: italic; margin: 0 0 10px; }
.mv-telegram__text p { font-size: clamp(12px, 1vw, 15px); color: var(--mv-text-light); margin: 0 0 20px; }
.mv-telegram__text .mv-btn { margin-bottom: 16px; }
.mv-socials { display: flex; gap: 10px; margin-bottom: 12px; }
.mv-socials a { width: clamp(30px, 3vw, 40px); height: clamp(30px, 3vw, 40px); border-radius: 50%; background: var(--mv-red); color: var(--mv-white); display: flex; align-items: center; justify-content: center; font-size: clamp(14px, 1.3vw, 18px); text-decoration: none; transition: opacity .2s; }
.mv-socials a:hover { opacity: .8; }
.mv-telegram__text small { font-size: clamp(8px, 0.6vw, 11px); color: var(--mv-text-light); display: block; }
.mv-telegram__phone { flex: 0 0 clamp(180px, 20vw, 300px); }
.mv-telegram__phone img { max-width: 100%; height: auto; }

/* ══════════════════════════════════════════
   BLOCK 6 — Recommendations (dark)
   ══════════════════════════════════════════ */
.mv-recommendations { padding: clamp(30px, 4vh, 60px) 0; background: var(--mv-dark); color: var(--mv-white); }
.mv-section-header--light h2, .mv-section-header--light p { color: var(--mv-white); }
.mv-section-header--light p { font-size: clamp(11px, 0.9vw, 14px); opacity: .6; }
.mv-star { color: #4CAF50; margin-right: 6px; }
.mv-reco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); }
.mv-reco-card { background: var(--mv-dark-bg); border-radius: var(--mv-radius); overflow: hidden; transition: transform .2s; }
.mv-reco-card:hover { transform: translateY(-3px); }
.mv-reco-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mv-reco-card__placeholder { width: 100%; aspect-ratio: 4/3; background: #3a3a3a; }
.mv-reco-card__body { padding: clamp(8px, 1vh, 14px); }
.mv-reco-card__body h5 { font-family: var(--mv-font); font-size: clamp(11px, 0.9vw, 14px); font-weight: 700; color: var(--mv-white); margin: 0 0 3px; text-transform: uppercase; }
.mv-reco-card__body small { display: block; font-size: clamp(9px, 0.7vw, 12px); color: rgba(255,255,255,.5); }
.mv-reco-card__price { font-weight: 700; font-size: clamp(12px, 1vw, 16px); color: var(--mv-red); margin-top: 4px; }

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.mv-faq { padding: clamp(30px, 4vh, 60px) 0; background: var(--mv-white); color: var(--mv-text); }
.mv-faq h2 { font-family: var(--mv-font); font-size: clamp(18px, 2vw, 28px); font-weight: 700; text-align: center; margin: 0 0 clamp(16px, 2vh, 30px); }
.mv-faq__list { max-width: 800px; margin: 0 auto; }
.mv-faq__item { border-bottom: 1px solid var(--mv-gray-border); }
.mv-faq__question { display: flex; justify-content: space-between; align-items: center; padding: clamp(12px, 1.5vh, 18px) 0; font-family: var(--mv-font); font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; cursor: pointer; user-select: none; }
.mv-faq__icon { font-size: 20px; color: var(--mv-text-light); transition: transform .3s; }
.mv-faq__item.active .mv-faq__icon { transform: rotate(45deg); }
.mv-faq__answer { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .3s ease, padding .3s; font-size: clamp(12px, 0.95vw, 15px); color: var(--mv-text-light); line-height: 1.6; }
.mv-faq__answer > * { overflow: hidden; }
.mv-faq__item.active .mv-faq__answer { grid-template-rows: 1fr; padding-bottom: 16px; }

/* ══════════════════════════════════════════
   Map + CTA Footer
   ══════════════════════════════════════════ */
.mv-map iframe { width: 100%; display: block; }
.mv-cta-footer { background: var(--mv-dark); color: var(--mv-white); padding: clamp(16px, 2vh, 30px) 0; }
.mv-cta-footer__inner { display: flex; justify-content: space-between; align-items: center; background: var(--mv-dark-bg); border-radius: var(--mv-radius-lg); padding: clamp(16px, 2vh, 30px) clamp(20px, 3vw, 40px); }
.mv-cta-footer__inner span { font-family: var(--mv-font); font-size: clamp(14px, 1.5vw, 22px); font-weight: 700; }
.mv-cta-footer__inner a { font-family: var(--mv-font); font-size: clamp(14px, 1.5vw, 22px); font-weight: 700; color: var(--mv-white); text-decoration: none; }
.mv-cta-footer__inner a:hover { color: var(--mv-red); }

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mv-cards { grid-template-columns: repeat(3, 1fr); }
    .mv-reco-grid { grid-template-columns: repeat(3, 1fr); }
    .mv-team__grid { grid-template-columns: repeat(3, 1fr); }
    .mv-team__photo, .mv-team__special-inner { max-width: 160px; }
    .mv-steps__layout { grid-template-columns: 1fr; gap: 24px; }
    .mv-country-picks__content { flex-direction: column; }
    .mv-delivery-banner__inner { flex-direction: column; text-align: center; }
    .mv-delivery-banner__left { padding: 24px; }
    .mv-delivery-banner__actions { justify-content: center; }
}
@media (max-width: 768px) {
    .mv-cards { grid-template-columns: repeat(2, 1fr); }
    .mv-reco-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-team__grid { grid-template-columns: repeat(2, 1fr); }
    .mv-telegram__inner { flex-direction: column; }
    .mv-telegram__phone { flex: none; max-width: 220px; }
    .mv-pick-cards { flex-direction: column; }
    .mv-section-header { flex-direction: column; gap: 8px; }
    .mv-cta-footer__inner { flex-direction: column; gap: 10px; text-align: center; }
    .mv-filter__form { flex-wrap: wrap; border-radius: 20px; padding: 8px; gap: 4px; }
    .mv-filter__form input[type="text"] { flex: 1 1 45%; min-width: 100px; }
    .mv-filter__form .mv-btn { width: 100%; margin-top: 4px; }
    .mv-filter__tags { gap: 4px; }
    .mv-advantages { gap: 12px; }
}
@media (max-width: 480px) {
    .mv-cards { grid-template-columns: 1fr; }
    .mv-reco-grid { grid-template-columns: 1fr; }
    .mv-team__grid { grid-template-columns: repeat(2, 1fr); }
}
.mv-btn:focus-visible, .mv-dd__trigger:focus-visible, .mv-filter__reset:focus-visible,
.mv-faq__question:focus-visible, .mv-card a:focus-visible, .mv-link-arrow:focus-visible,
.mv-filter__tags a:focus-visible, .mv-brand-list__item:focus-visible, .mv-category-card:focus-visible,
.mv-pick-card__link:focus-visible, .mv-reco-card a:focus-visible, .mv-team__special-inner:focus-visible {
    outline: 2px solid var(--mv-red);
    outline-offset: 2px;
}

.mv-step__content p,
.mv-country-picks__header p,
.mv-brand-list__count,
.mv-team__member small,
.mv-telegram__text p {
    color: var(--mv-text-light);
}

@media (prefers-reduced-motion: reduce) {
    .mv-card, .mv-reco-card, .mv-category-card, .mv-faq__answer, .mv-faq__icon { transition: none !important; }
    .mv-card:hover, .mv-reco-card:hover, .mv-category-card:hover { transform: none !important; }
}

/* ===== FINAL PIXEL FIX PATCH ===== */

/* filter padding handled in main rules */

/* Categories text overlap fix */
.mv-category-card--img {
    min-height: 132px;
}
.mv-category-card--img small {
    margin-top: 4px;
    line-height: 1.15;
}

/* Team strict 4+3 layout */
.mv-team__grid--members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 28px);
}
.mv-team__grid--special {
    margin-top: clamp(18px, 2vh, 28px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
}
.mv-team__member,
.mv-team__photo,
.mv-team__special-inner {
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* Team responsive */
@media (max-width: 1024px) {
    .mv-team__grid--members { grid-template-columns: repeat(2, 1fr); }
    .mv-team__grid--special { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .mv-team__grid--members,
    .mv-team__grid--special { grid-template-columns: 1fr; }
}

/* === Hero filter: match reference (scaled for 1440px viewport) === */
.mv-filter { max-width: clamp(700px, 68vw, 960px); }
.mv-filter__form {
    min-height: clamp(48px, 5vh, 64px);
    padding: 5px;
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
}
.mv-dd__trigger,
.mv-filter__form input[type="text"] {
    height: clamp(38px, 4vh, 48px);
    padding: 0 clamp(14px, 1.2vw, 20px);
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 600;
    border-radius: 24px;
}
.mv-dd__trigger {
    border: 1px solid rgba(255,255,255,.22);
}
.mv-filter__form input[type="text"] {
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 500;
}
.mv-dd__arrow {
    font-size: clamp(14px, 1.1vw, 18px);
    opacity: .7;
    display: inline-block; 
    visibility: visible;
}
.mv-filter__form input::placeholder {
    color: rgba(255,255,255,.4);
    font-size: inherit;
    font-weight: 500;
}
.mv-filter__form .mv-btn {
    height: clamp(38px, 4vh, 48px);
    min-width: clamp(120px, 12vw, 180px);
    padding: 0 clamp(20px, 2vw, 30px);
    border-radius: 24px;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 700;
    line-height: 1;
}
.mv-filter__reset {
    width: clamp(38px, 4vh, 48px);
    height: clamp(38px, 4vh, 48px);
    margin-left: 5px;
    font-size: clamp(18px, 1.5vw, 24px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
}
.mv-filter__tags {
    margin-top: 10px;
    gap: clamp(12px, 1.5vw, 22px);
}
.mv-filter__tags a {
    font-size: clamp(11px, 0.9vw, 15px);
    color: rgba(255,255,255,.55);
}


/* === Cars listing page (cars-listing.php) === */
.mv-listing__total {
    margin: 16px 0;
    color: #666;
}

.mv-listing__empty {
    padding: 40px;
    text-align: center;
    color: #888;
}


/* ══════════════════════════════════════════
   DESIGN UPDATE — Header per spec (sizes @1x from @2x mockup)
   Mockup is 3300px wide = @2x → all px values halved
   ══════════════════════════════════════════ */

/* --- Header structure --- */
.home .header-style-v3 {
    background: linear-gradient(180deg, #000000 0%, #161616 100%) !important;
}
.home .header-style-v3 .header-inner {
    height: 65px;
    padding: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #000000 0%, #161616 100%);
}

.home .header-style-v3 .header-inner .c-box .logo-inner .logo {
    margin-left: 0;
}
.home .header-style-v3 .header-inner .c-box .logo-inner .logo img {
    height: 45px;
    max-height: 45px;
    width: auto;
    max-width: none;
}

/* --- New header buttons (replacing old box-account + header-btn-two) --- */
.mv-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: 18px;
    font-family: var(--mv-font);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 0 24px;
    transition: all .2s;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}
.mv-header-btn--phone {
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    background: transparent;
}
.mv-header-btn--phone:hover {
    border-color: #fff;
    color: #fff;
}
.mv-header-btn--cta {
    color: #fff;
    border: 2px solid #F40F45;
    background: transparent;
}
.mv-header-btn--cta:hover {
    background: #F40F45;
    color: #fff;
}

/* Hide old button classes on homepage */
.home .header-style-v3 .right-box .box-account,
.home .header-style-v3 .right-box .btn,
.home .header-style-v3 .right-box .header-btn-two { display: none !important; }

/* Spacing between header buttons */
.home .header-style-v3 .right-box {
    gap: 20px;
}

/* --- Hero background gradient per spec --- */
.mv-hero {
    background: linear-gradient(180deg, #000000 0%, #161616 100%) !important;
}

/* --- Hero title: Bounded Bold, "ПОД ЗАКАЗ" = #F40F45 --- */
.mv-hero__title h1 {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 700;
    font-size: clamp(24px, 3.2vw, 48px);
    line-height: 1.2;
    text-transform: uppercase;
}
.mv-hero__title h1 .mv-red-text {
    color: #F40F45;
    font-style: italic;
}

/* --- Advantages row: centered, larger icons --- */
.mv-advantages__item img {
    width: clamp(44px, 4.5vw, 72px);
    height: clamp(44px, 4.5vw, 72px);
}

/* --- Filter: Bounded Medium font, updated colors per spec --- */
.mv-filter {
    max-width: clamp(700px, 70vw, 1000px);
}
.mv-dd__trigger,
.mv-filter__form input[type="text"] {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 500;
    color: #fff;
}
.mv-filter__form .mv-btn--red {
    background: #F40F45;
    border-color: #F40F45;
    font-family: 'Bounded', var(--mv-font);
    font-weight: 700;
}

/* --- Quick filter tags: Bounded Light --- */
.mv-filter__tags a {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 300;
    color: rgba(255,255,255,.55);
}
.mv-filter__tags a:hover {
    color: #fff;
}

/* --- Inner page header buttons --- */
.header-style-v1 .right-box .mv-header-btn--phone {
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
.header-style-v1 .right-box .mv-header-btn--cta {
    color: #fff;
    border: 2px solid #F40F45;
    background: transparent;
}
.header-style-v1 .right-box .mv-header-btn--cta:hover {
    background: #F40F45;
}

/* ══════════════════════════════════════════
   DESIGN UPDATE — Block 2 Car Cards per spec
   Card: 315x250 @1x (630x500 @2x), border-radius 15px, gap 30px
   ══════════════════════════════════════════ */
.mv-car-grid {
    background: #F2F2F2;
}
.mv-cards {
    gap: 30px;
    padding: 30px 0;
}
.mv-card {
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}
.mv-card__img {
    border-radius: 15px 15px 0 0;
    aspect-ratio: 630/410;
}
.mv-card__img img {
    border-radius: 15px 15px 0 0;
}
.mv-card__body {
    padding: 10px 12px 14px;
}
.mv-card__price {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 700;
    color: #F40F45;
}
.mv-detail__tag {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 300;
}
.mv-card__name {
    font-family: 'Bounded', var(--mv-font);
    font-weight: 500;
}

/* --- Header button sizing fix per mockup --- */
.mv-header-btn--cta {
    padding: 0 32px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
}
.mv-header-btn--phone {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   PIXEL-PERFECT fixes — Block 1 Hero
   Reference: mockup @2x (3300×1000), all values /2
   ══════════════════════════════════════════ */

/* Header: full-width, logo left-45px, buttons right-45px */
.home .header-style-v3 .header-inner .boxcar-container {
    max-width: 100%;
    padding-left: 45px;
    padding-right: 45px;
}

/* Hero: more vertical space */
.mv-hero {
    padding-top: 35px;
    padding-bottom: 50px;
}

/* Title: tighter line-height, centered */
.mv-hero__title {
    margin-bottom: 30px;
}

.mv-hero__title h1 {
    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

/* Advantages: bigger icons, more gap */
.mv-advantages {
    gap: clamp(24px, 3.5vw, 56px);
    margin-bottom: 35px;
}
.mv-advantages__item img {
    width: clamp(48px, 5vw, 80px);
    height: clamp(48px, 5vw, 80px);
}
.mv-advantages__item span {
    font-size: clamp(11px, 0.95vw, 16px);
    font-weight: 500;
}

/* Filter: wider, dark gray bg, bigger radius */
.mv-filter {
    max-width: clamp(740px, 72vw, 1150px);
}
.mv-filter__form {
    background: #39393A;
    border: none;
    border-radius: 26px;
    padding: 6px;
    gap: 6px;
    min-height: 52px;
}
.mv-dd__trigger {
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    height: 42px;
    font-size: clamp(13px, 1.1vw, 16px);
    color: #fff;
}
.mv-filter__form input[type="text"] {
    background: transparent;
    border: none;
    border-radius: 20px;
    height: 42px;
    font-size: clamp(13px, 1.1vw, 16px);
    color: #fff;
    padding: 0 16px;
}
.mv-filter__form input[type="text"]::placeholder {
    color: #939393;
}
.mv-filter__form .mv-btn--red {
    height: 42px;
    border-radius: 20px;
    min-width: clamp(100px, 10vw, 160px);
    font-size: clamp(13px, 1.1vw, 16px);
}
.mv-filter__reset {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.18);
}

/* Tags: more bottom space, slightly larger */
.mv-filter__tags {
    margin-top: 14px;
    margin-bottom: 0;
    gap: clamp(14px, 1.8vw, 28px);
}
.mv-filter__tags a {
    font-size: clamp(12px, 1vw, 16px);
    color: #939393;
}
.mv-filter__tags a:hover {
    color: #fff;
}

/* "Год от" and "Цена от" — placeholder color gray per spec */
.mv-filter__form input[name="year_from"]::placeholder,
.mv-filter__form input[name="price_from"]::placeholder {
    color: #939393;
    font-weight: 500;
}

/* --- Final polish: filter inputs match dropdowns --- */
.mv-filter__form input[type="text"] {
    border: 1px solid rgba(255,255,255,.18);
}
.mv-filter__form input[type="text"]:focus {
    border-color: rgba(255,255,255,.35);
}

/* Dropdowns slightly brighter border */
.mv-dd__trigger {
    border-color: rgba(255,255,255,.22);
}

/* "Показать" button wider */
.mv-filter__form .mv-btn--red {
    min-width: clamp(120px, 12vw, 180px);
    padding: 0 clamp(24px, 2.5vw, 36px);
}

/* ══════════════════════════════════════════
   BLOCK 2 — Car Cards pixel-perfect per spec
   Mockup @2x: card 630×500, image 630×410, radius 30px, gap 60px
   @1x: card 315×250, image 315×205, radius 15px, gap 30px
   Section padding from edges: 150px @1x
   ══════════════════════════════════════════ */

/* Section bg and padding */
.mv-car-grid {
    background: #F2F2F2;
    padding: 30px 0 40px;
}
.mv-car-grid > .boxcar-container {
    max-width: calc(100% - 300px);
    margin: 0 auto;
}

/* Grid: 4 columns, 30px gap */
.mv-car-grid .mv-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 0 0;
}

/* Card: white bg, 15px radius, shadow on hover */
.mv-car-grid .mv-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.mv-car-grid .mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
}

/* Image: aspect ratio per spec, top-rounded */
.mv-car-grid .mv-card__img {
    display: block;
    aspect-ratio: 630 / 410;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}
.mv-car-grid .mv-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    display: block;
}

/* Body: price + name */
.mv-car-grid .mv-card__body {
    padding: 12px 16px 16px;
}
.mv-car-grid .mv-card__price {
    font-family: 'Bounded', var(--mv-font);
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 700;
    color: #F40F45;
    line-height: 1.2;
    margin-bottom: 4px;
}
.mv-car-grid .mv-card__price .mv-arrow {
    font-size: 0.85em;
    margin-left: 4px;
}
.mv-car-grid .mv-card__name {
    font-family: 'Bounded', var(--mv-font);
    font-size: clamp(11px, 0.9vw, 14px);
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Section header: "Ликвидные позиции" */
.mv-car-grid .mv-section-header h2 {
    font-family: 'Bounded', var(--mv-font);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    color: #1A1A1A;
}

/* "Ещё" button centered below cards */
.mv-car-grid .mv-more-wrap {
    margin-top: 24px;
}
.mv-car-grid .mv-more-wrap .mv-btn--outline {
    font-family: 'Bounded', var(--mv-font);
    border-color: #1A1A1A;
    color: #1A1A1A;
    padding: 10px 40px;
    font-size: 14px;
    border-radius: 50px;
}
.mv-car-grid .mv-more-wrap .mv-btn--outline:hover {
    background: #1A1A1A;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .mv-car-grid > .boxcar-container { max-width: calc(100% - 60px); }
}
@media (max-width: 1024px) {
    .mv-car-grid .mv-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .mv-car-grid .mv-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mv-car-grid > .boxcar-container { max-width: calc(100% - 32px); }
}
@media (max-width: 480px) {
    .mv-car-grid .mv-cards { grid-template-columns: 1fr; }
}


.mv-car-grid {
    background: #F2F2F2 !important;
}

.mv-car-grid .mv-section-header {
    display: none !important;
}

.mv-car-grid {
    padding-top: 0 !important;
}
.mv-car-grid .mv-cards {
    padding-top: 20px;
}

/* Fix navigation links after boxcar minimal */
.boxcar-header .navigation li a {
    text-decoration: none;
}
.boxcar-footer .navigation li a,
.boxcar-footer a {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   CAR DETAIL PAGE — mv-detail-*
   ═══════════════════════════════════════════════════════════════ */

.mv-detail {
    background: #F2F2F2;
    padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 80px);
}

.mv-detail__breadcrumb {
    font-size: 14px;
    color: #818181;
    margin-bottom: clamp(16px, 2vw, 24px);
}
.mv-detail__breadcrumb a {
    color: #818181;
    text-decoration: none;
    transition: color .2s;
}
.mv-detail__breadcrumb a:hover {
    color: var(--mv-dark, #1A1A1A);
}
.mv-detail__breadcrumb-sep {
    margin: 0 8px;
    color: #C0C0C0;
}
.mv-detail__breadcrumb span:last-child {
    color: var(--mv-dark, #1A1A1A);
    font-weight: 500;
}

.mv-detail__gallery {
    margin-bottom: 24px;
   
    display: block;
    min-height: unset;
}
.mv-detail__gallery-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.mv-detail__gallery-main img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    cursor: pointer; 
}
.mv-detail__gallery-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.mv-detail__gallery-thumb {
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.mv-detail__gallery-thumb.active {
    border-color: #e30613; 
}
.mv-detail__gallery-thumb img {
    display: block;
    width: 150px;
    height: 113px;
    object-fit: cover;
    border-radius: 4px;
}

.mv-detail__gallery-hidden {
    display: none !important;
}

.mv-detail__body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}

.mv-detail__content {
    background: #fff;
    border-radius: 16px;
    padding: clamp(24px, 3vw, 40px);
}
.mv-detail__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.mv-detail__title {
    font-family: 'Bounded', var(--mv-font, sans-serif);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--mv-dark, #1A1A1A);
    margin: 0;
    line-height: 1.2;
}
.mv-detail__year {
    font-family: 'Bounded', var(--mv-font, sans-serif);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    color: #818181;
}
.mv-detail__lot {
    font-size: 13px;
    color: #818181;
    margin-bottom: clamp(20px, 2.5vw, 32px);
    letter-spacing: .02em;
}

.mv-detail__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(24px, 3vw, 36px);
    padding-bottom: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid #E8E8E8;
}
.mv-detail__spec {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F7F7F7;
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 140px;
    flex: 1 1 140px;
    max-width: 220px;
}
.mv-detail__spec img {
    flex-shrink: 0;
    opacity: .7;
}
.mv-detail__spec-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mv-detail__spec-label {
    font-size: 12px;
    color: #818181;
    line-height: 1.2;
}
.mv-detail__spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--mv-dark, #1A1A1A);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-detail__description h3 {
    font-family: 'Bounded', var(--mv-font, sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--mv-dark, #1A1A1A);
    margin: 0 0 12px;
}
.mv-detail__description-text {
    font-size: 15px;
    line-height: 1.65;
    color: #4A4A4A;
}
.mv-detail__description-text p {
    margin: 0 0 8px;
}
.mv-detail__description-text p:last-child {
    margin-bottom: 0;
}

.mv-detail__sidebar {
    position: sticky;
    top: 24px;
}
.mv-detail__price-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
}
.mv-detail__price-label {
    font-size: 14px;
    color: #818181;
    margin-bottom: 4px;
}
.mv-detail__price {
    font-family: 'Bounded', var(--mv-font, sans-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--mv-dark, #1A1A1A);
    line-height: 1.2;
    margin-bottom: 8px;
}
.mv-detail__price-note {
    font-size: 12px;
    color: #A0A0A0;
    margin-bottom: clamp(20px, 2.5vw, 28px);
    line-height: 1.4;
}
.mv-detail__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    margin-bottom: 12px;
    text-align: center;
}
.mv-detail__cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    color: var(--mv-dark, #1A1A1A);
    border: 1px solid #E0E0E0;
    background: transparent;
    transition: all .2s ease;
}
.mv-detail__cta-phone:hover {
    border-color: var(--mv-dark, #1A1A1A);
    color: var(--mv-dark, #1A1A1A);
}
.mv-detail__cta-phone svg {
    flex-shrink: 0;
    stroke: currentColor;
}

@media (max-width: 1024px) {
    .mv-detail__body {
        grid-template-columns: 1fr 320px;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .mv-detail__body {
        grid-template-columns: 1fr;
    }
    .mv-detail__sidebar {
        position: static;
    }
    .mv-detail__gallery--count-2,
    .mv-detail__gallery--count-3,
    .mv-detail__gallery--count-4 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: unset;
    }
    .mv-detail__gallery--count-3 .mv-detail__gallery-item--main,
    .mv-detail__gallery--count-4 .mv-detail__gallery-item--main {
        grid-row: auto;
    }
    .mv-detail__gallery-item--main img {
        max-height: 50vh;
    }
    .mv-detail__gallery-item:not(.mv-detail__gallery-item--main) {
        display: none;
    }
    .mv-detail__spec {
        max-width: none;
    }
}
@media (max-width: 480px) {
    .mv-detail__specs {
        gap: 8px;
    }
    .mv-detail__spec {
        flex: 1 1 100%;
        max-width: none;
    }
    .mv-detail__content {
        padding: 20px;
    }
    .mv-detail__price-card {
        padding: 20px;
    }
}




/* =========================================================================
 * Car detail — secondary specs ("Дополнительно") & "new" badge
 * Added in May 2026 along with the API normalizer refactor.
 * ========================================================================= */

.mv-detail__extra {
    margin-top: 28px;
    padding: 20px 24px;
    background: #f8f9fb;
    border-radius: 8px;
}

.mv-detail__extra-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #2a2a2a;
}

.mv-detail__extra-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 24px;
}

.mv-detail__extra-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mv-detail__extra-row dt {
    font-size: 13px;
    color: #7a7a7a;
    margin: 0;
}

.mv-detail__extra-row dd {
    font-size: 15px;
    color: #2a2a2a;
    font-weight: 500;
    margin: 0;
}

.mv-detail__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    vertical-align: middle;
    margin-left: 8px;
}

.mv-detail__badge--new {
    background: #d4f4dd;
    color: #1e6e3a;
}

@media (max-width: 768px) {
    .mv-detail__extra {
        padding: 16px 18px;
    }
}
