/* Шрифты: WOFF2-сабсеты (латиница + кириллица + ₽, вариативные начертания), нарезанные из TTF
   в той же папке; команда и метрики — docs/design/storefront-product-category-2026-09-02.md §4.
   Оба файла preload-ятся в _Layout.cshtml по тем же URL. «* Fallback» подгоняют Arial под метрики
   настоящего шрифта, чтобы текст не прыгал при подмене. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-var.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/oswald-var.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 128.11%;
  ascent-override: 83.21%;
  descent-override: 23.42%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Oswald Fallback';
  src: local('Arial');
  size-adjust: 105.35%;
  ascent-override: 113.25%;
  descent-override: 27.43%;
  line-gap-override: 0%;
}

:root {
    color-scheme: light;
    font-family: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f5f7fb;
    --surface: #ffffff;
    --surface-muted: #eef2f7;
    --text: #172033;
    --text-muted: #526078;
    --link: #174ea6;
    --link-hover: #103d82;
    --border: #dbe1ea;
    --border-strong: #b9c3d1;
    --focus: #a84600;
    --content-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 0;
    background: #f5f7fb;
}

body {
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    color: var(--text);
    background: #f5f7fb;
    font-size: 1rem;
    line-height: 1.55;
}

a {
    color: var(--link);
    overflow-wrap: anywhere;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--link-hover);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: .75rem;
    left: .75rem;
    min-height: 44px;
    padding: .65rem 1rem;
    border: 2px solid var(--text);
    border-radius: .4rem;
    color: var(--text);
    background: var(--surface);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: min(var(--content-width), calc(100% - 2rem));
    min-height: 68px;
    margin-inline: auto;
    padding-block: .7rem;
}

.site-name {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.site-name:hover {
    color: var(--link);
}

.preview-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .3rem .65rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--surface-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

main {
    width: min(var(--content-width), calc(100% - 2rem));
    margin-inline: auto;
    padding-block: 1.25rem 4rem;
}

main:focus {
    outline-offset: .4rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .35rem;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
    color: var(--text-muted);
    font-size: .9rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: .35rem;
    color: #8c98aa;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 940px;
    margin: .25rem 0 1rem;
    font-size: clamp(1.9rem, 5vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

h2 {
    margin-block: 2.5rem 1rem;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    line-height: 1.2;
}

h3 {
    line-height: 1.35;
}

.page-heading,
.product-detail,
.browse-summary {
    min-width: 0;
}

.page-heading {
    margin-bottom: 2rem;
}

.eyebrow,
.fact-label {
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lead {
    max-width: 760px;
    color: #3f4d63;
    font-size: 1.08rem;
    line-height: 1.65;
}

.browse-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-block: 1.5rem 1rem;
    color: var(--text-muted);
}

.browse-summary > * {
    margin-block: 0;
}

.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin-block: 1rem 0;
    list-style: none;
}

.category-card,
.product-card,
.product-facts,
.not-found,
.empty-state {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: var(--surface);
}

.category-card,
.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.product-card__media {
    display: grid;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: .55rem;
    background: #f7f8fa;
}

.product-card__image,
.product-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-media-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 8rem;
    place-items: center;
    padding: 1rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, #f7f8fa, #eef1f4);
    font-size: .9rem;
    font-weight: 700;
}

.category-card > :first-child,
.product-card > :first-child,
.product-card h2,
.product-card h3 {
    margin-top: 0;
}

.category-card h2,
.category-card h3,
.product-card h2,
.product-card h3 {
    margin-bottom: .75rem;
    font-size: 1.05rem;
}

.category-card a,
.product-card h2 a,
.product-card h3 a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 750;
}

.sku,
.source-note,
.empty-state {
    color: var(--text-muted);
}

.card-price {
    margin-top: auto;
    padding-top: .75rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
}

.product-facts {
    max-width: 520px;
    margin-block: 2rem 1rem;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.product-detail__media {
    display: grid;
    width: 100%;
    max-width: 750px;
    min-width: 0;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: #f7f8fa;
}

.product-detail__content {
    min-width: 0;
}

.product-price {
    display: grid;
    gap: .35rem;
}

.product-price__amount {
    font-size: 1.65rem;
    font-weight: 800;
}

.product-availability {
    font-weight: 700;
}

.source-note {
    max-width: 620px;
    font-size: .88rem;
    line-height: 1.5;
}

.empty-state {
    max-width: 720px;
    margin-block: 1rem;
}

.pagination {
    margin-top: 2rem;
}

.pagination ul,
.pagination ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination a,
.pagination button,
.pagination [aria-current="page"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: .5rem .75rem;
    border: 1px solid var(--border-strong);
    border-radius: .45rem;
    background: var(--surface);
    font: inherit;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.pagination [aria-current="page"] {
    border-color: var(--text);
    color: var(--surface);
    background: var(--text);
}

.not-found {
    max-width: 720px;
    margin: 3rem auto;
    text-align: center;
}

.error-code {
    margin: 0;
    color: var(--link);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1rem;
    padding: .7rem 1rem;
    border-radius: .45rem;
    color: #fff;
    background: var(--link);
    font-weight: 700;
    text-decoration: none;
}

.button-link:hover {
    color: #fff;
    background: var(--link-hover);
}

@media (max-width: 900px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail__layout {
        grid-template-columns: minmax(220px, 2fr) minmax(0, 3fr);
    }
}

@media (max-width: 600px) {
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
        padding-block: .65rem;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-detail__layout {
        grid-template-columns: 1fr;
    }

    .product-detail__media {
        max-width: 480px;
    }

    main {
        padding-block: 1rem 3rem;
    }

    .breadcrumbs ol {
        margin-bottom: 1rem;
    }

    .page-heading {
        margin-bottom: 1.5rem;
    }

    .category-card,
    .product-card,
    .product-facts,
    .not-found,
    .empty-state {
        padding: 1rem;
    }
}

@media (max-width: 400px) {
    .site-header__inner,
    main {
        width: min(var(--content-width), calc(100% - 1.5rem));
    }

    .browse-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

.search-heading {
    margin-bottom: 1.25rem;
}

.search-form {
    display: grid;
    gap: .7rem;
    max-width: 760px;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: var(--surface);
}

.search-form__label {
    font-weight: 750;
}

.search-form__controls {
    display: flex;
    align-items: stretch;
    gap: .75rem;
    min-width: 0;
}

.search-form__input,
.search-form__submit {
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: .45rem;
    font: inherit;
    font-size: 1rem;
}

.search-form__input {
    min-width: 0;
    flex: 1;
    padding: .65rem .75rem;
    color: var(--text);
    background: var(--surface);
}

.search-form__submit {
    min-width: 7rem;
    padding: .65rem 1rem;
    border-color: var(--link);
    color: #fff;
    background: var(--link);
    font-weight: 750;
    cursor: pointer;
    touch-action: manipulation;
}

.search-form__submit:hover {
    border-color: var(--link-hover);
    background: var(--link-hover);
}

.search-form__submit:active {
    border-color: var(--text);
    background: var(--text);
}

.search-form__help {
    margin: 0;
    color: var(--text-muted);
    font-size: .9rem;
}

.search-state {
    max-width: 720px;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: var(--surface);
}

.search-state h2,
.search-state p {
    margin-top: 0;
}

.search-state p:last-child {
    margin-bottom: 0;
}

.search-state--error {
    border-color: var(--border-strong);
}

.search-results-summary {
    margin-block: 1.5rem 1rem;
    color: var(--text-muted);
}

.search-results {
    margin-top: 0;
}

.search-pagination {
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .search-form {
        padding: 1rem;
    }

    .search-form__controls {
        flex-direction: column;
    }

    .search-form__submit {
        width: 100%;
    }

    .search-state {
        padding: 1rem;
    }
}

/* ============================================================
   W31 homepage parity. Canonical source:
   production .rbpx release 2026-07-25.
   ============================================================ */
/* ============================================================
   RealBassParts — новая главная (design canvas homepage.dc)
   V2 2026-07-25: токены, слоистая глубина, моторика, доступность.
   Идентичность (палитра, Oswald+Manrope, порядок секций) сохранена.
   Всё scoped под .rbpx, чтобы не конфликтовать с default.css / rbp.css / v1.
   ============================================================ */

/* ------------------------------------------------------------
   ТОКЕНЫ. Объявлены на .rbpx (все три обёртки: шапка/контент/подвал),
   поэтому не утекают на остальные страницы старой темы.
   ------------------------------------------------------------ */
.rbpx{
  --rbp-red:#E11414;
  --rbp-red-dk:#C81212;
  --rbp-red-dp:#9E0E0E;
  --rbp-red-w8:rgba(225,20,20,.08);
  --rbp-red-w14:rgba(225,20,20,.14);
  --rbp-red-w22:rgba(225,20,20,.22);

  --rbp-ink:#14161A;
  --rbp-ink-2:#3A3E45;
  --rbp-ink-3:#5B6068;
  /* --rbp-mut заменил #9096A0: тот давал 2.98:1 на белом и не проходил 4.5:1
     для мелкого текста и плейсхолдеров. #6B7280 = 4.83:1. */
  --rbp-mut:#6B7280;

  --rbp-line:#E5E7EB;
  --rbp-line-2:#D9DCE1;
  --rbp-surf:#F4F5F7;
  --rbp-surf-2:#F6F7F9;
  --rbp-dark:#333333;
  --rbp-black:#0E0F12;
  /* на тёмном подвале #6B6F76 давал 3.82:1; #8A8D93 = 5.79:1 */
  --rbp-dk-mut:#8A8D93;

  --rbp-wa:#25D366;
  --rbp-tg:#2AABEE;
  --rbp-buy:#F6C324;
  --rbp-buy-dk:#ECB800;
  --rbp-buy-line:#E0A800;
  --rbp-ok:#0F7434;

  --r-sm:7px; --r-md:9px; --r-lg:14px; --r-xl:20px; --r-pill:100px;

  /* Двухслойная высота: плотная контактная тень + мягкая рассеянная.
     У каждой есть смещение и размытие — не цветной гало вокруг элемента. */
  --el-1:0 1px 2px rgba(20,22,26,.05), 0 2px 8px rgba(20,22,26,.05);
  --el-2:0 2px 4px rgba(20,22,26,.05), 0 10px 24px rgba(20,22,26,.08);
  --el-3:0 4px 8px rgba(20,22,26,.06), 0 20px 44px rgba(20,22,26,.10);
  --el-red:0 2px 6px rgba(225,20,20,.10), 0 14px 34px rgba(225,20,20,.15);

  --ease:cubic-bezier(.16,1,.3,1);
  --d-fast:140ms;
  --d-base:220ms;
  --d-slow:320ms;
  --d-exit:180ms;
}

/* ---------- base / reset (scoped, zero-specificity via :where so component classes always win) ---------- */
.rbpx, .rbpx *{ box-sizing:border-box; }
.rbpx{
  font-family:'Manrope','Manrope Fallback',system-ui,-apple-system,sans-serif;
  color:var(--rbp-ink); line-height:1.5; -webkit-font-smoothing:antialiased;
  background:#FFFFFF;
}
/* prevent horizontal scroll without clipping the catalog dropdown (clip keeps y-axis visible) */
.rbpx-home{ overflow-x:clip; }
:where(.rbpx h1,.rbpx h2,.rbpx h3,.rbpx h4,.rbpx h5,.rbpx p,.rbpx figure,.rbpx ul,.rbpx form){ margin:0; padding:0; }
:where(.rbpx ul){ list-style:none; }
:where(.rbpx a){ text-decoration:none; color:inherit; }
:where(.rbpx img){ display:block; max-width:100%; }
:where(.rbpx button){ font-family:inherit; cursor:pointer; border:none; background:none; }
:where(.rbpx input){ font-family:inherit; }
.rbpx ::selection{ background:var(--rbp-red); color:#fff; }

/* home content full-width inside the legacy layout wrapper */
.rbp-home-main .content,
.rbp-home-main #page-content{ max-width:none!important; width:auto!important; margin:0!important; padding:0!important; border:0!important; }
.rbp-home-main{ background:#fff; }
.rbp-home-main .breadcrumbs{ display:none!important; }

/* central column */
.rbpx-sec{ max-width:1280px; margin:0 auto; padding:0 24px; }

/* ------------------------------------------------------------
   ФОКУС. В V1 во всём файле не было ни одного focus-состояния —
   клавиатурная навигация была невидима.
   ------------------------------------------------------------ */
.rbpx :focus-visible{
  outline:2px solid var(--rbp-red);
  outline-offset:3px;
  border-radius:5px;
}
/* на тёмных и красных поверхностях красное кольцо не читается */
.rbpx-trust :focus-visible,
.rbpx-contact :focus-visible,
.rbpx-footer :focus-visible,
.rbpx-catalog-btn:focus-visible,
.rbpx-mob-phone:focus-visible{ outline-color:#fff; }
.rbpx-header-search:focus-within{
  border-color:var(--rbp-red);
  box-shadow:0 0 0 3px var(--rbp-red-w8);
}
.rbpx-header-search input:focus-visible,
.rbpx-mob-search input:focus-visible{ outline:none; }

/* ============================================================
   TOPBAR
   ============================================================ */
.rbpx-topbar{ background:var(--rbp-surf); border-bottom:1px solid var(--rbp-line); }
.rbpx-topbar-inner{ height:40px; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--rbp-ink-3); }
.rbpx-topbar-left{ display:flex; align-items:center; gap:20px; }
.rbpx-topbar-left .tb-store{ display:inline-flex; align-items:center; gap:7px; }
.rbpx-topbar-left .tb-muted{ color:var(--rbp-mut); }
.rbpx-topbar-right{ display:flex; align-items:center; gap:18px; }
.rbpx-topbar-right .tb-phone{ display:inline-flex; align-items:center; gap:7px; color:var(--rbp-ink); font-weight:700; letter-spacing:.2px; transition:color var(--d-fast) ease; }
.rbpx-topbar-right .tb-phone:hover{ color:var(--rbp-red); }
.rbpx-topbar-right .tb-soc{ width:24px; height:24px; border-radius:6px; display:inline-flex; align-items:center; justify-content:center; transition:transform var(--d-fast) var(--ease), box-shadow var(--d-fast) ease; }
.rbpx-topbar-right .tb-soc:hover{ transform:translateY(-1px); }
.rbpx-topbar-right .tb-wa{ background:var(--rbp-wa); }
.rbpx-topbar-right .tb-wa:hover{ box-shadow:0 2px 8px rgba(37,211,102,.45); }
.rbpx-topbar-right .tb-tg{ background:var(--rbp-tg); }
.rbpx-topbar-right .tb-tg:hover{ box-shadow:0 2px 8px rgba(42,171,238,.45); }
.rbpx-topbar-right .tb-sep{ width:1px; height:16px; background:var(--rbp-line-2); }
.rbpx-topbar-right .tb-user{ display:inline-flex; align-items:center; gap:6px; color:var(--rbp-ink-3); transition:color var(--d-fast) ease; }
.rbpx-topbar-right .tb-user:hover{ color:var(--rbp-ink); }
.rbpx-topbar-right .tb-logout{ color:var(--rbp-mut); }
.rbpx-topbar-right .tb-register{ color:var(--rbp-red); font-weight:700; }
.rbpx-topbar-right .tb-register:hover{ color:var(--rbp-red-dp); }

/* ============================================================
   HEADER (sticky)
   ============================================================ */
.rbpx-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rbp-line);
  transition:background var(--d-base) ease, box-shadow var(--d-base) ease, border-color var(--d-base) ease;
}
/* Уплотнение при скролле. Высота НЕ анимируется намеренно: любая анимация
   layout в липкой шапке двигает контент и кормит CLS (у главной он 0.156).
   Меняем только фон, тень и transform лого. */
.rbpx-header.is-scrolled{
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:var(--el-1);
  border-bottom-color:transparent;
}
.rbpx-header-inner{ height:74px; display:flex; align-items:center; gap:22px; }
.rbpx-logo{ display:flex; align-items:center; flex-shrink:0; }
.rbpx-logo img{
  height:58px; width:auto; display:block;
  transform-origin:left center;
  transition:transform var(--d-base) var(--ease);
}
.rbpx-header.is-scrolled .rbpx-logo img{ transform:scale(.88); }

.rbpx-catalog-btn{
  flex-shrink:0; display:inline-flex; align-items:center; gap:9px;
  background:var(--rbp-red); color:#fff; height:44px; padding:0 18px; border-radius:var(--r-md);
  font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:14px; letter-spacing:.6px; text-transform:uppercase;
  box-shadow:0 1px 2px rgba(225,20,20,.20), 0 6px 16px rgba(225,20,20,.20);
  transition:background var(--d-fast) ease, box-shadow var(--d-base) ease, transform var(--d-fast) var(--ease);
}
.rbpx-catalog-btn:hover{ background:var(--rbp-red-dk); box-shadow:0 2px 4px rgba(225,20,20,.24), 0 10px 24px rgba(225,20,20,.28); }
.rbpx-catalog-btn:active{ transform:translateY(1px); box-shadow:0 1px 2px rgba(225,20,20,.22); }
/* бургер-глиф кнопки превращается в крест, когда панель открыта */
.rbpx-catalog-btn .cb-ic{ display:inline-flex; transition:transform var(--d-slow) var(--ease); }
.rbpx-catalog-btn .cb-ic .l1,
.rbpx-catalog-btn .cb-ic .l2,
.rbpx-catalog-btn .cb-ic .l3{ transition:transform var(--d-slow) var(--ease), opacity var(--d-fast) ease; transform-origin:center; }
.rbpx-catalog-btn[aria-expanded="true"] .cb-ic .l1{ transform:translateY(6px) rotate(45deg); }
.rbpx-catalog-btn[aria-expanded="true"] .cb-ic .l2{ opacity:0; }
.rbpx-catalog-btn[aria-expanded="true"] .cb-ic .l3{ transform:translateY(-6px) rotate(-45deg); }

.rbpx-header-search{
  flex:1; max-width:460px; display:flex; align-items:center;
  background:var(--rbp-surf); border:1px solid var(--rbp-line); border-radius:var(--r-md);
  height:44px; padding:0 6px 0 14px;
  transition:border-color var(--d-fast) ease, box-shadow var(--d-fast) ease, background var(--d-fast) ease;
}
.rbpx-header-search:hover{ background:#fff; border-color:var(--rbp-line-2); }
.rbpx-header-search input{ flex:1; background:transparent; border:none; outline:none; color:var(--rbp-ink); font-family:'Manrope','Manrope Fallback',sans-serif; font-size:14px; padding:0 10px; min-width:0; }
.rbpx-header-search input::placeholder{ color:var(--rbp-mut); }
.rbpx-header-search .hs-btn{
  background:var(--rbp-ink); border:none; color:#fff; height:32px; padding:0 14px; border-radius:6px;
  font-size:13px; font-weight:600; flex-shrink:0;
  transition:background var(--d-fast) ease, transform var(--d-fast) var(--ease);
}
.rbpx-header-search .hs-btn:hover{ background:#000; }
.rbpx-header-search .hs-btn:active{ transform:translateY(1px); }

.rbpx-nav{ display:flex; align-items:center; gap:22px; margin-left:auto; font-size:15px; font-weight:600; color:var(--rbp-ink-2); }
.rbpx-nav a{ white-space:nowrap; color:var(--rbp-ink-2); position:relative; transition:color var(--d-fast) ease; }
.rbpx-nav a:hover{ color:var(--rbp-red); }
/* тонкая красная черта вырастает из центра — та же идиома, что у названий категорий */
.rbpx-nav a::after{
  content:''; position:absolute; left:50%; right:50%; bottom:-6px; height:2px;
  background:var(--rbp-red); border-radius:2px;
  transition:left var(--d-base) var(--ease), right var(--d-base) var(--ease);
}
.rbpx-nav a:hover::after{ left:0; right:0; }

.rbpx-cart{ display:inline-flex; align-items:center; gap:9px; flex-shrink:0; color:var(--rbp-ink); transition:color var(--d-fast) ease; }
.rbpx-cart:hover{ color:var(--rbp-red); }
.rbpx-cart .cart-ic{ position:relative; display:inline-flex; }
.rbpx-cart .cart-badge{
  position:absolute; top:-7px; right:-9px; min-width:17px; height:17px; padding:0 4px;
  background:var(--rbp-red); border-radius:9px; font-size:11px; font-weight:800; color:#fff;
  display:flex; align-items:center; justify-content:center; line-height:1;
  box-shadow:0 0 0 2px #fff;
}
.rbpx-cart .cart-label{ font-weight:700; font-size:14px; color:var(--rbp-ink); white-space:nowrap; }
.rbpx-burger{ display:none; margin-left:auto; width:44px; height:44px; align-items:center; justify-content:center; background:var(--rbp-surf); border:1px solid var(--rbp-line); border-radius:var(--r-md); transition:background var(--d-fast) ease; }
.rbpx-burger:hover{ background:#EAECEF; }

/* ------------------------------------------------------------
   CATALOG DROPDOWN — фокусный момент.
   Панель раскрывается сверху вниз через clip-path (ящик выдвигается),
   ссылки поднимаются каскадом с потолком задержки ~160 мс.
   Закрытие быстрее входа.
   ------------------------------------------------------------ */
.rbpx-catalog-panel{
  /* top:100%, а не 74px: шапка на средних ширинах становится двухрядной,
     и жёсткое значение накрывало бы собственную строку поиска */
  position:absolute; left:0; right:0; top:100%;
  background:#fff;
  border-top:1px solid var(--rbp-line); border-bottom:1px solid var(--rbp-line);
  box-shadow:0 30px 60px rgba(20,22,26,.14);
  visibility:hidden; opacity:0;
  clip-path:inset(0 0 100% 0);
  transition:clip-path var(--d-exit) var(--ease), opacity var(--d-exit) ease, visibility 0s linear var(--d-exit);
}
.rbpx-catalog-panel.is-open{
  visibility:visible; opacity:1;
  clip-path:inset(0 0 0 0);
  transition:clip-path var(--d-slow) var(--ease), opacity var(--d-fast) ease, visibility 0s;
}
.rbpx-catalog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px 32px; padding:20px 24px; }
.rbpx-catalog-grid a{
  padding:9px 12px; border-radius:var(--r-sm); color:var(--rbp-ink-2); font-size:14px; font-weight:600;
  opacity:0; transform:translateY(7px);
  transition:background var(--d-fast) ease, color var(--d-fast) ease, opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease);
}
.rbpx-catalog-grid a:hover{ background:var(--rbp-surf); color:var(--rbp-red); }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a{ opacity:1; transform:none; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(1){ transition-delay:0ms,0ms,30ms,30ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(2){ transition-delay:0ms,0ms,46ms,46ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(3){ transition-delay:0ms,0ms,62ms,62ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(4){ transition-delay:0ms,0ms,78ms,78ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(5){ transition-delay:0ms,0ms,94ms,94ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(6){ transition-delay:0ms,0ms,110ms,110ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(7){ transition-delay:0ms,0ms,126ms,126ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(8){ transition-delay:0ms,0ms,142ms,142ms; }
.rbpx-catalog-panel.is-open .rbpx-catalog-grid a:nth-child(n+9){ transition-delay:0ms,0ms,158ms,158ms; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.rbpx-mob{
  position:fixed; inset:0; z-index:100; background:rgba(20,22,26,.45);
  visibility:hidden; opacity:0;
  /* Панель в закрытом состоянии стоит на translateX(100%), т.е. за правым краем.
     Без этого clip она создаёт горизонтальную прокрутку на всех ширинах,
     где у .rbpx нет overflow-x:clip (проверено: вылет 87px на 1024). */
  overflow:hidden;
  -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
  transition:opacity var(--d-exit) ease, visibility 0s linear var(--d-exit);
}
.rbpx-mob.is-open{ visibility:visible; opacity:1; transition:opacity var(--d-base) ease, visibility 0s; }
.rbpx-mob-panel{
  position:absolute; top:0; right:0; bottom:0; width:82%; max-width:340px;
  background:#fff; padding:24px 22px; overflow-y:auto; border-left:1px solid var(--rbp-line);
  box-shadow:-8px 0 40px rgba(20,22,26,.18);
  transform:translateX(100%);
  transition:transform var(--d-exit) var(--ease);
}
.rbpx-mob.is-open .rbpx-mob-panel{ transform:none; transition:transform var(--d-slow) var(--ease); }
.rbpx-mob-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.rbpx-mob-head .mt{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:700; font-size:18px; color:var(--rbp-ink); letter-spacing:.5px; }
.rbpx-mob-close{ width:38px; height:38px; background:var(--rbp-surf); border:none; border-radius:8px; color:var(--rbp-ink); font-size:20px; transition:background var(--d-fast) ease; }
.rbpx-mob-close:hover{ background:#EAECEF; }
.rbpx-mob-search{ display:flex; align-items:center; background:var(--rbp-surf); border:1px solid var(--rbp-line); border-radius:var(--r-md); height:44px; padding:0 12px; margin-bottom:20px; transition:border-color var(--d-fast) ease, box-shadow var(--d-fast) ease; }
.rbpx-mob-search:focus-within{ border-color:var(--rbp-red); box-shadow:0 0 0 3px var(--rbp-red-w8); }
.rbpx-mob-search input{ flex:1; background:transparent; border:none; outline:none; color:var(--rbp-ink); font-size:14px; padding:0 8px; min-width:0; }
.rbpx-mob-search input::placeholder{ color:var(--rbp-mut); }
.rbpx-mob-label{ font-size:11px; font-weight:700; letter-spacing:1px; color:var(--rbp-mut); text-transform:uppercase; margin-bottom:8px; }
.rbpx-mob-list{ display:flex; flex-direction:column; gap:2px; margin-bottom:20px; }
.rbpx-mob-list a{ padding:11px 10px; border-radius:var(--r-sm); color:var(--rbp-ink-2); font-weight:600; transition:background var(--d-fast) ease, color var(--d-fast) ease; }
.rbpx-mob-list a:hover{ background:var(--rbp-surf); color:var(--rbp-red); }
.rbpx-mob-links{ display:flex; flex-direction:column; gap:2px; border-top:1px solid var(--rbp-line); padding-top:16px; }
.rbpx-mob-links a{ padding:10px; color:var(--rbp-ink-3); font-weight:600; transition:color var(--d-fast) ease; }
.rbpx-mob-links a:hover{ color:var(--rbp-red); }
.rbpx-mob-phone{ margin-top:18px; display:flex; align-items:center; justify-content:center; gap:9px; height:48px; background:var(--rbp-red); border-radius:10px; color:#fff; font-weight:700; box-shadow:0 2px 6px rgba(225,20,20,.20), 0 10px 22px rgba(225,20,20,.22); transition:background var(--d-fast) ease; }
.rbpx-mob-phone:hover{ background:var(--rbp-red-dk); }

/* ============================================================
   HERO
   ============================================================ */
.rbpx-hero{
  position:relative;
  background:radial-gradient(900px 420px at 50% 0%,rgba(225,20,20,.08),transparent 70%),#FFFFFF;
  border-bottom:1px solid #EEF0F2; overflow:hidden;
}
/* Мотив: миллиметровка каталожной схемы. Каталоги запчастей — это взрыв-схемы
   на разметочной бумаге; сетка даёт первому экрану материал, а не декор.
   Ограничена одной секцией, только градиенты, без blur. */
.rbpx-hero::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    repeating-linear-gradient(0deg, rgba(20,22,26,.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(20,22,26,.05) 0 1px, transparent 1px 40px);
  -webkit-mask-image:radial-gradient(720px 360px at 50% 6%, #000 0%, rgba(0,0,0,.5) 45%, transparent 80%);
  mask-image:radial-gradient(720px 360px at 50% 6%, #000 0%, rgba(0,0,0,.5) 45%, transparent 80%);
}
.rbpx-hero-copy{ position:relative; z-index:1; max-width:1000px; margin:0 auto; padding:48px 24px 0; text-align:center; }
.rbpx-hero-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--rbp-red-w8); border:1px solid var(--rbp-red-w22); color:var(--rbp-red);
  padding:6px 14px; border-radius:var(--r-pill);
  font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; margin-bottom:22px;
}
.rbpx-hero-pill .dot{ width:6px; height:6px; border-radius:50%; background:var(--rbp-red); }
.rbpx-hero-title{
  font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:700;
  /* было три ступени 52/36/29 — теперь непрерывная шкала без скачков */
  font-size:clamp(30px, 6.1vw, 54px);
  line-height:1.04; letter-spacing:.5px; text-transform:uppercase;
  margin:0 0 18px; color:var(--rbp-ink);
  text-wrap:balance;
}
.rbpx-hero-title span{ color:var(--rbp-red); }
.rbpx-hero-lead{ font-size:17px; line-height:1.6; color:var(--rbp-ink-3); max-width:620px; margin:0 auto 28px; text-wrap:pretty; }
.rbpx-hero-lead b{ color:var(--rbp-ink); }
.rbpx-hero-cta{ display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:4px; }
.rbpx-hero-phone{
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  height:62px; padding:0 32px; background:#fff; border:2px solid var(--rbp-red); border-radius:var(--r-lg);
  color:var(--rbp-ink); font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:25px; letter-spacing:.5px;
  box-shadow:0 2px 6px rgba(225,20,20,.12), 0 12px 28px rgba(225,20,20,.18);
  transition:transform var(--d-base) var(--ease), box-shadow var(--d-base) ease, background var(--d-fast) ease;
}
.rbpx-hero-phone:hover{ transform:translateY(-2px); box-shadow:0 4px 10px rgba(225,20,20,.16), 0 18px 40px rgba(225,20,20,.26); }
.rbpx-hero-phone:active{ transform:translateY(0); }
.rbpx-hero-sq{
  width:62px; height:62px; flex-shrink:0; border-radius:var(--r-lg);
  display:inline-flex; align-items:center; justify-content:center;
  transition:transform var(--d-base) var(--ease), box-shadow var(--d-base) ease;
}
.rbpx-hero-sq:hover{ transform:translateY(-2px); }
.rbpx-hero-sq.wa{ background:var(--rbp-wa); box-shadow:0 2px 6px rgba(37,211,102,.20), 0 12px 28px rgba(37,211,102,.30); }
.rbpx-hero-sq.wa:hover{ box-shadow:0 4px 10px rgba(37,211,102,.26), 0 18px 40px rgba(37,211,102,.40); }
.rbpx-hero-sq.tg{ background:var(--rbp-tg); box-shadow:0 2px 6px rgba(42,171,238,.20), 0 12px 28px rgba(42,171,238,.30); }
.rbpx-hero-sq.tg:hover{ box-shadow:0 4px 10px rgba(42,171,238,.26), 0 18px 40px rgba(42,171,238,.40); }
.rbpx-hero-imgwrap{ position:relative; z-index:1; max-width:1280px; margin:0 auto; padding:28px 24px 26px; }
.rbpx-hero-img{ width:100%; height:auto; display:block; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
/* strip under the hero photo — dark colour taken from the logo (#333) */
.rbpx-trust-sec{
  background:var(--rbp-dark);
  border-bottom:1px solid rgba(0,0,0,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.rbpx-trust{ display:grid; grid-template-columns:repeat(4,1fr); }
.rbpx-trust .t-item{ padding:22px 8px; display:flex; align-items:center; gap:14px; border-right:1px solid rgba(255,255,255,.10); }
.rbpx-trust .t-item:last-child{ border-right:none; }
/* иконки получают собственную плашку — на плоском тёмном они читались как обводка */
.rbpx-trust .t-ic{
  width:44px; height:44px; flex-shrink:0; border-radius:11px;
  background:rgba(225,20,20,.16); border:1px solid rgba(225,20,20,.30);
  display:inline-flex; align-items:center; justify-content:center;
}
.rbpx-trust .t-val{ font-family:'Oswald','Oswald Fallback',sans-serif; font-size:20px; font-weight:600; color:#fff; letter-spacing:.4px; }
.rbpx-trust .t-sub{ font-size:12.5px; color:rgba(255,255,255,.66); }

/* ============================================================
   SHARED section head (eyebrow + h2)
   ============================================================ */
.rbpx-eyebrow{ font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--rbp-red); margin-bottom:8px; }
.rbpx-h2{
  font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600;
  font-size:clamp(26px, 3.3vw, 36px);
  letter-spacing:.5px; text-transform:uppercase; color:var(--rbp-ink); margin:0;
  text-wrap:balance;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.rbpx-cats-sec{ background:#FFFFFF; }
.rbpx-cats-head{ padding:72px 24px 22px; }
.rbpx-cats-wrap{ padding:0 24px 8px; }
.rbpx-cats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rbpx-cat{
  display:flex; flex-direction:column; gap:14px; padding:22px;
  background:#fff; border:1px solid var(--rbp-line); border-radius:var(--r-lg);
  box-shadow:var(--el-1);
  transition:border-color var(--d-base) ease, box-shadow var(--d-base) ease, transform var(--d-base) var(--ease);
}
.rbpx-cat:hover{ border-color:var(--rbp-red); box-shadow:var(--el-red); transform:translateY(-3px); }
.rbpx-cat .c-img{ height:112px; display:flex; align-items:center; justify-content:center; }
.rbpx-cat .c-img img{
  max-width:100%; max-height:112px; width:auto; height:auto; object-fit:contain; display:block;
  transition:transform var(--d-slow) var(--ease);
}
.rbpx-cat:hover .c-img img{ transform:scale(1.06); }
.rbpx-cat .c-name{
  position:relative; text-align:center; font-weight:800; font-size:17px;
  color:var(--rbp-ink); line-height:1.3; padding-bottom:9px;
  transition:color var(--d-fast) ease;
}
.rbpx-cat:hover .c-name{ color:var(--rbp-red); }
.rbpx-cat .c-name::after{
  content:''; position:absolute; left:50%; right:50%; bottom:0; height:2px;
  background:var(--rbp-red); border-radius:2px;
  transition:left var(--d-base) var(--ease), right var(--d-base) var(--ease);
}
.rbpx-cat:hover .c-name::after{ left:28%; right:28%; }

/* ============================================================
   BRANDS
   ============================================================ */
.rbpx-brands-sec{ background:#FFFFFF; }
.rbpx-brands-inner{ padding:52px 24px 22px; }
.rbpx-brands-label{ text-align:center; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--rbp-mut); margin-bottom:26px; }
.rbpx-brands{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; }
/* из россыпи текста — стена шильдиков; тот же Oswald, но каждый бренд стоит на плашке */
.rbpx-brands span{
  font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:22px; color:var(--rbp-ink-2); letter-spacing:1px;
  padding:9px 20px; border:1px solid var(--rbp-line); border-radius:10px; background:#fff;
  transition:color var(--d-base) ease, border-color var(--d-base) ease, box-shadow var(--d-base) ease, transform var(--d-base) var(--ease);
}
.rbpx-brands span:hover{ color:var(--rbp-ink); border-color:var(--rbp-line-2); box-shadow:var(--el-1); transform:translateY(-2px); }

/* ============================================================
   PRODUCTS (Хиты продаж)
   ============================================================ */
.rbpx-prod-sec{ background:#FFFFFF; }
.rbpx-prod-inner{ padding:52px 24px 22px; }
.rbpx-prod-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:28px; }
.rbpx-prod-all{ display:inline-flex; align-items:center; gap:7px; color:var(--rbp-ink-2); font-weight:600; font-size:14px; white-space:nowrap; transition:color var(--d-fast) ease; }
.rbpx-prod-all svg{ transition:transform var(--d-base) var(--ease); }
.rbpx-prod-all:hover{ color:var(--rbp-red); }
.rbpx-prod-all:hover svg{ transform:translateX(4px); }
.rbpx-products{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.rbpx-prod-card{
  position:relative;
  background:#fff; border:1px solid var(--rbp-line); border-radius:var(--r-lg); overflow:hidden;
  display:flex; flex-direction:column; box-shadow:var(--el-1);
  transition:border-color var(--d-base) ease, box-shadow var(--d-base) ease, transform var(--d-base) var(--ease);
}
.rbpx-prod-card:hover{ border-color:var(--rbp-red); box-shadow:var(--el-red); transform:translateY(-3px); }
.rbpx-prod-imgwrap{ position:relative; background:var(--rbp-surf-2); display:block; overflow:hidden; }
.rbpx-prod-imgwrap .p-img{ width:100%; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; padding:14px; }
.rbpx-prod-imgwrap .p-img img{
  max-width:100%; max-height:100%; width:auto; object-fit:contain; display:block;
  transition:transform var(--d-slow) var(--ease);
}
.rbpx-prod-card:hover .p-img img{ transform:scale(1.05); }
.rbpx-prod-badge{ position:absolute; top:12px; left:12px; z-index:2; color:#fff; font-size:11px; font-weight:800; padding:4px 9px; border-radius:6px; box-shadow:0 1px 3px rgba(20,22,26,.20); }
.rbpx-prod-badge.red{ background:var(--rbp-red); }
.rbpx-prod-badge.dark{ background:var(--rbp-ink); }
.rbpx-prod-body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.rbpx-prod-meta{ font-size:11.5px; color:var(--rbp-mut); font-weight:600; letter-spacing:.3px; }
.rbpx-prod-name{ font-weight:700; font-size:14.5px; color:var(--rbp-ink); line-height:1.35; flex:1; transition:color var(--d-fast) ease; }
.rbpx-prod-name:hover{ color:var(--rbp-red); }
/* вся карточка — ссылка на товар; кнопка и форма лежат выше этого слоя */
.rbpx-prod-name::after{ content:''; position:absolute; inset:0; }
.rbpx-prod-form, .rbpx-prod-card .rbpx-buy{ position:relative; z-index:1; }
.rbpx-prod-stock{ display:flex; align-items:center; gap:6px; margin:0; color:var(--rbp-ok); font-size:12.5px; font-weight:700; line-height:1.4; }
.rbpx-prod-stock--muted{ color:var(--rbp-mut); }
.rbpx-prod-stock .rbpx-status-dot{ width:7px; height:7px; box-shadow:none; }
.rbpx-prod-price{ display:flex; align-items:baseline; gap:9px; }
.rbpx-prod-price .now{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:23px; color:var(--rbp-ink); letter-spacing:.3px; }
.rbpx-prod-price .old{ font-size:13px; color:var(--rbp-mut); text-decoration:line-through; }
.rbpx-prod-form{ margin:0; }
.rbpx .rbpx-buy,
.rbpx .rbpx-prod-form input[type=submit]{
  -webkit-appearance:none; appearance:none;
  display:block; width:100%; height:44px; background:var(--rbp-buy)!important; border:1px solid var(--rbp-buy-line)!important;
  border-radius:8px; color:#1A1A1A!important; font-family:'Manrope','Manrope Fallback',sans-serif; font-weight:700; font-size:14px;
  cursor:pointer; text-shadow:none; line-height:44px; padding:0; text-align:center;
  box-shadow:0 1px 2px rgba(176,132,0,.28)!important;
  transition:background var(--d-fast) ease, box-shadow var(--d-fast) ease, transform var(--d-fast) var(--ease);
}
.rbpx .rbpx-buy:hover,
.rbpx .rbpx-prod-form input[type=submit]:hover{ background:var(--rbp-buy-dk)!important; box-shadow:0 2px 4px rgba(176,132,0,.30), 0 8px 18px rgba(176,132,0,.24)!important; }
.rbpx .rbpx-buy:active,
.rbpx .rbpx-prod-form input[type=submit]:active{ transform:translateY(1px); box-shadow:0 1px 1px rgba(176,132,0,.30)!important; }
.rbpx .rbpx-buy.is-done,
.rbpx .rbpx-prod-form input[type=submit].is-done{ background:var(--rbp-ok)!important; border-color:var(--rbp-ok)!important; color:#fff!important; }
.rbpx .rbpx-buy[disabled],
.rbpx .rbpx-prod-form input[type=submit][disabled]{ cursor:default; opacity:.9; }
/* «Подробнее» у карточки без покупки: тихая обводка вместо жёлтой плашки */
.rbpx .rbpx-buy.rbpx-buy--details{ background:#fff!important; border-color:var(--rbp-line-2)!important; color:var(--rbp-ink-2)!important; box-shadow:none!important; }
.rbpx .rbpx-buy.rbpx-buy--details:hover{ border-color:var(--rbp-red)!important; color:var(--rbp-red)!important; background:var(--rbp-red-w8)!important; }
.rbpx-prod-form .added2cart, .rbpx-prod-form .adding2cart{ display:none; }
/* Server-confirmed cart status. It stays rendered so it can announce, and takes no room while empty. */
.rbpx-prod-status{ margin:8px 0 0; color:var(--rbp-ok); font-size:12.5px; font-weight:700; line-height:1.35; }
.rbpx-prod-status:empty{ margin:0; }

/* ============================================================
   ONLINE CONSULTANT
   ============================================================ */
.rbpx-consult-sec{ background:#FFFFFF; }
.rbpx-consult-inner{ padding:52px 24px; }
.rbpx-consult{ display:flex; align-items:center; gap:40px; background:var(--rbp-surf-2); border:1px solid var(--rbp-line); border-radius:var(--r-xl); padding:38px 40px; overflow:hidden; position:relative; }
.rbpx-consult-left{ flex:1; min-width:0; position:relative; }
.rbpx-consult-badge{ display:inline-flex; align-items:center; gap:8px; background:rgba(37,211,102,.12); border:1px solid rgba(37,211,102,.4); color:var(--rbp-ok); padding:6px 12px; border-radius:var(--r-pill); font-size:12px; font-weight:700; margin-bottom:18px; }
.rbpx-consult-badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--rbp-wa); }
.rbpx-consult h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:clamp(24px,2.6vw,31px); text-transform:uppercase; color:var(--rbp-ink); margin:0 0 14px; line-height:1.1; text-wrap:balance; }
.rbpx-consult-text{ font-size:15.5px; line-height:1.6; color:var(--rbp-ink-3); max-width:560px; margin:0 0 22px; }
.rbpx-consult-text b{ color:var(--rbp-ink); }
.rbpx-consult-btns{ display:flex; flex-wrap:wrap; gap:10px; }
.rbpx-consult-btns .cbtn-chat{ display:inline-flex; align-items:center; gap:9px; height:48px; padding:0 22px; background:var(--rbp-red); border-radius:11px; color:#fff; font-weight:700; font-size:14.5px; }
.rbpx-consult-btns .cbtn-ghost{ display:inline-flex; align-items:center; gap:9px; height:48px; padding:0 20px; background:#fff; border:1px solid var(--rbp-line-2); border-radius:11px; color:var(--rbp-ink); font-weight:700; font-size:14.5px; }
.rbpx-consult-chat{ width:300px; flex-shrink:0; position:relative; }
.rbpx-consult-chat .chat-card{ background:#fff; border:1px solid var(--rbp-line); border-radius:16px; padding:16px; display:flex; flex-direction:column; gap:12px; box-shadow:var(--el-2); }
.rbpx-consult-chat .b-in{ align-self:flex-start; max-width:80%; background:#F0F1F4; border-radius:12px 12px 12px 4px; padding:10px 13px; font-size:13px; color:var(--rbp-ink-2); }
.rbpx-consult-chat .b-out{ align-self:flex-end; max-width:80%; background:var(--rbp-red); border-radius:12px 12px 4px 12px; padding:10px 13px; font-size:13px; color:#fff; }
.rbpx-consult-chat .b-typing{ align-self:flex-start; display:flex; align-items:center; gap:7px; color:var(--rbp-mut); font-size:12px; }
.rbpx-consult-chat .b-typing .dots{ display:inline-flex; align-items:center; gap:4px; }
.rbpx-consult-chat .b-typing .dots i{ width:6px; height:6px; border-radius:50%; background:var(--rbp-wa); display:block; }

/* Реплики появляются по порядку при первом попадании в вид и БОЛЬШЕ НЕ
   прячутся (is-in ставится один раз). Блок декоративный и aria-hidden,
   класс rbpx-anim ставит JS — без JS ничего не спрятано. */
.rbpx-consult-chat.rbpx-anim .b-in,
.rbpx-consult-chat.rbpx-anim .b-out,
.rbpx-consult-chat.rbpx-anim .b-typing{ opacity:0; transform:translateY(8px); }
.rbpx-consult-chat.rbpx-anim.is-in .b-in,
.rbpx-consult-chat.rbpx-anim.is-in .b-out,
.rbpx-consult-chat.rbpx-anim.is-in .b-typing{
  opacity:1; transform:none;
  transition:opacity 420ms var(--ease), transform 420ms var(--ease);
}
.rbpx-consult-chat.rbpx-anim.is-in .b-in{ transition-delay:80ms; }
.rbpx-consult-chat.rbpx-anim.is-in .b-out{ transition-delay:620ms; }
.rbpx-consult-chat.rbpx-anim.is-in .b-typing{ transition-delay:1180ms; }
@keyframes rbpx-typing{
  0%,60%,100%{ transform:translateY(0); opacity:.45; }
  30%{ transform:translateY(-4px); opacity:1; }
}
/* цикл точек живёт только пока блок на экране (is-live переключается) */
.rbpx-consult-chat.is-live .b-typing .dots i{ animation:rbpx-typing 1.25s ease-in-out infinite; }
.rbpx-consult-chat.is-live .b-typing .dots i:nth-child(2){ animation-delay:.16s; }
.rbpx-consult-chat.is-live .b-typing .dots i:nth-child(3){ animation-delay:.32s; }

/* ============================================================
   ABOUT / SEO
   ============================================================ */
.rbpx-about-sec{ background:var(--rbp-surf-2); border-top:1px solid var(--rbp-line); border-bottom:1px solid var(--rbp-line); }
.rbpx-about-inner-wrap{ padding:64px 24px; }
.rbpx-about{ display:grid; grid-template-columns:1.4fr 1fr; gap:48px; align-items:start; }
.rbpx-about h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:clamp(24px,2.6vw,31px); text-transform:uppercase; color:var(--rbp-ink); margin:0 0 18px; line-height:1.12; text-wrap:balance; }
/* мера строки 65–75 знаков: на широком экране абзац иначе растягивается */
.rbpx-about p{ font-size:15px; line-height:1.7; color:#4A4F57; margin:0 0 16px; max-width:70ch; }
.rbpx-about p b{ color:var(--rbp-ink); }
.rbpx-about p a{ color:var(--rbp-ink); font-weight:600; text-decoration:underline; text-decoration-color:rgba(225,20,20,.45); text-underline-offset:2px; transition:color var(--d-fast) ease,text-decoration-color var(--d-fast) ease; }
.rbpx-about p a:hover{ color:var(--rbp-red); text-decoration-color:var(--rbp-red); }
.rbpx-about-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.rbpx-about-chips a{ padding:8px 15px; background:#fff; border:1px solid var(--rbp-line); border-radius:8px; font-size:13px; font-weight:600; color:var(--rbp-ink-2); transition:border-color var(--d-fast) ease, color var(--d-fast) ease, box-shadow var(--d-base) ease, transform var(--d-base) var(--ease); }
.rbpx-about-chips a:hover{ border-color:var(--rbp-ink); color:var(--rbp-ink); box-shadow:var(--el-1); transform:translateY(-1px); }
.rbpx-about-cards{ display:flex; flex-direction:column; gap:14px; }
.rbpx-about-card{ background:#fff; border:1px solid var(--rbp-line); border-radius:var(--r-lg); padding:22px; box-shadow:var(--el-1); transition:box-shadow var(--d-base) ease, transform var(--d-base) var(--ease); }
.rbpx-about-card:hover{ box-shadow:var(--el-2); transform:translateY(-2px); }
.rbpx-about-card .ac-head{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.rbpx-about-card .ac-ico{ width:42px; height:42px; border-radius:10px; background:rgba(225,20,20,.09); border:1px solid rgba(225,20,20,.18); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.rbpx-about-card .ac-title{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:18px; color:var(--rbp-ink); text-transform:uppercase; letter-spacing:.4px; }
.rbpx-about-card p{ font-size:14px; line-height:1.6; color:var(--rbp-ink-3); margin:0; }

/* ============================================================
   CONTACT / PHONE plate
   ============================================================ */
.rbpx-contact-sec{ background:#FFFFFF; }
.rbpx-contact-inner-wrap{ padding:52px 24px; }
.rbpx-contact{
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  background:linear-gradient(120deg,var(--rbp-red),var(--rbp-red-dp));
  border-radius:var(--r-xl); padding:40px;
  box-shadow:0 3px 8px rgba(158,14,14,.18), 0 22px 50px rgba(158,14,14,.22);
  position:relative; overflow:hidden;
}
/* лёгкий верхний свет — плашка перестаёт быть плоским прямоугольником */
.rbpx-contact::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(520px 220px at 12% -10%, rgba(255,255,255,.18), transparent 70%);
}
.rbpx-contact > *{ position:relative; z-index:1; }
.rbpx-contact-eyebrow{ font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.78); margin-bottom:10px; }
.rbpx-contact h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:600; font-size:clamp(24px,2.6vw,31px); text-transform:uppercase; color:#fff; margin:0 0 6px; text-wrap:balance; }
.rbpx-contact .cn-sub{ font-size:15px; color:rgba(255,255,255,.88); margin:0; }
.rbpx-contact-right{ display:flex; flex-direction:column; gap:14px; align-items:flex-start; flex-shrink:0; }
.rbpx-contact-phone{ font-family:'Oswald','Oswald Fallback',sans-serif; font-weight:700; font-size:34px; color:#fff; letter-spacing:.5px; white-space:nowrap; transition:transform var(--d-base) var(--ease); }
.rbpx-contact-phone:hover{ transform:scale(1.03); }
.rbpx-manager-channels{ display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.rbpx-manager-phone{ display:inline-flex; align-items:center; gap:14px; color:var(--rbp-ink); text-decoration:none; }
.rbpx-manager-phone__icon{ display:grid; place-items:center; width:60px; height:60px; flex-shrink:0; border-radius:16px; background:#303030; color:var(--rbp-red); }
.rbpx-manager-phone__label{ display:block; color:#697079; font-size:12px; font-weight:700; line-height:1.4; letter-spacing:1.5px; text-transform:uppercase; }
.rbpx-manager-phone strong{ display:block; font-size:clamp(22px,2.3vw,30px); line-height:1.25; font-weight:800; white-space:nowrap; }
.rbpx-manager-messenger{ display:grid; place-items:center; flex-shrink:0; width:54px; height:54px; border-radius:50%; color:#fff; transition:transform .15s ease; }
.rbpx-manager-messenger--wa{ background:var(--rbp-wa); }
.rbpx-manager-messenger--wa svg{ fill-rule:evenodd; }
.rbpx-manager-messenger--tg{ background:var(--rbp-tg); }
.rbpx-manager-messenger:hover{ transform:translateY(-2px); }
.rbpx-manager-channels a:focus-visible{ outline:3px solid var(--rbp-ink); outline-offset:4px; }
.rbpx-manager-email{ display:inline-block; margin-top:18px; color:var(--rbp-ink); text-decoration:underline; text-underline-offset:3px; }
.rbpx-contact .rbpx-manager-phone{ color:#fff; }
.rbpx-contact .rbpx-manager-phone strong{ color:#fff; }
.rbpx-contact .rbpx-manager-phone__label{ color:#fff; }
.rbpx-contact .rbpx-manager-channels a:focus-visible{ outline-color:#fff; }
@media(max-width:480px){
  .rbpx-manager-channels{ gap:12px; }
  .rbpx-manager-phone{ gap:10px; }
  .rbpx-manager-phone strong{ font-size:clamp(18px,5.6vw,24px); }
  .rbpx-manager-phone__icon{ width:48px; height:48px; border-radius:13px; }
  .rbpx-manager-messenger{ width:48px; height:48px; }
}
.rbpx-contact-btns{ display:flex; gap:10px; }
.rbpx-contact-btns a{ display:inline-flex; align-items:center; gap:9px; height:46px; padding:0 20px; background:#fff; border-radius:11px; color:#111; font-weight:700; font-size:14px; box-shadow:0 2px 6px rgba(80,0,0,.18); transition:transform var(--d-base) var(--ease), box-shadow var(--d-base) ease; }
.rbpx-contact-btns a:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(80,0,0,.24); }
.rbpx-contact-btns .ic{ width:20px; height:20px; border-radius:5px; display:inline-flex; align-items:center; justify-content:center; }
.rbpx-contact-btns .ic.wa{ background:var(--rbp-wa); }
.rbpx-contact-btns .ic.tg{ background:var(--rbp-tg); }

/* ============================================================
   FOOTER
   ============================================================ */
.rbpx-footer{ background:var(--rbp-black); border-top:1px solid var(--rbp-line); box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
.rbpx-footer-inner{ padding:56px 24px 28px; }
.rbpx-footer-cols{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:36px; }
.rbpx-footer-logo{ display:inline-flex; align-items:center; margin-bottom:16px; }
.rbpx-footer-logo img{ height:54px; width:auto; display:block; }
.rbpx-footer-about{ font-size:14px; line-height:1.65; color:var(--rbp-dk-mut); max-width:340px; margin:0 0 18px; }
.rbpx-footer-soc{ display:flex; gap:10px; }
.rbpx-footer-soc a{ width:38px; height:38px; border-radius:var(--r-md); background:#15171C; border:1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#C7CAD0; font-weight:700; font-size:13px; transition:background var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-base) var(--ease); }
.rbpx-footer-soc a:hover{ background:#1c1f26; color:#fff; transform:translateY(-2px); }
.rbpx-footer-colhead{ font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--rbp-dk-mut); margin-bottom:16px; }
.rbpx-footer-links{ display:flex; flex-direction:column; gap:11px; font-size:14px; color:#B4B7BE; }
.rbpx-footer-links a{ color:#B4B7BE; transition:color var(--d-fast) ease; }
.rbpx-footer-links a:hover{ color:#fff; }
.rbpx-footer-links .fl-phone{ color:#fff; font-weight:700; }
.rbpx-footer-links .fl-muted{ color:var(--rbp-dk-mut); }
.rbpx-footer-bottom{ border-top:1px solid rgba(255,255,255,.07); margin-top:36px; padding-top:22px; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:12.5px; color:var(--rbp-dk-mut); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Между 769 и 1200px один ряд шапки не вмещал лого + КАТАЛОГ + поиск +
   навигацию + корзину: измеренный вылет до 87px (nav кончался на 1116 при
   контейнере до 1076). Поиск уходит на собственную строку — для поиска по
   парт-номеру широкое поле даже лучше, чем узкое. */
@media (max-width:1200px){
  .rbpx-header-inner{ flex-wrap:wrap; height:auto; min-height:74px; padding-bottom:10px; }
  .rbpx-header-search{ order:10; flex:1 1 100%; max-width:none; height:40px; margin-top:2px; }
  .rbpx-nav{ gap:18px; }
}
@media (max-width:1024px){
  .rbpx-products{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rbpx-about{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  .rbpx-nav{ display:flex; gap:0; margin-left:auto; }
  .rbpx-nav > a:not(.rbpx-cart){ display:none; }
  .rbpx-nav .rbpx-cart{ width:44px; height:44px; justify-content:center; padding:0; border:1px solid var(--rbp-line); border-radius:var(--r-md); background:var(--rbp-surf); }
  .rbpx-nav .rbpx-cart::after{ display:none; }
  .rbpx-nav .rbpx-cart .cart-label{ display:none; }
  .rbpx-burger{ display:inline-flex; margin-left:0; }
  .rbpx-topbar-left{ display:none; }
  /* RBP 2026-07-22 (аудит): поиск НЕ прячем — переносим полной строкой под лого
     (главный сценарий ниши «поиск по парт-номеру» был спрятан в бургер) */
  .rbpx-header-inner{ flex-wrap:wrap; column-gap:10px; }
  /* RBP 2026-07-25: height:74px оставался жёстким, поэтому перенесённая строка
     поиска вылезала из коробки шапки и накрывала пилюлю брендов в hero.
     Высота теперь считается по содержимому, 74px — только минимум. */
  .rbpx-header-inner{ height:auto; min-height:64px; padding-top:8px; padding-bottom:9px; row-gap:0; }
  .rbpx-header-search{ order:10; flex:1 1 100%; max-width:none; height:40px; margin-top:8px; }
  .rbpx-catalog-btn{ display:none; }
  .rbpx-cats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rbpx-products{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rbpx-footer-cols{ grid-template-columns:1fr 1fr; }
  .rbpx-consult{ flex-direction:column; padding:30px 24px; }
  .rbpx-consult-chat{ width:100%; }
  .rbpx-contact{ flex-direction:column; text-align:center; align-items:center; }
  .rbpx-contact-right{ align-items:center; }
  .rbpx-sec{ padding-left:16px; padding-right:16px; }
  .rbpx-hero-copy{ padding-left:16px; padding-right:16px; padding-top:36px; }
  .rbpx-hero-imgwrap{ padding-left:16px; padding-right:16px; }
  .rbpx-cats-head{ padding:48px 16px 18px; }
  .rbpx-cats-wrap,.rbpx-brands-inner,.rbpx-prod-inner,.rbpx-consult-inner,.rbpx-about-inner-wrap,.rbpx-contact-inner-wrap,.rbpx-footer-inner{ padding-left:16px; padding-right:16px; }
  .rbpx-brands-inner,.rbpx-prod-inner,.rbpx-consult-inner,.rbpx-contact-inner-wrap{ padding-top:40px; }
  .rbpx-about-inner-wrap{ padding-top:44px; padding-bottom:44px; }
  .rbpx-hero-cta{ flex-wrap:wrap; }
  .rbpx-catalog-grid{ grid-template-columns:1fr 1fr; }
  /* миллиметровка мельче, иначе на узком экране клетка выглядит крупной */
  .rbpx-hero::before{
    background-image:
      repeating-linear-gradient(0deg, rgba(20,22,26,.05) 0 1px, transparent 1px 28px),
      repeating-linear-gradient(90deg, rgba(20,22,26,.05) 0 1px, transparent 1px 28px);
  }
  .rbpx-brands span{ font-size:18px; padding:7px 15px; }
  .rbpx-trust .t-ic{ width:38px; height:38px; border-radius:10px; }
}
@media (max-width:480px){
  .rbpx-footer-cols{ grid-template-columns:1fr; }
  .rbpx-trust{ grid-template-columns:1fr 1fr; }
  .rbpx-trust .t-item:nth-child(2){ border-right:none; }
  .rbpx-trust .t-item{ padding:18px 6px; gap:11px; }
  .rbpx-catalog-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   MOBILE FIX 2026-07-12 — устранение горизонтального вылета на узких
   экранах (Яндекс.Вебмастер: «не оптимизирована главная»). Блок в конце
   файла — переопределяет ранние правила по порядку источника.
   ============================================================ */
@media (max-width:768px){
  /* ни одна из трёх .rbpx-обёрток (шапка/контент/подвал) не даёт горизонтальную
     прокрутку; clip не режет вертикаль (дровер/липкая шапка остаются рабочими) */
  .rbpx{ overflow-x:clip; }
  /* topbar: правый блок переносится, а не вылезает за экран (был flex без wrap) */
  .rbpx-topbar-inner{ height:auto; min-height:40px; padding-top:6px; padding-bottom:6px; }
  .rbpx-topbar-right{ flex-wrap:wrap; column-gap:14px; row-gap:4px; }
  .rbpx-topbar-right .tb-sep{ display:none; }
  /* логотип не распирает шапку на узких экранах */
  .rbpx-logo img{ height:46px; }
  /* тап-зоны соц-иконок топбара крупнее (моб. usability) */
  .rbpx-topbar-right .tb-soc{ width:30px; height:30px; }
}
@media (max-width:480px){
  /* телефон в красной плашке (nowrap, крупный Oswald) не вылезает за экран */
  .rbpx-contact{ padding:32px 20px; }
  .rbpx-contact-phone{ font-size:26px; }
}

/* ============================================================
   CLS FIX 2026-07-22 (аудит: CLS главной mobile 0.156) — топбар в одну
   строку с фиксированной высотой: «Регистрация»/«Выйти» скрыты на мобильном
   (второй строки больше нет), высота зарезервирована. Wrap из фикса
   2026-07-12 оставлен как страховка от вылета.
   ============================================================ */
@media (max-width:768px){
  .rbpx-topbar-inner{ min-height:40px; }
  .rbpx-topbar-right .tb-register{ display:none; }
  .rbpx-topbar-right .tb-logout{ display:none; }
  /* серая полоса 52px над топбаром: default.css:623 резервирует место под
     фикс-меню старой темы, которого на главной нет */
  body.rbp-home{ padding-top:0; }
}

/* ============================================================
   MOTION V2 2026-07-25
   Сетка категорий СОЗНАТЕЛЬНО не анимируется: это 9 главных входов в
   каталог, и прятать их до скролла ради дежурного fade-and-rise —
   плохая сделка. Фокусный момент один — раскрытие каталога в шапке.
   ============================================================ */

/* бейдж корзины один раз пульсирует — видно, куда ушёл товар */
@keyframes rbpx-pop{
  0%{ transform:scale(1); }
  42%{ transform:scale(1.34); }
  100%{ transform:scale(1); }
}
.rbpx-cart .cart-badge.is-pop{ animation:rbpx-pop 280ms var(--ease); }

@media (prefers-reduced-motion: reduce){
  .rbpx *,
  .rbpx *::before,
  .rbpx *::after{
    animation-duration:1ms!important;
    animation-iteration-count:1!important;
    transition-duration:1ms!important;
    transition-delay:0ms!important;
  }
  .rbpx-consult-chat.rbpx-anim .b-in,
  .rbpx-consult-chat.rbpx-anim .b-out,
  .rbpx-consult-chat.rbpx-anim .b-typing{ opacity:1!important; transform:none!important; }
  .rbpx-consult-chat .b-typing .dots i{ animation:none!important; opacity:1!important; }
}

/* ASP.NET Storefront integration and W31 accessibility deltas. */
body.rbp-home{
  color:#14161A;
  background:#fff;
}
body.rbp-home > main{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
body.rbp-home.rbpx-drawer-open{ overflow:hidden; }
body.rbp-home .skip-link{ z-index:200; }

.rbpx strong{ color:var(--rbp-ink); }
.rbpx svg{ flex-shrink:0; }
.rbpx-empty{
  margin:0;
  padding:22px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  color:var(--rbp-mut);
  background:var(--rbp-surf-2);
}

.rbpx-topbar-right .tb-phone,
.rbpx-topbar-right .tb-user,
.rbpx-topbar-right .tb-register,
.rbpx-nav a,
.rbpx-catalog-grid a,
.rbpx-mob-list a,
.rbpx-mob-links a,
.rbpx-footer-links a,
.rbpx-about-chips a,
.rbpx-prod-all{
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.rbpx-topbar-inner{ min-height:48px; height:auto; }
.rbpx-topbar-right{ gap:8px; }
.rbpx-topbar-right .tb-soc{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.rbpx-topbar-right .tb-soc-visual{
  width:26px;
  height:26px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  transition:transform var(--d-fast) var(--ease),box-shadow var(--d-fast) ease;
}
.rbpx-topbar-right .tb-soc:hover{ transform:none; }
.rbpx-topbar-right .tb-soc:hover .tb-soc-visual{ transform:translateY(-1px); }
.rbpx-topbar-right .tb-soc:hover .tb-wa{ box-shadow:0 2px 8px rgba(37,211,102,.45); }
.rbpx-topbar-right .tb-soc:hover .tb-tg{ box-shadow:0 2px 8px rgba(42,171,238,.45); }
.rbpx-topbar-right .tb-wa{ background:var(--rbp-wa); }
.rbpx-topbar-right .tb-tg{ background:var(--rbp-tg); }

.rbpx-header-search{ height:48px; }
.rbpx-header-search .hs-btn{ min-width:66px; height:44px; }
.rbpx-nav a{ justify-content:center; }
.rbpx-catalog-grid a{ display:flex; }
.rbpx-mob-close{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; }
.rbpx-mob-search{ min-height:48px; height:auto; }
.rbpx-mob-search input{ min-height:44px; }

.rbpx-noscript-nav{
  border-bottom:1px solid var(--rbp-line);
  background:#fff;
}
.rbpx-noscript-nav .rbpx-sec{
  display:flex;
  flex-wrap:wrap;
  gap:4px 14px;
  padding-top:10px;
  padding-bottom:10px;
}
.rbpx-noscript-nav a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  color:var(--rbp-ink-2);
  font-size:14px;
  font-weight:700;
}

.rbpx-product-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:var(--rbp-mut);
  background:linear-gradient(135deg,#f7f8fa,#eef1f4);
  font-size:14px;
  font-weight:700;
}
.rbpx-prod-name{
  min-height:44px;
  display:flex;
  align-items:flex-start;
}
.rbpx .rbpx-buy{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1.2;
  text-decoration:none;
  touch-action:manipulation;
}
.rbpx .rbpx-buy:hover{ color:#1A1A1A!important; }
.rbpx-contact-phone{ min-height:44px; display:inline-flex; align-items:center; }
.rbpx-contact-btns a{ min-height:46px; }
.rbpx-footer-soc a{ width:44px; height:44px; }
.rbpx-footer-links a{ align-self:flex-start; }

@media (max-width:768px){
  .rbpx-topbar-right .tb-soc-visual{ width:30px; height:30px; }
  .rbpx-topbar-right{ width:100%; }
  .rbpx-topbar-right .tb-login{ margin-left:auto; }
  .rbpx-topbar-right .tb-register,
  .rbpx-topbar-right .tb-logout{ display:none; }
  .rbpx-header-search{ height:48px; }
  .rbpx-contact-btns{ flex-wrap:wrap; justify-content:center; }
}
@media (max-width:360px){
  .rbpx-topbar-right{ column-gap:4px; }
  .rbpx-topbar-right .tb-user{ display:none; }
  .rbpx-topbar-right .tb-user.tb-login{ display:inline-flex; }
  .rbpx-hero-phone{ width:100%; padding-inline:14px; font-size:22px; }
  .rbpx-contact-phone{ font-size:24px; }
}

/* ============================================================
   W32 internal browse pages. The accepted W31 chrome remains the
   visual source of truth; content uses the same tokens and card language.
   ============================================================ */
body.rbp-internal{
  color:#14161A;
  background:#fff;
  font-family:'Manrope','Manrope Fallback',system-ui,-apple-system,sans-serif;
}
body.rbpx-drawer-open{ overflow:hidden; }
body.rbp-internal .skip-link{ z-index:200; }

.rbpx-internal-main{
  width:min(1280px,calc(100% - 48px));
  min-height:52vh;
  margin:0 auto;
  padding:30px 0 72px;
  overflow-x:clip;
}
.rbpx-page{ min-width:0; }

.rbpx-breadcrumbs{ margin:0 0 26px; color:var(--rbp-mut); font-size:13px; }
.rbpx-breadcrumbs ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 8px;
  margin:0;
  padding:0;
  list-style:none;
}
.rbpx-breadcrumbs li{ display:inline-flex; min-width:0; align-items:center; overflow-wrap:anywhere; }
.rbpx-breadcrumbs li:not(:last-child)::after{ content:'›'; margin-left:8px; color:#9A9FA7; }
.rbpx-breadcrumbs a{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  color:var(--rbp-ink-3);
  font-weight:600;
  transition:color var(--d-fast) ease;
}
.rbpx-breadcrumbs a:hover{ color:var(--rbp-red); }
.rbpx-breadcrumbs [aria-current='page']{ color:var(--rbp-ink); font-weight:700; }

.rbpx-page-heading{ max-width:900px; margin-bottom:42px; }
.rbpx-page-heading--compact{ margin-bottom:24px; }
.rbpx-page-heading h1,
.rbpx-product-summary h1,
.rbpx-not-found h1{
  max-width:1000px;
  margin:7px 0 16px;
  color:var(--rbp-ink);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:clamp(32px,4vw,50px);
  font-weight:600;
  line-height:1.08;
  letter-spacing:.1px;
  text-wrap:balance;
}
.rbpx-page-lead{
  max-width:78ch;
  margin:0;
  color:var(--rbp-ink-3);
  font-size:16px;
  line-height:1.7;
  white-space:pre-line;
}

.rbpx-browse-section{ margin-top:52px; }
.rbpx-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}
.rbpx-section-heading h2{
  margin:6px 0 0;
  color:var(--rbp-ink);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:clamp(22px,2.4vw,28px);
  font-weight:600;
  line-height:1.12;
  text-transform:uppercase;
}
.rbpx-section-heading--inline{ justify-content:flex-start; align-items:baseline; gap:12px; }
.rbpx-heading-note{ margin:0; color:var(--rbp-mut); font-size:14px; font-weight:700; }
.rbpx-results-count{ margin:0; color:var(--rbp-mut); font-size:14px; font-weight:600; }


.rbpx-products--browse{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.rbpx-price-missing{ color:var(--rbp-ink-3); font-size:15px; font-weight:700; }

.rbpx-state{
  max-width:760px;
  padding:26px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:var(--rbp-surf-2);
}
.rbpx-state--error{ border-color:rgba(225,20,20,.35); background:#FFF7F7; }
.rbpx-state h2,.rbpx-state h3{ margin:0 0 8px; color:var(--rbp-ink); font-size:20px; }
.rbpx-state p{ margin:0; color:var(--rbp-ink-3); line-height:1.65; }
.rbpx-action-link{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  padding:10px 17px;
  border:1px solid var(--rbp-ink);
  border-radius:var(--r-md);
  color:#fff;
  background:var(--rbp-ink);
  font-size:14px;
  font-weight:700;
  transition:background var(--d-fast) ease,border-color var(--d-fast) ease,transform var(--d-fast) var(--ease);
}
.rbpx-action-link:hover{ border-color:var(--rbp-red); color:#fff; background:var(--rbp-red); transform:translateY(-1px); }

.rbpx-pagination{ margin-top:34px; }
.rbpx-pagination ul{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0; list-style:none; }
.rbpx-pagination a,.rbpx-pagination [aria-current='page']{
  display:inline-flex;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink-2);
  background:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  transition:border-color var(--d-fast) ease,color var(--d-fast) ease,background var(--d-fast) ease;
}
.rbpx-pagination a:hover{ border-color:var(--rbp-red); color:var(--rbp-red); }
.rbpx-pagination [aria-current='page']{ border-color:var(--rbp-ink); color:#fff; background:var(--rbp-ink); }
.rbpx-pagination .rbpx-pagination__direction{ padding-inline:16px; }

/* Страница товара «Прилавок» (решение владельца 2026-09-02): фото, паспорт детали, закреплённая
   панель покупки справа; применяемость по семействам и схема узла рядом. Галерея без JavaScript:
   радиокнопки перед сценой переключают кадр, миниатюры — их label. */
.rbpx-product-layout{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,6fr) 336px;
  grid-template-rows:auto 1fr;
  grid-template-areas:'gallery summary buy' 'gallery details buy';
  align-items:start;
  gap:0 36px;
}
.rbpx-product-gallery{ grid-area:gallery; position:relative; min-width:0; }
.rbpx-product-gallery__stage{
  position:relative;
  aspect-ratio:1;
  overflow:hidden;
  margin:0;
  padding:0;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-1);
  list-style:none;
}
.rbpx-product-gallery__stage--empty{ display:grid; place-items:center; }
.rbpx-product-gallery__frame{ position:absolute; inset:0; display:grid; place-items:center; opacity:0; transition:opacity var(--d-base) ease; }
.rbpx-product-gallery__frame.is-primary{ opacity:1; }
.rbpx-product-gallery__frame img{ width:100%; height:100%; padding:22px; object-fit:contain; }
.rbpx-product-gallery > input:nth-of-type(n+2):checked ~ .rbpx-product-gallery__stage .is-primary{ opacity:0; }
#product-photo-2:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(2),
#product-photo-3:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(3),
#product-photo-4:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(4),
#product-photo-5:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(5),
#product-photo-6:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(6),
#product-photo-7:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(7),
#product-photo-8:checked ~ .rbpx-product-gallery__stage .rbpx-product-gallery__frame:nth-child(8){ opacity:1; }
.rbpx-product-gallery__thumbs{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.rbpx-product-gallery__thumbs label{
  display:grid;
  width:76px;
  height:76px;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-md);
  background:#fff;
  cursor:pointer;
  transition:border-color var(--d-fast) ease, box-shadow var(--d-fast) ease;
}
.rbpx-product-gallery__thumbs img{ width:100%; height:100%; padding:6px; object-fit:contain; }
.rbpx-product-gallery__thumbs label:hover{ border-color:var(--rbp-ink-3); }
#product-photo-1:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-1"],
#product-photo-2:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-2"],
#product-photo-3:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-3"],
#product-photo-4:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-4"],
#product-photo-5:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-5"],
#product-photo-6:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-6"],
#product-photo-7:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-7"],
#product-photo-8:checked ~ .rbpx-product-gallery__thumbs label[for="product-photo-8"]{ border-color:var(--rbp-red); box-shadow:0 0 0 2px var(--rbp-red-w14); }
#product-photo-1:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-1"],
#product-photo-2:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-2"],
#product-photo-3:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-3"],
#product-photo-4:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-4"],
#product-photo-5:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-5"],
#product-photo-6:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-6"],
#product-photo-7:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-7"],
#product-photo-8:focus-visible ~ .rbpx-product-gallery__thumbs label[for="product-photo-8"]{ outline:2px solid var(--rbp-red); outline-offset:3px; }

.rbpx-product-summary{ grid-area:summary; min-width:0; padding-top:4px; }
.rbpx-product-summary h1{ margin:0; font-size:clamp(24px,2.2vw,30px); line-height:1.14; }
.rbpx-product-title-numbers{
  display:block;
  margin-top:6px;
  color:var(--rbp-mut);
  font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;
  font-size:15px;
  font-weight:600;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
}
.rbpx-product-summary .rbpx-cart-notice{ margin:16px 0 0; }
.rbpx-product-numbers{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:16px 0 0; padding:0; list-style:none; }
.rbpx-product-numbers li{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  gap:7px;
  padding:4px 11px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-sm);
  color:var(--rbp-ink-2);
  background:#fff;
  font-size:14px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
.rbpx-product-numbers li.is-oem{ border-color:var(--rbp-ink); color:var(--rbp-ink); }
.rbpx-product-numbers li.is-label{ min-height:0; padding:0 2px 0 4px; border:0; color:var(--rbp-mut); font-size:12.5px; font-weight:600; }
.rbpx-product-numbers li.rbpx-product-numbers__summary{ display:contents; }
.rbpx-product-numbers__summary span{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  padding:4px 11px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-sm);
  color:var(--rbp-ink-2);
  background:#fff;
}
.rbpx-product-numbers b{ color:var(--rbp-mut); font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.rbpx-product-summary .rbpx-page-lead{ margin-top:16px; font-size:15px; }
.rbpx-product-details{ grid-area:details; min-width:0; }
.rbpx-product-facts{ display:grid; grid-template-columns:max-content minmax(0,1fr); gap:9px 20px; margin:22px 0 0; font-size:14.5px; line-height:1.45; }
.rbpx-product-facts dt{ color:var(--rbp-mut); font-weight:600; }
.rbpx-product-facts dd{ margin:0; color:var(--rbp-ink); font-weight:600; overflow-wrap:anywhere; }
.rbpx-product-facts a{ color:var(--rbp-ink); text-decoration:underline; text-decoration-color:var(--rbp-line-2); text-underline-offset:.22em; transition:color var(--d-fast) ease; }
.rbpx-product-facts a:hover{ color:var(--rbp-red); text-decoration-color:currentColor; }

.rbpx-product-buy{
  grid-area:buy;
  position:sticky;
  top:92px;
  padding:22px 22px 20px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-2);
}
.rbpx-product-price-block{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; }
.rbpx-product-compare-price{ color:var(--rbp-mut); font-size:15px; font-weight:600; }
.rbpx-product-price{
  color:var(--rbp-ink);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:38px;
  font-weight:600;
  line-height:1;
  letter-spacing:.2px;
  font-variant-numeric:tabular-nums;
}
.rbpx-product-availability{ display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:12px 0 0; color:var(--rbp-ok); font-size:14px; font-weight:700; line-height:1.4; }
.rbpx-product-availability--muted{ color:var(--rbp-ink-3); }
.rbpx-product-availability small{ color:var(--rbp-mut); font-size:13px; font-weight:600; }
.rbpx-status-dot{ width:9px; height:9px; flex:0 0 auto; border-radius:50%; background:var(--rbp-ok); box-shadow:0 0 0 3px rgba(15,116,52,.14); }
.rbpx-status-dot--muted{ background:var(--rbp-mut); box-shadow:0 0 0 3px rgba(107,114,128,.16); }
.rbpx-product-terms{
  display:grid;
  gap:10px;
  margin:18px 0 0;
  padding:16px 0 0;
  border-top:1px solid var(--rbp-line);
  color:var(--rbp-ink-3);
  font-size:13px;
  line-height:1.5;
  list-style:none;
}
.rbpx-product-terms li{ display:grid; grid-template-columns:18px minmax(0,1fr); gap:10px; align-items:start; }
.rbpx-product-terms svg{ margin-top:1px; color:var(--rbp-ink-3); }
.rbpx-product-terms b{ color:var(--rbp-ink); font-weight:700; }
.rbpx-product-terms a{ color:var(--rbp-ink-2); text-decoration:underline; text-decoration-color:var(--rbp-line-2); text-underline-offset:.22em; }
.rbpx-product-terms a:hover{ color:var(--rbp-red); text-decoration-color:currentColor; }
.rbpx-product-ask{ margin-top:16px; padding:14px 16px 15px; border-radius:var(--r-md); background:var(--rbp-surf); }
.rbpx-product-consult{ margin-top:16px; padding:20px 18px; border:1.5px solid var(--rbp-red); border-radius:14px; background:#fff7f7; color:var(--rbp-ink); }
.rbpx-product-consult__questions{ list-style:none; margin:0 0 18px; padding:0; display:grid; gap:10px; }
.rbpx-product-consult__questions li{ display:flex; align-items:flex-start; gap:9px; font-size:15px; line-height:1.45; }
.rbpx-product-consult__questions li>span{ display:grid; place-items:center; flex:0 0 19px; width:19px; height:19px; margin-top:2px; border-radius:50%; background:var(--rbp-red); color:#fff; font-size:14px; font-weight:800; }
.rbpx-product-consult h2{ margin:0 0 10px; font-family:inherit; font-size:20px; font-weight:750; line-height:1.35; text-transform:none; }
.rbpx-product-consult p{ margin:0 0 18px; color:var(--rbp-ink-3); font-size:14px; line-height:1.5; }
.rbpx-product-consult__button{ display:flex; width:100%; min-height:52px; padding:12px; justify-content:center; text-align:center; }
.rbpx-product-ask p{ margin:0; color:var(--rbp-ink-3); font-size:13px; line-height:1.5; }
.rbpx-product-ask b{ display:block; margin-bottom:2px; color:var(--rbp-ink); font-size:14px; }
.rbpx-product-ask__links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:11px; }
.rbpx-product-ask__links a{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border-radius:var(--r-sm);
  color:#fff;
  font-size:13px;
  font-weight:700;
  transition:transform var(--d-fast) var(--ease), box-shadow var(--d-fast) ease;
}
.rbpx-product-ask__links a:hover{ transform:translateY(-1px); box-shadow:0 2px 8px rgba(20,22,26,.16); }
.rbpx-product-ask__links .is-wa{ background:var(--rbp-wa); }
.rbpx-product-ask__links .is-tg{ background:var(--rbp-tg); }
.rbpx-product-ask__links .is-tel{ border:1px solid var(--rbp-line-2); color:var(--rbp-ink); background:#fff; }

.rbpx-sku-list{ display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.rbpx-sku-row{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(190px,1.25fr);
  align-items:center;
  gap:20px;
  padding:16px 18px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-md);
  background:#fff;
  box-shadow:var(--el-1);
}
.rbpx-sku-identity{ display:flex; min-width:0; flex-wrap:wrap; align-items:center; gap:6px 10px; }
.rbpx-sku-identity strong{ max-width:100%; color:var(--rbp-ink); overflow-wrap:anywhere; }
.rbpx-sku-identity > span:not(.rbpx-sku-primary){ color:var(--rbp-mut); font-size:13px; overflow-wrap:anywhere; }
.rbpx-sku-primary{
  display:inline-flex;
  min-height:26px;
  align-items:center;
  padding:3px 9px;
  border-radius:999px;
  color:var(--rbp-red);
  background:var(--rbp-red-w8);
  font-size:11px;
  font-weight:800;
  letter-spacing:.35px;
  text-transform:uppercase;
}
.rbpx-sku-money{ display:grid; gap:2px; justify-items:start; }
.rbpx-sku-money del{ color:var(--rbp-mut); font-size:12px; }
.rbpx-sku-money data{ color:var(--rbp-ink); font-size:17px; font-weight:800; font-variant-numeric:tabular-nums; }
.rbpx-sku-availability{ display:flex; align-items:center; gap:9px; margin:0; color:var(--rbp-ink-3); font-size:12.5px; font-weight:600; line-height:1.5; }
.rbpx-product-description{ max-width:900px; }
.rbpx-product-description > p{ margin:0; color:var(--rbp-ink-3); font-size:16px; line-height:1.72; white-space:pre-line; }

/* Применяемость: группы по семействам с годами, длинные группы свёрнуты, схема узла рядом. */
.rbpx-product-fitment{ display:grid; gap:18px; }
.rbpx-fitment-layout{ display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,38%); gap:40px 44px; align-items:start; }
.rbpx-fitment-main{ min-width:0; }
.rbpx-fitment-oem{ margin:0 0 14px; color:var(--rbp-ink-3); font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.rbpx-fitment-groups{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:26px 32px; }
.rbpx-fitment-group{ min-width:0; }
.rbpx-fitment-group h3{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin:0 0 6px;
  padding-bottom:8px;
  border-bottom:2px solid var(--rbp-ink);
  color:var(--rbp-ink);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.rbpx-fitment-group h3 small{ color:var(--rbp-mut); font-family:'Manrope','Manrope Fallback',system-ui,sans-serif; font-size:12.5px; font-weight:700; text-transform:none; white-space:nowrap; }
.rbpx-fitment-list{ margin:0; padding:0; list-style:none; }
.rbpx-fitment-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:6px 0;
  border-bottom:1px solid var(--rbp-line);
  color:var(--rbp-ink-2);
  font-size:13.5px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.rbpx-fitment-item em{ color:var(--rbp-mut); font-style:normal; font-variant-numeric:tabular-nums; white-space:nowrap; }
.rbpx-fitment-more > summary{ display:inline-flex; min-height:36px; align-items:center; padding:2px 0; color:var(--rbp-red); font-size:13px; font-weight:700; cursor:pointer; list-style:none; }
.rbpx-fitment-more > summary::-webkit-details-marker{ display:none; }
.rbpx-fitment-more > summary::before{ content:'+'; margin-right:6px; font-size:16px; line-height:1; }
.rbpx-fitment-more[open] > summary::before{ content:'−'; }
.rbpx-fitment-more[open] > summary{ color:var(--rbp-ink-3); }
.rbpx-fitment-diagram{ margin:0; }
.rbpx-fitment-diagram img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-md);
  background:#fff;
}
.rbpx-fitment-diagram figcaption{ margin-top:10px; color:var(--rbp-ink-3); font-size:13px; line-height:1.5; }
.rbpx-fitment-diagram figcaption b{ color:var(--rbp-ink); }
.rbpx-fitment-note{ margin:22px 0 0; color:var(--rbp-mut); font-size:12.5px; line-height:1.55; }

.rbpx-search-form{
  display:grid;
  gap:8px;
  max-width:900px;
  margin-bottom:30px;
  padding:22px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:var(--rbp-surf-2);
}
.rbpx-search-form--compact{ margin:24px auto 4px; text-align:left; }
.rbpx-search-form label{ color:var(--rbp-ink); font-size:14px; font-weight:700; }
.rbpx-search-form__controls{ display:flex; min-width:0; gap:10px; }
.rbpx-search-form__field{
  display:flex;
  min-width:0;
  min-height:48px;
  flex:1;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-mut);
  background:#fff;
}
.rbpx-search-form__field:focus-within{ border-color:var(--rbp-red); box-shadow:0 0 0 3px var(--rbp-red-w8); }
.rbpx-search-form input{ width:100%; min-width:0; min-height:44px; border:0; outline:0; color:var(--rbp-ink); background:transparent; font:inherit; font-size:16px; }
.rbpx-search-form button{
  min-width:112px;
  min-height:48px;
  padding:0 20px;
  border:0;
  border-radius:var(--r-md);
  color:#fff;
  background:var(--rbp-red);
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  touch-action:manipulation;
  transition:background var(--d-fast) ease,transform var(--d-fast) var(--ease);
}
.rbpx-search-form button:hover{ background:var(--rbp-red-dk); }
.rbpx-search-form button:active{ transform:translateY(1px); }
.rbpx-search-form > p{ margin:0; color:var(--rbp-mut); font-size:12.5px; }

/* W33 category feature filters: native GET form, no JavaScript required. */
.rbpx-page-heading--category{ margin-bottom:0; }
.rbpx-category-layout{
  display:grid;
  grid-template-columns:minmax(250px,286px) minmax(0,1fr);
  align-items:start;
  gap:clamp(24px,3vw,42px);
  margin-top:36px;
}
.rbpx-category-layout--without-filters{ grid-template-columns:minmax(0,1fr); }
.rbpx-category-content{ min-width:0; }
.rbpx-category-content > .rbpx-browse-section:first-child{ margin-top:0; }
.rbpx-category-filter{
  min-width:0;
  position:sticky;
  top:24px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-1);
}
.rbpx-category-filter__disclosure > summary{
  display:none;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  color:var(--rbp-ink);
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  list-style:none;
  touch-action:manipulation;
}
.rbpx-category-filter__disclosure > summary::-webkit-details-marker{ display:none; }
.rbpx-category-filter__form{ display:block; min-width:0; padding:20px; }
.rbpx-category-filter__heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:16px;
  border-bottom:1px solid var(--rbp-line);
  color:var(--rbp-ink);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:21px;
  font-weight:600;
  line-height:1.2;
  text-transform:uppercase;
}
.rbpx-category-filter__count{
  display:inline-flex;
  min-width:26px;
  min-height:26px;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  color:#fff;
  background:var(--rbp-red);
  font-family:'Manrope','Manrope Fallback',system-ui,sans-serif;
  font-size:12px;
  font-weight:800;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.rbpx-category-filter__selected{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}
.rbpx-category-filter__selected li{
  max-width:100%;
  padding:6px 9px;
  border-radius:var(--r-sm);
  color:var(--rbp-ink-3);
  background:var(--rbp-surf-2);
  font-size:12px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.rbpx-category-filter__selected span{ color:var(--rbp-ink); font-weight:700; }
.rbpx-category-filter__facet{
  min-width:0;
  margin:0;
  padding:19px 0;
  border:0;
  border-bottom:1px solid var(--rbp-line);
}
.rbpx-category-filter__facet legend{
  width:100%;
  margin:0 0 8px;
  padding:0;
  color:var(--rbp-ink);
  font-size:14px;
  font-weight:800;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.rbpx-category-filter__options{ display:grid; gap:2px; }
.rbpx-category-filter__option{
  display:grid;
  min-width:0;
  min-height:44px;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:7px 4px;
  border-radius:var(--r-sm);
  color:var(--rbp-ink-3);
  font-size:14px;
  font-weight:600;
  line-height:1.45;
  cursor:pointer;
  touch-action:manipulation;
}
.rbpx-category-filter__option:hover{ color:var(--rbp-ink); background:var(--rbp-surf-2); }
.rbpx-category-filter__option input{
  width:20px;
  height:20px;
  margin:0;
  accent-color:var(--rbp-red);
  cursor:pointer;
}
.rbpx-category-filter__option span{ min-width:0; overflow-wrap:anywhere; }
.rbpx-category-filter__actions{
  display:grid;
  gap:8px;
  padding-top:18px;
}
.rbpx-category-filter__actions button,
.rbpx-category-filter__actions a{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:var(--r-md);
  font:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  cursor:pointer;
  touch-action:manipulation;
}
.rbpx-category-filter__actions button{
  border:1px solid var(--rbp-red);
  color:#fff;
  background:var(--rbp-red);
}
.rbpx-category-filter__actions button:hover{ border-color:var(--rbp-red-dk); background:var(--rbp-red-dk); }
.rbpx-category-filter__actions a{
  border:1px solid var(--rbp-line-2);
  color:var(--rbp-ink-3);
  background:#fff;
}
.rbpx-category-filter__actions a:hover{ border-color:var(--rbp-red); color:var(--rbp-red); }

/* Категория «Сетка» (решение владельца 2026-09-02): число товаров в заголовке, свёрнутый текст,
   подкатегории строкой, списки фильтра не длиннее восьми значений, панель не выше экрана. */
.rbpx-page-heading__row{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; margin:7px 0 12px; }
.rbpx-page-heading--category h1{ margin:0; font-size:clamp(28px,3vw,40px); }
.rbpx-page-count{ margin:0; color:var(--rbp-mut); font-size:14px; font-weight:700; }
.rbpx-category-descr{ max-width:78ch; }
.rbpx-category-descr p{ margin:0; color:var(--rbp-ink-3); font-size:15px; line-height:1.65; white-space:pre-line; }
.rbpx-category-descr__more > summary{ display:inline-flex; min-height:40px; align-items:center; color:var(--rbp-red); font-size:14px; font-weight:700; cursor:pointer; list-style:none; }
.rbpx-category-descr__more > summary::-webkit-details-marker{ display:none; }
.rbpx-category-descr__more[open] > summary{ color:var(--rbp-ink-3); }
.rbpx-category-descr__more p{ margin-top:2px; }
.rbpx-category-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 0; padding:0; list-style:none; }
.rbpx-category-chips a{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  padding:0 14px;
  border:1px solid var(--rbp-line-2);
  border-radius:999px;
  color:var(--rbp-ink-2);
  background:#fff;
  font-size:14px;
  font-weight:700;
  transition:border-color var(--d-fast) ease, color var(--d-fast) ease, background var(--d-fast) ease;
}
.rbpx-category-chips a:hover{ border-color:var(--rbp-red); color:var(--rbp-red); background:var(--rbp-red-w8); }
.rbpx-category-filter{ max-height:calc(100vh - 116px); overflow:auto; scrollbar-width:thin; scrollbar-color:var(--rbp-line-2) transparent; }
.rbpx-category-filter__more > summary{ display:inline-flex; min-height:36px; align-items:center; padding:0 4px; color:var(--rbp-red); font-size:13px; font-weight:700; cursor:pointer; list-style:none; }
.rbpx-category-filter__more > summary::-webkit-details-marker{ display:none; }
.rbpx-category-filter__more[open] > summary{ color:var(--rbp-ink-3); }
.rbpx-category-toolbar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin:0 0 16px; }

@media (max-width:1100px){
  .rbpx-product-layout{ grid-template-columns:minmax(0,1fr) 320px; grid-template-rows:auto auto 1fr; grid-template-areas:'gallery buy' 'summary buy' 'details buy'; gap:0 28px; }
  .rbpx-product-summary{ padding-top:22px; }
  .rbpx-product-buy{ position:static; }
  .rbpx-fitment-layout{ grid-template-columns:1fr; gap:30px; }
}
.rbpx-not-found{ max-width:820px; margin:20px auto 0; text-align:center; }
.rbpx-not-found .rbpx-page-lead{ margin-inline:auto; }
.rbpx-error-code{
  margin:0 0 -12px;
  color:rgba(225,20,20,.1);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:clamp(92px,18vw,190px);
  font-weight:700;
  line-height:.85;
  letter-spacing:-4px;
}

@media (max-width:1024px){
  .rbpx-category-layout{ grid-template-columns:minmax(230px,260px) minmax(0,1fr); gap:22px; }
  .rbpx-products--browse{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px){
  .rbpx-category-layout{ grid-template-columns:1fr; gap:0; margin-top:22px; }
  .rbpx-category-filter{ position:static; top:auto; }
  .rbpx-category-filter__disclosure > summary{ display:flex; }
  .rbpx-category-filter__disclosure > summary::after{
    content:'+';
    flex:0 0 auto;
    color:var(--rbp-red);
    font-size:24px;
    font-weight:500;
    line-height:1;
  }
  .rbpx-category-filter__disclosure[open] > summary::after{ content:'−'; }
  .rbpx-category-filter__disclosure:not([open]) > .rbpx-category-filter__form{ display:none; }
  .rbpx-category-filter__disclosure[open] > summary{ border-bottom:1px solid var(--rbp-line); }
  .rbpx-category-filter__heading{ display:none; }
  .rbpx-category-content > .rbpx-browse-section:first-child{ margin-top:40px; }
}
@media (max-width:768px){
  .rbpx-internal-main{ width:calc(100% - 32px); padding-top:20px; padding-bottom:52px; }
  .rbpx-page-heading{ margin-bottom:32px; }
  .rbpx-page-heading--category{ margin-bottom:0; }
  .rbpx-browse-section{ margin-top:40px; }
  .rbpx-products--browse{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rbpx-product-layout{ grid-template-columns:1fr; grid-template-rows:auto; grid-template-areas:'gallery' 'summary' 'buy' 'details'; gap:22px; }
  .rbpx-product-summary{ padding-top:0; }
  .rbpx-product-details .rbpx-product-facts{ margin-top:0; }
  .rbpx-product-ask__links a{ min-height:44px; }
  .rbpx-category-filter{ max-height:none; overflow:visible; }
  .rbpx-sku-row{ grid-template-columns:minmax(0,2fr) minmax(130px,1fr); }
  .rbpx-sku-availability{ grid-column:1 / -1; }
}
@media (max-width:600px){
  .rbpx-section-heading--products{ align-items:flex-start; flex-direction:column; }
  .rbpx-products--browse{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .rbpx-products--browse .rbpx-prod-body{ padding:12px; }
  .rbpx-products--browse .rbpx-prod-name{ font-size:13.5px; }
  .rbpx-search-form{ padding:16px; }
  .rbpx-search-form__controls{ flex-direction:column; }
  .rbpx-search-form button{ width:100%; }
  .rbpx-pagination ul{ gap:6px; }
  .rbpx-pagination .rbpx-pagination__direction{ width:100%; }
  .rbpx-pagination__direction-item{ flex:1 1 45%; }
  .rbpx-sku-row{ grid-template-columns:1fr; gap:12px; }
  .rbpx-sku-availability{ grid-column:auto; }
}
@media (max-width:420px){
  .rbpx-internal-main{ width:calc(100% - 24px); }
  .rbpx-product-buy,.rbpx-state{ padding:18px; }
  .rbpx-error-code{ font-size:96px; }
}

/* W34 anonymous cart and checkout: server-rendered and fully usable without JavaScript. */
.rbpx-visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.rbpx-button{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:11px 20px;
  border:1px solid transparent;
  border-radius:var(--r-md);
  font:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  cursor:pointer;
  touch-action:manipulation;
}
.rbpx-button--primary{ color:#fff; background:var(--rbp-red); }
.rbpx-button--primary:hover{ color:#fff; background:var(--rbp-red-dk); }
.rbpx-button--secondary{ border-color:var(--rbp-line-2); color:var(--rbp-ink); background:#fff; }
.rbpx-button--secondary:hover{ border-color:var(--rbp-red); color:var(--rbp-red); }
.rbpx-button--wide{ width:100%; }

.rbpx-product-cart-form{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin-top:18px;
}
.rbpx-product-cart-form > label{
  grid-column:1 / -1;
  color:var(--rbp-ink-3);
  font-size:12px;
  font-weight:800;
}
.rbpx-product-cart-form select{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
  min-height:48px;
  padding:10px 12px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink);
  background:#fff;
  font:inherit;
  font-size:16px;
}
.rbpx-product-qty{
  display:inline-grid;
  height:48px;
  grid-template-columns:40px 46px 40px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  background:#fff;
}
.rbpx-product-cart-form button{
  min-height:46px;
  font:inherit;
  touch-action:manipulation;
}
.rbpx-product-qty button{
  color:var(--rbp-ink-2);
  background:#fff;
  font-size:20px;
  line-height:1;
  transition:background var(--d-fast) ease, color var(--d-fast) ease;
}
.rbpx-product-qty button:first-child{ border-radius:var(--r-md) 0 0 var(--r-md); }
.rbpx-product-qty button:last-child{ border-radius:0 var(--r-md) var(--r-md) 0; }
.rbpx-product-qty button:hover:not(:disabled){ color:var(--rbp-ink); background:var(--rbp-surf); }
.rbpx-product-cart-form input[type="number"]{
  width:100%;
  height:100%;
  min-width:0;
  padding:0;
  border:0;
  border-inline:1px solid var(--rbp-line-2);
  color:var(--rbp-ink);
  background:#fff;
  font:inherit;
  font-size:16px;
  font-weight:700;
  text-align:center;
  -moz-appearance:textfield;
  appearance:textfield;
}
.rbpx-product-cart-form input[type="number"]::-webkit-outer-spin-button,
.rbpx-product-cart-form input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.rbpx-product-cart-form select:focus,
.rbpx-product-cart-form input[type="number"]:focus{
  border-color:var(--rbp-red);
  outline:0;
  box-shadow:0 0 0 3px var(--rbp-red-w8);
}
.rbpx-product-cart-form select:focus-visible,
.rbpx-product-cart-form input[type="number"]:focus-visible{
  outline:3px solid var(--rbp-red);
  outline-offset:-3px;
}
.rbpx-product-cart-form .rbpx-product-buy-button{
  display:inline-flex;
  min-height:48px;
  min-width:0;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 12px;
  white-space:nowrap;
  border:1px solid var(--rbp-buy-line);
  border-radius:var(--r-md);
  color:#1A1A1A;
  background:var(--rbp-buy);
  font-size:15px;
  font-weight:800;
  box-shadow:0 1px 2px rgba(20,22,26,.08), 0 6px 16px rgba(246,195,36,.28);
  transition:background var(--d-fast) ease, transform var(--d-fast) var(--ease), box-shadow var(--d-fast) ease;
}
.rbpx-product-cart-form .rbpx-product-buy-button:hover:not(:disabled){ background:var(--rbp-buy-dk); transform:translateY(-1px); box-shadow:0 2px 4px rgba(20,22,26,.1), 0 10px 22px rgba(246,195,36,.34); }
.rbpx-product-cart-form .rbpx-product-buy-button:active:not(:disabled){ transform:translateY(0); box-shadow:0 1px 2px rgba(20,22,26,.1); }
.rbpx-product-cart-form :disabled{ cursor:not-allowed; opacity:.56; }
.rbpx-product-cart-form > p{ grid-column:1 / -1; margin:4px 0 0; color:#9e0e0e; font-size:13px; font-weight:700; }

.rbpx-cart-heading,.rbpx-checkout-heading{ max-width:780px; }
.rbpx-cart-notice,
.rbpx-checkout-preview-note{
  margin:0 0 20px;
  padding:0;
  border:0;
  color:var(--rbp-ink-3);
  background:none;
  font-size:13px;
  line-height:1.45;
}
.rbpx-cart-empty{
  max-width:720px;
  margin:18px auto 0;
  padding:clamp(28px,6vw,60px);
  border:1px solid var(--rbp-line);
  border-radius:var(--r-xl);
  background:#fff;
  box-shadow:var(--el-1);
  text-align:center;
}
.rbpx-cart-empty__icon{
  display:flex;
  width:68px;
  height:68px;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  border-radius:50%;
  color:var(--rbp-red);
  background:var(--rbp-red-w8);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:28px;
  font-weight:700;
}
.rbpx-cart-empty h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-size:clamp(24px,4vw,34px); text-transform:uppercase; }
.rbpx-cart-empty p{ max-width:520px; margin:10px auto 24px; color:var(--rbp-mut); }
.rbpx-cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,340px);
  align-items:start;
  gap:32px;
}
.rbpx-cart-lines{ display:grid; min-width:0; gap:14px; }
.rbpx-cart-line{
  display:grid;
  min-width:0;
  grid-template-columns:104px minmax(0,1fr) minmax(158px,auto) minmax(110px,auto);
  align-items:center;
  gap:18px;
  padding:18px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-1);
}
.rbpx-cart-line--problem{ border-color:#efb9b9; background:#fffafa; }
.rbpx-cart-line__media{
  display:flex;
  width:104px;
  height:88px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:var(--r-md);
  color:var(--rbp-mut);
  background:var(--rbp-surf-2);
  font-size:12px;
}
.rbpx-cart-line__media img{ width:100%; height:100%; object-fit:contain; }
.rbpx-cart-line__body{ min-width:0; }
.rbpx-cart-line__body h3{ margin:0; font-size:16px; line-height:1.35; }
.rbpx-cart-line__body h3 a:hover{ color:var(--rbp-red); }
.rbpx-cart-line__sku,.rbpx-cart-line__unit{ margin-top:5px; color:var(--rbp-mut); font-size:12.5px; }
.rbpx-cart-line__problem{ margin-top:8px; color:#9e0e0e; font-size:13px; font-weight:700; }
.rbpx-cart-line__actions{ display:grid; gap:8px; }
.rbpx-cart-quantity label{ display:block; margin-bottom:5px; color:var(--rbp-mut); font-size:12px; font-weight:700; }
.rbpx-cart-quantity > div{ display:flex; gap:6px; }
.rbpx-cart-quantity input{
  width:70px;
  min-height:44px;
  padding:8px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink);
  background:#fff;
  font:inherit;
  font-variant-numeric:tabular-nums;
}
.rbpx-cart-quantity button,.rbpx-cart-remove button{
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink-3);
  background:#fff;
  font:inherit;
  font-size:12.5px;
  font-weight:800;
  touch-action:manipulation;
}
.rbpx-cart-quantity button:hover{ border-color:var(--rbp-red); color:var(--rbp-red); }
.rbpx-cart-remove button{ border-color:transparent; color:#9e0e0e; }
.rbpx-cart-remove button:hover{ background:var(--rbp-red-w8); }
.rbpx-cart-quantity input:focus-visible,
.rbpx-cart-quantity button:focus-visible,
.rbpx-cart-remove button:focus-visible{
  outline:3px solid var(--rbp-red);
  outline-offset:2px;
}
.rbpx-cart-line__total{ min-width:100px; text-align:right; }
.rbpx-cart-line__total span{ display:block; color:var(--rbp-mut); font-size:12px; }
.rbpx-cart-line__total strong{ display:block; margin-top:4px; font-size:16px; }
.rbpx-cart-summary,.rbpx-checkout-summary{
  position:sticky;
  top:98px;
  min-width:0;
  padding:24px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-2);
}
.rbpx-cart-summary h2,.rbpx-checkout-summary h2{
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:24px;
  text-transform:uppercase;
}
.rbpx-cart-summary dl,.rbpx-checkout-summary dl{ display:grid; gap:11px; margin:20px 0; }
.rbpx-cart-summary dl > div,.rbpx-checkout-summary dl > div{ display:flex; justify-content:space-between; gap:16px; }
.rbpx-cart-summary dt,.rbpx-checkout-summary dt{ color:var(--rbp-mut); }
.rbpx-cart-summary dd,.rbpx-checkout-summary dd{ margin:0; font-weight:800; text-align:right; }
.rbpx-cart-summary__total,.rbpx-checkout-summary__total{ padding-top:16px; border-top:1px solid var(--rbp-line); font-size:19px; }
.rbpx-cart-summary__problem{ margin:18px 0 0; color:#9e0e0e; font-size:13px; font-weight:700; }
.rbpx-cart-summary__note,.rbpx-checkout-summary > p{ margin-top:14px; color:var(--rbp-mut); font-size:12px; }

.rbpx-checkout-preview-note{ max-width:820px; }
.rbpx-checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,360px);
  align-items:start;
  gap:32px;
}
.rbpx-checkout-fields{ display:grid; min-width:0; gap:18px; }
.rbpx-checkout-section{
  min-width:0;
  padding:clamp(20px,3vw,30px);
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-1);
}
.rbpx-checkout-section h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:23px;
  text-transform:uppercase;
}
.rbpx-checkout-section h2 > span{
  display:inline-flex;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background:var(--rbp-red);
  font-family:'Manrope','Manrope Fallback',sans-serif;
  font-size:14px;
}
.rbpx-form-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.rbpx-form-grid--address{ margin-top:20px; }
.rbpx-field{ min-width:0; }
.rbpx-form-summary{
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid rgba(158,14,14,.28);
  border-radius:12px;
  background:#fff4f4;
  color:#811010;
}
.rbpx-form-summary:focus{ outline:3px solid var(--rbp-red); outline-offset:2px; }
.rbpx-form-summary--confirmation{
  border-color:rgba(170,102,0,.32);
  background:#fff9e8;
  color:#754700;
}
.rbpx-form-summary--confirmation:focus{ outline-color:#b36b00; }
.rbpx-form-summary h3{ margin:0 0 7px; font-size:15px; line-height:1.35; }
.rbpx-form-summary ul{ margin:0; padding-left:20px; }
.rbpx-field--wide{ grid-column:1 / -1; }
.rbpx-field label,.rbpx-choice-group legend{ display:block; margin-bottom:7px; color:var(--rbp-ink-2); font-size:13px; font-weight:800; }
.rbpx-field input,.rbpx-field textarea{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink);
  background:#fff;
  font:inherit;
  font-size:16px;
}
.rbpx-field textarea{ min-height:116px; resize:vertical; }
.rbpx-field input:focus,.rbpx-field textarea:focus{ border-color:var(--rbp-red); outline:0; box-shadow:0 0 0 3px var(--rbp-red-w8); }
.rbpx-field input:focus-visible,.rbpx-field textarea:focus-visible{
  outline:3px solid var(--rbp-red);
  outline-offset:2px;
}
.rbpx-field > span,.rbpx-choice-group > span,.rbpx-checkout-section > span{ display:block; margin-top:6px; color:#9e0e0e; font-size:12.5px; font-weight:700; }
.rbpx-field small{ display:block; margin-top:6px; color:var(--rbp-mut); }
.rbpx-choice-group{ min-width:0; margin:20px 0 0; padding:0; border:0; }
.rbpx-choice-row{ display:flex; flex-wrap:wrap; gap:8px; }
.rbpx-choice-row label{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  cursor:pointer;
}
.rbpx-choice-row input,.rbpx-delivery-option input{ width:20px; height:20px; margin:0; accent-color:var(--rbp-red); }
.rbpx-delivery-options{ display:grid; gap:10px; }
.rbpx-delivery-option{
  display:grid;
  min-width:0;
  min-height:64px;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  cursor:pointer;
}
.rbpx-delivery-option:hover{ border-color:var(--rbp-red); }
.rbpx-delivery-option span{ min-width:0; }
.rbpx-delivery-option strong,.rbpx-delivery-option small{ display:block; }
.rbpx-delivery-option small{ margin-top:3px; color:var(--rbp-mut); }
.rbpx-delivery-option b{ color:var(--rbp-ink-2); font-size:13px; text-align:right; }
.rbpx-pickup-field{ margin-top:20px; }
.rbpx-pickup-select{
  width:100%;
  max-width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--rbp-line-2);
  border-radius:var(--r-md);
  color:var(--rbp-ink);
  background:#fff;
  font:inherit;
  font-size:16px;
}
.rbpx-pickup-select:focus-visible{ outline:3px solid var(--rbp-red); outline-offset:2px; }
.rbpx-pickup-search{ margin-bottom:10px; }
.rbpx-pickup-combobox{ position:relative; min-width:0; }
.rbpx-pickup-trigger{ display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; cursor:pointer; }
.rbpx-pickup-trigger span:first-child{ min-width:0; overflow-wrap:anywhere; }
.rbpx-pickup-trigger[aria-expanded="true"]{ border-color:var(--rbp-red); }
.rbpx-pickup-popup{ position:absolute; z-index:30; top:calc(100% + 6px); left:0; right:0; padding:12px; border:1px solid var(--rbp-line-2); border-radius:var(--r-md); background:#fff; box-shadow:0 12px 32px #17202a26; }
.rbpx-pickup-results{ position:relative; max-height:min(320px,40vh); overflow-y:auto; overscroll-behavior:contain; }
.rbpx-pickup-result{ padding:12px; min-height:48px; border-radius:6px; overflow-wrap:anywhere; cursor:pointer; }
.rbpx-pickup-result + .rbpx-pickup-result{ border-top:1px solid var(--rbp-line); }
.rbpx-pickup-result:hover,.rbpx-pickup-result.is-active{ background:var(--rbp-surf-2); }
.rbpx-pickup-combobox:focus-within .rbpx-pickup-result.is-active{ outline:2px solid var(--rbp-red); outline-offset:-2px; }
.rbpx-pickup-result[aria-selected="true"]{ font-weight:600; }
.rbpx-pickup-popup .rbpx-pickup-empty{ padding:12px; }
.rbpx-pickup-status{ margin:8px 0 0; color:var(--rbp-mut); font-size:13px; }
.rbpx-pickup-status:empty{ margin:0; }
.rbpx-pickup-empty{ margin:0; color:var(--rbp-mut); font-size:13px; }
.rbpx-checkout-summary ul{ display:grid; gap:12px; margin:20px 0; }
.rbpx-checkout-summary li{ display:flex; justify-content:space-between; gap:14px; padding-bottom:12px; border-bottom:1px solid var(--rbp-line); font-size:13px; }
.rbpx-checkout-summary li span{ min-width:0; }
.rbpx-checkout-summary li small{ display:block; margin-top:3px; color:var(--rbp-mut); }
.rbpx-checkout-summary li strong{ flex:0 0 auto; }
.rbpx-checkout-confirmation{
  max-width:800px;
  margin:18px auto 0;
  padding:clamp(28px,6vw,56px);
  border:1px solid #aad7b9;
  border-radius:var(--r-xl);
  background:#fbfffc;
  box-shadow:var(--el-2);
  text-align:center;
}
.rbpx-checkout-confirmation__mark{
  display:flex;
  width:64px;
  height:64px;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  border-radius:50%;
  color:#fff;
  background:var(--rbp-ok);
  font-size:30px;
  font-weight:800;
}
.rbpx-checkout-confirmation h1{ max-width:680px; margin-inline:auto; font-size:clamp(28px,5vw,44px); }
.rbpx-checkout-confirmation > p:not(.rbpx-eyebrow){ max-width:620px; margin:12px auto 0; color:var(--rbp-ink-3); }
.rbpx-checkout-confirmation dl{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0; }
.rbpx-checkout-confirmation dl > div{ padding:14px; border-radius:var(--r-md); background:#fff; }
.rbpx-checkout-confirmation dt{ color:var(--rbp-mut); font-size:12px; }
.rbpx-checkout-confirmation dd{ margin:5px 0 0; font-weight:800; }
.rbpx-checkout-confirmation__warning{ padding:14px; border-radius:var(--r-md); background:var(--rbp-surf-2); font-size:13px; }
.rbpx-checkout-confirmation__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:24px; }

@media (max-width:1100px){
  .rbpx-cart-line{ grid-template-columns:92px minmax(0,1fr) minmax(148px,auto); }
  .rbpx-cart-line__media{ width:92px; height:80px; }
  .rbpx-cart-line__total{ grid-column:2 / -1; text-align:left; }
}
@media (max-width:900px){
  .rbpx-cart-layout,.rbpx-checkout-layout{ grid-template-columns:1fr; }
  .rbpx-cart-summary,.rbpx-checkout-summary{ position:static; top:auto; }
}
@media (max-width:640px){
  .rbpx-product-cart-form{ grid-template-columns:1fr; }
  .rbpx-product-qty{ width:100%; grid-template-columns:48px minmax(0,1fr) 48px; }
  .rbpx-cart-line{ grid-template-columns:76px minmax(0,1fr); align-items:start; gap:14px; padding:14px; }
  .rbpx-cart-line__media{ width:76px; height:72px; }
  .rbpx-cart-line__actions,.rbpx-cart-line__total{ grid-column:1 / -1; }
  .rbpx-cart-line__actions{ grid-template-columns:minmax(0,1fr) auto; align-items:end; }
  .rbpx-cart-quantity > div{ min-width:0; }
  .rbpx-cart-quantity input{ width:78px; }
  .rbpx-cart-line__total{ text-align:left; }
  .rbpx-form-grid{ grid-template-columns:1fr; }
  .rbpx-field--wide{ grid-column:auto; }
  .rbpx-delivery-option{ grid-template-columns:20px minmax(0,1fr); }
  .rbpx-delivery-option b{ grid-column:2; text-align:left; }
  .rbpx-checkout-confirmation dl{ grid-template-columns:1fr; }
  .rbpx-checkout-confirmation__actions{ flex-direction:column; }
}
@media (max-width:390px){
  .rbpx-product-cart-form{ grid-template-columns:1fr; }
  .rbpx-product-cart-form > label:first-of-type,
  .rbpx-product-cart-form > label:nth-of-type(2),
  .rbpx-product-cart-form > select,
  .rbpx-product-cart-form > input[type="number"],
  .rbpx-product-cart-form > button{ grid-column:1; }
  .rbpx-cart-line__actions{ grid-template-columns:1fr; }
  .rbpx-cart-quantity > div{ display:grid; grid-template-columns:76px minmax(0,1fr); }
  .rbpx-choice-row{ display:grid; }
  .rbpx-choice-row label{ width:100%; }
}

/* W35 account foundation: private server-rendered flows with no JavaScript dependency. */
.rbpx-account-logout-form{ display:inline-flex; margin:0; }
.rbpx-account-logout-form button{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  padding:0;
  color:var(--rbp-mut);
  background:transparent;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.rbpx-account-logout-form button:hover{ color:var(--rbp-red); }
.rbpx-account-logout-form button:focus-visible{ outline:3px solid var(--rbp-red); outline-offset:2px; }
.rbpx-account-logout-form--mobile{ display:flex; width:100%; }
.rbpx-account-logout-form--mobile button{ width:100%; padding:10px; color:var(--rbp-ink-3); text-align:left; }
.rbpx-account-logout-form--noscript button{ padding-inline:4px; }
.rbpx-account-page{ min-width:0; }
.rbpx-account-shell{
  display:grid;
  max-width:1020px;
  grid-template-columns:minmax(0,.82fr) minmax(360px,1fr);
  align-items:start;
  gap:clamp(32px,7vw,84px);
  margin:18px auto 0;
}
.rbpx-account-shell--wide{ max-width:1120px; grid-template-columns:minmax(0,.72fr) minmax(480px,1fr); }
.rbpx-account-heading{ padding-top:28px; }
.rbpx-account-heading h1{
  margin-top:8px;
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:clamp(34px,5vw,54px);
  line-height:1.05;
  text-transform:uppercase;
}
.rbpx-account-heading > p:last-child{
  max-width:520px;
  margin-top:16px;
  color:var(--rbp-ink-3);
  font-size:16px;
  line-height:1.7;
}
.rbpx-account-card,
.rbpx-order-card{
  min-width:0;
  padding:clamp(22px,4vw,34px);
  border:1px solid var(--rbp-line);
  border-radius:var(--r-xl);
  background:#fff;
  box-shadow:var(--el-2);
}
.rbpx-account-card > h2,
.rbpx-order-card > h2{
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:clamp(22px,3vw,28px);
  text-transform:uppercase;
}
.rbpx-account-preview-note{
  margin:14px 0 22px;
  padding:12px 14px;
  border-left:3px solid var(--rbp-red);
  border-radius:0 var(--r-md) var(--r-md) 0;
  color:var(--rbp-ink-3);
  background:var(--rbp-red-w8);
  font-size:13px;
  line-height:1.55;
}
.rbpx-account-form{ display:grid; min-width:0; gap:18px; }
[data-access-request][hidden], [data-access-confirm][hidden], [data-turnstile-retry][hidden]{ display:none!important; }
.rbpx-account-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.rbpx-account-check{
  display:flex;
  min-height:44px;
  align-items:flex-start;
  gap:10px;
  color:var(--rbp-ink-2);
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
}
.rbpx-account-check input{
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin:1px 0 0;
  accent-color:var(--rbp-red);
}
.rbpx-account-check--consent{ margin-top:2px; }
.rbpx-account-check-error{ display:block; margin-top:-12px; color:#9e0e0e; font-size:12.5px; font-weight:700; }
.rbpx-account-check input:focus-visible,
.rbpx-account-card a:focus-visible,
.rbpx-account-card button:focus-visible,
.rbpx-account-order-card a:focus-visible,
.rbpx-order-card a:focus-visible{
  outline:3px solid var(--rbp-red);
  outline-offset:2px;
}
.rbpx-account-unavailable{
  display:grid;
  gap:3px;
  margin-top:20px;
  padding:14px;
  border-radius:var(--r-md);
  color:var(--rbp-ink-3);
  background:var(--rbp-surf-2);
  font-size:13px;
}
.rbpx-account-unavailable strong{ color:var(--rbp-ink); }
.rbpx-account-switch{ margin-top:20px; color:var(--rbp-mut); font-size:13px; text-align:center; }
.rbpx-mobile-signup{ display:none; }
@media (max-width:768px){
  .rbpx-mobile-signup{ display:grid; gap:10px; margin-top:24px; padding-top:20px; border-top:1px solid var(--rbp-line); text-align:center; }
  .rbpx-mobile-signup p{ margin:0; color:var(--rbp-ink-3); font-size:14px; }
}
.rbpx-account-switch a{ color:var(--rbp-red); font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.rbpx-account-confirmation{
  max-width:820px;
  margin:18px auto 0;
  padding:clamp(28px,6vw,56px);
  border:1px solid #aad7b9;
  border-radius:var(--r-xl);
  background:#fbfffc;
  box-shadow:var(--el-2);
  text-align:center;
}
.rbpx-account-confirmation__mark{
  display:flex;
  width:64px;
  height:64px;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  border-radius:50%;
  color:#fff;
  background:var(--rbp-ok);
  font-size:30px;
  font-weight:800;
}
.rbpx-account-confirmation h1{ max-width:700px; margin-inline:auto; font-size:clamp(28px,5vw,44px); }
.rbpx-account-confirmation > p:not(.rbpx-eyebrow){ max-width:650px; margin:14px auto 0; color:var(--rbp-ink-3); line-height:1.65; }
.rbpx-account-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:26px; }
.rbpx-account-dashboard-heading .rbpx-account-actions{ justify-content:flex-start; align-items:flex-start; }
.rbpx-order-summary dd,.rbpx-order-summary p{ overflow-wrap:anywhere; }
.rbpx-delivery-update{ color:var(--rbp-mut); font-size:0.85rem; }
.rbpx-delivery-card{ grid-column:1 / -1; }
.rbpx-delivery-heading{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.rbpx-delivery-heading h2{ font:700 clamp(26px,3vw,36px) 'Oswald',sans-serif; margin:8px 0 0; }
.rbpx-delivery-state{ padding:8px 14px; border-radius:20px; background:var(--rbp-surf); font-weight:700; }
.rbpx-delivery-facts{ display:grid; grid-template-columns:1fr 2fr 1fr; gap:24px; padding:24px 0; margin:20px 0; border-block:1px solid var(--rbp-line); }
.rbpx-delivery-facts dt{ color:var(--rbp-mut); font-size:13px; margin-bottom:7px; }
.rbpx-delivery-facts dd{ margin:0; font-weight:650; overflow-wrap:anywhere; }
.rbpx-delivery-content{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:36px; align-items:start; }
.rbpx-delivery-content--no-document{ grid-template-columns:minmax(0,1fr); }
.rbpx-delivery-history{ min-width:0; }
.rbpx-delivery-history h3,.rbpx-waybill h3{ font-size:21px; margin:0 0 10px; }
.rbpx-delivery-history p{ margin:12px 0; }
.rbpx-delivery-empty{ padding:24px; background:var(--rbp-surf); border-radius:12px; color:var(--rbp-ink-3); }
.rbpx-delivery-table-wrap{ overflow:auto; }
.rbpx-delivery-table{ width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.rbpx-delivery-table th{ background:var(--rbp-surf); color:var(--rbp-ink-3); font-weight:650; }
.rbpx-delivery-table th,.rbpx-delivery-table td{ padding:14px 12px; border-bottom:1px solid var(--rbp-line); vertical-align:top; }
.rbpx-delivery-table td:first-child{ white-space:nowrap; }
.rbpx-waybill{ margin:0; display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.rbpx-waybill figcaption p{ color:var(--rbp-mut); font-size:13px; margin:0; }
.rbpx-waybill-thumbnail{ display:block; width:100%; min-height:220px; border:1px solid var(--rbp-line); border-radius:12px; padding:10px; background:white; cursor:zoom-in; box-shadow:var(--el-1); }
.rbpx-waybill-thumbnail canvas{ max-width:100%; margin:auto; }
.rbpx-waybill-thumbnail:hover{ border-color:var(--rbp-red); }
.rbpx-waybill-dialog{ box-sizing:border-box; width:min(1120px,96vw); max-width:96vw; max-height:94dvh; padding:20px; border:0; border-radius:18px; box-shadow:0 24px 80px #0006; }
.rbpx-waybill-dialog::backdrop{ background:#111b; }
.rbpx-waybill-dialog header{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.rbpx-waybill-dialog h2{ font:700 26px 'Oswald',sans-serif; margin:0; }
.rbpx-waybill-toolbar{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; padding:16px 0; }
.rbpx-waybill-toolbar button{ border:1px solid var(--rbp-line); border-radius:8px; background:white; font-size:20px; min-width:40px; min-height:40px; cursor:pointer; }
.rbpx-waybill-toolbar button:disabled{ opacity:.35; cursor:default; }
.rbpx-waybill-view{ overflow:auto; max-height:70dvh; background:#e8edf2; border-radius:8px; text-align:center; }
.rbpx-waybill-view canvas{ background:white; vertical-align:top; }
.rbpx-waybill-dialog button:focus-visible,.rbpx-waybill-thumbnail:focus-visible{ outline:3px solid var(--rbp-red); outline-offset:3px; }
@media(max-width:760px){
  .rbpx-delivery-content,.rbpx-delivery-facts{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .rbpx-waybill{ width:min(100%,300px); }
  .rbpx-delivery-table th,.rbpx-delivery-table td{ padding:10px 6px; font-size:12px; overflow-wrap:anywhere; }
  .rbpx-delivery-table td:first-child{ white-space:normal; min-width:90px; }
  .rbpx-waybill-dialog{ padding:12px; }
}
.rbpx-account-dashboard-heading,.rbpx-order-heading{ max-width:820px; }
.rbpx-account-section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.rbpx-account-section-heading h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-size:clamp(22px,3vw,28px); text-transform:uppercase; }
.rbpx-account-section-heading > span{
  flex:0 0 auto;
  padding:5px 10px;
  border-radius:999px;
  color:var(--rbp-ink-3);
  background:var(--rbp-surf-2);
  font-size:12px;
  font-weight:800;
}
.rbpx-account-empty{
  max-width:760px;
  margin:18px auto 0;
  padding:clamp(28px,6vw,60px);
  border:1px solid var(--rbp-line);
  border-radius:var(--r-xl);
  background:#fff;
  box-shadow:var(--el-1);
  text-align:center;
}
.rbpx-account-empty__icon{
  display:flex;
  width:68px;
  height:68px;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  border-radius:50%;
  color:var(--rbp-red);
  background:var(--rbp-red-w8);
  font-family:'Oswald','Oswald Fallback',sans-serif;
  font-size:28px;
  font-weight:700;
}
.rbpx-account-empty h2{ font-family:'Oswald','Oswald Fallback',sans-serif; font-size:clamp(24px,4vw,34px); text-transform:uppercase; }
.rbpx-account-empty p{ max-width:540px; margin:10px auto 24px; color:var(--rbp-mut); }
.rbpx-account-orders{ display:grid; gap:14px; }
.rbpx-account-order-card{
  display:grid;
  min-width:0;
  grid-template-columns:minmax(180px,.8fr) minmax(300px,1.5fr) auto;
  align-items:center;
  gap:20px;
  padding:20px;
  border:1px solid var(--rbp-line);
  border-radius:var(--r-lg);
  background:#fff;
  box-shadow:var(--el-1);
}
.rbpx-account-order-card__label{ color:var(--rbp-mut); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.rbpx-account-order-card h3{ margin-top:4px; font-size:17px; }
.rbpx-account-order-card h3 a:hover{ color:var(--rbp-red); }
.rbpx-account-order-card dl{ display:grid; min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.rbpx-account-order-card dt,.rbpx-order-card dt{ color:var(--rbp-mut); font-size:11px; }
.rbpx-account-order-card dd,.rbpx-order-card dd{ margin:4px 0 0; overflow-wrap:anywhere; font-size:13px; font-weight:800; }
.rbpx-order-layout{
  display:grid;
  min-width:0;
  grid-template-columns:minmax(0,1fr) minmax(260px,330px);
  align-items:start;
  gap:28px;
}
.rbpx-order-items{ display:grid; }
.rbpx-order-items li{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
  border-bottom:1px solid var(--rbp-line);
}
.rbpx-order-items li div{ min-width:0; }
.rbpx-order-items strong,.rbpx-order-items span{ display:block; overflow-wrap:anywhere; }
.rbpx-order-items span{ margin-top:4px; color:var(--rbp-mut); font-size:12px; }
.rbpx-order-items b{ flex:0 0 auto; }
.rbpx-order-total{ display:flex; justify-content:space-between; gap:18px; margin-top:20px; font-size:18px; font-weight:800; }
.rbpx-order-total dd{ margin:0; }
.rbpx-order-summary{ position:sticky; top:98px; }
.rbpx-order-summary > dl{ display:grid; gap:14px; margin:20px 0; }
.rbpx-order-summary > dl > div{ padding-bottom:14px; border-bottom:1px solid var(--rbp-line); }

@media (max-width:900px){
  .rbpx-account-shell,.rbpx-account-shell--wide{ max-width:680px; grid-template-columns:1fr; gap:22px; }
  .rbpx-account-heading{ padding-top:0; }
  .rbpx-account-order-card{ grid-template-columns:minmax(160px,.8fr) minmax(0,1.3fr); }
  .rbpx-account-order-card > .rbpx-button{ grid-column:1 / -1; justify-self:start; }
  .rbpx-order-layout{ grid-template-columns:1fr; }
  .rbpx-order-summary{ position:static; top:auto; }
}
@media (max-width:640px){
  .rbpx-account-grid{ grid-template-columns:1fr; }
  .rbpx-account-grid .rbpx-field--wide{ grid-column:auto; }
  .rbpx-account-order-card{ grid-template-columns:1fr; }
  .rbpx-account-order-card dl{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rbpx-account-order-card > .rbpx-button{ grid-column:auto; width:100%; }
  .rbpx-account-actions{ flex-direction:column; }
}
@media (max-width:420px){
  .rbpx-account-card,.rbpx-order-card,.rbpx-account-order-card{ padding:18px; }
  .rbpx-account-order-card dl{ grid-template-columns:1fr; }
  .rbpx-order-items li{ align-items:flex-start; }
}
