/*
 * RepairPieces v12 — стыковка макета с разметкой действующего сайта.
 * Здесь только то, чего нет в стилях макета: ссылки вместо кнопок макета (для поисковиков), скрытие по [hidden],
 * корни .rp вокруг шапки/подвала (без min-height и overflow макета), страницы подбора и избранного.
 * Цвета, шрифты и геометрия — из макета; новых решений по дизайну здесь нет.
 */

/* Корни макета вокруг частей страницы. */
.rp.rp-site-header, .rp.rp-site-footer, .rp.rp-drawer-root, .rp.rp-toast-root, .rp.rp-mobile-bottom-root, .rp.rp-page, .rp.rp-home { min-height: 0; overflow: visible; }
.rp.rp-home, .rp.rp-page { overflow-x: clip; }
.rp.rp-toast-root, .rp.rp-mobile-bottom-root { background: transparent; }
/* Только html: у body высота 100% (старый .page__body), overflow на нём обрезал страницу — под окном был пустой лист. */
html.rp-scroll-lock { overflow: hidden; }
body.rp-body { background: #fff; }

/* hidden всегда прячет: в стилях макета у многих блоков задан display. */
.rp [hidden], .rp2 [hidden], .rp[hidden], .rp-guided-dialog[hidden], .rp-ux-overlay[hidden], .rp-toast[hidden],
.rp-catalog-menu__panel[hidden], [data-rp-catalog-sub][hidden] { display: none !important; }

/* Ссылки там, где в макете кнопки: тот же вид. */
.rp .rp-desktop-nav > a { font-size: 14px; font-weight: 800; color: #2c3050; white-space: nowrap; display: flex; align-items: center; }
.rp .rp-desktop-nav > a:hover { color: var(--blue); }
.rp .rp-desktop-nav > button { padding: 0; }
.rp .rp-popular-queries a { background: #f0f5ff; color: #60718f; font-size: 14px; font-weight: 750; padding: 5px 9px; display: flex; align-items: center; gap: 3px; }
.rp .rp-popular-queries a:hover { color: var(--blue); }
.rp .rp-hero-bottomline a { display: flex; align-items: center; gap: 7px; color: #293451; font: 750 14px Manrope, sans-serif; }
.rp .rp-mobile-drawer > a { border-bottom: 1px solid var(--line); background: #fff; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 800; color: #20223f; }
.rp .rp-mobile-drawer > button { align-items: center; font-size: 16px; color: #20223f; text-align: left; }
.rp .rp-mobile-drawer { overflow-y: auto; padding-bottom: 24px; }
.rp .rp-mobile-drawer .rp-messengers { padding: 14px 0; }
.rp .rp-mobile-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #647491; font-size: 14px; font-weight: 800; }
/* 21.10.2026: пять пунктов, значок со счётчиком в углу, текущий раздел синим; отступ под «полоску» iPhone. */
.rp .rp-mobile-bottom.rp-mobile-bottom--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); height: auto; min-height: 60px; padding-bottom: env(safe-area-inset-bottom, 0); }
.rp .rp-mobile-bottom--5 > a, .rp .rp-mobile-bottom--5 > button { min-width: 0; padding: 7px 2px 6px; font-size: 11px; font-weight: 750; line-height: 1.2; letter-spacing: 0; color: #647491; white-space: nowrap; }
.rp .rp-mobile-bottom--5 > * > span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rp .rp-mobile-bottom--5 i { position: relative; display: grid; place-items: center; font-style: normal; }
.rp .rp-mobile-bottom--5 i .rp-badge { position: absolute; top: -7px; left: 13px; margin: 0; min-width: 17px; height: 17px; font-size: 11px; line-height: 17px; border: 2px solid #fff; box-sizing: content-box; }
.rp .rp-mobile-bottom--5 .is-current { color: var(--blue, #005bff); }
.rp .rp-mobile-bottom--5 > *:active { background: #f2f6fd; }
.rp .rp-mobile-bottom .rp-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 2px; border-radius: 9px; background: #005bff; color: #fff; font-size: 12px; }
.rp .rp-guided__actions a { display: inline-flex; align-items: center; gap: 7px; color: #005bff; font: 750 14px/1.4 Inter, Arial, sans-serif; padding: 3px 0; }
.rp .rp-guided__actions a:hover { text-decoration: underline; }
.rp .rp-guided__result.is-loading { opacity: .55; }
.rp .rp-guided__help { margin-top: 0; }
.rp-inline-link { color: inherit !important; text-decoration: underline !important; display: inline !important; }

/* Меню «Каталог»: пункты — ссылки. */
.rp-catalog-menu__subgrid a { border: 0; border-bottom: 1px solid #e4eaf3; padding: 12px 3px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #293a52; background: #fff; font-size: 15px; line-height: 1.4; }
.rp-catalog-menu__subgrid a:hover { color: #005bff; }
.rp-catalog-menu__all, .rp .rp-catalog-menu__all, .rp .rp-catalog-menu__all:hover { color: #fff; text-decoration: none; }
.rp .rp-catalog-menu__all:hover { background: #004ad1; }
.rp-catalog-menu__foot { display: flex; flex-wrap: wrap; gap: 0 28px; border-top: 1px solid #e2eaf5; margin-top: 15px; }
.rp-catalog-menu__foot .rp-catalog-menu__full { width: auto; border: 0; margin: 0; padding: 15px 0 0; display: flex; align-items: center; gap: 9px; color: #005bff; font-weight: 750; text-decoration: none; }
.rp-catalog-menu__mobile-sub a { text-align: left; border-bottom: 1px solid #dbe5f2; padding: 10px 4px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: #294464; }
.rp-catalog-menu__mobile-sub a:first-child { color: #005bff; font-weight: 750; }
.rp-catalog-menu__cat > button svg { transition: transform .2s; flex-shrink: 0; }
.rp-catalog-menu--mobile .rp-catalog-menu__cat > button.is-selected svg { transform: rotate(90deg); }
.rp-catalog-menu--mobile .rp-catalog-menu__trigger svg:last-child { transition: transform .2s; }
.rp-catalog-menu--mobile .rp-catalog-menu__trigger[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
.rp2-searchrow .rp-catalog-menu__panel { left: 0; top: calc(100% + 12px); }
.rp2 .rp2-searchrow .rp-catalog-menu__trigger { background: #005bff; color: #fff; padding: 10px 16px; min-height: 48px; }

/* Шапка внутренних страниц: пункты меню — ссылки, кнопки-значки — ссылки. */
.rp2-shell-header { min-height: 0; }
.rp2 .rp2-header-nav > a { color: #2c3853; font-size: 15px; font-weight: 650; white-space: nowrap; padding: 13px 0; }
.rp2 .rp2-header-nav > a:hover { color: var(--blue); }
.rp2 .rp2-header-actions > .rp2-action { position: relative; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50% !important; background: #fff; color: #243653; }
.rp2 .rp2-header-actions > .rp2-action:hover { background: var(--pale); color: var(--blue); }
.rp2 .rp2-header-actions .rp-badge, .rp .rp-action .rp-badge { position: absolute; top: -5px; right: -6px; background: var(--blue, #005bff); color: #fff; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; min-width: 19px; height: 19px; line-height: 19px; text-align: center; display: grid; place-items: center; }
.rp2 .rp2-header-actions > .rp2-menu-button { display: none; }
@media (max-width: 1300px) { .rp2 .rp2-header-actions > .rp2-menu-button { display: grid; } }
@media (max-width: 760px) { .rp2 .rp2-header-actions > .rp2-action { width: 37px; height: 37px; } }
.rp2 .rp2-search-suggest > a { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 8px; color: var(--ink); }
.rp2 .rp2-search-suggest > a:hover, .rp2 .rp2-search-suggest > a:focus { background: var(--pale); outline: none; }
.rp2 .rp2-search-form input[type=search]::-webkit-search-cancel-button { display: none; }
.rp .rp-search-form input[type=search]::-webkit-search-cancel-button { display: none; }
.rp .rp-suggest a:focus { color: var(--blue); background: #f0f5ff; outline: none; }
.rp .rp-suggest p { font-size: 14px; color: var(--muted); margin: 6px 10px; }

/* Карточка товара: избранное, наличие, «по запросу». */
.rp .rp-product-like svg { color: #2c2847; transition: color .15s; }
.rp .rp-product-like.is-on svg { color: #005bff; fill: #005bff; }
.rp .rp-product-bottom button { width: 45px; height: 45px; flex-shrink: 0; border-radius: var(--rp-radius-control); }
.rp .rp-product-bottom button:hover { background: #004acb; }
.rp .rp-product-bottom button.rp-product-notify { background: #fff; border: 1px solid #a6c6f8; color: var(--blue); }
@media (max-width: 760px) { .rp .rp-product-bottom button { width: 38px; height: 38px; } }
.rp .rp-product-bottom button.is-added { background: #0b7a34; }
.rp .rp-product-bottom button:disabled { opacity: .6; cursor: progress; }
.rp .rp-product-price-request { font-size: 15px !important; color: #56637a; }
.rp .rp-product-stock { display: block; margin-top: 8px; font: 600 14px/1.3 Inter, Arial, sans-serif; }
.rp .rp-product-stock--on { color: #0b7a34; }
.rp .rp-product-stock--off { color: #8a93a6; }
.rp .rp-products-grid[hidden] { display: none !important; }

/* Статьи: обложки из статей вместо значков макета (когда обложка есть). */
/* Обложки почти все — предмет на белом фоне, одна — фото во весь кадр: все вписываем целиком на один светлый фон,
   белый фон картинки сливается с ним (multiply). Подпись над заголовком — вид техники и тема, не «СТАТЬЯ». */
.rp .rp-article-art--photo { background: #f2f5fa; padding: 14px 18px; }
.rp .rp-article-art--photo:after { display: none; }
.rp .rp-article-art--photo img { position: absolute; inset: 14px 18px; width: calc(100% - 36px); height: calc(100% - 28px); object-fit: contain; display: block; mix-blend-mode: multiply; }
.rp .rp-article-meta { gap: 12px; text-transform: none; letter-spacing: 0; }
.rp .rp-article h3 { min-height: 0; margin-bottom: 8px; }
.rp .rp-article-lead { padding: 0 20px; margin: 0 0 18px; color: #56637a; font: 400 14px/1.5 Inter, Arial, sans-serif;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Текст «О магазине» из базы: заголовок и ссылки как в макете. */
.rp .rp-seo-text h2 { font-size: 18px; margin: 17px 0; }
.rp .rp-seo-text a { color: #4776be; text-decoration: underline; }
.rp .rp-seo-text p, .rp .rp-seo-text li { font-size: 16px; line-height: 1.65; color: #46566f; max-width: 1090px; }

/* Подвал. */
.rp .rp-footer-top a img { width: 160px; height: auto; filter: grayscale(1) brightness(0) invert(1); }
.rp .rp-footer-links { flex-wrap: wrap; gap: 40px 72px; }
.rp .rp-footer-links a:hover, .rp .rp-footer-links button:hover { color: #fff; text-decoration: underline; }
.rp .rp-footer-links button { cursor: pointer; }
.rp-shop-footer__call { display: inline-block; background: none; border: 0; padding: 0; color: #cbd6ea; font: 500 14px/1.65 Inter, Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.rp-shop-footer__call:hover { color: #fff; }
.rp-shop-footer__payments { display: flex; gap: 6px; margin-bottom: 10px; }
.rp-shop-footer__payments img { background: #fff; padding: 3px; width: 54px; height: 30px; object-fit: contain; }
.rp .rp-footer-bottom button { cursor: pointer; }
@media (max-width: 650px) {
    .rp .rp-footer-links { gap: 28px 40px; }
    body.rp-body { padding-bottom: 63px; }
}

/* Подписка (общая форма рассылки в оформлении макета). */
.rp-newsletter__notice:empty { display: none; }

/* Окно заявки: сообщение об ошибке. */
.rp-help-form__notice.is-error { background: #fff1f0; border-left-color: #b42318; color: #7a1a12; }
.rp-help-form__upload { cursor: pointer; }

/* Страницы подбора и избранного. */
.rp.rp-page { padding: 18px 0 90px; }
.rp-page .breadcrumb { margin: 10px 0 18px; }
.rp-page-head h1 { font: 800 clamp(30px, 3.4vw, 46px)/1.2 Manrope, Inter, Arial, sans-serif; letter-spacing: -.045em; margin: 13px 0 11px; }
.rp-page-head h1 em { color: var(--blue); font-style: normal; }
.rp-page .rp-section-link { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.rp-finder-models { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -10px 0 28px; font-size: 14px; color: #56637a; }
.rp-finder-models a { background: #f0f5ff; color: #34435f; padding: 6px 10px; font-weight: 700; }
.rp-finder-models a:hover { color: var(--blue); }
.rp-finder-group { margin: 0 0 42px; }
.rp-finder-group h2 { font: 750 22px/1.3 Manrope, Inter, Arial, sans-serif; margin: 0 0 16px; }
.rp-finder-group h2 small { color: #8a93a6; font-size: 16px; margin-left: 6px; }
.rp-finder-help { display: flex; gap: 14px; align-items: flex-start; background: #eef4ff; border-left: 3px solid #005bff; padding: 18px 20px; }
.rp-finder-help svg { color: #005bff; flex: 0 0 22px; }
.rp-finder-help p { margin: 0; font-size: 16px; line-height: 1.6; }
.rp-finder-help button { background: none; border: 0; padding: 0; color: #005bff; font-weight: 750; text-decoration: underline; }
.rp-primary-link { display: inline-flex; background: #005bff; color: #fff !important; padding: 12px 17px; font-weight: 750; }
.rp-products-empty button { cursor: pointer; }

/* Старые окна сайта (город, вход, ремонт, «Спасибо», «Сообщить о поступлении») и cookie-баннер — в цветах и шрифтах макета. */
.modals .modal, #requestModal .modal { font-family: Inter, Arial, sans-serif; border-radius: 0; color: #202b42; }
.modals .modal :is(.modal__title, .apply__title, .city-confirmation__title, .select-city__title, h5) { font-family: Manrope, Inter, Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; color: #202b42; }
.modals .modal :is(input.input, .form-lk__input, .select-city__input, textarea), #requestModal input[type=email] { border: 1px solid #bfd0e9 !important; border-radius: 0 !important; font: 500 16px/1.4 Inter, Arial, sans-serif; }
.modals .modal .btn, #requestModal .btn { border-radius: 0; font: 700 16px/1.3 Inter, Arial, sans-serif; letter-spacing: 0; }
.modals .modal .btn--primary, .modals .modal .city-confirmation__btn, #requestModal .btn--primary { background: #005bff; border-color: #005bff; color: #fff; }
.modals .modal .btn--primary:hover, .modals .modal .city-confirmation__btn:hover { background: #0049d6; }
.modals .modal .city-confirmation__another { border: 1px solid #bfd0e9; background: #fff; color: #005bff; }
.modals .modal a:not(.btn) { color: #005bff; }

.cookie-info { font-family: Inter, Arial, sans-serif; }
.cookie-info.show { position: fixed; left: 15px; right: auto; bottom: 15px; top: auto; width: min(560px, calc(100vw - 30px)); max-width: none; z-index: 850;
    background: #fff; border: 1px solid #d7e1ef; box-shadow: 0 10px 44px #1425444d; padding: 20px 22px; }
.cookie-info .cookie-info__container { display: block; padding: 0; max-width: none; width: auto; margin: 0; }
.cookie-info .cookie-info__text { font: 500 14px/1.55 Inter, Arial, sans-serif; color: #46566f; margin: 0 0 14px; letter-spacing: 0; }
.cookie-info .cookie-info__text a { color: #005bff; }
.cookie-info .cookie-info__btn { min-height: 42px; padding: 10px 16px; width: auto; border-radius: 0; font: 700 15px/1.2 Inter, Arial, sans-serif; letter-spacing: 0; }
.cookie-info .cookie-info__btn.btn--primary { background: #005bff; border: 1px solid #005bff; color: #fff; }
.cookie-info .cookie-info__btn.btn--white { background: #f5f8ff; border: 1px solid #afc1df; color: #202b42; }
@media (max-width: 650px) { .cookie-info.show { bottom: 75px; left: 10px; width: calc(100vw - 20px); } }
.rp-newsletter__consent input { appearance: auto; -webkit-appearance: checkbox; }

/* Окно заявки вне .rp: hidden и вид кнопки «Прикрепить фото». */
.rp-ux-overlay [hidden] { display: none !important; }
.rp-help-form label.rp-help-form__upload { display: inline-flex !important; align-items: center; gap: 9px; font-size: 15px; }
.rp-help-form input[type=checkbox], .rp-ux-modal input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; padding: 0; border: 0; min-height: 0; }

/* Выдвижное меню поверх шапки; каталог в нём — во всю ширину, без второго заголовка. */
.rp-drawer-root .rp-overlay { z-index: 400; }
.rp .rp-catalog-menu--mobile .rp-catalog-menu__panel { width: 100%; left: auto; }
.rp-catalog-menu--mobile .rp-catalog-menu__heading { display: none; }
.rp-catalog-menu--mobile .rp-catalog-menu__trigger { font-size: 16px !important; }

/* Узкий экран внутренних страниц: «Найти» — только значок (как в макете), кнопка каталога компактнее. */
@media (max-width: 760px) {
    .rp2 .rp2-search-form > button { font-size: 0 !important; width: 41px; min-width: 41px; padding: 0; justify-content: center; }
    .rp2 .rp2-search-form > button svg { width: 19px; height: 19px; }
    .rp2 .rp2-searchrow .rp-catalog-menu__trigger { padding: 10px 12px; }
}
@media (max-width: 420px) {
    .rp2 .rp2-searchrow .rp-catalog-menu__trigger { font-size: 0 !important; gap: 0; }
    .rp2 .rp2-searchrow .rp-catalog-menu__trigger svg:last-child { display: none; }
}

/* ===== Внутренние страницы (этап P1): общие элементы ===== */
.rp2.rp2-page { min-height: 0; }
/* Хлебные крошки сайта (с разметкой schema.org) в виде макета. */
.rp2 .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 1px 0 30px; padding: 0; list-style: none; font: 500 14px/1.5 Inter, Arial, sans-serif; color: #718099; background: none; }
.rp2 .breadcrumb__item { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 0; }
.rp2 .breadcrumb__item::before, .rp2 .breadcrumb__item::after { content: none !important; display: none !important; }
.rp2 .breadcrumb__item + .breadcrumb__item::before { content: '' !important; display: inline-block !important; width: 6px; height: 6px; border-right: 1.5px solid #9fb0c9; border-top: 1.5px solid #9fb0c9; transform: rotate(45deg); margin-right: 4px; }
.rp2 .breadcrumb a { color: #718099; }
.rp2 .breadcrumb a:hover { color: var(--blue); }
.rp2 .breadcrumb__item:last-child .breadcrumb__name { color: #34455f; }
.rp2 h1 { font: 800 clamp(30px, 3.4vw, 46px)/1.15 Manrope, Inter, Arial, sans-serif; letter-spacing: -.045em; color: var(--ink); }
.rp2 h2 { font-family: Manrope, Inter, Arial, sans-serif; letter-spacing: -.03em; color: var(--ink); }

/* Разделы каталога над списком. */
.rp2 .rp2-sections { margin: -10px 0 26px; }
.rp2 .rp2-linkchips a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Сортировка: четыре списка прежней формы. */
.rp2 .rp2-list-controls .rp2-sorts { display: flex; flex-wrap: wrap; gap: 8px; }
.rp2 .rp2-list-controls .rp2-sorts select { margin: 0; cursor: pointer; }
.rp2 .rp2-filter-toggle { display: none !important; }
@media (max-width: 1040px) { .rp2 .rp2-filter-toggle { display: flex !important; } }
@media (max-width: 760px) {
    .rp2 .rp2-list-controls .rp2-sorts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .rp2 .rp2-list-controls .rp2-sorts label { width: auto; display: block; }
    .rp2 .rp2-list-controls .rp2-sorts select { width: 100%; }
}

/* Дерево разделов слева: группы раскрываются, ссылки всегда в HTML. */
.rp2 .rp2-filter-group { border-bottom: 1px solid #eef2f8; }
.rp2 .rp2-filter-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; font: 650 14px/1.45 Inter, Arial, sans-serif; color: #253750; }
.rp2 .rp2-filter-group summary::-webkit-details-marker { display: none; }
.rp2 .rp2-filter-group summary svg { flex: 0 0 16px; color: #8a9bb6; transition: transform .2s; }
.rp2 .rp2-filter-group[open] summary svg { transform: rotate(180deg); }
.rp2 .rp2-filter-group a { padding: 5px 0 5px 12px; border-left: 2px solid #e5ecf6; }
.rp2 .rp2-filter-block a.is-active { color: var(--blue); font-weight: 700; border-left-color: var(--blue); }
.rp2 .rp2-side-help-mini p { font-size: 14px; line-height: 1.5; color: #52617a; margin: 0 0 10px; }
.rp2 .rp2-side-help-mini .rp2-inline-blue { margin: 4px 0; font-size: 14px; }

/* Карточка списка: заголовок-обёртка, наличие, «сообщить». */
.rp2 .rp2-prodcard { position: relative; }
.rp2 .rp2-prodcard__title { margin: 6px 0 0; font: inherit; }
.rp2 .rp2-stock--on { color: #0b7a34 !important; }
.rp2 .rp2-price-request { font-size: 16px !important; color: #52617a; }
.rp2 .rp2-prodcard__bottom button.rp2-notify { background: #fff; border: 1px solid #a6c6f8; color: var(--blue); }
.rp2 .rp2-prodcard__bottom button.is-added { background: #0b7a34; }
.rp2 .rp2-fav svg { transition: color .15s; }
.rp2 .rp2-fav.is-saved svg { fill: currentColor; }
.rp2 .rp2-fav.is-on { color: var(--blue); }
.rp2 .rp2-fav.is-on svg { fill: currentColor; }

/* Низ списка: «Показать ещё» и страницы. */
.rp2 .rp2-catalog-footer { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 28px; }
.rp2 .rp2-load-more { min-width: 240px; }
.rp2 .rp2-load-more[hidden] { display: none !important; }
.rp2 .rp2-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.rp2 .rp2-pagination li a, .rp2 .rp2-pagination li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: #253750; font: 650 15px/1 Inter, Arial, sans-serif; }
.rp2 .rp2-pagination li a:hover { border-color: var(--blue); color: var(--blue); }
.rp2 .rp2-pagination li.is-active a { background: var(--blue); border-color: var(--blue); color: #fff; }
.rp2 .rp2-pagination li.is-disabled span { color: #b4c0d3; }

/* SEO-текст раздела из базы. */
.rp2 .rp2-seo-text { color: #465670; }
.rp2 .rp2-seo-text :is(h2, h3) { margin: 22px 0 12px; font-size: 22px; }
.rp2 .rp2-seo-text p, .rp2 .rp2-seo-text li { max-width: 920px; font-size: 16px; line-height: 1.75; }
.rp2 .rp2-seo-text ul, .rp2 .rp2-seo-text ol { padding-left: 22px; margin: 10px 0; }
.rp2 .rp2-seo-text ul { list-style: disc; }
.rp2 .rp2-seo-text ol { list-style: decimal; }
.rp2 .rp2-seo-text a { color: var(--blue); text-decoration: underline; }

/* ===== Карточка товара ===== */
.rp2 .rp2-detail .product { display: block; padding: 0; margin: 0; grid-template-columns: none; }
.rp2 .rp2-detail-code { position: relative; }
.rp2 .rp2-detail-code .product-copy-sku-status { color: #0b7a34; }
.rp2 .rp2-detail-fav { color: #5b6d87 !important; }
.rp2 .rp2-detail-fav.is-on { color: var(--blue) !important; }
.rp2 .rp2-detail-fav.is-on svg { fill: currentColor; }
.rp2 .rp2-gallery--swiper { display: block; }
.rp2 .rp2-gallery--swiper .product__slider { width: 100%; max-width: none; margin: 0; }
.rp2 .rp2-gallery--swiper .product-slider { width: 100%; }
.rp2 .rp2-gallery--swiper .product-preview { border: 1px solid #e4ebf5; background: #fafbfd; }
.rp2 .rp2-gallery--swiper .product-preview__slide { background: #fafbfd !important; }
.rp2 .rp2-gallery--swiper .product-thumbs { margin-top: 10px; }
.rp2 .rp2-gallery--swiper .product-thumbs__slide { border: 1px solid #e4ebf5; }
.rp2 .rp2-gallery--swiper .swiper-slide-thumb-active .product-thumbs__slide { border: 2px solid var(--blue); }
.rp2 .rp2-image-note { margin-top: 10px; }
.rp2 .rp2-spec-mini a { color: var(--blue); }
.rp2 .rp2-fit-check .rp2-inline-blue { margin-top: 12px; font-size: 14px; }
.rp2 .rp2-fit-result[hidden] { display: none !important; }
.rp2 .rp2-fit-result svg { flex-shrink: 0; color: var(--blue); }
.rp2 .rp2-buy-badge--on { color: #0b7a34; background: #e8f6ee; }
.rp2 .rp2-buy-badge--off { color: #8a5a00; background: #fff4df; }
.rp2 .rp2-buy-info a { color: var(--blue); text-decoration: underline; }
.rp2 .rp2-qty .product-input { display: flex; align-items: center; border: 1px solid #d4dfed; height: 41px; width: auto; margin: 0; padding: 0; background: #fff; }
.rp2 .rp2-qty .product-input__btn { position: static; width: 38px; height: 39px; border: 0; background: none; display: grid; place-items: center; color: #253750; padding: 0; transform: none; }
.rp2 .rp2-qty .product-input__btn::before, .rp2 .rp2-qty .product-input__btn::after { display: none; content: none; }
.rp2 .rp2-qty .product-input__input { width: 44px; height: 39px; border: 0; text-align: center; font: 700 16px/1 Inter, Arial, sans-serif; padding: 0; background: none; }
.rp2 .rp2-buy-button { width: 100%; text-decoration: none; }
.rp2 a.rp2-primary { color: #fff; }
.rp2 .rp2-buy-delivery .rp2-city-change { font-size: 14px; margin: 4px 0; }
.rp2 .rp2-product-content { color: #465670; font-size: 16px; line-height: 1.75; }
.rp2 .rp2-product-content p { margin: 0 0 12px; }
.rp2 .rp2-product-content :is(ul, ol) { padding-left: 22px; margin: 8px 0 14px; }
.rp2 .rp2-product-content ul { list-style: disc; }
.rp2 .rp2-tab-body[hidden] { display: none !important; }
.rp2 .rp2-tab-body .show-more__content { font-size: 15px; line-height: 1.8; color: #34455f; }
.rp2 .rp2-spec-table dd { overflow-wrap: anywhere; }
.rp2 .rp2-disclaimer { color: #6f8099; margin-top: 18px; }
.rp2 .rp2-product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .rp2 .rp2-product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rp2 .rp2-sticky-mark { display: block; width: 100%; height: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
.rp2 .rp2-qty .product-input__btn::before, .rp2 .rp2-qty .product-input__btn::after { display: none !important; content: none !important; }
.rp2 .rp2-qty .product-input__btn svg { display: block; }
.rp2 .rp2-qty .product-input__input { display: block !important; color: #253750 !important; opacity: 1 !important; visibility: visible !important; font-size: 16px !important; -webkit-text-fill-color: #253750; position: static !important; }
.rp2 .rp2-qty .product-input__btns { display: none; }

/* ===== Каталог, разделы, бренды, статьи, поиск, контакты, документы ===== */
.rp2 .rp2-category-card strong small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: #6f8099; }
.rp2 .rp2-category-icon--photo { background: #fff; border: 1px solid #e5ecf6; overflow: hidden; }
.rp2 .rp2-category-icon--photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rp2 .rp2-subsections h2 a:hover, .rp2 .rp2-subsection h3 a:hover { color: var(--blue); }
.rp2 .rp2-subsection { margin: 0 0 24px; }
.rp2 .rp2-subsection h3 { font: 750 18px/1.35 Manrope, Inter, Arial, sans-serif; margin: 0 0 10px; }
.rp2 .rp2-subsection h3 small { font: 500 14px Inter, Arial, sans-serif; color: #8a9bb6; margin-left: 6px; }
.rp2 .rp2-subsection .rp2-related-links { margin: 0; }
.rp2 .rp2-brand-grid strong { font-size: 18px; line-height: 1.3; }
.rp2 .rp2-brand-grid a[hidden] { display: none !important; }
.rp2 .rp2-brand-appliances { margin: -6px 0 24px; }
.rp2 .rp2-brand-appliances small { color: #8a9bb6; margin-left: 4px; }
.rp2 .rp2-list-controls--plain { justify-content: flex-start; }
.rp2 .rp2-articlecard { padding: 0 0 22px; background: #fff; overflow: hidden; }
.rp2 .rp2-articlecard > time { padding: 18px 22px 0; color: var(--blue); font: 700 14px Inter, Arial, sans-serif; order: 2; }
.rp2 .rp2-articlecard .rp2-article-cover { height: 200px; order: 1; background: #f2f5fa; overflow: hidden; padding: 14px 18px; }
.rp2 .rp2-articlecard .rp2-article-cover img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rp2 .rp2-articlecard h2 { order: 3; margin: 12px 22px 10px; font-size: 19px; }
.rp2 .rp2-articlecard > p { order: 4; margin: 0 22px 16px; font-size: 15px; line-height: 1.6; color: #52617a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp2 .rp2-articlecard > div:last-child { order: 5; margin: auto 22px 0; }
.rp2 .rp2-single-article .rp2-page-kicker time { color: inherit; }
/* Обложка в статье: целиком на светлом фоне, как на главной; высота ограничена, чтобы текст начинался на первом экране. */
.rp2 .rp2-article-art--photo { height: 320px; overflow: hidden; margin-bottom: 28px; background: #f2f5fa; padding: 20px; }
.rp2 .rp2-article-art--photo img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 760px) { .rp2 .rp2-article-art--photo { height: 220px; padding: 14px; } }
.rp2 .rp2-article-content { color: #34455f; }
.rp2 .rp2-article-content :is(p, li) { font-size: 17px; line-height: 1.85; }
.rp2 .rp2-article-content :is(ul, ol) { padding-left: 24px; margin: 12px 0 18px; }
.rp2 .rp2-article-content ul { list-style: disc; }
.rp2 .rp2-article-content ol { list-style: decimal; }
.rp2 .rp2-article-content a { color: var(--blue); text-decoration: underline; }
.rp2 .rp2-article-content img { max-width: 100%; height: auto; }
.rp2 .rp2-article-content table { border-collapse: collapse; margin: 16px 0; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.rp2 .rp2-article-content :is(td, th) { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.rp2 .rp2-side-help .rp2-primary, .rp2 .rp2-side-help .rp2-secondary { width: 100%; margin-top: 8px; }
.rp2 .rp2-search-note { display: flex; gap: 8px; align-items: center; background: #f0f6ff; border-left: 3px solid var(--blue); padding: 10px 14px; font-size: 15px !important; }
.rp2 .rp2-search-note svg { color: var(--blue); flex: 0 0 18px; }
.rp2 .rp2-empty__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.rp2 .rp2-empty__actions .rp2-secondary { min-height: 47px; padding: 12px 18px; }
.rp2 .rp2-finder-help-inline { display: flex; gap: 12px; align-items: flex-start; margin-top: 34px; background: #f0f6ff; border-left: 3px solid var(--blue); padding: 16px 18px; }
.rp2 .rp2-finder-help-inline svg { color: var(--blue); flex: 0 0 22px; }
.rp2 .rp2-finder-help-inline p { margin: 0; font-size: 16px; }
.rp2 .rp2-finder-help-inline .rp2-inline-blue { font-size: 16px; text-decoration: underline; }
.rp2 .rp2-info-grid .rp2-inline-blue { margin-top: 14px; }
.rp2 .rp2-contacts-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.rp2 .rp2-contacts-bottom .rp2-text-panel { margin-top: 40px; }
.rp2 .rp2-seller a { color: var(--blue); }
.rp2 .rp2-map { margin-top: 40px; min-height: 380px; border: 1px solid var(--line); background: #f4f7fb; }
@media (max-width: 900px) { .rp2 .rp2-contacts-bottom { grid-template-columns: 1fr; } }

/* Тексты документов и информационных страниц (содержание прежнее, только оформление). */
.rp2-textpage .rp2-section > :not(.breadcrumb):not(.rp2-pageintro):not(.rp2-page-kicker):not(h1) { max-width: 960px; }
.rp2-textpage :is(p, li, td, th) { font: 400 16px/1.75 Inter, Arial, sans-serif; color: #34455f; }
.rp2-textpage p { margin: 0 0 12px; }
.rp2-textpage :is(h2, h3, .title-3) { font: 750 22px/1.35 Manrope, Inter, Arial, sans-serif; color: #202b42; margin: 28px 0 12px; letter-spacing: -.02em; }
.rp2-textpage ul, .rp2-textpage ol { padding-left: 24px; margin: 8px 0 16px; }
.rp2-textpage ul { list-style: disc; }
.rp2-textpage ol { list-style: decimal; }
.rp2-textpage a { color: var(--blue); text-decoration: underline; }
.rp2-textpage table { border-collapse: collapse; width: 100%; margin: 14px 0 22px; display: block; overflow-x: auto; }
.rp2-textpage :is(td, th) { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.rp2-textpage .payment, .rp2-textpage .payment__item, .rp2-textpage .repair { display: block; padding: 0; background: none; border: 0; width: auto; }
.rp2-textpage img { max-width: 100%; height: auto; }
.rp2-textpage .text-page > h1 { margin: 0 0 20px; }
.rp2-textpage .breadcrumb a { text-decoration: none; color: #718099; }
.rp2-textpage :is(h2, h3, .title-3) + p { margin-top: 0; }
.rp2-textpage .payment__title { margin-bottom: 10px !important; }

/* ===== Корзина ===== */
.rp2 .rp2-cart-item { grid-template-columns: 108px minmax(0, 1fr) auto; }
.rp2 .rp2-cart-item__img img { width: 108px; height: 115px; object-fit: contain; display: block; }
.rp2 .rp2-cart-item .shopping-cart__title { font-weight: 650; font-size: 16px; line-height: 1.5; display: block; color: var(--ink); }
.rp2 .rp2-cart-item .shopping-cart__title:hover { color: var(--blue); }
.rp2 .rp2-remove { text-decoration: none; }
.rp2 .rp2-remove--all { margin-top: 18px; border-top: 1px solid #e9edf4; padding-top: 16px; }
.rp2 .rp2-cart-controls .product-input { display: flex; align-items: center; border: 1px solid #dce5ef; height: 41px; width: auto; margin: 0; padding: 0; position: static; background: #fff; }
.rp2 .rp2-cart-controls .product-input.is-busy { opacity: .55; }
.rp2 .rp2-cart-controls .product-input__btn { position: static; width: 38px; height: 39px; border: 0; background: none; display: grid; place-items: center; padding: 0; color: #253750; transform: none; }
.rp2 .rp2-cart-controls .product-input__btn::before, .rp2 .rp2-cart-controls .product-input__btn::after { display: none !important; content: none !important; }
.rp2 .rp2-cart-controls .product-input__input { display: block !important; width: 44px; height: 39px; border: 0; text-align: center; font: 700 16px/1 Inter, Arial, sans-serif; color: #253750 !important; -webkit-text-fill-color: #253750; padding: 0; position: static !important; opacity: 1 !important; }
.rp2 .rp2-cart-total a.rp2-primary { color: #fff; width: 100%; margin-top: 8px; text-decoration: none; }
.rp2 .rp2-cart-total strong { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .rp2 .rp2-cart-item { grid-template-columns: 78px 1fr; } .rp2 .rp2-cart-item__img img { width: 78px; height: 82px; } }

/* ===== Оформление заказа: та же форма, вид макета ===== */
.rp2-checkout :is(.ordering__title, .ordering-goods__title) { font: 750 22px/1.3 Manrope, Inter, Arial, sans-serif; letter-spacing: -.02em; color: #202b42; }
.rp2-checkout .ordering__item { border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }
.rp2-checkout :is(input.input, .ordering__input, input[type=text], input[type=tel], input[type=email], textarea, select) { border: 1px solid #bfd0e9 !important; border-radius: 0 !important; font: 500 16px/1.4 Inter, Arial, sans-serif; color: #202b42; background: #fff; }
.rp2-checkout :is(input, textarea, select):focus-visible { outline: 3px solid #8bb6ff; outline-offset: 1px; }
.rp2-checkout .ordering-radio__content { border-radius: 0 !important; border-color: #d8e2ef; }
.rp2-checkout .ordering-radio__field:checked + .ordering-radio__content { border-color: var(--blue); background: #f0f6ff; }
.rp2-checkout .ordering-radio__price { color: var(--blue); }
.rp2-checkout :is(.btn--primary, .btn-primary, .ordering-submit__btn) { background: #005bff; border-color: #005bff; color: #fff; border-radius: 0; font: 700 16px/1.3 Inter, Arial, sans-serif; letter-spacing: 0; }
.rp2-checkout :is(.btn--primary, .btn-primary, .ordering-submit__btn):hover:not(:disabled) { background: #0049d6; }
.rp2-checkout .ordering-submit__btn:disabled { background: #bfd2ef; border-color: #bfd2ef; color: #465c80; }
.rp2-checkout .ordering-radio__map-link { color: var(--blue); }
.rp2-checkout .ordering-goods__full-price { font-family: Manrope, Inter, Arial, sans-serif; font-weight: 800; }
.rp2-checkout a { color: var(--blue); }
.rp2-checkout :is(p, li, label, span) { font-family: Inter, Arial, sans-serif; }
/* Старые стили кнопок количества (маска-стрелка, отступы !important) — сброс в счётчиках макета. */
.rp2 :is(.rp2-qty, .rp2-cart-controls) .product-input__btn { -webkit-mask-image: none !important; mask-image: none !important; background-color: transparent !important; height: 39px !important; }
.rp2 :is(.rp2-qty, .rp2-cart-controls) .product-input__input { padding: 0 !important; height: 39px !important; width: 46px !important; background: #fff !important; border: 0 !important; }
.rp2 .rp2-subsection--deep { margin: 12px 0 8px 18px; padding-left: 14px; border-left: 2px solid #e5ecf6; }
.rp2 .rp2-subsection--deep h4 { font: 700 15px/1.4 Inter, Arial, sans-serif; margin: 0 0 8px; }
.rp2 .rp2-subsection--deep h4 a:hover { color: var(--blue); }

/* Оформление: блоки с отступами, итог заказа читаемым (раньше он был белым текстом на синем фоне), аккуратные переключатели. */
.rp2-checkout .ordering__item { padding: 24px 26px; margin-bottom: 18px; }
.rp2-checkout .ordering__title { margin: 0 0 16px !important; padding: 0 !important; }
.rp2-checkout .ordering__input-line { height: auto !important; margin-bottom: 12px; }
.rp2-checkout .ordering__input-line .form-group { margin-bottom: 0; height: auto; }
.rp2-checkout .ordering-goods { background: #f7f9fc !important; border: 1px solid var(--line); color: #202b42; padding: 26px !important; position: static; }
.rp2-checkout .ordering-goods :is(.ordering-goods__price, .ordering-goods__full-price, .ordering-goods__deliver-price, .ordering-goods__deliver-text, .ordering-goods__full-text, .ordering-goods__code, .ordering-goods__meta, .ordering-goods__name) { color: #202b42 !important; }
.rp2-checkout .ordering-goods :is(.ordering-goods__code, .ordering-goods__meta) { color: #6f8099 !important; font-size: 14px; }
.rp2-checkout .ordering-goods__name a, .rp2-checkout .ordering-goods a { color: #202b42 !important; font-weight: 650; }
.rp2-checkout .ordering-goods__footer { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.rp2-checkout .ordering-goods__full-price { font-size: 24px !important; color: #202b42 !important; }
.rp2-checkout .ordering-goods__deliver-price { color: #0b7a34 !important; font-weight: 700; }
.rp2-checkout .ordering-radio__content { padding-left: 46px !important; min-height: 52px; align-items: center; }
.rp2-checkout .ordering-radio__content::before { width: 22px !important; height: 22px !important; border: 1.5px solid #9fb0c9 !important; left: 12px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; }
.rp2-checkout .ordering-radio__content::after { width: 10px !important; height: 10px !important; left: 18px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; background: #005bff !important; }
.rp2-checkout .ordering-radio__field:checked + .ordering-radio__content::before { border-color: #005bff !important; }
.rp2-checkout [data-checkout-error], .rp2-checkout .alert-danger { display: block; background: #fff1f0; border-left: 3px solid #b42318; color: #7a1a12; padding: 14px 16px; margin: 0 0 18px; font: 600 15px/1.5 Inter, Arial, sans-serif; }
.rp2-checkout .ordering-submit__btn { width: 100%; min-height: 54px; font-size: 17px !important; }
.rp2-checkout .custom-checkbox__content a { color: var(--blue); text-decoration: underline; }
.rp2-checkout .ordering-radio__price--later { width: auto !important; max-width: 170px; font-weight: 600; font-size: 14px; color: #6f8099 !important; text-align: right; line-height: 1.3; }

/* Карточка товара: количество и сумма в один ряд, под количеством — цена за 1 шт. */
.rp2 .rp2-qty--sum { align-items: flex-start; gap: 12px; margin: 21px 0 18px; }
.rp2 .rp2-qty--sum > div { display: block; border: 0; border-radius: 0; height: auto; }
.rp2 .rp2-qty--sum .product-input { display: inline-flex; }
.rp2 .rp2-qty--sum > .rp2-qty__pick { display: flex; flex-direction: column; align-items: center; }
.rp2 .rp2-qty--sum .rp2-buy-muted { margin-top: 6px; font-weight: 400; white-space: nowrap; }
.rp2 .rp2-qty--sum .rp2-buy-price { margin: 0; text-align: right; white-space: nowrap; line-height: 41px; }
@media (max-width: 380px) { .rp2 .rp2-qty--sum .rp2-buy-price { font-size: 30px; } }

/* Шапка закреплена при прокрутке: обёртки не мешают sticky (display: contents), на главной полоса с городом уезжает. */
.rp.rp-site-header, .rp2.rp2-shell-header { display: contents; }
.rp .rp-header { position: sticky; top: 0; z-index: 180; background: #fff; }
.rp2 .rp2-header { position: sticky; top: 0; z-index: 180; background: #fff; }
.rp .rp-header.is-stuck, .rp2 .rp2-header.is-stuck { box-shadow: 0 6px 20px rgba(14, 30, 69, .08); }

/* Мессенджеры в шапке — круглые значки MAX и Telegram, как кнопки «Избранное»/«Корзина». */
.rp-messengers__list { gap: 8px; }
.rp-messenger { width: 32px; height: 32px; min-height: 0; padding: 0; border: 1px solid #dbe3f0; border-radius: 50%; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rp-messenger:hover { border-color: #a9c7ff; background: #fff; box-shadow: 0 4px 12px rgba(0, 91, 255, .14); transform: translateY(-1px); }
.rp-messenger:focus-visible { outline: 2px solid #005bff; outline-offset: 2px; }
.rp-messenger__logo { width: 20px; height: 20px; display: block; flex-shrink: 0; }
.rp-messenger__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* В выдвижном меню — значок и название. */
.rp-messengers--mobile .rp-messenger { width: auto; height: 42px; padding: 0 16px 0 10px; gap: 8px; border-radius: 21px; color: #20223f; font: 650 15px/1 Inter, Arial, sans-serif !important; }
.rp-messengers--mobile .rp-messenger__logo { width: 24px; height: 24px; }
.rp-messengers--mobile .rp-messenger__name { position: static; width: auto; height: auto; overflow: visible; clip: auto; }

/* Главная: разделы «Подбор / Бренды / Статьи / Ремонт» — в тёмной полосе над шапкой. */
.rp .rp-topline__nav { display: flex; align-items: center; gap: 26px; margin-left: 32px; letter-spacing: 0; }
.rp .rp-topline__nav :is(a, button) { padding: 0; border: 0; background: none; color: #fff; font: 600 14px/1 Inter, Arial, sans-serif; white-space: nowrap; cursor: pointer; text-decoration: none; }
.rp .rp-topline__nav :is(a, button):hover { color: #9fc0ff; }
.rp .rp-topline__nav :is(a, button):focus-visible { outline: 2px solid #9fc0ff; outline-offset: 3px; }
@media (max-width: 1100px) { .rp .rp-topline__inner > span:first-child { display: none; } .rp .rp-topline__nav { margin-left: 0; } }
@media (max-width: 830px) { .rp .rp-topline__nav { display: none; } .rp .rp-topline__inner > span:first-child { display: flex; } }
.rp .rp-header .rp-desktop-nav { gap: 22px; }
/* Меню стало короче — показываем его от 1250 px, а не только от 1310 px. */
@media (max-width: 1310px) and (min-width: 1250px) { .rp .rp-header .rp-desktop-nav { display: flex; gap: 16px; } .rp .rp-header .rp-mobile-menu-button { display: none; } }

/* Тёмная полоса на внутренних страницах — отдельный корень .rp (без растяжки на экран). */
.rp.rp-topline-root { min-height: 0; overflow: visible; background: transparent; }

/* Шапка компактнее: меньше пустого места сверху и снизу. */
.rp .rp-topline, .rp .rp-topline__inner { min-height: 36px; }
@media (min-width: 831px) {
    .rp .rp-header { height: 78px; }
    .rp .rp-header__inner { min-height: 78px; }
    .rp .rp-logo img { width: 124px; height: 52px; }
}
@media (min-width: 761px) {
    .rp2 .rp2-header-main { height: 76px; }
    .rp2 .rp2-logo img { width: 146px; max-height: 52px; }
    .rp2 .rp2-searchrow { padding: 8px 0; }
    .rp2 .rp2-search-form { height: 44px; }
    .rp2 .rp2-searchrow .rp-catalog-menu__trigger { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 760px) {
    .rp2 .rp2-searchrow { padding: 6px 0; }
}
/* Внутренние страницы: в меню шапки три пункта — показываем его от 1250 px, как на главной. */
@media (max-width: 1290px) and (min-width: 1250px) { .rp2 .rp2-header-nav { display: flex; gap: 16px; } .rp2 .rp2-menu-button { display: none !important; } }

/* Внутренние страницы: шапка главной + строка поиска, закреплены вместе. */
.rp.rp-head-root { min-height: 0; overflow: visible; background: transparent; }
.rp-sticky-head { position: sticky; top: 0; z-index: 180; background: #fff; }
.rp-sticky-head .rp-header { position: relative; }
.rp-sticky-head.is-stuck { box-shadow: 0 6px 20px rgba(14, 30, 69, .08); }

/* Место под полосу прокрутки всегда занято: короткие и длинные страницы не прыгают вбок при переходах и открытии окон. */
html { scrollbar-gutter: stable; }

/* Подбор: «Где найти модель?» — вкладки по видам техники и схема, где наклейка. */
.rp .rp-np[hidden], .rp .rp-np__panel[hidden] { display: none !important; }
.rp .rp-np { margin-top: 10px; border: 1px solid #d9e4f5; background: #f7faff; padding: 10px; }
.rp .rp-np__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px; }
.rp .rp-np__tabs button { flex: none; border: 1px solid #d4dfed; background: #fff; color: #253750; font: 600 13px/1 Inter, Arial, sans-serif; padding: 7px 9px; cursor: pointer; white-space: nowrap; }
.rp .rp-np__tabs button:hover { border-color: #a9c7ff; color: #005bff; }
.rp .rp-np__tabs button[aria-selected="true"] { background: #005bff; border-color: #005bff; color: #fff; }
.rp .rp-np__tabs button:focus-visible { outline: 2px solid #005bff; outline-offset: 2px; }
.rp .rp-np__panel { display: flex; gap: 12px; align-items: center; padding-top: 8px; }
.rp .rp-np__img { flex: none; width: 170px; height: auto; background: #fff; border: 1px solid #e3eaf5; fill: none; stroke: #2c3557; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.rp .rp-np__img .rp-np__fill { fill: #eef3fb; }
.rp .rp-np__img .rp-np__sticker { fill: #005bff; stroke: #fff; stroke-width: 1.2; }
.rp .rp-np__img .rp-np__arrow { stroke: #005bff; }
.rp .rp-np__img .rp-np__pulse { fill: rgba(0, 91, 255, .14); stroke: #005bff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: rp-np-pulse 1.6s ease-out infinite; }
@keyframes rp-np-pulse { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rp .rp-np__img .rp-np__pulse { animation: none; opacity: .6; } }
.rp .rp-np__text strong { display: flex; align-items: center; gap: 5px; color: #005bff; font: 700 13px/1.2 Inter, Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.rp .rp-np__text p { margin: 6px 0 4px; font: 500 14px/1.45 Inter, Arial, sans-serif; color: #20223f; }
.rp .rp-np__text small { display: block; font: 400 13px/1.4 Inter, Arial, sans-serif; color: #5d6b82; }
.rp .rp-np__foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid #e3eaf5; font: 500 13px/1.4 Inter, Arial, sans-serif; color: #5d6b82; }
.rp .rp-np__foot button { border: 0; background: none; padding: 0; color: #005bff; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) { .rp .rp-np__panel { flex-direction: column; align-items: stretch; } .rp .rp-np__img { width: 100%; max-height: 170px; } }

/* Окно подбора без прокрутки. Компьютер: две колонки — слева форма, справа подсказка «Где наклейка» (видна сразу). */
@media (min-width: 900px) {
    .rp.rp-guided-dialog__panel { width: min(980px, 100%); max-height: calc(100dvh - 24px); }
    .rp.rp-guided-dialog__panel .rp-guided--dialog { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px; align-content: start; padding: 24px 28px 18px; }
    .rp .rp-guided--dialog > * { grid-column: 1; }
    .rp .rp-guided--dialog > .rp-guided__accent { grid-column: auto; grid-row: auto; }
    .rp .rp-guided--dialog > .rp-np, .rp .rp-guided--dialog > .rp-np[hidden] { display: block !important; grid-column: 2; grid-row: 1 / span 6; align-self: start; margin-top: 44px; }
    .rp .rp-guided--dialog .rp-guided__sample button { display: none; }
    .rp .rp-guided--dialog .rp-np__panel { flex-direction: column; align-items: stretch; }
    .rp .rp-guided--dialog .rp-np__img { width: 100%; max-height: 150px; }
}
/* Синяя полоска окна — внутри краёв: выступ на 1 px давал полосу прокрутки. */
.rp.rp-guided-dialog__panel .rp-guided--dialog > .rp-guided__accent { top: 0; bottom: 0; left: 0; }
/* Телефон: в окне без верхней строки, вступления и сноски — форма помещается на экран. */
@media (max-width: 650px) {
    .rp .rp-guided--dialog .rp-guided__top, .rp .rp-guided--dialog .rp-guided__intro, .rp .rp-guided--dialog .rp-guided__foot { display: none; }
    .rp .rp-guided--dialog h2 { font-size: 26px; }
    .rp .rp-guided--dialog h2 { padding-right: 44px; }
}

/* Главная: «Как найти запчасть» под первым экраном — три кликабельных пункта. */
.rp .rp-benefits__grid > .rp-benefit { display: flex; align-items: center; gap: 18px; padding: 26px 30px; border: 0; border-right: 1px solid var(--line);
    background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: none; transition: background .15s; }
.rp .rp-benefits__grid > .rp-benefit:last-child { border-right: 0; }
.rp .rp-benefit > svg { flex-shrink: 0; width: 48px; height: 48px; padding: 12px; background: #eef4ff; transition: background .15s, color .15s; }
.rp .rp-benefit b { font-weight: 750; color: var(--ink, #1d2440); }
.rp .rp-benefit__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 700 14px/1.2 Inter, Arial, sans-serif; font-style: normal; color: var(--blue); }
.rp .rp-benefit__cta svg { transition: transform .15s; }
.rp .rp-benefit:hover { background: #f5f8ff; }
.rp .rp-benefit:hover > svg, .rp .rp-benefit--accent > svg { background: var(--blue); color: #fff; }
.rp .rp-benefit:hover .rp-benefit__cta svg { transform: translateX(4px); }
.rp .rp-benefit:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
@media (max-width: 650px) {
    .rp .rp-benefits__grid > .rp-benefit { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .rp .rp-benefits__grid > .rp-benefit:last-child { border-bottom: 0; }
}

/* Фон под всплывающими окнами светлее (Слава 17.10): подбор, заявка, меню на телефоне, «Сообщить о поступлении». */
.rp-ux-overlay, .rp2-overlay, .rp-guided-dialog { background: rgba(15, 28, 60, .32); }
.rp-overlay { background: rgba(17, 27, 55, .32); backdrop-filter: none; }
.modal-backdrop.show { opacity: .3; }

/* «Сложная техника. Простой поиск.» — анимация только на CSS (transform/opacity), запускает rp-site.js при показе блока. */
.rp .rp-feature-strip__big b { font-weight: inherit; }
.rp .rp-fs-line { display: block; overflow: hidden; padding-bottom: .04em; }
.rp .rp-fs-line > * { display: inline-block; }
.rp .rp-fs-line span { color: #70a2ff; }
.rp-anim-ready .rp-fs-line > * { transform: translateY(110%); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rp-anim-ready .rp-fs-line + .rp-fs-line > * { transition-delay: .14s; }
.rp-anim-ready .rp-feature-strip__right { opacity: 0; transform: translateY(14px); transition: opacity .7s ease .38s, transform .7s ease .38s; }
.rp-anim-ready.is-in .rp-fs-line > *, .rp-anim-ready.is-in .rp-feature-strip__right { transform: none; opacity: 1; }
/* Блик «поиска» пробегает по синей строке один раз после появления. */
.rp-anim-ready.is-in .rp-fs-line span {
    background: linear-gradient(100deg, #70a2ff 0 42%, #e9f1ff 50%, #70a2ff 58% 100%) 100% 0 / 260% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: rp-fs-scan 1.6s ease-in-out 1s 1 both;
}
@keyframes rp-fs-scan { to { background-position: 0 0; } }
/* Диск в углу медленно крутится, пока блок виден. */
.rp-anim-ready .rp-feature-strip__ornament svg { animation: rp-fs-spin 36s linear infinite; animation-play-state: paused; }
.rp-anim-ready.is-visible .rp-feature-strip__ornament svg { animation-play-state: running; }
@keyframes rp-fs-spin { to { transform: rotate(360deg); } }
.rp .rp-feature-strip__right button svg { transition: transform .2s; }
.rp .rp-feature-strip__right button:hover svg { transform: translate(3px, -3px); }

/* «Как подобрать запчасть»: шаги — кликабельные плитки (кнопка растянута на всю плитку). */
.rp .rp-howto-grid article { position: relative; display: flex; flex-direction: column; background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s; }
.rp .rp-howto-step { position: absolute; top: 22px; right: 26px; font: 800 34px/1 Manrope, Inter, sans-serif; letter-spacing: -.04em;
    color: #e6edf8; transition: color .2s; }
.rp .rp-howto-icon { transition: background .2s, color .2s, transform .25s; }
.rp .rp-howto-cta { margin-top: auto; padding: 18px 0 0; border: 0; background: none; color: var(--blue); font: 700 14px/1.2 Inter, Arial, sans-serif;
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer; align-self: flex-start; }
.rp .rp-howto-cta::after { content: ""; position: absolute; inset: 0; }
.rp .rp-howto-cta svg { transition: transform .2s; }
.rp .rp-howto-cta:focus-visible { outline: none; }
.rp .rp-howto-grid article:has(.rp-howto-cta:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) {
    .rp .rp-howto-grid article:hover { border-color: #96bcff; box-shadow: 0 16px 30px #1f4f9d14; transform: translateY(-4px); }
    .rp .rp-howto-grid article:hover .rp-howto-icon { background: var(--blue); color: #fff; transform: scale(1.06); }
    .rp .rp-howto-grid article:hover .rp-howto-step { color: #c9dbff; }
    .rp .rp-howto-grid article:hover .rp-howto-cta svg { transform: translateX(4px); }
}
.rp .rp-howto-grid article:active { transform: translateY(-1px); }
/* Появление по очереди (класс ставит rp-site.js и снимает после показа — дальше работают обычные эффекты наведения). */
.rp .rp-reveal.rp-reveal > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rp .rp-reveal.rp-reveal > :nth-child(2) { transition-delay: .12s; }
.rp .rp-reveal.rp-reveal > :nth-child(3) { transition-delay: .24s; }
.rp .rp-reveal.rp-reveal.is-in > * { opacity: 1; transform: none; }

/* «Новые поступления»: на узких экранах кнопки видов техники — одной строкой с прокруткой вбок. */
@media (max-width: 1100px) {
    .rp .rp-product-control { align-items: stretch; }
    .rp .rp-product-control > div[role=group] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%;
        -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
    .rp .rp-product-control > div[role=group]::-webkit-scrollbar { display: none; }
    .rp .rp-product-control > div[role=group] button { flex-shrink: 0; white-space: nowrap; scroll-snap-align: start; }
    .rp .rp-product-control > button { align-self: flex-start; }
}

/* Баннер «Подбор по модели»: правая часть — кнопка подбора; модель печатается (rp-site.js), диск крутится, волны расходятся. */
.rp .rp-blue-callout__art { display: block; border: 0; padding: 0; margin: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; min-height: 100%; }
.rp .rp-blue-callout__disk { overflow: visible; transition: transform .35s; }
.rp .rp-blue-callout__disk svg { position: relative; z-index: 1; }
.rp .rp-blue-callout__wave { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #ffffff55; opacity: 0; pointer-events: none; }
.rp .rp-blue-callout__label { flex-direction: column; gap: 8px; align-items: stretch; width: 240px; min-width: 240px; transition: transform .35s; }
.rp .rp-blue-callout__typed { display: flex; align-items: center; gap: 8px; min-height: 22px; font: 700 16px/1.2 Inter, Arial, sans-serif; color: #12203e; letter-spacing: .01em; }
.rp .rp-blue-callout__typed svg { color: var(--blue); flex-shrink: 0; }
.rp .rp-blue-callout__typed i { width: 2px; height: 18px; background: var(--blue); margin-left: -6px; }
.rp .rp-blue-callout__found { display: flex; align-items: center; gap: 6px; font: 700 13px/1.2 Inter, Arial, sans-serif; color: #0b7a34; }
.rp-anim-ready .rp-blue-callout__found { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.rp-anim-ready.is-found .rp-blue-callout__found { opacity: 1; transform: none; }
.rp-anim-ready.is-visible .rp-blue-callout__typed i { animation: rp-co-caret 1s steps(1) infinite; }
@keyframes rp-co-caret { 50% { opacity: 0; } }
.rp-anim-ready .rp-blue-callout__disk svg { animation: rp-fs-spin 30s linear infinite paused; }
.rp-anim-ready.is-visible .rp-blue-callout__disk svg { animation-play-state: running; }
.rp-anim-ready.is-visible .rp-blue-callout__wave { animation: rp-co-wave 3.6s ease-out infinite; }
.rp-anim-ready.is-visible .rp-blue-callout__wave + .rp-blue-callout__wave { animation-delay: 1.8s; }
@keyframes rp-co-wave { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.65); opacity: 0; } }
/* Появление: метка выезжает, диск проявляется. */
.rp-anim-ready .rp-blue-callout__label { opacity: 0; transform: translateY(24px) rotate(-7deg); transition: opacity .6s ease .2s, transform .6s cubic-bezier(.2, .7, .2, 1) .2s; }
.rp-anim-ready.is-in .rp-blue-callout__label { opacity: 1; transform: rotate(-7deg); }
@media (hover: hover) {
    .rp .rp-blue-callout__art:hover .rp-blue-callout__disk { transform: scale(1.04); }
    .rp .rp-blue-callout__art:hover .rp-blue-callout__label { transform: rotate(-4deg) translateY(-4px) !important; transition-delay: 0s !important; }
    .rp .rp-blue-callout > .rp-blue-callout__copy button:hover svg { transform: translateX(4px); }
}
.rp .rp-blue-callout__copy button svg { transition: transform .2s; }
/* Телефон: без диска, строка поиска под текстом. */
@media (max-width: 650px) {
    .rp .rp-blue-callout__art { display: block; padding: 0 26px 30px; min-height: 0; }
    .rp .rp-blue-callout__disk, .rp .rp-blue-callout__dot { display: none; }
    .rp .rp-blue-callout__label { position: static; transform: none !important; width: 100%; min-width: 0; max-width: none; }
    .rp-anim-ready .rp-blue-callout__label { transform: translateY(16px) !important; }
    .rp-anim-ready.is-in .rp-blue-callout__label { transform: none !important; }
}

/* «Популярные запчасти»: под названием раздела — три фото товаров (каждое — ссылка на товар, подсказка с ценой). */
.rp .rp-part-links .rp-part-cell { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 104px; padding: 18px 16px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s; }
.rp .rp-part-links .rp-part-cell:hover { background: #f5f8ff; }
.rp .rp-part-links .rp-part-cell__title { display: block; min-height: 0; padding: 0 22px 0 0; border: 0; font-size: 14px; font-weight: 800; line-height: 1.4; background: none; }
.rp .rp-part-links .rp-part-cell__title:hover { color: var(--blue); background: none; }
.rp .rp-part-links .rp-part-cell__title > svg { position: absolute; top: 18px; right: 15px; bottom: auto; color: var(--blue); }
.rp .rp-part-thumbs { display: flex; gap: 8px; margin-top: auto; }
.rp .rp-part-thumbs a { position: relative; display: block; width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--line); background: #fff;
    padding: 4px; min-height: 0; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rp .rp-part-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rp .rp-part-thumbs a:hover, .rp .rp-part-thumbs a:focus-visible { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 18px #1f4f9d1f; z-index: 3; }
.rp .rp-part-thumbs a::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
    width: max-content; max-width: 230px; padding: 8px 10px; background: #12203e; color: #fff; font: 600 13px/1.35 Inter, Arial, sans-serif;
    white-space: normal; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 4; }
.rp .rp-part-thumbs a:hover::after, .rp .rp-part-thumbs a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.rp .rp-part-cell:nth-child(4n+1) .rp-part-thumbs a:first-child::after { left: 0; transform: translate(0, 4px); }
.rp .rp-part-cell:nth-child(4n+1) .rp-part-thumbs a:first-child:hover::after { transform: none; }
@media (hover: none) { .rp .rp-part-thumbs a::after { display: none; } }
@media (max-width: 650px) {
    .rp .rp-part-links .rp-part-cell { padding: 14px 10px; }
    .rp .rp-part-thumbs { gap: 5px; }
    .rp .rp-part-thumbs a { width: calc((100% - 10px) / 3); height: auto; aspect-ratio: 1; max-width: 64px; }
}

/* «Запчасти по брендам»: остальные бренды раскрываются такими же плитками, как первые 12. */
.rp .rp-brand-grid--extra { border-top: 0; max-height: 0; opacity: 0; overflow: hidden; visibility: hidden;
    transition: max-height .45s ease, opacity .35s ease, visibility 0s linear .45s; }
.rp .rp-brand-grid--extra.is-open { max-height: 800px; opacity: 1; visibility: visible; transition: max-height .45s ease, opacity .35s ease .05s, visibility 0s; }

/* Значки способов оплаты (views/common/_rp-payment-logos.php): подвал и оформление заказа. */
.rp-shop-footer__payments { flex-wrap: wrap; }
/* Колонка подвала на компьютере 250–340 px: шесть значков — два ровных ряда по три, а не 5+1. */
@media (min-width: 1025px) { .rp-shop-footer__payments { max-width: 174px; } }
.rp-payment-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rp-payment-logos img { width: 54px; height: 30px; padding: 3px; object-fit: contain; background: #fff; border: 1px solid #e3e9f3; }

/* Частые вопросы: колонки 40/60 с отступом вылезали за экран на компьютере; вопрос крупнее и темнее ответа. */
.rp .rp-answers { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px; }
.rp .rp-answers__actions { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 12px; }
.rp .rp-answers__actions > button { background: none; border: 0; border-bottom: 1px solid #aab9d4; padding: 13px 0; margin-top: 13px; color: var(--blue);
    font: 800 14px Inter, Arial, sans-serif; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.rp .rp-answers__actions > button:hover { border-bottom-color: var(--blue); }
.rp .rp-faq-item > button { font-size: 17px; line-height: 1.4; font-weight: 700; color: #16213a; cursor: pointer; }
.rp .rp-faq-item > button:hover { color: var(--blue); }
.rp .rp-faq-item p { font-size: 15px; line-height: 1.65; color: #4a566d; max-width: 680px; }
.rp .rp-faq-item p a { display: flex; width: max-content; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue); font-weight: 700; }
.rp .rp-faq-item.is-open p a svg { transform: none; }
.rp .rp-faq-item p a:hover { text-decoration: underline; }
@media (max-width: 650px) { .rp .rp-faq-item > button { font-size: 16px; } .rp .rp-faq-item p { font-size: 15px; } }
/* Карточка товара: вкладка «Коды замен» — текст как есть, с переносами строк «Бренд: коды». */
.rp2 .rp2-replace-codes { white-space: pre-line; border: 1px solid #e2eaf5; background: #f9fbff; border-radius: var(--rp-radius-control); padding: 18px 20px; font-size: 16px; line-height: 1.8; color: #253653; font-weight: 550; overflow-wrap: anywhere; }
.rp2 .rp2-spec-mini dd a[data-rp-tab-open] { white-space: nowrap; }
/* Четыре вкладки карточки не влезают в 390 px — строка прокручивается сама, страница вбок не едет. */
@media (max-width: 760px) { .rp2 .rp2-tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; } .rp2 .rp2-tabs::-webkit-scrollbar { display: none; } .rp2 .rp2-tabs button { flex: none; white-space: nowrap; } }
/* Карточка товара: поиск по кодам замен и моделям (views/product/_rp2-list-search.php). */
.rp2 .rp2-listsearch__field { display: flex; align-items: center; gap: 10px; max-width: 520px; height: 50px; padding: 0 8px 0 16px; border: 1px solid #c5d7ef; border-radius: var(--rp-radius-control); background: #fff; color: var(--blue); margin-bottom: 14px; }
.rp2 .rp2-listsearch__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #005bff22; }
.rp2 .rp2-listsearch__field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.rp2 .rp2-listsearch__field input::-webkit-search-cancel-button { display: none; }
.rp2 .rp2-listsearch__field button { border: 0; background: none; color: #6b7b92; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; }
.rp2 .rp2-listsearch__field button[hidden] { display: none; }
.rp2 .rp2-listsearch__result { border-radius: var(--rp-radius-control); padding: 13px 16px; margin-bottom: 16px; font-size: 15px; line-height: 1.55; color: #253653; }
.rp2 .rp2-listsearch__result.is-found { background: #eaf7f0; border: 1px solid #b5e0c7; }
.rp2 .rp2-listsearch__result.is-missing { background: #fff7e8; border: 1px solid #f2d9a6; }
.rp2 .rp2-listsearch__result[hidden], .rp2 .rp2-listsearch [hidden] { display: none !important; }
.rp2 .rp2-listsearch__result .rp2-inline-blue { font-size: 15px; }
.rp2 .rp2-listsearch__group + .rp2-listsearch__group { margin-top: 14px; }
.rp2 .rp2-listsearch__label { font-size: 14px; font-weight: 700; color: #66768c; margin-bottom: 8px; }
.rp2 .rp2-listsearch__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp2 .rp2-listsearch__items li { margin: 0; padding: 7px 11px; border: 1px solid #dfe8f5; background: #f7faff; border-radius: var(--rp-radius-control); font-size: 15px; font-weight: 600; color: #253653; overflow-wrap: anywhere; }
.rp2 .rp2-listsearch__items li.is-hit { border-color: var(--blue); background: #eef4ff; color: var(--blue); }
.rp2 .rp2-listsearch__more { margin-top: 16px; }
/* Плашки-ссылки: код замены → товар с таким артикулом, модель → страница модели. */
.rp2 .rp2-listsearch__items li.is-link { padding: 0; border-color: #a9c6f7; background: #fff; }
.rp2 .rp2-listsearch__items li.is-link a { display: block; padding: 7px 11px; color: var(--blue); }
.rp2 .rp2-listsearch__items li.is-link:hover { border-color: var(--blue); background: #eef4ff; }
.rp2 .rp2-listsearch__items li.is-link.is-hit { background: #eef4ff; border-color: var(--blue); }
.rp2 .rp2-listsearch__hint { display: flex; align-items: center; gap: 8px; font-size: 14px !important; color: #66768c !important; margin: 14px 0 0 !important; line-height: 1.5 !important; }
.rp2 .rp2-listsearch__hint b { flex: none; padding: 1px 7px; border: 1px solid #a9c6f7; border-radius: var(--rp-radius-control); color: var(--blue); font-weight: 600; font-size: 13px; }
.rp2 .rp2-listsearch__result a.rp2-inline-blue { color: var(--blue); }
.rp2 .rp2-listsearch__result a.rp2-inline-blue:hover { text-decoration: underline; }
/* Комплекты и наборы МоегоСклада (как на sp-hub.ru): значок, состав, предложения у кнопки покупки. */
.rp-bundle-badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; line-height: 18px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.rp-bundle-badge--kit { background: #e8f1ff; color: #1f5fbf; border: 1px solid #b9d2f5; }
.rp-bundle-badge--qty_discount { background: #fff4e0; color: #9a5b00; border: 1px solid #f1d29a; }
.rp2-prodcard__body .rp-bundle-badge, .rp-product-card .rp-bundle-badge { margin: -4px 0 8px; }
.rp2 .rp2-bundle-composition { border: 1px solid #d7e5fc; background: #f6faff; border-radius: var(--rp-radius-control); padding: 14px 16px; margin: 0 0 18px; font-size: 14px; color: #253653; }
.rp2 .rp2-bundle-composition ul { margin: 8px 0 0; padding-left: 18px; }
.rp2 .rp2-bundle-composition li { margin: 4px 0; line-height: 1.5; }
.rp2 .rp2-bundle-composition a { color: var(--blue); }
.rp2 .rp2-bundle-composition span { color: #6b7b92; white-space: nowrap; }
.rp2 .rp2-bundle-toggle { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 46px; margin-bottom: 11px; padding: 10px 14px; border: 1px solid #f1d29a; background: #fff8ea; color: #7a4a00; border-radius: var(--rp-radius-control); font-size: 15px; font-weight: 700; text-align: left; }
.rp2 .rp2-bundle-toggle span { flex: 1; }
.rp2 .rp2-bundle-toggle[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
.rp2 .rp2-bundle-offers { margin: -4px 0 12px; display: grid; gap: 8px; }
.rp2 .rp2-bundle-offers[hidden] { display: none !important; }
.rp2 .rp2-bundle-offer { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #e2e9f4; border-radius: var(--rp-radius-control); background: #fff; }
.rp2 .rp2-bundle-offer:hover { border-color: var(--blue); }
.rp2 .rp2-bundle-offer__name { font-size: 14px; font-weight: 650; line-height: 1.4; color: #223654; }
.rp2 .rp2-bundle-offer__with { font-size: 13px; color: #6b7b92; line-height: 1.4; }
.rp2 .rp2-bundle-offer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rp2 .rp2-bundle-offer__row b { font-size: 16px; color: #14243f; }
.rp2 .rp2-bundle-offer__row small { font-size: 13px; color: #6b7b92; }
.rp2 .rp2-bundle-offer__row em { font-style: normal; font-size: 13px; font-weight: 700; color: #11804a; }
.rp2 .rp2-detail-code .rp-bundle-badge { font-size: 13px; }
/* 18.10.2026 (Слава: «крошки сильно большие»): одинаковые компактные крошки на всех страницах витрины —
   и rp2 (каталог, товар, тексты), и rp (модель, подбор, избранное), где старый main.css рисовал стрелку 34 px с полями по 20 px. */
.rp .breadcrumb, .rp2 .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 18px; padding: 0; list-style: none; font: 500 13px/1.45 Inter, Arial, sans-serif; color: #7a889e; background: none; }
.rp .breadcrumb__item, .rp2 .breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.rp .breadcrumb__item::before, .rp .breadcrumb__item::after, .rp2 .breadcrumb__item::before, .rp2 .breadcrumb__item::after { content: none !important; display: none !important; }
.rp .breadcrumb__item + .breadcrumb__item::before, .rp2 .breadcrumb__item + .breadcrumb__item::before { content: '' !important; display: inline-block !important; width: 5px; height: 5px; margin: 0 2px 0 0; border-right: 1.5px solid #a9b7cc; border-top: 1.5px solid #a9b7cc; transform: rotate(45deg); position: static; }
.rp .breadcrumb a, .rp2 .breadcrumb a { color: #7a889e; text-decoration: none; }
.rp .breadcrumb a:hover, .rp2 .breadcrumb a:hover { color: var(--blue); }
.rp .breadcrumb__name, .rp2 .breadcrumb__name { opacity: 1 !important; font-size: 13px; }
.rp .breadcrumb__item:last-child .breadcrumb__name, .rp2 .breadcrumb__item:last-child .breadcrumb__name { color: #34455f; }
.rp-page .breadcrumb { margin: 0 0 18px; }
.rp2-breadcrumb { font-size: 13px !important; gap: 6px; margin-bottom: 18px !important; }
.rp2-breadcrumb svg { width: 13px; height: 13px; }
@media (max-width: 700px) { .rp .breadcrumb, .rp2 .breadcrumb { font-size: 12.5px; margin-bottom: 14px; } .rp .breadcrumb__name, .rp2 .breadcrumb__name { font-size: 12.5px; } }

/* 18.10.2026 (Слава: «пустоты между блоками главной»): было 105 px сверху и снизу у каждого блока = 210 px между соседними. */
.rp-section { padding: 60px 0; }
.rp-featured { padding-top: 32px; }
.rp-brand-section { padding: 56px 0; }
.rp-seo-text { padding: 36px 0 56px; }
@media (max-width: 1100px) { .rp-section { padding: 48px 0; } .rp-brand-section { padding: 48px 0; } }
@media (max-width: 700px) { .rp-section { padding: 36px 0; } .rp-brand-section { padding: 40px 0; } .rp-seo-text { padding: 28px 0 44px; } }
/* Последняя крошка повторяет заголовок страницы: на компьютере — в одну строку с многоточием, на телефоне не показываем. */
.rp .breadcrumb__item:last-child, .rp2 .breadcrumb__item:last-child { min-width: 0; max-width: min(460px, 100%); }
.rp .breadcrumb__item:last-child .breadcrumb__name, .rp2 .breadcrumb__item:last-child .breadcrumb__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .rp .breadcrumb__item:last-child:not(:first-child), .rp2 .breadcrumb__item:last-child:not(:first-child) { display: none; }
}

/* 19.10.2026 Выезжающее меню на телефоне: все строки по одной линии — текст от левого края, значок справа,
   одинаковые высота, шрифт и разделитель («Каталог» стоял по центру со своим значком, телефон был с отступом). */
.rp .rp-mobile-drawer .rp-catalog-menu--mobile .rp-catalog-menu__trigger { min-height: 0; padding: 21px 0; gap: 0; justify-content: space-between; background: #fff; color: #20223f; font-size: 16px !important; font-weight: 800 !important; border-bottom: 1px solid var(--line); }
.rp .rp-mobile-drawer .rp-catalog-menu--mobile .rp-catalog-menu__trigger > svg:first-child { display: none; }
.rp .rp-mobile-drawer .rp-catalog-menu--mobile .rp-catalog-menu__trigger > svg:last-child { width: 24px; height: 24px; }
.rp .rp-mobile-drawer .rp-mobile-contact { display: flex; justify-content: space-between; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 800; color: #20223f; }
.rp .rp-mobile-drawer .rp-messengers { border-bottom: 1px solid var(--line); }
.rp .rp-messengers--mobile .rp-messenger { border-radius: 0; }

/* 19.10.2026 Карточка товара: «Копировать / Избранное» — только значки, + «Поделиться» (views/product/index.php, rp-site.js [data-rp-share]). */
.rp2 .rp2-detail-actions { display: inline-flex; align-items: center; gap: 6px; }
.rp2 .rp2-detail-icon { width: 40px; height: 40px; display: inline-grid !important; place-items: center; padding: 0 !important; border: 1px solid #dbe5f4 !important; background: #fff !important; color: #5b6d87 !important; transition: border-color .15s, color .15s, background-color .15s, transform .1s; }
.rp2 .rp2-detail-icon:hover { border-color: var(--blue) !important; color: var(--blue) !important; background: var(--pale) !important; }
.rp2 .rp2-detail-icon:active { transform: scale(.94); }
.rp2 .rp2-detail-icon[aria-expanded="true"] { border-color: var(--blue) !important; color: var(--blue) !important; }
.rp2 .rp2-detail-fav.is-on { color: var(--blue) !important; border-color: #a6c6f8 !important; }
.rp2 .rp2-share { position: relative; display: inline-flex; }
.rp2 .rp2-share__menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 220px; display: flex; flex-direction: column; padding: 6px; background: #fff; border: 1px solid #dbe5f4; box-shadow: 0 16px 36px rgba(16, 45, 97, .16); }
.rp2 .rp2-share__menu[hidden] { display: none; }
.rp2 .rp2-share__menu > * { display: flex !important; align-items: center; gap: 10px !important; width: 100%; min-height: 42px; padding: 8px 10px !important; border: 0; background: none; color: #202b42 !important; font: 600 14px/1.3 Inter, Arial, sans-serif !important; text-align: left; text-decoration: none; cursor: pointer; }
.rp2 .rp2-share__menu > *:hover, .rp2 .rp2-share__menu > *:focus-visible { background: var(--pale); color: var(--blue) !important; }
.rp2 .rp2-share__menu svg { color: var(--blue); }
.rp2 .rp2-share__dot { width: 17px; height: 17px; border-radius: 50%; flex: none; }
.rp2 .rp2-share__dot--tg { background: #2aabee; }
.rp2 .rp2-share__dot--vk { background: #0077ff; }
@media (max-width: 760px) { .rp2 .rp2-share__menu { left: auto; right: 0; } .rp2 .rp2-detail-icon { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .rp2 .rp2-detail-icon:active { transform: none; } }

/* 19.10.2026 Карточка товара: под блоком покупки — «Доставка», «Гарантия и возврат», «Оплата» (как на sp-hub.ru, в стиле v12).
   Блок покупки больше не «прилипает»: колонка длинная; при прокрутке остаётся нижняя полоска (product-sticky-bar.js). */
.rp2 .rp2-buy-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rp2 .rp2-buy-col > .rp2-buy { position: static; }
.rp2 .rp2-svc { border: 1px solid #e0e7f1; background: #fff; padding: 20px 22px; }
.rp2 .rp2-svc__title { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font: 750 17px/1.3 Manrope, Inter, Arial, sans-serif; letter-spacing: -.02em; color: #202b42; }
.rp2 .rp2-svc__title svg { color: var(--blue); flex: none; }
.rp2 .rp2-svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rp2 .rp2-svc__list > li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid #edf1f7; }
.rp2 .rp2-svc__list > li:first-child { border-top: 0; padding-top: 2px; }
.rp2 .rp2-svc__list > li > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rp2 .rp2-svc__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--pale); color: var(--blue); }
.rp2 .rp2-svc__ico--accent { background: var(--blue); color: #fff; }
.rp2 .rp2-svc strong { font: 700 14.5px/1.4 Inter, Arial, sans-serif; color: #202b42; }
.rp2 .rp2-svc__free { color: #0b7a34; font-weight: 800; }
.rp2 .rp2-svc__sub { font: 400 13.5px/1.5 Inter, Arial, sans-serif; color: #5b6d87; }
.rp2 .rp2-svc__sub a { color: var(--blue); text-decoration: underline; }
.rp2 .rp2-svc .rp2-city-change { font-size: 13.5px; margin: 2px 0 0; padding: 0; }
.rp2 .rp2-svc__logos { margin-top: 6px; }
.rp2 .rp2-svc__logos img { width: 44px; height: 26px; }
.rp2 .rp2-svc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue); font: 700 14px/1.3 Inter, Arial, sans-serif; text-decoration: none; }
.rp2 .rp2-svc__more:hover { text-decoration: underline; }
.rp2 .rp2-svc__more svg { transition: transform .15s; }
.rp2 .rp2-svc__more:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .rp2 .rp2-svc__more:hover svg { transform: none; } }
/* Сетка: колонка покупки справа на два ряда, вкладки — слева под фото (row 2 забирает лишнюю высоту колонки). */
.rp2 .rp2-detail-layout { grid-template-rows: auto 1fr; }
.rp2 .rp2-detail-layout > .rp2-buy-col { grid-column: 3; grid-row: 1 / span 2; }
.rp2 .rp2-detail-layout > .rp2-detail-below { grid-column: 1 / 3; grid-row: 2; margin-top: 26px; min-width: 0; }
@media (max-width: 1040px) {
  .rp2 .rp2-detail-layout { grid-template-rows: none; }
  .rp2 .rp2-detail-layout > .rp2-buy-col { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .rp2 .rp2-buy-col > .rp2-buy { grid-column: 1 / -1; }
  .rp2 .rp2-detail-layout > .rp2-detail-below { grid-column: 1 / -1; grid-row: auto; margin-top: 30px; }
}
@media (max-width: 760px) {
  .rp2 .rp2-detail-layout > .rp2-buy-col { display: flex; }
  .rp2 .rp2-svc { padding: 18px; }
}

/* 19.10.2026 Полоска товара при прокрутке (custom.css .product__sticky-bar): ширина — как у страницы (.rp2-container),
   а не 1440 px с отступами 16 (картинка и кнопка выходили за края содержимого); шрифты и кнопки — как в v12.
   product-sticky-bar.js переносит полоску в <body> — поэтому на ней самой класс .rp2 (views/product/index.php). */
.product__sticky-bar.rp2 { min-height: 0; padding-left: 0; padding-right: 0; box-shadow: 0 8px 24px rgba(14, 30, 69, .08); border-bottom: 1px solid #e5eaf2; }
.rp2 .product__sticky-bar-content.rp2-container { gap: 16px; }
.rp2 .product__sticky-bar-img { width: 60px; height: 60px; border-radius: 0; background: #fff; border: 1px solid #e2e9f4; padding: 4px; }
.rp2 .product__sticky-bar-img img { mix-blend-mode: multiply; }
.rp2 .product__sticky-bar-title { margin: 0; font: 600 15px/1.4 Inter, Arial, sans-serif; color: #202b42; }
.rp2 .product__sticky-bar-price { font: 800 21px/1.2 Manrope, Inter, Arial, sans-serif; letter-spacing: -.03em; color: #202b42; }
.rp2 .product__sticky-bar-price span { font-size: 17px; }
.rp2 .product__sticky-bar-actions .product-input { border-radius: 0; border-color: #d4dfed; }
.rp2 .product__sticky-bar-btn.btn { min-height: 46px; height: 46px; padding: 0 20px; border-radius: 0; border: 1px solid var(--blue); background: var(--blue); color: #fff; font: 700 15px/1.2 Inter, Arial, sans-serif; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.rp2 .product__sticky-bar-btn.btn:hover { background: #0049d6; border-color: #0049d6; }
/* Количество: «− 1 +» в одну строку, как в блоке покупки (кнопки в разметке — столбиком со стрелками-масками main.css). */
.product__sticky-bar.rp2 .product-input { width: auto; height: 46px; display: flex; align-items: stretch; background: #fff; border: 1px solid #d4dfed; border-radius: 0; }
.product__sticky-bar.rp2 .product-input__btns { display: contents; }
.product__sticky-bar.rp2 .product-input__input { order: 1; height: 100% !important; width: 44px; padding: 0 !important; border: 0; background: #fff; text-align: center; font: 600 16px/1 Inter, Arial, sans-serif; color: #202b42; }
.product__sticky-bar.rp2 .product-input__btn { position: relative; width: 40px; height: 100%; flex: none; background: none; -webkit-mask-image: none; mask-image: none; transform: none; color: #34455f; }
.product__sticky-bar.rp2 .product-input__btn.minus { order: 0; }
.product__sticky-bar.rp2 .product-input__btn.plus { order: 2; }
.product__sticky-bar.rp2 .product-input__btn::before, .product__sticky-bar.rp2 .product-input__btn.plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; }
.product__sticky-bar.rp2 .product-input__btn.plus::after { transform: rotate(90deg); }
.product__sticky-bar.rp2 .product-input__btn:hover { color: var(--blue); background: var(--pale); }
@media (max-width: 1023px) {
  .rp2 .product__sticky-bar-btn.btn { font-size: 14px; padding: 0 14px; }
  .rp2 .product__sticky-bar-info { flex: 1 1 calc(100% - 80px); }
  .rp2 .product__sticky-bar-img { width: 56px; height: 56px; }
}
@media (max-width: 575px) { .product__sticky-bar.rp2 { padding-left: 0; padding-right: 0; } .rp2 .product__sticky-bar-img { width: 48px; height: 48px; } .rp2 .product__sticky-bar-price { font-size: 18px; } }
/* 19.10.2026 Полоска: наличие у цены, «Избранное» и «Поделиться», «N ₽ за 1 шт.» по центру под количеством. */
.product__sticky-bar.rp2 .product__sticky-bar-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.product__sticky-bar.rp2 .rp2-buy-badge { font-size: 12px; padding: 4px 8px; letter-spacing: .04em; font-weight: 800; white-space: nowrap; }
.product__sticky-bar.rp2 .product__sticky-bar-actions { gap: 12px; align-items: flex-start; }
.product__sticky-bar.rp2 .product__sticky-bar-content { align-items: flex-start; }
.product__sticky-bar.rp2 .product__sticky-bar-info { align-self: center; }
.product__sticky-bar.rp2 .product__sticky-bar-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.product__sticky-bar.rp2 .product__sticky-bar-unit { font: 500 12.5px/1.2 Inter, Arial, sans-serif; color: #6b7b92; white-space: nowrap; text-align: center; }
.product__sticky-bar.rp2 .product__sticky-bar-icons .rp2-detail-icon { width: 46px; height: 46px; }
.product__sticky-bar.rp2 .rp2-share__menu { left: auto; right: 0; }
@media (max-width: 1023px) {
  .product__sticky-bar.rp2 .product__sticky-bar-actions { justify-content: flex-start; }
  .product__sticky-bar.rp2 .product__sticky-bar-btn.btn { flex: 1 1 auto; }
  .product__sticky-bar.rp2 .product__sticky-bar-icons { order: 0; }
}
@media (max-width: 575px) {
  .product__sticky-bar.rp2 .product__sticky-bar-actions { gap: 8px; }
  .product__sticky-bar.rp2 .product__sticky-bar-icons { gap: 6px; }
  .product__sticky-bar.rp2 .product__sticky-bar-icons .rp2-detail-icon { width: 42px; height: 46px; }
  .product__sticky-bar.rp2 .product__sticky-bar-content { align-items: center; }
  .product__sticky-bar.rp2 .product__sticky-bar-qty .product-input__btn { width: 34px; }
  .product__sticky-bar.rp2 .product__sticky-bar-qty .product-input__input { width: 36px; }
  .product__sticky-bar.rp2 .rp2-share__menu { left: 0; right: auto; }
}
@media (max-width: 380px) {
  .product__sticky-bar.rp2 .product__sticky-bar-actions, .product__sticky-bar.rp2 .product__sticky-bar-icons { gap: 6px; }
  .product__sticky-bar.rp2 .product__sticky-bar-icons .rp2-detail-icon { width: 40px; }
  .product__sticky-bar.rp2 .product__sticky-bar-qty .product-input__btn { width: 30px; }
  .product__sticky-bar.rp2 .product__sticky-bar-qty .product-input__input { width: 30px; }
  .product__sticky-bar.rp2 .product__sticky-bar-btn.btn { min-width: 0; padding: 0 8px; font-size: 13px; }
}

/* 19.10.2026 Кнопки-варианты в формах окон (заявка на возврат, запрос счёта). */
:is(.rp-choice, .rp-ret-choice) { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
:is(.rp-choice, .rp-ret-choice) legend { width: 100%; padding: 0; margin-bottom: 7px; font: 700 15px/1.5 Inter, Arial, sans-serif; color: #263a58; }
.rp-help-form :is(.rp-choice, .rp-ret-choice) label { display: inline-flex !important; align-items: center; gap: 8px !important; padding: 10px 14px; border: 1px solid #b5c6df; background: #fff; font: 600 15px/1.3 Inter, Arial, sans-serif !important; cursor: pointer; min-height: 44px; }
:is(.rp-choice, .rp-ret-choice) label[hidden] { display: none !important; }
.rp-help-form :is(.rp-choice, .rp-ret-choice) label input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; border: 0; flex: none; accent-color: #005bff; }
:is(.rp-choice, .rp-ret-choice) label:has(input:checked) { border-color: #005bff; background: #eef4ff; color: #0049d6; }
:is(.rp-choice, .rp-ret-choice) label:has(input:focus-visible) { outline: 3px solid #005bff; outline-offset: 2px; }
.rp-help-form__notice.is-error { border-left-color: #a21c32; background: #fdf0f2; }

/* Запрос счёта: кнопка в карточке «Оплата», товар и количество в окне. */
.rp2 .rp2-svc__btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 8px 12px; border: 1px solid var(--blue); background: #fff; color: var(--blue); font: 700 13.5px/1.2 Inter, Arial, sans-serif; cursor: pointer; transition: background-color .15s, color .15s; }
.rp2 .rp2-svc__btn:hover { background: var(--blue); color: #fff; }
.rp-invoice-product { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 14px; padding: 12px 14px; background: #f6f9ff; border: 1px solid #c9dbfa; }
.rp-invoice-product > span { font: 650 15px/1.4 Inter, Arial, sans-serif; color: #202b42; }
.rp-invoice-product small { display: block; margin-top: 3px; font: 500 13px/1.4 Inter, Arial, sans-serif; color: #5b6d87; }
.rp-help-form .rp-invoice-product label { flex: none; width: 110px; font-size: 13px !important; }
.rp-help-form .rp-invoice-product input { min-height: 42px !important; padding: 8px 10px !important; }
.rp-invoice-product > span { flex: 1 1 260px; }
.rp-invoice-product__sum { flex: 1 1 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid #c9dbfa; font: 500 14px/1.4 Inter, Arial, sans-serif; color: #52617a; }
.rp-invoice-product__sum strong { font: 800 19px/1.2 Manrope, Inter, Arial, sans-serif; color: #202b42; letter-spacing: -.02em; white-space: nowrap; }

/* 19.10.2026 Низ карточки товара: «Похожие товары», «Вопросы и ответы», «Статьи по теме» (components/ProductExtras.php). */
.rp2 .rp2-section-head .rp2-section-more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font: 700 14px/1.3 Inter, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.rp2 .rp2-section-head .rp2-section-more:hover { text-decoration: underline; }
.rp2 .rp2-product-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; margin-top: 56px; padding: 40px; background: #f7faff; border: 1px solid #e0e8f4; }
.rp2 .rp2-product-faq__head h2 { margin: 0 0 12px; }
.rp2 .rp2-product-faq__head .rp2-page-kicker { margin-bottom: 8px; }
.rp2 .rp2-product-faq__head p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.rp2 .rp2-product-faq .rp-faq-list { margin: 0; }
.rp2 .rp2-product-faq .rp-faq-item { background: #fff; }
.rp2 .rp2-product-faq .rp-faq-item p a { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.rp2 .rp2-product-articles { margin-bottom: 10px; }
.rp2 .rp2-product-articles .rp2-articlecard h3 { order: 3; margin: 12px 22px 10px; font: 750 19px/1.35 Manrope, Inter, Arial, sans-serif; letter-spacing: -.035em; color: #202b42; }
@media (max-width: 1040px) { .rp2 .rp2-product-faq { grid-template-columns: 1fr; gap: 20px; padding: 28px; } }
@media (max-width: 760px) { .rp2 .rp2-product-faq { padding: 20px 16px; margin-top: 40px; } .rp2 .rp2-section-head { flex-wrap: wrap; }
    /* 21.10: «Все в разделе «длинное название»» с nowrap распирал страницу на телефоне до 459 px. */
    .rp2 .rp2-section-head .rp2-section-more { white-space: normal; min-width: 0; max-width: 100%; } }

/* 19.10.2026 «В корзину»: отклик на время запроса и ссылка в сообщении «Товар в корзине». */
.add-cart.is-loading { opacity: .75; cursor: progress; pointer-events: none; }
.rp-toast .rp-toast__link { color: #a9c8ff; font-weight: 800; text-decoration: underline; white-space: nowrap; }
.rp-toast .rp-toast__link:hover { color: #fff; }
.rp2 .rp2-mobile-buy { display: none; }
@media (max-width: 760px) {
  .rp2 .rp2-mobile-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid #e0e7f1; background: #fff; }
  .rp2 .rp2-mobile-buy__price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .rp2 .rp2-mobile-buy__price b { font: 800 24px/1.1 Manrope, Inter, Arial, sans-serif; letter-spacing: -.03em; color: #202b42; white-space: nowrap; }
  .rp2 .rp2-mobile-buy__price .rp2-buy-badge { font-size: 11.5px; padding: 3px 7px; }
  .rp2 .rp2-mobile-buy .rp2-primary { flex: 0 1 auto; min-height: 48px; padding: 10px 16px; text-decoration: none; white-space: nowrap; }
}

/* 19.10.2026 Оформление заказа: итог над кнопкой, подсветка незаполненного после нажатия «Оформить заказ». */
.ordering-submit__total { margin: 18px 0 10px; font: 600 16px/1.4 Inter, Arial, sans-serif; color: #34455f; }
.ordering-submit__total b { font: 800 22px/1.2 Manrope, Inter, Arial, sans-serif; color: #202b42; letter-spacing: -.02em; margin-left: 4px; }
.ordering-field--invalid .input, .ordering-field--invalid input.ordering__input { border-color: #c4314b !important; box-shadow: 0 0 0 3px rgba(196, 49, 75, .12); }
.ordering-field--invalid .custom-checkbox__content, label.ordering-field--invalid { color: #a21c32; }
.ordering-field--invalid.custom-checkbox .custom-checkbox__content::before { border-color: #c4314b !important; }
.ordering-submit__hints.ordering-submit__hints--visible { display: block; }
#order-address-block[hidden] { display: none !important; }

/* 19.10.2026 Плашка cookie на телефоне — короткий текст того же содержания, кнопки в строку. */
.cookie-info .cookie-info__text--short { display: none; }
@media (max-width: 650px) {
  .cookie-info.show { padding: 12px 14px !important; }
  .cookie-info .cookie-info__text--full { display: none; }
  .cookie-info .cookie-info__text--short { display: block; font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
  .cookie-info .cookie-info__container > div { flex-wrap: nowrap !important; gap: 8px !important; }
  .cookie-info .cookie-info__btn { flex: 1 1 0; min-height: 44px; padding: 8px 10px; font-size: 14px; }
}

/* 19.10.2026 Значки шапки на телефоне — 44×44 (было 36×36: мелко для пальца). */
@media (max-width: 760px) {
  .rp .rp-header .rp-action, .rp .rp-header .rp-account-link, .rp .rp-header .rp-mobile-phone,
  .rp .rp-header [data-rp-drawer-open], .rp .rp-header .rp-burger { width: 44px !important; height: 44px !important; min-width: 44px; flex: 0 0 44px !important; }
}

/* 19.10.2026 Страница ошибки (views/site/error.php). */
.rp2 .rp-error__box { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; align-items: center; padding: 48px; background: #f7faff; border: 1px solid #e0e8f4; margin-top: 10px; }
.rp2 .rp-error__code { font: 800 clamp(96px, 14vw, 190px)/1 Manrope, Inter, Arial, sans-serif; letter-spacing: -.06em; color: var(--blue); text-align: center; }
.rp2 .rp-error__body h1 { margin: 6px 0 12px; }
.rp2 .rp-error__body > p { font-size: 17px; line-height: 1.6; max-width: 620px; }
.rp2 .rp-error__search { display: flex; align-items: center; gap: 10px; max-width: 620px; height: 52px; margin: 18px 0; padding: 4px 4px 4px 14px; border: 1px solid #b5c6df; background: #fff; }
.rp2 .rp-error__search svg { color: var(--blue); flex: none; }
.rp2 .rp-error__search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 16px Inter, Arial, sans-serif; background: transparent; }
.rp2 .rp-error__search button { height: 42px; padding: 0 20px; border: 0; background: var(--blue); color: #fff; font: 700 15px Inter, Arial, sans-serif; }
.rp2 .rp-error__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rp2.rp-error .rp-con-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1px solid #a6c6f8; background: #fff; color: var(--blue); font: 750 15px/1.2 Inter, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.rp2.rp-error .rp-con-btn:hover { background: var(--pale); }
.rp2.rp-error .rp-con-btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.rp2.rp-error .rp-con-btn--primary:hover { background: #0049d6; }
@media (max-width: 760px) { .rp2 .rp-error__box { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 18px; } .rp2 .rp-error__code { font-size: 84px; text-align: left; } }

/* 19.10.2026 Раздел каталога: одна «Сортировка» + «Только в наличии». */
.rp2 .rp2-list-controls .rp2-sorts { align-items: center; gap: 18px; }
.rp2 .rp2-list-controls .rp2-sort { display: inline-flex !important; align-items: center; gap: 10px; font: 600 14px Inter, Arial, sans-serif; color: #52617a; }
.rp2 .rp2-list-controls .rp2-sort select { min-width: 210px; height: 42px; padding: 0 34px 0 12px; font: 600 14px Inter, Arial, sans-serif; color: #202b42; }
.rp2 .rp2-list-controls .rp2-instock { display: inline-flex !important; align-items: center; gap: 8px; font: 600 14px Inter, Arial, sans-serif; color: #202b42; cursor: pointer; white-space: nowrap; }
.rp2 .rp2-list-controls .rp2-instock input[type=checkbox] { -webkit-appearance: checkbox; appearance: auto; width: 18px !important; height: 18px !important; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 0; background: none; flex: none; accent-color: var(--blue); }
@media (max-width: 760px) {
  .rp2 .rp2-list-controls .rp2-sorts { display: flex !important; flex-wrap: wrap; gap: 10px; }
  .rp2 .rp2-list-controls .rp2-sort { flex: 1 1 100%; }
  .rp2 .rp2-list-controls .rp2-sort select { flex: 1; min-width: 0; width: auto; }
}

/* 19.10.2026 Старые окна (выбор города, вход, подтверждение города): поверх шапки (была z 100 < 180 у шапки — заголовок
   окна уходил под шапку, а шапка не затемнялась). */
.overlay.show { z-index: 890 !important; }
.modals .modal { z-index: 900 !important; }
/* Выбор города: «Популярные» и «Все города» на всю ширину колонок, отступы, заголовок окна. */
.select-city .select-city__title { font-size: 22px !important; margin: 0 0 14px; }
.select-city .select-city__group { column-span: all; -webkit-column-span: all; margin: 18px 0 10px; font: 800 13px/1.3 Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #005bff; }
.select-city .select-city__group:first-child { margin-top: 4px; }
.select-city .select-city__item { margin-bottom: 10px; }
.select-city .select-city__link { font: 500 15px/1.35 Inter, Arial, sans-serif; color: #202b42 !important; }
.select-city .select-city__link:hover, .select-city .select-city__link.active { color: #005bff !important; }
.select-city .select-city__input { height: 50px !important; padding: 0 16px !important; margin-bottom: 6px; }

/* Страница не «прыгает» вбок, когда окно убирает полосу прокрутки (место под неё оставлено всегда). */
@media (min-width: 761px) { html { scrollbar-gutter: stable; } }

/* 19.10.2026 Каталог: первая плитка разделов больше не голубая — все белые, как на главной (решение Славы 17.10). */
.rp2 .rp2-category-card:first-child { background: #fbfcff; }

/* 19.10.2026 «Избранное» и страница модели (обёртка .rp, стили главной): крошки, подзаголовок и заголовок — как на
   остальных внутренних страницах (.rp2-page-kicker, .rp2 h1). */
.rp.rp-page .rp-page-head .rp-section-num { font: 800 14px/1.3 Inter, Arial, sans-serif; letter-spacing: .045em; color: var(--blue, #005bff); }
.rp.rp-page .rp-page-head h1 { font: 800 clamp(30px, 3.4vw, 46px)/1.15 Manrope, Inter, Arial, sans-serif; letter-spacing: -.045em; margin: 13px 0 16px; color: #202b42; }
.rp.rp-page .breadcrumb, .rp.rp-page .breadcrumb__name { font-family: Inter, Arial, sans-serif !important; font-weight: 400; }
.rp.rp-page .breadcrumb { margin-top: 8px; }

/* 19.10.2026 Окна «Вход в личный кабинет» и «Забыли пароль» (views/layouts/main.php, .modal.login) — в стиле витрины. */
.modals .modal.login { width: min(460px, calc(100vw - 32px)) !important; max-width: none !important; padding: 34px 34px 28px !important; box-shadow: 0 24px 65px rgba(0, 21, 46, .25); border: 1px solid #e5eaf2; }
.modals .modal.login .modal__title { font: 800 24px/1.25 Manrope, Inter, Arial, sans-serif !important; letter-spacing: -.03em; margin: 0 0 20px; padding-right: 32px; }
.modals .modal.login .modal__close { top: 18px !important; right: 18px !important; width: 36px; height: 36px; }
.modals .modal.login .form-lk__item { margin-bottom: 14px; }
.modals .modal.login .form-lk__input { height: 52px !important; padding: 18px 14px 6px !important; font: 500 16px/1.3 Inter, Arial, sans-serif !important; }
.modals .modal.login .form-lk__item .form-group { position: relative; margin: 0; }
.modals .modal.login .form-lk__placeholder { position: absolute !important; left: 15px !important; top: 16px !important; margin: 0; pointer-events: none; font: 500 15px/1.2 Inter, Arial, sans-serif !important; color: #6b7b92 !important; transition: top .15s ease, font-size .15s ease; }
.modals .modal.login .form-lk__input:focus + .form-lk__placeholder,
.modals .modal.login .form-lk__input:not(:placeholder-shown) + .form-lk__placeholder { top: 6px !important; font-size: 12px !important; color: #52617a !important; }
.modals .modal.login .help-block:empty { display: none; }
.modals .modal.login .help-block { margin: 6px 0 0; font: 500 13px/1.4 Inter, Arial, sans-serif; color: #a21c32; }
.modals .modal.login .form-lk__btns { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 6px; }
.modals .modal.login .form-lk__btn { height: 50px !important; min-height: 50px; width: 100%; font: 700 16px/1.2 Inter, Arial, sans-serif !important; }
.modals .modal.login .form-lk__link { align-self: center; font: 600 14px/1.3 Inter, Arial, sans-serif !important; margin: 0 !important; }

/* Подсказки поиска (шапка и главная), 20.10.2026: товар строкой — наличие цветом как в карточке, количество, «В корзину» / «Сообщить».
   Двойной класс .rp-sg.rp-sg перебивает старые правила .rp-suggest a / .rp2-search-suggest span|>div. */
.rp-sg.rp-sg { max-height: min(72vh, 640px); overflow-y: auto; overscroll-behavior: contain; container-type: inline-size; }
.rp-sg.rp-sg .rp-sg-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; padding: 9px 8px; border-radius: 6px; color: var(--ink, #202b42); }
.rp-sg.rp-sg .rp-sg-item + .rp-sg-item { border-top: 1px solid var(--line, #e4eaf3); border-radius: 0; }
.rp-sg.rp-sg .rp-sg-item:hover { background: var(--pale, #eef4ff); }
.rp-sg.rp-sg .rp-sg-img { display: block; padding: 0; width: 52px; height: 52px; }
.rp-sg.rp-sg .rp-sg-img img { width: 52px; height: 52px; object-fit: contain; display: block; }
.rp-sg.rp-sg .rp-sg-main { min-width: 0; }
.rp-sg.rp-sg .rp-sg-name { display: block; padding: 0; font-size: 15px; font-weight: 650; line-height: 1.35; color: inherit; background: none; }
.rp-sg.rp-sg .rp-sg-name:hover, .rp-sg.rp-sg .rp-sg-name:focus { color: var(--blue, #005bff); background: none; outline: none; text-decoration: underline; }
.rp-sg.rp-sg .rp-sg-main small { display: inline; font-size: 13px; line-height: 1.4; color: var(--muted, #52617a); margin-right: 8px; }
.rp-sg.rp-sg .rp-sg-stock { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 1px 8px; border-radius: 99px; margin-top: 3px; white-space: nowrap; }
.rp-sg.rp-sg .rp-sg-stock--on { color: #0b7a34; background: #e8f6ee; }
.rp-sg.rp-sg .rp-sg-stock--off { color: #8a5a00; background: #fff4df; }
.rp-sg.rp-sg .rp-sg-buy { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.rp-sg.rp-sg .rp-sg-price { font-size: 16px; font-weight: 800; white-space: nowrap; min-width: 72px; text-align: right; }
.rp-sg.rp-sg .rp-sg-qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--line, #e4eaf3); border-radius: 6px; background: #fff; overflow: hidden; }
.rp-sg.rp-sg .rp-sg-qty button { width: 32px; height: 100%; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink, #202b42); cursor: pointer; padding: 0; }
.rp-sg.rp-sg .rp-sg-qty button:hover { background: var(--pale, #eef4ff); color: var(--blue, #005bff); }
.rp-sg.rp-sg .rp-sg-qty input { width: 38px; height: 100%; border: 0; padding: 0; text-align: center; font-size: 15px; font-weight: 700; background: none; color: inherit; }
.rp-sg.rp-sg :is(.rp-sg-cart, .rp-sg-notify) { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.rp-sg.rp-sg :is(.rp-sg-cart, .rp-sg-notify) span { flex: none; font-size: 14px; font-weight: 700; line-height: 1; }
.rp-sg.rp-sg .rp-sg-cart { border: 0; background: var(--blue, #005bff); color: #fff; }
.rp-sg.rp-sg .rp-sg-cart:hover { filter: brightness(1.08); }
.rp-sg.rp-sg .rp-sg-cart.is-added { background: #0b7a34; }
.rp-sg.rp-sg .rp-sg-cart:disabled { opacity: .75; cursor: progress; }
.rp-sg.rp-sg .rp-sg-notify { border: 1px solid var(--blue, #005bff); background: #fff; color: var(--blue, #005bff); }
.rp-sg.rp-sg .rp-sg-notify:hover { background: var(--pale, #eef4ff); }
/* Узкий список (телефон, главная): цена, количество и кнопка — второй строкой под названием. */
@container (max-width: 640px) {
    .rp-sg.rp-sg .rp-sg-item { grid-template-columns: 52px minmax(0, 1fr); }
    .rp-sg.rp-sg .rp-sg-buy { grid-column: 1 / -1; flex-wrap: wrap; }
    .rp-sg.rp-sg .rp-sg-price { margin-right: auto; text-align: left; min-width: 0; }
}
@container (max-width: 360px) {
    .rp-sg.rp-sg :is(.rp-sg-cart, .rp-sg-notify) { padding: 0 10px; }
    .rp-sg.rp-sg .rp-sg-notify span { white-space: normal; text-align: left; line-height: 1.15; }
}

/* «Вы недавно смотрели» (21.10.2026): лента с прокруткой, 4 карточки в ряд (≤1100 — 3, ≤650 — 2 и край следующей). */
.rp-recent .rp-section-head, .rp-recent .rp2-section-head { align-items: flex-end; }
.rp-recent__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.rp-recent__btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line, #e1e8f2); border-radius: 50%; background: #fff; color: #253653; cursor: pointer; }
.rp-recent__btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.rp-recent__btn:disabled { opacity: .35; cursor: default; }
.rp-recent__clear { border: 0; background: none; color: #6c7e97; font: 600 14px/1.3 Inter, Arial, sans-serif; padding: 8px 4px 8px 10px; cursor: pointer; }
.rp-recent__clear:hover { color: #d73350; }
.rp-recent__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px; }
.rp-recent__track::-webkit-scrollbar { display: none; }
.rp-recent__track > * { scroll-snap-align: start; }
.rp-recent.rp-section { padding-bottom: 0; }
.rp2 .rp-recent--rp2 .rp2-section-head { flex-wrap: nowrap; }
@media (max-width: 1100px) { .rp-recent__track { grid-auto-columns: calc((100% - 24px) / 3); } }
@media (max-width: 650px) {
    .rp-recent__track { grid-auto-columns: 44%; gap: 8px; }
    .rp-recent__btn { display: none; }
    .rp-recent .rp-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .rp-recent__track { scroll-behavior: auto; } }
.rp [data-rp-install][hidden] { display: none !important; }
/* Окно «Спасибо» после заказа (21.10.2026): номер заказа заголовком, пояснение мельче. */
.js-modalThx .thx__note { margin: -6px 0 22px; font-size: 16px; line-height: 1.55; color: #52617a; text-align: center; }
.js-modalThx .thx__note[hidden], .js-modalThx [data-thx-track][hidden] { display: none !important; }

/* Отзывы и оценки (21.10.2026). Звёзды: серая строка и поверх жёлтая, обрезанная по --rp-stars. */
.rp-stars { position: relative; display: inline-flex; vertical-align: middle; line-height: 0; flex: none; }
.rp-stars__base, .rp-stars__fill { display: inline-flex; gap: 2px; }
.rp-stars__base svg { fill: #dfe5ee; }
.rp-stars__fill { position: absolute; inset: 0 auto 0 0; width: var(--rp-stars, 0%); overflow: hidden; white-space: nowrap; }
.rp-stars__fill svg { fill: #ffb400; flex: none; }
.rp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rp2 .rp2-detail-rating { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; color: #5b6d87; }
.rp2 .rp2-detail-rating b { color: #253653; font-size: 15px; }
.rp2 .rp2-detail-rating:hover span { color: var(--blue); text-decoration: underline; }
.rp2 .rp2-tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #eef3fb; color: #50627d; font-size: 12px; font-weight: 800; }
.rp2 .rp2-tabs button.selected .rp2-tab-count { background: var(--blue); color: #fff; }
.rp2 .rp-reviews { max-width: none; }
.rp-reviews__summary { display: grid; grid-template-columns: auto minmax(0, 300px) auto; gap: 34px; align-items: center; padding: 22px 24px; border: 1px solid #e3eaf4; background: #fafcff; border-radius: var(--rp-radius-control); margin-bottom: 8px; }
.rp-reviews__avg { display: grid; justify-items: start; gap: 6px; }
.rp-reviews__avg strong { font: 800 44px/1 Manrope, Inter, sans-serif; letter-spacing: -.04em; color: #1c2a44; }
.rp-reviews__avg span { color: #66778e; font-size: 14px; }
.rp-reviews__dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.rp-reviews__dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; color: #5b6d87; }
.rp-reviews__dist li > span { display: inline-flex; align-items: center; gap: 3px; }
.rp-reviews__dist li > span svg { fill: #ffb400; }
.rp-reviews__dist i { height: 7px; background: #e8edf4; border-radius: 4px; overflow: hidden; }
.rp-reviews__dist i b { display: block; height: 100%; background: #ffb400; border-radius: 4px; }
.rp-reviews__dist em { font-style: normal; text-align: right; }
.rp-reviews__cta { display: grid; gap: 8px; justify-items: start; }
.rp-reviews__cta small { color: #74839a; font-size: 13px; max-width: 220px; line-height: 1.4; }
.rp-review { padding: 20px 0; border-bottom: 1px solid #edf1f7; }
.rp-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.rp-review header b { font-size: 16px; color: #1f2d47; }
.rp-review header time { color: #7d8ba0; font-size: 13px; margin-left: auto; }
.rp-review__badge { display: inline-flex; align-items: center; gap: 4px; color: #13804a; background: #eaf7f0; font-size: 12px; font-weight: 750; padding: 3px 8px; border-radius: 10px; }
.rp2 .rp-review p { margin: 10px 0 0; line-height: 1.7; color: #33435c; white-space: normal; }
.rp-review__reply { margin-top: 14px; padding: 12px 15px; border-left: 3px solid var(--blue); background: #f4f8ff; border-radius: 0 var(--rp-radius-control) var(--rp-radius-control) 0; }
.rp-review__reply b { font-size: 14px; color: var(--blue); }
.rp2 .rp-review__reply p { margin-top: 5px; font-size: 15px; }
.rp-reviews__empty { display: grid; justify-items: start; gap: 12px; padding: 24px; border: 1px dashed #cbd8e8; border-radius: var(--rp-radius-control); background: #fafcff; }
.rp2 .rp-reviews__empty p { margin: 0; max-width: 560px; }
/* Окно отзыва: звёзды-кнопки (в разметке 5→1, row-reverse — подсветка «до этой» через ~). */
.rp-review-product { font-weight: 700; color: #253653 !important; margin-top: -4px !important; }
.rp-rate { border: 0; padding: 0; margin: 0; }
.rp-rate legend { font-size: 14px; font-weight: 650; color: #253653; margin-bottom: 6px; padding: 0; }
.rp-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rp-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rp-rate__stars label { cursor: pointer; line-height: 0; padding: 2px; border-radius: 6px; }
.rp-rate__stars label svg { fill: #dfe5ee; transition: fill .12s, transform .12s; }
.rp-rate__stars label:hover svg, .rp-rate__stars label:hover ~ label svg,
.rp-rate__stars input:checked ~ label svg { fill: #ffb400; }
.rp-rate__stars label:hover svg { transform: scale(1.08); }
.rp-rate__stars input:focus-visible + label { outline: 3px solid var(--blue, #005bff); outline-offset: 2px; }
.rp-rate__label { display: inline-block; margin-left: 12px; vertical-align: 10px; font-size: 14px; color: #5b6d87; font-weight: 650; }
.rp-review-why { display: flex; gap: 7px; align-items: flex-start; font-size: 13px !important; line-height: 1.5 !important; color: #5b6d87 !important; margin: -4px 0 0 !important; }
.rp-review-why svg { flex: none; color: #13804a; margin-top: 2px; }
@media (max-width: 900px) {
    .rp-reviews__summary { grid-template-columns: auto 1fr; gap: 20px 26px; }
    .rp-reviews__cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .rp-reviews__summary { grid-template-columns: 1fr; padding: 18px; }
    .rp-rate__label { display: block; margin: 6px 0 0; }
}
/* «Сообщить, когда подешевеет» (21.10.2026): тихая ссылка-кнопка под кнопками покупки. */
.rp2 .rp2-price-alert { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin: 2px 0 10px; padding: 8px 0; border: 0; background: none; color: #4a5d7a; font-size: 14px; font-weight: 650; }
.rp2 .rp2-price-alert svg { color: var(--blue); }
.rp2 .rp2-price-alert:hover { color: var(--blue); text-decoration: underline; }
/* Карточка товара на узком экране (22.10.2026, товар 202 на TEST): .rp2-detail-name — элемент flex-строки
   .rp2-detail-top с min-width:auto, поэтому не сжимался уже самого длинного слова названия («Обезжириватель»,
   «кофеавтоматов» при 27–30px) и выталкивал заголовок, раздел и код за экран (на 30 px при 390, на 60 px при 360).
   Даём ему сжиматься до ширины строки, а длинным словам и кодам — переноситься; текст не обрезается и не скрывается. */
.rp2 .rp2-detail-top > .rp2-detail-name { min-width: 0; max-width: 100%; }
.rp2 .rp2-detail-name :is(h1, .rp2-page-kicker), .rp2 .rp2-detail-code { overflow-wrap: anywhere; hyphens: auto; }
/* Там же: мобильная полоса покупки — «Сообщить о поступлении» (nowrap) рядом с ценой шире строки; кнопка уходит под цену
   на всю ширину. Вкладки карточки (с «Отзывами») не помещались в одну строку — переносятся, все остаются видны. */
.rp2 .rp2-mobile-buy { flex-wrap: wrap; }
.rp2 .rp2-mobile-buy .rp2-primary { flex: 1 1 auto; justify-content: center; }
.rp2 .rp2-tabs { flex-wrap: wrap; row-gap: 0; }
