/**
 * Стили chrome витрины AP (макет Grok). Только body.td-parts-page.
 * Не влияет на Bitrix-хеадер основного сайта.
 */

/* ===== AP Grok header (emulator only) ===== */
body.td-parts-page {
    background: #fff;
    /* fixed header: сброс мобильного padding из header.css, компенсация через container-page */
    padding-top: 0 !important;
}

/* Макет: ряд лого+иконки сверху, навигация снизу.
 * Header остаётся fixed; при скролле (.header.scroll) уезжает только header-top. */
body.td-parts-page .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eceff3;
    box-shadow: none;
    background: #fff;
    /* Desktop: ниже sticky-dock (9999) и оверлея каталога (11150).
       Высокий z — только на адаптиве (см. MQ ниже), иначе поиск уезжает под хедер. */
    z-index: 1200;
}
/* Адаптив: выше wm-cart/fav FAB (10040); sticky на мобилке = 1190 и остаётся под хедером */
@media (max-width: 900px) {
    body.td-parts-page .header,
    body.afyc-hub-page .header {
        z-index: 10045;
    }
    body.td-parts-page .header:has(.header-profile.active),
    body.td-parts-page .header:has(.header-notification.active),
    body.afyc-hub-page .header:has(.header-profile.active),
    body.afyc-hub-page .header:has(.header-notification.active) {
        z-index: 10055 !important;
    }
}
/* Отступ контента под fixed header (logo-ряд + меню) */
body.td-parts-page .container-page,
body.td-parts-page .wrapper {
    padding-top: 116px !important;
    transition: padding-top 0.7s ease;
}
body.td-parts-page:has(.header.scroll) .container-page,
body.td-parts-page:has(.header.scroll) .wrapper {
    padding-top: 72px !important;
}
body.td-parts-page .container-main {
    padding-top: 0 !important;
}
body.td-parts-page .header-bottom {
    order: 1;
    background: #fff;
    padding: 12px 0 8px;
    /* Выше .header-top (order:2 + transform) — иначе дропдаун профиля уходит под меню */
    position: relative;
    z-index: 2;
}
body.td-parts-page .header-top {
    order: 2;
    position: relative;
    z-index: 1;
    background: #fff;
    min-height: 40px;
    max-height: 56px;
    padding: 0;
    border-top: 1px solid #f0f2f4;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    /* Без display:none — иначе контент/сайдбар дёргаются. Уезжает под logo-ряд. */
    /* 0.7s и на скрытие, и на показ (снятие .header.scroll) */
    transition: max-height 0.7s ease, min-height 0.7s ease, opacity 0.7s ease,
        border-color 0.7s ease, padding 0.7s ease, transform 0.7s ease;
}
/* Плавно прячем верхнее меню (Новости / Trade in / …), logo-ряд остаётся */
body.td-parts-page .header.scroll .header-top {
    max-height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-top-width: 0 !important;
    border-top-color: transparent;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    /* те же 0.7s при возврате — transition на базовом .header-top */
}
body.td-parts-page .header-top .new-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 40px;
}
body.td-parts-page .header-top .header__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    flex: 1 1 auto;
}
body.td-parts-page .header-top .menu__item,
body.td-parts-page .header-top .menu__item-sub {
    color: #4a4a4a !important;
    font-size: 14px !important;
    text-decoration: none !important;
    font-weight: 500;
}
body.td-parts-page .header-top .menu__item:hover {
    color: #E23737 !important;
}
body.td-parts-page .header-top .header-geo,
body.td-parts-page .header-top .header-contact {
    display: none !important;
}

body.td-parts-page .header-bottom > .new-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
}
body.td-parts-page .header-bottom .logo {
    order: 1;
    flex: 0 0 auto;
    margin-right: auto;
    max-width: 161px;
    width: auto;
    transition: max-width 0.7s ease;
}
body.td-parts-page .header-bottom .logo img {
    height: 42px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: height 0.7s ease;
}
/* header.css: max-width 161→113 без transition — догоняем за 0.7s */
body.td-parts-page .header.scroll .header-bottom .logo {
    max-width: 113px;
}
body.td-parts-page .header.scroll .header-bottom .logo img {
    height: 30px;
}
body.td-parts-page .header-bottom .catalogs-header-container,
body.td-parts-page .header-bottom .header-search-wrapper,
body.td-parts-page .header-bottom .ap-home-logo-sublogo,
body.td-parts-page .header-bottom img[src*="autoparts-sublogo"] {
    display: none !important;
}
body.td-parts-page .header-bottom .header-burger {
    order: 0;
}
/* Иконки справа: компактный базовый вид; колонка+подписи — только desktop */
body.td-parts-page .header-bottom .header-profile {
    position: relative;
    z-index: 3;
}
body.td-parts-page .header-profile.active .header-profile-block {
    z-index: 4;
}
body.td-parts-page .header-bottom .header-notification,
body.td-parts-page .header-bottom .header-chat,
body.td-parts-page .header-bottom .header-fav,
body.td-parts-page .header-bottom .header-account,
body.td-parts-page .header-bottom .header-profile {
    order: 2;
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    top: auto !important;
    box-sizing: border-box;
    text-decoration: none !important;
    color: #353433;
    border-radius: 10px;
    position: relative;
}
/* Попап уведомлений не должен толкать flex-ряд (desktop — absolute у иконки) */
body.td-parts-page .header-bottom .header-notification > .header-notif-wrapper {
    position: absolute;
}
/* Адаптив: absolute у правой иконки + width 330/100vw → панель уезжает за край.
   Full-bleed fixed под хедером 52px (перебиваем absolute выше и notification.css ≤500). */
@media (max-width: 900px) {
    body.td-parts-page .header-bottom .header-notification > .header-notif-wrapper,
    body.td-parts-page .header-notification.active .header-notif-wrapper,
    body.afyc-hub-page .header-notification.active .header-notif-wrapper {
        position: fixed !important;
        top: 52px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(100vh - 52px) !important;
        height: calc(100dvh - 52px) !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
        z-index: 10060;
    }
    body.td-parts-page .mob-header-notif-wrapper-close,
    body.afyc-hub-page .mob-header-notif-wrapper-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        margin: -8px -8px -8px 0;
        font-size: 36px;
        font-weight: 300;
        line-height: 1;
        color: #353433;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}
@media (min-width: 901px) {
    body.td-parts-page .header-bottom .header-notification,
    body.td-parts-page .header-bottom .header-chat,
    body.td-parts-page .header-bottom .header-fav,
    body.td-parts-page .header-bottom .header-account,
    body.td-parts-page .header-bottom .header-profile {
        flex-direction: column;
        justify-content: flex-start;
        gap: 4px;
        min-width: 64px;
        width: 72px;
        height: 52px;
        padding: 2px 4px 0;
    }
    /* Слот иконки 28×28 — svg/аватар по центру, подписи на одной линии */
    body.td-parts-page .header-bottom .header-notification > .header-notification-icon,
    body.td-parts-page .header-bottom .header-chat > svg,
    body.td-parts-page .header-bottom .header-fav > svg,
    body.td-parts-page .header-bottom .header-account > svg,
    body.td-parts-page .header-bottom .header-profile > .header-profile-icon {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        display: grid !important;
        place-items: center;
        margin: 0 !important;
    }
    body.td-parts-page .header-bottom .header-notification > .header-notification-icon svg,
    body.td-parts-page .header-bottom .header-chat > svg,
    body.td-parts-page .header-bottom .header-fav > svg,
    body.td-parts-page .header-bottom .header-account > svg {
        width: 20px;
        height: 20px;
        display: block;
    }
    body.td-parts-page .header-bottom .header-profile > .header-profile-icon img,
    body.td-parts-page .header-bottom .header-profile-icon .header__profile-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }
}
body.td-parts-page .header-bottom .header-notification:hover,
body.td-parts-page .header-bottom .header-chat:hover,
body.td-parts-page .header-bottom .header-fav:hover,
body.td-parts-page .header-bottom .header-account:hover {
    background: #f5f6f7;
}
body.td-parts-page .header-bottom .header-notification::after {
    content: "Уведомления";
    font-size: 11px;
    line-height: 1.2;
    color: #6b6b6b;
    white-space: nowrap;
}
body.td-parts-page .header-bottom .header-chat::after {
    content: "Сообщения";
    font-size: 11px;
    line-height: 1.2;
    color: #6b6b6b;
    white-space: nowrap;
}
body.td-parts-page .header-bottom .header-fav::after {
    content: "Избранное";
    font-size: 11px;
    line-height: 1.2;
    color: #6b6b6b;
    white-space: nowrap;
}
/* Точка «есть избранное» — у правого верхнего угла сердечка, не у края колонки с подписью */
body.td-parts-page .header-bottom .header-fav.fav-isset,
body.afyc-hub-page .header-bottom .header-fav.fav-isset {
    position: relative;
}
body.td-parts-page .header-bottom .header-fav.fav-isset::before,
body.afyc-hub-page .header-bottom .header-fav.fav-isset::before {
    content: '';
    position: absolute;
    top: 2px;
    right: auto;
    left: 50%;
    margin-left: 4px;
    width: 8px;
    height: 8px;
    background-color: #E23737;
    border-radius: 50%;
    z-index: 2;
}
/* Mobile: точка избранного на одной высоте с точкой колокольчика (notification-isset top:0) */
@media (max-width: 899px) {
    body.td-parts-page .header-bottom .header-fav.fav-isset::before,
    body.afyc-hub-page .header-bottom .header-fav.fav-isset::before {
        top: 2px;
        right: 2px;
        left: auto;
        margin-left: 0;
    }
}
body.td-parts-page .header-bottom .header-account::after,
body.td-parts-page .header-bottom .header-profile::after {
    content: "Профиль";
    font-size: 11px;
    line-height: 1.2;
    color: #6b6b6b;
    white-space: nowrap;
}
body.td-parts-page .header-bottom .header-account span {
    display: none;
}
body.td-parts-page .header-bottom .header-profile-icon {
    width: 28px;
    height: 28px;
    margin: 0;
}
/* CTA «Разместить объявление».
 * Сворачивание: только max-width + overflow:hidden за 0.7s.
 * Текст НЕ display:none / НЕ opacity:0 — обрезается родителем. */
body.td-parts-page .header-bottom .header-add {
    order: 10;
    margin-left: 8px;
    display: block !important;
    flex: 0 0 auto;
}
body.td-parts-page .header-bottom .header-add .link_btn,
body.td-parts-page .header-bottom .header-add .add-offer {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    /* DOM: span → svg(+). flex-end = клип слева, «+» остаётся справа */
    justify-content: flex-end !important;
    gap: 8px;
    box-sizing: border-box;
    width: 220px !important;
    max-width: 220px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 14px 0 16px !important;
    border-radius: 12px !important;
    background: #E23737 !important;
    border: 1px solid #E23737 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: none;
    overflow: hidden !important;
    white-space: nowrap !important;
    transition: width 0.7s ease, max-width 0.7s ease, padding 0.7s ease,
        border-radius 0.7s ease, gap 0.7s ease !important;
}
body.td-parts-page .header-bottom .header-add .link_btn span,
body.td-parts-page .header-bottom .header-add .add-offer span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto;
    order: 1;
    font-weight: 400 !important;
    font-family: Inter-Medium, sans-serif !important;
    font-size: 14px !important;
    /* развёрнуто: белый; при .scroll → #e23737 (сливается с фоном) */
    color: #fff !important;
    transition: color 0.7s ease !important;
}
body.td-parts-page .header-bottom .header-add .link_btn svg,
body.td-parts-page .header-bottom .header-add .add-offer svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    order: 2;
    /* «+» всегда белый, без анимации цвета */
    color: #fff !important;
    fill: #fff !important;
}
body.td-parts-page .header-bottom .header-add .link_btn svg path,
body.td-parts-page .header-bottom .header-add .add-offer svg path {
    fill: #fff !important;
    transition: none !important;
}
/* .header.scroll: текст уезжает влево за overflow, «+» остаётся */
body.td-parts-page .header.scroll .header-bottom .header-add .link_btn,
body.td-parts-page .header.scroll .header-bottom .header-add .add-offer,
body.td-parts-page .header.scroll .header-add .link_btn,
body.td-parts-page .header.scroll .header-add .add-offer {
    width: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    /* (44-20)/2 = 12 — центрируем «+» у правого края */
    padding: 0 12px 0 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
}
body.td-parts-page .header.scroll .header-bottom .header-add span,
body.td-parts-page .header.scroll .header-add span,
body.td-parts-page .header.scroll .header-add .link_btn span,
body.td-parts-page .header.scroll .header-add .add-offer span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #e23737 !important;
}
body.td-parts-page .header-bottom .header-add .link_btn:hover {
    background: #c92f2f !important;
    border-color: #c92f2f !important;
}

@media (max-width: 900px) {
    body.td-parts-page .header-top {
        display: none;
    }
    /* Адаптив: хедер только sticky, без 0.7s сворачиваний/догонялок */
    body.td-parts-page .header,
    body.td-parts-page .header *,
    body.td-parts-page .header-bottom,
    body.td-parts-page .header-bottom *,
    body.td-parts-page .header-top,
    body.td-parts-page .header-top *,
    body.td-parts-page .container-page,
    body.td-parts-page .wrapper {
        transition: none !important;
        animation: none !important;
    }
    /* layout.php даёт .wrap { margin: 45px auto } — убивает прилипание поиска к хедеру */
    body.td-parts-page .wrap,
    body.td-parts-page .td-wizard-wrap,
    body.td-parts-page .wrap.td-wizard-wrap,
    body.td-parts-page .wrap.td-wizard-wrap.ap-home-wrap {
        margin: 0 auto !important;
    }
    body.td-parts-page .mp-sf {
        margin-top: 0 !important;
    }
    /* Отступ контента = высота хедера (см. header-bottom ниже) */
    body.td-parts-page .container-page,
    body.td-parts-page .wrapper,
    body.td-parts-page:has(.header.scroll) .container-page,
    body.td-parts-page:has(.header.scroll) .wrapper {
        padding-top: 52px !important;
    }
    body.td-parts-page .header-bottom > .new-container {
        gap: 4px;
        padding-left: 10px;
        padding-right: 10px;
        align-items: center;
    }
    /* notification.css даёт burger width:90px — ломает ряд с «Разместить» */
    body.td-parts-page .header-bottom .header-burger {
        width: auto !important;
        max-width: 36px;
        margin-right: 0 !important;
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    body.td-parts-page .header-bottom .header-notification::after,
    body.td-parts-page .header-bottom .header-chat::after,
    body.td-parts-page .header-bottom .header-fav::after,
    body.td-parts-page .header-bottom .header-account::after,
    body.td-parts-page .header-bottom .header-profile::after {
        display: none;
    }
    body.td-parts-page .header-bottom .header-notification,
    body.td-parts-page .header-bottom .header-chat,
    body.td-parts-page .header-bottom .header-fav,
    body.td-parts-page .header-bottom .header-account,
    body.td-parts-page .header-bottom .header-profile {
        flex-direction: row;
        width: auto;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 40px;
        padding: 0;
        margin: 0 !important;
        gap: 0;
        align-items: center;
        justify-content: center;
    }
    body.td-parts-page .header-bottom .header-add {
        margin-left: 2px;
        flex: 0 0 36px;
        order: 10;
        width: 36px;
        height: 36px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    /* На адаптиве только «+» — иначе «…ие» вылезает с края (desktop !important иначе побеждает) */
    body.td-parts-page .header-bottom .header-add .link_btn span,
    body.td-parts-page .header-bottom .header-add .add-offer span,
    body.td-parts-page .header.scroll .header-bottom .header-add .link_btn span,
    body.td-parts-page .header.scroll .header-bottom .header-add .add-offer span,
    body.td-parts-page .header.scroll .header-add .link_btn span,
    body.td-parts-page .header.scroll .header-add .add-offer span {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.td-parts-page .header-bottom .header-add .link_btn,
    body.td-parts-page .header-bottom .header-add .add-offer,
    body.td-parts-page .header.scroll .header-bottom .header-add .link_btn,
    body.td-parts-page .header.scroll .header-bottom .header-add .add-offer {
        width: 36px !important;
        max-width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        gap: 0 !important;
        justify-content: center !important;
        align-items: center;
        border-radius: 50% !important;
    }
    body.td-parts-page .header-bottom .logo {
        margin-left: 4px;
        margin-right: auto;
        min-width: 0;
        max-width: 140px !important;
        flex: 0 1 auto;
    }
    body.td-parts-page .header-bottom .logo img {
        height: 32px !important;
        max-width: 100%;
        width: auto;
        object-fit: contain;
        display: block;
    }
    /*
     * .header.scroll на десктопе жмёт лого и «Разместить» — на адаптиве игнор.
     * Иначе лого уменьшается, sticky top пересчитывается → щель под хедером.
     */
    body.td-parts-page .header.scroll .header-bottom .logo,
    body.td-parts-page .header.scroll .header-logo-block .logo {
        max-width: 140px !important;
    }
    body.td-parts-page .header.scroll .header-bottom .logo img {
        height: 32px !important;
    }
    /*
     * 52px + поиск fixed top:50 → наезд 2px, перекрывает щель где просвечивает скролл.
     * height/max-height (не только min-height) — иначе девтулы «не берут».
     * overflow:visible — иначе попап профиля/колокольчика клипается в 52px
     * (на десктопе overflow нет → там всё ок).
     */
    body.td-parts-page .header,
    body.td-parts-page .header.scroll {
        height: 52px !important;
        max-height: 52px !important;
        overflow: visible !important;
        box-sizing: border-box;
    }
    body.td-parts-page .header-bottom,
    body.td-parts-page .header.scroll .header-bottom {
        padding: 0 0 !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    body.td-parts-page .header-bottom > .new-container,
    body.td-parts-page .header.scroll .header-bottom > .new-container {
        min-height: 0 !important;
        height: 100% !important;
        align-items: center;
    }
}

/* ===== Search panel polish ===== */
body.td-parts-page .ap-home-search-panel {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    padding: 18px 20px 16px;
}
body.td-parts-page .ap-home-search-panel .ap-home-search-find.btn-secondary {
    background: #E23737 !important;
    border-color: #E23737 !important;
    color: #fff !important;
}
body.td-parts-page .ap-home-search-panel .ap-home-search-find.btn-secondary:hover {
    background: #c92f2f !important;
    border-color: #c92f2f !important;
}
body.td-parts-page .ap-home-more-filters-btn {
    border: 1px solid #E23737 !important;
    color: #E23737 !important;
    background: #fff !important;
    border-radius: 10px !important;
    font-weight: 600;
}
body.td-parts-page .ap-home-oe-inline .ap-home-oe-find-btn {
    background: #E23737 !important;
    border-color: #E23737 !important;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
}

/* Feed titles like mock — слева, с «огнём» */
body.td-parts-page .ap-home-feed-title,
body.td-parts-page .ap-home-section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    margin: 28px 4px 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}
body.td-parts-page .ap-home-feed-title::before,
body.td-parts-page .ap-home-section-title::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E23737' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.td-parts-page .ap-home-cat-plates__title {
    text-align: left;
    margin: 20px 4px 14px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
}
body.td-parts-page .ap-wheels-fitment-gallery__title {
    text-align: left !important;
    margin: 12px 0 !important;
    font-size: 1.75rem !important;
}
@media (max-width: 899px) {
    body.td-parts-page .ap-wheels-fitment-gallery__title {
        font-size: 1.4rem !important;
        margin: 12px 0 !important;
        text-align: left !important;
    }
    body.td-parts-page .ap-wheels-fitment-gallery__all {
        flex: 0 0 auto;
        font-family: Inter-Medium, sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #E23737;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
}

/* Карточки на AP: выравнивание под макет */
body.td-parts-page .mp-ads-listing-card .mp-ads-listing-card__heading,
body.td-parts-page .mp-ads-listing-card .mp-ads-listing-card__vehicle,
body.td-parts-page .mp-ads-listing-card .catalog__items-price,
body.td-parts-page .mp-ads-listing-card p.mp-ads-listing-card__color {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.td-parts-page .mp-ads-listing-card.wm-card .mp-ads-listing-card__vehicle {
    text-align: center !important;
    margin-bottom: 2px !important;
}
body.td-parts-page .mp-ads-listing-card.wm-card .catalog__items-price,
body.td-parts-page .mp-ads-listing-card.wm-card .wm-card-price {
    text-align: center !important;
}
body.td-parts-page .mp-ads-listing-card.wm-card p.mp-ads-listing-card__color {
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.td-parts-page .mp-ads-listing-card.wm-card .catalog__items-location {
    justify-content: center;
}
body.td-parts-page .mp-ads-listing-card h3.catalog__items-title,
body.td-parts-page .mp-ads-listing-card h3.mp-ads-listing-card__title {
    text-align: center !important;
}
body.td-parts-page .mp-ads-listing-card .catalog__items-block {
    padding: 10px 12px 12px;
}
body.td-parts-page .mp-ads-listing-card .catalog__items-location {
    justify-content: flex-start;
}
body.td-parts-page .mp-ads-listing-card .catalog__items-location p {
    color: #6b6b6b !important;
    font-size: 13px !important;
}
body.td-parts-page .mp-ads-listing-card:not(.mp-ads-listing-card--special) .catalog__items-price {
    color: #1a1a1a !important;
}
body.td-parts-page .mp-ads-listing-card.mp-ads-listing-card--special .catalog__items-price {
    color: #E23737 !important;
}
/* Плашка продавца: мелкий серый текст, без фиолетового */
body.td-parts-page .wm-seller-bar {
    height: 18px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e8ecf0;
}
body.td-parts-page .wm-seller-bar__name {
    text-shadow: none;
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
}
