/* NasAuto redesign 2026 - Phase 1: fonts, tokens, header, car finder. Loaded after the theme CSS. */

/* ---------- local fonts (Oswald + Roboto, latin + cyrillic) ---------- */
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/oswald-400-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/oswald-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/oswald-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/oswald-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/oswald-500-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/oswald-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/oswald-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/oswald-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/redesign/oswald-600-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/redesign/oswald-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/redesign/oswald-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/redesign/oswald-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/oswald-700-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/oswald-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/oswald-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/oswald-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/roboto-400-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/roboto-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/roboto-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/redesign/roboto-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/roboto-500-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/roboto-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/roboto-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/redesign/roboto-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/roboto-700-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/roboto-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/roboto-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/redesign/roboto-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- design tokens ---------- */
:root{
  --ink:#04182B; --ink-2:#0E3357; --ink-3:#153A5E;
  --brass:#C99A3E; --brass-deep:#A67B26; --brass-soft:#F1E3C4;
  --paper:#F3F5F7; --surface:#FFFFFF;
  --text:#1B2430; --text-soft:#5B6472; --text-faint:#8B93A0;
  --line:#E3E6EA; --line-2:#D3D8DF;
  --red:#E0393A; --red-soft:#FBE7E7; --green:#1E9E6B; --green-soft:#E3F5EE;
  --amber:#C98A2E; --amber-soft:#F7ECD8; --blue:#2E6FC9; --blue-soft:#E4EDFB;
  --radius-lg:18px; --radius-md:12px; --radius-sm:8px; --radius:12px;
  --shadow:0 10px 30px rgba(4,24,43,.08);
  --shadow-sm:0 2px 8px rgba(4,24,43,.06); --shadow-md:0 12px 32px rgba(4,24,43,.10);
  --font-head:"Oswald","Roboto",-apple-system,"Segoe UI",sans-serif;
  --font-body:"Roboto",-apple-system,"Segoe UI",sans-serif;
}

/* ---------- base typography ---------- */
body, .site, .site__body{ font-family:var(--font-body); color:var(--text); }
/* Safari 26 (iPhone) colours the status bar from the <body> background — the theme makes <body> the scrolling box —
   so html/body carry the header colour and the light page colour is on .site, which holds the whole page */
html{ background:var(--ink); }
body{ background:var(--ink); min-height:100vh; }
.site{ background:var(--paper); }
h1,h2,h3,h4,h5,h6,
.block-header__title, .block-categories__title, .product__name, .page-header__title,
.block-products-carousel .block-header__title, .card-title{
  font-family:var(--font-head); font-weight:600; letter-spacing:.01em; line-height:1.12; text-wrap:balance;
}
.block-categories__title{ font-size:26px; font-weight:600; }
.rd-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--brass);
}
.rd-eyebrow::before{ content:""; width:18px; height:2px; background:currentColor; display:block; }

/* ---------- buttons & chips ---------- */
.btn{ font-family:var(--font-body); font-weight:600; border-radius:var(--radius-sm); }
.btn-primary, .btn-primary:focus{ background:var(--ink); border-color:var(--ink); color:#fff; }
.btn-primary:hover, .btn-primary:active{ background:var(--ink-2) !important; border-color:var(--ink-2) !important; color:#fff; }
.btn-brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.btn-brass:hover{ background:var(--brass-deep); border-color:var(--brass-deep); color:var(--ink); }
.rd-chip{ display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; font-size:11.5px; font-weight:600; letter-spacing:.02em; }
.rd-chip--red{ background:var(--red-soft); color:var(--red); }
.rd-chip--green{ background:var(--green-soft); color:var(--green); }
.rd-chip--amber{ background:var(--amber-soft); color:var(--amber); }
.rd-chip--blue{ background:var(--blue-soft); color:var(--blue); }
.rd-chip--line{ background:var(--surface); color:var(--text-soft); border:1px solid var(--line-2); }

/* ---------- desktop header ---------- */
.site__header .header{ background:var(--ink); color:#fff; }
.site__header .header__navbar{ background:rgba(255,255,255,.035); border-top:1px solid rgba(255,255,255,.08); }
.site__header .main-menu__link{
  font-family:var(--font-body); font-size:13px; font-weight:500; color:rgba(255,255,255,.72);
  padding:8px 12px; border-radius:999px; transition:background .15s,color .15s; text-transform:none;
}
.site__header .main-menu__item:hover .main-menu__link, .site__header .main-menu__link:hover{ color:#fff; background:rgba(255,255,255,.08); }
.site__header .logo__slogan{ display:none; }
.site__header .logo__image img{ width:auto; height:44px; }
/* search field as a pill */
.site__header .search__body{
  background:#fff; border:1px solid #fff; border-radius:999px;
  overflow:hidden; box-shadow:none;
}
.site__header .search__shadow{ display:none; }
.site__header .search__box, .site__header .search__decor{ display:none; }
.site__header .search__input, .site__header .search__button_modal.search__input{
  color:var(--text); font-size:13.5px; font-weight:500; padding-left:20px; background:transparent;
}
.site__header .search__input::placeholder{ color:var(--text-faint); }
.site__header .search__button--end{ color:var(--ink-2); }
.site__header .search__button--end svg{ fill:var(--ink-2); }
.site__header .search__button--end:hover svg{ fill:var(--brass-deep); }
/* indicators (garage / profile / cart) */
.site__header .indicator__button{ color:#fff; border-radius:var(--radius-sm); transition:background .15s; }
.site__header .indicator:hover .indicator__button, .site__header .indicator--open .indicator__button{ background:rgba(255,255,255,.08); }
.site__header .indicator__icon svg{ fill:#fff; }
.site__header .indicator__title{ font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.site__header .indicator__value{ font-family:var(--font-head); font-size:15px; font-weight:500; color:#fff; }
.site__header .indicator__counter{ background:var(--brass); color:var(--ink); font-weight:700; }

/* ---------- mobile header ---------- */
.site__mobile-header .mobile-header{ background:var(--ink); }
.site__mobile-header .mobile-indicator__counter{ background:var(--brass); color:var(--ink); font-weight:700; }

/* ---------- car finder hero (home) ---------- */
.rd-finder-hero{
  max-width:none; width:100%; padding:52px 24px 0; margin-bottom:34px; position:relative;
  background:
    radial-gradient(760px 420px at 85% -10%, rgba(201,154,62,.22), transparent 60%) top/100% calc(100% - 46px) no-repeat,
    linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%) top/100% calc(100% - 46px) no-repeat;
  background-color:transparent; color:#fff;
}
.rd-hero{ max-width:1180px; margin:0 auto; padding:0 8px 38px; }
.rd-hero h2{ font-size:clamp(24px,3vw,34px); color:#fff; margin:14px 0 12px; }
.rd-hero p{ color:rgba(255,255,255,.72); font-size:14.5px; max-width:56ch; margin:0; }
.rd-finder-hero .block-finder__body{
  max-width:1180px; margin:0 auto; background:var(--surface); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); padding:20px 22px; position:relative; z-index:2;
}
.car_search .block-finder__form{ margin:-6px; }
.car_search .block-finder__form-control{ margin:6px; height:48px; min-height:48px; }
.car_search .select2-container--default .select2-selection--single{
  height:48px; border:1px solid var(--line-2); border-radius:var(--radius-sm); background:var(--surface);
}
.car_search .select2-selection__rendered{ line-height:46px !important; padding:0 36px 0 14px; font-size:14px; color:var(--text); font-family:var(--font-body); }
.car_search .select2-container--default .select2-selection--single .select2-selection__arrow{ height:46px; right:8px; }
.car_search .select2-container--default .select2-selection--single .select2-selection__arrow b{ border-color:var(--text-faint) transparent transparent transparent; }
.car_search .select2-container--default.select2-container--disabled .select2-selection--single{ background:var(--paper); }
.car_search .select2-container--default.select2-container--focus .select2-selection--single,
.car_search .select2-container--default.select2-container--open .select2-selection--single{ border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.select2-dropdown{ border:1px solid var(--line-2); border-radius:var(--radius-sm); box-shadow:var(--shadow-md); font-family:var(--font-body); }
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:var(--brass-soft) !important; color:var(--ink) !important; }

/* category title under the hero */
.block-categories__header{ padding-top:6px; }

@media (max-width:1199.98px){
  .rd-finder-hero{ padding:32px 16px 0; }
  .rd-hero{ padding-bottom:26px; }
  .rd-hero h2{ font-size:22px; }
}

/* ---------- footer ---------- */
.site__footer .site-footer{ background:var(--ink); color:rgba(255,255,255,.72); border-top:1px solid rgba(255,255,255,.08); }
.site__footer .site-footer__decor{ display:none; }
.site__footer .site-footer__widgets{ padding:60px 0 24px; }
.site__footer .footer-contacts__title, .site__footer .footer-links__title, .site__footer .footer-newsletter__title{
  font-family:var(--font-head); font-weight:600; font-size:18px; letter-spacing:.03em; text-transform:uppercase; color:#fff;
  margin-bottom:18px; padding-bottom:12px; position:relative;
}
.site__footer .footer-contacts__title::after, .site__footer .footer-links__title::after, .site__footer .footer-newsletter__title::after{
  content:""; position:absolute; left:0; bottom:0; width:28px; height:2px; background:var(--brass);
}
.site__footer .footer-contacts__text{ font-size:13.5px; line-height:1.6; color:rgba(255,255,255,.66); }
.site__footer .footer-contacts__contacts{ font-size:13.5px; line-height:1.55; margin-top:18px; }
.site__footer .footer-contacts__contacts dt{ font-family:var(--font-head); font-size:11px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--brass); margin-bottom:2px; }
.site__footer .footer-contacts__contacts dd{ color:rgba(255,255,255,.85); margin-bottom:14px; }
.site__footer .footer-contacts__contacts a, .site__footer .footer-links__link{ color:rgba(255,255,255,.7); transition:color .15s; }
.site__footer .footer-contacts__contacts a:hover, .site__footer .footer-links__link:hover{ color:#fff; }
.site__footer .footer-links__list{ font-size:13.5px; line-height:1.5; }
.site__footer .footer-links__item{ padding:5px 0; }
.site__footer .footer-links__link{ display:inline-block; }
.site__footer .footer-newsletter__text{ font-size:12.5px; line-height:1.55; color:rgba(255,255,255,.55); }
.site__footer .tec_icon{ max-width:180px; height:auto; opacity:.85; margin-bottom:12px; }
.site__footer .social-links__item a{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:10px; transition:background .15s, border-color .15s; }
.site__footer .social-links__item a:hover{ background:rgba(201,154,62,.18); border-color:var(--brass); }
.site__footer .site-footer__bottom{ background:rgba(0,0,0,.28); border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.5); font-size:12.5px; }
.site__footer .site-footer__bottom a{ color:rgba(255,255,255,.75); }
.site__footer .site-footer__bottom a:hover{ color:#fff; }

/* ================= Phase 2a: home page ================= */

/* ---------- trust strip under the hero ---------- */
.rd-finder-hero{ margin-bottom:0; }
.rd-trust{ background:var(--surface); border-bottom:1px solid var(--line); margin-bottom:30px; }
.rd-trust .block-features__list{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; padding:20px 0; border:0; margin:0; }
.rd-trust .block-features__item{ width:auto; padding:2px 16px; border-left:1px solid var(--line); display:flex; align-items:center; gap:12px; justify-content:flex-start; }
.rd-trust .block-features__item:first-child{ border-left:0; padding-left:0; }
.rd-trust .block-features__item-icon{ margin:0; width:40px; height:40px; border-radius:10px; background:var(--brass-soft); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.rd-trust .block-features__item-icon img{ width:22px; height:22px; }
.rd-trust .block-features__item-title{ font-size:12.5px; font-weight:600; color:var(--text); line-height:1.25; }
.rd-trust .block-features__item-subtitle{ font-size:11.5px; color:var(--text-faint); line-height:1.3; }
@media (max-width:1199px){
  .rd-trust .block-features__list{ grid-template-columns:repeat(3,1fr); gap:14px 0; }
  .rd-trust .block-features__item{ border-left:0; padding-left:0; }
}
@media (max-width:767px){ .rd-trust .block-features__list{ grid-template-columns:repeat(2,1fr); } }

/* ---------- home category tiles (main/index.tpl) ---------- */
.block-categories .decor{ display:none; }
.block-categories__title{ margin-bottom:6px; padding-bottom:0; }
.block-categories__header{ padding-top:0; }
.inner_sub_cat_container{ max-width:1180px; margin:0 auto; }
.inner_sub_cat{
  background:var(--surface) !important; border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:none; transition:border-color .15s, transform .15s, box-shadow .15s;
}
.inner_sub_cat:hover{ border-color:var(--brass); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.imgLogoCat{ border-radius:var(--radius-md) var(--radius-md) 0 0; }
.titleCat h3, .titleCat a h3{ font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--text); }
.motbg_subcat li{ background:none; padding-left:0; }
.motbg_subcat li a{ font-size:13px; color:var(--text-soft); line-height:1.75; }
.motbg_subcat li a:hover{ color:var(--ink-2); }
.viewAllCat{ background:none; color:var(--brass-deep); font-weight:600; font-size:12.5px; width:auto; padding-right:0; }
.viewAllCat:hover{ color:var(--ink-2); }

/* ---------- top products with tabs ---------- */
.rd-top{ padding:10px 0 8px; }
.rd-block-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.rd-block-head h2{ font-size:26px; margin:0; }
.rd-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.rd-tab{ background:var(--surface); border:1px solid var(--line-2); border-radius:999px; padding:9px 18px; font-size:13px; font-weight:600; color:var(--text-soft); cursor:pointer; font-family:var(--font-body); transition:background .15s, color .15s, border-color .15s; }
.rd-tab:hover{ border-color:var(--ink-2); color:var(--text); }
.rd-tab--active, .rd-tab--active:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-prod-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.rd-prod-grid .block-zone__carousel-item, .rd-prod-grid .block-products-carousel__cell{ width:auto; height:100%; }
.rd-prod-grid .product-card{ height:100%; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:none; }
.rd-prod-grid .product-card:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.rd-panel-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:18px; }
.rd-more{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--brass-deep); white-space:nowrap; }
.rd-more:hover{ color:var(--ink-2); }
.rd-subchips{ display:flex; gap:8px; flex-wrap:wrap; }
.rd-subchips a:hover{ border-color:var(--brass); color:var(--text); }
@media (max-width:1199px){ .rd-prod-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:767px){
  .rd-prod-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .rd-tabs{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; width:100%; }
  .rd-tabs::-webkit-scrollbar{ display:none; }
  .rd-tab{ white-space:nowrap; }
}

/* ---------- home category tiles (categories-list) ---------- */
.categories-list__body{ background:transparent; box-shadow:none; gap:14px; }
.categories-list__divider{ display:none; }
.categories-list--layout--columns-6-full .categories-list__item, .categories-list__item{
  width:calc((100% - 70px) / 6) !important; background:var(--surface); border:1px solid var(--line) !important; border-radius:var(--radius-md);
  box-shadow:none !important; padding:14px !important; transition:border-color .15s, transform .15s, box-shadow .15s;
}
.categories-list__item:hover{ border-color:var(--brass) !important; transform:translateY(-2px); box-shadow:var(--shadow-sm) !important; }
.categories-list__item a{ display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--text); }
.categories-list__item .image--type--category{ width:100%; }
.categories-list__item .image__body{ background:var(--paper); border-radius:var(--radius-sm); padding:8px; }
.categories-list__item-name{ position:static !important; transform:none !important; left:auto !important; padding:0 !important; text-align:center !important; font-size:13px; font-weight:600; line-height:1.3; }
@media (max-width:1199px){ .categories-list--layout--columns-6-full .categories-list__item, .categories-list__item{ width:calc((100% - 42px) / 4) !important; } }
@media (max-width:767px){ .categories-list--layout--columns-6-full .categories-list__item, .categories-list__item{ width:calc((100% - 14px) / 2) !important; padding:10px !important; } }

/* category tile image: keep the theme's square aspect box */
.categories-list__item .image--type--category{ max-width:96px !important; margin:0 auto; }
.categories-list__item .image__body{ padding:0 0 100% 0; background:transparent; }

/* ================= Phase 2b: category / listing pages ================= */
.block-header{ padding-top:18px; }
.block-header__title{ font-size:clamp(24px,3vw,32px); font-weight:600; color:var(--text); }
.breadcrumb{ font-size:12px; color:var(--text-faint); }
.breadcrumb__item-link{ color:var(--text-soft); }
.breadcrumb__item:last-child .breadcrumb__item-link{ color:var(--text); font-weight:500; }

/* quick car search card on category pages */
.site__body .card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); }
.site__body .card-header{ padding:18px 24px 6px; }
.site__body .card-header h5{ font-family:var(--font-head); font-size:18px; font-weight:600; letter-spacing:.02em; margin:0; }
.site__body .card-divider{ background:transparent; }
.site__body .card .car_search{ padding:4px 8px 12px; }
.site__body .card .block-finder__body{ padding:0; }
.site__body .card .form-group{ margin:0; }
.separator{ color:var(--text-faint); font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-family:var(--font-head); }

/* section headers with carousel arrows */
.section-header__title{ font-family:var(--font-head); font-size:22px; font-weight:600; letter-spacing:.01em; }
.section-header__divider{ background:var(--line); }
.arrow__button{ background:var(--ink); border-radius:999px; transition:background .15s; }
.arrow__button:hover{ background:var(--brass); color:var(--ink); }
.arrow__button svg{ fill:currentColor; }

/* horizontal product cards (brand quality / recommended) */
.product-card--layout--horizontal{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); transition:border-color .15s, box-shadow .15s; }
.product-card--layout--horizontal:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.product-card--layout--horizontal .product-card__name a{ color:var(--text); font-weight:500; }

/* ================= Phase 2c: remaining home blocks ================= */

/* car brand logos */
.block-brands__list{ border:0; background:transparent; gap:12px; }
.block-brands__divider{ display:none; }
.block-brands--layout--columns-8-full .block-brands__item, .block-brands__item{
  width:calc((100% - 84px) / 8); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  transition:border-color .15s, transform .15s, box-shadow .15s;
}
.block-brands__item:hover{ border-color:var(--brass); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.block-brands__item-link{ padding:16px 10px 12px; }
.block-brands__item-link img{ max-height:56px; width:auto; margin:0 auto; }
.block-brands__item-name{ position:static; transform:none; display:block; margin-top:8px; font-size:10.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); text-align:center; line-height:1.3; }
@media (max-width:1199px){ .block-brands--layout--columns-8-full .block-brands__item, .block-brands__item{ width:calc((100% - 60px) / 6); } }
@media (max-width:767px){ .block-brands--layout--columns-8-full .block-brands__item, .block-brands__item{ width:calc((100% - 24px) / 3); } }

/* best sellers carousel (block-sale) */
.block-sale .decor{ display:none; }
.block-sale__header{ padding:0 0 18px; margin:0 auto; }
.block-sale .block-categories__title{ font-size:26px; margin:0; padding:0 24px; }
.block-sale__body{ padding-top:24px; padding-bottom:24px; background:transparent; }
.block-sale__body::before, .block-sale__body::after{ display:none; }
.block-sale .product-card, .block-products-carousel .product-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:none; transition:border-color .15s, box-shadow .15s;
}
.block-sale .product-card:hover, .block-products-carousel .product-card:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.block-sale .owl-carousel .owl-item, .block-products-carousel .owl-carousel .owl-item{ padding:2px; }

/* product card details shared by grids and carousels */
.product-card__name a{ color:var(--text); font-weight:500; }
.product-card__name a:hover{ color:var(--ink-2); }
.product-card__meta{ font-size:11.5px; color:var(--text-faint); }
.product-card__price--new{ font-weight:700; color:var(--ink); font-size:16px; }
.product-card__price--old{ color:var(--text-faint); }
.tag-badge--sale{ background:var(--red); border-radius:999px; }
.tag-badge--theme{ background:var(--ink-2); border-radius:999px; }
.product-card__footer{ border-right:0; }

/* icon banners (Авточасти / Масла / Акумулатори ...) and image banners */
.banners{ gap:14px; }
.banners a{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:10px; transition:border-color .15s, transform .15s, box-shadow .15s; }
.banners a:hover{ border-color:var(--brass); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.banners img{ border-radius:var(--radius-sm); }
.block-banners__item{ border-radius:var(--radius-lg); }
.block-banners__item-image{ border-radius:var(--radius-lg); }
.block-banners__item-title{ font-family:var(--font-head); font-weight:600; color:var(--brass); letter-spacing:.02em; }
.block-banners__item-details{ color:rgba(255,255,255,.85); }
.block-banners__item .btn{ background:var(--brass); border-color:var(--brass); color:var(--ink); border-radius:999px; font-weight:600; }
.block-banners__item .btn:hover{ background:var(--brass-deep); border-color:var(--brass-deep); color:var(--ink); }

/* blog cards */
.post-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:none; overflow:hidden; transition:border-color .15s, box-shadow .15s; }
.post-card:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.post-card__image img{ border-radius:0; }
.post-card__title, .post-card__title h2, .post-card__title a{ font-family:var(--font-head); font-size:17px; font-weight:600; line-height:1.25; color:var(--text); }
.post-card__title a:hover{ color:var(--ink-2); text-decoration:none; }
.post-card__date{ font-size:12px; color:var(--text-faint); }
.post-card__excerpt, .post-card__excerpt .typography{ font-size:13.5px; color:var(--text-soft); }

/* reviews block */
.block-reviews .nasFeedbackBox{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); }
.block-reviews h5, .block-reviews h4{ font-family:var(--font-head); }
.block-reviews__title{ font-size:26px; font-weight:600; }
/* best sellers: drop the dark photo band, keep a light block */
.block-sale__image{ display:none !important; }
.block-sale__body{ padding-top:12px !important; padding-bottom:16px !important; }
.block-sale__header{ padding-top:0; }
.block-sale__controls{ display:flex; align-items:center; justify-content:center; gap:14px; }
.block-sale__arrow{ position:static !important; }

/* ---------- fixes: arrows, badges, card corners, reviews ---------- */
.arrow__button{ background:transparent; color:#fff; }
.arrow__button::before{ transform:none !important; left:0 !important; right:0 !important; width:100% !important; border-radius:999px; background:var(--ink); transition:background .15s; }
.arrow__button::after{ display:none; }
.arrow__button:hover{ background:transparent; color:var(--ink); }
.arrow__button:hover::before{ background:var(--brass); }
.tag-badge{ font-weight:600; letter-spacing:.02em; padding:4px 10px 0; height:18px; }
.tag-badge::before{ transform:none !important; left:0 !important; right:0 !important; border-radius:999px; }
.tag-badge--sale, .tag-badge--sale::before{ background:var(--red); }
.tag-badge--theme, .tag-badge--theme::before{ background:var(--ink-2); }
.rd-prod-grid .product-card, .block-sale .product-card, .block-products-carousel .product-card, .product-card--layout--horizontal{ overflow:hidden; }
.block-reviews .nasFeedback > img{ max-width:240px; }
.block-reviews .nasFeedbackBox{ padding:22px 26px; }
.block-reviews .nasFeedbackBox h5{ font-size:20px; font-weight:600; margin-bottom:6px; }
.block-reviews .feedbackCounter h4{ color:var(--brass-deep); font-family:var(--font-head); font-size:28px; }
.block-reviews .feedbackCounter p, .block-reviews .feedbackCounter p span{ font-size:15px; color:var(--text-soft); }
.block-reviews .nasFeedbackBox .btnRev{ background:var(--brass); color:var(--ink); border:0; border-radius:999px; line-height:44px; padding:0 26px; font-size:13px; margin-top:14px; }
.block-reviews .nasFeedbackBox .btnRev:hover{ background:var(--brass-deep); }
/* select2 dropdown options */
.select2-container--default .select2-results__option{ padding:9px 14px; font-size:14px; color:var(--text); }
.select2-container--default .select2-results__option[aria-selected=true]{ background:var(--ink) !important; color:#fff !important; }
.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted{ background:var(--ink-2) !important; color:#fff !important; }
.select2-container--default .select2-search--dropdown .select2-search__field{ border:1px solid var(--line-2); border-radius:var(--radius-sm); padding:8px 12px; font-family:var(--font-body); }
.select2-container--default .select2-search--dropdown .select2-search__field:focus{ border-color:var(--brass); outline:0; box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.select2-results__option img{ margin-right:8px; vertical-align:middle; }

/* ================= Phase 3: product card, product page, cart ================= */

/* ---------- product card (grid) ---------- */
.product-card--layout--grid{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow:none; transition:border-color .15s, box-shadow .15s; }
.product-card--layout--grid:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.product-card--layout--grid .product-card__image{ padding:14px 14px 4px; }
.product-card--layout--grid .product-card__image .image--type--product{ width:100%; }
.product-card--layout--grid .product-card__image .image__body{ background:var(--paper); border-radius:var(--radius-sm); padding-bottom:78%; }
.product-card--layout--grid .product-card__image .image__tag{ padding:10px; mix-blend-mode:multiply; }
.product-card--layout--grid .product-card__fit{ left:20px; bottom:10px; }
.product-card--layout--grid .right-badge{ right:20px; bottom:10px; background:var(--surface); border-radius:6px; padding:2px 6px; }
.product-card--layout--grid .right-badge img{ max-height:22px; width:auto; }
.product-card--layout--grid .status-badge__body{ min-height:20px; border-radius:999px; }
.product-card--layout--grid .product-card__meta{ padding:8px 16px 0; font-size:11px; color:var(--text-faint); letter-spacing:.02em; }
.product-card--layout--grid .product-card__name{ padding:2px 16px 0; font-size:13.5px; line-height:1.35; min-height:40px; max-height:none; }
.product-card--layout--grid .product-card__name a{ color:var(--text); font-weight:500; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-card--layout--grid .product-card__badges{ position:static; flex-direction:row; gap:6px; margin:0 0 6px; }
.product-card__image .product-card__badges{ position:absolute; top:10px; left:10px; flex-direction:column; }
.product-card--layout--grid .product-card__footer{ padding:12px 16px 16px; flex-wrap:wrap; gap:10px; border:0; }
.product-card--layout--grid .product-card__prices{ max-width:none !important; flex:1 1 100%; display:flex; flex-direction:row; align-items:baseline; gap:8px; }
.product-card__price--current, .product-card__price--new{ font-size:17px; font-weight:700; color:var(--ink); order:0; }
.product-card__price--old{ font-size:12.5px; color:var(--text-faint); text-decoration:line-through; margin:0; order:1; }
.product-card--layout--grid .product-card__addtocart-icon, .product-card--layout--grid .product-card__addtocart-full{
  margin:0 !important; flex:1 1 100%; width:100%; height:38px; border:0; border-radius:var(--radius-sm); background:var(--ink); color:#fff;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:12.5px; font-weight:600; font-family:var(--font-body); cursor:pointer; transition:background .15s;
}
.product-card--layout--grid .product-card__addtocart-icon::before, .product-card--layout--grid .product-card__addtocart-full::before{ display:none !important; }
.product-card--layout--grid .product-card__addtocart-icon::after, .product-card--layout--grid .product-card__addtocart-full::after{ content:"Добави"; }
.product-card--layout--grid .product-card__addtocart-icon svg, .product-card--layout--grid .product-card__addtocart-full svg{ width:16px; height:16px; fill:currentColor; }
.product-card--layout--grid .product-card__addtocart-icon:hover, .product-card--layout--grid .product-card__addtocart-full:hover,
.product-card:hover .product-card__addtocart-icon, .product-card:hover .product-card__addtocart-icon:hover{ background:var(--ink-2); color:#fff; }
.product-card--layout--grid .product-card__addtocart-icon:active{ background:var(--brass); color:var(--ink); }
.rd-prod-grid .product-card, .block-sale .product-card, .block-products-carousel .product-card{ padding-left:0; }

/* ---------- product page ---------- */
.product--layout--full .product__body{ gap:20px 24px; }
.product__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; }
.product-gallery__featured{ border-radius:var(--radius-md); background:var(--surface); }
.product-gallery__thumbnails-item{ border:1px solid var(--line); border-radius:var(--radius-sm); }
.product-gallery__thumbnails-item--active{ border-color:var(--brass); box-shadow:0 0 0 2px rgba(201,154,62,.25); }
.product-gallery__zoom{ border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--ink-2); }
.product__title{ font-family:var(--font-head); font-size:26px; font-weight:600; line-height:1.15; letter-spacing:.01em; }
.product__subtitle{ gap:10px; flex-wrap:wrap; }
.product__features{ border:0; }
.product__features-title{ font-family:var(--font-head); font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); }
.product__features table td, .product__features table th{ font-size:13.5px; padding:8px 0; border-bottom:1px solid var(--line); }
.product__info-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; }
.product__info-body{ padding:24px 24px 8px; }
.product__badge.tag-badge{ margin-bottom:10px; }
.product__stock .status-badge__body{ border-radius:999px; }
.product__prices{ padding:10px 0 4px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.product__price--current{ font-family:var(--font-head); font-size:32px; font-weight:700; color:var(--ink); }
.product__price--old{ font-size:15px; color:var(--text-faint); margin:0; }
.product__price--deposit{ font-size:13px; color:var(--text-soft); flex-basis:100%; }
.product__meta{ margin:10px 0 0; }
.product__meta table{ width:100%; }
.product__meta td, .product__meta th{ padding:7px 0; font-size:13px; border-bottom:1px solid var(--line); vertical-align:middle; }
.product__meta th, .product__meta td:first-child{ color:var(--text-faint); font-weight:500; padding-right:12px; }
.product__meta a{ color:var(--ink-2); font-weight:500; }
.product__actions{ padding:16px 24px 24px; gap:10px; align-items:center; }
.product__actions-item--quantity .input-number{ max-width:110px; border:1px solid var(--line-2); border-radius:999px; overflow:hidden; background:var(--surface); }
.product__actions-item--quantity .input-number__input{ border:0; height:44px; background:transparent; font-weight:600; text-align:center; color:var(--text); box-shadow:none; }
.product__actions-item--quantity .input-number__add, .product__actions-item--quantity .input-number__sub{ width:32px; opacity:.75; }
.product__actions-item--quantity .input-number__add:hover, .product__actions-item--quantity .input-number__sub:hover{ opacity:1; }
.product__actions #addToCart, .product__actions .btn-primary{ flex:1 1 auto; height:46px; border-radius:999px; background:var(--brass) !important; border-color:var(--brass) !important; color:var(--ink) !important; font-weight:700; font-size:14px; letter-spacing:.02em; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.product__actions #addToCart:hover, .product__actions .btn-primary:hover{ background:var(--brass-deep) !important; border-color:var(--brass-deep) !important; }
.product__actions #addToCart svg{ fill:currentColor; width:18px; height:18px; }
.product__actions-divider{ display:none; }
.product__tags .tags__list a, .product__tags-and-share-links .docview{ border-radius:999px; }
/* related categories (right column) */
.product__info-card h4, .prod h4{ font-family:var(--font-head); font-size:16px; font-weight:600; letter-spacing:.02em; }
/* tabs */
.product__tabs{ margin-top:22px; }
.product-tabs__list{ border-bottom:1px solid var(--line); gap:6px; }
.product-tabs__item a{ font-size:13.5px; font-weight:600; color:var(--text-faint); padding:12px 16px; border-radius:var(--radius-sm) var(--radius-sm) 0 0; box-shadow:none !important; }
.product-tabs__item a:hover{ color:var(--text); background:var(--paper); }
.product-tabs__item--active a, .product-tabs__item--active a:hover{ color:var(--ink); box-shadow:0 -2px var(--brass) inset !important; background:transparent; }
.product-tabs__item-counter{ display:inline-block; min-width:20px; height:20px; line-height:20px; text-align:center; background:var(--brass-soft); color:var(--brass-deep); border-radius:999px; padding:0 7px; font-size:11px; font-weight:700; margin-left:6px; vertical-align:middle; }
.product-tabs__item-counter:empty{ display:none; }
#reloadTotalReview{ display:inline; }
.product-tabs__content{ background:var(--surface); border:1px solid var(--line); border-top:0; border-radius:0 0 var(--radius-lg) var(--radius-lg); }
.spec__section-title{ font-family:var(--font-head); font-size:16px; font-weight:600; }

/* ---------- cart ---------- */
.cart{ gap:24px; }
.cart-table{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; overflow:hidden; }
.cart-table__head{ font-family:var(--font-head); font-size:11px; letter-spacing:.08em; color:var(--text-faint); background:var(--paper); }
.cart-table__column{ padding:14px 16px; border-bottom:1px solid var(--line); font-size:14px; }
.cart-table__row{ box-shadow:none; }
.cart-table__product-name{ font-weight:500; color:var(--text); }
.cart-table__options{ font-size:12px; color:var(--text-faint); }
.cart-table__column--total{ font-weight:700; color:var(--ink); }
.cart-table__quantity.input-number{ border:1px solid var(--line-2); border-radius:999px; overflow:hidden; background:var(--surface); }
.cart-table__quantity .input-number__input{ border:0; box-shadow:none; background:transparent; font-weight:600; text-align:center; }
.cart-table__remove{ color:var(--text-faint); border-radius:999px; }
.cart-table__remove:hover{ color:var(--red); background:var(--red-soft); }
.cart__totals .card{ position:sticky; top:150px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); }
.cart__totals .card-title{ font-family:var(--font-head); font-size:18px; font-weight:600; letter-spacing:.02em; margin-bottom:14px; }
.cart__totals-table{ font-size:14px; }
.cart__totals-table th, .cart__totals-table td{ padding:9px 0; }
.cart__totals-table th{ color:var(--text-soft); font-weight:500; }
.cart__totals-table tfoot th, .cart__totals-table tfoot td{ font-size:17px; font-weight:700; color:var(--text); border-top:1px solid var(--line); padding-top:14px; }
.cart__totals .btn-xl{ height:50px; border-radius:999px; background:var(--brass) !important; border-color:var(--brass) !important; color:var(--ink) !important; font-weight:700; font-size:15px; }
.cart__totals .btn-xl:hover{ background:var(--brass-deep) !important; border-color:var(--brass-deep) !important; }
.cart .btn-primary:not(.btn-xl){ border-radius:999px; }
.block-empty__body{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); }
.block-empty__title{ font-family:var(--font-head); font-size:24px; font-weight:600; }
@media (max-width:991px){ .cart__totals .card{ position:static; } }
/* card fixes: button shape, price row */
.product-card--layout--grid .product-card__addtocart-full, .product-card--layout--grid .product-card__addtocart-icon,
.block-zone__carousel-item .product-card .product-card__addtocart-full, .block-products-carousel__cell .product-card .product-card__addtocart-full{
  height:38px !important; line-height:38px !important; border-radius:var(--radius-sm) !important; padding:0 12px !important; margin:0 !important; width:100% !important; display:inline-flex !important;
}
.product-card--layout--grid .product-card__prices, .product-card_recomended .product-card__prices{
  flex-direction:row !important; flex-wrap:wrap; align-items:baseline; gap:8px; text-align:left; border-left:0 !important; padding-left:0 !important; max-width:none !important; width:100%;
}
.product-card--layout--grid .product-card__price--old{ margin:0 !important; }
.product-card--layout--grid .right-badge{ background:transparent; padding:0; }
/* card button: beat theme rules with !important */
.product-card .product-card__addtocart-full, .product-card .product-card__addtocart-icon, .product-card button[name="addToCart"]{
  height:38px !important; width:100% !important; border-radius:8px !important; padding:0 12px !important; margin:0 !important; line-height:38px !important;
  background:var(--ink) !important; color:#fff !important; display:inline-flex !important; align-items:center; justify-content:center; gap:8px; font-size:12.5px; font-weight:600;
}
.product-card button[name="addToCart"]:hover{ background:var(--ink-2) !important; }
.product-card button[name="addToCart"]::before{ display:none !important; }
.product-card button[name="addToCart"] svg{ width:16px !important; height:16px !important; fill:currentColor; }
.product-card--layout--grid .product-card__price--new, .product-card--layout--grid .product-card__price--current{ flex-basis:auto !important; }
/* beat the inline id rule for the recommended cards */
.product-card .product-card_recomended #addToCart, .product-card .product-card__footer #addToCart, .product-card #addToCart{
  height:38px !important; width:100% !important; border-radius:8px !important; padding:0 12px !important; margin:0 !important; line-height:38px !important; display:inline-flex !important;
}
/* generalize the card footer/button layout to every vertical card (not only --layout--grid) */
.product-card:not(.product-card--layout--horizontal) .product-card__footer{ padding:12px 16px 16px !important; flex-wrap:wrap; gap:10px; border:0 !important; align-items:center; }
.product-card:not(.product-card--layout--horizontal) .product-card__prices{ flex:1 1 100%; max-width:none !important; display:flex; flex-direction:row !important; flex-wrap:wrap; align-items:baseline; gap:8px; text-align:left; border-left:0 !important; padding-left:0 !important; }
.product-card:not(.product-card--layout--horizontal) .product-card__price--new, .product-card:not(.product-card--layout--horizontal) .product-card__price--current{ flex-basis:auto !important; white-space:nowrap; }
.product-card:not(.product-card--layout--horizontal) .product-card__price--old{ margin:0 !important; }
.product-card:not(.product-card--layout--horizontal) button[name="addToCart"]{ flex:1 1 100%; }
.product-card:not(.product-card--layout--horizontal) button[name="addToCart"]::after{ content:"Добави"; }
.product-card:not(.product-card--layout--horizontal){ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; box-shadow:none; }
.product-card:not(.product-card--layout--horizontal) .product-card__image{ padding:14px 14px 4px; }
.product-card:not(.product-card--layout--horizontal) .product-card__image .image__body{ background:var(--paper); border-radius:var(--radius-sm); }
.product-card:not(.product-card--layout--horizontal) .product-card__meta{ padding:8px 16px 0; font-size:11px; color:var(--text-faint); }
.product-card:not(.product-card--layout--horizontal) .product-card__name{ padding:2px 16px 0; font-size:13.5px; line-height:1.35; }

/* ---------- car tiles (brand / model / modification pages): bigger car images ---------- */
.categories-list__item:has(img[src*="/f/cars/"], img[src*="/f/media/models/"]) .image--type--category{ max-width:100% !important; width:100%; }
.categories-list__item:has(img[src*="/f/cars/"], img[src*="/f/media/models/"]) .image__body{ padding-bottom:58% !important; background:transparent; border-radius:var(--radius-sm); }
.categories-list__item:has(img[src*="/f/cars/"], img[src*="/f/media/models/"]) .image__tag{ padding:6px; object-fit:contain; }
.categories-list__item:has(img[src*="/f/cars/"], img[src*="/f/media/models/"]) .categories-list__item-name{ font-size:14px; margin-top:4px; }
.categories-list__item:has(img[src*="/f/cars/"], img[src*="/f/media/models/"]){ padding:12px !important; }
/* carousel arrows: separate the prev/next pills everywhere */
.section-header__arrows, .block-sale__controls, .block-posts-carousel__arrows, .block-zone__widget-header{ display:flex; align-items:center; gap:10px; }
.section-header__arrow, .block-posts-carousel__arrow, .block-sale__arrow{ margin:0 !important; }
.arrow__button{ min-width:40px; height:30px !important; padding:0 14px !important; }
.arrow__button::before{ border-radius:999px; }
/* carousel arrows: center the chevron */
.arrow__button{ display:inline-flex !important; align-items:center; justify-content:center; width:40px !important; min-width:40px; padding:0 !important; margin:0 !important; position:relative; }
.arrow--prev .arrow__button, .arrow--next .arrow__button{ padding:0 !important; }
.arrow__button svg{ position:static !important; margin:0 !important; width:7px; height:11px; display:block; }

/* ---------- fuel filter above modification tables ---------- */
.rd-fuel-filter{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 12px; }
.rd-fuel-filter:empty{ display:none; }
.rd-fuel-filter__label{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-right:4px; }
.rd-fuel-filter .rd-chip{ cursor:pointer; font-family:var(--font-body); font-size:12.5px; padding:7px 14px; transition:background .15s, color .15s, border-color .15s; }
.rd-fuel-filter .rd-chip b{ font-weight:600; opacity:.6; }
.rd-fuel-filter .rd-chip:hover{ border-color:var(--ink-2); color:var(--text); }
.rd-fuel-filter .rd-chip--active, .rd-fuel-filter .rd-chip--active:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-fuel-filter .rd-chip--active b{ opacity:.75; }
.analogs-table tbody tr[hidden]{ display:none; }

/* ---------- modification pages (parts2_1): car header, note, table ---------- */
.fltr2_1{ padding:6px 0 10px; }
.rd-carhead{ display:flex; align-items:center; gap:22px; margin-bottom:14px; flex-wrap:wrap; }
.rd-carhead__img{ width:220px !important; max-width:42%; height:auto; flex:0 0 auto; }
.filter__title_parts2{ margin:0 !important; font-family:var(--font-head); font-size:22px; font-weight:600; line-height:1.2; color:var(--text); flex:1 1 260px; }
.rd-note{ display:flex; align-items:center; gap:10px; background:var(--amber-soft); color:var(--amber); border-radius:var(--radius-sm); padding:10px 14px; font-size:13.5px; font-weight:600; margin:0 0 12px !important; }
.rd-note::before{ content:"\2193"; display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:var(--amber); color:#fff; font-size:12px; flex:0 0 auto; }
.rd-fuel-filter{ margin:0 0 12px; }
.card-table .analogs-table, .analogs-table{ border-collapse:separate; border-spacing:0; font-size:14px; }
.analogs-table thead th{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; color:var(--text-faint); padding:10px 12px !important; background:var(--paper); border-bottom:1px solid var(--line); }
.analogs-table thead th:first-child{ border-radius:var(--radius-sm) 0 0 0; }
.analogs-table thead th:last-child{ border-radius:0 var(--radius-sm) 0 0; }
.analogs-table tbody td{ padding:0 !important; border-bottom:1px solid var(--line); vertical-align:middle; }
.analogs-table tbody td a.modification{ display:block; padding:13px 12px; color:var(--text); }
.analogs-table tbody tr:hover td{ background:var(--brass-soft); }
.analogs-table tbody td.sc_styleFull a{ font-weight:600; padding-left:12px !important; }
.analogs-table tbody td.sc_style3 a{ text-transform:capitalize; color:var(--text-soft); }
.analogs-table tbody td.sc_style2 a{ font-family:ui-monospace, "Roboto Mono", Consolas, monospace; font-size:12.5px; color:var(--text-soft); }
.analogs-table .rd-row-go{ width:36px; text-align:center; }
.analogs-table tbody td.rd-row-go a{ color:var(--text-faint); font-size:22px; line-height:1; padding:10px 8px; }
.analogs-table tbody tr:hover td.rd-row-go a{ color:var(--ink); }
/* mobile variant of the table */
.analogs-table tbody td.analogs-table__column a.modification{ padding:12px 8px; }
/* modification table: grouping by modification */
.analogs-table.rd-grouped tbody tr.rd-group-odd td{ background:var(--paper); }
.analogs-table.rd-grouped tbody tr.rd-group-first td{ border-top:2px solid var(--line-2); }
.analogs-table.rd-grouped tbody tr.rd-group-first:first-child td{ border-top:0; }
.analogs-table.rd-grouped tbody tr.rd-group-cont td:first-child a{ color:transparent; }
.analogs-table.rd-grouped tbody tr.rd-group-cont td:first-child a::before{ content:"\21B3"; color:var(--text-faint); display:inline-block; margin-left:14px; }
.analogs-table.rd-grouped tbody tr:hover td{ background:var(--brass-soft); }
/* header menu: keep on one row at narrower desktop widths */
.site__header .main-menu__list{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
.site__header .main-menu__list::-webkit-scrollbar{ display:none; }
.site__header .main-menu__item{ flex:0 0 auto; }
.site__header .main-menu__link{ white-space:nowrap; }
@media (max-width:1700px){ .site__header .main-menu__link{ padding:8px 9px; font-size:12.5px; } }
.site__body .card.mb-4 .card-body{ font-size:14px; line-height:1.6; }
.site__body .card.mb-4 h2, .site__body .card.mb-4 h3{ font-size:18px; letter-spacing:.02em; }

/* ---------- category listing (cat.tpl): sidebar filters, view options, list, pagination ---------- */
.block-split__item-sidebar .widget-filters, .widget-filters{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; overflow:hidden; }
.widget-filters .filter__title{ font-family:var(--font-head); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text); background:transparent; }
.widget-filters .filter__title:hover{ background:var(--paper); }
.widget-filters .filter__container{ padding-top:6px; }
.widget-filters .widget-filters__item{ border-bottom:1px solid var(--line); }
.widget-filters .widget-filters__item:last-child{ border-bottom:0; }
.widget-filters .filter-list__title{ color:var(--text-soft); font-size:13.5px; }
.widget-filters .filter-list__item:hover .filter-list__title{ color:var(--text); }
.widget-filters .filter-list__counter{ color:var(--text-faint); font-size:12px; }
.widget-filters .input-check__box{ border-radius:4px; box-shadow:0 0 0 1px var(--line-2) inset; }
.widget-filters .input-check__input:checked ~ .input-check__box{ background:var(--ink); box-shadow:none; }
.widget-filters select.form-control, .widget-filters .form-control{ border:1px solid var(--line-2); border-radius:var(--radius-sm); background:var(--surface); font-size:13.5px; }
.widget-filters .btn-secondary, .widget-filters .btn-primary{ border-radius:999px; }
/* view options bar (sort / layout) */
.view-options{ background:var(--surface); border:1px solid var(--line); border-radius:999px; box-shadow:none; }
.view-options__body{ padding:8px 10px 8px 18px; gap:10px; }
.view-options__legend, .view-options__select label{ font-size:12.5px; color:var(--text-faint); font-weight:600; }
.view-options__select .form-control{ border:1px solid var(--line-2); border-radius:999px; font-size:13px; height:34px; padding:0 30px 0 14px; background-color:var(--surface); }
.layout-switcher__button{ border-radius:999px; color:var(--text-faint); }
.layout-switcher__button--active{ background:var(--ink); color:#fff; }
.filters-button{ border-radius:999px; background:var(--paper); font-weight:600; }
/* product list */
.products-list__head{ border-bottom:1px solid var(--line); color:var(--text-faint); font-family:var(--font-head); letter-spacing:.06em; font-weight:600; }
.products-list__content .products-list__item{ padding:6px; }
/* pagination */
.products-view__pagination{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; }
.products-view__pagination-legend{ color:var(--text-faint); font-size:13px; }
.page-link{ border-radius:999px !important; border:1px solid var(--line-2); color:var(--text); margin:0 3px; min-width:36px; text-align:center; }
.page-link:hover{ border-color:var(--ink-2); color:var(--ink-2); background:var(--surface); }
.page-item.active .page-link{ background:var(--ink); border-color:var(--ink); color:#fff; }
/* universal category tiles (icon tiles) */
.categories-list__item.cat_univ{ padding:1.5rem 1rem !important; }
.categories-list__item.cat_univ .categories-list__item-name{ font-family:var(--font-head); font-size:14px; letter-spacing:.03em; }

/* ---------- own-product page extras: related products widget, cart modal buttons ---------- */
.widget-products{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg) !important; box-shadow:none; overflow:hidden; }
.widget-products .widget__title, .widget-products h4{ font-family:var(--font-head); font-size:16px; font-weight:600; letter-spacing:.02em; }
.widget-products__item{ border-bottom:1px solid var(--line); }
.widget-products__item:last-child{ border-bottom:0; }
.widget-products__name a{ color:var(--text); font-weight:500; }
.widget-products__name a:hover{ color:var(--ink-2); }
.widget-products__prices{ font-weight:700; color:var(--ink); }
.widget-products__image{ background:var(--paper); border-radius:var(--radius-sm); }
.btn-success{ background:var(--green) !important; border-color:var(--green) !important; color:#fff !important; border-radius:999px !important; font-weight:600; }
.btn-success:hover{ filter:brightness(.92); }
#cart-modal, .cart-modal__body{ border-radius:var(--radius-lg); }
/* product page side headings: same size as the related-products widget */
.product__info h4, .product__info-card h4, .prod h4, .product h4.spec__section-title{ font-family:var(--font-head); font-size:16px; font-weight:600; letter-spacing:.02em; }

/* ================= product page: artifact structure (rd-pd) ================= */
.rd-pd{ display:block; }
.rd-pd .product__body{ display:block; }
.rd-pd__grid{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:32px; align-items:start; }
.rd-pd__gallery{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; position:sticky; top:150px; }
.rd-pd__gallery .product-gallery__featured{ border:0; }
.rd-pd__gallery .product-gallery__thumbnails{ margin-top:12px; }
.rd-pd__gallery .thumb-brand{ display:flex; justify-content:flex-end; margin-top:6px; }
.rd-pd__gallery .thumb-brand img{ max-height:36px; width:auto; }
.rd-pd__info{ min-width:0; }
.rd-pd__brand{ font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); margin-bottom:6px; }
.rd-pd__brand a{ color:inherit; }
.rd-pd .product__header{ padding:0; margin:0 0 8px; }
.rd-pd .product__title{ font-size:clamp(22px,2.4vw,30px); margin:0; }
.rd-pd__sku{ display:flex; flex-wrap:wrap; gap:6px 18px; font-size:12.5px; color:var(--text-faint); margin-bottom:18px; }
.rd-pd__sku b{ font-weight:600; color:var(--text-soft); }
.rd-pd__sku .copyCode{ margin-left:6px; font-size:11px; padding:2px 8px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface); cursor:pointer; }
.rd-pd__card{ margin-bottom:18px; }
.rd-pd__card .product__info-body{ padding:20px 22px 0; }
.rd-pd__card .product__prices{ padding:0; gap:12px; }
.rd-pd__card .product__prices .rd-chip{ align-self:center; }
.rd-pd__stock{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; margin:10px 0 4px; }
.rd-pd__stock--ok{ color:var(--green); }
.rd-pd__stock--no{ color:var(--red); }
.rd-pd__dot{ width:8px; height:8px; border-radius:50%; background:currentColor; }
.rd-pd__card .product__actions{ padding:14px 22px 18px; }
.rd-pd__card .product__actions .product__actions-item--addtocart{ flex:1 1 220px; }
.rd-pd__card .product__actions p{ margin:0; font-size:16px !important; color:var(--red) !important; }
.rd-pd__trust{ list-style:none; margin:0; padding:14px 22px; display:flex; flex-wrap:wrap; gap:8px 22px; border-top:1px solid var(--line); }
.rd-pd__trust li{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-soft); }
.rd-pd__trust svg{ width:16px; height:16px; stroke:var(--brass-deep); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.rd-pd__tabs{ margin-top:0; }
.rd-pd__tabs .product-tabs__pane{ padding:18px 22px; }
.rd-pd__tabs .product__excerpt{ font-size:14.5px; line-height:1.65; color:var(--text-soft); }
.rd-pd__tabs .product__excerpt p{ margin-bottom:10px; }
.rd-pd__tabs .product__meta{ margin:0; }
.rd-pd__tabs .product__meta table{ width:100%; }
.rd-pd__below{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:28px; }
.rd-pd__below .widget-products{ margin:0; }
.rd-pd__below .widget__header{ padding:16px 20px 6px; }
.rd-pd__below .widget__header h4{ margin:0; }
.rd-pd__below .widget-products__list{ padding:6px 12px 12px; }
.rd-pd__variants .rel-pr-tab{ padding:10px 8px !important; border-bottom:1px solid var(--line) !important; margin:0 !important; }
.rd-pd__variants .rel-pr-tab:last-child{ border-bottom:0 !important; }
.rd-pd__variants .rel-pr__price--old{ color:var(--text-faint); }
.rd-pd__variants button[name="addToCart"]{ background:var(--ink); border-radius:999px; border:0; width:44px !important; height:44px !important; min-height:0; padding:0 !important; line-height:1; display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; box-shadow:none; transition:background .15s; }
.rd-pd__variants button[name="addToCart"]:active{ transform:scale(.95); }
.rd-pd__variants button[name="addToCart"]:hover{ background:var(--brass); }
.rd-pd__variants button[name="addToCart"] svg{ width:22px; height:20px; display:block; fill:#fff; }
.rd-pd__variants button[name="addToCart"] svg *{ fill:#fff; }
@media (max-width:991px){
  .rd-pd__grid{ grid-template-columns:1fr; gap:20px; }
  .rd-pd__gallery{ position:static; }
  .rd-pd__below{ grid-template-columns:1fr; }
}
/* TecDoc product variant */
.rd-pd--tecdoc .product__subtitle{ padding-top:6px; margin-bottom:10px; }
.rd-pd--tecdoc .product__header .thumb-brand{ display:none; }
.rd-pd__desc{ margin-top:18px; }
.rd-pd__desc .product__main{ padding:0; margin:0 0 14px; }
.rd-pd__desc .product__features{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 22px; margin:0; }
.rd-pd__desc .product__excerpt{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 22px; font-size:14px; color:var(--text-soft); }
.rd-pd__fit{ display:flex; align-items:center; gap:12px; margin:0 22px 18px; padding:14px 16px; background:var(--brass-soft); border-radius:var(--radius-md); color:var(--text); }
.rd-pd__fit svg{ width:22px; height:22px; stroke:var(--brass-deep); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.rd-pd__fit span{ display:flex; flex-direction:column; line-height:1.3; }
.rd-pd__fit b{ font-size:13px; font-weight:600; }
.rd-pd__fit small{ font-size:11.5px; color:var(--text-soft); }
.rd-pd__fit em{ margin-left:auto; font-style:normal; font-size:12px; font-weight:700; color:var(--ink-3); white-space:nowrap; }
.rd-pd__fit:hover{ background:#ead7ad; color:var(--text); }
.rd-pd--tecdoc .product__tabs{ margin-top:28px; }
.rd-pd--tecdoc .product__tabs .product-tabs__pane{ padding:18px 22px; }
.rd-pd__below--single{ grid-template-columns:1fr; }
.rd-pd__card .product__meta{ margin:12px 0 0; }
.rd-pd__card .product__meta td, .rd-pd__card .product__meta th{ font-size:12.5px; padding:6px 0; }
.rd-pd__card .product__tags-and-share-links{ padding:0 22px; }
.rd-pd .product__info{ position:static; }
/* related categories under the product: tile row instead of a vertical list */
.rd-pd__cats .widget-products__list{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:6px 16px 16px; }
.rd-pd__cats .widget-products__item{ margin:0; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); align-items:center; transition:border-color .15s; }
.rd-pd__cats .widget-products__item:hover{ border-color:var(--brass); }
.rd-pd__cats .widget-products__image{ width:52px; margin:0 10px 0 0; background:var(--paper); border-radius:var(--radius-sm); }
.rd-pd__cats .widget-products__name{ height:auto; font-size:13px; line-height:1.3; }
.rd-pd__cats .widget-products__name a{ font-weight:500; color:var(--text); }
@media (max-width:1199px){ .rd-pd__cats .widget-products__list{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:767px){ .rd-pd__cats .widget-products__list{ grid-template-columns:repeat(2,1fr); } }
/* description tab on TecDoc product pages */
.rd-pd__desc-tab .product__features-title{ display:none; }
.rd-pd__desc-tab .product__main{ padding:0; margin:0 0 14px; }
.rd-pd__desc-tab .product__features, .rd-pd__desc-tab .product__excerpt{ border:0; border-radius:0; padding:0; background:transparent; }
.rd-pd__desc-tab .product__features table{ width:100%; max-width:720px; }
/* product page: align brand, title, badge, sku and card on one left edge */
.rd-pd .product__header{ padding:0 !important; margin:0 0 8px !important; }
.rd-pd .product__subtitle .status-badge{ margin-left:0 !important; }
.rd-pd .product__info{ padding:0 !important; margin:0 !important; width:auto !important; max-width:none !important; }
.rd-pd .product__main{ padding:0 !important; }

/* ---------- product tabs: alternatives + car applications tables ---------- */
.product-tabs__pane .analogs-table{ width:100%; border-collapse:separate; border-spacing:0; font-size:13.5px; }
.product-tabs__pane .analogs-table thead th{ text-align:left; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); background:var(--paper); padding:10px 12px !important; border-bottom:1px solid var(--line); }
.product-tabs__pane .analogs-table thead th:first-child{ border-radius:var(--radius-sm) 0 0 0; }
.product-tabs__pane .analogs-table thead th:last-child{ border-radius:0 var(--radius-sm) 0 0; }
.product-tabs__pane .analogs-table tbody td{ padding:10px 12px !important; border-bottom:1px solid var(--line); vertical-align:middle; text-align:left; }
.product-tabs__pane .analogs-table tbody td a{ color:var(--text); display:inline-block; }
.product-tabs__pane .analogs-table tbody tr:hover td{ background:var(--paper); }
.product-tabs__pane .analogs-table .status-badge__body{ border-radius:999px; }
.product-tabs__pane .analogs-table .status-badge__text{ font-size:12px; }
/* alternatives */
.rd-alt-table .rd-alt-table__logo, .rd-alt-table td.analogs-table__column--rating{ width:96px; }
.rd-alt-table td.analogs-table__column--rating img{ height:22px !important; width:auto; max-width:80px; object-fit:contain; }
.rd-alt-table td.analogs-table__column--vendor a{ font-weight:500; }
.rd-alt-table td.analogs-table__column--vendor a:hover{ color:var(--ink-2); }
.rd-alt-table td.analogs-table__column--price:nth-child(3) a{ font-weight:700; color:var(--ink); font-size:14.5px; }
.rd-alt-table .status-badge--style--warning .status-badge__body{ background:var(--amber-soft); color:var(--amber); }
/* car applications */
#product-tab-auto .analogs-table td.analogs-table__column--name a{ font-weight:600; }
#product-tab-auto .analogs-table td a:hover{ color:var(--ink-2); }
#product-tab-auto .analogs-table td.analogs-table__column--models{ color:var(--text); }
#product-tab-auto .analogs-table td:nth-child(5) a{ text-transform:capitalize; color:var(--text-soft); }
#product-tab-auto .analogs-table td:nth-child(6) a{ font-family:ui-monospace, "Roboto Mono", Consolas, monospace; font-size:12.5px; color:var(--text-soft); }
/* pane height follows the (ajax-loaded) content */
.product-tabs__pane:not(.product-tabs__pane--active){ height:0 !important; padding-top:0 !important; padding-bottom:0 !important; opacity:0 !important; visibility:hidden !important; overflow:hidden !important; }
.product-tabs__pane--active{ height:auto !important; opacity:1 !important; visibility:visible !important; }
.product-tabs__pane .analogs-table{ margin:0; }
/* accessories tab (same look as alternatives) */
.rd-acc-table td.analogs-table__column--rating img{ height:40px !important; width:auto; max-width:64px; object-fit:contain; border-radius:6px; background:var(--paper); }
.rd-acc-table td.analogs-table__column--price a{ font-weight:700; color:var(--ink); font-size:14.5px; }
.rd-acc-table .rd-row-go{ width:36px; text-align:center; }
.rd-acc-table td.rd-row-go a{ color:var(--text-faint); font-size:22px; line-height:1; }
.rd-acc-table tr:hover td.rd-row-go a{ color:var(--ink); }
#AccLProdData:empty{ display:none; }
.product-tabs__item[hidden]{ display:none !important; }
/* own products: variants + related categories under the gallery */
.rd-pd--own .rd-pd__gallery{ position:static; }
.rd-pd__side{ margin-top:18px; display:grid; gap:18px; }
.rd-pd__side .widget-products{ margin:0; }
.rd-pd__side .widget__header{ padding:16px 20px 6px; }
.rd-pd__side .widget__header h4{ margin:0; }
.rd-pd__side .rd-pd__cats .widget-products__list{ grid-template-columns:repeat(2,1fr); }
.rd-pd__side .rel-pr-tab .container{ padding:0; }
.rd-pd__col{ min-width:0; }
.rd-pd__side{ margin-top:18px; }
/* discount badge inside product cards: same placement as the other cards (top-left of the image) */
.product-card .product__badge.tag-badge{ position:static !important; top:auto !important; left:auto !important; right:auto !important; margin:0 !important; transform:none !important; }
.product-card:not(.product-card--layout--horizontal) .product-card__badges{ position:absolute !important; top:20px !important; left:20px !important; z-index:2; display:flex; flex-direction:column; gap:5px; align-items:flex-start; margin:0 !important; }
.product-card:not(.product-card--layout--horizontal) .product-card__badges:empty{ display:none; }

/* ---------- category list view (data-layout=table) ---------- */
.products-list[data-layout=table]{ background:transparent !important; box-shadow:none !important; }
.products-list[data-layout=table] .products-list__head{ display:flex !important; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm); padding:10px 16px; margin-bottom:10px; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; color:var(--text-faint); }
.products-list[data-layout=table] .products-list__column--image{ width:90px; padding:0 16px 0 0; text-align:left; }
.products-list[data-layout=table] .products-list__column--meta{ width:160px; padding:0 16px; text-align:left; }
.products-list[data-layout=table] .products-list__column--product{ flex:1; padding:0 16px; }
.products-list[data-layout=table] .products-list__column--price{ width:200px; padding:0; text-align:right; }
.products-list[data-layout=table] .products-list__content{ margin:0; display:block; }
.products-list[data-layout=table] .products-list__item{ display:block; padding:0 !important; margin:0 0 10px; width:100%; }
.products-list[data-layout=table] .product-card{ position:relative; display:flex !important; align-items:center; gap:0; background:var(--surface) !important; border:1px solid var(--line); border-radius:var(--radius-md); padding:10px 16px !important; box-shadow:none; transition:border-color .15s, box-shadow .15s; overflow:visible; }
.products-list[data-layout=table] .product-card:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); }
.products-list[data-layout=table] .product-card__image{ width:90px !important; flex:0 0 90px; padding:0 !important; margin:0 16px 0 0 !important; }
.products-list[data-layout=table] .product-card__image .image--type--product{ width:100%; }
.products-list[data-layout=table] .product-card__image .image__body{ background:var(--paper); border-radius:var(--radius-sm); padding-bottom:100%; }
.products-list[data-layout=table] .product-card__image .image__tag{ padding:6px; mix-blend-mode:multiply; }
.products-list[data-layout=table] .product-card__fit, .products-list[data-layout=table] .right-badge{ display:none; }
.products-list[data-layout=table] .product-card__info{ flex:1 1 auto; display:flex; align-items:center; min-width:0; padding:0; }
.products-list[data-layout=table] .product-card__meta{ width:160px; flex:0 0 160px; padding:0 16px !important; font-size:12px; color:var(--text-faint); line-height:1.3; }
.products-list[data-layout=table] .product-card__meta-title{ display:none; }
.products-list[data-layout=table] .product-card__name{ flex:1 1 auto; padding:0 16px !important; min-height:0; font-size:14.5px; }
.products-list[data-layout=table] .product-card__name > div{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.products-list[data-layout=table] .product-card__name a{ font-weight:600; color:var(--text); display:block; }
.products-list[data-layout=table] .product-card__badges{ position:static !important; display:inline-flex; flex-direction:row; gap:6px; margin:0 !important; order:2; }
.products-list[data-layout=table] .product-card__footer{ width:200px; flex:0 0 200px; display:flex; flex-direction:column; align-items:flex-end; gap:8px; padding:0 !important; border:0; }
.products-list[data-layout=table] .product-card__prices{ display:flex; flex-direction:row !important; align-items:baseline; justify-content:flex-end; gap:8px; width:100%; max-width:none !important; padding:0 !important; }
.products-list[data-layout=table] .product-card button[name="addToCart"]{ width:160px !important; flex:0 0 auto; }
@media (max-width:767px){
  .products-list[data-layout=table] .products-list__head{ display:none !important; }
  .products-list[data-layout=table] .product-card{ flex-wrap:wrap; }
  .products-list[data-layout=table] .product-card__info{ flex-direction:column; align-items:flex-start; }
  .products-list[data-layout=table] .product-card__meta{ width:auto; flex:none; padding:0 !important; }
  .products-list[data-layout=table] .product-card__name{ padding:4px 0 0 !important; }
  .products-list[data-layout=table] .product-card__footer{ width:100%; flex-basis:100%; align-items:stretch; margin-top:10px; }
  .products-list[data-layout=table] .product-card__prices{ justify-content:flex-start; }
  .products-list[data-layout=table] .product-card button[name="addToCart"]{ width:100% !important; }
}
/* list view: price and button on one line, aligned with the header column */
.products-list[data-layout=table] .products-list__column--price{ width:330px; }
.products-list[data-layout=table] .product-card__footer{ width:330px; flex:0 0 330px; flex-direction:row; align-items:center; justify-content:flex-end; gap:14px; }
.products-list[data-layout=table] .product-card__prices{ width:auto; flex:0 0 auto; }
.products-list[data-layout=table] .product-card__price--current, .products-list[data-layout=table] .product-card__price--new{ font-size:16px; }
.products-list[data-layout=table] .product-card__footer{ flex-wrap:nowrap !important; }
.products-list[data-layout=table] .product-card__prices{ flex:0 0 auto !important; width:auto !important; }
.products-list[data-layout=table] .product-card button[name="addToCart"]{ flex:0 0 160px !important; width:160px !important; }
.products-list[data-layout=table] .products-list__column--price{ margin-left:auto; text-align:right; }
.products-list[data-layout=table] .product-card__footer{ align-items:center !important; }
.products-list[data-layout=table] .product-card__prices{ align-self:center; margin:0 !important; line-height:1; }
.products-list[data-layout=table] .products-list__head .products-list__column{ margin:0 !important; }
.products-list[data-layout=table] .products-list__head .products-list__column--price{ padding-right:0 !important; }
.products-list[data-layout=table] .products-list__head .products-list__column--product{ flex:1 1 auto !important; width:auto !important; }
.products-list[data-layout=table] .product-card__prices{ align-self:center !important; height:auto !important; align-items:center !important; }
.products-list[data-layout=table] .product-card__prices .product-card__price{ margin:0 !important; }
.products-list[data-layout=table] .products-list__head{ display:flex !important; justify-content:space-between !important; }
.products-list[data-layout=table] .products-list__head .products-list__column--price{ margin-left:auto !important; flex:0 0 330px !important; }
.products-list[data-layout=table] .products-list__head::after, .products-list[data-layout=table] .products-list__head::before{ display:none !important; content:none !important; }
/* sort select (in the sidebar "Цена" filter and the view bar): normal select with arrow */
.widget-filters .view-options__select .form-control, #view-option-sort{
  width:100%; height:40px; padding:0 34px 0 12px; border:1px solid var(--line-2); border-radius:var(--radius-sm) !important; background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B93A0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance:none; appearance:none; font-size:13.5px; color:var(--text); font-family:var(--font-body);
}
.widget-filters .view-options__select .form-control:focus, #view-option-sort:focus{ border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); outline:0; }
.widget-filters .view-options__select{ display:block; width:100%; }
.widget-filters .view-options__select label{ display:none; }

/* ---------- product page: EAN barcode card under the gallery (TecDoc) ---------- */
.rd-pd--tecdoc .rd-pd__grid{ align-items:stretch; }
.rd-pd--tecdoc .rd-pd__col{ display:flex; flex-direction:column; min-width:0; padding-bottom:18px; }
.rd-pd--tecdoc .rd-pd__gallery{ position:static; flex:0 0 auto; }
.rd-pd__ean{ flex:1 1 auto; margin-top:18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 20px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:0; }
.rd-pd__ean--none{ display:none; }
.rd-pd__ean-label{ font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); margin-bottom:10px; }
.rd-pd__ean-slot{ width:100%; display:flex; justify-content:center; }
.rd-pd__ean-svg{ width:auto; max-width:100%; height:auto; max-height:96px; fill:var(--ink); display:block; }
@media (max-width:991px){
  .rd-pd--tecdoc .rd-pd__col{ padding-bottom:0; }
  .rd-pd__ean{ min-height:0; }
}

/* ================= brand page (parts1.tpl): hero, model finder, families, categories by system ================= */
body:has(.rd-brand) .block-header__title{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); margin:0; padding:0; }
body:has(.rd-brand) .block-header{ margin-bottom:0; }
.rd-brand{ margin-top:4px; }
.rd-bh{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); display:grid; grid-template-columns:1.1fr 1fr; overflow:hidden; box-shadow:0 10px 30px rgba(4,24,43,.06); }
.rd-bh__intro{ padding:30px 34px 26px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.rd-bh__eyebrow{ font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-bh__title{ font-family:var(--font-head); font-size:clamp(28px,3.2vw,42px); font-weight:600; line-height:1.05; color:var(--ink); text-wrap:balance; }
.rd-bh__lead{ margin:0; color:var(--text-soft); font-size:14.5px; max-width:56ch; }
.rd-bh__stats{ display:flex; margin-top:4px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.rd-bh__stats div{ flex:1; padding:11px 14px; border-right:1px solid var(--line); min-width:0; }
.rd-bh__stats div:last-child{ border-right:0; }
.rd-bh__stats b{ display:block; font-family:var(--font-head); font-size:24px; font-weight:600; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-bh__stats span{ font-size:11px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; }
.rd-bh__garage{ margin-top:auto; display:flex; align-items:center; gap:14px; background:var(--brass-soft); border-radius:var(--radius); padding:12px 16px; color:var(--text); }
.rd-bh__garage svg{ width:28px; height:28px; stroke:var(--brass-deep); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.rd-bh__garage span{ min-width:0; }
.rd-bh__garage b{ display:block; font-size:13.5px; }
.rd-bh__garage small{ color:var(--text-soft); font-size:12.5px; }
.rd-bh__garage em{ margin-left:auto; font-style:normal; font-weight:700; color:var(--ink); white-space:nowrap; }
.rd-bh__garage:hover{ background:#ead9b3; }
.rd-bh__finder{ background:var(--ink); color:#fff; padding:28px 32px; display:flex; flex-direction:column; gap:14px; min-width:0; }
.rd-bh__finder h2{ font-family:var(--font-head); font-size:22px; font-weight:500; margin:0; color:#fff; }
.rd-bh__finder p{ margin:0; color:#a9b8c8; font-size:13px; }
.rd-bh__input{ display:flex; align-items:center; background:#fff; border-radius:999px; height:48px; padding:0 8px 0 18px; gap:10px; }
.rd-bh__input input{ flex:1; border:0 !important; outline:0; box-shadow:none !important; font:inherit; font-size:14.5px; color:var(--text); background:transparent; min-width:0; height:100%; padding:0; }
.rd-bh__input button{ height:36px; padding:0 18px; border:0; border-radius:999px; background:var(--brass); color:var(--ink); font-weight:700; font-family:var(--font-body); font-size:13.5px; cursor:pointer; }
.rd-bh__input button:hover{ background:#d6a94d; }
.rd-bh__row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rd-bh__lbl{ font-size:11.5px; color:#a9b8c8; text-transform:uppercase; letter-spacing:.08em; margin-right:4px; }
.rd-bchip{ display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 12px; border-radius:999px; border:1px solid rgba(255,255,255,.22); color:#e6edf4; font-size:12.5px; cursor:pointer; background:transparent; font-family:var(--font-body); transition:background .15s, border-color .15s, color .15s; }
.rd-bchip:hover{ border-color:var(--brass); }
.rd-bchip--on, .rd-bchip--on:hover{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.rd-bh__hint{ font-size:12px; color:#a9b8c8; }
.rd-bh__hint kbd{ font-family:var(--font-body); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:6px; padding:1px 7px; color:#fff; }

.rd-fambar{ position:sticky; top:54px; z-index:5; background:rgba(243,245,247,.94); backdrop-filter:blur(8px); padding:12px 0; margin-top:22px; border-bottom:1px solid var(--line); }
.rd-fambar__in{ display:flex; align-items:center; gap:8px; overflow-x:auto; scrollbar-width:none; }
.rd-fambar__in::-webkit-scrollbar{ display:none; }
.rd-ftab{ flex:0 0 auto; height:36px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13px; font-weight:600; color:var(--text-soft); cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:background .15s, color .15s; }
.rd-ftab b{ font-weight:600; color:var(--text-faint); font-size:12px; }
.rd-ftab:hover{ border-color:var(--ink); color:var(--ink); }
.rd-ftab--on, .rd-ftab--on:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-ftab--on b{ color:var(--brass); }

.rd-mgroup{ padding-top:26px; }
.rd-mgroup__head{ display:flex; align-items:baseline; gap:14px; margin-bottom:14px; flex-wrap:wrap; }
.rd-mgroup__head h2{ font-family:var(--font-head); font-size:24px; font-weight:600; margin:0; }
.rd-mgroup__head p{ margin:0; color:var(--text-faint); font-size:13px; }
.rd-models{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.rd-model{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px 12px; display:flex; flex-direction:column; gap:6px; color:var(--text); transition:box-shadow .15s, border-color .15s; }
.rd-model:hover, .rd-model:focus-within{ border-color:var(--brass); box-shadow:0 10px 30px rgba(4,24,43,.08); color:var(--text); }
.rd-model__img{ height:118px; display:flex; align-items:center; justify-content:center; }
.rd-model__img img{ max-width:92%; max-height:100%; width:auto; object-fit:contain; transition:transform .2s; }
.rd-model:hover .rd-model__img img{ transform:scale(1.04); }
.rd-model__name{ font-family:var(--font-head); font-size:19px; font-weight:600; line-height:1.1; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; color:var(--ink); }
.rd-model__name small{ font-family:var(--font-body); font-weight:500; color:var(--text-faint); font-size:12.5px; }
.rd-model__meta{ display:flex; flex-wrap:wrap; gap:4px 10px; font-size:12px; color:var(--text-soft); }
.rd-model__dot::before{ content:"·"; margin-right:10px; color:var(--line-2); }
.rd-model__gens{ display:flex; flex-wrap:wrap; gap:5px; padding-top:8px; margin-top:auto; }
.rd-genchip{ font-size:11px; font-weight:600; padding:2px 8px; border-radius:6px; background:var(--paper); border:1px solid var(--line); color:var(--ink); cursor:pointer; }
.rd-genchip:hover{ background:var(--brass-soft); border-color:var(--brass); }
.rd-genchip--more{ background:transparent; color:var(--brass-deep); border-color:transparent; }
.rd-model__go{ position:absolute; top:12px; right:12px; width:28px; height:28px; border-radius:50%; background:var(--paper); display:flex; align-items:center; justify-content:center; color:var(--ink); font-size:18px; line-height:1; opacity:0; transition:opacity .15s; }
.rd-model:hover .rd-model__go{ opacity:1; }
.rd-models__empty{ text-align:center; color:var(--text-faint); padding:40px 0; }
.rd-models__empty a{ color:var(--brass-deep); font-weight:700; }
@media (hover:none){ .rd-model__go{ opacity:1; } }

.rd-bsec{ margin-top:40px; }
.rd-bsec__head{ display:flex; align-items:baseline; gap:14px; margin-bottom:16px; flex-wrap:wrap; }
.rd-bsec__head h2{ font-family:var(--font-head); font-size:26px; font-weight:600; margin:0; }
.rd-bsec__head p{ margin:0; color:var(--text-faint); font-size:13px; }
.rd-systems{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:16px; align-items:start; }
.rd-sys{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:6px 0 8px; }
.rd-sys h3{ font-family:var(--font-head); font-size:16px; font-weight:600; margin:0; padding:12px 18px 8px; letter-spacing:.02em; color:var(--ink); }
.rd-sys__item{ display:flex; align-items:center; gap:10px; padding:6px 18px; font-size:13.5px; color:var(--text); }
.rd-sys__item:hover{ background:var(--paper); color:var(--ink); }
.rd-sys__item i{ width:32px; height:32px; border-radius:50%; background:var(--paper); border:1px solid var(--line); flex:0 0 auto; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.rd-sys__item i img{ width:24px; height:24px; object-fit:contain; }
.rd-sys__item--more{ display:none; }
.rd-sys--open .rd-sys__item--more{ display:flex; }
.rd-sys__more{ display:block; background:none; border:0; padding:10px 18px 4px; color:var(--brass-deep); font-weight:700; font-size:12.5px; font-family:var(--font-body); cursor:pointer; }
.rd-sys__more:hover{ color:var(--ink); }

@media (max-width:1199px){ .rd-models{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px){ .rd-bh{ grid-template-columns:1fr; } .rd-bh__intro{ padding:22px 20px 18px; } .rd-bh__finder{ padding:20px; } .rd-bh__stats{ flex-wrap:wrap; } .rd-bh__stats div{ flex:1 1 45%; border-bottom:1px solid var(--line); } .rd-bh__stats div:nth-last-child(-n+2){ border-bottom:0; } }
@media (max-width:767px){ .rd-models{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .rd-model{ padding:10px 12px 10px; } .rd-model__img{ height:90px; } .rd-model__name{ font-size:16px; } .rd-bh__garage em{ display:none; } .rd-systems{ grid-template-columns:1fr; } }
.rd-sys__item span{ display:flex; flex-direction:column; min-width:0; }
.rd-sys__item em{ font-style:normal; font-size:11px; color:var(--text-faint); }

/* categories by system: horizontal bands (heading left, items in a row) */
.rd-systems{ display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.rd-sys{ width:100%; }
.rd-sys{ display:grid; grid-template-columns:200px minmax(0,1fr); align-items:start; padding:0; overflow:hidden; }
.rd-sys h3{ padding:16px 18px; border-right:1px solid var(--line); align-self:stretch; background:var(--paper); font-size:15px; line-height:1.3; }
.rd-sys__items{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:2px 6px; padding:8px 10px; }
.rd-sys__item{ padding:6px 8px; border-radius:8px; }
.rd-sys__item--more{ display:flex; }
.rd-sys__more{ display:none; }
@media (max-width:767px){
  .rd-sys{ grid-template-columns:1fr; }
  .rd-sys h3{ border-right:0; border-bottom:1px solid var(--line); padding:12px 16px; }
  .rd-sys__items{ grid-template-columns:1fr 1fr; }
}

/* top brands: logo grid (replaces the owl carousel on home, brand and category pages) */
.rd-brands{ margin-top:34px; }
.rd-brands__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:10px; }
.rd-brandtile{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); height:84px; padding:10px 8px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:var(--ink-2); transition:border-color .15s, box-shadow .15s; }
.rd-brandtile:hover{ border-color:var(--brass); box-shadow:0 8px 20px rgba(4,24,43,.08); color:var(--ink); }
.rd-brandtile img{ max-width:80%; max-height:36px; width:auto; height:auto; object-fit:contain; }
.rd-brandtile span{ font-family:var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
@media (max-width:767px){ .rd-brands__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; } .rd-brandtile{ height:76px; } }
.rd-brandtile--extra{ display:none; }
.rd-brands__grid--open .rd-brandtile--extra{ display:flex; }
.rd-brands__more{ display:block; margin:14px auto 0; height:38px; padding:0 18px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface); color:var(--ink); font-family:var(--font-body); font-weight:700; font-size:13px; cursor:pointer; }
.rd-brands__more:hover{ border-color:var(--brass); }

/* ================= breadcrumbs: pills (replaces the theme's skewed arrows) ================= */
.breadcrumb__list{ display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; overflow:visible; white-space:normal; }
.breadcrumb__item{ margin:0 !important; float:none !important; }
.breadcrumb__spaceship-safe-area, .breadcrumb__title-safe-area{ display:none !important; }
.breadcrumb__item-link{ display:inline-flex; align-items:center; height:auto; padding:3px 10px !important; pointer-events:auto; background:var(--surface); border:1px solid var(--line); border-radius:999px; font-size:12px; color:var(--text-faint); transition:border-color .15s, color .15s; }
.breadcrumb__item-link::before, .breadcrumb__item-link::after{ display:none !important; content:none !important; }
.breadcrumb__item--parent .breadcrumb__item-link:hover{ border-color:var(--brass); color:var(--ink); }
.breadcrumb__item--current .breadcrumb__item-link, .breadcrumb__item:last-child .breadcrumb__item-link{ color:var(--ink); font-weight:600; }
/* the theme kept 60px (30 on a small screen) under the breadcrumbs — far too much under one row of pills */
.breadcrumb.block-header__breadcrumb{ padding-top:12px; padding-bottom:10px; }

/* ================= model page (parts2.tpl): hero reuse + year finder ================= */
.rd-bh__input--year label{ font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); white-space:nowrap; margin:0; }
.rd-bh__input--year input{ font-family:var(--font-head); font-size:17px; font-weight:600; -moz-appearance:textfield; }
.rd-bh__input--year input::-webkit-outer-spin-button, .rd-bh__input--year input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* timeline */
.rd-tl{ margin-top:22px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 22px 14px; }
.rd-tl__head{ display:flex; align-items:baseline; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.rd-tl__head h2{ font-family:var(--font-head); font-size:20px; font-weight:600; margin:0; }
.rd-tl__head p{ margin:0; color:var(--text-faint); font-size:12.5px; }
.rd-tl__scroll{ overflow-x:auto; }
.rd-tl__rows{ display:grid; gap:6px; margin-bottom:8px; min-width:100%; }
.rd-tl__row{ display:grid; grid-template-columns:repeat(var(--cols,20),minmax(14px,1fr)); height:26px; }
.rd-tl__bar{ grid-row:1; height:26px; border-radius:6px; background:var(--ink-2); color:#fff; font-size:11.5px; font-weight:600; display:flex; align-items:center; padding:0 10px; gap:8px; cursor:pointer; white-space:nowrap; overflow:hidden; transition:background .15s, opacity .15s; min-width:0; }
.rd-tl__bar small{ font-weight:400; color:#c7d2de; font-size:11px; overflow:hidden; text-overflow:ellipsis; }
.rd-tl__bar:hover{ background:var(--brass-deep); color:#fff; }
.rd-tl__bar--body{ background:#4b6a8a; }
.rd-tl__bar--hit{ background:var(--brass); color:var(--ink); }
.rd-tl__bar--hit small{ color:var(--ink-2); }
.rd-tl__bar--dim{ opacity:.35; }
.rd-tl__axis{ display:grid; grid-template-columns:repeat(var(--cols,20),minmax(14px,1fr)); border-top:1px solid var(--line); margin-top:4px; }
.rd-tl__axis span{ font-size:10.5px; color:var(--text-faint); padding-top:6px; border-left:1px solid var(--line); padding-left:4px; font-variant-numeric:tabular-nums; min-height:20px; }
.rd-tl__legend{ display:flex; gap:16px; flex-wrap:wrap; font-size:11.5px; color:var(--text-faint); margin-top:10px; }
.rd-tl__legend i{ display:inline-block; width:12px; height:12px; border-radius:3px; vertical-align:-2px; margin-right:6px; }
.rd-tl__i--main{ background:var(--ink-2); } .rd-tl__i--body{ background:#4b6a8a; } .rd-tl__i--hit{ background:var(--brass); }

/* generations */
.rd-gens{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.rd-gen{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); display:grid; grid-template-columns:200px minmax(0,1fr); overflow:hidden; transition:border-color .15s, box-shadow .15s; }
.rd-gen:hover{ border-color:var(--brass); box-shadow:0 10px 30px rgba(4,24,43,.08); }
.rd-gen--open{ grid-column:1 / -1; grid-template-columns:240px minmax(0,1fr); border-color:var(--brass); }
.rd-gen--flash{ box-shadow:0 0 0 3px var(--brass); }
.rd-gen__media{ background:var(--paper); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:16px 12px; gap:8px; border-right:1px solid var(--line); }
.rd-gen__media img{ max-width:100%; max-height:110px; width:auto; object-fit:contain; }
.rd-gen__body{ padding:14px 18px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.rd-gen__title{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.rd-gen__title h3{ font-family:var(--font-head); font-size:20px; font-weight:600; margin:0; }
.rd-gen__title h3 a{ color:var(--ink); }
.rd-gen__code{ font-family:var(--font-head); font-size:13px; font-weight:600; letter-spacing:.06em; color:var(--brass-deep); background:var(--brass-soft); padding:2px 8px; border-radius:6px; }
.rd-gen__meta{ display:flex; gap:6px 14px; flex-wrap:wrap; font-size:12.5px; color:var(--text-soft); }
.rd-gen__meta b{ font-weight:600; color:var(--text); }
.rd-tag{ display:inline-flex; align-items:center; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:2px 8px; border-radius:999px; }
.rd-tag--body{ background:var(--surface); color:var(--text-soft); border:1px solid var(--line-2); }
.rd-gen__fuel{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-gen__fuel span{ font-size:11.5px; padding:3px 9px; border-radius:6px; background:var(--paper); border:1px solid var(--line); color:var(--ink); }
.rd-gen__fuel span b{ color:var(--brass-deep); }
.rd-gen__actions{ display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; margin-top:auto; padding-top:6px; }
.rd-btn{ height:36px; padding:0 16px; border-radius:8px; border:1px solid var(--line-2); background:var(--surface); font-family:var(--font-body); font-size:13px; font-weight:700; color:var(--ink); cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
.rd-btn--ink{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-btn--ink:hover{ background:var(--ink-2); color:#fff; }
.rd-gen__hint{ font-size:12px; color:var(--text-faint); }
.rd-gen__all{ margin-left:auto; font-size:12.5px; font-weight:700; color:var(--brass-deep); white-space:nowrap; }
.rd-gen__all:hover{ color:var(--ink); }
.rd-eng{ margin-top:4px; border-top:1px solid var(--line); padding-top:10px; }
.rd-eng__tabs{ display:flex; gap:6px; margin-bottom:8px; flex-wrap:wrap; }
.rd-eng__tab{ height:30px; padding:0 12px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--text-soft); cursor:pointer; }
.rd-eng__tab b{ color:var(--brass); font-weight:600; }
.rd-eng__tab--on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-eng__grid{ display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; }
.rd-eng__row{ display:grid; grid-template-columns:70px 1fr 96px 22px; align-items:center; gap:10px; padding:7px 10px; border-radius:8px; font-size:13px; color:var(--text); }
.rd-eng__row:hover{ background:var(--brass-soft); color:var(--ink); }
.rd-eng__row b{ font-family:var(--font-head); font-size:15px; font-weight:600; letter-spacing:.02em; }
.rd-eng__row small{ color:var(--text-faint); font-size:11.5px; display:block; }
.rd-eng__kw{ text-align:right; font-variant-numeric:tabular-nums; font-weight:600; }
.rd-eng__kw small{ text-align:right; }
.rd-eng__row em{ font-style:normal; color:var(--brass-deep); font-size:18px; line-height:1; }
.rd-eng__row--extra{ display:none; }
.rd-eng__more{ margin-top:8px; background:none; border:0; color:var(--brass-deep); font-weight:700; font-size:12.5px; font-family:var(--font-body); cursor:pointer; padding:4px 0; }
.rd-eng__more:hover{ color:var(--ink); }
@media (max-width:1199px){ .rd-eng__grid{ grid-template-columns:1fr; } }
@media (max-width:991px){ .rd-gens{ grid-template-columns:1fr; } .rd-gen--open{ grid-template-columns:200px minmax(0,1fr); } }
@media (max-width:640px){ .rd-gen, .rd-gen--open{ grid-template-columns:1fr; } .rd-gen__media{ border-right:0; border-bottom:1px solid var(--line); } .rd-tl__bar small{ display:none; } .rd-gen__all{ margin-left:0; } .rd-eng__row{ grid-template-columns:64px 1fr 80px 16px; } }

/* ================= steps bar: Марка → Модел → Поколение → Двигател ================= */
.rd-steps{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0 0 18px; }
.rd-step{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:9px 14px; display:flex; align-items:center; gap:12px; min-width:0; color:var(--text); }
.rd-step i{ width:26px; height:26px; border-radius:50%; background:var(--paper); color:var(--text-faint); border:1px solid var(--line-2); display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-style:normal; font-weight:600; font-size:13px; flex:0 0 auto; }
.rd-step span{ display:flex; flex-direction:column; min-width:0; }
.rd-step small{ font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); }
.rd-step b{ font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-step em{ margin-left:auto; font-style:normal; color:var(--text-faint); font-size:12px; white-space:nowrap; }
.rd-step--done i{ background:var(--green-soft); color:var(--green); border-color:transparent; }
a.rd-step--done:hover{ border-color:var(--brass); color:var(--text); }
a.rd-step--done:hover em{ color:var(--brass-deep); }
.rd-step--now{ border-color:var(--brass); background:var(--brass-soft); }
.rd-step--now i{ background:var(--brass); color:var(--ink); border-color:transparent; }
.rd-step--now em{ color:var(--brass-deep); font-weight:700; }
.rd-step:not(.rd-step--now):not(.rd-step--done) b{ color:var(--text-faint); font-weight:500; }
@media (max-width:991px){ .rd-steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .rd-steps{ grid-template-columns:1fr; gap:6px; } .rd-step{ padding:7px 12px; } }

/* ================= generation page (parts2_1.tpl) ================= */
.rd-gh__car{ padding:26px 32px 24px; display:grid; grid-template-columns:240px minmax(0,1fr); gap:22px; align-items:center; }
.rd-gh__car > img{ max-width:100%; height:auto; justify-self:center; }
.rd-gh__info{ min-width:0; display:flex; flex-direction:column; gap:8px; }
.rd-gh .rd-bh__title{ font-size:clamp(24px,2.6vw,32px); }
.rd-gh__facts{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-fact{ display:inline-flex; align-items:center; gap:5px; font-size:12.5px; padding:4px 10px; border-radius:999px; background:var(--paper); border:1px solid var(--line); color:var(--text-soft); }
.rd-fact b{ color:var(--text); }
.rd-gh__sibs{ font-size:12.5px; color:var(--text-faint); display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.rd-gh__sibs a{ font-weight:600; color:var(--ink); background:var(--surface); border:1px solid var(--line-2); border-radius:6px; padding:2px 8px; font-size:12px; }
.rd-gh__sibs a:hover{ border-color:var(--brass); }
.rd-gh__sibs a.rd-gh__sib--on{ background:var(--ink); color:#fff; border-color:var(--ink); }
.rd-gh__sibs a.rd-gh__sib--more{ border-color:transparent; color:var(--brass-deep); }
.rd-gh .rd-bh__lead{ margin:0; font-size:13.5px; }
.rd-bh__garage--sm{ margin-top:4px; padding:9px 14px; }
.rd-bh__garage--sm b{ font-size:13px; }
.rd-gh__grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.rd-fld{ background:#fff; border-radius:12px; padding:8px 14px 6px; display:flex; flex-direction:column; }
.rd-fld label{ font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); margin:0; }
.rd-fld label b{ color:var(--brass-deep); }
.rd-fld input{ border:0 !important; outline:0; box-shadow:none !important; font-family:var(--font-head); font-size:20px; font-weight:600; color:var(--text); background:transparent; width:100%; min-width:0; padding:0; height:auto; -moz-appearance:textfield; }
.rd-fld input::-webkit-outer-spin-button, .rd-fld input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.rd-fld input::placeholder{ color:#b7c0cc; font-weight:400; }
.rd-gh__talon{ display:flex; gap:10px; align-items:center; background:rgba(255,255,255,.06); border:1px dashed rgba(255,255,255,.2); border-radius:10px; padding:8px 12px; font-size:12px; color:#c7d2de; }
.rd-gh__talon svg{ width:22px; height:22px; stroke:var(--brass); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.rd-engsec{ margin-top:30px; }
.rd-bsec__count{ margin-left:auto; font-size:12.5px; color:var(--text-faint); }
.rd-fuelgroup{ margin-top:18px; }
.rd-fuelgroup h3{ font-family:var(--font-head); font-size:15px; font-weight:600; letter-spacing:.02em; margin:0 0 10px; display:flex; align-items:center; gap:10px; }
.rd-fuelgroup h3 span{ font-family:var(--font-body); font-weight:400; color:var(--text-faint); font-size:12.5px; }
.rd-fuelgroup__dot{ width:10px; height:10px; border-radius:50%; display:inline-block; background:var(--brass); }
.rd-fuelgroup__dot--d{ background:var(--ink-2); } .rd-fuelgroup__dot--e{ background:var(--green); } .rd-fuelgroup__dot--g{ background:#6b7280; }
.rd-engs{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-engcard{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px 12px; display:flex; flex-direction:column; gap:6px; position:relative; color:var(--text); transition:border-color .15s, box-shadow .15s; }
.rd-engcard:hover{ border-color:var(--brass); box-shadow:0 10px 30px rgba(4,24,43,.08); color:var(--text); }
.rd-engcard__name{ font-family:var(--font-head); font-size:22px; font-weight:600; line-height:1.1; display:flex; align-items:center; gap:8px; flex-wrap:wrap; color:var(--ink); }
.rd-bd{ font-family:var(--font-body); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:2px 7px; border-radius:999px; }
.rd-bd--x{ background:#E6F0FA; color:#1B4F8A; } .rd-bd--m{ background:#F6E3E1; color:#B42318; } .rd-bd--h{ background:var(--green-soft); color:var(--green); }
.rd-engcard__power{ display:flex; align-items:baseline; gap:8px; }
.rd-engcard__power b{ font-family:var(--font-head); font-size:18px; font-weight:600; }
.rd-engcard__power span{ font-size:12.5px; color:var(--text-faint); font-variant-numeric:tabular-nums; }
.rd-engcard__meta{ font-size:12.5px; color:var(--text-soft); display:flex; gap:6px 12px; flex-wrap:wrap; }
.rd-engcard__code{ font-family:var(--font-head); font-size:12px; letter-spacing:.06em; color:var(--brass-deep); background:var(--brass-soft); padding:2px 8px; border-radius:6px; display:inline-block; }
.rd-engcard__go{ margin-top:auto; height:36px; border-radius:8px; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
.rd-engcard:hover .rd-engcard__go{ background:var(--brass); color:var(--ink); }
.rd-engcard--hit{ border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-engcard--hit::before{ content:"съвпада с талона"; position:absolute; top:-9px; left:12px; background:var(--brass); color:var(--ink); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:999px; }
@media (max-width:1199px){ .rd-engs{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px){ .rd-gh__car{ grid-template-columns:200px minmax(0,1fr); padding:20px; } .rd-engs{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .rd-gh__car{ grid-template-columns:1fr; } .rd-engs{ grid-template-columns:1fr; } .rd-gh__grid{ grid-template-columns:1fr; } }

/* ================= car page (parts_cats.tpl): passport, packs, systems tiles, featured tabs ================= */
.rd-steps--done{ grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.4fr); }
.rd-step--final{ border-color:var(--green); background:var(--green-soft); }
.rd-step--final i{ background:var(--green); color:#fff; border-color:transparent; }
.rd-step--final em{ color:var(--green); font-weight:700; }
.rd-carpage{ padding-top:18px; }
body:has(.rd-carpage) .block-categories__header, body:has(.rd-carpage) .block-categories__body-decor{ display:none; }
.rd-pass{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); overflow:hidden; box-shadow:0 10px 30px rgba(4,24,43,.06); }
.rd-pass__main{ padding:26px 32px 24px; display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:center; }
.rd-pass__img{ max-width:100%; height:auto; justify-self:center; }
.rd-pass__info{ min-width:0; }
.rd-pass__title{ font-size:clamp(22px,2.4vw,30px); margin-top:2px; }
.rd-pass__title em{ font-style:normal; color:var(--brass-deep); }
.rd-pass__id{ display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.rd-pass__id span{ font-family:var(--font-head); font-size:12px; letter-spacing:.06em; color:var(--brass-deep); background:var(--brass-soft); padding:3px 9px; border-radius:6px; }
.rd-pass__id span.rd-pass__id--g{ color:var(--green); background:var(--green-soft); }
.rd-specs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-top:14px; }
.rd-spec{ background:var(--surface); padding:9px 12px; min-width:0; }
.rd-spec small{ display:block; font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); }
.rd-spec b{ font-size:14px; font-weight:600; }
.rd-pass__side{ background:var(--ink); color:#fff; padding:26px 30px; display:flex; flex-direction:column; gap:14px; min-width:0; }
.rd-pass__side h2{ font-family:var(--font-head); font-size:21px; font-weight:500; margin:0; color:#fff; }
.rd-pass__side p{ margin:0; color:#a9b8c8; font-size:13px; }
.rd-pass__acts{ display:flex; gap:10px; flex-wrap:wrap; }
.rd-btn2{ height:44px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:700; font-size:14px; padding:0 18px; cursor:pointer; border:0; font-family:var(--font-body); }
.rd-btn2 svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-btn2--brass{ background:var(--brass); color:var(--ink); }
.rd-btn2--brass:hover{ background:#d6a94d; color:var(--ink); }
.rd-btn2--ghost{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.25); }
.rd-btn2--ghost:hover{ border-color:var(--brass); color:#fff; }
.rd-pass__why{ display:grid; gap:8px; font-size:12.5px; color:#c7d2de; }
.rd-pass__why div{ display:flex; gap:10px; align-items:flex-start; }
.rd-pass__why i{ width:18px; height:18px; border-radius:50%; background:var(--brass); color:var(--ink); font-style:normal; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex:0 0 auto; margin-top:1px; }
/* category search inside the passport (keeps the theme markup for the AJAX suggestions) */
.rd-catsearch{ position:relative; }
.rd-catsearch .search__body{ position:relative; }
.rd-catsearch .search__shadow, .rd-catsearch .search__decor, .rd-catsearch .search__box{ display:none !important; }
.rd-catsearch .search__input{ width:100%; height:46px; border:0; border-radius:999px; background:#fff; color:var(--text); padding:0 52px 0 18px; font-size:14px; box-shadow:none !important; }
.rd-catsearch .search__input:focus{ outline:2px solid var(--brass); }
.rd-catsearch .search__button{ position:absolute; right:6px; top:6px; width:34px; height:34px; border-radius:999px; background:var(--ink-2); color:#fff; border:0; display:flex; align-items:center; justify-content:center; padding:0; }
.rd-catsearch .search__button svg{ fill:#fff; width:16px; height:16px; }
.rd-catsearch .search__dropdown{ position:absolute; left:0; right:0; top:52px; z-index:20; background:#fff; color:var(--text); border-radius:12px; box-shadow:0 14px 40px rgba(4,24,43,.18); display:none; max-height:340px; overflow:auto; }
.rd-catsearch .search__dropdown--open, .rd-catsearch .search--suggestions-open .search__dropdown--suggestions, .rd-catsearch.search--suggestions-open .search__dropdown--suggestions{ display:block; }
.rd-catsearch .suggestions__group-title{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); padding:10px 14px 4px; }
.rd-catsearch .suggestions__group-content a{ display:block; padding:8px 14px; color:var(--text); }
.rd-catsearch .suggestions__group-content a:hover{ background:var(--paper); }
.rd-quick{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-quick a{ font-size:12px; font-weight:600; color:#e6edf4; border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:4px 11px; }
.rd-quick a:hover{ border-color:var(--brass); color:#fff; }
/* service packs */
.rd-packs{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rd-pack{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px 14px; display:flex; flex-direction:column; gap:8px; transition:border-color .15s, box-shadow .15s; }
.rd-pack:hover{ border-color:var(--brass); box-shadow:0 10px 30px rgba(4,24,43,.08); }
.rd-pack__top{ display:flex; align-items:center; gap:10px; }
.rd-pack__icon{ width:38px; height:38px; border-radius:10px; background:var(--brass-soft); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.rd-pack__icon svg{ width:20px; height:20px; stroke:var(--brass-deep); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-pack__top h3{ font-family:var(--font-head); font-size:17px; font-weight:600; margin:0; }
.rd-pack__top small{ display:block; font-size:11.5px; color:var(--text-faint); }
.rd-pack ul{ list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.rd-pack li a{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:13px; padding:5px 8px; border-radius:6px; color:var(--text); }
.rd-pack li a:hover{ background:var(--paper); color:var(--ink); }
.rd-pack li a em{ font-style:normal; font-size:11.5px; color:var(--text-faint); text-align:right; }
.rd-pack__foot{ margin-top:auto; padding-top:6px; font-size:12.5px; color:var(--brass-deep); font-weight:700; }
/* systems as image tiles */
.rd-sys--tiles h3 small{ display:block; font-family:var(--font-body); font-weight:400; font-size:11.5px; color:var(--text-faint); margin-top:2px; }
.rd-tiles{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:10px; }
.rd-tile{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:10px 8px 8px; border-radius:10px; border:1px solid transparent; font-size:12.5px; font-weight:500; line-height:1.25; color:var(--text); }
.rd-tile img{ width:56px; height:56px; object-fit:contain; }
.rd-tile:hover{ border-color:var(--brass); background:var(--surface); color:var(--ink); }
/* featured products by category */
.rd-featsec{ margin-top:34px; }
.rd-ptabs{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.rd-ptab{ height:32px; padding:0 13px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--text-soft); cursor:pointer; }
.rd-ptab b{ color:var(--brass-deep); font-weight:600; }
.rd-ptab--on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-ptab--on b{ color:var(--brass); }
.rd-pgrid__row{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.rd-pgrid__cell--extra{ display:none; }
.rd-pgrid--open .rd-pgrid__cell--extra{ display:block; }
.rd-pgrid .product-card{ height:100%; }
.rd-fitbadge{ background:var(--green-soft) !important; color:var(--green) !important; }
.rd-pgrid__go{ display:flex; align-items:center; justify-content:center; height:38px; border-radius:8px; background:var(--ink); color:#fff; font-weight:700; font-size:13px; margin-top:8px; }
.rd-pgrid__go:hover{ background:var(--brass); color:var(--ink); }
.rd-pgrid__more{ display:block; margin:14px auto 0; height:38px; padding:0 18px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface); color:var(--ink); font-family:var(--font-body); font-weight:700; font-size:13px; cursor:pointer; }
.rd-pgrid__more:hover{ border-color:var(--brass); }
@media (max-width:1199px){ .rd-pgrid__row{ grid-template-columns:repeat(4,minmax(0,1fr)); } .rd-tiles{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:991px){ .rd-pass{ grid-template-columns:1fr; } .rd-pass__main{ grid-template-columns:200px minmax(0,1fr); padding:20px; } .rd-pass__side{ padding:20px; } .rd-packs{ grid-template-columns:1fr 1fr; } .rd-tiles{ grid-template-columns:repeat(3,minmax(0,1fr)); } .rd-pgrid__row{ grid-template-columns:repeat(3,minmax(0,1fr)); } .rd-steps--done{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .rd-pass__main{ grid-template-columns:1fr; } .rd-specs{ grid-template-columns:1fr 1fr; } .rd-packs{ grid-template-columns:1fr; } .rd-tiles{ grid-template-columns:1fr 1fr; } .rd-pgrid__row{ grid-template-columns:1fr 1fr; gap:8px; } .rd-steps--done{ grid-template-columns:1fr; } }
.rd-catsearch--open .search__dropdown{ display:block; }
.rd-catsearch .search__body{ background:transparent !important; padding:0 !important; box-shadow:none !important; border:0 !important; }
.rd-catsearch--open .search__dropdown{ display:block; opacity:1 !important; visibility:visible !important; transform:none !important; pointer-events:auto; }
.rd-pass{ overflow:visible; }
.rd-pass__main{ border-radius:var(--radius-lg) 0 0 var(--radius-lg); }
.rd-pass__side{ border-radius:0 var(--radius-lg) var(--radius-lg) 0; }
.rd-catsearch, .rd-catsearch.search{ background:transparent !important; padding:0 !important; box-shadow:none !important; border:0 !important; }
.rd-catsearch .search__dropdown{ z-index:60; }
@media (max-width:991px){ .rd-pass__main{ border-radius:var(--radius-lg) var(--radius-lg) 0 0; } .rd-pass__side{ border-radius:0 0 var(--radius-lg) var(--radius-lg); } }
.rd-catsearch .search__button{ width:34px !important; height:34px !important; min-height:0 !important; top:6px !important; right:6px !important; margin:0 !important; transform:none !important; border-radius:999px !important; }
.rd-fitbadge{ background:transparent !important; color:var(--green) !important; }
.rd-fitbadge::before{ background:var(--green-soft) !important; }
.rd-pgrid .product-card__footer{ display:block !important; padding:0 !important; }
.rd-pgrid .product-card__prices{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.rd-pgrid__go{ display:flex !important; width:100% !important; height:38px; border-radius:var(--radius-sm) !important; background:var(--ink); color:#fff !important; font-weight:700; font-size:13px; margin:0 !important; padding:0 12px; white-space:nowrap; transition:background .15s; }
.rd-pgrid__go:hover{ background:var(--brass); color:var(--ink) !important; }
/* category suggestions as a clean list */
.rd-catsearch .search__dropdown{ padding:6px 0 8px; max-height:380px; border:1px solid var(--line); }
.rd-catsearch .suggestions__group{ padding:0; }
.rd-catsearch .suggestions__group-title{ padding:6px 16px 4px; }
.rd-catsearch .suggestions__group-content{ display:block !important; padding:0 6px; }
.rd-catsearch .suggestions__item{ display:flex !important; align-items:center; gap:12px; width:100% !important; padding:7px 10px !important; border:0 !important; border-radius:8px; margin:0 !important; box-shadow:none !important; background:transparent; color:var(--text); text-align:left; }
.rd-catsearch .suggestions__item:hover{ background:var(--paper); color:var(--ink); }
.rd-catsearch .suggestions__product-image{ width:38px !important; height:38px !important; flex:0 0 38px; border-radius:50%; background:var(--paper); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; margin:0 !important; }
.rd-catsearch .suggestions__product-image .image__body{ width:100%; height:100%; padding:0 !important; }
.rd-catsearch .suggestions__product-image img{ width:30px !important; height:30px !important; object-fit:contain; position:static !important; margin:auto; display:block; }
.rd-catsearch .suggestions__product-info{ flex:1; min-width:0; padding:0 !important; }
.rd-catsearch .suggestions__product-name{ font-size:13.5px; font-weight:500; white-space:normal; overflow:visible; text-overflow:clip; line-height:1.3; }
.rd-catsearch .suggestions__item::after{ content:"\203A"; color:var(--brass-deep); font-size:18px; line-height:1; margin-left:auto; }
.rd-catsearch .search__dropdown::-webkit-scrollbar{ width:8px; }
.rd-catsearch .search__dropdown::-webkit-scrollbar-thumb{ background:var(--line-2); border-radius:8px; }
.rd-catsearch .suggestions__product-name, .rd-catsearch .suggestions__product-info{ text-align:left !important; }
.rd-catsearch .suggestions__product-info{ justify-content:flex-start !important; }

/* ================= category-for-car page (parts3.tpl): car strip, head, subcategory cards, filter bar, picks ================= */
body:has(.rd-listing) .block-header__title{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); margin:0; padding:0; }
body:has(.rd-listing) .products-list__car_cat, body:has(.rd-listing) .products-view__list > .products-list__car_cat{ display:none !important; }
body:has(.rd-listing) .block-header{ margin-bottom:0; }
.rd-lwrap{ margin:0 0 16px; }
.rd-carstrip{ position:sticky; top:54px; z-index:6; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:8px 14px; display:flex; align-items:center; gap:14px; box-shadow:0 10px 30px rgba(4,24,43,.06); margin-bottom:16px; }
.rd-carstrip img{ width:74px; height:auto; flex:0 0 auto; }
.rd-carstrip__t{ display:flex; flex-direction:column; min-width:0; }
.rd-carstrip__t small{ font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--green); font-weight:700; }
.rd-carstrip__t b{ font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--ink); }
.rd-carstrip__t span{ font-size:12px; color:var(--text-faint); }
.rd-carstrip__acts{ margin-left:auto; display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.rd-pill{ height:34px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--ink); display:inline-flex; align-items:center; gap:8px; cursor:pointer; white-space:nowrap; }
.rd-pill:hover{ border-color:var(--brass); color:var(--ink); }
.rd-pill--ink{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-pill--ink:hover{ background:var(--ink-2); color:#fff; }
.rd-pill--on, .rd-pill--has{ background:var(--brass-soft); border-color:var(--brass); }
.rd-lhead{ display:flex; align-items:flex-end; gap:14px; margin:4px 0 14px; flex-wrap:wrap; }
.rd-lhead .rd-bh__title{ font-size:clamp(22px,2.4vw,30px); }
.rd-lhead .rd-bh__title em{ font-style:normal; color:var(--brass-deep); }
.rd-lhead p{ margin:0 0 4px; color:var(--text-faint); font-size:13px; }
.rd-lhead p b{ color:var(--text); }
.rd-lhead__back{ margin-left:auto; font-weight:700; color:var(--brass-deep); font-size:13px; }
/* sidebar is folded into the bar on desktop */
@media (min-width:992px){ body.rd-listing-products .block-split__item-sidebar{ display:none !important; } body.rd-listing-products .block-split__item-content{ width:100% !important; max-width:100% !important; flex:0 0 100% !important; padding:0 !important; } body:has(.rd-listing) .block-split--has-sidebar .block-split__item-sidebar:has(#selCar):not(:has(.products-list__item)){ display:none !important; } body:has(.rd-listing) .block-split__item-content{ width:100% !important; max-width:100% !important; flex:0 0 100% !important; } }
body:has(.rd-listing) .block-split__item-sidebar .form-group{ display:none; }
/* state A: subcategory cards */
#productGrid:has(.rd-subs){ display:block !important; }
.rd-subs{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rd-sub{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; display:grid; grid-template-columns:72px minmax(0,1fr); gap:14px; align-items:center; position:relative; color:var(--text); transition:border-color .15s, box-shadow .15s; }
.rd-sub:hover{ border-color:var(--brass); box-shadow:0 10px 30px rgba(4,24,43,.08); color:var(--text); }
.rd-sub img{ width:72px; height:72px; object-fit:contain; }
.rd-sub__body{ display:flex; flex-direction:column; min-width:0; padding-right:18px; }
.rd-sub__name{ font-family:var(--font-head); font-size:16px; font-weight:600; line-height:1.15; color:var(--ink); }
.rd-sub__m{ font-size:12px; color:var(--text-faint); margin-top:4px; }
.rd-sub__tag{ position:absolute; top:-8px; left:12px; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:999px; background:var(--brass); color:var(--ink); }
.rd-sub__go{ position:absolute; right:12px; top:12px; color:var(--brass-deep); font-size:18px; line-height:1; }
.rd-kit{ margin-top:14px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 18px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.rd-kit > i{ width:40px; height:40px; border-radius:10px; background:var(--brass-soft); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.rd-kit svg{ width:20px; height:20px; stroke:var(--brass-deep); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-kit b{ font-family:var(--font-head); font-size:16px; font-weight:600; display:block; }
.rd-kit small{ color:var(--text-faint); font-size:12.5px; }
.rd-kit__links{ margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; }
.rd-kit__links a{ font-size:12px; font-weight:600; border:1px solid var(--line-2); border-radius:999px; padding:4px 11px; color:var(--ink); }
.rd-kit__links a:hover{ border-color:var(--brass); }
.rd-catsearch--light{ margin-top:14px; max-width:520px; }
.rd-catsearch--light .search__input{ border:1px solid var(--line-2) !important; }
/* state B: filter bar */
.rd-fbar{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.rd-dd{ position:relative; }
.rd-dd__n{ font-weight:700; color:var(--brass-deep); }
.rd-dd__n:empty{ display:none; }
.rd-dd__panel{ position:absolute; top:40px; left:0; z-index:30; min-width:260px; max-width:min(520px,90vw); background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 40px rgba(4,24,43,.18); padding:12px; max-height:360px; overflow:auto; }
.rd-dd__panel .filter__container{ padding:0; border:0; }
.rd-dd__panel .filter-list__list{ display:grid; grid-template-columns:1fr; gap:2px; }
.rd-dd__panel .filter-list__item{ display:flex; align-items:center; gap:8px; padding:6px 8px; border-radius:6px; margin:0; font-size:13px; }
.rd-dd__panel .filter-list__item:hover{ background:var(--paper); }
.rd-dd__panel .view-options__select{ margin:0 !important; width:100%; }
.rd-dd__panel .form-control{ width:100%; height:38px; border-radius:8px; border:1px solid var(--line-2); }
.rd-dd[data-src="osfilter"] .rd-dd__panel, .rd-dd .rd-dd__panel .filter-list__list{ min-width:220px; }
.rd-dd__panel:has(.filter-list__item:nth-child(12)) .filter-list__list{ grid-template-columns:1fr 1fr; min-width:420px; }
.rd-fbar__right{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.rd-fbar__right .view-options__select{ margin:0 !important; }
.rd-fbar__right .view-options__select label{ display:none; }
.rd-fbar__right #view-option-sort{ width:auto; min-width:200px; }
.rd-fbar__right .layout-switcher{ margin:0; }
.rd-brandrow{ background:transparent !important; padding:0 !important; margin:0 0 6px; }
.rd-brandrow .view-options__label{ display:none; }
.rd-brandrow .applied-filters__list{ display:flex; flex-wrap:wrap; gap:6px; }
.rd-brandrow .brfiltLI{ display:inline-flex !important; align-items:center; gap:6px; height:34px; padding:0 10px 0 6px; border:1px solid var(--line-2) !important; border-radius:999px; background:#fff; cursor:pointer; margin:0 !important; width:auto !important; }
.rd-brandrow .brfiltLI:hover, .rd-brandrow .brfiltLI.active{ border-color:var(--brass) !important; background:var(--brass-soft); }
.rd-brandrow .brfiltLI img{ height:22px; width:auto; max-width:60px; object-fit:contain; }
.rd-brandrow .brfiltLI p{ margin:0 !important; font-size:12px; font-weight:600; }
.rd-brandrow .brfiltLI p b{ font-weight:600; }
/* smart picks */
.rd-picks{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:6px 0 14px; }
.rd-pick{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px 14px; display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:12px; align-items:center; border-left:4px solid var(--brass); color:var(--text); }
.rd-pick:hover{ box-shadow:0 10px 30px rgba(4,24,43,.08); color:var(--text); }
.rd-pick--green{ border-left-color:var(--green); } .rd-pick--blue{ border-left-color:#1B4F8A; }
.rd-pick img{ width:64px; height:64px; object-fit:contain; }
.rd-pick small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-deep); }
.rd-pick--green small{ color:var(--green); } .rd-pick--blue small{ color:#1B4F8A; }
.rd-pick b{ font-size:13.5px; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-pick em{ font-style:normal; font-size:12px; color:var(--text-faint); }
.rd-pick__pr{ font-family:var(--font-head); font-size:18px; font-weight:600; text-align:right; }
.rd-pick__pr i{ display:block; font-family:var(--font-body); font-style:normal; font-size:12px; font-weight:700; color:var(--brass-deep); }
.rd-pickbadge{ background:var(--brass) !important; color:var(--ink) !important; }
.rd-pickbadge::before{ background:var(--brass) !important; }
.rd-pickbadge--green, .rd-pickbadge--green::before{ background:var(--green-soft) !important; color:var(--green) !important; }
.rd-pickbadge--blue, .rd-pickbadge--blue::before{ background:#E6F0FA !important; color:#1B4F8A !important; }
.rd-flash{ box-shadow:0 0 0 3px var(--brass); border-radius:var(--radius); }
/* delivery badge in green, sale stays red */
body:has(.rd-listing) .product-card .tag-badge--theme{ color:var(--green) !important; }
body:has(.rd-listing) .product-card .tag-badge--theme::before{ background:var(--green-soft) !important; }
/* related categories moved under the grid */
.rd-related{ margin-top:22px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:6px 12px 12px; }
.rd-related .widget__header h4{ font-family:var(--font-head); font-size:16px; font-weight:600; margin:0; padding:10px 6px 6px; }
.rd-related .widget-products__list{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.rd-related .widget-products__item{ display:flex; align-items:center; gap:10px; padding:6px 8px; border-radius:8px; }
.rd-related .widget-products__item:hover{ background:var(--paper); }
.rd-related .widget-products__image{ width:40px !important; height:40px !important; flex:0 0 40px; }
.rd-related .widget-products__price{ font-size:11.5px; color:var(--text-faint); font-weight:400; }
@media (max-width:1199px){ .rd-subs{ grid-template-columns:repeat(3,minmax(0,1fr)); } .rd-related .widget-products__list{ grid-template-columns:1fr 1fr; } }
@media (max-width:991px){ .rd-subs{ grid-template-columns:1fr 1fr; } .rd-picks{ grid-template-columns:1fr; } .rd-carstrip{ top:0; } .rd-carstrip__acts{ display:none; } }
@media (max-width:640px){ .rd-subs{ grid-template-columns:1fr; } .rd-lhead__back{ margin-left:0; } .rd-related .widget-products__list{ grid-template-columns:1fr; } }
.rd-dd__panel .filter__body{ display:block !important; height:auto !important; max-height:none !important; overflow:visible !important; opacity:1 !important; visibility:visible !important; transition:none !important; }
.rd-dd__panel .filter__container{ padding:0 !important; border:0 !important; }
.rd-dd__panel .filter-list__list{ max-height:300px; overflow:auto; }

/* "call for price" cards (plain .product-card, no --layout--grid modifier) ship BOTH an icon-only
   and a full-width call button — keep only the full one, and give the card the same grid card look */
.product-card__footer button[name="call"].product-card__addtocart-icon{ display:none !important; }
.product-card__footer:has(button[name="call"]) .product-card__addtocart-full{ margin-top:0; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]){
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 14px 12px; display:flex; flex-direction:column; gap:6px; height:100%;
}
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .product-card__image{ padding:0 0 4px; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .image--type--product .image__body{ background:var(--paper); border-radius:var(--radius-sm); padding-bottom:78%; position:relative; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .image--type--product img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:10px; mix-blend-mode:multiply; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .product-card__footer{ margin-top:auto; padding-top:4px; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .product-card__addtocart-full{ display:flex; width:100%; height:38px; border-radius:var(--radius-sm); background:var(--ink); color:#fff; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
.products-list__item .product-card:not(.product-card--layout--grid):not(.product-card--layout--horizontal):has(button[name="call"]) .product-card__addtocart-full:hover{ background:var(--brass); color:var(--ink); }

/* ================= listing filter bar v2 (matches the mockup) ================= */
.rd-brandrow, body.rd-listing-products .view-options__body--filters{ display:none !important; }
.rd-fbar{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:4px 0 0; box-shadow:none; }
.rd-fbar__left{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rd-fbar__sep{ flex:1 1 auto; }
.rd-fbar__right{ display:flex; align-items:center; gap:10px; margin-left:0; }
.rd-fbar__sort{ display:flex; align-items:center; gap:8px; margin:0; font-size:12.5px; color:var(--text-faint); font-weight:400; }
.rd-fbar__sort #view-option-sort{ height:34px !important; min-width:190px; width:auto !important; font-size:13px; padding:0 30px 0 10px !important; border-radius:var(--radius-sm) !important; background-position:right 10px center !important; }
.rd-fbar .layout-switcher{ margin:0; }
.rd-fbar .layout-switcher__list{ display:flex; border:1px solid var(--line-2); border-radius:var(--radius-sm); overflow:hidden; }
.rd-fbar .layout-switcher__button{ width:34px; height:34px; border:0 !important; border-radius:0 !important; background:#fff !important; color:var(--text-faint); margin:0 !important; display:flex; align-items:center; justify-content:center; }
.rd-fbar .layout-switcher__button svg{ fill:currentColor; width:14px; height:14px; }
.rd-fbar .layout-switcher__button--active, .rd-fbar .layout-switcher__button--active:hover{ background:var(--ink) !important; color:#fff; }

.rd-pill{ height:34px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--ink); display:inline-flex; align-items:center; gap:6px; cursor:pointer; white-space:nowrap; transition:border-color .15s, background .15s; }
.rd-pill:hover{ border-color:var(--brass); }
.rd-pill i, .rd-dd__v{ font-style:normal; font-weight:400; color:var(--text-faint); }
.rd-dd__v:empty{ display:none; }
.rd-dd__caret{ font-weight:400; font-size:10px; color:var(--text-faint); }
.rd-pill--open{ border-color:var(--ink); }
.rd-pill--on, .rd-pill--on:hover{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.rd-pill--on .rd-dd__v, .rd-pill--on .rd-dd__caret{ color:var(--ink-2); }
.rd-pill--has{ background:#fff; }

.rd-dd{ position:relative; }
.rd-dd__panel{ position:absolute; top:42px; left:0; z-index:40; min-width:240px; max-width:min(440px,92vw); max-height:none; overflow:visible; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 14px 40px rgba(4,24,43,.18); padding:10px; }
.rd-dd__panel--wide{ width:440px; }
.rd-dd__search input{ width:100%; height:36px; border:1px solid var(--line-2); border-radius:var(--radius-sm); padding:0 12px; font-family:var(--font-body); font-size:13px; color:var(--text); background:#fff; margin-bottom:8px; outline:0; }
.rd-dd__search input:focus{ border-color:var(--brass); }
.rd-dd__grid{ display:grid !important; grid-template-columns:1fr 1fr; gap:2px 6px; max-height:260px; overflow-y:auto; overflow-x:hidden; padding-right:2px; }
.rd-dd__opt, .rd-dd__body .filter-list__item{ display:flex !important; align-items:center; gap:8px; padding:6px 8px !important; margin:0 !important; border-radius:6px; font-size:13px; cursor:pointer; min-width:0; }
.rd-dd__opt[hidden]{ display:none !important; }
.rd-dd__opt:hover, .rd-dd__body .filter-list__item:hover{ background:var(--paper); }
.rd-dd__opt .input-check, .rd-dd__body .input-check{ margin:0 !important; flex:0 0 auto; }
.rd-dd__opt .filter-list__title, .rd-dd__body .filter-list__title{ flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding:0 !important; margin:0 !important; color:var(--text); }
.rd-dd__logo{ width:30px; height:18px; object-fit:contain; flex:0 0 30px; }
.rd-dd__cnt{ margin-left:auto; font-style:normal; font-size:11.5px; color:var(--text-faint); flex:0 0 auto; }
.rd-dd__body, .rd-dd__body .filter__container, .rd-dd__body .filter-list{ padding:0 !important; margin:0 !important; border:0 !important; }
.rd-dd__body .filter-list__list{ display:flex; flex-direction:column; gap:2px; max-height:none !important; }
.rd-dd__foot{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; margin-top:8px; border-top:1px solid var(--line); font-size:12.5px; }
.rd-dd__clear{ color:var(--text-faint); font-weight:600; }
.rd-dd__clear:hover{ color:var(--ink); }
.rd-dd__go{ height:32px; padding:0 14px; border-radius:var(--radius-sm); border:0; background:var(--ink); color:#fff; font-weight:700; font-family:var(--font-body); font-size:12.5px; cursor:pointer; }
.rd-dd__go:hover{ background:var(--brass); color:var(--ink); }
.rd-dd__radios{ display:flex; flex-direction:column; gap:2px; min-width:200px; }
.rd-dd__radio{ display:flex; justify-content:space-between; align-items:center; gap:12px; height:34px; padding:0 10px; border:0; border-radius:6px; background:transparent; font-family:var(--font-body); font-size:13px; color:var(--text); cursor:pointer; text-align:left; }
.rd-dd__radio:hover{ background:var(--paper); }
.rd-dd__radio em{ font-style:normal; font-size:11.5px; color:var(--text-faint); }
.rd-dd__radio.is-on{ background:var(--brass-soft); font-weight:600; color:var(--ink); }

.rd-applied{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:10px 0 0; font-size:12.5px; color:var(--text-faint); }
.rd-applied[hidden]{ display:none !important; }
.rd-chipx{ display:inline-flex; align-items:center; gap:6px; height:26px; padding:0 10px; border:0; border-radius:999px; background:var(--brass-soft); color:var(--ink); font-family:var(--font-body); font-weight:600; font-size:12px; cursor:pointer; }
.rd-chipx i{ font-style:normal; color:var(--brass-deep); font-size:14px; line-height:1; }
.rd-chipx:hover{ background:#ead9b3; }
.rd-applied__all{ color:var(--brass-deep); font-weight:700; margin-left:4px; }
.rd-applied__all:hover{ color:var(--ink); }

.rd-xhide{ display:none !important; }
.rd-picks{ margin:16px 0 16px; }
.rd-pick{ border-radius:var(--radius); overflow:hidden; }
@media (max-width:767px){
  .rd-fbar__left{ flex-wrap:nowrap; overflow-x:auto; width:100%; padding-bottom:2px; }
  .rd-fbar__right{ width:100%; justify-content:space-between; }
  .rd-dd{ position:static; }
  .rd-dd__panel, .rd-dd__panel--wide{ left:12px; right:12px; width:auto; }
  .rd-dd__grid{ grid-template-columns:1fr; }
}
.rd-noimg{ opacity:.45; object-fit:contain !important; }
.rd-pick img.rd-noimg{ padding:10px; }
.rd-related2{ margin-top:34px; }
.rd-related2 .rd-bsec__head{ margin-bottom:16px; }
.rd-sub:hover{ border-color:var(--ink); box-shadow:0 10px 30px rgba(4,24,43,.08); }
.rd-sub:focus-visible{ outline:0; border:2px solid var(--ink); }

/* ===== listing product cards v3 (rd_pcard.tpl) — grid + list views ===== */
.rd-listing .products-list .products-list__content{ display:grid !important; gap:16px; margin:0 !important; }
.rd-listing .products-list[data-layout=grid] .products-list__content{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.rd-listing .products-list[data-layout=table] .products-list__content{ grid-template-columns:minmax(0,1fr); gap:10px; }   /* rd: minmax(0,…) — a plain 1fr could not get narrower than the widest card content, so on a phone the list view ran off the screen */
.rd-listing .products-list[data-layout=table] .products-list__item{ min-width:0; }
.rd-listing .products-list .products-list__item{ width:auto !important; max-width:none !important; flex:none !important; margin:0 !important; padding:0 !important; display:block; }
.rd-listing .products-list .products-list__item[style*="display: none"], .rd-listing .products-list .products-list__item.rd-xhide{ display:none !important; }
@media (max-width:1199px){ .rd-listing .products-list[data-layout=grid] .products-list__content{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:899px){ .rd-listing .products-list[data-layout=grid] .products-list__content{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }

.rd-pc{ position:relative; height:100%; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:border-color .15s, box-shadow .15s; font-family:var(--font-body); }
.rd-pc:hover{ border-color:var(--line-2); box-shadow:var(--shadow); }
.rd-pc__media{ position:relative; background:var(--paper); aspect-ratio:4/3; }
.rd-pc__img{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:18px; }
.rd-pc__img img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform .25s; }
.rd-pc:hover .rd-pc__img img{ transform:scale(1.04); }
.rd-pc__badges{ position:absolute !important; top:10px; left:10px; right:auto; display:flex !important; flex-direction:column; align-items:flex-start; gap:5px; margin:0 !important; z-index:2; pointer-events:none; }
.rd-pc__badges .tag-badge{ position:static !important; margin:0 !important; height:auto; padding:4px 8px; border-radius:6px; font:600 10.5px/1.2 var(--font-body); letter-spacing:.02em; text-transform:none; white-space:nowrap; }
.rd-pc__badges .tag-badge::before{ display:none !important; }
.rd-pc__badges .rd-fitbadge{ background:var(--green-soft) !important; color:var(--green) !important; }
.rd-pc__badges .rd-bdg--oem{ background:var(--ink) !important; color:#fff !important; }
.rd-pc__sale{ position:absolute; top:10px; right:10px; z-index:2; background:var(--red); color:#fff; font:600 12px/1 var(--font-head); padding:5px 7px; border-radius:6px; }
.rd-pc__logo{ position:absolute; left:10px; bottom:10px; z-index:2; background:#fff; border:1px solid var(--line); border-radius:6px; padding:3px 6px; height:26px; display:flex; align-items:center; }
.rd-pc__logo img{ max-height:18px; max-width:70px; object-fit:contain; }
.rd-pc__main{ padding:14px 16px 0; display:flex; flex-direction:column; gap:6px; min-width:0; }
.rd-pc__brand{ font:600 11px/1 var(--font-head); letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-pc__name{ color:var(--text) !important; font-size:15px; font-weight:600; line-height:1.3; text-decoration:none !important; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rd-pc__name span{ display:inline-block; }
.rd-pc__name span::first-letter{ text-transform:uppercase; }
.rd-pc__name:hover{ color:var(--ink-2) !important; text-decoration:underline !important; }
.rd-pc__code{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-faint); }
.rd-pc__code b{ color:var(--text-soft); font-weight:500; font-family:ui-monospace,Consolas,monospace; }
.rd-copy{ border:0; background:transparent; padding:2px; width:22px; height:22px; border-radius:5px; cursor:pointer; color:var(--text-faint); display:inline-flex; align-items:center; justify-content:center; }
.rd-copy svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; }
.rd-copy:hover{ background:var(--paper); color:var(--ink); }
.rd-copy.is-done{ color:var(--green); }
.rd-pc__specs{ font-size:12px; color:var(--text-soft); }
.rd-pc__specs:not(:has(li, .artprops > *)){ display:none; }
.rd-pc__specs ul{ margin:0; padding:0; list-style:none; }
.rd-pc__eta{ display:flex; align-items:flex-start; gap:8px; padding:10px 16px 0; font-size:12.5px; line-height:1.3; }
.rd-pc__eta i{ flex:0 0 8px; height:8px; margin-top:4px; border-radius:50%; background:var(--text-faint); }
.rd-pc__eta--own i, .rd-pc__eta--ok i{ background:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.rd-pc__eta--call i{ background:var(--amber); box-shadow:0 0 0 3px var(--amber-soft); }
.rd-pc__eta-t{ display:flex; flex-direction:column; }
.rd-pc__eta-t .t1{ font-weight:600; color:var(--text); }
.rd-pc__eta--own .t1, .rd-pc__eta--ok .t1{ color:var(--green); }
.rd-pc__eta--no .t1{ color:var(--text-faint); }
.rd-pc__eta-t .t2{ color:var(--text-faint); font-size:11.5px; }
.rd-pc__price{ margin-top:auto; padding:12px 16px 0; display:flex; flex-wrap:wrap; align-items:baseline; column-gap:8px; }
.rd-pc__now{ font:600 24px/1.1 var(--font-head); color:var(--ink); white-space:nowrap; }
.rd-pc__old{ font-size:13px; color:var(--text-faint); text-decoration:line-through; white-space:nowrap; }
.rd-pc__save{ flex-basis:100%; font-size:12px; font-weight:500; color:var(--red); }
.rd-pc__ask{ font:600 16px/1.3 var(--font-head); color:var(--text-soft); }
.rd-pc__buy{ padding:12px 16px 16px; display:flex; gap:8px; }
.rd-qty{ flex:0 0 auto; display:flex; align-items:center; height:40px; border:1px solid var(--line-2); border-radius:10px; overflow:hidden; }
.rd-qty button{ width:30px; height:100%; border:0; background:transparent; font-size:17px; color:var(--text-soft); cursor:pointer; }
.rd-qty button:hover{ background:var(--paper); color:var(--ink); }
.rd-qty__v{ min-width:22px; text-align:center; font-weight:600; font-size:14px; }
.rd-add{ flex:1 1 auto; height:40px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:10px; background:var(--ink); color:#fff !important; font:600 14px/1 var(--font-body); cursor:pointer; text-decoration:none !important; white-space:nowrap; transition:background .15s, color .15s; padding:0 14px; }
.rd-add svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rd-add:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-add--done, .rd-add--done:hover{ background:var(--green); color:#fff !important; }
.rd-add--call{ background:var(--surface); color:var(--ink) !important; border:1px solid var(--ink); }
.rd-add--call:hover{ background:var(--ink); color:#fff !important; }
.rd-pc--call .rd-pc__img img, .rd-pc--no .rd-pc__img img{ opacity:.85; }
.rd-flash .rd-pc{ border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }

/* list header */
.rd-listing .products-list[data-layout=grid] .rd-lhd{ display:none !important; }
.rd-listing .products-list[data-layout=table] .rd-lhd{ display:grid !important; grid-template-columns:104px minmax(0,1fr) 180px 150px 210px; align-items:center; padding:10px 16px !important; margin:0 0 10px !important; }
.rd-lhd__c{ padding:0 10px; font:600 11px/1 var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.rd-lhd__c--img{ padding-left:0; }
.rd-lhd__c--price{ text-align:right; }
.rd-lhd button{ border:0; background:none; padding:0; font:inherit; letter-spacing:inherit; text-transform:inherit; color:inherit; cursor:pointer; }
.rd-lhd button:hover, .rd-lhd button[data-dir]{ color:var(--ink); }
.rd-lhd button i{ font-style:normal; opacity:.6; }

/* list rows */
.rd-listing .products-list[data-layout=table] .rd-pc{ display:grid; grid-template-columns:104px minmax(0,1fr) 180px 150px 210px; align-items:center; padding:12px 16px; }
.rd-listing .products-list[data-layout=table] .rd-pc:hover{ border-color:var(--brass); }
.rd-listing .products-list[data-layout=table] .rd-pc__media{ width:104px; aspect-ratio:1; border-radius:var(--radius-sm); overflow:hidden; }
.rd-listing .products-list[data-layout=table] .rd-pc__img{ padding:8px; }
.rd-listing .products-list[data-layout=table] .rd-pc__logo{ display:none !important; }
.rd-listing .products-list[data-layout=table] .rd-pc__badges{ top:auto; bottom:4px; left:4px; }
.rd-listing .products-list[data-layout=table] .rd-pc__badges .tag-badge{ display:none; }
.rd-listing .products-list[data-layout=table] .rd-pc__badges .rd-bdg--oem{ display:block; }
.rd-listing .products-list[data-layout=table] .rd-pc__sale{ top:6px; right:6px; font-size:11px; padding:4px 5px; }
.rd-listing .products-list[data-layout=table] .rd-pc__main{ padding:0 10px 0 18px; gap:5px; }
.rd-listing .products-list[data-layout=table] .rd-pc__name{ font-size:15.5px; }
.rd-listing .products-list[data-layout=table] .rd-pc__eta{ padding:0 10px; }
.rd-listing .products-list[data-layout=table] .rd-pc__price{ margin:0; padding:0 10px; flex-direction:column; align-items:flex-end; text-align:right; row-gap:2px; }
.rd-listing .products-list[data-layout=table] .rd-pc__save{ flex-basis:auto; }
.rd-listing .products-list[data-layout=table] .rd-pc__ask{ font-size:14px; }
.rd-listing .products-list[data-layout=table] .rd-pc__buy{ padding:0 0 0 10px; }

@media (max-width:991px){
  .rd-listing .products-list[data-layout=table] .rd-lhd{ display:none !important; }
  .rd-listing .products-list[data-layout=table] .rd-pc{ grid-template-columns:88px minmax(0,1fr); grid-template-areas:"m t" "m e" "p p" "b b"; row-gap:8px; padding:12px; }
  .rd-listing .products-list[data-layout=table] .rd-pc__media{ grid-area:m; width:88px; align-self:start; }
  .rd-listing .products-list[data-layout=table] .rd-pc__main{ grid-area:t; padding:0 0 0 12px; }
  .rd-listing .products-list[data-layout=table] .rd-pc__eta{ grid-area:e; padding:0 0 0 12px; }
  .rd-listing .products-list[data-layout=table] .rd-pc__price{ grid-area:p; flex-direction:row; align-items:baseline; justify-content:flex-start; margin-top:4px; padding:10px 0 0; border-top:1px solid var(--line); }
  .rd-listing .products-list[data-layout=table] .rd-pc__buy{ grid-area:b; padding:0; }
}
@media (max-width:575px){
  .rd-pc__main{ padding:10px 10px 0; }
  .rd-pc__name{ font-size:13.5px; }
  .rd-pc__eta, .rd-pc__price{ padding-left:10px; padding-right:10px; }
  .rd-pc__now{ font-size:20px; }
  .rd-pc__buy{ padding:10px; flex-wrap:wrap; }
  .rd-listing .products-list[data-layout=grid] .rd-qty{ width:100%; justify-content:space-between; }
  .rd-add{ padding:0 8px; font-size:13px; }
  .rd-pc__badges .tag-badge{ font-size:9.5px; padding:3px 6px; }
}
.rd-pc__eta--slow i{ background:var(--amber) !important; box-shadow:0 0 0 3px var(--amber-soft) !important; }
.rd-pc__eta--slow .t1{ color:var(--amber) !important; }
/* sidebar hidden → content column must not keep the theme gutter (aligns with the breadcrumbs) */
@media (min-width:992px){ body.rd-listing-products .block-split__item-content{ margin-left:0 !important; margin-right:0 !important; } }

/* ===== product-for-car page v2 (productnew.tpl, .rd-pd--car) ===== */
.rd-pd--car{ padding-top:4px; }
.rd-carstrip--fit{ position:static; box-shadow:none; margin:0 0 20px; padding:12px 16px; }
.rd-fitok{ width:40px; height:40px; border-radius:50%; background:var(--green-soft); color:var(--green); display:grid; place-items:center; flex:0 0 auto; }
.rd-fitok svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.rd-pd--car .rd-pd__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:start; }
.rd-pd--car .rd-pd__col{ padding-bottom:0; position:sticky; top:120px; }
.rd-pd--car .rd-pd__info{ display:flex; flex-direction:column; gap:14px; }
.rd-pdc__brandrow{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.rd-pdc__brandrow .rd-pd__brand{ margin:0; }
.rd-pdc__logo{ background:#fff; border:1px solid var(--line); border-radius:8px; padding:4px 8px; height:34px; display:flex; align-items:center; }
.rd-pdc__logo img{ max-height:24px; max-width:110px; object-fit:contain; }
.rd-pdc__h1{ font-family:var(--font-head); font-weight:600; font-size:clamp(24px,2.5vw,32px); line-height:1.12; color:var(--ink); margin:0; text-wrap:balance; }
.rd-pdc__nm{ display:inline-block; }
.rd-pdc__nm::first-letter{ text-transform:uppercase; }
.rd-pdc__h1 em{ font-style:normal; color:var(--brass-deep); }
.rd-pdc__codes{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; font-size:12.5px; color:var(--text-faint); }
.rd-pdc__codes > span{ display:inline-flex; align-items:center; gap:5px; }
.rd-pdc__codes b{ font-family:ui-monospace,Consolas,monospace; font-weight:500; color:var(--text); }
.rd-pdc__oem{ background:var(--ink); color:#fff; border-radius:6px; padding:3px 8px; font-weight:600; font-size:11px; }
.rd-pdc__rate{ color:var(--text-soft); display:inline-flex; align-items:center; gap:6px; }
.rd-stars{ --r:0; display:inline-block; width:80px; height:14px; vertical-align:-2px; background:linear-gradient(90deg,var(--brass) calc(var(--r) / 5 * 100%),var(--line-2) 0); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M8 0l2.1 4.6 4.9.5-3.7 3.3 1.1 4.9L8 10.8 3.6 13.3l1.1-4.9L1 5.1l4.9-.5z'/%3E%3C/svg%3E") 0 0/16px 14px repeat-x; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M8 0l2.1 4.6 4.9.5-3.7 3.3 1.1 4.9L8 10.8 3.6 13.3l1.1-4.9L1 5.1l4.9-.5z'/%3E%3C/svg%3E") 0 0/16px 14px repeat-x; }
.rd-pdc__keys{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.rd-pdc__key{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:9px 11px; min-width:0; }
.rd-pdc__key small{ display:block; font-size:11px; line-height:1.25; color:var(--text-faint); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-pdc__key b{ font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); line-height:1.3; font-variant-numeric:tabular-nums; }
.rd-pdc__key b i{ font:400 11px var(--font-body); color:var(--text-faint); font-style:normal; margin-left:3px; }

.rd-pdc__box.rd-pd__card{ margin:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:20px 22px 0; display:flex; flex-direction:column; gap:16px; }
.rd-pdc__price{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.rd-pdc__now{ font-family:var(--font-head); font-size:46px; font-weight:600; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-pdc__old{ font-size:16px; color:var(--text-faint); text-decoration:line-through; }
.rd-pdc__save{ background:var(--red-soft); color:var(--red); border-radius:6px; padding:3px 8px; font-size:12.5px; font-weight:600; }
.rd-pdc__vat{ flex-basis:100%; font-size:12px; color:var(--text-faint); }
.rd-pdc__ask{ font-family:var(--font-head); font-size:26px; font-weight:600; color:var(--text-soft); }
.rd-pdc__deposit{ flex-basis:100%; font-size:12.5px; color:var(--text-soft); background:var(--paper); border-radius:8px; padding:8px 10px; }
.rd-pdc__promo{ display:flex; align-items:center; gap:10px; background:var(--red-soft); color:#9B1F20; border-radius:var(--radius-sm); padding:9px 12px; font-size:12.5px; }
.rd-pdc__promo svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; flex:0 0 auto; }
.rd-pdc__promo i{ font-style:normal; }
.rd-pdc__eta{ display:flex; flex-direction:column; gap:8px; }
.rd-pdc__eta-row{ display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.4; }
.rd-pdc__eta-row b{ display:block; font-weight:600; color:var(--green); font-size:14px; }
.rd-pdc__eta-row span{ display:block; color:var(--text-faint); font-size:12.5px; }
.rd-pdc__eta-row strong{ color:var(--text); font-weight:600; }
.rd-pdc__dot{ width:9px; height:9px; border-radius:50%; margin-top:6px; flex:0 0 auto; background:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.rd-pdc__eta--slow .rd-pdc__dot{ background:var(--amber); box-shadow:0 0 0 3px var(--amber-soft); }
.rd-pdc__eta--slow .rd-pdc__eta-row b{ color:var(--amber); }
.rd-pdc__eta--no .rd-pdc__dot{ background:var(--text-faint); box-shadow:0 0 0 3px var(--paper); }
.rd-pdc__eta--no .rd-pdc__eta-row b{ color:var(--text-soft); }
.rd-pdc__eta-row--muted{ color:var(--text-soft); }
/* rd-pdship: the price of the Econt delivery (js/rd-pdship.js) */
.rd-pdc__ship > div{ flex:1 1 auto; min-width:0; }
.rd-pdc__eta-row span.rd-pdc__ship-t{ color:var(--text-soft); font-size:13px; margin-bottom:4px; }
.rd-pdc__eta-row span.rd-pdc__ship-l{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--text); font-size:13.5px; padding:3px 0; }
.rd-pdc__ship-l + .rd-pdc__ship-l{ border-top:1px dashed var(--line, #E3E7EC); }
.rd-pdc__ship-l em{ font-style:normal; }
.rd-pdc__ship-l strong{ font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap; }
.rd-pdc__eta-row span.rd-pdc__ship-n{ margin-top:4px; font-size:12px; color:var(--text-faint); }
.rd-pdc__eta-row--muted svg{ width:17px; height:17px; fill:none; stroke:var(--text-soft); stroke-width:1.8; flex:0 0 auto; margin-top:1px; }
.rd-pd--car .rd-pd__card .product__actions.rd-pdc__act{ padding:0 !important; margin:0 !important; display:flex; flex-wrap:nowrap; gap:10px; align-items:stretch; }
.rd-pdc__act .product__actions-item{ margin:0 !important; }
.rd-pdc__act .product__actions-item--quantity{ flex:0 0 120px; }
.rd-pdc__act .input-number, .rd-pdc__act .input-number__input{ height:54px !important; border-radius:12px !important; }
.rd-pdc__act .product__actions-item--addtocart{ flex:1 1 auto !important; }
.rd-add.rd-add--lg{ width:100%; height:54px; font-size:16px; border-radius:12px; }
.rd-add.rd-add--lg svg{ width:21px; height:21px; }
.rd-add.is-done, .rd-add.is-done:hover{ background:var(--green); color:#fff !important; }
.rd-pd--car .rd-pd__trust{ margin:0 -22px; padding:14px 22px; justify-content:space-between; }
.rd-pdc__admin{ display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; font-size:12px; color:var(--text-soft); border-top:1px dashed var(--line-2); padding:12px 0 16px; }
.rd-pdc__admin form{ flex-basis:100%; margin:0; }
.rd-pdc__cp{ display:inline-flex; align-items:center; gap:4px; }
.rd-pdc__cp b{ color:var(--text); font-weight:600; }
.rd-pdc__box .product__tags-and-share-links{ padding:0 0 14px; margin:0; }
.rd-pdc__help{ margin:0; font-size:12.5px; color:var(--text-soft); }
.rd-pdc__help a{ color:var(--ink); font-weight:600; border-bottom:1px solid var(--brass); }

.rd-pdc__sec{ margin-top:36px; }
.rd-alt2{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-alt2__tabs{ display:flex; flex-wrap:wrap; gap:6px; padding:12px 14px; border-bottom:1px solid var(--line); }
.rd-alt2__tabs button{ height:32px; padding:0 13px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:12.5px; font-weight:500; color:var(--text-soft); cursor:pointer; }
.rd-alt2__tabs button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-alt2__tabs button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-alt2__scroll{ overflow-x:auto; }
.rd-alt2__t{ width:100%; min-width:640px; border-collapse:collapse; }
.rd-alt2__t th{ background:var(--paper); padding:11px 16px; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); text-align:left; }
.rd-alt2__t td{ padding:10px 16px; border-top:1px solid var(--line); vertical-align:middle; }
.rd-alt2__t .r{ text-align:right; }
.rd-alt2__t tr:hover td{ background:#F8FAFB; }
.rd-alt2__t tr.is-cur td{ background:#FBF7EE; }
.rd-alt2__p{ display:flex; align-items:center; gap:12px; }
.rd-alt2__p img{ width:48px; height:48px; object-fit:contain; background:var(--paper); border-radius:8px; padding:4px; mix-blend-mode:multiply; flex:0 0 auto; }
.rd-alt2__b{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-alt2__n{ font-weight:500; color:var(--text); display:inline-block; }
.rd-alt2__n::first-letter{ text-transform:uppercase; }
.rd-alt2__n:hover{ color:var(--ink-2); text-decoration:underline; }
.rd-alt2__c{ display:block; font-family:ui-monospace,Consolas,monospace; font-size:12px; color:var(--text-faint); }
.rd-tag{ display:inline-block; margin-left:6px; border-radius:5px; padding:2px 6px; font-size:10.5px; font-weight:600; vertical-align:1px; }
.rd-tag--cur{ background:var(--ink); color:#fff; }
.rd-alt2__eta{ white-space:nowrap; font-size:12.5px; color:var(--text-soft); }
.rd-alt2__eta i{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:7px; background:var(--green); }
.rd-alt2__eta i.s{ background:var(--amber); }
.rd-alt2__eta i.n{ background:var(--text-faint); }
.rd-alt2__t td.r b{ font-family:var(--font-head); font-size:19px; font-weight:600; color:var(--ink); white-space:nowrap; }
.rd-alt2__t td.r s{ display:block; font-size:11.5px; color:var(--text-faint); }
.rd-mini{ height:36px; padding:0 14px; border:0; border-radius:10px; background:var(--ink); color:#fff; font-weight:600; font-size:13px; cursor:pointer; white-space:nowrap; }
.rd-mini:hover{ background:var(--brass); color:var(--ink); }
.rd-mini.is-done{ background:var(--green); color:#fff; }
.rd-alt2__more, .rd-pdc__more{ display:block; width:100%; border:0; border-top:1px solid var(--line); background:#fff; padding:12px; font-weight:600; font-size:13px; color:var(--ink); cursor:pointer; }
.rd-alt2__more:hover, .rd-pdc__more:hover{ background:var(--paper); }

.rd-kit2{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:stretch; }
.rd-kit2:has(> .rd-kit2__i:nth-child(4)){ grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.1fr); }
.rd-kit2__i{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px; display:flex; flex-direction:column; gap:5px; transition:border-color .15s, opacity .15s; }
.rd-kit2__i.is-on{ border-color:var(--ink); }
.rd-kit2__i:not(.is-on){ opacity:.7; }
.rd-kit2__chk{ position:absolute; top:10px; right:10px; margin:0; z-index:1; }
.rd-kit2__chk input{ width:19px; height:19px; accent-color:var(--ink); cursor:pointer; }
.rd-kit2__img{ background:var(--paper); border-radius:var(--radius-sm); height:96px; display:flex; align-items:center; justify-content:center; padding:8px; }
.rd-kit2__img img{ max-height:100%; max-width:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-kit2__i small{ font-family:var(--font-head); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); margin-top:4px; }
.rd-kit2__i b, .rd-kit2__n{ font-weight:500; font-size:13px; line-height:1.3; color:var(--text); }
.rd-kit2__i em{ font-style:normal; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); margin-top:auto; }
.rd-kit2__d{ font-size:11.5px; color:var(--green); }
.rd-kit2__sum{ background:var(--ink); color:#fff; border-radius:var(--radius); padding:18px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.rd-kit2__sum small{ font-size:12px; opacity:.7; }
.rd-kit2__sum b{ font-family:var(--font-head); font-size:32px; font-weight:600; line-height:1; }
.rd-kit2__sum button{ margin-top:6px; height:46px; border:0; border-radius:10px; background:var(--brass); color:var(--ink); font-weight:700; cursor:pointer; }
.rd-kit2__sum button:hover{ background:#fff; }
.rd-kit2__sum button.is-done{ background:var(--green); color:#fff; }
.rd-kit2__sum button:disabled{ cursor:default; }

.rd-pdc__det{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:16px; align-items:start; }
.rd-pdc__side{ display:grid; gap:16px; }
.rd-pdc__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 20px; min-width:0; }
.rd-pdc__card > h3{ font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); margin:0 0 10px; }
.rd-pdc__spec{ display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:20px; align-items:center; }
.rd-pdc__spec:not(:has(.rd-dim:not([hidden]))){ grid-template-columns:1fr; }
.rd-pdc__spec .product__features{ margin:0; padding:0; }
.rd-pdc__spec .spec__row{ display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid var(--line); margin:0; }
.rd-pdc__spec .spec__name{ color:var(--text-faint); width:auto; flex:1 1 auto; padding:0; }
.rd-pdc__spec .spec__name::first-letter{ text-transform:uppercase; }
.rd-pdc__spec .spec__value{ font-weight:500; text-align:right; padding:0; font-variant-numeric:tabular-nums; }
.rd-pdc__spec .product__excerpt{ margin-top:12px; font-size:13.5px; color:var(--text-soft); }
.rd-dim svg{ width:100%; height:auto; display:block; }
.rd-dim .f{ fill:var(--brass-soft); stroke:var(--brass-deep); stroke-width:1.5; }
.rd-dim .h{ fill:#fff; stroke:var(--brass-deep); stroke-dasharray:3 3; }
.rd-dim .l{ stroke:var(--text-soft); fill:none; }
.rd-dim text{ font:500 11px ui-monospace,Consolas,monospace; fill:var(--text-soft); }
.rd-pdc__ean.rd-pd__ean{ flex-direction:row; justify-content:flex-start; align-items:center; gap:16px; margin:14px 0 0; padding:14px 0 0; border:0; border-top:1px dashed var(--line-2); border-radius:0; min-height:0; }
.rd-pdc__ean .rd-pd__ean-slot{ width:auto; }
.rd-pdc__ean .rd-pd__ean-svg{ max-height:52px; }
.rd-pdc__ean .rd-pd__ean-label{ margin:0 0 2px; }
.rd-pdc__ean b{ font-family:ui-monospace,Consolas,monospace; font-weight:500; }
.rd-pdc__oe .spec__section{ padding:0; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.rd-pdc__oe .spec__section-title{ display:none; }
.rd-pdc__oe .spec__row{ display:inline-flex; align-items:baseline; gap:5px; margin:0; padding:4px 9px; border:1px solid var(--line); border-radius:6px; background:var(--paper); }
.rd-pdc__oe .spec__row:hover{ border-color:var(--ink); }
.rd-pdc__oe .spec__name, .rd-pdc__oe .spec__value{ width:auto; padding:0; border:0; }
.rd-pdc__oe .spec__name a{ font-size:11px; color:var(--text-faint); }
.rd-pdc__oe .spec__value a{ font-family:ui-monospace,Consolas,monospace; font-size:12.5px; font-weight:500; color:var(--text); }
.rd-pdc__apps{ display:flex; flex-direction:column; }
.rd-pdc__app{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); color:var(--text); font-size:13.5px; font-weight:500; }
.rd-pdc__app small{ display:block; font-size:11.5px; font-weight:400; color:var(--text-faint); }
.rd-pdc__app em{ font-style:normal; font-size:12px; color:var(--text-faint); white-space:nowrap; }
.rd-pdc__app:hover{ color:var(--ink-2); }
.rd-pdc__app.is-me{ color:var(--green); }
.rd-pdc__app.is-me em{ color:var(--green); font-weight:600; }
.rd-pdc__card .rd-pdc__more{ border-top:0; margin-top:6px; padding:8px 0 0; text-align:left; color:var(--brass-deep); background:none; }
.rd-pdc__loading{ color:var(--text-faint); font-size:13px; padding:8px 0; }
.rd-pdc__revhead{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.rd-pdc__revn{ font-family:var(--font-head); font-size:42px; font-weight:600; line-height:1; color:var(--ink); }
.rd-pdc__revhead p{ margin:0; flex:1 1 180px; font-size:13px; color:var(--text-soft); }
.rd-pdc__rev .product-tabs__pane{ display:block !important; padding:0 !important; }
.rd-pdc__rev .reviews-view__list:not(:has(li)){ display:none; }
.rd-pdc__rev .reviews-list__item{ padding:12px 0; border-top:1px solid var(--line); }
.rd-pdc__rev .reviews-view__form{ margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.rd-pdc__rev .reviews-view__form [class*=col-]{ max-width:100%; flex:0 0 100%; }
.rd-pdc__rev .reviews-view__header{ font-family:var(--font-head); font-size:16px; }

.rd-pdc__mbar{ display:none; }
@media (max-width:1199px){
  .rd-kit2, .rd-kit2:has(> .rd-kit2__i:nth-child(4)){ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rd-kit2__sum{ grid-column:1/-1; }
}
@media (max-width:991px){
  .rd-pd--car .rd-pd__grid{ grid-template-columns:1fr; }
  .rd-pd--car .rd-pd__col{ position:static; }
  .rd-pdc__det{ grid-template-columns:1fr; }
  .rd-kit2, .rd-kit2:has(> .rd-kit2__i:nth-child(4)){ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-carstrip--fit img, .rd-carstrip--fit .rd-carstrip__acts{ display:none; }
  .rd-pdc__mbar{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:40; align-items:center; gap:12px; background:var(--surface); border-top:1px solid var(--line); padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); box-shadow:0 -8px 24px rgba(4,24,43,.08); transform:translateY(110%); transition:transform .2s; }
  .rd-pdc__mbar.is-on{ transform:none; }
  .rd-pdc__mbar b{ display:block; font-family:var(--font-head); font-size:24px; font-weight:600; line-height:1.1; color:var(--ink); }
  .rd-pdc__mbar small{ display:block; font-size:11.5px; color:var(--green); }
  .rd-pdc__mbar .rd-add{ flex:1 1 auto; height:46px; }
}
@media (max-width:575px){
  .rd-pdc__keys{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-pdc__now{ font-size:38px; }
  .rd-pdc__box.rd-pd__card{ padding:16px 16px 0; }
  .rd-pd--car .rd-pd__trust{ margin:0 -16px; padding:12px 16px; }
  .rd-pdc__act .product__actions-item--quantity{ flex-basis:104px; }
  .rd-pdc__spec{ grid-template-columns:1fr; }
  .rd-dim{ max-width:200px; }
  .rd-kit2, .rd-kit2:has(> .rd-kit2__i:nth-child(4)){ grid-template-columns:1fr 1fr; gap:8px; }
}
@media (prefers-reduced-motion:reduce){ .rd-pdc__mbar{ transition:none; } }
.rd-nw{ white-space:nowrap; }
.rd-pdc__spec .spec__row, .rd-pdc__spec .spec__row .spec__name, .rd-pdc__spec .spec__row .spec__value{ font-size:13.5px; line-height:1.4; }
.rd-pdc__ean .rd-pd__ean-slot{ width:180px; flex:0 0 180px; }
@media (max-width:991px){ .rd-pd--car .product__actions.rd-pdc__act{ position:static !important; left:auto !important; right:auto !important; bottom:auto !important; width:auto !important; z-index:auto !important; box-shadow:none !important; background:transparent !important; padding:0 !important; } }
.rd-pd--car .rd-pdc__act button#addToCart{ margin:0 !important; height:54px !important; width:100% !important; background:var(--ink) !important; color:#fff !important; }
.rd-pd--car .rd-pdc__act button#addToCart:hover{ background:var(--brass) !important; color:var(--ink) !important; }
.rd-pd--car .rd-pdc__act button#addToCart.is-done{ background:var(--green) !important; color:#fff !important; }
/* rd-pair: the long "Добави комплекта в количката" must not push the button off a phone screen — the button may shrink to the
   space left by the quantity box and its text may wrap onto two lines */
.rd-pdc__act .product__actions-item--addtocart{ min-width:0; flex-basis:0 !important; }
.rd-pd--car .rd-pdc__act button#addToCart{ min-width:0; white-space:normal; line-height:1.15; padding:6px 12px; height:auto !important; min-height:54px; }
.rd-pd--car .rd-pdc__spec .product__features{ display:block !important; }
.rd-pd--car .rd-pdc__spec .spec__name{ text-transform:none !important; margin:0 !important; font-size:13.5px !important; }
.rd-pd--car .rd-pdc__oe .spec__name{ font-size:11px !important; }

/* ===== system category without a car (parts0.tpl, .rd-catland) ===== */
.rd-catland{ padding-top:4px; }
.rd-cl-hero{ position:relative; overflow:hidden; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:28px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:28px; align-items:center; }
.rd-cl-hero::after{ content:""; position:absolute; right:-70px; top:-70px; width:340px; height:340px; border-radius:50%; background:repeating-linear-gradient(90deg,rgba(201,154,62,.14) 0 3px,transparent 3px 11px); pointer-events:none; }
.rd-cl-hero__t{ position:relative; z-index:1; }
.rd-cl-eb{ font-family:var(--font-head); font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); }
.rd-cl-hero h1{ font-family:var(--font-head); font-size:clamp(34px,4vw,48px); font-weight:600; line-height:1.02; color:#fff; margin:10px 0 12px; text-wrap:balance; }
.rd-cl-hero h1 em{ font-style:normal; color:var(--brass); }
.rd-cl-hero p{ margin:0; color:rgba(255,255,255,.72); max-width:44ch; font-size:14.5px; }
.rd-cl-facts{ display:flex; flex-wrap:wrap; gap:24px; margin-top:22px; }
.rd-cl-facts div{ display:flex; flex-direction:column; }
.rd-cl-facts b{ font-family:var(--font-head); font-size:26px; font-weight:600; line-height:1; color:#fff; }
.rd-cl-facts span{ font-size:12px; color:rgba(255,255,255,.6); margin-top:4px; }
.rd-cl-pick{ position:relative; z-index:1; background:var(--surface); color:var(--text); border-radius:var(--radius); padding:18px; display:grid; gap:12px; transition:box-shadow .2s; }
.rd-cl-pick.rd-flash{ box-shadow:0 0 0 4px var(--brass); }
.rd-cl-pick h2{ font-family:var(--font-head); font-size:18px; font-weight:600; margin:0; color:var(--ink); }
.rd-cl-pick__row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.rd-cl-sel{ position:relative; min-width:0; }
.rd-cl-sel label{ position:absolute; left:12px; top:6px; margin:0; font-size:10.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--text-faint); pointer-events:none; }
.rd-cl-sel select{ width:100%; height:52px; border:1px solid var(--line-2); border-radius:10px; background:#fff; padding:18px 28px 4px 12px; appearance:none; -webkit-appearance:none; color:var(--text); font-weight:500; font-size:14px; text-overflow:ellipsis; }
.rd-cl-sel select:focus{ outline:0; border-color:var(--ink); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-cl-sel select:disabled{ background:var(--paper); color:var(--text-faint); }
.rd-cl-sel::after{ content:"\25BE"; position:absolute; right:12px; top:17px; color:var(--text-faint); pointer-events:none; }
.rd-cl-go{ height:48px; border:0; border-radius:10px; background:var(--brass); color:var(--ink); font-weight:700; font-size:15px; cursor:pointer; transition:background .15s, color .15s; }
.rd-cl-go:hover:not(:disabled){ background:var(--ink); color:#fff; }
.rd-cl-go:disabled{ opacity:.55; cursor:default; }
.rd-cl-or{ display:flex; align-items:center; gap:10px; color:var(--text-faint); font-size:12px; }
.rd-cl-or::before, .rd-cl-or::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-cl-num{ display:flex; gap:8px; margin:0; }
.rd-cl-num input{ flex:1; min-width:0; height:44px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; font-family:ui-monospace,Consolas,monospace; font-size:13px; }
.rd-cl-num input:focus{ outline:0; border-color:var(--ink); }
.rd-cl-num button{ height:44px; border:1px solid var(--ink); background:#fff; color:var(--ink); border-radius:10px; padding:0 16px; font-weight:600; cursor:pointer; }
.rd-cl-num button:hover{ background:var(--ink); color:#fff; }
.rd-cl-garage{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12px; color:var(--text-faint); }
.rd-cl-garage a{ border:1px solid var(--line-2); border-radius:999px; padding:4px 10px; color:var(--text); font-weight:500; background:#fff; }
.rd-cl-garage a:hover{ border-color:var(--ink); color:var(--ink); }

.rd-cl-sec{ margin-top:36px; }
.rd-cl-chip{ display:inline-flex; align-items:center; border-radius:6px; padding:3px 8px; font-size:11.5px; font-weight:500; background:var(--blue-soft); color:var(--blue); white-space:nowrap; }
.rd-cl-main{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rd-cl-mc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; display:flex; flex-direction:column; gap:8px; color:var(--text); transition:border-color .15s, box-shadow .15s; }
.rd-cl-mc:hover{ border-color:var(--ink); box-shadow:var(--shadow); color:var(--text); }
.rd-cl-mc__img{ background:var(--paper); border-radius:var(--radius); height:140px; display:flex; align-items:center; justify-content:center; padding:10px; margin-bottom:4px; }
.rd-cl-mc__img img{ max-height:100%; max-width:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform .25s; }
.rd-cl-mc:hover .rd-cl-mc__img img{ transform:scale(1.05); }
.rd-cl-mc h3{ font-family:var(--font-head); font-size:20px; font-weight:600; line-height:1.15; margin:0; color:var(--ink); }
.rd-cl-mc p{ margin:0; font-size:12.5px; line-height:1.4; color:var(--text-soft); }
.rd-cl-mc__meta{ display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:auto; padding-top:10px; border-top:1px solid var(--line); }
.rd-cl-mc__meta b{ color:var(--brass-deep); font-weight:700; font-size:13px; white-space:nowrap; }

.rd-cl-groups{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:start; }
.rd-cl-groups--1{ grid-template-columns:1fr; }
.rd-cl-groups--1 .rd-cl-grp{ columns:3 240px; column-gap:24px; }
.rd-cl-groups--1 .rd-cl-grp h3{ column-span:all; }
.rd-cl-groups--1 .rd-cl-grp a{ break-inside:avoid; }
.rd-cl-groups--2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.rd-cl-groups--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.rd-cl-grp{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; }
.rd-cl-grp h3{ display:flex; align-items:center; gap:8px; font-family:var(--font-head); font-size:15px; font-weight:600; letter-spacing:.02em; margin:0 0 6px; color:var(--ink); }
.rd-cl-grp a{ display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid var(--line); font-size:13.5px; color:var(--text); }
.rd-cl-grp a:last-child{ border-bottom:0; }
.rd-cl-grp a img{ width:34px; height:34px; object-fit:contain; background:var(--paper); border-radius:6px; padding:2px; mix-blend-mode:multiply; flex:0 0 auto; }
.rd-cl-grp a span{ flex:1; min-width:0; }
.rd-cl-grp a em{ font-style:normal; color:var(--text-faint); font-size:16px; }
.rd-cl-grp a:hover{ color:var(--ink-2); }
.rd-cl-grp a:hover span{ text-decoration:underline; }

.rd-cl-ic{ width:20px; height:20px; flex:0 0 auto; background:var(--brass-deep); -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat; }
.rd-cl-ic--gear{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='8' width='14' height='10' rx='2'/%3E%3Cpath d='M17 11h4v4h-4M7 8V5h6v3'/%3E%3C/svg%3E"); }
.rd-cl-ic--exhaust{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M3 14h10l3-3h5M3 18h14'/%3E%3Ccircle cx='19' cy='17' r='2'/%3E%3C/svg%3E"); }
.rd-cl-ic--housing{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='6' y='3' width='12' height='18' rx='3'/%3E%3Cpath d='M9 8h6'/%3E%3C/svg%3E"); }
.rd-cl-ic--tool{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M14 4l6 6-9 9H5v-6z'/%3E%3C/svg%3E"); }
.rd-cl-ic--shield{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3C/svg%3E"); }
.rd-cl-ic--eye{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/%3E%3C/svg%3E"); }
.rd-cl-ic--truck{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.rd-cl-ic--phone{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }

.rd-cl-ruler{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px 22px; }
.rd-cl-ruler__scroll{ overflow-x:auto; }
.rd-rl{ min-width:720px; }
.rd-rl__axis{ position:relative; height:28px; border-bottom:2px solid var(--ink); margin:0 12px 0 152px; }
.rd-rl__axis span{ position:absolute; bottom:-24px; transform:translateX(-50%); font:500 11px ui-monospace,Consolas,monospace; color:var(--text-faint); white-space:nowrap; }
.rd-rl__axis span::before{ content:""; position:absolute; left:50%; top:-12px; width:1px; height:9px; background:var(--ink); }
.rd-rl__rows{ margin-top:32px; display:grid; gap:10px; }
.rd-rl__row{ display:grid; grid-template-columns:142px minmax(0,1fr); gap:10px; align-items:center; }
.rd-rl__row b{ font-weight:500; font-size:13px; }
.rd-rl__track{ position:relative; height:26px; margin-right:12px; border-radius:6px; background:repeating-linear-gradient(90deg,var(--paper) 0 calc(100%/6 - 1px),var(--line) calc(100%/6 - 1px) calc(100%/6)); }
.rd-rl__bar{ position:absolute; top:4px; height:18px; border-radius:5px; display:flex; align-items:center; padding:0 8px; font-size:11px; font-weight:600; white-space:nowrap; }
.rd-rl__bar--oil{ background:var(--ink); color:#fff; }
.rd-rl__bar--air{ background:var(--brass); color:var(--ink); }
.rd-rl__bar--cab{ background:var(--blue-soft); color:var(--blue); border:1px solid #BFD3F2; }
.rd-rl__bar--fuel{ background:var(--amber-soft); color:#8A5A12; border:1px dashed var(--amber); }

.rd-cl-kits{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-cl-kit{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; display:flex; flex-direction:column; gap:12px; }
.rd-cl-kit__top{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.rd-cl-kit h3{ font-family:var(--font-head); font-size:19px; font-weight:600; margin:0; color:var(--ink); }
.rd-cl-kit ul{ margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:6px; }
.rd-cl-kit li{ background:var(--paper); border-radius:6px; padding:4px 9px; font-size:12.5px; }
.rd-cl-kit button{ margin-top:auto; height:42px; border-radius:10px; border:1px solid var(--ink); background:#fff; color:var(--ink); font-weight:600; cursor:pointer; }
.rd-cl-kit button:hover{ background:var(--ink); color:#fff; }
.rd-cl-kit--dark{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-cl-kit--dark h3{ color:#fff; }
.rd-cl-kit--dark li{ background:rgba(255,255,255,.1); }
.rd-cl-kit--dark .rd-cl-chip{ background:var(--brass); color:var(--ink); }
.rd-cl-kit--dark button{ background:var(--brass); border-color:var(--brass); }
.rd-cl-kit--dark button:hover{ background:#fff; border-color:#fff; color:var(--ink); }

.rd-guide-card.card{ margin-top:36px; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:none; }
.rd-guide-card + .block-space, .rd-guide-card ~ .block-space--layout--divider-nl{ display:none; }
.rd-guide{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:28px; }
.rd-guide--faq{ grid-template-columns:1fr; }
.rd-guide__toc{ position:sticky; top:120px; align-self:start; display:flex; flex-direction:column; gap:2px; }
.rd-guide__toc small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:6px; }
.rd-guide__toc a{ padding:6px 10px; border-radius:8px; border-left:2px solid transparent; font-size:13px; line-height:1.35; color:var(--text-soft); }
.rd-guide__toc a:hover, .rd-guide__toc a.is-on{ background:var(--paper); color:var(--ink); border-left-color:var(--brass); }
.rd-guide__art{ max-width:74ch; min-width:0; }
.rd-guide__art h2{ font-family:var(--font-head) !important; font-size:21px !important; font-weight:600 !important; line-height:1.25; color:var(--ink) !important; margin:0 0 8px !important; scroll-margin-top:120px; }
.rd-guide__art h2 *{ color:inherit !important; font-size:inherit !important; }
.rd-guide__art p, .rd-guide__art li{ color:var(--text-soft); line-height:1.65; font-size:14.5px; }
.rd-guide__art p{ margin:0 0 12px; }
.rd-guide__sec + .rd-guide__sec{ margin-top:22px; }
.rd-guide__more{ display:none; margin-top:22px; }
.rd-guide.is-open .rd-guide__more{ display:block; }
.rd-guide__rm{ border:0; background:none; padding:0; margin-top:6px; color:var(--brass-deep); font-weight:700; cursor:pointer; }
.rd-guide__faq{ margin-top:26px; display:grid; gap:8px; }
.rd-guide__faq details{ border:1px solid var(--line); border-radius:10px; padding:0 14px; background:#fff; }
.rd-guide__faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:10px; padding:12px 0; font-weight:600; color:var(--text); }
.rd-guide__faq summary::-webkit-details-marker{ display:none; }
.rd-guide__faq summary::after{ content:"+"; color:var(--brass-deep); font-size:18px; line-height:1; }
.rd-guide__faq details[open] summary::after{ content:"\2212"; }
.rd-guide__q{ border:1px solid var(--line); border-radius:10px; padding:0 14px; margin-bottom:8px; background:#fff; }
.rd-guide__q [itemprop="name"]{ cursor:pointer; display:flex; justify-content:space-between; gap:10px; padding:12px 0; margin:0 !important; font-size:15px !important; }
.rd-guide__q [itemprop="name"]::after{ content:"+"; color:var(--brass-deep); font-size:18px; }
.rd-guide__q.is-open [itemprop="name"]::after{ content:"\2212"; }
.rd-guide__q [itemprop="acceptedAnswer"]{ display:none; padding-bottom:10px; }
.rd-guide__q.is-open [itemprop="acceptedAnswer"]{ display:block; }

.rd-cl-trust{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:24px; }
.rd-cl-trust > div{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px; display:flex; align-items:center; gap:12px; font-size:12.5px; color:var(--text-soft); }
.rd-cl-trust .rd-cl-ic{ width:24px; height:24px; }
.rd-cl-trust b{ display:block; color:var(--text); font-size:13px; }
.rd-cl-trust a{ color:var(--ink); font-weight:600; }

@media (max-width:1199px){
  .rd-cl-groups, .rd-cl-groups--3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:991px){
  .rd-cl-hero{ grid-template-columns:1fr; }
  .rd-cl-main{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-cl-kits{ grid-template-columns:1fr; }
  .rd-guide{ grid-template-columns:1fr; gap:14px; }
  .rd-guide__toc{ position:static; flex-direction:row; flex-wrap:wrap; gap:6px; }
  .rd-guide__toc small{ flex-basis:100%; margin:0; }
  .rd-guide__toc a{ border:1px solid var(--line); border-radius:999px; padding:4px 10px; font-size:12.5px; }
  .rd-cl-trust{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575px){
  .rd-cl-hero{ padding:20px; gap:20px; }
  .rd-cl-pick{ padding:14px; }
  .rd-cl-pick__row{ grid-template-columns:1fr; }
  .rd-cl-main{ gap:10px; }
  .rd-cl-mc{ padding:12px; }
  .rd-cl-mc__img{ height:96px; }
  .rd-cl-mc h3{ font-size:16px; }
  .rd-cl-mc p{ display:none; }
  .rd-cl-mc__meta{ flex-direction:column; align-items:flex-start; }
  .rd-cl-mc__meta .rd-cl-chip{ white-space:normal; }
  .rd-cl-groups, .rd-cl-groups--2, .rd-cl-groups--3{ grid-template-columns:1fr; }
  .rd-cl-trust{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){ .rd-cl-mc__img img, .rd-cl-pick{ transition:none; } }
.rd-rl__bar{ min-width:max-content; }
.rd-rl__axis{ margin-right:34px; }
.rd-rl__track{ margin-right:34px; }
.block-space--layout--divider-nl:has(+ .rd-guide-src){ display:none; }
@media (max-width:575px){ .rd-cl-hero::after{ display:none; } }

/* ===== part type without a car (parts.tpl, .rd-leaf) — shares .rd-cl-* with the system landing ===== */
.rd-leaf .rd-cl-hero__t p{ max-width:46ch; }
.rd-cl-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:18px; }
.rd-cl-chips small{ flex-basis:100%; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.rd-cl-chips a{ border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:5px 11px; font-size:12.5px; color:#fff; }
.rd-cl-chips a:hover{ border-color:var(--brass); color:var(--brass); }
.rd-cl-hint{ font-size:12px; color:var(--text-faint); }
.rd-cl-hint b{ color:var(--text); font-weight:500; font-family:ui-monospace,Consolas,monospace; }

.rd-cb{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; }
.rd-cb__az{ display:flex; flex-wrap:wrap; gap:2px; margin-bottom:14px; }
.rd-cb__az button{ min-width:30px; height:30px; padding:0 6px; border:0; border-radius:6px; background:none; font-family:var(--font-head); font-size:13px; font-weight:600; color:var(--text-soft); cursor:pointer; }
.rd-cb__az button:hover{ background:var(--paper); color:var(--ink); }
.rd-cb__az button.is-on{ background:var(--ink); color:#fff; }
.rd-cb__az button:first-child{ padding:0 12px; }
.rd-cb__top{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
.rd-cb__tb{ border:1px solid var(--line); border-radius:var(--radius); padding:12px 8px; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; color:var(--text); transition:border-color .15s, box-shadow .15s; }
.rd-cb__tb:hover{ border-color:var(--ink); box-shadow:var(--shadow); color:var(--text); }
.rd-cb__tb i{ width:56px; height:56px; border-radius:50%; background:var(--paper); display:grid; place-items:center; font-style:normal; overflow:hidden; }
.rd-cb__tb i img{ width:42px; height:42px; object-fit:contain; }
.rd-cb__tb i span{ display:none; font-family:var(--font-head); font-weight:600; font-size:15px; color:var(--ink); }
.rd-cb__tb i.is-txt span{ display:block; }
.rd-cb__tb b{ font-size:13px; font-weight:600; }
.rd-cb__tb small{ font-size:11px; color:var(--text-faint); margin-top:-4px; }
.rd-cb__all{ columns:5 150px; column-gap:20px; border-top:1px solid var(--line); padding-top:12px; }
.rd-cb__grp{ break-inside:avoid; margin-bottom:8px; }
.rd-cb__grp[hidden]{ display:none; }
.rd-cb__grp h4{ font-family:var(--font-head); font-size:13px; font-weight:600; color:var(--brass-deep); margin:0 0 2px; }
.rd-cb__grp a{ display:flex; justify-content:space-between; gap:8px; padding:5px 2px; font-size:13px; color:var(--text); border-bottom:1px dashed transparent; }
.rd-cb__grp a:hover{ color:var(--ink-2); border-bottom-color:var(--line-2); }
.rd-cb__grp a em{ font-style:normal; color:var(--text-faint); }

.rd-choose{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-choose__c{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; display:flex; flex-direction:column; gap:10px; }
.rd-choose__art{ background:var(--paper); border-radius:var(--radius); height:130px; display:grid; place-items:center; }
.rd-choose__art svg{ height:108px; width:auto; font-family:var(--font-body); }
.rd-choose__c h3{ font-family:var(--font-head); font-size:19px; font-weight:600; margin:0; color:var(--ink); }
.rd-choose__c p{ margin:0; font-size:13px; line-height:1.5; color:var(--text-soft); }
.rd-choose__k{ display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; }
.rd-choose__k span{ background:var(--paper); border-radius:6px; padding:3px 8px; font-size:12px; }

.rd-tiers{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start; }
.rd-tier{ background:var(--surface); border:1px solid var(--line); border-top-width:3px; border-radius:var(--radius-lg); padding:16px; }
.rd-tier--p{ border-top-color:var(--ink); }
.rd-tier--o{ border-top-color:var(--brass); }
.rd-tier--e{ border-top-color:var(--line-2); }
.rd-tier h3{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; flex-wrap:wrap; font-family:var(--font-head); font-size:18px; font-weight:600; margin:0 0 4px; color:var(--ink); }
.rd-tier h3 small{ font-family:var(--font-body); font-size:11.5px; font-weight:500; color:var(--text-faint); }
.rd-tier p{ margin:0 0 12px; font-size:12.5px; color:var(--text-soft); }
.rd-tier__logos{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.rd-tier__logos a{ border:1px solid var(--line); border-radius:10px; height:52px; display:flex; align-items:center; justify-content:center; padding:6px; font-size:11.5px; font-weight:700; color:var(--text); text-align:center; }
.rd-tier__logos a:hover{ border-color:var(--ink); }
.rd-tier__logos img{ max-width:100%; max-height:36px; object-fit:contain; }
.rd-tier__logos a.is-extra{ display:none; }
.rd-tiers.is-all .rd-tier__logos a.is-extra{ display:flex; }
.rd-tiers__more{ display:block; margin:12px auto 0; border:0; background:none; color:var(--brass-deep); font-weight:700; cursor:pointer; }

.rd-tog{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-tog__i{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 34px 14px 16px; display:flex; flex-direction:column; gap:2px; color:var(--text); }
.rd-tog__i b{ font-weight:600; font-size:14px; }
.rd-tog__i span{ font-size:11.5px; color:var(--text-faint); }
.rd-tog__i em{ position:absolute; right:14px; top:50%; transform:translateY(-50%); font-style:normal; font-size:18px; color:var(--text-faint); }
a.rd-tog__i:hover{ border-color:var(--ink); color:var(--text); }
.rd-tog__i--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-tog__i--main span{ color:rgba(255,255,255,.6); }

.rd-sibs{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-sibs a{ background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:8px 14px; font-size:13px; font-weight:500; color:var(--text); }
.rd-sibs a:hover{ border-color:var(--ink); color:var(--ink); }
.rd-sibs a.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-sibs a.rd-sibs__all{ border-color:var(--brass); color:var(--brass-deep); }
.rd-leaf ~ .separator, .rd-leaf ~ .block-space{ display:none; }

@media (max-width:1199px){ .rd-cb__top{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:991px){
  .rd-choose, .rd-tiers{ grid-template-columns:1fr; }
  .rd-tog{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575px){
  .rd-cb{ padding:14px; }
  .rd-cb__top{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .rd-cb__tb small{ display:none; }
  .rd-cb__az{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
  .rd-tog{ grid-template-columns:1fr; }
}

/* ===== product page without a car (product_view.tpl, .rd-pd--any) ===== */
.rd-fit{ background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--amber); border-radius:var(--radius); padding:14px 16px; margin:0 0 20px; display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 14px; align-items:center; transition:border-color .2s, box-shadow .2s; }
.rd-fit.rd-flash{ box-shadow:0 0 0 4px var(--brass-soft); }
.rd-fit__ic{ grid-row:span 2; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--amber-soft); color:var(--amber); font-family:var(--font-head); font-size:20px; font-weight:700; }
.rd-fit__t{ min-width:0; }
.rd-fit__t small{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--amber); }
.rd-fit__t b{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-fit__t span{ color:var(--text-faint); font-size:12.5px; margin-left:8px; }
.rd-fit__row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-width:0; }
.rd-fit__row[hidden]{ display:none; }
.rd-fit__row select{ height:40px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; background:#fff; flex:1 1 170px; max-width:260px; min-width:0; font-weight:500; font-size:13.5px; color:var(--text); }
.rd-fit__row select:disabled{ background:var(--paper); color:var(--text-faint); }
.rd-fit__row select:focus{ outline:0; border-color:var(--ink); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-fit__gar{ flex-basis:100%; display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:12px; color:var(--text-faint); }
.rd-fit__gar button{ border:1px solid var(--line-2); background:#fff; border-radius:999px; padding:5px 11px; font-size:12.5px; font-weight:500; color:var(--text); cursor:pointer; }
.rd-fit__gar button:hover{ border-color:var(--ink); }
.rd-fit__res{ display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; font-size:13px; color:var(--text-soft); }
.rd-fit__res:empty{ display:none; }
.rd-fit__res a{ font-weight:600; color:var(--ink); border-bottom:1px solid var(--brass); }
.rd-fit__reset, .rd-fitwarn button{ border:0; background:none; padding:0; color:var(--brass-deep); font-weight:700; cursor:pointer; }
.rd-fit.is-ok{ border-left-color:var(--green); }
.rd-fit.is-ok .rd-fit__ic{ background:var(--green-soft); color:var(--green); }
.rd-fit.is-ok .rd-fit__t small{ color:var(--green); }
.rd-fit.is-no{ border-left-color:var(--red); }
.rd-fit.is-no .rd-fit__ic{ background:var(--red-soft); color:var(--red); }
.rd-fit.is-no .rd-fit__t small{ color:var(--red); }
/* rd-fit A: the one line under the codes (the checker itself is the section .rd-fitsec below the buy box) */
.rd-fitline{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:0 0 14px; padding:8px 12px; border-radius:10px; background:var(--amber-soft); color:#8A5A12; font-size:13px; line-height:1.35; cursor:pointer; }
.rd-fitline:focus-visible{ outline:2px solid var(--ink); outline-offset:2px; }
.rd-fitline__s{ width:20px; height:20px; border-radius:50%; display:grid; place-items:center; background:#fff; font-family:var(--font-head); font-weight:700; font-size:12px; flex:none; }
.rd-fitline b{ font-weight:600; color:inherit; }
.rd-fitline a{ color:var(--ink); font-weight:600; border-bottom:1px solid var(--brass); }
.rd-fitline a:hover{ color:var(--brass-deep); }
.rd-fitline__go{ margin-left:auto; border:0; background:none; padding:0; font:inherit; font-weight:700; color:var(--brass-deep); cursor:pointer; white-space:nowrap; }
.rd-fitline.is-ok{ background:var(--green-soft); color:#136a46; }
.rd-fitline.is-no{ background:var(--red-soft); color:#9a2222; }
.rd-fitsec .rd-fit{ margin:0; }
.rd-fitwarn{ font-size:12.5px; color:#8A5A12; margin-top:-6px; }
.rd-fitwarn[hidden]{ display:none; }

.rd-apps{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-apps__top{ display:flex; flex-wrap:wrap; gap:6px; padding:12px 14px; border-bottom:1px solid var(--line); }
.rd-apps__top button{ height:32px; padding:0 12px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:12.5px; font-weight:500; color:var(--text-soft); cursor:pointer; }
.rd-apps__top button em{ font-style:normal; color:var(--text-faint); margin-left:5px; }
.rd-apps__top button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-apps__top button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-apps__top button.is-on em{ color:rgba(255,255,255,.6); }
.rd-apps__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.rd-am{ padding:14px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); min-width:0; }
.rd-am:nth-child(3n){ border-right:0; }
.rd-am h3{ display:flex; align-items:baseline; gap:8px; margin:0 0 6px; font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--ink); }
.rd-am h3 span{ flex:1; min-width:0; }
.rd-am h3 i{ font-style:normal; font-family:var(--font-body); font-size:10px; font-weight:600; background:var(--brass-soft); color:var(--brass-deep); border-radius:5px; padding:2px 6px; }
.rd-am h3 small{ font-family:var(--font-body); font-size:11.5px; font-weight:500; color:var(--text-faint); white-space:nowrap; }
.rd-am a{ display:flex; gap:8px; padding:5px 0; border-bottom:1px dashed var(--line); font-size:12.5px; color:var(--text-soft); }
.rd-am a:last-child{ border-bottom:0; }
.rd-am a b{ color:var(--text); font-weight:500; }
.rd-am a span{ margin-left:auto; color:var(--text-faint); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-am a:hover, .rd-am a:hover b{ color:var(--ink-2); }
.rd-apps__more{ display:block; width:100%; border:0; background:#fff; padding:12px; font-weight:600; color:var(--ink); cursor:pointer; }
.rd-apps__more:hover{ background:var(--paper); }
.rd-apps__more[hidden]{ display:none; }

@media (max-width:991px){
  .rd-apps__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-am:nth-child(3n){ border-right:1px solid var(--line); }
  .rd-am:nth-child(2n){ border-right:0; }
}
@media (max-width:575px){
  .rd-fit{ grid-template-columns:auto minmax(0,1fr); }
  .rd-fit__ic{ grid-row:auto; }
  .rd-fit__row, .rd-fit__res{ grid-column:1 / -1; }
  .rd-fit__row select{ max-width:none; flex-basis:100%; }
  .rd-fit__t span{ display:block; margin:2px 0 0; }
  .rd-apps__grid{ grid-template-columns:1fr; }
  .rd-am{ border-right:0 !important; }
}
.rd-am a.is-x{ display:none; }
.rd-am.is-open a.is-x{ display:flex; }
.rd-am__more{ border:0; background:none; padding:6px 0 0; color:var(--brass-deep); font-weight:700; font-size:12.5px; cursor:pointer; }
.rd-am a b{ white-space:nowrap; }

/* ===== OE-number page (oem.tpl, .rd-oem) ===== */
.rd-oem{ padding-top:4px; margin-bottom:6px; }
.rd-oem__hero{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:26px 28px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:20px 28px; align-items:center; }
.rd-oem__t{ min-width:0; }
.rd-oem__hero h1{ font-family:var(--font-head); font-size:20px; font-weight:500; line-height:1.25; color:rgba(255,255,255,.8); margin:10px 0 8px; }
.rd-oem__num{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.rd-oem__num b{ font-family:ui-monospace,Consolas,"Roboto Mono",monospace; font-size:clamp(30px,4vw,46px); font-weight:700; line-height:1.05; letter-spacing:.02em; color:#fff; word-break:break-all; }
.rd-oem__num button{ border:1px solid rgba(255,255,255,.25); background:none; color:#fff; border-radius:999px; padding:6px 12px; font-size:12.5px; cursor:pointer; }
.rd-oem__num button:hover{ border-color:var(--brass); color:var(--brass); }
.rd-oem__alias{ margin-top:10px; font-size:12.5px; color:rgba(255,255,255,.6); }
.rd-oem__alias code{ font-family:ui-monospace,Consolas,monospace; color:#fff; background:rgba(255,255,255,.08); border-radius:5px; padding:2px 6px; margin-left:6px; }
.rd-oem__stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rd-oem__stats > div{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); padding:14px; min-width:0; }
.rd-oem__stats b{ display:block; font-family:var(--font-head); font-size:28px; font-weight:600; line-height:1; color:#fff; white-space:nowrap; }
.rd-oem__stats .is-brass b{ color:var(--brass); }
.rd-oem__stats span{ font-size:12px; color:rgba(255,255,255,.6); }
.rd-oem__fits{ grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; border-top:1px solid rgba(255,255,255,.12); padding-top:14px; font-size:12.5px; color:rgba(255,255,255,.6); }
.rd-oem__fits[hidden]{ display:none; }
.rd-oem__fits span, .rd-oem__fits a{ border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:4px 11px; color:#fff; }
.rd-oem__fits a{ border-color:var(--brass); color:var(--brass); }
.rd-oem__fits a:hover{ background:var(--brass); color:var(--ink); }

.rd-oem__cmp{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-oem__cc{ background:var(--surface); border:1px solid var(--line); border-top:3px solid var(--line-2); border-radius:var(--radius-lg); padding:16px; display:grid; grid-template-columns:84px minmax(0,1fr); gap:4px 14px; align-items:center; }
.rd-oem__cc--oe{ border-top-color:var(--ink); }
.rd-oem__cc--best{ border-top-color:var(--green); }
.rd-oem__cc--prem{ border-top-color:var(--brass); }
.rd-oem__cimg{ grid-row:span 4; width:84px; height:84px; border-radius:var(--radius-sm); background:var(--paper); display:flex; align-items:center; justify-content:center; padding:6px; }
.rd-oem__cimg img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-oem__cc small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); }
.rd-oem__cc--best small{ color:var(--green); }
.rd-oem__cc--prem small{ color:var(--brass-deep); }
.rd-oem__cn{ font-weight:600; font-size:14px; color:var(--text); }
.rd-oem__cn:hover{ color:var(--ink-2); text-decoration:underline; }
.rd-oem__cc-code{ font-family:ui-monospace,Consolas,monospace; font-size:12px; color:var(--text-faint); }
.rd-oem__cp{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; }
.rd-oem__cp b{ font-family:var(--font-head); font-size:24px; font-weight:600; color:var(--ink); }
.rd-oem__save{ font-size:12px; font-weight:600; color:var(--green); }
.rd-oem__dl{ font-size:12px; color:var(--text-soft); }
.rd-oem__cc .rd-add{ grid-column:1 / -1; margin-top:8px; height:40px; }
.rd-oem__cc .rd-add.is-done{ background:var(--green); color:#fff !important; }

.rd-oem__strip{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 22px 14px; }
.rd-oem__strip-h{ display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.rd-oem__strip-h b{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-oem__strip-h span{ font-size:12.5px; color:var(--text-faint); }
.rd-oem__track{ position:relative; height:58px; margin:0 10px; }
.rd-oem__track::before{ content:""; position:absolute; left:0; right:0; top:30px; height:4px; border-radius:2px; background:linear-gradient(90deg,var(--green) 0%,var(--brass) 45%,var(--line-2) 100%); }
.rd-oem__dot{ position:absolute; top:24px; width:14px; height:14px; margin-left:-7px; padding:0; border-radius:50%; background:#fff; border:2px solid var(--ink-2); cursor:pointer; transition:transform .15s; }
.rd-oem__dot:hover, .rd-oem__dot:focus-visible{ transform:scale(1.4); z-index:2; }
.rd-oem__dot.is-fast{ border-color:var(--green); background:var(--green-soft); }
.rd-oem__dot.is-oe{ width:18px; height:18px; margin-left:-9px; top:22px; background:var(--ink); border-color:var(--ink); }
.rd-oem__dot.is-oe::after{ content:"OE"; position:absolute; top:-19px; left:50%; transform:translateX(-50%); font:700 10px var(--font-body); color:var(--ink); }
.rd-oem__tip{ position:absolute; top:-4px; transform:translate(-50%,-100%); background:var(--ink); color:#fff; border-radius:8px; padding:6px 9px; font-size:12px; white-space:nowrap; pointer-events:none; display:none; z-index:3; }
.rd-oem__axis{ display:flex; justify-content:space-between; margin:0 10px; font:500 11px ui-monospace,Consolas,monospace; color:var(--text-faint); }
.rd-oem__axis span{ width:0; display:flex; justify-content:center; white-space:nowrap; }
.rd-oem__legend{ display:flex; flex-wrap:wrap; gap:14px; margin-top:10px; font-size:12px; color:var(--text-soft); }
.rd-oem__legend i{ display:inline-block; width:10px; height:10px; border-radius:50%; border:2px solid var(--ink-2); margin-right:5px; vertical-align:-1px; }
.rd-oem__legend i.f{ border-color:var(--green); background:var(--green-soft); }
.rd-oem__legend i.o{ background:var(--ink); border-color:var(--ink); }
.rd-oem__lh{ margin:34px 0 0; }

.rd-oem__xn{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 18px; }
.rd-oem__xn .rd-bsec__head h2{ font-size:20px; }
.rd-oem__xlist{ display:flex; flex-wrap:wrap; gap:6px; }
.rd-oem__xlist a{ display:inline-flex; align-items:baseline; gap:6px; border:1px solid var(--line); background:var(--paper); border-radius:8px; padding:5px 10px; color:var(--text); }
.rd-oem__xlist a:hover{ border-color:var(--ink); }
.rd-oem__xlist em{ font-style:normal; font-size:11px; color:var(--text-faint); }
.rd-oem__xlist code{ font-family:ui-monospace,Consolas,monospace; font-size:13px; color:var(--text); background:none; padding:0; }
.rd-pc__badges .rd-bdg--same{ background:var(--blue-soft) !important; color:var(--blue) !important; }
.rd-pc--oe{ border:2px solid var(--ink); }
.rd-oem ~ .products-view .rd-picks{ display:none; }

@media (max-width:991px){
  .rd-oem__hero{ grid-template-columns:1fr; }
  .rd-oem__cmp{ grid-template-columns:1fr; }
}
@media (max-width:575px){
  .rd-oem__hero{ padding:20px; }
  .rd-oem__stats b{ font-size:21px; }
  .rd-oem__stats > div{ padding:10px; }
  .rd-oem__strip{ padding:14px; }
}

/* ===== reference-number search (avtochast.tpl, .rd-ref) — builds on .rd-oem ===== */
.rd-listing .products-list .products-list__item.rd-thide{ display:none !important; }
.rd-ref__hero{ display:block; }
.rd-ref__top{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:12px 24px; }
.rd-ref__sum{ margin:0; font-size:13px; color:rgba(255,255,255,.7); max-width:42ch; }
.rd-ref__sum b{ color:#fff; }
.rd-ref__q{ margin:22px 0 10px; font-family:var(--font-head); font-size:17px; font-weight:600; color:#fff; }
.rd-ref__choices{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-ref__ch{ background:#fff; color:var(--text); border:2px solid transparent; border-radius:var(--radius); padding:14px; display:grid; grid-template-columns:72px minmax(0,1fr); gap:3px 12px; align-items:center; text-align:left; cursor:pointer; transition:border-color .15s, transform .15s; }
.rd-ref__ch:hover{ transform:translateY(-2px); }
.rd-ref__ch.is-on{ border-color:var(--brass); }
.rd-ref__chimg{ grid-row:span 4; width:72px; height:72px; border-radius:var(--radius-sm); background:var(--paper); display:flex; align-items:center; justify-content:center; padding:6px; }
.rd-ref__chimg img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-ref__ch small{ font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--brass-deep); }
.rd-ref__ch b{ font-family:var(--font-head); font-size:16px; font-weight:600; line-height:1.2; color:var(--ink); }
.rd-ref__ch b::first-letter{ text-transform:uppercase; }
.rd-ref__chc{ font-family:ui-monospace,Consolas,monospace; font-size:12px; color:var(--text-faint); }
.rd-ref__chm{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; font-size:12px; color:var(--text-soft); }
.rd-ref__chm strong{ font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-ref__hint{ margin:14px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-size:12.5px; color:rgba(255,255,255,.65); }
.rd-ref__hint input{ height:36px; width:220px; max-width:100%; border:0; border-radius:999px; padding:0 14px; font-family:ui-monospace,Consolas,monospace; font-size:13px; }
.rd-ref__hint button{ height:36px; border:0; border-radius:999px; background:var(--brass); color:var(--ink); padding:0 14px; font-weight:700; cursor:pointer; }
.rd-ref__hint button:hover{ background:#fff; }

.rd-ref__tabs{ display:flex; flex-wrap:wrap; gap:6px; margin:24px 0 12px; }
.rd-ref__tabs button{ height:38px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13px; font-weight:600; color:var(--text-soft); display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.rd-ref__tabs button::first-letter{ text-transform:uppercase; }
.rd-ref__tabs button em{ font-style:normal; background:var(--paper); border-radius:999px; padding:1px 7px; font-size:11.5px; color:var(--text-soft); }
.rd-ref__tabs button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-ref__tabs button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-ref__tabs button.is-on em{ background:rgba(255,255,255,.14); color:#fff; }

.rd-ref__match{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:14px; margin-bottom:6px; }
.rd-ref__match[hidden]{ display:none; }
.rd-ref__orig{ background:var(--surface); border:2px solid var(--ink); border-radius:var(--radius-lg); padding:16px; display:grid; grid-template-columns:120px minmax(0,1fr); gap:4px 16px; align-items:center; }
.rd-ref__oimg{ grid-row:span 5; height:120px; border-radius:var(--radius); background:var(--paper); display:flex; align-items:center; justify-content:center; padding:8px; }
.rd-ref__oimg img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-ref__orig small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ink); }
.rd-ref__on{ font-family:var(--font-head); font-size:20px; font-weight:600; line-height:1.2; color:var(--ink); }
.rd-ref__on:hover{ color:var(--ink-2); text-decoration:underline; }
.rd-ref__oc{ font-family:ui-monospace,Consolas,monospace; font-size:12.5px; color:var(--text-faint); }
.rd-ref__oe{ font-size:12.5px; color:var(--green); }
.rd-ref__oe.is-no{ color:var(--text-faint); }
.rd-ref__op{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.rd-ref__op b{ font-family:var(--font-head); font-size:28px; font-weight:600; color:var(--ink); }
.rd-ref__op .rd-add{ flex:0 0 auto; height:40px; }
.rd-ref__op .rd-add.is-done{ background:var(--green); color:#fff !important; }
.rd-ref__side{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; align-self:start; }
.rd-ref__side--wide{ grid-column:1 / -1; }
.rd-ref__side h3{ margin:0 0 6px; font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--ink); }
.rd-ref__side h3::first-letter{ text-transform:uppercase; }
.rd-ref__side p{ margin:0; font-size:13px; color:var(--text-soft); }
.rd-ref__kv{ display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); font-size:13px; }
.rd-ref__kv:last-child{ border-bottom:0; }
.rd-ref__kv b{ font-weight:600; text-align:right; }
.rd-ref__kv b.g{ color:var(--green); }
.rd-pc__badges .rd-bdg--exact{ background:var(--ink) !important; color:#fff !important; }

.rd-ref__hgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-ref__hgrid > div{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; display:flex; gap:12px; }
.rd-ref__hgrid i{ flex:0 0 36px; height:36px; border-radius:50%; background:var(--brass-soft); color:var(--brass-deep); display:grid; place-items:center; font-style:normal; font-family:var(--font-head); font-weight:700; }
.rd-ref__hgrid span{ font-size:12.5px; color:var(--text-soft); }
.rd-ref__hgrid b{ display:block; font-size:14px; color:var(--text); margin-bottom:2px; }
.rd-ref__hgrid a{ color:var(--ink); font-weight:600; border-bottom:1px solid var(--brass); }

@media (max-width:991px){
  .rd-ref__choices, .rd-ref__hgrid{ grid-template-columns:1fr; }
  .rd-ref__match{ grid-template-columns:1fr; }
}
@media (max-width:575px){
  .rd-ref__orig{ grid-template-columns:84px minmax(0,1fr); }
  .rd-ref__oimg{ height:84px; }
  .rd-ref__tabs{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
  .rd-ref__tabs button{ flex:0 0 auto; }
}
@media (min-width:992px){ .rd-ref__choices:has(> :nth-child(4):last-child){ grid-template-columns:repeat(4,minmax(0,1fr)); } .rd-ref__choices:has(> :nth-child(4):last-child) .rd-ref__ch{ grid-template-columns:56px minmax(0,1fr); } .rd-ref__choices:has(> :nth-child(4):last-child) .rd-ref__chimg{ width:56px; height:56px; } }

/* ===== own-catalog category (cat.tpl, .rd-catalog) ===== */
.rd-catalog{ margin-bottom:24px; }
.rd-cat__hero{ grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); }
.rd-cat__hero:not(:has(.rd-cat__finder)){ grid-template-columns:1fr; }
.rd-cat__hero--oil::after{ content:""; position:absolute; right:-40px; bottom:-90px; width:300px; height:300px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:radial-gradient(circle at 40% 40%,rgba(217,164,65,.3),rgba(217,164,65,0) 70%); pointer-events:none; }
.rd-cat__hero--oil h1 em{ color:#E3B84C; }
.rd-cat__seg{ display:flex; background:var(--paper); border-radius:10px; padding:3px; }
.rd-cat__seg button{ flex:1; border:0; background:none; border-radius:8px; height:34px; font-weight:600; font-size:13px; color:var(--text-soft); cursor:pointer; }
.rd-cat__seg button.is-on{ background:#fff; color:var(--ink); box-shadow:0 1px 4px rgba(4,24,43,.1); }
.rd-cat__mode{ display:grid; gap:10px; }
.rd-cat__mode[hidden]{ display:none; }
.rd-cat__hint{ font-size:12px; color:var(--text-faint); }
.rd-cat__visc{ display:flex; flex-wrap:wrap; gap:6px; }
.rd-cat__visc button{ height:34px; padding:0 10px; border:1px solid var(--line-2); border-radius:8px; background:#fff; font-family:ui-monospace,Consolas,monospace; font-size:13px; font-weight:700; color:var(--ink); cursor:pointer; }
.rd-cat__visc button:hover{ border-color:var(--ink); }
.rd-cat__visc button.is-on{ background:#E3B84C; border-color:#E3B84C; }
.rd-cat__finder .rd-cl-pick__row:empty{ display:none; }
.rd-cat__finder .rd-cl-pick__row:has(> :nth-child(2):last-child){ grid-template-columns:repeat(2,minmax(0,1fr)); }

/* subcategory tiles */
.rd-ctypes .categories-list__body{ display:grid !important; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin:0 !important; padding:0; }
.rd-ctypes .categories-list__item{ width:auto !important; margin:0 !important; padding:0 !important; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); transition:border-color .15s, box-shadow .15s; }
.rd-ctypes .categories-list__item:hover{ border-color:var(--ink); box-shadow:var(--shadow); }
.rd-ctypes .categories-list__item > a{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 8px; text-align:center; height:100%; }
.rd-ctypes .categories-list__divider{ display:none !important; }
.rd-ctypes .image--type--category{ width:64px !important; margin:0 !important; }
.rd-ctypes .categories-list__item-name{ font-size:13px; font-weight:600; line-height:1.25; color:var(--text); margin:0 !important; }
.rd-ctypes--oil .categories-list__item:first-child{ grid-column:span 2; background:linear-gradient(135deg,#fff 55%,#FBF1DC); }
.rd-ctypes--oil .categories-list__item:first-child > a{ flex-direction:row; justify-content:flex-start; gap:16px; padding:16px 18px; text-align:left; }
.rd-ctypes--oil .categories-list__item:first-child .image--type--category{ width:84px !important; }
.rd-ctypes--oil .categories-list__item:first-child .categories-list__item-name{ font-family:var(--font-head); font-size:22px; color:var(--ink); }
.rd-catalog + .block-split__item, .rd-ctypes + #hideFilter{ display:none; }

/* viscosity guide */
.rd-cat__sae{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:24px; align-items:center; margin-bottom:10px; }
.rd-cat__saecode{ display:flex; align-items:flex-start; justify-content:center; gap:4px; font-family:ui-monospace,Consolas,monospace; font-size:64px; font-weight:700; line-height:1; color:var(--ink); }
.rd-cat__saecode span{ position:relative; padding-bottom:28px; }
.rd-cat__saecode small{ position:absolute; left:50%; bottom:0; transform:translateX(-50%); font-family:var(--font-body); font-size:11px; font-weight:500; color:var(--text-faint); white-space:nowrap; }
.rd-cat__saecode .w{ color:var(--blue); }
.rd-cat__saecode .h{ color:var(--red); }
.rd-cat__sae .rd-bsec__head{ margin-bottom:6px; }
.rd-cat__saep{ margin:0 0 12px; font-size:13px; color:var(--text-soft); max-width:70ch; }
.rd-cat__vchips{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-cat__vc{ border:1px solid var(--line); background:var(--paper); border-radius:10px; padding:8px 12px; display:flex; flex-direction:column; align-items:flex-start; min-width:96px; text-align:left; cursor:pointer; }
.rd-cat__vc:hover{ border-color:var(--ink); background:#fff; }
.rd-cat__vc b{ font-family:ui-monospace,Consolas,monospace; font-size:16px; color:var(--ink); }
.rd-cat__vc span{ font-size:11.5px; color:var(--text-faint); }
.rd-cat__vc em{ font-style:normal; font-size:11.5px; font-weight:600; color:var(--green); }

.rd-cat__brands{ display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:10px; }
.rd-cat__br{ height:64px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; padding:8px; cursor:pointer; }
.rd-cat__br:hover{ border-color:var(--ink); box-shadow:var(--shadow); }
.rd-cat__br img{ max-width:100%; max-height:42px; object-fit:contain; }
.rd-cat__br b{ font-size:13px; letter-spacing:.04em; color:var(--ink); }
.rd-cat__lh{ margin:32px 0 12px; }

/* cards */
.rd-pc__vol{ position:absolute; left:10px; bottom:10px; z-index:2; background:var(--ink); color:#fff; border-radius:6px; padding:3px 8px; font:700 12px ui-monospace,Consolas,monospace; }
.rd-pc__badges .rd-bdg--visc{ background:#E3B84C !important; color:var(--ink) !important; font-family:ui-monospace,Consolas,monospace !important; font-weight:700 !important; }
.rd-pc__pl{ flex-basis:100%; font-size:12px; color:var(--text-soft); }
.rd-pc__pl.is-best{ color:var(--green); font-weight:600; }
.rd-pc__pack{ flex-basis:100%; margin-top:6px; border:1px dashed var(--green); background:var(--green-soft); border-radius:8px; padding:5px 8px; font-size:11.5px; color:#15724d; }
.rd-pc--catalog .rd-pc__eta--ok .t1{ color:var(--green); }
.rd-pc--cat .rd-pc__eta i{ background:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.rd-pc--cat .rd-pc__eta .t1{ color:var(--text-soft); }
.rd-listing .products-list[data-layout=table] .rd-pc__pl{ text-align:right; }
.rd-lhd__c--price button + button{ margin-left:6px; }

.rd-cat__more{ display:block; margin:18px auto 8px; height:44px; padding:0 26px; border:1px solid var(--ink); border-radius:10px; background:#fff; color:var(--ink); font-weight:600; cursor:pointer; }
.rd-cat__more:hover{ background:var(--ink); color:#fff; }
.rd-cat__more[hidden]{ display:none; }
/* rd-filt: no product with all the chosen filters (js/rd-cat.js) — what to drop; a battery of unknown polarity */
.rd-cat__none{ grid-column:1 / -1; width:100%; margin:8px 0 16px; padding:22px 20px; border:1px dashed #C9CFD8; border-radius:14px; background:#fff; text-align:center; }
.rd-cat__none b{ display:block; font-size:17px; color:var(--ink); }
.rd-cat__none span{ display:block; margin:6px 0 12px; color:#5B6472; font-size:14px; }
.rd-cat__none-b{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.rd-cat__none-b button{ height:38px; padding:0 16px; border:1px solid var(--ink); border-radius:19px; background:#fff; color:var(--ink); font-weight:600; cursor:pointer; }
.rd-cat__none-b button:hover{ background:var(--ink); color:#fff; }
.rd-cat__none-b button:disabled{ opacity:.5; cursor:default; }
.rd-cat__none-b a{ display:inline-flex; align-items:center; height:38px; padding:0 12px; color:#9A7A2E; font-weight:700; }
.rd-pc__badges .rd-bdg--pol{ background:#FDECEC !important; color:#B42318 !important; }

.rd-cat__how{ margin-bottom:10px; }
.rd-cat__hgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-cat__hgrid > div{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; display:flex; align-items:center; gap:14px; }
.rd-cat__hgrid i{ flex:0 0 64px; height:56px; border-radius:14px; background:#FBF1DC; color:var(--brass-deep); display:grid; place-items:center; font-style:normal; font:700 15px ui-monospace,Consolas,monospace; }
.rd-cat__hgrid span{ font-size:12.5px; color:var(--text-soft); }
.rd-cat__hgrid b{ display:block; font-size:14px; color:var(--text); }
.rd-cat__guide.card{ margin-top:24px; }

@media (max-width:1199px){
  .rd-ctypes .categories-list__body{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .rd-cat__brands{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:991px){
  .rd-cat__hero{ grid-template-columns:1fr; }
  .rd-cat__sae{ grid-template-columns:1fr; }
  .rd-cat__hgrid{ grid-template-columns:1fr; }
  .rd-ctypes .categories-list__body{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rd-ctypes--oil .categories-list__item:first-child{ grid-column:span 3; }
}
@media (max-width:575px){
  .rd-ctypes .categories-list__body{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-ctypes--oil .categories-list__item:first-child{ grid-column:span 2; }
  .rd-cat__saecode{ font-size:46px; }
  .rd-cat__brands{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:992px){ .rd-listing .rd-fbar .filters-button{ display:none !important; } }
.rd-pc--cat .rd-pc__eta{ visibility:hidden; }
.rd-listing .products-list[data-layout=grid] .rd-pc--cat .rd-pc__eta{ display:none; }
.rd-listing .rd-fbar .filters-button{ display:none !important; }
@media (max-width:575px){ .rd-fbar__right{ flex-wrap:wrap; min-width:0; } .rd-fbar__sort{ min-width:0; flex:1 1 180px; } .rd-fbar__sort select{ min-width:0; max-width:100%; } }

/* ===== catalog kinds: batteries / accessories / mandatory equipment / catalysts (cat.tpl) ===== */
.rd-cat__hero--solo{ grid-template-columns:1fr !important; }
.rd-cat__hero--solo .rd-cl-hero__t p{ max-width:60ch; }
.rd-cl-sel--in input{ width:100%; height:52px; border:1px solid var(--line-2); border-radius:10px; background:#fff; padding:18px 12px 4px; font-weight:500; font-size:14px; color:var(--text); }
.rd-cl-sel--in input:focus{ outline:0; border-color:var(--ink); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-cl-sel--in::after{ display:none; }
.rd-cat__caps button.is-x[hidden]{ display:none; }
.rd-cat__capmore{ font-family:var(--font-body) !important; font-weight:600 !important; color:var(--brass-deep) !important; border-style:dashed !important; }
.rd-cat__kv{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 12px; font-size:13px; }
.rd-cat__kv b{ font-family:ui-monospace,Consolas,monospace; color:var(--ink); white-space:nowrap; }
.rd-cat__kv span{ color:var(--text-soft); }
.rd-cat__bat > svg, .rd-cat__season > svg{ width:100%; max-width:320px; height:auto; display:block; margin:auto; }
.rd-cat__bat > svg text{ font-family:ui-monospace,Consolas,monospace; }
.rd-cat__season--w{ background:linear-gradient(135deg,#fff 60%,var(--blue-soft)); }
.rd-cat__season--s{ background:linear-gradient(135deg,#fff 60%,var(--brass-soft)); }
.rd-cat__vc--link{ min-width:0; padding:9px 14px; }
.rd-cat__vc--link b{ font-family:var(--font-body); font-size:13px; }

/* subcategory tiles as brand logos (batteries) */
.rd-ctypes--brands .categories-list__item > a{ padding:16px 10px; gap:10px; }
.rd-ctypes--brands .image--type--category{ width:96px !important; }
.rd-ctypes--brands .categories-list__item-name{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); }

/* accessory groups */
.rd-cat__groups{ margin-top:20px; }
.rd-cat__groups .rd-cl-groups--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.rd-cat__groups .rd-cl-grp a span::first-letter{ text-transform:uppercase; }
.rd-cat__note{ margin:10px 0 0; font-size:12px; color:var(--text-faint); }
/* rd-batfit: the result line of "По автомобил" on the battery page */
.rd-cat__batfit{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 12px; padding:10px 14px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); font-size:13.5px; color:var(--text-soft); }
.rd-cat__batfit[hidden]{ display:none; }
.rd-cat__batfit-t b{ color:var(--ink); }
.rd-cat__batfit-a{ display:flex; align-items:center; gap:14px; }
.rd-cat__batfit-a a{ font-weight:600; color:var(--brass-deep); text-decoration:none; }
.rd-cat__batfit-a button,.rd-cat__batfit-a a.rd-cat__batfit-x{ display:inline-flex; align-items:center; height:30px; padding:0 12px; border:1.5px solid var(--ink); border-radius:999px; background:var(--surface); color:var(--ink); font:600 12.5px var(--font-body); cursor:pointer; }
.rd-cat__batfit-a button:hover,.rd-cat__batfit-a a.rd-cat__batfit-x:hover{ background:var(--ink); color:#fff; }
.rd-pc__badges .rd-bdg--for{ background:var(--blue-soft) !important; color:var(--blue) !important; text-transform:none !important; }
.rd-pc__badges .rd-bdg--dual{ background:var(--green-soft) !important; color:var(--green) !important; text-transform:none !important; }
.rd-pc__vol--tech{ background:var(--brass); color:var(--ink); }
.rd-pc__specs--on{ display:flex !important; flex-wrap:wrap; gap:4px; }
.rd-pc__specs--on span{ background:var(--paper); border-radius:5px; padding:2px 6px; font:500 11.5px ui-monospace,Consolas,monospace; color:var(--text-soft); }

/* mandatory-equipment checklist */
.rd-cat__check{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-cat__ci{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; display:flex; flex-direction:column; gap:10px; }
.rd-cat__ci.is-missing{ opacity:.7; border-style:dashed; }
.rd-cat__ci-h{ display:flex; align-items:center; gap:10px; }
.rd-cat__ci-h b{ font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--ink); }
.rd-cat__ci-i{ flex:0 0 40px; height:40px; border-radius:50%; -webkit-mask:var(--ic) center/22px no-repeat; mask:var(--ic) center/22px no-repeat; background:var(--red); }
.rd-cat__ci-i--apt{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2M12 11v5M9.5 13.5h5'/%3E%3C/svg%3E"); }
.rd-cat__ci-i--fire{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='8' y='7' width='8' height='14' rx='3'/%3E%3Cpath d='M12 7V4M9 4h6M8 10H5'/%3E%3C/svg%3E"); }
.rd-cat__ci-i--tri{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 4l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17v.5'/%3E%3C/svg%3E"); }
.rd-cat__ci-i--vest{ --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 4l3 2 2 3 2-3 3-2 2 5v11H5V9z'/%3E%3Cpath d='M5 14h14'/%3E%3C/svg%3E"); }
.rd-cat__ci-p{ display:flex; align-items:center; gap:10px; color:var(--text-soft); font-size:12px; }
.rd-cat__ci-p img{ width:44px; height:44px; object-fit:contain; background:var(--paper); border-radius:8px; padding:3px; flex:0 0 auto; }
.rd-cat__ci-p:hover{ color:var(--ink); }
.rd-cat__ci-none{ color:var(--text-faint); font-size:12px; }
.rd-cat__ci-f{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.rd-cat__ci-f strong{ font-family:var(--font-head); font-size:20px; font-weight:600; color:var(--ink); }
.rd-cat__bundle{ margin-top:14px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:18px 22px; display:flex; flex-wrap:wrap; gap:14px 24px; align-items:center; }
.rd-cat__bundle b{ font-family:var(--font-head); font-size:24px; font-weight:600; white-space:nowrap; }
.rd-cat__bundle span{ flex:1; min-width:220px; font-size:13px; color:rgba(255,255,255,.75); }
.rd-cat__bundle .rd-cl-go{ width:auto; padding:0 22px; }
.rd-cat__bundle .rd-cl-go.is-done{ background:var(--green); color:#fff; }
.rd-mini.is-done{ background:var(--green); color:#fff; }
.rd-listing--nofbar .rd-fbar, .rd-listing--nofbar .rd-applied, .rd-listing--nofbar .rd-cat__more{ display:none !important; }

/* catalyst table */
.rd-kat__t td.m{ font-family:ui-monospace,Consolas,monospace; font-weight:700; color:var(--ink); white-space:nowrap; }
.rd-kat__t tr.is-hit td{ background:#FBF7EE; }
.rd-kat__t tr.is-dim td{ opacity:.45; }
.rd-cat__faq details{ border:1px solid var(--line); border-radius:10px; padding:0 14px; background:#fff; margin-bottom:8px; }
.rd-cat__faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:10px; padding:12px 0; font-weight:600; color:var(--text); }
.rd-cat__faq summary::-webkit-details-marker{ display:none; }
.rd-cat__faq summary::after{ content:"+"; color:var(--brass-deep); font-size:18px; line-height:1; }
.rd-cat__faq details[open] summary::after{ content:"\2212"; }
.rd-cat__faq details p{ margin:0 0 12px; font-size:13.5px; color:var(--text-soft); }

@media (max-width:991px){
  .rd-cat__check, .rd-cat__groups .rd-cl-groups--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575px){
  .rd-cat__check, .rd-cat__groups .rd-cl-groups--4{ grid-template-columns:1fr; }
  .rd-cat__bundle .rd-cl-go{ width:100%; }
}

/* ===== own-catalog product page (products/index.tpl, .rd-pd--own) ===== */
.rd-pd--own .rd-pdc__key b{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.rd-pd .rd-packs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:8px; padding-top:6px; }
.rd-pd .rd-pack{ position:relative; display:grid; gap:2px; text-align:left; background:var(--surface); border:2px solid var(--line); border-radius:var(--radius); padding:12px; color:inherit; text-decoration:none; transition:border-color .15s, box-shadow .15s; }
.rd-pd a.rd-pack:hover{ border-color:var(--brass); text-decoration:none; color:inherit; }
.rd-pd .rd-pack.is-on{ border-color:var(--ink); box-shadow:var(--shadow); }
.rd-pd .rd-pack b{ font-family:ui-monospace,Consolas,monospace; font-size:18px; font-weight:700; color:var(--ink); }
.rd-pd .rd-pack strong{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-pd .rd-pack span{ font-size:12px; color:var(--text-soft); }
.rd-pd .rd-pack em{ position:absolute; top:-10px; right:10px; background:var(--green); color:#fff; border-radius:999px; padding:2px 8px; font-size:10.5px; font-weight:600; font-style:normal; }
.rd-pdc__pl b{ color:var(--green); font-weight:600; }
.rd-own2{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:16px; align-items:start; }
.rd-own2--one{ grid-template-columns:minmax(0,1fr); }
.rd-own2__lead{ margin:0 0 12px; color:var(--text-soft); font-size:13px; }
.rd-appr__brands{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.rd-appr__brands button{ border:1px solid var(--line-2); background:#fff; border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:600; color:var(--text-soft); cursor:pointer; }
.rd-appr__brands button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-appr__brands button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-appr__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.rd-appr__i{ border:1px solid var(--line); border-radius:10px; padding:9px 12px; display:flex; flex-direction:column; background:var(--paper); min-width:0; }
.rd-appr__i b{ font-family:ui-monospace,Consolas,monospace; font-size:13.5px; font-weight:700; color:var(--ink); overflow-wrap:anywhere; }
.rd-appr__i span{ font-size:11.5px; color:var(--text-faint); }
.rd-appr__i.is-hit{ border-color:var(--green); background:var(--green-soft); }
.rd-appr__i.is-hit span{ color:#15724d; }
.rd-appr__res{ margin-top:12px; border-radius:10px; padding:10px 12px; font-size:13px; background:var(--paper); color:var(--text-soft); }
.rd-appr__res.is-ok{ background:var(--green-soft); color:#15724d; }
.rd-appr__res a{ font-weight:700; color:inherit; text-decoration:underline; }
.rd-calc__range{ display:flex; align-items:center; gap:12px; }
.rd-calc__range input{ flex:1 1 auto; min-width:0; accent-color:var(--ink); }
.rd-calc__range b{ font-family:ui-monospace,Consolas,monospace; font-size:22px; font-weight:700; color:var(--ink); min-width:74px; text-align:right; }
.rd-calc__presets{ display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 12px; }
.rd-calc__presets button{ border:1px solid var(--line-2); background:#fff; border-radius:8px; padding:5px 10px; font-size:12px; color:var(--text-soft); cursor:pointer; }
.rd-calc__presets button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-calc__plan{ background:#FBF1DC; border:1px dashed var(--brass); border-radius:10px; padding:12px; display:grid; gap:4px; }
.rd-calc__plan strong{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-calc__plan > span{ font-size:12.5px; color:var(--text-soft); }
.rd-calc__plan .rd-add{ justify-self:start; margin-top:6px; height:40px; padding:0 16px; }
.rd-need{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-need__i{ position:relative; display:flex; flex-direction:column; gap:2px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 34px 14px 16px; color:var(--text); text-decoration:none; }
.rd-need__i:hover{ border-color:var(--ink); color:var(--text); text-decoration:none; }
.rd-need__i b{ font-weight:600; }
.rd-need__i span{ font-size:11.5px; color:var(--text-faint); }
.rd-need__i em{ position:absolute; right:14px; top:50%; transform:translateY(-50%); font-style:normal; font-size:18px; color:var(--text-faint); }
.rd-need__i.is-main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-need__i.is-main:hover{ color:#fff; border-color:var(--brass); }
.rd-need__i.is-main span, .rd-need__i.is-main em{ color:rgba(255,255,255,.65); }
.rd-own__pl{ font-family:ui-monospace,Consolas,monospace; font-size:13px; font-weight:700; color:var(--green); white-space:nowrap; }
.rd-own__old{ color:var(--text-faint); font-size:12.5px; margin-right:6px; }
#rdOwnAlt .rd-alt2__t{ min-width:560px; }
.rd-own__text.is-clamp{ max-height:260px; overflow:hidden; -webkit-mask-image:linear-gradient(#000 70%,transparent); mask-image:linear-gradient(#000 70%,transparent); }
.rd-own__text{ color:var(--text-soft); line-height:1.65; }
.rd-own__spec .spec__row{ display:flex; justify-content:space-between; gap:16px; padding:8px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.rd-own__spec .spec__row:last-child{ border-bottom:0; }
.rd-own__spec .spec__name{ color:var(--text-faint); }
.rd-own__spec .spec__value{ font-weight:500; text-align:right; overflow-wrap:anywhere; }
.rd-own__cats{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-own__cats a{ background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-size:13px; font-weight:500; color:var(--text); text-decoration:none; }
.rd-own__cats a:hover{ border-color:var(--ink); color:var(--ink); }
@media (max-width:991px){
  .rd-own2{ grid-template-columns:1fr; }
  .rd-need{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .rd-appr__grid, .rd-need{ grid-template-columns:1fr; }
  .rd-pd .rd-packs{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rd-pack{ padding:10px 8px; }
  .rd-pack b{ font-size:15px; } .rd-pack strong{ font-size:15px; }
}

/* ===== oils: "Одобрения" filter (cat.tpl #rdSpecW → dropdown built by rd-listing.js) ===== */
.rd-specf{ display:grid; gap:12px; min-width:min(520px,80vw); max-height:min(60vh,460px); overflow-y:auto; padding:2px; }
.rd-specf__hint{ margin:0; font-size:12px; color:var(--text-faint); }
.rd-specf__g small{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); margin-bottom:6px; }
.rd-specf__l{ display:flex; flex-wrap:wrap; gap:6px; }
.rd-specf__i{ display:inline-flex; align-items:center; gap:6px; margin:0; border:1px solid var(--line-2); border-radius:999px; padding:5px 11px; font-size:12.5px; cursor:pointer; background:#fff; color:var(--text); }
.rd-specf__i:hover{ border-color:var(--ink); }
.rd-specf__i input{ position:absolute; opacity:0; pointer-events:none; }
.rd-specf__i .filter-list__title{ font-family:ui-monospace,Consolas,monospace; font-weight:600; padding:0; }
.rd-specf__i em{ font-style:normal; font-size:11px; color:var(--text-faint); }
.rd-specf__i:has(input:checked){ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-specf__i:has(input:checked) em{ color:rgba(255,255,255,.65); }
.rd-specf__i:has(input:focus-visible){ outline:2px solid var(--brass); outline-offset:2px; }
.rd-dd[data-key="rdSpecW"] .rd-dd__v{ max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:inline-block; vertical-align:bottom; }
@media (max-width:640px){ .rd-specf{ min-width:0; } }
.rd-specf__q{ width:100%; height:36px; border:1px solid var(--line-2); border-radius:999px; padding:0 14px; font-size:13px; background:#fff; color:var(--text); }
.rd-specf__q:focus{ outline:none; border-color:var(--ink); }
.rd-specf__i[hidden], .rd-specf__g[hidden]{ display:none; }
.rd-dd[data-key="rdSpecW"] .rd-dd__panel{ width:min(560px,92vw); max-width:min(560px,92vw); }
.rd-specf{ min-width:0; width:100%; box-sizing:border-box; padding-right:6px; }
.rd-specf__q{ box-sizing:border-box; }
.rd-dd__body .rd-specf__i .filter-list__title{ flex:0 0 auto; overflow:visible; color:inherit; }
/* product page: approval tiles link to the category filtered by that approval */
a.rd-appr__i{ position:relative; text-decoration:none; color:inherit; padding-right:12px; transition:border-color .15s; }
a.rd-appr__i:hover{ border-color:var(--ink); text-decoration:none; color:inherit; }
.rd-appr__i em{ font-style:normal; font-size:11px; font-weight:600; color:var(--brass-deep); margin-top:2px; }

/* ===== catalog categories: page bottom (cat.tpl #rdCatFoot) ===== */
.rd-cfoot{ padding-top:8px; }
.rd-cfoot__sec{ margin-top:40px; }
.rd-cfoot__sec[hidden]{ display:none; }
.rd-cfoot__all{ margin-left:auto; font-weight:700; font-size:13px; color:var(--brass-deep); }
.rd-cfoot__tabs{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.rd-cfoot__tabs[hidden]{ display:none; }
.rd-cfoot__tabs button{ height:34px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13px; font-weight:500; color:var(--text-soft); cursor:pointer; }
.rd-cfoot__tabs button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-cfoot__tabs button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-cfoot__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rd-cfoot__cell{ min-width:0; }
.rd-cfoot__cell:nth-child(n+5){ display:none; }
.rd-cfoot .rd-qty{ display:none; }
.rd-seen{ display:flex; gap:12px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; color:var(--text); text-decoration:none; min-width:0; }
.rd-seen:hover{ border-color:var(--ink); color:var(--text); text-decoration:none; }
.rd-seen__img{ flex:0 0 64px; height:64px; display:grid; place-items:center; }
.rd-seen__img img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-seen__b{ display:flex; flex-direction:column; min-width:0; }
.rd-seen__b small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-seen__t{ font-size:13px; font-weight:500; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rd-seen__b b{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-arts{ display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:14px; align-items:start; }
.rd-arts--one{ grid-template-columns:minmax(0,1fr); max-width:640px; }
.rd-arts__side{ display:grid; gap:14px; }
.rd-art{ display:flex; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; color:var(--text); text-decoration:none; min-width:0; }
.rd-art:hover{ border-color:var(--ink); color:var(--text); text-decoration:none; }
.rd-art--big{ flex-direction:column; }
.rd-art__img{ display:block; flex:0 0 auto; background:var(--paper); overflow:hidden; }
.rd-art__img img{ display:block; width:100%; height:100%; object-fit:cover; }
.rd-art--big .rd-art__img{ aspect-ratio:16/8; }
.rd-art:not(.rd-art--big) .rd-art__img{ width:120px; min-height:96px; }
.rd-art__b{ display:flex; flex-direction:column; gap:6px; padding:16px 18px; min-width:0; flex:1 1 auto; }
.rd-art__tag{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-art__t{ font-family:var(--font-head); font-size:20px; font-weight:600; line-height:1.25; color:var(--ink); }
.rd-art:not(.rd-art--big) .rd-art__t{ font-size:16px; }
.rd-art__x{ font-size:13px; color:var(--text-soft); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rd-art__m{ margin-top:auto; display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:var(--text-faint); }
.rd-art__m b{ color:var(--brass-deep); margin-left:auto; }
.rd-cfoot__help{ margin-top:40px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:22px 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.rd-cfoot__help h3{ font-family:var(--font-head); font-size:22px; font-weight:600; margin:0; color:#fff; }
.rd-cfoot__help p{ margin:2px 0 0; font-size:13px; color:rgba(255,255,255,.75); }
.rd-cfoot__help-a{ margin-left:auto; display:flex; flex-wrap:wrap; gap:10px; }
.rd-cfoot__help-a a{ height:44px; padding:0 18px; border-radius:12px; display:grid; place-items:center; font-weight:700; text-decoration:none; color:#fff; border:1px solid rgba(255,255,255,.3); }
.rd-cfoot__help-a a:first-child{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.rd-cfoot__help-a a:hover{ border-color:#fff; }
@media (max-width:991px){
  .rd-cfoot__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-arts{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .rd-cfoot__grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-inline:-15px; padding:0 15px 6px; }
  .rd-cfoot__cell, .rd-cfoot__grid .rd-seen{ flex:0 0 72%; scroll-snap-align:start; }
  .rd-cfoot__cell:nth-child(n+5){ display:block; }
  .rd-art:not(.rd-art--big) .rd-art__img{ width:92px; }
  .rd-cfoot__help-a{ margin-left:0; width:100%; } .rd-cfoot__help-a a{ flex:1 1 auto; }
}
@media (max-width:560px){ .rd-cfoot__grid{ scroll-padding-inline:15px; } }

/* ===== catalog categories: SEO text as a guide + FAQ accordion (cat.tpl #rdGuide / #rdFaq) ===== */
.rd-g2__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); display:grid; grid-template-columns:250px minmax(0,1fr); }
.rd-g2__box--notoc{ grid-template-columns:minmax(0,1fr); }
.rd-g2__toc{ border-right:1px solid var(--line); padding:22px 18px; }
.rd-g2__toc-in{ position:sticky; top:120px; }
.rd-g2__toc small{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:10px; }
.rd-g2__toc ol{ list-style:none; margin:0; padding:0; display:grid; gap:2px; counter-reset:rdg; }
.rd-g2__toc li{ counter-increment:rdg; margin:0; }
.rd-g2__toc ol a{ display:flex; gap:9px; padding:7px 10px; border-radius:8px; border-left:2px solid transparent; font-size:13px; line-height:1.35; color:var(--text-soft); text-decoration:none; }
.rd-g2__toc ol a::before{ content:counter(rdg,decimal-leading-zero); font-family:var(--font-head); font-size:11px; font-weight:600; color:var(--text-faint); padding-top:2px; }
.rd-g2__toc ol a:hover{ background:var(--paper); color:var(--ink); }
.rd-g2__toc ol a.is-on{ background:var(--paper); color:var(--ink); font-weight:500; border-left-color:var(--brass); }
.rd-g2__tofaq{ display:block; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); font-size:12.5px; font-weight:600; color:var(--brass-deep); text-decoration:none; }
.rd-g2__body{ position:relative; padding:26px 30px 10px; min-width:0; }
.rd-g2__body.is-clamp{ max-height:520px; overflow:hidden; }
.rd-g2__body.is-clamp::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:120px; background:linear-gradient(rgba(255,255,255,0),#fff); pointer-events:none; }
.rd-g2__body > h3{ font-family:var(--font-head); font-size:22px; font-weight:600; line-height:1.25; color:var(--ink); margin:30px 0 8px; scroll-margin-top:120px; }
.rd-g2__body > h3:first-child{ margin-top:0; }
.rd-g2__body h4{ font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); margin:18px 0 6px; }
.rd-g2__body > h3 *, .rd-g2__body h4 *{ color:inherit !important; font-size:inherit !important; font-weight:inherit; }
.rd-g2__body p, .rd-g2__body li{ max-width:68ch; color:var(--text-soft); font-size:14.5px; line-height:1.7; }
.rd-g2__body p{ margin:0 0 12px; }
.rd-g2__body p strong, .rd-g2__body p b, .rd-g2__body li strong{ color:var(--text); }
.rd-g2__body ul, .rd-g2__body ol{ padding-left:20px; margin:0 0 12px; }
.rd-g2__body a{ color:var(--ink-2); text-decoration:underline; }
.rd-g2__body img{ max-width:100%; height:auto; border-radius:var(--radius); }
.rd-g2__body table{ max-width:100%; display:block; overflow-x:auto; }
.rd-g2__body .rd-g2__lead{ font-size:16px; line-height:1.65; color:var(--text); }
.rd-g2__cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; margin:12px 0 18px; }
.rd-g2__card{ border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); padding:14px; min-width:0; }
.rd-g2__card h4{ margin:0 0 4px; font-size:16px; }
.rd-g2__card p{ font-size:12.5px; line-height:1.55; margin:0 0 6px; }
.rd-g2__card p:last-child{ margin-bottom:0; }
.rd-g2__cta{ display:flex; align-items:center; flex-wrap:wrap; gap:14px; background:#FBF7EE; border:1px solid var(--brass-soft, #F1E3C4); border-radius:var(--radius); padding:14px 16px; margin:18px 0; max-width:68ch; }
.rd-g2__cta span{ flex:1 1 200px; font-size:13.5px; color:var(--text); }
.rd-g2__cta a{ height:40px; padding:0 16px; border-radius:10px; background:var(--ink); color:#fff !important; text-decoration:none !important; font-weight:600; display:grid; place-items:center; }
.rd-g2__cta a:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-g2__more{ grid-column:-2 / -1; justify-self:start; margin:6px 30px 24px; height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-weight:600; color:var(--ink); cursor:pointer; }
.rd-g2__more:hover{ border-color:var(--ink); }
.rd-g2__more[hidden]{ display:none; }
.rd-faq2{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; align-items:start; }
.rd-faq2__l{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-faq2__q + .rd-faq2__q{ border-top:1px solid var(--line); }
.rd-faq2__q h3{ margin:0; font-size:inherit; }
.rd-faq2__q button{ width:100%; display:flex; align-items:center; gap:14px; text-align:left; background:none; border:0; padding:16px 20px; font-family:var(--font-body, inherit); font-size:15px; font-weight:600; line-height:1.4; color:var(--ink); cursor:pointer; }
.rd-faq2__q button i{ margin-left:auto; flex:0 0 26px; height:26px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; font-style:normal; font-weight:400; color:var(--text-soft); transition:transform .15s; }
.rd-faq2__q.is-open button i{ transform:rotate(45deg); background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-faq2__a{ display:none; padding:0 20px 18px; max-width:76ch; color:var(--text-soft); font-size:14.5px; line-height:1.7; }
.rd-faq2__a p{ margin:0 0 10px; } .rd-faq2__a p:last-child{ margin-bottom:0; }
.rd-faq2__q.is-open .rd-faq2__a{ display:block; }
.rd-faq2__s{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:20px; }
.rd-faq2__s h4{ font-family:var(--font-head); font-size:19px; font-weight:600; margin:0 0 4px; color:#fff; }
.rd-faq2__s p{ margin:0 0 14px; font-size:13px; color:rgba(255,255,255,.75); }
.rd-faq2__tel{ display:grid; place-items:center; height:44px; border-radius:12px; background:var(--brass); color:var(--ink); font-weight:700; text-decoration:none; }
.rd-faq2__tel:hover{ color:var(--ink); text-decoration:none; filter:brightness(1.05); }
.rd-faq2__alt{ display:block; margin-top:10px; text-align:center; font-size:13px; font-weight:600; color:#fff; text-decoration:none; opacity:.85; }
.rd-faq2__alt:hover{ color:#fff; opacity:1; }
@media (prefers-reduced-motion:reduce){ .rd-faq2__q button i{ transition:none; } }
@media (max-width:991px){
  .rd-g2__box{ grid-template-columns:minmax(0,1fr); }
  .rd-g2__toc{ border-right:0; border-bottom:1px solid var(--line); padding:14px 16px; min-width:0; }
  .rd-g2__toc-in{ position:static; }
  .rd-g2__toc ol{ display:flex; overflow-x:auto; gap:6px; padding-bottom:4px; }
  .rd-g2__toc ol a{ white-space:nowrap; border:1px solid var(--line); border-radius:999px; padding:6px 12px; }
  .rd-g2__toc ol a::before{ display:none; }
  .rd-g2__tofaq{ display:none; }
  .rd-g2__body{ padding:20px 16px 6px; }
  .rd-g2__more{ margin:6px 16px 18px; }
  .rd-faq2{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px){ .rd-g2__body > h3{ font-size:19px; } .rd-faq2__q button{ padding:14px 16px; font-size:14.5px; } .rd-faq2__a{ padding:0 16px 16px; } }

/* shared advice block: one post → horizontal card */
.rd-arts--one .rd-art--big{ flex-direction:row; }
.rd-arts--one .rd-art--big .rd-art__img{ flex:0 0 42%; aspect-ratio:auto; min-height:180px; }
@media (max-width:560px){ .rd-arts--one .rd-art--big{ flex-direction:column; } .rd-arts--one .rd-art--big .rd-art__img{ flex:0 0 auto; aspect-ratio:16/8; min-height:0; } }

/* ===== own-catalog product page: "Подобни продукти" (index.tpl #rdSim / #rdSimCards) ===== */
.rd-sim__tabs button em{ font-style:normal; opacity:.6; margin-left:5px; font-size:12px; }
.rd-sim__pane[hidden]{ display:none; }
.rd-sim__t{ min-width:760px; }
.rd-sim__v{ font-family:ui-monospace,Consolas,monospace; font-size:13px; font-weight:700; color:var(--ink); white-space:nowrap; }
.rd-sim__d{ display:block; font-size:11px; font-weight:500; color:var(--text-faint); margin-top:1px; white-space:nowrap; }
.rd-sim__d.is-up{ color:var(--green); }
.rd-sim__d.is-dn{ color:var(--amber); }
.rd-sim__old{ display:block; font-size:12px; color:var(--text-faint); }
.rd-sim__save, .rd-sim__more{ display:block; font-size:11.5px; font-weight:600; white-space:nowrap; }
.rd-sim__save{ color:var(--green); }
.rd-sim__more{ color:var(--amber); }
.rd-sim__warn{ margin:0; padding:12px 16px; border-top:1px solid var(--line); background:var(--amber-soft); color:#7a5314; font-size:12.5px; }
.rd-simc{ position:relative; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; min-width:0; transition:box-shadow .15s; }
.rd-simc:hover{ box-shadow:var(--shadow); }
.rd-simc__why{ position:absolute; top:10px; left:10px; z-index:1; background:var(--green-soft); color:#15724d; border-radius:6px; padding:3px 8px; font-size:11px; font-weight:600; }
.rd-simc__sale{ position:absolute; top:10px; right:10px; z-index:1; background:var(--red); color:#fff; border-radius:6px; padding:3px 7px; font-family:var(--font-head); font-size:12px; font-weight:600; }
.rd-simc__img{ display:grid; place-items:center; aspect-ratio:4/3; padding:30px 14px 10px; border-bottom:1px solid var(--line); background:#fff; }
.rd-simc__img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-simc__b{ display:flex; flex-direction:column; gap:4px; padding:12px 14px 14px; flex:1 1 auto; min-width:0; }
.rd-simc__t{ font-weight:500; line-height:1.35; color:var(--text); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:38px; }
.rd-simc__t:hover{ color:var(--ink-2); text-decoration:underline; }
.rd-simc__p{ margin-top:auto; padding-top:6px; display:flex; align-items:baseline; gap:8px; }
.rd-simc__p b{ font-family:var(--font-head); font-size:21px; font-weight:600; color:var(--ink); }
.rd-simc__p s{ font-size:12.5px; color:var(--text-faint); }
.rd-simc__add{ margin-top:8px; height:40px; width:100%; justify-content:center; }
@media (max-width:560px){ .rd-sim__grid .rd-simc{ flex:0 0 72%; scroll-snap-align:start; } }
.rd-simc__add.rd-add{ flex:0 0 40px; height:40px; min-height:40px; max-height:40px; align-self:stretch; }

/* quantity steppers beside the small add buttons */
.rd-simc__buy{ display:flex; gap:8px; margin-top:8px; }
.rd-simc__buy .rd-simc__add.rd-add{ margin-top:0; flex:1 1 auto; max-height:40px; min-width:0; }
.rd-simc__add svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-qbox--row{ display:inline-flex; align-items:center; gap:8px; }
.rd-qbox--row .rd-qty{ height:34px; }
.rd-qbox--row .rd-qty button{ width:26px; }
.rd-cfoot .rd-qty{ display:flex; }

/* ===== trucks landing (products/trucks.tpl, .rd-trk) ===== */
.rd-trk{ padding-top:6px; }
.rd-trk__hero{ position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,420px); gap:30px; align-items:center; background:linear-gradient(120deg,var(--ink) 55%,#0B2A47); color:#fff; border-radius:var(--radius-lg); padding:30px; }
.rd-trk__bg{ position:absolute; right:-30px; bottom:-10px; width:420px; fill:#fff; opacity:.06; pointer-events:none; }
.rd-trk__intro{ position:relative; min-width:0; }
.rd-trk__hero h1{ font-family:var(--font-head); font-size:clamp(28px,3.4vw,40px); font-weight:600; line-height:1.08; margin:8px 0 10px; color:#fff; text-wrap:balance; }
.rd-trk__hero h1 em{ font-style:normal; color:var(--brass); }
.rd-trk__intro p{ margin:0; max-width:48ch; color:rgba(255,255,255,.8); }
.rd-trk__stats{ display:flex; flex-wrap:wrap; gap:12px 26px; margin-top:20px; }
.rd-trk__stats b{ display:block; font-family:var(--font-head); font-size:26px; font-weight:600; line-height:1.1; }
.rd-trk__stats span{ font-size:12px; color:rgba(255,255,255,.65); }
.rd-trk__finder{ position:relative; background:#fff; color:var(--text); border-radius:var(--radius-lg); padding:18px; display:grid; gap:10px; min-width:0; }
.rd-trk__finder h2{ margin:0 0 2px; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-trk__picked{ display:flex; align-items:center; gap:6px; background:#FBF7EE; border:1px solid var(--brass-soft); border-radius:10px; padding:7px 8px 7px 12px; font-size:13px; }
.rd-trk__picked[hidden]{ display:none; }
.rd-trk__picked b{ color:var(--ink); }
.rd-trk__picked button{ margin-left:auto; width:24px; height:24px; border:0; border-radius:50%; background:transparent; font-size:18px; line-height:1; color:var(--text-soft); cursor:pointer; }
.rd-trk__picked button:hover{ background:var(--brass-soft); color:var(--ink); }
.rd-trk__go{ height:46px; border:0; border-radius:10px; background:var(--brass); color:var(--ink); font-weight:700; cursor:pointer; }
.rd-trk__go:hover:not(:disabled){ filter:brightness(1.06); }
.rd-trk__go:disabled{ opacity:.55; cursor:default; }
.rd-trk__alt{ margin:0; text-align:center; font-size:12.5px; color:var(--text-soft); }
.rd-trk__alt a{ color:var(--ink-2); font-weight:600; text-decoration:underline; }
.rd-trk__brands{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-trk__br{ display:flex; flex-direction:column; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; min-width:0; transition:border-color .15s, box-shadow .15s; }
.rd-trk__br:hover{ border-color:var(--ink); box-shadow:var(--shadow); }
.rd-trk__br-top{ display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; min-width:0; }
.rd-trk__br-top:hover{ color:inherit; text-decoration:none; }
.rd-trk__logo{ flex:0 0 52px; height:52px; border-radius:12px; background:var(--paper); display:grid; place-items:center; padding:6px; }
.rd-trk__logo img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-trk__br-top b{ display:block; font-family:var(--font-head); font-size:18px; font-weight:600; line-height:1.15; color:var(--ink); overflow-wrap:anywhere; }
.rd-trk__br-top small{ font-size:12px; color:var(--text-faint); }
.rd-trk__series{ display:flex; flex-wrap:wrap; gap:5px; }
.rd-trk__series a{ border:1px solid var(--line); background:var(--paper); border-radius:999px; padding:3px 9px; font-size:12px; color:var(--text-soft); text-decoration:none; }
.rd-trk__series a:hover{ border-color:var(--ink); color:var(--ink); }
.rd-trk__all{ margin-top:auto; font-size:12.5px; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-trk__all:hover{ color:var(--ink); }
.rd-trk__cats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-trk__cat{ position:relative; display:flex; flex-direction:column; gap:2px; text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 34px 14px 16px; cursor:pointer; color:var(--text); min-width:0; }
.rd-trk__cat:hover{ border-color:var(--ink); }
.rd-trk__cat.is-on{ border-color:var(--ink); background:#FBF7EE; }
.rd-trk__cat b{ font-weight:600; }
.rd-trk__cat span{ font-size:12px; color:var(--text-faint); }
.rd-trk__cat em{ position:absolute; right:14px; top:50%; transform:translateY(-50%); font-style:normal; font-size:18px; color:var(--text-faint); }
.rd-trk__own{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-trk__ow{ display:flex; flex-direction:column; gap:4px; min-height:140px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:18px; text-decoration:none; min-width:0; }
.rd-trk__ow:nth-child(even){ background:var(--ink-2); }
.rd-trk__ow:hover{ color:#fff; text-decoration:none; box-shadow:var(--shadow); }
.rd-trk__ow small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--brass); }
.rd-trk__ow b{ font-family:var(--font-head); font-size:20px; font-weight:600; line-height:1.2; }
.rd-trk__ow span{ font-size:12.5px; color:rgba(255,255,255,.7); }
.rd-trk__ow i{ margin-top:auto; padding-top:8px; font-style:normal; font-size:13px; font-weight:700; color:var(--brass); }
.rd-trk__oe{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:20px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; scroll-margin-top:120px; }
.rd-trk__oe h2{ margin:0 0 4px; font-family:var(--font-head); font-size:21px; font-weight:600; color:var(--ink); }
.rd-trk__oe p{ margin:0; font-size:13px; color:var(--text-soft); }
.rd-trk__oe form{ display:flex; gap:8px; min-width:0; }
.rd-trk__oe input{ flex:1 1 auto; min-width:0; height:46px; border:1px solid var(--line-2); border-radius:10px; padding:0 14px; font-family:ui-monospace,Consolas,monospace; font-size:14px; background:#fff; color:var(--text); }
.rd-trk__oe input:focus{ outline:0; border-color:var(--ink); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-trk__oe button{ height:46px; border:0; border-radius:10px; background:var(--ink); color:#fff; font-weight:600; padding:0 18px; cursor:pointer; }
.rd-trk__oe button:hover{ background:var(--brass); color:var(--ink); }
@media (max-width:991px){
  .rd-trk__hero{ grid-template-columns:minmax(0,1fr); padding:22px; }
  .rd-trk__brands, .rd-trk__cats, .rd-trk__own{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-trk__oe{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px){
  .rd-trk__brands, .rd-trk__own{ grid-template-columns:minmax(0,1fr); }
  .rd-trk__oe form{ flex-direction:column; }
}
.rd-cat__note{ margin:-6px 0 14px; padding:10px 14px; background:#FBF7EE; border:1px solid var(--brass-soft); border-radius:10px; font-size:13px; color:var(--text); }
.rd-cat__note a{ font-weight:600; color:var(--ink-2); text-decoration:underline; margin-left:6px; }

/* ===== searchable selects (rd-select.js → Select2) in the redesign blocks ===== */
.rd-cl-sel--s2::after{ display:none; }
.rd-cl-sel--s2 label{ z-index:2; }
.rd-cl-sel--s2 .select2-container{ display:block; width:100% !important; }
.rd-cl-sel--s2 .select2-container--default .select2-selection--single{ height:52px; border:1px solid var(--line-2); border-radius:10px; background:#fff; outline:0; }
.rd-cl-sel--s2 .select2-container--default .select2-selection--single .select2-selection__rendered{ padding:20px 34px 0 12px; line-height:26px; font-size:14px; font-weight:500; color:var(--text); font-family:var(--font-body); }
.rd-cl-sel--s2 .select2-container--default .select2-selection--single .select2-selection__arrow{ height:50px; right:8px; }
.rd-cl-sel--s2 .select2-container--default.select2-container--disabled .select2-selection--single{ background:var(--paper); cursor:default; }
.rd-cl-sel--s2 .select2-container--default.select2-container--disabled .select2-selection__rendered{ color:var(--text-faint); }
.rd-cl-sel--s2 .select2-container--default.select2-container--focus .select2-selection--single,
.rd-cl-sel--s2 .select2-container--default.select2-container--open .select2-selection--single{ border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.rd-fit__row .select2-container{ flex:1 1 170px; max-width:260px; min-width:0; width:auto !important; }
.rd-fit__row .select2-container--default .select2-selection--single{ height:40px; border:1px solid var(--line-2); border-radius:10px; background:#fff; outline:0; }
.rd-fit__row .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:38px; padding:0 30px 0 12px; font-size:13.5px; font-weight:500; color:var(--text); }
.rd-fit__row .select2-container--default .select2-selection--single .select2-selection__arrow{ height:38px; right:6px; }
.rd-fit__row .select2-container--default.select2-container--disabled .select2-selection--single{ background:var(--paper); }
.rd-fit__row .select2-container--default.select2-container--disabled .select2-selection__rendered{ color:var(--text-faint); }
.rd-fit__row .select2-container--default.select2-container--open .select2-selection--single{ border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.rd-fbar__sort .select2-container{ min-width:170px; width:auto !important; }
.rd-fbar__sort .select2-container--default .select2-selection--single{ height:34px; border:1px solid var(--line-2); border-radius:999px; background:#fff; outline:0; }
.rd-fbar__sort .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:32px; padding:0 30px 0 14px; font-size:13px; font-weight:500; color:var(--text); }
.rd-fbar__sort .select2-container--default .select2-selection--single .select2-selection__arrow{ height:32px; right:6px; }
.rd-s2-dd{ border:1px solid var(--line-2) !important; border-radius:10px !important; box-shadow:0 14px 40px rgba(4,24,43,.18); overflow:hidden; z-index:1060; }
.rd-s2-dd .select2-search--dropdown{ padding:8px; }
.rd-s2-dd .select2-results > .select2-results__options{ max-height:280px; }
/* the list of a group (optgroup: A4, A5 …) has no height of its own — capped, a long group ran over the next one */
.rd-s2-dd .select2-results__options--nested{ max-height:none !important; overflow:visible !important; }
.rd-s2-dd .select2-results__group{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); padding:8px 14px 4px; }
@media (max-width:991px){ .rd-fit__row .select2-container{ max-width:none; flex-basis:100%; } }

/* truck brand page: model → engine finder inside the dark hero */
.rd-bh__trk{ display:grid; gap:10px; padding-top:4px; border-top:1px solid rgba(255,255,255,.12); margin-top:2px; padding-top:14px; }
.rd-bh__trk-row{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.rd-bh__trk .rd-trk__picked{ color:var(--text); }
.rd-bh__eyebrow a{ color:inherit; text-decoration:underline; }
.rd-bsec.rd-trk{ padding-top:0; }
@media (max-width:560px){ .rd-bh__trk-row{ grid-template-columns:minmax(0,1fr); } }
.rd-model__img--trk{ display:grid; place-items:center; background:var(--paper); }
.rd-model__img--trk svg{ width:54%; height:auto; fill:var(--line-2); }
.rd-model:hover .rd-model__img--trk svg{ fill:var(--brass); }

/* ===== blog index (templates/blog/index.tpl, .rd-blog) ===== */
.rd-blog{ padding-top:6px; }
.rd-blog__hero{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,440px); gap:30px; align-items:center; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:30px; }
.rd-blog__hero h1{ font-family:var(--font-head); font-size:clamp(26px,3.2vw,38px); font-weight:600; line-height:1.1; margin:8px 0 10px; color:#fff; text-wrap:balance; }
.rd-blog__hero h1 em{ font-style:normal; color:var(--brass); }
.rd-blog__intro p{ margin:0; max-width:48ch; color:rgba(255,255,255,.8); }
.rd-blog__find{ background:#fff; color:var(--text); border-radius:var(--radius-lg); padding:18px; display:grid; gap:12px; min-width:0; }
.rd-blog__find h2{ margin:0; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-blog__q{ display:flex; height:46px; border:1px solid var(--line-2); border-radius:999px; overflow:hidden; background:#fff; }
.rd-blog__q:focus-within{ border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.rd-blog__q input{ flex:1 1 auto; min-width:0; border:0; outline:0; padding:0 16px; background:none; font-size:14px; color:var(--text); }
.rd-blog__q button{ border:0; background:var(--brass); color:var(--ink); font-weight:700; padding:0 18px; cursor:pointer; }
.rd-blog__sym{ display:flex; flex-wrap:wrap; gap:6px; }
.rd-blog__sym small{ flex-basis:100%; font-family:var(--font-head); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.rd-blog__sym button{ border:1px solid var(--line-2); background:#fff; border-radius:999px; padding:5px 11px; font-size:12.5px; color:var(--text-soft); cursor:pointer; }
.rd-blog__sym button:hover, .rd-blog__sym button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-blog__sym button[hidden]{ display:none; }
.rd-blog__topics{ display:flex; gap:8px; overflow-x:auto; padding:2px 0 6px; margin-top:20px; scrollbar-width:thin; }
.rd-blog__topics button{ flex:0 0 auto; height:38px; padding:0 16px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13.5px; font-weight:500; color:var(--text-soft); white-space:nowrap; cursor:pointer; }
.rd-blog__topics button em{ font-style:normal; font-size:12px; opacity:.55; margin-left:6px; }
.rd-blog__topics button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-blog__topics button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-blog__feat{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:14px; margin-top:22px; }
.rd-blog__feat[hidden]{ display:none; }
.rd-blog__feat-side{ display:grid; gap:14px; }
.rd-blog__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-bart{ display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; min-width:0; color:var(--text); text-decoration:none; transition:border-color .15s, box-shadow .15s; }
.rd-bart[hidden]{ display:none; }
.rd-bart:hover{ border-color:var(--ink); box-shadow:var(--shadow); color:var(--text); text-decoration:none; }
.rd-bart__img{ position:relative; display:block; aspect-ratio:16/9; background:var(--paper); overflow:hidden; flex:0 0 auto; }
.rd-bart__img img{ display:block; width:100%; height:100%; object-fit:cover; }
.rd-bart__tag{ position:absolute; left:12px; top:12px; background:var(--ink); color:#fff; border-radius:6px; padding:3px 8px; font-family:var(--font-head); font-size:10.5px; font-weight:600; font-style:normal; letter-spacing:.08em; text-transform:uppercase; }
.rd-bart__tag.is-sym{ background:var(--red); }
.rd-bart__b{ display:flex; flex-direction:column; gap:6px; padding:14px 16px 16px; flex:1 1 auto; min-width:0; }
.rd-bart__t{ font-family:var(--font-head); font-size:17px; font-weight:600; line-height:1.28; color:var(--ink); margin:0; }
.rd-bart__t a{ color:inherit; text-decoration:none; }
.rd-bart__t a:hover{ color:var(--ink-2); }
.rd-bart--big .rd-bart__t{ font-size:clamp(20px,2.2vw,26px); }
.rd-bart__x{ font-size:13px; color:var(--text-soft); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rd-bart__m{ margin-top:auto; padding-top:4px; display:flex; flex-wrap:wrap; gap:2px 12px; font-size:12px; color:var(--text-faint); }
.rd-bart__parts{ margin-top:6px; padding-top:10px; border-top:1px solid var(--line); font-size:12.5px; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-bart__parts:hover{ color:var(--ink); }
.rd-bart--row{ flex-direction:row; }
.rd-bart--row .rd-bart__img{ width:150px; aspect-ratio:auto; min-height:104px; }
.rd-bart--row .rd-bart__t{ font-size:15.5px; }
.rd-blog__none{ margin:0; padding:22px; text-align:center; background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--radius); color:var(--text-faint); }
.rd-blog__more{ display:block; margin:20px auto 0; height:46px; padding:0 24px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-weight:600; color:var(--ink); cursor:pointer; }
.rd-blog__more:hover{ border-color:var(--ink); }
.rd-blog__more[hidden]{ display:none; }
.rd-blog__cta{ margin-top:40px; display:flex; align-items:center; flex-wrap:wrap; gap:18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; }
.rd-blog__cta h3{ margin:0; font-family:var(--font-head); font-size:21px; font-weight:600; color:var(--ink); }
.rd-blog__cta p{ margin:2px 0 0; font-size:13px; color:var(--text-soft); }
.rd-blog__cta a{ margin-left:auto; height:46px; padding:0 20px; border-radius:12px; background:var(--ink); color:#fff; font-weight:700; display:grid; place-items:center; text-decoration:none; }
.rd-blog__cta a:hover{ background:var(--brass); color:var(--ink); }
.rd-blog__who{ margin:14px 0 0; display:flex; align-items:center; gap:12px; font-size:13px; color:var(--text-soft); }
.rd-blog__who i{ flex:0 0 40px; height:40px; border-radius:50%; background:var(--brass-soft); display:grid; place-items:center; font-family:var(--font-head); font-size:14px; font-weight:600; font-style:normal; color:var(--brass-deep); }
.rd-blog__who a{ color:var(--ink-2); text-decoration:underline; }
@media (max-width:991px){
  .rd-blog__hero{ grid-template-columns:minmax(0,1fr); padding:22px; }
  .rd-blog__feat{ grid-template-columns:minmax(0,1fr); }
  .rd-blog__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-blog__cta a{ margin-left:0; width:100%; }
}
@media (max-width:560px){
  .rd-blog__grid{ grid-template-columns:minmax(0,1fr); }
  .rd-bart--row .rd-bart__img{ width:110px; }
}

/* ===== blog article (templates/blog/read.tpl, .rd-post) ===== */
.rd-post__progress{ position:sticky; top:0; z-index:60; height:3px; background:transparent; }
.rd-post__progress i{ display:block; height:100%; width:0; background:var(--brass); transition:width .1s linear; }
.rd-post{ padding-top:6px; }
.rd-post__head{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-post__head--noimg{ grid-template-columns:minmax(0,1fr); }
.rd-post__head-b{ display:flex; flex-direction:column; gap:10px; padding:28px 30px; min-width:0; }
.rd-post__tag{ align-self:flex-start; background:var(--ink); color:#fff; border-radius:6px; padding:3px 9px; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; text-decoration:none; }
.rd-post__tag:hover{ background:var(--brass); color:var(--ink); text-decoration:none; }
.rd-post__head h1{ margin:0; font-family:var(--font-head); font-size:clamp(26px,3.1vw,36px); font-weight:600; line-height:1.12; color:var(--ink); text-wrap:balance; }
.rd-post__head-b > p{ margin:0; font-size:15px; line-height:1.6; color:var(--text-soft); }
.rd-post__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin-top:auto; padding-top:8px; font-size:12.5px; color:var(--text-faint); }
.rd-post__meta i{ width:30px; height:30px; border-radius:50%; background:var(--brass-soft); display:grid; place-items:center; font-family:var(--font-head); font-size:11px; font-weight:600; font-style:normal; color:var(--brass-deep); }
.rd-post__meta a{ color:var(--text); text-decoration:none; }
.rd-post__meta b{ font-weight:500; }
.rd-post__meta span + span::before{ content:"·"; margin-right:14px; color:var(--line-2); }
.rd-post__head-img{ min-height:240px; background:var(--paper); }
.rd-post__head-img img{ display:block; width:100%; height:100%; object-fit:cover; }
.rd-post__lay{ display:grid; grid-template-columns:230px minmax(0,1fr) 290px; gap:22px; align-items:start; margin-top:22px; }
.rd-post--notoc .rd-post__lay{ grid-template-columns:minmax(0,1fr) 290px; }
.rd-post__toc{ position:sticky; top:120px; min-width:0; max-height:calc(100vh - 140px); overflow-y:auto; scrollbar-width:thin; }
.rd-post__toc[hidden]{ display:none; }
.rd-post__toc small{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:10px; }
.rd-post__toc ol{ list-style:none; margin:0; padding:0; display:grid; gap:2px; counter-reset:rdp; }
.rd-post__toc li{ margin:0; }
.rd-post__toc li:not(.is-sub){ counter-increment:rdp; }
.rd-post__toc a{ display:flex; gap:9px; padding:7px 10px; border-radius:8px; border-left:2px solid transparent; font-size:13px; line-height:1.35; color:var(--text-soft); text-decoration:none; }
.rd-post__toc li:not(.is-sub) a::before{ content:counter(rdp,decimal-leading-zero); font-family:var(--font-head); font-size:11px; font-weight:600; color:var(--text-faint); padding-top:2px; }
.rd-post__toc li.is-sub a{ padding-left:32px; font-size:12.5px; }
.rd-post__toc a:hover{ background:var(--surface); color:var(--ink); }
.rd-post__toc a.is-on{ background:var(--surface); color:var(--ink); font-weight:500; border-left-color:var(--brass); }
.rd-post__share{ display:flex; gap:6px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.rd-post__share a, .rd-post__share button{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line-2); background:#fff; color:var(--text-soft); font-size:13px; font-weight:700; display:grid; place-items:center; cursor:pointer; text-decoration:none; padding:0; }
.rd-post__share a:hover, .rd-post__share button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-post__share button.is-done{ background:var(--green-soft); border-color:var(--green); }
.rd-post__art{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 34px; min-width:0; }
.rd-post__tldr{ background:#FBF7EE; border:1px solid var(--brass-soft); border-radius:var(--radius); padding:16px 18px; margin-bottom:22px; }
.rd-post__tldr[hidden]{ display:none; }
.rd-post__tldr small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-post__tldr ul{ margin:8px 0 0; padding-left:18px; color:var(--text); line-height:1.65; font-size:14.5px; }
.rd-post__body{ min-width:0; overflow-wrap:break-word; }
.rd-post__body h2{ font-family:var(--font-head) !important; font-size:25px !important; font-weight:600 !important; line-height:1.25; color:var(--ink) !important; margin:30px 0 10px; scroll-margin-top:120px; text-align:left !important; }
.rd-post__body h3{ font-family:var(--font-head) !important; font-size:19px !important; font-weight:600 !important; line-height:1.3; color:var(--ink) !important; margin:22px 0 8px; scroll-margin-top:120px; text-align:left !important; }
.rd-post__body h2 *, .rd-post__body h3 *{ color:inherit !important; font-size:inherit !important; font-family:inherit !important; }
.rd-post__body > :first-child{ margin-top:0; }
.rd-post__body p, .rd-post__body li{ max-width:70ch; font-size:15.5px; line-height:1.75; color:var(--text-soft); }
.rd-post__body p{ margin:0 0 14px; }
.rd-post__body p strong, .rd-post__body p b, .rd-post__body li strong{ color:var(--text); }
.rd-post__body ul, .rd-post__body ol{ padding-left:22px; margin:0 0 14px; }
.rd-post__body a{ color:var(--ink-2); text-decoration:underline; }
.rd-post__body img{ max-width:100%; height:auto !important; border-radius:var(--radius); margin:6px 0; }
.rd-post__body iframe{ max-width:100%; }
.rd-post__scroll{ overflow-x:auto; margin:0 0 14px; }
.rd-post__inl{ display:flex; align-items:center; flex-wrap:wrap; gap:14px; max-width:70ch; margin:22px 0; padding:14px 16px; border:1px solid var(--line); border-left:3px solid var(--brass); border-radius:var(--radius); background:#fff; }
.rd-post__inl[hidden]{ display:none; }
.rd-post__inl span{ flex:1 1 220px; font-size:14px; color:var(--text); }
.rd-post__inl a{ height:40px; padding:0 16px; border-radius:10px; background:var(--ink); color:#fff !important; font-weight:600; text-decoration:none !important; display:grid; place-items:center; }
.rd-post__inl a:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-post__author{ display:flex; align-items:center; gap:14px; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); color:var(--text-soft); text-decoration:none; font-size:13px; line-height:1.55; }
.rd-post__author:hover{ color:var(--text-soft); text-decoration:none; }
.rd-post__author img{ flex:0 0 56px; width:56px; height:56px; border-radius:50%; object-fit:cover; }
.rd-post__author b{ display:block; font-size:14.5px; color:var(--ink); }
.rd-post__author u{ color:var(--ink-2); white-space:nowrap; }
.rd-post__side{ display:grid; gap:14px; position:sticky; top:120px; min-width:0; }
.rd-post__card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; min-width:0; }
.rd-post__card h2{ margin:0 0 4px; font-family:var(--font-head); font-size:17px; font-weight:600; line-height:1.25; color:var(--ink); }
.rd-post__card > p{ margin:0 0 10px; font-size:12.5px; color:var(--text-soft); }
.rd-post__find{ display:grid; gap:8px; }
.rd-post__find > p{ margin:0 0 2px; }
.rd-post__find .rd-trk__go{ width:100%; }
.rd-post__golink{ display:grid; place-items:center; text-decoration:none; }
.rd-post__golink:hover{ color:var(--ink); text-decoration:none; }
.rd-post__pr{ display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--line); color:var(--text); text-decoration:none; }
.rd-post__pr:first-of-type{ border-top:0; }
.rd-post__pr:hover{ color:var(--ink-2); text-decoration:none; }
.rd-post__pr-img{ flex:0 0 48px; height:48px; border-radius:8px; background:var(--paper); display:grid; place-items:center; overflow:hidden; }
.rd-post__pr-img img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-post__pr-t{ flex:1 1 auto; min-width:0; font-size:12.5px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rd-post__pr b{ font-family:var(--font-head); font-size:15px; font-weight:600; color:var(--ink); white-space:nowrap; }
.rd-post__all{ display:block; margin-top:8px; font-size:12.5px; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-post__all:hover{ color:var(--ink); }
@media (max-width:1199px){
  .rd-post__lay, .rd-post--notoc .rd-post__lay{ grid-template-columns:minmax(0,1fr); }
  .rd-post__toc{ position:static; max-height:none; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px 14px; }
  .rd-post__toc small{ margin-bottom:8px; }
  .rd-post__toc ol{ display:flex; overflow-x:auto; gap:6px; padding-bottom:4px; }
  .rd-post__toc a{ white-space:nowrap; border:1px solid var(--line); border-radius:999px; padding:6px 12px; }
  .rd-post__toc li:not(.is-sub) a::before{ display:none; }
  .rd-post__toc li.is-sub, .rd-post__share{ display:none; }
  .rd-post__side{ position:static; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
}
@media (max-width:767px){
  .rd-post__head{ grid-template-columns:minmax(0,1fr); }
  .rd-post__head-img{ order:-1; min-height:0; aspect-ratio:16/9; }
  .rd-post__head-b{ padding:20px; }
  .rd-post__art{ padding:20px 18px; }
  .rd-post__body p, .rd-post__body li{ font-size:15px; }
  .rd-post__body h2{ font-size:22px !important; }
  .rd-post__side{ grid-template-columns:minmax(0,1fr); }
}
.rd-post__progress{ position:fixed; left:0; right:0; top:0; z-index:2000; pointer-events:none; }
.rd-post__body.post__body{ padding:0; }

/* the theme clips .site with overflow:hidden, which turns it into a scroll container and silently disables every position:sticky inside
   (article contents, guide contents, side cards). overflow:clip clips the same way without that side effect. */
@supports (overflow:clip){ body .site{ overflow:clip; } }

/* ===== blog author profile (templates/blog/author.tpl, .rd-author) ===== */
.rd-author__hero{ display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,340px); gap:26px; align-items:center; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:30px; }
.rd-author__ava{ width:132px; height:132px; border-radius:50%; object-fit:cover; border:4px solid rgba(255,255,255,.14); background:var(--brass-soft); }
.rd-author__intro{ min-width:0; }
.rd-author__hero h1{ font-family:var(--font-head); font-size:clamp(28px,3.2vw,38px); font-weight:600; line-height:1.08; margin:6px 0 4px; color:#fff; }
.rd-author__role{ font-size:14.5px; color:rgba(255,255,255,.75); }
.rd-author__intro p{ margin:12px 0 0; max-width:58ch; line-height:1.6; color:rgba(255,255,255,.85); }
.rd-author__quote{ margin:0; background:rgba(255,255,255,.06); border-left:3px solid var(--brass); border-radius:0 var(--radius) var(--radius) 0; padding:18px 20px; font-family:var(--font-head); font-size:17px; font-weight:500; line-height:1.5; color:#fff; }
.rd-author__quote cite{ display:block; margin-top:10px; font-family:var(--font-body); font-size:12.5px; font-style:normal; font-weight:400; color:rgba(255,255,255,.65); }
.rd-author__two{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:14px; margin-top:22px; align-items:start; }
.rd-author__card{ padding:20px 22px; }
.rd-author__card h2{ font-size:19px; margin-bottom:12px; }
.rd-author__exp{ display:grid; gap:4px; }
.rd-author__bar{ display:flex; align-items:center; gap:12px; width:100%; border:0; background:none; padding:5px 6px; border-radius:8px; font-size:13.5px; color:var(--text); text-align:left; cursor:pointer; }
.rd-author__bar:hover{ background:var(--paper); }
.rd-author__bar span{ flex:0 0 200px; min-width:0; }
.rd-author__bar i{ flex:1 1 auto; height:8px; border-radius:999px; background:var(--paper); overflow:hidden; }
.rd-author__bar i b{ display:block; height:100%; border-radius:999px; background:var(--brass); }
.rd-author__bar em{ flex:0 0 28px; text-align:right; font-style:normal; font-size:12.5px; color:var(--text-faint); }
.rd-author__facts{ margin:0; display:grid; gap:8px; font-size:13.5px; }
.rd-author__facts div{ display:flex; gap:10px; }
.rd-author__facts dt{ flex:0 0 84px; margin:0; font-weight:400; color:var(--text-faint); }
.rd-author__facts dd{ margin:0; color:var(--text); min-width:0; overflow-wrap:anywhere; }
.rd-author__facts a{ color:var(--ink-2); text-decoration:underline; }
.rd-author__iv{ display:flex; align-items:center; gap:14px; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); color:var(--text); text-decoration:none; }
.rd-author__iv:hover{ color:var(--text); text-decoration:none; }
.rd-author__iv-img{ flex:0 0 84px; height:60px; border-radius:8px; overflow:hidden; background:var(--paper); }
.rd-author__iv-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.rd-author__iv b{ display:block; font-weight:600; color:var(--ink); line-height:1.3; }
.rd-author__iv u{ font-size:12.5px; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-author__listhead{ margin-top:36px; max-width:460px; }
.rd-author .rd-blog__topics{ margin-top:14px; }
.rd-author .rd-cfoot__sec{ margin-top:22px; }
@media (max-width:991px){
  .rd-author__hero{ grid-template-columns:minmax(0,1fr); padding:22px; }
  .rd-author__ava{ width:96px; height:96px; }
  .rd-author__two{ grid-template-columns:minmax(0,1fr); }
  .rd-author__bar span{ flex-basis:150px; }
}

/* ===== OE parts landing (products/oeavtochasti.tpl, .rd-oe) ===== */
.rd-oe{ padding-top:6px; }
.rd-oe__hero{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,440px); gap:30px; align-items:center; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:30px; }
.rd-oe__hero h1{ font-family:var(--font-head); font-size:clamp(26px,3.2vw,38px); font-weight:600; line-height:1.1; margin:8px 0 10px; color:#fff; text-wrap:balance; }
.rd-oe__hero h1 em{ font-style:normal; color:var(--brass); }
.rd-oe__intro p{ margin:0; max-width:50ch; color:rgba(255,255,255,.8); }
.rd-oe__find{ position:relative; background:#fff; color:var(--text); border-radius:var(--radius-lg); padding:18px; display:grid; gap:10px; min-width:0; }
.rd-oe__find h2{ margin:0; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-oe__find > p{ margin:0; font-size:12.5px; color:var(--text-soft); }
.rd-oe__search.search{ margin:0; width:100%; max-width:none; }
.rd-oe__search .search__body{ height:48px; }
.rd-oe__search .search__input{ height:48px; border:1px solid var(--line-2); border-radius:12px; background:#fff; padding:0 14px; font-size:14px; color:var(--text); width:100%; }
.rd-oe__search .search__input:focus{ outline:0; border-color:var(--brass); box-shadow:0 0 0 3px rgba(201,154,62,.18); }
.rd-oe__search .search__box, .rd-oe__search .search__decor, .rd-oe__search .search__shadow{ display:none; }
.rd-oe__search .search__dropdown{ left:0; right:0; top:52px; border:1px solid var(--line-2); border-radius:12px; box-shadow:0 14px 40px rgba(4,24,43,.18); max-height:360px; overflow-y:auto; }
.rd-oe__num{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-top:10px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-soft); }
.rd-oe__num span{ flex-basis:100%; }
.rd-oe__num input{ flex:1 1 120px; min-width:0; height:40px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; font-family:ui-monospace,Consolas,monospace; font-size:13.5px; }
.rd-oe__num input:focus{ outline:0; border-color:var(--ink); }
.rd-oe__num button{ height:40px; border:0; border-radius:10px; background:var(--brass); color:var(--ink); font-weight:700; font-size:12.5px; padding:0 14px; cursor:pointer; }
.rd-oe__brands{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.rd-oe__br{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px 10px; color:var(--text); text-decoration:none; min-width:0; transition:border-color .15s, box-shadow .15s; }
.rd-oe__br:hover{ border-color:var(--ink); box-shadow:var(--shadow); color:var(--text); text-decoration:none; }
.rd-oe__br.is-on{ border-color:var(--ink); background:#FBF7EE; }
.rd-oe__br.is-more{ display:none; }
.rd-oe__brands.is-all .rd-oe__br.is-more{ display:flex; }
.rd-oe__br-logo{ width:56px; height:56px; border-radius:50%; background:var(--paper); display:grid; place-items:center; padding:8px; }
.rd-oe__br-logo img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-oe__br b{ font-family:var(--font-head); font-size:14px; font-weight:600; color:var(--ink); overflow-wrap:anywhere; line-height:1.2; }
.rd-oe__br small{ font-size:11.5px; color:var(--text-faint); }
.rd-oe__allbr{ margin-top:14px; }
.rd-oe__types{ margin:0 0 14px; }
.rd-oe__types a{ flex:0 0 auto; height:36px; padding:0 14px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13px; font-weight:500; color:var(--text-soft); white-space:nowrap; display:inline-flex; align-items:center; text-decoration:none; }
.rd-oe__types a em{ font-style:normal; font-size:12px; opacity:.55; margin-left:6px; }
.rd-oe__types a:hover{ border-color:var(--ink); color:var(--ink); }
.rd-oe__types a.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-oe__pages[hidden]{ display:none; }
.rd-oe__how{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-oe__how > div{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; }
.rd-oe__how em{ display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; font-family:var(--font-head); font-size:15px; font-weight:600; font-style:normal; margin-bottom:10px; }
.rd-oe__how b{ display:block; font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); margin-bottom:4px; }
.rd-oe__how span{ font-size:13px; color:var(--text-soft); }
.rd-oe__how a{ color:var(--ink-2); text-decoration:underline; white-space:nowrap; }
.rd-oe__cmp td{ font-size:13.5px; color:var(--text-soft); vertical-align:top; }
.rd-oe__cmp td b{ font-family:var(--font-head); font-size:15px; font-weight:600; color:var(--ink); }
@media (max-width:991px){
  .rd-oe__hero{ grid-template-columns:minmax(0,1fr); padding:22px; }
  .rd-oe__brands{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rd-oe__how{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px){ .rd-oe__brands{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.rd-oe__search.search.search_cat{ background:none; padding:0; height:auto; position:relative; }
.rd-oe__search .search__dropdown{ visibility:hidden; opacity:0; }
.rd-oe__search.is-open .search__dropdown{ visibility:visible; opacity:1; display:block; }
.rd-oe__search .suggestions__group-title{ padding:10px 14px 4px; font-family:var(--font-head); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.rd-oe__search .analogs-table{ width:100%; }
.rd-oe__search .analogs-table td{ padding:8px 12px; border-top:1px solid var(--line); font-size:13px; }
.rd-oe .rd-pc.rd-pc--oe{ border-color:var(--line); box-shadow:none; }
.rd-oe .rd-pc.rd-pc--oe:hover{ border-color:var(--ink); }
.rd-oe__search .analogs-table td:nth-child(n+4){ display:none; }
.rd-oe__search .analogs-table td:first-child{ width:44px; padding-right:0; }
.rd-oe__search .analogs-table td:first-child img{ height:28px !important; width:auto; max-width:40px; object-fit:contain; }
.rd-oe__search .analogs-table td:nth-child(3){ white-space:nowrap; font-weight:700; text-align:right; }
.rd-oe__search .analogs-table a{ color:var(--text); text-decoration:none; }
.rd-oe__search .analogs-table tr:hover td{ background:var(--paper); }

/* ===== home page v2 (layout/index.tpl home block, templates/main/rd_home_*.tpl, js/rd-home.js) ===== */
.rd-finder-hero{ background-size:100% 100%, 100% 100%; padding-bottom:30px; margin-bottom:30px; }
.rd-finder-hero .rd-hero{ padding-bottom:20px; }
.rd-ftabs{ max-width:1180px; margin:0 auto; display:flex; gap:4px; padding:0 8px; position:relative; z-index:3; }
.rd-ftabs button{ border:0; background:rgba(255,255,255,.1); color:#fff; border-radius:10px 10px 0 0; padding:9px 16px; font-size:13px; font-weight:500; cursor:pointer; }
.rd-ftabs button:hover{ background:rgba(255,255,255,.18); }
.rd-ftabs button.is-on{ background:var(--surface); color:var(--ink); font-weight:700; }
.rd-fpane[hidden]{ display:none; }
.rd-finder-hero .rd-fpane .block-finder__body{ border-top-left-radius:0; }
.rd-fpane--alt{ max-width:1180px; margin:0 auto; background:var(--surface); color:var(--text); border-radius:0 var(--radius-lg) var(--radius-lg) var(--radius-lg); box-shadow:var(--shadow-md); padding:20px 22px; position:relative; z-index:2; }
.rd-fnum{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.rd-fvin{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1.3fr) auto; gap:10px; }
.rd-fnum .rd-trk__go, .rd-fvin .rd-trk__go{ height:52px; padding:0 22px; white-space:nowrap; }
.rd-fpane--alt .rd-cl-sel--in input{ font-family:ui-monospace,Consolas,monospace; }
.rd-fpane--alt #rdVinWhat, .rd-fpane--alt #rdVinPhone{ font-family:var(--font-body); }
.rd-hp{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.rd-fhint{ margin:10px 0 0; font-size:12.5px; color:var(--text-soft); }
.rd-fhint.is-ok{ color:#15724d; font-weight:600; }
.rd-fhint.is-err{ color:var(--red); font-weight:600; }
.rd-fgarage{ max-width:1180px; margin:14px auto 0; padding:0 8px; display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12.5px; color:rgba(255,255,255,.7); }
.rd-fgarage a{ border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:4px 11px; color:#fff; font-weight:500; text-decoration:none; }
.rd-fgarage a:hover{ border-color:var(--brass); color:var(--brass); text-decoration:none; }
.rd-fgarage__trk{ margin-left:auto; }
.rd-ftrust{ max-width:1180px; margin:16px auto 0; padding:0 8px; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.rd-ftrust li{ background:rgba(255,255,255,.07); border-radius:10px; padding:10px 12px; font-size:12.5px; color:rgba(255,255,255,.7); }
.rd-ftrust b{ display:block; font-family:var(--font-head); font-size:17px; font-weight:600; color:#fff; }
.rd-home__cont{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:14px; margin-bottom:34px; }
.rd-home__cont[hidden]{ display:none; }
.rd-home__cont--one{ grid-template-columns:minmax(0,1fr); }
.rd-home__cont .rd-post__card[hidden]{ display:none; }
.rd-home__cont .rd-post__card h2{ font-size:18px; margin-bottom:10px; }
.rd-home__mycar{ display:flex; align-items:center; gap:14px; color:var(--text); text-decoration:none; }
.rd-home__mycar:hover{ color:var(--ink-2); text-decoration:none; }
.rd-home__mycar-img{ flex:0 0 104px; height:64px; border-radius:10px; background:var(--paper); display:grid; place-items:center; overflow:hidden; }
.rd-home__mycar-img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-home__mycar b{ display:block; color:var(--ink); line-height:1.3; }
.rd-home__mycar small{ font-size:12.5px; color:var(--text-soft); }
.rd-home__pills{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.rd-home__pills a{ border:1px solid var(--line); background:var(--paper); border-radius:999px; padding:5px 11px; font-size:12.5px; color:var(--text-soft); text-decoration:none; }
.rd-home__pills a:hover{ border-color:var(--ink); color:var(--ink); }
.rd-home__pills a.is-all{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-home__seenlist{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rd-home__needs, .rd-home__own{ margin-bottom:34px; }
.rd-home__owngrid{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.rd-home__ow{ display:flex; flex-direction:column; gap:2px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px; color:var(--text); text-decoration:none; min-width:0; transition:border-color .15s, box-shadow .15s; }
.rd-home__ow:hover{ border-color:var(--ink); box-shadow:var(--shadow); color:var(--text); text-decoration:none; }
.rd-home__ow b{ font-family:var(--font-head); font-size:15px; font-weight:600; line-height:1.25; color:var(--ink); }
.rd-home__ow span{ font-size:12px; color:var(--text-faint); }
.rd-home__ow em{ margin-top:auto; padding-top:8px; font-style:normal; font-size:12.5px; font-weight:700; color:var(--green); }
.rd-home__brandshead{ margin-bottom:-6px; }
.rd-home__more{ margin-top:16px; }
.rd-home__brandfoot{ display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; }
.rd-home__brandfoot .rd-home__more{ margin:16px 0 0; }
.rd-home__trk{ margin-top:16px; height:46px; padding:0 22px; border-radius:999px; background:var(--ink); color:#fff; font-weight:600; display:inline-grid; place-items:center; text-decoration:none; }
.rd-home__trk:hover{ background:var(--brass); color:var(--ink); text-decoration:none; }
#rdHomeCats.rd-collapsed > li:nth-child(n+25){ display:none; }
#rdHomeBrands.rd-collapsed > li:nth-child(n+33){ display:none; }
#rdHomeProd.rd-collapsed > a:nth-child(n+17){ display:none; }
@media (max-width:991px){
  .rd-fvin{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .rd-fvin__what, .rd-fvin .rd-trk__go{ grid-column:1 / -1; }
  .rd-ftrust{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-home__cont{ grid-template-columns:minmax(0,1fr); }
  .rd-home__seenlist{ grid-template-columns:minmax(0,1fr); }
  .rd-home__owngrid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:560px){
  .rd-ftabs{ overflow-x:auto; }
  .rd-ftabs button{ white-space:nowrap; padding:9px 12px; }
  .rd-fnum, .rd-fvin{ grid-template-columns:minmax(0,1fr); }
  .rd-fvin__what, .rd-fvin .rd-trk__go{ grid-column:auto; }
  .rd-home__owngrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-fgarage__trk{ margin-left:0; }
  #rdHomeCats.rd-collapsed > li:nth-child(n+17){ display:none; }
}
.rd-bsec__head h1{ font-family:var(--font-head); font-size:26px; font-weight:600; margin:0; color:var(--ink); }

/* ===== viewed products (products/wishlist.tpl, .rd-wish) ===== */
.rd-wish{ padding-top:6px; }
.rd-wish__top{ display:flex; align-items:center; flex-wrap:wrap; gap:18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px 24px; }
.rd-wish__top h1{ margin:0; font-family:var(--font-head); font-size:clamp(26px,3vw,32px); font-weight:600; line-height:1.1; color:var(--ink); }
.rd-wish__top p{ margin:4px 0 0; font-size:13px; color:var(--text-soft); }
.rd-wish__actions{ margin-left:auto; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.rd-wish__actions[hidden]{ display:none; }
.rd-wish__sum{ text-align:right; font-size:12.5px; color:var(--text-soft); }
.rd-wish__sum b{ display:block; font-family:var(--font-head); font-size:22px; font-weight:600; color:var(--ink); }
.rd-wish__all.rd-add{ flex:0 0 auto; height:46px; padding:0 18px; }
.rd-wish__all[hidden]{ display:none; }
.rd-wish__clear{ height:46px; padding:0 16px; border-radius:12px; border:1px solid var(--line-2); background:#fff; color:var(--text-soft); font-weight:500; cursor:pointer; }
.rd-wish__clear:hover{ border-color:var(--red); color:var(--red); }
.rd-wish__grp[hidden]{ display:none; }
.rd-wish__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rd-wish__item{ position:relative; min-width:0; width:auto; padding:0; margin:0; }
.rd-wish__x{ position:absolute; top:8px; right:8px; z-index:3; width:30px; height:30px; border-radius:50%; border:1px solid var(--line-2); background:#fff; color:var(--text-soft); font-size:17px; line-height:1; cursor:pointer; padding:0; }
.rd-wish__x:hover{ border-color:var(--red); color:var(--red); }
.rd-wish__when{ position:absolute; top:10px; left:50%; transform:translateX(-50%); white-space:nowrap; z-index:2; background:var(--paper); border-radius:6px; padding:2px 8px; font-size:11px; color:var(--text-soft); }
.rd-wish__item .rd-pc__sale{ right:46px; }
.rd-wish__gone{ height:100%; display:flex; flex-direction:column; gap:4px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:14px; }
.rd-wish__gone-img{ display:grid; place-items:center; aspect-ratio:4/3; margin:-14px -14px 8px; border-bottom:1px solid var(--line); padding:26px 14px 10px; opacity:.55; }
.rd-wish__gone-img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-wish__gone-t{ font-weight:500; line-height:1.35; color:var(--text); opacity:.7; text-decoration:none; }
.rd-wish__gone-c{ font-family:ui-monospace,Consolas,monospace; font-size:12px; color:var(--text-faint); }
.rd-wish__gone-s{ font-size:12px; font-weight:600; color:var(--text-faint); }
.rd-wish__alt{ margin-top:auto; height:40px; border-radius:10px; border:1px solid var(--line-2); background:#fff; color:var(--ink); font-weight:600; display:grid; place-items:center; text-decoration:none; }
.rd-wish__alt:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-wish__empty{ margin-top:22px; background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--radius-lg); padding:34px 24px; text-align:center; }
.rd-wish__empty[hidden]{ display:none; }
.rd-wish__empty h2{ margin:10px 0 4px; font-family:var(--font-head); font-size:22px; font-weight:600; color:var(--ink); }
.rd-wish__empty p{ margin:0 auto 14px; max-width:46ch; color:var(--text-soft); }
.rd-wish__empty .rd-add{ display:inline-flex; flex:0 0 auto; height:46px; padding:0 20px; text-decoration:none; }
.rd-wish__next{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:14px; align-items:stretch; }
.rd-wish__next > :only-child{ grid-column:1 / -1; }
.rd-wish__next .rd-post__card[hidden]{ display:none; }
.rd-wish__next .rd-post__card h2{ font-size:19px; margin-bottom:10px; }
.rd-wish__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-wish__chips a{ border:1px solid var(--line); background:var(--paper); border-radius:999px; padding:7px 14px; font-size:13px; color:var(--text); text-decoration:none; }
.rd-wish__chips a:hover{ border-color:var(--ink); }
.rd-wish__cta{ display:flex; flex-direction:column; gap:6px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:20px 22px; }
.rd-wish__cta h2{ margin:0; font-family:var(--font-head); font-size:19px; font-weight:600; color:#fff; }
.rd-wish__cta p{ margin:0; font-size:13px; color:rgba(255,255,255,.75); }
.rd-wish__cta a{ margin-top:auto; align-self:flex-start; height:44px; padding:0 18px; border-radius:12px; background:var(--brass); color:var(--ink); font-weight:700; display:grid; place-items:center; text-decoration:none; }
@media (max-width:991px){
  .rd-wish__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-wish__next{ grid-template-columns:minmax(0,1fr); }
  .rd-wish__actions{ margin-left:0; width:100%; }
  .rd-wish__sum{ text-align:left; }
}
@media (max-width:480px){ .rd-wish__grid{ grid-template-columns:minmax(0,1fr); } }
.rd-wish__item > .rd-pc{ width:100%; height:100%; }

/* ===== home page: product tabs (main/rd_home_products.tpl, .rd-hprod) + Google reviews (main/rd_home_reviews.tpl, .rd-rev) ===== */
.rd-hprod{ padding:0; }
.rd-hprod__tabs{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; margin-bottom:14px; scrollbar-width:none; }
.rd-hprod__tabs::-webkit-scrollbar{ display:none; }
.rd-hprod__tabs .rd-tab{ flex:none; white-space:nowrap; }
.rd-tab--promo i{ font-style:normal; color:var(--red); margin-right:5px; }
.rd-tab--promo.rd-tab--active i{ color:#FF9C9C; }
.rd-hprod__car{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; background:#FBF7EE; border:1px solid var(--brass-soft,#F1E3C4); border-radius:var(--radius); padding:10px 14px; margin-bottom:14px; font-size:13px; color:var(--text); }
.rd-hprod__car b{ color:var(--ink); }
.rd-hprod__car a{ margin-left:auto; font-weight:700; color:var(--brass-deep,#A67B26); text-decoration:none; white-space:nowrap; }
.rd-hprod__car a:hover{ text-decoration:underline; }
.rd-hprod__panel[hidden]{ display:none; }
.rd-hprod__grid{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.rd-hprod__cell{ position:relative; min-width:0; }
.rd-hprod__cell > .rd-pc{ width:100%; height:100%; }
.rd-hprod__rank{ position:absolute; top:10px; left:10px; z-index:3; background:var(--ink); color:#fff; border-radius:6px; padding:4px 8px; font:600 11px/1 var(--font-head); letter-spacing:.06em; pointer-events:none; }
.rd-hprod__cell--rank .rd-pc__badges{ top:36px; }
.rd-hprod__grid .rd-pc__specs:not(.rd-pc__specs--on){ display:none; }
.rd-hprod__grid .rd-pc__save{ display:none; }
.rd-hprod__grid .rd-pc__buy{ gap:6px; }
.rd-hprod__foot{ display:flex; justify-content:center; margin-top:16px; }
.rd-hprod__foot .rd-blog__more{ text-decoration:none; display:inline-grid; place-items:center; }
@media (max-width:1199px){ .rd-hprod__grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:991px){ .rd-hprod__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px){
  .rd-hprod__grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-inline:-15px; padding:0 15px 6px; scroll-padding-inline:15px; }
  .rd-hprod__cell{ flex:0 0 62%; scroll-snap-align:start; }
  .rd-hprod__car a{ margin-left:0; }
}

.rd-rev{ padding:0; }
.rd-rev__box{ display:grid; grid-template-columns:280px minmax(0,1fr); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-rev__box--solo{ grid-template-columns:minmax(0,1fr); }
.rd-rev__score{ display:flex; flex-direction:column; gap:6px; background:var(--ink); color:#fff; padding:26px 24px; }
.rd-rev__score small{ font:600 11px/1.2 var(--font-head); letter-spacing:.12em; text-transform:uppercase; color:var(--brass); }
.rd-rev__n{ font:600 56px/1 var(--font-head); color:#fff; font-variant-numeric:tabular-nums; }
.rd-rev__cnt{ font-size:13px; color:rgba(255,255,255,.75); }
/* the text stars of the reviews (home page, review page): scoped, and without the mask of the product-page stars (.rd-stars above) */
.rd-rev .rd-stars, .rd-rv__mine .rd-stars{ position:relative; display:inline-block; align-self:flex-start; width:auto; height:auto; background:none; -webkit-mask:none; mask:none; vertical-align:baseline; font-size:20px; line-height:1; letter-spacing:2px; color:rgba(255,255,255,.25); white-space:nowrap; }
.rd-rev .rd-stars::before, .rd-rev .rd-stars i::before, .rd-rv__mine .rd-stars::before, .rd-rv__mine .rd-stars i::before{ content:"\2605\2605\2605\2605\2605"; }
.rd-rev .rd-stars i, .rd-rv__mine .rd-stars i{ position:absolute; left:0; top:0; bottom:0; width:calc(var(--v) / 5 * 100%); overflow:hidden; font-style:normal; color:var(--brass); }
.rd-rev .rd-stars--sm{ font-size:14px; letter-spacing:1px; color:var(--line-2); }
.rd-rev__btns{ margin-top:auto; display:grid; gap:8px; padding-top:14px; }
.rd-rev__box--solo .rd-rev__btns{ grid-template-columns:repeat(2,minmax(0,240px)); }
.rd-rev__write{ height:44px; padding:0 18px; border-radius:12px; background:var(--brass); color:var(--ink); font-weight:700; display:grid; place-items:center; text-decoration:none; }
.rd-rev__write:hover{ color:var(--ink); text-decoration:none; filter:brightness(1.05); }
.rd-rev__all{ height:44px; border-radius:12px; border:1px solid rgba(255,255,255,.3); color:#fff; font-size:13px; display:grid; place-items:center; text-decoration:none; }
.rd-rev__all:hover{ color:#fff; border-color:#fff; text-decoration:none; }
.rd-rev__list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:22px 24px; }
.rd-rev__q{ margin:0; display:flex; flex-direction:column; gap:8px; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:14px; }
.rd-rev__q figcaption{ display:flex; align-items:center; gap:10px; min-width:0; }
.rd-rev__q figcaption b{ display:block; font-size:13.5px; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-rev__q figcaption small{ display:block; font-size:11.5px; color:var(--text-faint); }
.rd-rev__q figcaption > span:last-child{ min-width:0; }
.rd-rev__av{ position:relative; flex:none; width:36px; height:36px; border-radius:50%; overflow:hidden; background:var(--brass-soft,#F1E3C4); color:var(--brass-deep,#A67B26); display:grid; place-items:center; font:600 13px/1 var(--font-head); }
.rd-rev__av img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rd-rev__q blockquote{ margin:0; padding:0; border:0; font-size:13px; line-height:1.55; color:var(--text-soft); display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; overflow:hidden; }
.rd-rev__src{ margin:10px 0 0; text-align:right; }
.rd-rev__src img{ height:16px; width:auto; opacity:.8; }
.rd-rev__bar{ display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 20px; font-size:14px; color:var(--text-soft); }
.rd-rev__bar b{ color:var(--ink); }
.rd-rev__bar .rd-rev__write{ margin-left:auto; }
@media (max-width:991px){
  .rd-rev__box{ grid-template-columns:minmax(0,1fr); }
  .rd-rev__list{ grid-template-columns:minmax(0,1fr); padding:16px; }
  .rd-rev__box--solo .rd-rev__btns{ grid-template-columns:minmax(0,1fr); }
  .rd-rev__bar .rd-rev__write{ margin-left:0; width:100%; }
}

/* ===== manufacturer page (products/brands.tpl, .rd-mfr) ===== */
.rd-mfr{ padding-top:6px; }
.rd-mfr__hero{ display:grid; grid-template-columns:minmax(0,1fr) 340px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); overflow:hidden; }
.rd-mfr__main{ display:flex; flex-direction:column; gap:12px; padding:26px 28px; min-width:0; }
.rd-mfr__top{ display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.rd-mfr__logo{ flex:none; width:120px; height:64px; border-radius:12px; background:#fff; display:grid; place-items:center; padding:8px; }
.rd-mfr__logo img{ width:104px; height:48px; max-width:none; max-height:none; object-fit:contain; display:block; }      /* rd: a fixed box — a percentage height does not resolve in the grid cell, so a tall logo (HELLA 90x89) spilled out of the white plate */
.rd-mfr__top h1{ margin:0; font-family:var(--font-head); font-size:clamp(24px,3.2vw,34px); font-weight:600; line-height:1.1; color:#fff; }
.rd-mfr__sub{ margin:4px 0 0; font-size:13px; color:rgba(255,255,255,.75); }
.rd-mfr__lead{ margin:0; max-width:64ch; color:rgba(255,255,255,.85); }
.rd-mfr__facts{ display:flex; flex-wrap:wrap; gap:10px 28px; margin:4px 0 0; padding:0; list-style:none; }
.rd-mfr__facts b{ display:block; font-family:var(--font-head); font-size:24px; font-weight:600; line-height:1.1; color:var(--brass); font-variant-numeric:tabular-nums; }
.rd-mfr__facts span{ font-size:12px; color:rgba(255,255,255,.75); }
.rd-mfr__side{ display:flex; flex-direction:column; gap:10px; padding:22px; background:rgba(255,255,255,.06); border-left:1px solid rgba(255,255,255,.12); }
.rd-mfr__side h2{ margin:0; font-family:var(--font-head); font-size:16px; font-weight:600; letter-spacing:.03em; color:#fff; }
.rd-mfr__side p{ margin:0; font-size:12.5px; color:rgba(255,255,255,.75); }
.rd-mfr__num{ display:flex; gap:6px; }
.rd-mfr__num input{ flex:1; min-width:0; height:44px; border:0; border-radius:10px; padding:0 12px; font-family:ui-monospace,Consolas,monospace; font-size:13px; color:var(--text); background:#fff; }
.rd-mfr__num button{ height:44px; padding:0 16px; border:0; border-radius:10px; background:var(--brass); color:var(--ink); font-weight:700; cursor:pointer; }
.rd-mfr__car{ margin-top:auto; padding-top:10px; border-top:1px solid rgba(255,255,255,.14); font-size:12.5px; color:rgba(255,255,255,.85); }
.rd-mfr__car[hidden]{ display:none; }
.rd-mfr__car b{ color:#fff; }
.rd-mfr__car a{ display:block; margin-top:4px; color:var(--brass); font-weight:700; text-decoration:none; }
.rd-mfr__car a:hover{ text-decoration:underline; color:var(--brass); }
.rd-mfr__systems{ display:grid; gap:18px; }
.rd-mfr__sys h3{ display:flex; align-items:center; gap:10px; margin:0 0 8px; font-family:var(--font-head); font-size:13px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-mfr__sys h3::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-mfr__tiles{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.rd-mfr__tile{ display:flex; align-items:center; gap:12px; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; text-decoration:none; color:var(--text); transition:border-color .15s, box-shadow .15s; }
.rd-mfr__tile:hover{ border-color:var(--brass); box-shadow:var(--shadow-sm); text-decoration:none; color:var(--text); }
.rd-mfr__timg{ flex:none; width:54px; height:54px; border-radius:10px; background:#fff; display:grid; place-items:center; overflow:hidden; }
.rd-mfr__timg img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-mfr__tb{ min-width:0; }
.rd-mfr__tb b{ display:block; font-weight:500; line-height:1.3; color:var(--ink); }
.rd-mfr__tb small{ display:block; font-size:12px; color:var(--text-faint); }
.rd-mfr__tb em{ font-style:normal; font-weight:600; color:var(--green); }
.rd-mfr .rd-hprod__car{ background:var(--surface); border-color:var(--line); color:var(--text-soft); }
.rd-mfr__two{ display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:14px; align-items:stretch; }
.rd-mfr__two--one{ grid-template-columns:minmax(0,1fr); }
.rd-mfr__two .rd-post__card h2{ font-size:19px; margin-bottom:10px; }
.rd-mfr__two .rd-wish__chips small{ color:var(--text-faint); margin-left:4px; }
.rd-mfr__maker{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 14px; margin:0; font-size:13px; }
.rd-mfr__maker dt{ font-weight:400; color:var(--text-faint); }
.rd-mfr__maker dd{ margin:0; overflow-wrap:anywhere; }
.rd-mfr__legal{ margin:10px 0 0; font-size:12px; color:var(--text-faint); }
.rd-mfr__help{ display:flex; align-items:center; flex-wrap:wrap; gap:12px 14px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:18px 22px; }
.rd-mfr__help > div{ flex:1; min-width:240px; }
.rd-mfr__help b{ display:block; font-family:var(--font-head); font-size:17px; font-weight:600; }
.rd-mfr__help span{ font-size:13px; color:rgba(255,255,255,.75); }
.rd-mfr__help a{ height:44px; padding:0 18px; border-radius:12px; background:var(--brass); color:var(--ink); font-weight:700; display:grid; place-items:center; text-decoration:none; }
.rd-mfr__help a.rd-mfr__tel{ background:none; border:1px solid rgba(255,255,255,.3); color:#fff; font-weight:500; }
@media (max-width:991px){
  .rd-mfr__hero{ grid-template-columns:minmax(0,1fr); }
  .rd-mfr__side{ border-left:0; border-top:1px solid rgba(255,255,255,.12); }
  .rd-mfr__tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-mfr__two{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px){
  .rd-mfr__main{ padding:20px 18px; }
  .rd-mfr__side{ padding:18px; }
  .rd-mfr__tiles{ grid-template-columns:minmax(0,1fr); }
  .rd-mfr__help a{ flex:1 1 100%; }
}
.rd-mfr__sys:not(.is-open) .rd-mfr__tile--more{ display:none; }
.rd-mfr__more{ margin-top:10px; }

/* ===== "brand + part group" page (products/brandscats.tpl, .rd-mfrcat) ===== */
.rd-mfrcat__band{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 22px; }
.rd-mfrcat__logo{ flex:none; width:96px; height:52px; border:1px solid var(--line); border-radius:10px; background:#fff; display:grid; place-items:center; padding:6px; }
.rd-mfrcat__logo img{ width:82px; height:38px; max-width:none; max-height:none; object-fit:contain; display:block; }      /* rd: a fixed box, as .rd-mfr__logo — a percentage height does not resolve in the grid cell and a tall logo (KNECHT) spilled out of the plate */
.rd-mfrcat__t{ min-width:0; }
.rd-mfrcat__t h1{ margin:0; font-family:var(--font-head); font-size:clamp(24px,3vw,32px); font-weight:600; line-height:1.1; color:var(--ink); }
.rd-mfrcat__t p{ margin:3px 0 0; font-size:13px; color:var(--text-soft); }
.rd-mfrcat__t p a{ color:var(--brass-deep); font-weight:600; text-decoration:none; }
.rd-mfrcat__facts{ display:flex; flex-wrap:wrap; gap:8px 24px; margin:0 0 0 auto; padding:0; list-style:none; }
.rd-mfrcat__facts b{ display:block; font-family:var(--font-head); font-size:20px; font-weight:600; line-height:1.1; color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-mfrcat__facts span{ font-size:12px; color:var(--text-faint); }
.rd-mfrcat__finder{ margin-top:12px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:20px 22px; }
.rd-mfrcat__finder h2{ margin:0; font-family:var(--font-head); font-size:19px; font-weight:600; color:#fff; }
.rd-mfrcat__finder > p{ margin:3px 0 12px; font-size:13px; color:rgba(255,255,255,.75); }
.rd-mfrcat__finder .car_search, .rd-mfrcat__finder .block-finder__body{ padding:0; margin:0; max-width:none; width:100%; background:none; box-shadow:none; }
.rd-mfrcat__finder .block-finder__form{ display:flex; flex-wrap:wrap; }
.rd-mfrcat__finder .block-finder__form-control{ flex:1 1 200px; width:auto; }
.rd-mfrcat__mine{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:12px; font-size:13px; }
.rd-mfrcat__mine[hidden]{ display:none; }
.rd-mfrcat__mine span{ color:rgba(255,255,255,.7); }
.rd-mfrcat__mine a{ border:1px solid rgba(255,255,255,.3); border-radius:999px; padding:6px 14px; color:#fff; font-weight:500; text-decoration:none; }
.rd-mfrcat__mine a:hover{ border-color:var(--brass); color:#fff; }
.rd-mfrcat__mine a b{ color:var(--brass); }
.rd-mfrcat__groups{ display:flex; gap:8px; overflow-x:auto; margin-top:12px; padding-bottom:4px; scrollbar-width:thin; }
.rd-mfrcat__g{ flex:none; display:flex; align-items:center; gap:8px; height:42px; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:0 14px 0 6px; font-size:13px; color:var(--text); white-space:nowrap; text-decoration:none; }
a.rd-mfrcat__g:hover{ border-color:var(--ink); color:var(--text); text-decoration:none; }
.rd-mfrcat__g i{ flex:none; width:30px; height:30px; border-radius:50%; background:#fff; overflow:hidden; display:grid; place-items:center; }
.rd-mfrcat__g i img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-mfrcat__g small{ color:var(--text-faint); }
.rd-mfrcat__g.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; font-weight:600; padding-left:16px; }
.rd-mfrcat__g--all{ padding-left:14px; font-weight:600; color:var(--ink); }
.rd-mfrcat__layout{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:16px; margin-top:14px; align-items:start; }
.rd-mfrcat__filters{ position:sticky; top:84px; display:grid; gap:16px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; }
.rd-mfrcat__fg[hidden]{ display:none; }
.rd-mfrcat__fg h3{ margin:0 0 8px; font-family:var(--font-head); font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-mfrcat__fg label{ display:flex; align-items:center; gap:8px; margin:0; padding:4px 0; font-size:13.5px; color:var(--text); cursor:pointer; }
.rd-mfrcat__fg label small{ margin-left:auto; color:var(--text-faint); }
.rd-mfrcat__fg input[type=checkbox]{ width:16px; height:16px; accent-color:var(--ink); }
.rd-mfrcat__range{ display:flex; align-items:center; gap:6px; color:var(--text-faint); }
.rd-mfrcat__range input{ flex:1; min-width:0; height:38px; border:1px solid var(--line-2); border-radius:8px; padding:0 8px; font-size:13px; text-align:center; color:var(--text); background:#fff; }
.rd-mfrcat__reset{ height:38px; border:1px solid var(--line-2); border-radius:10px; background:#fff; color:var(--text-soft); font-weight:500; cursor:pointer; padding:0 14px; }
.rd-mfrcat__reset[hidden]{ display:none; }
.rd-mfrcat__reset:hover{ border-color:var(--red); color:var(--red); }
.rd-mfrcat__bar{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:8px 12px; margin-bottom:12px; font-size:13px; color:var(--text-soft); }
.rd-mfrcat__bar b{ color:var(--ink); }
.rd-mfrcat__sort{ margin-left:auto; min-width:210px; }
.rd-mfrcat__view{ display:flex; gap:4px; }
.rd-mfrcat__view button{ width:36px; height:36px; border:1px solid var(--line-2); border-radius:8px; background:#fff; display:grid; place-items:center; cursor:pointer; padding:0; }
.rd-mfrcat__view button svg{ fill:var(--text-faint); }
.rd-mfrcat__view button.is-on{ background:var(--ink); border-color:var(--ink); }
.rd-mfrcat__view button.is-on svg{ fill:#fff; }
.rd-mfrcat .rd-listing .products-list .products-list__content{ gap:12px; }
.rd-mfrcat .rd-listing .products-list .products-list__item.is-later{ display:none !important; }
.rd-mfrcat .products-list[data-layout=grid] .rd-pc__save{ display:none; }
.rd-mfrcat__none{ background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--radius); padding:22px; text-align:center; color:var(--text-soft); }
.rd-mfrcat__none[hidden]{ display:none; }
.rd-mfrcat__none button{ margin-left:8px; }
.rd-mfrcat__more{ display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:16px; font-size:12.5px; color:var(--text-faint); }
.rd-mfrcat__more[hidden]{ display:none; }
@media (max-width:1199px){ .rd-mfrcat .rd-listing .products-list[data-layout=grid] .products-list__content{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px){
  .rd-mfrcat__layout{ grid-template-columns:minmax(0,1fr); }
  .rd-mfrcat__filters{ position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-mfrcat__reset{ grid-column:1 / -1; }
  .rd-mfrcat__facts{ margin-left:0; }
  .rd-mfrcat .rd-listing .products-list[data-layout=grid] .products-list__content{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .rd-mfrcat__filters{ grid-template-columns:minmax(0,1fr); }
  .rd-mfrcat__sort{ margin-left:0; flex:1; }
  .rd-mfrcat__view{ display:none; }
}
.rd-mfrcat__fg{ min-width:0; }
.rd-mfrcat__fg label[hidden]{ display:none; }
.rd-mfrcat__range input{ width:0; min-width:0; -moz-appearance:textfield; }
.rd-mfrcat__range input::-webkit-outer-spin-button, .rd-mfrcat__range input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* rd-mfrcat: filters moved into the bar (pills + price dropdown with a two-handle slider) */
.rd-mfrcat__main{ margin-top:14px; }
.rd-mfrcat__fbar{ margin:0 0 12px; position:relative; z-index:5; }
.rd-mfrcat__cnt{ font-size:13px; color:var(--text-soft); margin-right:6px; white-space:nowrap; }
.rd-mfrcat__cnt b{ color:var(--ink); }
.rd-mfrcat__fbar .rd-pill[hidden], .rd-mfrcat__fbar .rd-dd[hidden]{ display:none; }
.rd-mfrcat__fbar .rd-mfrcat__reset{ height:34px; border:0; background:none; padding:0 6px; color:var(--text-faint); font-size:12.5px; font-weight:600; }
.rd-mfrcat__fbar .rd-mfrcat__reset:hover{ color:var(--red); }
.rd-mfrcat__fbar .rd-mfrcat__sort{ margin-left:0; min-width:190px; }
.rd-mfrcat__fbar .rd-cl-sel--s2 .select2-container--default .select2-selection--single{ height:34px; border-radius:999px; }
.rd-mfrcat__fbar .rd-cl-sel--s2 .select2-container--default .select2-selection--single .select2-selection__rendered{ padding:0 30px 0 14px; line-height:32px; font-size:13px; }
.rd-mfrcat__fbar .rd-cl-sel--s2 .select2-container--default .select2-selection--single .select2-selection__arrow{ height:32px; right:6px; }
.rd-mfrcat__fbar .rd-cl-sel select{ height:34px; padding:0 28px 0 12px; border-radius:999px; font-size:13px; }
.rd-mfrcat__fbar .rd-mfrcat__view button{ width:34px; height:34px; }
.rd-mfrcat__pp{ width:280px; padding:16px 14px 10px; }
.rd-mfrcat__slider{ position:relative; height:28px; margin:0 2px 10px; }
.rd-mfrcat__track{ position:absolute; left:0; right:0; top:12px; height:4px; border-radius:2px; background:var(--line-2); }
.rd-mfrcat__track i{ position:absolute; top:0; bottom:0; left:0; right:0; border-radius:2px; background:var(--brass); }
.rd-mfrcat__slider input[type=range]{ position:absolute; left:-2px; right:-2px; top:0; width:calc(100% + 4px); height:28px; margin:0; padding:0; background:none; pointer-events:none; -webkit-appearance:none; appearance:none; }
.rd-mfrcat__slider input[type=range]::-webkit-slider-runnable-track{ background:none; height:28px; }
.rd-mfrcat__slider input[type=range]::-moz-range-track{ background:none; height:28px; }
.rd-mfrcat__slider input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; pointer-events:auto; width:20px; height:20px; margin-top:4px; border-radius:50%; background:#fff; border:2px solid var(--ink); box-shadow:0 1px 4px rgba(4,24,43,.25); cursor:grab; }
.rd-mfrcat__slider input[type=range]::-moz-range-thumb{ pointer-events:auto; width:16px; height:16px; border-radius:50%; background:#fff; border:2px solid var(--ink); box-shadow:0 1px 4px rgba(4,24,43,.25); cursor:grab; }
.rd-mfrcat__slider input[type=range]:focus-visible::-webkit-slider-thumb{ box-shadow:0 0 0 3px var(--brass-soft); }
.rd-mfrcat__pp .rd-mfrcat__range{ gap:8px; }
.rd-mfrcat__pp .rd-mfrcat__range label{ flex:1; min-width:0; display:flex; align-items:center; gap:6px; margin:0; height:40px; border:1px solid var(--line-2); border-radius:10px; padding:0 10px; font-size:12px; color:var(--text-faint); background:#fff; }
.rd-mfrcat__pp .rd-mfrcat__range label:focus-within{ border-color:var(--ink); }
.rd-mfrcat__pp .rd-mfrcat__range input{ flex:1; width:0; min-width:0; height:auto; border:0; padding:0; text-align:right; font-size:14px; font-weight:600; color:var(--ink); background:none; outline:0; }
.rd-mfrcat__pp .rd-mfrcat__range em{ font-style:normal; color:var(--text-faint); }
@media (max-width:700px){
  .rd-mfrcat__fbar .rd-fbar__sep{ display:none; }
  .rd-mfrcat__fbar .rd-fbar__right{ width:100%; }
  .rd-mfrcat__fbar .rd-mfrcat__sort{ flex:1; }
  .rd-mfrcat__pp{ width:min(280px, calc(100vw - 50px)); }
}

/* rd-mfrcat: the finder searches in the page — what is shown now */
.rd-mfrcat__carbar{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; background:var(--green-soft); border:1px solid var(--green); border-radius:var(--radius); padding:10px 14px; margin:0 0 10px; font-size:13.5px; color:var(--text); }
.rd-mfrcat__carbar[hidden]{ display:none; }
.rd-mfrcat__carbar b{ color:var(--ink); }
.rd-mfrcat__carbar.is-busy{ background:var(--surface); border-color:var(--line); color:var(--text-soft); }
.rd-mfrcat__carbar a{ margin-left:auto; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-mfrcat__carbar a[hidden]{ display:none; }
.rd-mfrcat__carbar a:hover{ text-decoration:underline; }
.rd-mfrcat__carbar button{ height:32px; padding:0 12px; border:1px solid var(--line-2); border-radius:999px; background:#fff; color:var(--text-soft); font-size:12.5px; font-weight:600; cursor:pointer; }
.rd-mfrcat__carbar button:hover{ border-color:var(--ink); color:var(--ink); }
.rd-mfrcat__fbar[hidden]{ display:none; }
@media (max-width:700px){ .rd-mfrcat__carbar a{ margin-left:0; } }

/* product cards in grid view: four in a row everywhere (home / manufacturer tabs, "Топ продукти за този автомобил") */
.rd-hprod__grid, .rd-pgrid__row{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:991px){ .rd-hprod__grid, .rd-pgrid__row{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px){ .rd-pgrid__row{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ===== fitting side ("страна на монтаж", TecDoc criteria 100): little car, card badge, chip, pair line, filter ===== */
.rd-car{ display:block; flex:none; }
.rd-car__b{ fill:#fff; stroke:var(--line-2); stroke-width:1.5; }
.rd-car__g{ fill:var(--paper); }
.rd-car__a{ fill:var(--text-faint); }
.rd-car__w{ fill:var(--line-2); transition:fill .15s; }
.rd-car__w.is-on{ fill:var(--brass); }
.rd-side{ position:absolute; left:10px; top:10px; z-index:3; display:flex; align-items:center; gap:7px; background:var(--ink); color:#fff; border-radius:10px; padding:5px 10px 5px 6px; font-size:11.5px; line-height:1.2; box-shadow:0 4px 12px rgba(4,24,43,.25); pointer-events:none; }
.rd-side b{ display:block; font-family:var(--font-head); font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--brass); }
.rd-side .rd-car__b{ fill:rgba(255,255,255,.08); stroke:rgba(255,255,255,.4); }
.rd-side .rd-car__g{ fill:rgba(255,255,255,.14); }
.rd-side .rd-car__a{ fill:rgba(255,255,255,.6); }
.rd-side .rd-car__w{ fill:rgba(255,255,255,.3); }
.rd-side .rd-car__w.is-on{ fill:var(--brass); }
.rd-pc--side .rd-pc__badges{ top:52px; }
.rd-hprod__cell--rank .rd-side{ top:36px; }
.rd-pc__specs--on .rd-pc__sidek{ display:inline-flex; align-items:center; gap:5px; background:var(--brass-soft); color:var(--ink); font-family:var(--font-body); font-weight:600; }
.rd-pc__sidek .rd-car__w.is-on{ fill:var(--brass-deep); }
.rd-pc__pair{ padding:6px 16px 0; font-size:12px; color:var(--text-soft); }
.rd-pc__pair a{ color:var(--brass-deep); font-weight:600; text-decoration:none; white-space:nowrap; }
.rd-pc__pair a:hover{ text-decoration:underline; }
.rd-listing .products-list[data-layout=table] .rd-side{ padding:4px; border-radius:8px; left:6px; top:6px; }
.rd-listing .products-list[data-layout=table] .rd-side > span{ display:none; }
.rd-listing .products-list[data-layout=table] .rd-pc__pair{ display:none; }
.rd-listing .products-list[data-layout=table] .rd-pc__sidek{ font-size:12.5px; padding:4px 9px; }
.rd-car--pill{ margin-left:-4px; }
.rd-pill--on .rd-car__w.is-on{ fill:var(--ink); }
.rd-mfrcat__sp{ width:320px; padding:14px 14px 10px; }
.rd-mfrcat__spin{ display:grid; grid-template-columns:104px minmax(0,1fr); gap:14px; align-items:center; }
.rd-mfrcat__pick{ position:relative; width:104px; height:141px; }
.rd-mfrcat__pick button{ position:absolute; width:50%; height:50%; border:0; background:none; border-radius:10px; padding:0; cursor:pointer; }
.rd-mfrcat__pick button:hover{ background:rgba(201,154,62,.18); }
.rd-mfrcat__pick button[data-zone=fl]{ left:0; top:0; } .rd-mfrcat__pick button[data-zone=fr]{ right:0; top:0; }
.rd-mfrcat__pick button[data-zone=rl]{ left:0; bottom:0; } .rd-mfrcat__pick button[data-zone=rr]{ right:0; bottom:0; }
.rd-mfrcat__sopts{ display:grid; gap:2px; font-size:13px; }
.rd-mfrcat__sopts label{ display:flex; align-items:center; gap:8px; margin:0; padding:5px 6px; border-radius:6px; cursor:pointer; color:var(--text); font-size:13px; }
.rd-mfrcat__sopts label:hover{ background:var(--paper); }
.rd-mfrcat__sopts label.is-none{ opacity:.45; }
.rd-mfrcat__sopts small{ margin-left:auto; color:var(--text-faint); }
.rd-mfrcat__sopts input{ width:16px; height:16px; accent-color:var(--ink); }
.rd-mfrcat__sopts hr{ width:100%; margin:4px 0; border:0; border-top:1px solid var(--line); }
.rd-mfrcat__axq{ display:flex; gap:6px; }
.rd-mfrcat__axq[hidden]{ display:none; }
.rd-mfrcat__carbar .rd-mfrcat__axq button{ border-color:var(--green); color:var(--ink); background:#fff; }
.rd-mfrcat__carbar .rd-mfrcat__axq button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-mfrcat__carbar .rd-mfrcat__axq button.is-on b{ color:var(--brass); }
@media (max-width:700px){ .rd-mfrcat__sp{ width:min(320px, calc(100vw - 50px)); } .rd-side{ padding:4px 8px 4px 5px; } }
.rd-side{ max-width:calc(100% - 66px); }
.rd-side > span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-side b{ overflow:hidden; text-overflow:ellipsis; }

/* fitting side on the TecDoc product pages (js/rd-pdcar.js) */
.rd-pdside{ display:flex; align-items:center; gap:12px; background:var(--ink); color:#fff; border-radius:var(--radius); padding:10px 16px; margin:12px 0 0; max-width:520px; }
.rd-pdside b{ display:block; font-family:var(--font-head); font-size:15px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:#fff; }
.rd-pdside span{ font-size:12.5px; color:rgba(255,255,255,.75); }
.rd-pdside .rd-car__b{ fill:rgba(255,255,255,.08); stroke:rgba(255,255,255,.4); }
.rd-pdside .rd-car__g{ fill:rgba(255,255,255,.14); }
.rd-pdside .rd-car__a{ fill:rgba(255,255,255,.6); }
.rd-pdside .rd-car__w{ fill:rgba(255,255,255,.3); }
.rd-pdside .rd-car__w.is-on{ fill:var(--brass); }

/* ===== one look for every add-to-cart button: the cart icon + the label =====
   The card buttons carry the icon as an inline <svg>; the small buttons in tables / bundles and the buttons drawn by
   scripts do not — they get the same cart as a mask (takes the text colour, so hover / "done" states keep working). */
button.rd-add:not(:has(svg))::before,
.rd-mini[name=addToCart]::before, .rd-mini[data-add]::before,
.rd-kit2__sum button::before, .rd-cl-go::before{
  content:""; flex:none; display:inline-block; width:18px; height:18px; vertical-align:-4px; margin-right:8px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.6 12.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.6 12.4a1.5 1.5 0 0 0 1.5 1.1h8.6a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center / contain no-repeat;
}
button.rd-add:not(:has(svg))::before{ margin-right:0; }      /* .rd-add is a flex row with its own gap */
.rd-mini[name=addToCart]::before, .rd-mini[data-add]::before{ width:16px; height:16px; margin-right:6px; vertical-align:-3px; }

/* ===== "added to the cart" panel (layout/index.tpl #rdCart, js/rd-cart.js): drawer on the right, bottom sheet on a phone ===== */
.rd-cart__back{ position:fixed; inset:0; z-index:10040; background:rgba(4,24,43,.5); opacity:0; transition:opacity .2s; }
.rd-cart__back.is-in{ opacity:1; }
.rd-cart__back[hidden], .rd-cart[hidden]{ display:none; }
.rd-cart{ position:fixed; top:0; right:0; bottom:0; z-index:10050; width:420px; max-width:100%; display:flex; flex-direction:column; background:var(--surface); color:var(--text); font-family:var(--font-body); font-size:14px; line-height:1.5; box-shadow:-20px 0 50px rgba(4,24,43,.25); transform:translateX(100%); transition:transform .22s ease-out; }
.rd-cart.is-in{ transform:none; }
.rd-cart__head{ display:flex; align-items:center; gap:10px; padding:16px 18px; border-bottom:1px solid var(--line); }
.rd-cart__ok{ flex:none; width:28px; height:28px; border-radius:50%; background:var(--green); color:#fff; font-weight:700; display:grid; place-items:center; }
.rd-cart__head h3{ margin:0; font-family:var(--font-head); font-size:18px; font-weight:600; line-height:1.2; color:var(--ink); }
.rd-cart__x{ margin-left:auto; width:36px; height:36px; border:1px solid var(--line-2); border-radius:50%; background:#fff; color:var(--text-soft); font-size:20px; line-height:1; cursor:pointer; padding:0; }
.rd-cart__x:hover{ border-color:var(--ink); color:var(--ink); }
.rd-cart__body{ flex:1 1 auto; min-height:0; overflow:auto; padding:16px 18px; display:flex; flex-direction:column; gap:14px; }
.rd-cart__body > [hidden]{ display:none; }
.rd-cart__list{ display:grid; gap:12px; }
.rd-cart__list:empty{ display:none; }
.rd-cart__item{ display:grid; grid-template-columns:84px minmax(0,1fr); gap:12px; align-items:start; }
.rd-cart__list.is-many .rd-cart__item{ grid-template-columns:56px minmax(0,1fr); padding-bottom:12px; border-bottom:1px solid var(--line); }
.rd-cart__img{ aspect-ratio:1; border:1px solid var(--line); border-radius:10px; background:#fff; display:grid; place-items:center; overflow:hidden; }
.rd-cart__img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-cart__item small{ display:block; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cart__n{ display:block; font-weight:500; line-height:1.3; color:var(--ink); text-decoration:none; }
a.rd-cart__n:hover{ color:var(--ink); text-decoration:underline; }
.rd-cart__item code{ display:block; font:500 11.5px ui-monospace,Consolas,monospace; color:var(--text-faint); background:none; padding:0; }
.rd-cart__p{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin-top:4px; }
.rd-cart__p strong{ font-family:var(--font-head); font-size:19px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-cart__p span{ font-size:12px; color:var(--text-faint); }
.rd-cart__added{ display:flex; align-items:baseline; font-size:13px; color:var(--text-soft); }
.rd-cart__added strong{ margin-left:auto; font-family:var(--font-head); font-size:17px; font-weight:600; color:var(--ink); }
.rd-cart__fit{ display:flex; align-items:center; gap:8px; border-radius:10px; padding:9px 12px; font-size:12.5px; }
.rd-cart__fit--ok{ background:var(--green-soft); color:#11694A; }
.rd-cart__fit--ok b{ color:#0B4F37; }
.rd-cart__fit--ask{ background:var(--amber-soft,#FBF0DA); color:#7A5210; }
.rd-cart__fit a{ margin-left:auto; font-weight:700; color:inherit; white-space:nowrap; text-decoration:none; }
.rd-cart__fit a:hover{ text-decoration:underline; }
.rd-cart__side{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-soft); }
.rd-cart__side svg{ flex:none; width:20px; height:27px; }
.rd-cart__side b{ color:var(--ink); }
.rd-cart__side button, .rd-cart__side a{ margin-left:auto; flex:none; height:32px; padding:0 12px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:12.5px; font-weight:600; color:var(--ink); cursor:pointer; display:inline-grid; place-items:center; text-decoration:none; white-space:nowrap; }
.rd-cart__side button:hover, .rd-cart__side a:hover{ border-color:var(--ink); }
.rd-cart__eta{ display:flex; gap:8px; font-size:12.5px; color:var(--text-soft); }
.rd-cart__eta i{ flex:none; width:8px; height:8px; margin-top:5px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.rd-cart__eta b{ color:var(--green); }
.rd-cart__more h4{ margin:0 0 8px; font-family:var(--font-head); font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cart__sug{ display:grid; gap:8px; }
.rd-cart__sug a{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:8px 10px; text-decoration:none; color:var(--text); }
.rd-cart__sug a:hover{ border-color:var(--brass); }
.rd-cart__sug i{ width:44px; height:44px; border-radius:8px; background:#fff; display:grid; place-items:center; overflow:hidden; }
.rd-cart__sug i img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-cart__sug b{ display:block; font-weight:500; font-size:13px; line-height:1.25; color:var(--ink); }
.rd-cart__sug small{ display:block; font-size:12px; color:var(--text-faint); }
.rd-cart__sug em{ font-style:normal; font-weight:700; font-size:12.5px; color:var(--brass-deep); }
.rd-cart__ask{ background:var(--amber-soft,#FBF0DA); border:1px solid #E9CF95; border-radius:var(--radius); padding:12px 14px; font-size:13px; color:#5F400C; }
.rd-cart__ask p{ margin:6px 0 10px; }
.rd-cart__askt b{ color:var(--ink); }
.rd-cart__askb{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rd-cart__askb .rd-cart__go, .rd-cart__askb .rd-cart__no{ height:42px; }
.rd-cart__foot{ flex:none; display:grid; gap:10px; padding:14px 18px 16px; border-top:1px solid var(--line); background:#fff; }
.rd-cart__sum{ display:flex; align-items:baseline; gap:6px; font-size:13px; color:var(--text-soft); }
.rd-cart__sum b{ color:var(--ink); }
.rd-cart__sum strong{ margin-left:auto; font-family:var(--font-head); font-size:20px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-cart__go{ height:48px; border:0; border-radius:12px; background:var(--ink); color:#fff !important; font-weight:700; font-size:14px; display:grid; place-items:center; text-decoration:none !important; cursor:pointer; }
.rd-cart__go:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-cart__back2, .rd-cart__no{ height:44px; border:1px solid var(--line-2); border-radius:12px; background:#fff; color:var(--ink); font-weight:600; font-size:14px; cursor:pointer; }
.rd-cart__back2:hover, .rd-cart__no:hover{ border-color:var(--ink); }
.rd-cart__trust{ display:flex; justify-content:center; flex-wrap:wrap; gap:4px 14px; font-size:11.5px; color:var(--text-faint); }
@media (max-width:700px){
  .rd-cart{ top:auto; left:0; width:100%; max-height:88vh; border-radius:20px 20px 0 0; box-shadow:0 -16px 40px rgba(4,24,43,.25); transform:translateY(100%); }
  .rd-cart::before{ content:""; flex:none; width:40px; height:4px; margin:8px auto 0; border-radius:2px; background:var(--line-2); }
  .rd-cart__head{ padding:8px 14px 10px; border-bottom:0; }
  .rd-cart__head h3{ font-size:16px; }
  .rd-cart__body{ padding:4px 14px 12px; gap:10px; }
  .rd-cart__item{ grid-template-columns:60px minmax(0,1fr); }
  .rd-cart__eta, .rd-cart__more, .rd-cart__trust{ display:none !important; }
  .rd-cart__foot{ padding:10px 14px 14px; gap:8px; }
  .rd-cart__go{ height:46px; }
}
@media (prefers-reduced-motion:reduce){ .rd-cart, .rd-cart__back{ transition:none; } }
.rd-cart__fit--no{ background:var(--red-soft,#FDECEC); color:#9B1C1C; }

/* ===== mini cart in the drawer (#rdCart[data-mode=cart], js/rd-cart.js openCart) ===== */
.rd-cart[data-mode=cart] .rd-cart__ok, .rd-cart[data-mode=cart] .rd-cart__only-added, .rd-cart[data-mode=cart] .rd-cart__list, .rd-cart[data-mode=cart] .rd-cart__added,
.rd-cart[data-mode=cart] .rd-cart__fit, .rd-cart[data-mode=cart] .rd-cart__side, .rd-cart[data-mode=cart] .rd-cart__eta, .rd-cart[data-mode=cart] .rd-cart__more, .rd-cart[data-mode=cart] .rd-cart__ask{ display:none !important; }
.rd-cart[data-mode=added] .rd-cart__only-cart, .rd-cart[data-mode=added] .rd-cart__view, .rd-cart[data-mode=added] .rd-cart__cnt{ display:none !important; }
.rd-cart.is-empty .rd-cart__hide-empty{ display:none !important; }
.rd-cart__head{ align-items:center; }
.rd-cart__cnt{ font-size:13px; color:var(--text-faint); margin-top:2px; }
.rd-cart__view{ display:grid; gap:12px; align-content:start; }
.rd-cart.is-busy .rd-cart__view{ opacity:.55; pointer-events:none; transition:opacity .15s; }
.rd-cart__load{ padding:30px 0; text-align:center; color:var(--text-faint); font-size:13px; }
.rd-cart__grp{ display:flex; align-items:center; gap:8px; margin-top:4px; font-family:var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cart__grp::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-cart__grp--ask{ color:#7A5210; }
.rd-cart__row{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:10px 12px; align-items:start; }
.rd-cart__row .rd-cart__img{ width:64px; }
.rd-cart__rb{ min-width:0; }
.rd-cart__rb small{ display:block; font-family:var(--font-head); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cart__rb .rd-cart__n{ font-size:13.5px; }
.rd-cart__rb code{ display:block; font:500 11.5px ui-monospace,Consolas,monospace; color:var(--text-faint); background:none; padding:0; }
.rd-cart__tags{ display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; }
.rd-cart__tag{ border-radius:5px; padding:1px 6px; font-size:11px; font-weight:600; }
.rd-cart__tag--side{ background:var(--brass-soft); color:var(--ink); }
.rd-cart__tag--card{ background:var(--amber-soft,#FBF0DA); color:#7A5210; }
.rd-cart__rr{ display:grid; gap:5px; justify-items:end; text-align:right; }
.rd-cart__rr strong{ font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap; }
.rd-cart__rr > span{ margin-top:-5px; font-size:11px; color:var(--text-faint); white-space:nowrap; }
.rd-cart__qty{ display:flex; align-items:center; height:32px; border:1px solid var(--line-2); border-radius:9px; background:#fff; }
.rd-cart__qty button{ width:28px; height:100%; border:0; background:none; color:var(--text-soft); font-size:15px; cursor:pointer; padding:0; }
.rd-cart__qty button:disabled{ opacity:.35; cursor:default; }
.rd-cart__qty button:not(:disabled):hover{ color:var(--ink); }
.rd-cart__qty span{ min-width:20px; text-align:center; font-size:13px; font-weight:600; color:var(--ink); }
.rd-cart__rm{ border:0; background:none; padding:0; font-size:12px; color:var(--text-faint); text-decoration:underline; cursor:pointer; }
.rd-cart__rm:hover{ color:var(--red); }
.rd-cart__undo{ display:flex; align-items:center; gap:10px; background:var(--paper); border:1px dashed var(--line-2); border-radius:10px; padding:9px 12px; font-size:12.5px; color:var(--text-soft); }
.rd-cart__undo span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-cart__undo button{ margin-left:auto; flex:none; border:0; background:none; padding:0; color:var(--brass-deep); font-weight:700; cursor:pointer; }
.rd-cart__empty{ display:grid; gap:8px; justify-items:center; text-align:center; padding:26px 8px 8px; }
.rd-cart__empty i{ width:56px; height:56px; border-radius:50%; background:var(--paper); display:grid; place-items:center; }
.rd-cart__empty i svg{ fill:none; stroke:var(--text-faint); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-cart__empty h4{ margin:4px 0 0; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-cart__empty p{ margin:0; max-width:34ch; font-size:13px; color:var(--text-soft); }
.rd-cart__empty .rd-cart__go{ width:100%; height:44px; margin-top:6px; }
.rd-cart__seen h4{ margin:8px 0 6px; font-family:var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cart__seen a{ display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:10px; align-items:center; padding:7px 0; border-top:1px solid var(--line); font-size:13px; color:var(--text); text-decoration:none; }
.rd-cart__seen a:hover span{ text-decoration:underline; }
.rd-cart__seen i{ width:40px; height:40px; border-radius:8px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; overflow:hidden; }
.rd-cart__seen i img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-cart__seen em{ font-style:normal; font-weight:600; color:var(--ink); white-space:nowrap; }
#rdCartTotals{ display:grid; gap:6px; }
#rdCartTotals:empty{ display:none; }
#rdCartTotals .rd-cart__sum em{ margin-left:auto; font-style:normal; font-weight:600; color:var(--text); }
#rdCartTotals .rd-cart__sum--save em{ color:var(--green); }
#rdCartTotals .rd-cart__sum--total strong{ font-size:22px; }
.rd-cart__hint{ margin-top:-4px; font-size:12px; color:var(--text-faint); }
/* rd-cpship: the delivery of the cart under "В количката" (the "added" panel) */
.rd-cart__shipl{ margin-top:-4px; font-size:12.5px; color:var(--text-soft); }
.rd-cart__shipl b{ color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.rd-cart__shipl[hidden]{ display:none; }
a.rd-cart__back2{ display:grid; place-items:center; text-decoration:none; }
a.rd-cart__back2:hover{ color:var(--ink); text-decoration:none; }
@media (max-width:700px){ .rd-cart[data-mode=cart]{ max-height:92vh; } .rd-cart__row{ grid-template-columns:56px minmax(0,1fr) auto; } .rd-cart__row .rd-cart__img{ width:56px; } }

/* ===== header drop-downs "Гараж" and "Вход / Профил" (layout/rd_hdr_garage.tpl, rd_hdr_account.tpl, js/rd-hdr.js) ===== */
.rd-hd{ width:400px; max-width:calc(100vw - 24px); display:grid; gap:12px; padding:16px; background:var(--surface); color:var(--text); font-family:var(--font-body); font-size:14px; line-height:1.5; text-align:left; border-radius:0 0 var(--radius-lg) var(--radius-lg); }
.indicator__content:has(> .rd-hd){ border-radius:0 0 var(--radius-lg) var(--radius-lg); overflow:hidden; box-shadow:0 18px 40px rgba(4,24,43,.18); }
.rd-hd [hidden]{ display:none !important; }
.rd-hd__h{ margin:0; font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
.rd-hd__lbl{ display:flex; align-items:center; gap:8px; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-hd__lbl::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-hd__cars{ display:grid; gap:8px; max-height:min(52vh,420px); overflow:auto; }
.rd-hd__car{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:8px 12px; align-items:center; border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; }
.rd-hd__car.is-on{ border-color:var(--brass); background:#FBF7EE; }
.rd-hd__cimg{ width:64px; height:42px; border-radius:8px; background:#fff; display:grid; place-items:center; overflow:hidden; }
.rd-hd__cimg img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-hd__cb{ min-width:0; }
.rd-hd__cb b{ display:block; font-weight:600; line-height:1.25; color:var(--ink); }
.rd-hd__cb small{ display:block; font-size:12px; color:var(--text-faint); }
.rd-hd__on{ display:inline-block; margin-left:6px; padding:0 6px; border-radius:5px; background:var(--brass); color:var(--ink); font-style:normal; font-size:10.5px; font-weight:700; vertical-align:1px; }
.rd-hd__go{ height:34px; padding:0 12px; border-radius:999px; background:var(--ink); color:#fff !important; font-size:12.5px; font-weight:600; display:grid; place-items:center; text-decoration:none !important; white-space:nowrap; }
.rd-hd__go:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-hd__chips{ grid-column:1 / -1; display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.rd-hd__chips > a{ border:1px solid var(--line-2); background:#fff; border-radius:999px; padding:3px 10px; font-size:12px; color:var(--text); text-decoration:none; }
.rd-hd__chips > a:hover{ border-color:var(--ink); color:var(--text); }
.rd-hd__rmbox{ margin-left:auto; display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-soft); }
.rd-hd__rm, .rd-hd__yes, .rd-hd__no{ border:0; background:none; padding:0; font-size:12px; color:var(--text-faint); text-decoration:underline; cursor:pointer; }
.rd-hd__rm:hover, .rd-hd__yes{ color:var(--red); }
.rd-hd__yes, .rd-hd__no{ font-weight:700; }
.rd-hd__none{ display:grid; gap:2px; border:1px dashed var(--line-2); border-radius:var(--radius); padding:14px; text-align:center; }
.rd-hd__none b{ color:var(--ink); }
.rd-hd__none span{ font-size:13px; color:var(--text-soft); }
.rd-hd__row2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.rd-hd__btn{ height:44px; padding:0 14px; border:0; border-radius:12px; font-weight:700; font-size:14px; display:grid; place-items:center; text-align:center; text-decoration:none !important; cursor:pointer; white-space:nowrap; }
.rd-hd__btn--ink{ background:var(--ink); color:#fff !important; }
.rd-hd__btn--ink:hover{ background:var(--brass); color:var(--ink) !important; }
.rd-hd__btn--line{ background:#fff; border:1px solid var(--line-2); color:var(--ink) !important; font-weight:600; font-size:13px; }
.rd-hd__btn--line:hover{ border-color:var(--ink); }
.rd-hd__soft{ display:grid; gap:8px; background:var(--paper); border-radius:var(--radius); padding:12px 14px; }
.rd-hd__soft ul{ margin:0; padding:0; list-style:none; display:grid; gap:4px; font-size:13px; color:var(--text-soft); }
.rd-hd__soft li::before{ content:"\2713  "; color:var(--green); font-weight:700; }
.rd-hd__soft p{ margin:0; font-size:13px; color:var(--text-soft); }
.rd-hd__soft p b{ color:var(--ink); }
.rd-hd__social{ display:grid; gap:8px; }
.rd-hd__soc{ height:44px; border:1px solid var(--line-2); border-radius:12px; background:#fff; color:var(--ink) !important; font-weight:600; display:flex; align-items:center; justify-content:center; gap:10px; text-decoration:none !important; }
.rd-hd__soc:hover{ border-color:var(--ink); }
.rd-hd__or{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--text-faint); }
.rd-hd__or::before, .rd-hd__or::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-hd__form{ display:grid; gap:10px; margin:0; }
.rd-hd__f{ display:grid; gap:4px; }
.rd-hd__f label{ display:flex; margin:0; font-size:12px; font-weight:600; color:var(--text-soft); }
.rd-hd__f label a{ margin-left:auto; font-weight:500; color:var(--brass-deep); text-decoration:none; }
.rd-hd__f label a:hover{ text-decoration:underline; }
.rd-hd__f input{ width:100%; height:44px; border:1px solid var(--line-2); border-radius:10px; background:#fff; padding:0 12px; font-size:14px; color:var(--text); }
.rd-hd__f input:focus{ outline:0; border-color:var(--ink); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-hd__pw{ position:relative; }
.rd-hd__pw input{ padding-right:70px; }
.rd-hd__show{ position:absolute; right:8px; top:50%; transform:translateY(-50%); border:0; background:none; padding:4px 6px; font-size:12px; font-weight:600; color:var(--brass-deep); cursor:pointer; }
.rd-hd__me{ display:flex; align-items:center; gap:12px; text-decoration:none !important; color:var(--text) !important; }
.rd-hd__av{ flex:none; width:44px; height:44px; border-radius:50%; background:var(--brass-soft); display:grid; place-items:center; overflow:hidden; }
.rd-hd__av img{ width:100%; height:100%; object-fit:cover; }
.rd-hd__av svg{ fill:none; stroke:var(--brass-deep); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-hd__me b{ display:block; color:var(--ink); }
.rd-hd__me small{ display:block; font-size:12.5px; color:var(--text-faint); overflow:hidden; text-overflow:ellipsis; }
.rd-hd__last{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:center; border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; font-size:13px; color:var(--text) !important; text-decoration:none !important; }
.rd-hd__last:hover{ border-color:var(--brass); }
.rd-hd__last b{ color:var(--ink); }
.rd-hd__last small{ grid-column:1; font-size:12px; color:var(--text-faint); }
.rd-hd__last i{ grid-column:2; grid-row:1 / 3; font-style:normal; font-weight:700; color:var(--brass-deep); white-space:nowrap; }
.rd-hd__st{ font-style:normal; font-weight:600; color:var(--green); }
.rd-hd__st--5, .rd-hd__st--7{ color:var(--red); }
.rd-hd__st--0, .rd-hd__st--1, .rd-hd__st--2, .rd-hd__st--8, .rd-hd__st--9, .rd-hd__st--10{ color:var(--brass-deep); }
.rd-hd__links{ display:grid; gap:2px; }
.rd-hd__links a{ display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; font-size:14px; color:var(--text) !important; text-decoration:none !important; }
.rd-hd__links a:hover{ background:var(--paper); }
.rd-hd__links a span{ margin-left:auto; font-size:12px; color:var(--text-faint); }
.rd-hd__links svg{ flex:none; width:18px; height:18px; fill:none; stroke:var(--text-soft); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-hd__links--out{ border-top:1px solid var(--line); padding-top:8px; }
.rd-hd__links--out a{ color:var(--text-soft) !important; }

/* ===== long listings: draw less =====
   "later" cards wait for "Покажи още" (js/rd-listing.js paginate); the browser skips the rendering of cards that are off screen. */
.rd-listing .products-list .products-list__item.rd-later{ display:none !important; }
.rd-more{ display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:16px; font-size:12.5px; color:var(--text-faint); }
.rd-more[hidden]{ display:none; }
@supports (content-visibility:auto){
  .rd-listing .products-list[data-layout=grid] .products-list__item{ content-visibility:auto; contain-intrinsic-size:auto 300px auto 540px; }
  .rd-listing .products-list[data-layout=table] .products-list__item{ content-visibility:auto; contain-intrinsic-size:auto 800px auto 140px; }
}

/* ===== car page: "Най-търсените части за вашия …" (products/parts_cats.tpl #rdCarTop, js/rd-cartop.js) ===== */
.rd-ctop[hidden]{ display:none; }
.rd-ctop__tabs{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; margin-bottom:10px; scrollbar-width:none; }
.rd-ctop__tabs::-webkit-scrollbar{ display:none; }
.rd-ctop__tabs .rd-tab{ flex:none; white-space:nowrap; }
.rd-ctop__tabs .rd-tab i{ font-style:normal; font-weight:400; font-size:12px; opacity:.6; margin-left:4px; }
.rd-ctop__sub{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; margin-bottom:12px; min-height:34px; }
.rd-ctop__seg{ display:inline-flex; border:1px solid var(--line-2); border-radius:999px; overflow:hidden; background:#fff; }
.rd-ctop__seg[hidden]{ display:none; }
.rd-ctop__seg button{ height:34px; padding:0 14px; border:0; background:none; font-size:12.5px; font-weight:600; color:var(--text-soft); display:flex; align-items:center; gap:6px; cursor:pointer; }
.rd-ctop__seg button.is-on{ background:var(--brass); color:var(--ink); }
.rd-ctop__seg .rd-car__w.is-on{ fill:var(--ink); }
.rd-ctop__all{ margin-left:auto; font-weight:700; font-size:13px; color:var(--brass-deep); text-decoration:none; }
.rd-ctop__all:hover{ color:var(--brass-deep); text-decoration:underline; }
.rd-ctop__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.rd-ctop__load{ grid-column:1 / -1; padding:30px 0; text-align:center; color:var(--text-faint); font-size:13px; }
.rd-ctop__cell{ min-width:0; display:flex; flex-direction:column; border-radius:var(--radius); }
.rd-ctop__cell > .rd-pc{ flex:1; width:100%; height:auto; border-top-left-radius:0; border-top-right-radius:0; }
.rd-ctop__why{ padding:7px 12px; border-radius:var(--radius) var(--radius) 0 0; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.rd-ctop__why--cheap{ background:var(--green-soft); color:#11694A; }
.rd-ctop__why--fast{ background:var(--blue-soft,#E4EEFB); color:#174F94; }
.rd-ctop__why--prem{ background:var(--brass-soft); color:var(--brass-deep); }
.rd-ctop__why--sale{ background:#FDECEC; color:#9B1C1C; }
.rd-ctop__why--none{ background:var(--paper); }
.rd-ctop__grid .rd-pc__specs:not(.rd-pc__specs--on){ display:none; }
.rd-ctop__grid .rd-pc__save{ display:none; }
.rd-ctop__kit{ display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px; margin-top:14px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:16px 20px; }
.rd-ctop__kit[hidden]{ display:none; }
.rd-ctop__kt{ flex:1; min-width:240px; }
.rd-ctop__kt b{ display:block; font-family:var(--font-head); font-size:17px; font-weight:600; }
.rd-ctop__kt span{ font-size:13px; color:rgba(255,255,255,.75); }
.rd-ctop__kt a{ color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.35); }
.rd-ctop__kit strong{ font-family:var(--font-head); font-size:22px; font-weight:600; color:var(--brass); white-space:nowrap; }
.rd-ctop__kadd.rd-add{ flex:0 0 auto; height:44px; padding:0 18px; background:var(--brass); color:var(--ink) !important; }
.rd-ctop__kadd.rd-add:disabled{ opacity:.8; cursor:default; }
@media (max-width:991px){ .rd-ctop__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } .rd-ctop__all{ margin-left:0; } }
@media (max-width:560px){
  .rd-ctop__grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-inline:-15px; padding:0 15px 6px; scroll-padding-inline:15px; }
  .rd-ctop__cell{ flex:0 0 74%; scroll-snap-align:start; }
  .rd-ctop__kit strong{ margin-left:0; }
}

/* car page service packs: the system of every row as a readable green tag on the right (it used to be a faint grey text) */
.rd-pack li a{ align-items:center; }
.rd-pack li a em{ flex:none; max-width:55%; background:var(--green-soft); color:#11694A; border-radius:999px; padding:2px 9px; font-size:11px; font-weight:600; line-height:1.4; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-pack li a:hover em{ background:var(--green); color:#fff; }
.rd-pd .rd-pack em{ max-width:none; overflow:visible; }
.rd-more{ margin-bottom:8px; }

/* ===== own-catalog product page: "Свързани продукти" as tabs with a reason (index.tpl #rdSimCards) ===== */
.rd-simc__whyb{ display:block; padding:7px 14px; font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; background:var(--green-soft); color:#11694A; }
.rd-simc__whyb--with{ background:#E4EEFB; color:#174F94; }
.rd-simc__whyb--best{ background:var(--brass-soft, #F1E3C4); color:var(--brass-deep, #A67B26); }
.rd-simc__whyb--sub{ background:var(--paper, #F3F5F7); color:var(--text-soft, #5B6472); }
.rd-simc--why .rd-simc__img{ position:relative; padding:0; overflow:hidden; }
.rd-simc--why .rd-simc__img img{ position:absolute; inset:14px; width:calc(100% - 28px); height:calc(100% - 28px); max-width:none; max-height:none; object-fit:contain; }      /* tall photos must not stretch the card */
.rd-simc--why .rd-simc__sale{ top:10px; right:10px; }
.rd-simc__c{ font-family:var(--font-mono, ui-monospace, Consolas, monospace); font-size:11.5px; color:var(--text-faint); }
.rd-sim__links{ margin-top:4px; }
.rd-simo{ margin-top:14px; background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:16px 20px; display:flex; align-items:center; gap:12px 14px; flex-wrap:wrap; }
.rd-simo__t{ flex:1 1 260px; min-width:0; }
.rd-simo__t b{ display:block; font-family:var(--font-head); font-size:17px; font-weight:600; }
.rd-simo__t span{ font-size:13px; opacity:.75; }
.rd-simo__a{ display:inline-grid; place-items:center; height:40px; padding:0 16px; border-radius:999px; border:1px solid rgba(255,255,255,.3); color:#fff; font-size:13px; font-weight:500; text-decoration:none; white-space:nowrap; }
.rd-simo__a[hidden]{ display:none; }
.rd-simo__a:hover{ border-color:#fff; color:#fff; text-decoration:none; }
.rd-simo__a--go{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-simo__a--go:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
@media (max-width:560px){ .rd-simo{ padding:14px 16px; } .rd-simo__a{ flex:1 1 auto; } }


/* ===== glass-cleaning parts (wipers, washer …): the fitting side as a windscreen with blades instead of the car with wheels
   (templates/products/rd_side.tpl glass=1, js/rd-glass.js). The blades reuse .rd-car__w / .is-on of the wheels. ===== */
.rd-car__gl{ fill:#DCE9F5; stroke:#9DB4CB; stroke-width:1.4; stroke-linejoin:round; }
.rd-car__gh{ fill:none; stroke:#9DB4CB; stroke-width:1; opacity:.8; }
.rd-car--gl .rd-car__w{ fill:#AEB9C6; }
.rd-car--gl .rd-car__w.is-on{ fill:var(--brass-deep); }
.rd-car--glpick .rd-car__gl{ stroke-width:1; }
.rd-car--glpick .rd-car__gh{ stroke-width:.7; }
.rd-side .rd-car__gl, .rd-pdside .rd-car__gl{ fill:rgba(255,255,255,.14); stroke:rgba(255,255,255,.5); }
.rd-side .rd-car__gh, .rd-pdside .rd-car__gh{ stroke:rgba(255,255,255,.4); }
.rd-side .rd-car--gl .rd-car__w, .rd-pdside .rd-car--gl .rd-car__w{ fill:rgba(255,255,255,.32); }
.rd-side .rd-car--gl .rd-car__w.is-on, .rd-pdside .rd-car--gl .rd-car__w.is-on{ fill:var(--brass); }
.rd-pc__sidek .rd-car__gl{ fill:#fff; stroke:var(--brass-deep); }
.rd-pill--on .rd-car__gl{ fill:rgba(255,255,255,.16); stroke:rgba(255,255,255,.55); }
.rd-pill--on .rd-car--gl .rd-car__w.is-on{ fill:var(--brass); }
.rd-car--gl.rd-car--pill{ margin-left:-2px; }
.rd-pc__specs--on .rd-pc__len{ background:var(--ink); color:#fff; }
.rd-pc__specs--on .rd-pc__sidek--guess{ background:none; border:1px dashed var(--line-2); color:var(--text-soft); font-weight:500; cursor:help; }
.rd-glq{ display:inline-flex; border:1px solid var(--line-2); border-radius:999px; overflow:hidden; background:#fff; }
.rd-glq button{ display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 13px; border:0; background:none; font-family:var(--font-body); font-size:13px; font-weight:500; color:var(--text-soft); cursor:pointer; white-space:nowrap; }
.rd-glq button + button{ border-left:1px solid var(--line); }
.rd-glq button b{ font-weight:600; color:var(--text-faint); font-size:12px; }
.rd-glq button:hover{ color:var(--ink); }
.rd-glq button.is-on{ background:var(--ink); color:#fff; }
.rd-glq button.is-on b{ color:var(--brass); }
.rd-glq button.is-on .rd-car__gl{ fill:rgba(255,255,255,.16); stroke:rgba(255,255,255,.55); }
.rd-glq button.is-on .rd-car--gl .rd-car__w.is-on{ fill:var(--brass); }
.rd-glen{ min-width:220px; max-height:320px; overflow-y:auto; }
.rd-glen .rd-dd__radio{ font-variant-numeric:tabular-nums; flex:none; }
@media (max-width:700px){ .rd-glq button{ height:36px; padding:0 10px; } }


/* ===== cart (/orders, templates/orders/index.tpl + js/rd-cartpage.js) and "Данни и доставка" (/orders/checkout,
   templates/orders/checkout.tpl + js/rd-checkout.js): .rd-ck = shared by the two steps, .rd-cp = the cart page only ===== */
.rd-ck{ max-width:1110px; margin:0 auto; padding:6px 0 10px; font-family:var(--font-body); color:var(--text); }
.rd-ck__steps{ display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin:8px 0 4px; font-size:13px; color:var(--text-faint); }
.rd-ck__steps span, .rd-ck__steps a{ display:inline-flex; align-items:center; gap:7px; color:inherit; text-decoration:none; }
.rd-ck__steps i{ width:22px; height:22px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; font:600 11px var(--font-head); font-style:normal; background:#fff; }
.rd-ck__steps em{ width:26px; height:1px; background:var(--line-2); }
.rd-ck__steps .is-on{ color:var(--ink); font-weight:600; }
.rd-ck__steps .is-on i{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-ck__steps .is-done{ color:var(--text-soft); }
.rd-ck__steps .is-done:hover{ color:var(--ink); }
.rd-ck__steps .is-done i{ background:var(--green-soft); border-color:var(--green-soft); color:#11694A; }
.rd-ck__h1{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:6px 0 14px; }
.rd-ck__h1 h1{ font:600 30px/1.15 var(--font-head); margin:0; color:var(--ink); }
.rd-ck__h1 p{ margin:0; color:var(--text-faint); }
.rd-ck__lay{ display:grid; grid-template-columns:minmax(0,1fr) 350px; gap:18px; align-items:start; }
.rd-ck__lay[hidden]{ display:none; }
.rd-ck__col{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.rd-ck.is-busy .rd-ck__lay{ opacity:.6; pointer-events:none; transition:opacity .15s; }

/* summary */
.rd-ck__sum{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; position:sticky; top:84px; display:flex; flex-direction:column; gap:12px; }
.rd-ck__sum h2{ font:600 18px var(--font-head); margin:0; color:var(--ink); }
.rd-ck__sh{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.rd-ck__sh a{ font-size:12.5px; color:var(--brass-deep); font-weight:500; }
.rd-ck__rows{ display:flex; flex-direction:column; gap:7px; font-size:13.5px; }
.rd-ck__rows--top{ border-top:1px solid var(--line); padding-top:12px; }
.rd-ck__rows > div{ display:flex; justify-content:space-between; gap:10px; }
.rd-ck__rows > div[hidden]{ display:none; }
.rd-ck__rows span{ color:var(--text-soft); }
.rd-ck__rows span em{ font-style:normal; font-family:ui-monospace,Consolas,monospace; font-size:12px; }
.rd-ck__rows b{ font-weight:600; font-variant-numeric:tabular-nums; }
.rd-ck__save b{ color:var(--green); }
.rd-ck__ship b{ font-weight:500; color:var(--text-soft); font-size:12.5px; text-align:right; }
/* rd-ship: the Econt price of the chosen office / city — as visible as the other amounts */
.rd-ck__ship.is-priced b{ font-weight:700; color:var(--ink); font-size:15px; }
.rd-ck__rows > .rd-ck__shipn{ margin-top:-4px; font-size:12px; color:var(--text-faint); justify-content:flex-end; text-align:right; }
.rd-ck__shipn[hidden]{ display:none; }
.rd-ck__totship{ margin-top:-6px; text-align:right; font-size:13px; color:var(--text-soft); }
.rd-ck__totship[hidden]{ display:none; }
.rd-ck__totship b{ color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums; }
.rd-ck__tot{ display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--line); padding-top:12px; }
.rd-ck__tot span{ font-weight:600; }
.rd-ck__tot b{ font:600 28px var(--font-head); color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-ck__go{ height:52px; width:100%; border:0; border-radius:12px; background:var(--brass); color:var(--ink); font:600 15px var(--font-head); letter-spacing:.04em; text-transform:uppercase; display:flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; cursor:pointer; }
.rd-ck__go:hover{ background:#d8ab52; color:var(--ink); text-decoration:none; }
.rd-ck__go small{ font:500 12px var(--font-body); text-transform:none; letter-spacing:0; opacity:.8; }
.rd-ck__cardonly{ background:#E4EEFB; color:#174F94; border-radius:10px; padding:9px 12px; font-size:12.5px; }
.rd-ck__cardonly[hidden]{ display:none; }
.rd-ck__how{ border-top:1px solid var(--line); padding-top:12px; display:flex; flex-direction:column; gap:8px; font-size:12.5px; color:var(--text-soft); }
.rd-ck__how > div{ display:flex; gap:9px; align-items:flex-start; }
.rd-ck__how svg{ width:18px; height:18px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; margin-top:1px; }
.rd-ck__how b{ color:var(--ink); font-weight:600; }
.rd-ck__after{ margin:0; font-size:12.5px; color:var(--text-soft); }
.rd-ck__after b{ color:var(--ink); }
.rd-ck__terms{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; color:var(--text-soft); cursor:pointer; margin:0; }
.rd-ck__terms input{ width:18px; height:18px; accent-color:var(--ink); flex:none; margin-top:1px; }
.rd-ck__terms a{ text-decoration:underline; }
.rd-ck__terms.is-bad, .rd-ck__terms.is-bad a{ color:#C62F30; }
.rd-ck__mini{ display:flex; flex-direction:column; gap:10px; max-height:250px; overflow-y:auto; padding:6px 6px 0 0; }
.rd-ck__mi{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; align-items:center; font-size:12.5px; }
.rd-ck__miimg{ width:44px; height:44px; border:1px solid var(--line); border-radius:8px; display:grid; place-items:center; position:relative; background:#fff; }
.rd-ck__miimg img{ max-width:38px; max-height:38px; object-fit:contain; }
.rd-ck__miimg em{ position:absolute; right:-6px; top:-6px; background:var(--ink); color:#fff; border-radius:999px; min-width:18px; height:18px; display:grid; place-items:center; font:600 10.5px var(--font-head); font-style:normal; padding:0 4px; }
.rd-ck__mi b{ display:block; font-weight:500; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-ck__mi span{ color:var(--text-faint); display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-ck__mi strong{ font:600 14px var(--font-head); color:var(--ink); font-variant-numeric:tabular-nums; }

/* checkout: sections and fields */
.rd-ck__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; }
.rd-ck__bh{ display:flex; align-items:center; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.rd-ck__bh i{ width:26px; height:26px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font:600 13px var(--font-head); font-style:normal; flex:none; }
.rd-ck__bh h2{ font:600 18px var(--font-head); margin:0; color:var(--ink); }
.rd-ck__bh small{ color:var(--text-faint); font-size:12.5px; }
.rd-ck__fr{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-ck__f{ display:flex; flex-direction:column; gap:4px; min-width:0; position:relative; }
.rd-ck__f label{ font-size:12.5px; font-weight:500; color:var(--text-soft); margin:0; }
.rd-ck__f label em{ font-style:normal; color:var(--text-faint); font-weight:400; }
.rd-ck__f input, .rd-ck__f textarea{ height:44px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; background:#fff; width:100%; min-width:0; font:inherit; color:inherit; }
.rd-ck__f textarea{ height:auto; padding:10px 12px; resize:vertical; }
.rd-ck__f input:focus, .rd-ck__f textarea:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(4,24,43,.08); }
.rd-ck__f .select2-container{ width:100% !important; }
.rd-ck__f .select2-container .select2-selection--single{ height:44px; border:1px solid var(--line-2); border-radius:10px; background:#fff; }
.rd-ck__f .select2-container .select2-selection__rendered{ line-height:42px; height:42px; padding:0 30px 0 12px; font-size:14px; color:var(--text); }      /* the theme pads it for its own taller field */
.rd-ck__f .select2-container .select2-selection--single{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235B6472' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; }
.rd-ck__f .select2-container .select2-selection__arrow{ height:42px; }
.rd-ck__f select.form-control{ height:44px; border-radius:10px; border:1px solid var(--line-2); }
.rd-ck__f.is-bad input, .rd-ck__f.is-bad .select2-selection--single, .rd-ck__f.is-bad select{ border-color:#C62F30 !important; }
.rd-ck__f.is-ok input{ border-color:var(--green); }
.rd-ck__err{ color:#C62F30; font-size:12px; display:none; }
.rd-ck__f.is-bad .rd-ck__err{ display:block; }
.rd-ck__hint{ color:var(--text-faint); font-size:12px; }
.rd-ck__f.is-bad .rd-ck__hint{ display:none; }
.rd-ck__f .btn-loading{ position:absolute; right:34px; top:26px; width:28px; height:28px; min-height:0; padding:0; background:transparent !important; border:0; pointer-events:none; }
.rd-ck__opts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rd-ck__opts--2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.rd-ck__opt{ position:relative; border:1px solid var(--line-2); border-radius:var(--radius); padding:12px 12px 12px 40px; cursor:pointer; display:block; background:#fff; margin:0; }
.rd-ck__opt input{ position:absolute; left:12px; top:14px; width:18px; height:18px; accent-color:var(--ink); }
.rd-ck__opt b{ display:block; color:var(--ink); font-weight:600; }
.rd-ck__opt span{ font-size:12.5px; color:var(--text-soft); }
.rd-ck__opt.is-on{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); background:#FAFBFC; }
.rd-ck__sub{ margin-top:12px; padding-top:12px; border-top:1px dashed var(--line-2); }
.rd-ck__sub[hidden]{ display:none; }
.rd-ck__last{ display:flex; gap:10px; align-items:center; background:var(--green-soft); color:#0E5B3F; border-radius:10px; padding:9px 12px; font-size:13px; margin-bottom:12px; flex-wrap:wrap; }
.rd-ck__last[hidden]{ display:none; }
.rd-ck__last button{ margin-left:auto; border:1px solid #9BD3BD; background:#fff; border-radius:999px; height:30px; padding:0 12px; font-size:12.5px; font-weight:600; color:#0E5B3F; cursor:pointer; }
.rd-ck__pick{ display:flex; gap:12px; align-items:flex-start; font-size:13px; color:var(--text-soft); }
.rd-ck__pick svg{ width:22px; height:22px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-ck__pick b{ color:var(--ink); display:block; }
.rd-ck__box .rd-ck__cardonly{ margin-bottom:10px; }
.rd-ck__tgl{ display:flex; align-items:center; gap:10px; cursor:pointer; font-weight:500; margin:0; }
.rd-ck__tgl input{ width:18px; height:18px; accent-color:var(--ink); }
.rd-ck__more{ margin-top:12px; }
.rd-ck__more summary{ cursor:pointer; color:var(--brass-deep); font-weight:500; font-size:13px; list-style:none; }
.rd-ck__more summary::-webkit-details-marker{ display:none; }
.rd-ck__more .rd-ck__f{ margin-top:10px; }
/* guest */
.rd-ck__who{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-ck__whoc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; display:flex; flex-direction:column; gap:10px; margin:0; }
.rd-ck__whoc.is-main{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.rd-ck__whoc h2{ font:600 19px var(--font-head); margin:0; color:var(--ink); }
.rd-ck__whoc p{ margin:0; color:var(--text-soft); font-size:13px; }
.rd-ck__whoc ul{ margin:0 0 2px; padding-left:18px; color:var(--text-soft); font-size:13px; }
.rd-ck__soc{ display:flex; gap:8px; flex-wrap:wrap; }
.rd-ck__soc a{ flex:1; min-width:130px; height:42px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-weight:500; display:flex; align-items:center; justify-content:center; gap:8px; color:var(--text); text-decoration:none; font-size:13.5px; }
.rd-ck__soc a:hover{ border-color:var(--ink); color:var(--ink); }
.rd-ck__msum{ display:none; }
.rd-ck__mbar{ display:none; }

/* ----- the cart page ----- */
.rd-cp__arr{ background:var(--green-soft); border-radius:var(--radius); padding:12px 16px; display:flex; gap:12px; align-items:center; color:#0E5B3F; }
.rd-cp__arr[hidden]{ display:none; }
.rd-cp__arr svg{ flex:none; width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-cp__arr b{ display:block; font:600 16px var(--font-head); color:#0B4A33; }
.rd-cp__arr span{ font-size:13px; }
.rd-cp__arr.is-slow{ background:#FFF1D6; color:#8A5A00; }
.rd-cp__arr.is-slow b{ color:#6B4500; }
.rd-cp__grp{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-cp__gh{ display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--line); background:#FAFBFC; flex-wrap:wrap; }
.rd-cp__gh svg{ width:22px; height:22px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-cp__gh b{ font:600 15px var(--font-head); color:var(--ink); }
.rd-cp__gh small{ color:var(--text-faint); font-size:12px; }
.rd-cp__gh a{ margin-left:auto; font-size:12.5px; color:var(--brass-deep); font-weight:500; text-decoration:none; }
.rd-cp__gh a:hover{ text-decoration:underline; }
.rd-cp__grp--ask .rd-cp__gh{ background:#FFF8E8; }
.rd-cp__ln{ display:grid; grid-template-columns:84px minmax(0,1fr) auto; gap:14px; padding:14px 16px; border-bottom:1px solid var(--line); }
.rd-cp__ln:last-child{ border-bottom:0; }
.rd-cp__img{ width:84px; height:84px; border:1px solid var(--line); border-radius:10px; display:grid; place-items:center; background:#fff; }
.rd-cp__img img{ max-width:74px; max-height:74px; object-fit:contain; }
.rd-cp__lb{ min-width:0; }
.rd-cp__br{ display:block; font:600 11px var(--font-head); letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-cp__t{ font-weight:500; line-height:1.3; text-decoration:none; display:block; color:var(--text); }
.rd-cp__t:hover{ text-decoration:underline; color:var(--ink); }
.rd-cp__c{ font:500 11.5px ui-monospace,Consolas,monospace; color:var(--text-faint); }
.rd-cp__tags{ display:flex; gap:5px; flex-wrap:wrap; margin-top:6px; }
.rd-cp__tag{ border-radius:6px; padding:2px 7px; font-size:11.5px; font-weight:500; }
.rd-cp__tag--fit{ background:var(--green-soft); color:#11694A; }
.rd-cp__tag--side{ background:var(--brass-soft); color:var(--ink); font-weight:600; }
.rd-cp__tag--eta{ background:var(--paper); color:var(--text-soft); }
.rd-cp__tag--eta.is-slow{ background:#FFF1D6; color:#8A5A00; }
.rd-cp__tag--card{ background:#E4EEFB; color:#174F94; }
.rd-cp__lr{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:120px; }
.rd-cp__p{ text-align:right; }
.rd-cp__p b{ font:600 19px var(--font-head); color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-cp__p s{ display:block; font-size:12px; color:var(--text-faint); }
.rd-cp__u{ font-size:11.5px; color:var(--text-faint); font-variant-numeric:tabular-nums; }
.rd-cp__qty{ display:flex; align-items:center; border:1px solid var(--line-2); border-radius:10px; height:36px; background:#fff; }
.rd-cp__qty button{ width:30px; height:100%; border:0; background:none; color:var(--text-soft); font-size:16px; cursor:pointer; }
.rd-cp__qty button:disabled{ opacity:.35; cursor:default; }
.rd-cp__qty span{ min-width:22px; text-align:center; font-weight:600; }
.rd-cp__rm{ border:0; background:none; color:var(--text-faint); font-size:12.5px; padding:0; text-decoration:underline; cursor:pointer; }
.rd-cp__rm:hover{ color:#C62F30; }
.rd-cp__undo{ padding:12px 16px; background:var(--paper); font-size:13px; color:var(--text-soft); display:flex; gap:10px; align-items:center; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.rd-cp__undo button{ border:0; background:none; color:var(--brass-deep); font-weight:600; text-decoration:underline; padding:0; cursor:pointer; }
#rdCpUndoBox{ margin-bottom:14px; }
#rdCpUndoBox .rd-cp__undo{ border-bottom:0; }
.rd-cp__addons{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; }
.rd-cp__addons[hidden]{ display:none; }
.rd-cp__ah{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.rd-cp__ah h2{ font:600 18px var(--font-head); margin:0; color:var(--ink); }
.rd-cp__ah p{ margin:0; color:var(--text-faint); font-size:12.5px; }
.rd-cp__agrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-cp__agrid .rd-pc__specs:not(.rd-pc__specs--on){ display:none; }
.rd-cp__agrid .rd-pc__save{ display:none; }
.rd-ctop__why.rd-cp__why{ background:#E4EEFB; color:#174F94; }
.rd-cp__help{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:14px 16px; font-size:13px; }
.rd-cp__help b{ display:block; font:600 15px var(--font-head); margin-bottom:2px; }
.rd-cp__help span{ opacity:.75; }
.rd-cp__help a{ display:inline-block; margin-top:8px; color:var(--brass); font-weight:600; text-decoration:none; }
/* rd-miss: "did you miss something?" — the compact add-ons beside the summary (in place of the VIN banner) */
.rd-cp__miss{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; display:flex; flex-direction:column; gap:10px; }
.rd-cp__miss[hidden]{ display:none; }
.rd-cp__mh{ display:flex; flex-direction:column; gap:2px; }
.rd-cp__mh small{ font:600 11px/1.2 var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--brass); }
.rd-cp__mh h2{ margin:0; font:600 18px var(--font-head); color:var(--ink); }
.rd-cp__mh p{ margin:0; font-size:12.5px; color:var(--text-soft); }
.rd-cp__mrow{ display:flex; gap:10px; align-items:center; border-top:1px solid var(--line); padding-top:10px; }
.rd-cp__mimg{ width:48px; height:48px; flex:none; border-radius:10px; background:#F3F5F7; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.rd-cp__mimg img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-cp__mb{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.rd-cp__mt{ font-size:13.5px; font-weight:600; color:var(--ink); text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-cp__mt:hover{ color:var(--brass-deep); }
.rd-cp__mm{ font-size:12px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-cp__md{ font-size:12px; color:var(--text-soft); }
.rd-cp__md--ok,.rd-cp__md--own{ color:#1A8A55; }
.rd-cp__mr{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex:none; }
.rd-cp__mr b{ font:600 16px var(--font-head); color:var(--ink); }
.rd-cp__madd{ height:32px; padding:0 12px; border:1.5px solid var(--ink); border-radius:999px; background:var(--surface); color:var(--ink); font:600 12.5px var(--font-body); cursor:pointer; white-space:nowrap; }
.rd-cp__madd:hover{ background:var(--ink); color:#fff; }
.rd-cp__madd.rd-add--done{ background:var(--ink); color:#fff; }
.rd-cp__mmore{ font-size:13px; font-weight:600; color:var(--brass-deep); text-decoration:none; }
/* rd-trust: the cut-off + three assurances, shown while there is nothing to suggest */
.rd-cp__trust{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:16px; display:flex; flex-direction:column; gap:14px; }
.rd-cp__trust[hidden]{ display:none; }
.rd-cp__tt{ display:flex; align-items:center; gap:12px; }
.rd-cp__tt > span:last-child{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.rd-cp__tt b{ font:600 17px/1.2 var(--font-head); }
.rd-cp__tt small{ font-size:13px; color:#B9C4D0; }
.rd-cp__tt small b{ font:700 13px var(--font-body); color:#E2B45A; }
.rd-cp__tclock{ width:44px; height:44px; flex:none; border-radius:50%; background:#10304F; display:flex; align-items:center; justify-content:center; }
.rd-cp__tclock svg{ width:22px; height:22px; fill:none; stroke:#E2B45A; stroke-width:2; stroke-linecap:round; }
.rd-cp__tg{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; border-top:1px solid #10304F; padding-top:12px; }
.rd-cp__tg > div{ display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.rd-cp__tg svg{ width:22px; height:22px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rd-cp__tg span{ font-size:12px; line-height:1.3; color:#DDE3EA; display:flex; flex-direction:column; }
.rd-cp__tg span b{ color:#fff; }
.rd-cp__empty{ background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--radius-lg); padding:26px 20px; display:flex; gap:12px 18px; align-items:center; flex-wrap:wrap; }
.rd-cp__empty[hidden]{ display:none; }
.rd-cp__empty > div{ flex:1; min-width:240px; }
.rd-cp__empty b{ font:600 20px var(--font-head); color:var(--ink); display:block; }
.rd-cp__empty p{ margin:2px 0 0; color:var(--text-soft); }
.rd-cp__ebtn{ height:42px; padding:0 16px; border-radius:999px; display:inline-grid; place-items:center; text-decoration:none; font-weight:600; font-size:13px; border:1px solid var(--line-2); background:#fff; color:var(--text); }
.rd-cp__ebtn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-cp__ebtn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-cp__ebtn--main:hover{ color:#fff; background:#0b2742; }

@media (max-width:991px){
  .rd-ck__lay{ grid-template-columns:1fr; }
  .rd-ck__sum{ position:static; }
  .rd-ck__who{ grid-template-columns:1fr; }
  .rd-ck__opts{ grid-template-columns:1fr; }
  .rd-cp__agrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-ck__msum{ display:flex; justify-content:space-between; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px 14px; margin-bottom:14px; font-size:13px; }
  .rd-ck__msum b{ font:600 17px var(--font-head); color:var(--ink); }
  .rd-ck__msum a{ color:var(--brass-deep); font-weight:500; }
  .rd-ck__mbar{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:40; background:#fff; border-top:1px solid var(--line-2); padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); align-items:center; gap:12px; box-shadow:0 -6px 20px rgba(4,24,43,.08); }
  .rd-ck__mbar[hidden]{ display:none; }
  .rd-ck__mbar > div{ flex:1; min-width:0; }
  .rd-ck__mbar b{ font:600 20px var(--font-head); color:var(--ink); display:block; line-height:1.1; font-variant-numeric:tabular-nums; }
  .rd-ck__mbar small{ color:var(--text-faint); font-size:11.5px; }
  .rd-ck__mbar a, .rd-ck__mbar button{ height:44px; padding:0 20px; border-radius:12px; border:0; background:var(--brass); color:var(--ink); font:600 14px var(--font-head); letter-spacing:.04em; text-transform:uppercase; display:grid; place-items:center; text-decoration:none; cursor:pointer; }
  .rd-ck{ padding-bottom:70px; }
}
@media (max-width:560px){
  .rd-ck__fr, .rd-ck__opts--2{ grid-template-columns:1fr; }
  .rd-ck__h1 h1{ font-size:24px; }
  .rd-cp__ln{ grid-template-columns:64px minmax(0,1fr); }
  .rd-cp__img{ width:64px; height:64px; }
  .rd-cp__img img{ max-width:56px; max-height:56px; }
  .rd-cp__lr{ grid-column:1/-1; flex-direction:row; align-items:center; justify-content:space-between; min-width:0; flex-wrap:wrap; }
  .rd-cp__p{ text-align:left; }
  .rd-cp__p s{ display:inline; margin-left:6px; }
  .rd-cp__agrid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-inline:-16px; padding:0 16px 6px; }
  .rd-cp__agrid .rd-ctop__cell{ flex:0 0 78%; scroll-snap-align:start; }
}


/* ===== the seven information pages (templates/static/index.tpl + js/rd-static.js): contacts, about, terms, privacy,
   delivery, payment, returns. One skeleton (.rd-st__head, .rd-st__box, .rd-st__rel), three ways of laying out the text:
   a document with a table of contents, cards, or an article. ===== */
.rd-st{ max-width:1110px; margin:0 auto; padding:6px 0 10px; display:flex; flex-direction:column; gap:14px; }
.rd-st__head{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; display:flex; gap:16px 24px; flex-wrap:wrap; align-items:flex-start; }
.rd-st__ht{ flex:1; min-width:260px; }
.rd-st__eb{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-deep); }
.rd-st__head h1{ font:600 30px/1.15 var(--font-head); margin:2px 0 6px; color:var(--ink); }
.rd-st__head > .rd-st__ht > p{ margin:0; color:var(--text-soft); max-width:62ch; }
.rd-st__hm{ display:flex; flex-direction:column; gap:2px; font-size:12.5px; color:var(--text-faint); text-align:right; }
.rd-st__hm b{ color:var(--ink); font-weight:600; font-size:14px; }
.rd-st__lead{ color:var(--text-soft); max-width:70ch; }
.rd-st__lead p{ margin:0 0 8px; }
.rd-st__lead p:last-child{ margin-bottom:0; }
.rd-st__lead--after{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px 18px; max-width:none; }
.rd-st__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 20px; }
.rd-st__box h2{ font:600 18px var(--font-head); margin:0 0 10px; color:var(--ink); }
.rd-st__box > p{ margin:0 0 8px; color:var(--text-soft); max-width:70ch; }
.rd-st__sub{ color:var(--text-faint) !important; font-size:13px; }
.rd-st__two{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.rd-st__art{ display:flex; flex-direction:column; gap:14px; }

/* the text itself keeps the site typography, only calmer */
.rd-st .typography{ color:var(--text-soft); }
.rd-st .typography p{ margin:0 0 10px; max-width:74ch; }
.rd-st .typography p:last-child{ margin-bottom:0; }
.rd-st .typography ul, .rd-st .typography ol{ margin:0 0 10px; padding-left:20px; }
.rd-st .typography li{ margin-bottom:5px; }
.rd-st .typography h3{ font:600 15px var(--font-head); color:var(--ink); margin:14px 0 6px; }
.rd-st .typography strong, .rd-st .typography b{ color:var(--ink); }
.rd-st .typography a{ color:var(--brass-deep); text-decoration:underline; }
.rd-st .typography hr{ border:0; border-top:1px solid var(--line); margin:12px 0; }
.rd-st .typography img{ max-width:100%; height:auto; }
/* video and embeds pasted into a text: the inline width they carried is stripped with the rest of the editor's styling */
.rd-st .typography video{ display:block; width:100%; max-width:100%; height:auto; aspect-ratio:16/9; border-radius:var(--radius); background:#000; }
.rd-st__mini:has(video){ grid-column:1/-1; }      /* a card that ends with a film gets the whole row */
.rd-st .typography iframe{ display:block; width:100%; max-width:100%; aspect-ratio:16/9; height:auto; border:0; border-radius:var(--radius); }
.rd-st .typography p:has(> video){ margin-bottom:0; }
.rd-st .typography table{ width:100%; border-collapse:collapse; }
.rd-st .typography td, .rd-st .typography th{ border:1px solid var(--line); padding:7px 9px; }

/* contacts */
.rd-st__cc{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-st__c{ display:flex; flex-direction:column; gap:3px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; text-decoration:none; color:var(--text); }
.rd-st__c:hover{ border-color:var(--ink); text-decoration:none; color:var(--text); }
.rd-st__c svg{ width:24px; height:24px; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; margin-bottom:4px; }
.rd-st__c small{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-deep); }
.rd-st__c b{ font:600 19px var(--font-head); color:var(--ink); }
.rd-st__c span{ font-size:12.5px; color:var(--text-soft); }
.rd-st__stat{ display:inline-flex; align-items:center; gap:7px; border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:600; background:var(--paper); color:var(--text-soft); }
.rd-st__stat.is-open{ background:var(--green-soft); color:#0E5B3F; }
.rd-st__stat.is-closed{ background:#FBE4E4; color:#9F2324; }
.rd-st__stat.is-open::before, .rd-st__stat.is-closed::before{ content:""; width:8px; height:8px; border-radius:50%; background:currentColor; }
.rd-st__hlist{ margin-top:10px; }
.rd-st__hrow{ display:flex; justify-content:space-between; gap:16px; font-size:13px; padding:4px 0; border-bottom:1px dashed var(--line); color:var(--text-soft); }
.rd-st__hrow:last-child{ border-bottom:0; }
.rd-st__hrow.is-now{ font-weight:600; color:var(--ink); }
.rd-st__kv{ display:inline-flex; gap:7px; align-items:center; font-size:13px; color:var(--text-soft); }
.rd-st__kv b{ font-family:ui-monospace,Consolas,monospace; font-weight:500; color:var(--ink); }
.rd-st__copy{ border:1px solid var(--line-2); background:#fff; border-radius:6px; width:26px; height:26px; display:grid; place-items:center; font-size:12px; cursor:pointer; color:var(--text-soft); }
.rd-st__copy.is-done{ background:var(--green-soft); border-color:#9BD3BD; color:#0E5B3F; }
.rd-st__tools{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.rd-st__tools a, .rd-st__tools button{ height:36px; padding:0 13px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:12.5px; font-weight:500; display:inline-flex; align-items:center; text-decoration:none; color:var(--text); cursor:pointer; }
.rd-st__tools a:hover, .rd-st__tools button:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-st__map{ border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--paper); }
.rd-st__map iframe{ display:block; width:100%; height:340px; border:0; }

/* forms */
.rd-st__fr{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-st__f{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.rd-st__f--wide{ grid-column:1/-1; }
.rd-st__f label, #returnForm .form-group label{ font-size:12.5px; font-weight:500; color:var(--text-soft); margin:0; }
.rd-st__f input, .rd-st__f select, .rd-st__f textarea,
#returnForm .form-group input, #returnForm .form-group select, #returnForm .form-group textarea{ height:44px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; background:#fff; width:100%; min-width:0; font:inherit; color:inherit; }
.rd-st__f textarea, #returnForm .form-group textarea{ height:auto; padding:10px 12px; resize:vertical; }
.rd-st__f input:focus, .rd-st__f select:focus, .rd-st__f textarea:focus,
#returnForm .form-group input:focus, #returnForm .form-group select:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(4,24,43,.08); }
.rd-st__f.is-bad input, .rd-st__f.is-bad select, .rd-st__f.is-bad textarea{ border-color:#C62F30; }
.rd-st__err{ color:#C62F30; font-size:12px; display:none; }
.rd-st__f.is-bad .rd-st__err{ display:block; }
.rd-st__hint{ color:var(--text-faint); font-size:12px; }
.rd-st__f.is-bad .rd-st__hint{ display:none; }
.rd-st__go{ height:48px; border:0; border-radius:12px; background:var(--brass); color:var(--ink); font-family:var(--font-head); font-size:14px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; padding:0 22px; display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; margin-top:12px; }
.rd-st__go:hover{ background:#d8ab52; }
.rd-st__go:disabled{ opacity:.6; cursor:default; }
.rd-st__go--ghost{ background:#fff; border:1px solid var(--ink); color:var(--ink); }
.rd-st__go--ghost:hover{ background:var(--ink); color:#fff; }
.rd-st__msg{ border-radius:10px; padding:10px 12px; font-size:13px; margin-top:12px; }
.rd-st__msg.is-ok{ background:var(--green-soft); color:#0B4A33; }
.rd-st__msg.is-bad{ background:#FBE4E4; color:#9F2324; }
.rd-st__jump{ background:#E4EEFB; color:#174F94; border-radius:10px; padding:9px 12px; font-size:12.5px; margin-top:10px; }
.rd-st__jump[hidden]{ display:none; }
.rd-st__jump a{ font-weight:600; color:#174F94; text-decoration:underline; }

/* document with a table of contents */
.rd-st__doc{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:14px; align-items:start; }
.rd-st__toc{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:14px; position:sticky; top:84px; }
.rd-st__toc h2{ font:600 11px var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin:0 0 8px; }
.rd-st__tsearch input{ width:100%; height:36px; border:1px solid var(--line-2); border-radius:8px; padding:0 10px; font-size:13px; }
.rd-st__found{ display:block; font-size:11.5px; color:var(--text-faint); min-height:15px; padding:2px 2px 0; }
.rd-st__toc ol{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:1px; max-height:min(52vh,420px); overflow-y:auto; }
.rd-st__toc a{ display:block; padding:6px 9px; border-radius:7px; font-size:13px; color:var(--text-soft); text-decoration:none; border-left:2px solid transparent; }
.rd-st__toc a em{ font-style:normal; font-variant-numeric:tabular-nums; color:var(--text-faint); }
.rd-st__toc a:hover{ background:var(--paper); color:var(--ink); text-decoration:none; }
.rd-st__toc a.is-on{ background:var(--brass-soft); color:var(--ink); font-weight:600; border-left-color:var(--brass); }
.rd-st__toc a.is-on em{ color:var(--brass-deep); }
.rd-st__toc a.is-hit{ color:var(--ink); font-weight:600; }
.rd-st__toc a.is-dim{ opacity:.4; }
.rd-st__docb{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 24px; }
.rd-st__docb section{ padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--line); scroll-margin-top:100px; }
.rd-st__docb section:last-child{ border-bottom:0; margin-bottom:0; padding-bottom:0; }
.rd-st__docb section.is-dim{ opacity:.45; }
.rd-st__docb h2{ font:600 19px var(--font-head); margin:0 0 8px; color:var(--ink); display:flex; gap:10px; align-items:baseline; }
.rd-st__docb h2 em{ font-style:normal; font-family:ui-monospace,Consolas,monospace; font-size:12px; font-weight:500; color:var(--brass-deep); flex:none; }
.rd-st__anchor{ margin-left:auto; font-size:12px; color:var(--text-faint); opacity:0; text-decoration:none; }
.rd-st__docb h2:hover .rd-st__anchor, .rd-st__anchor:focus{ opacity:1; }
.rd-st mark{ background:var(--brass-soft); color:var(--ink); border-radius:3px; padding:0 2px; }

/* cards (payment) and the grid inside an article section (about) */
.rd-st__cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.rd-st__card h2{ font-size:17px; }
.rd-st__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.rd-st__mini{ border:1px solid var(--line); border-radius:var(--radius); padding:14px; }
.rd-st__mini b{ display:block; font:600 14px var(--font-head); color:var(--ink); margin-bottom:5px; }
.rd-st__mini .typography{ font-size:13px; }
.rd-st__mini .typography p{ max-width:none; }

/* steps and the highlighted line */
.rd-st__steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; counter-reset:rdst; }
.rd-st__step{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; position:relative; overflow:hidden; }
.rd-st__step::before{ counter-increment:rdst; content:counter(rdst); position:absolute; right:12px; top:4px; font:600 40px var(--font-head); color:var(--brass-soft); line-height:1; }
.rd-st__step b{ display:block; font:600 15px var(--font-head); color:var(--ink); margin-bottom:4px; position:relative; }
.rd-st__step span{ font-size:13px; color:var(--text-soft); position:relative; }
.rd-st__hl{ background:var(--ink); color:#fff; border-radius:var(--radius); padding:12px 16px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.rd-st__hl[hidden]{ display:none; }
.rd-st__hl b{ font:600 16px var(--font-head); color:var(--brass); }
.rd-st__hl span{ font-size:13px; opacity:.85; flex:1; min-width:220px; }

/* the return form rows keep working with the ones addPR() adds */
/* one product = one line. The column names are written once above the rows (js/rd-static.js adds them and marks the form
   .rd-rtab); the labels of each field stay in the markup for screen readers. Choosing "Рекламация" hides the reason
   (func.js activateRekl) and opens the description across the whole width. */
.rd-st__rhead{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.9fr) 84px minmax(0,1fr) minmax(0,1.2fr) 40px; gap:12px; padding:2px 0 8px; border-bottom:1px solid var(--line); }
.rd-st__rhead span{ font-size:12.5px; font-weight:600; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#returnForm .form_prod_return{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.9fr) 84px minmax(0,1fr) minmax(0,1.2fr) 40px; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); margin:0; }
#returnForm .form_prod_return:last-child{ border-bottom:0; }
#returnForm .form-group{ display:flex; flex-direction:column; gap:4px; min-width:0; margin:0; }
#returnForm .form_number{ grid-column:1; }
#returnForm .form_prod{ grid-column:2; }
#returnForm .form_quantity{ grid-column:3; }
#returnForm .form_type{ grid-column:4; }
#returnForm .form_reason{ grid-column:5; }
#returnForm .form_info{ grid-column:1/-1; }
#returnForm .form_info:has(textarea[style*="none"]){ display:none; }
#returnForm .form_info textarea{ min-height:84px; }
#returnForm.rd-rtab .form-group label{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
#returnForm .btn_rem_row{ grid-column:6; justify-self:center; width:36px; height:36px; padding:0; border:0; border-radius:9px; background:transparent; color:var(--text-faint); font-size:0; display:grid; place-items:center; cursor:pointer; transition:background .15s, color .15s; }
#returnForm .btn_rem_row::before{ content:"×"; font-size:19px; line-height:1; }
#returnForm .btn_rem_row:hover{ background:#FBE4E4; color:#C62F30; }
/* root/compress/new/style.php is printed inline on every page and gives these same classes fixed pixel widths with
   !important, a yellow remove button pushed 26px down and floats on the two buttons. It is shared with an administration
   template, so it is left alone and only switched off inside this form, where the grid above decides the widths. */
#returnForm .form-group{ width:auto !important; max-width:none; padding-left:0 !important; padding-right:0 !important; }
#returnForm .form_prod_return{ margin-bottom:0 !important; }
#returnForm .btn_rem_row{ position:static; top:auto; margin:0; background:transparent; border-radius:9px; }
#returnForm .btn_form_add, #returnForm .btn_form_send{ float:none !important; }
#returnForm .btn_form_remove, #returnForm .rd-st__rbtns{ display:flex; gap:10px; flex-wrap:wrap; }
.rd-st__rbtns{ margin-top:4px; }

/* the other pages */
.rd-st__rel{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; padding-top:4px; }
.rd-st__rel > span{ font-size:12.5px; color:var(--text-faint); margin-right:2px; }
.rd-st__rel a{ border:1px solid var(--line); background:#fff; border-radius:999px; padding:8px 14px; font-size:13px; text-decoration:none; color:var(--text); }
.rd-st__rel a:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }

@media (max-width:991px){
  .rd-st__doc{ grid-template-columns:1fr; }
  .rd-st__toc{ position:static; }
  .rd-st__toc ol{ max-height:none; }
  .rd-st__two, .rd-st__cards{ grid-template-columns:1fr; }
  .rd-st__rhead{ display:none; }
  #returnForm.rd-rtab .form-group label{ position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto; }
  #returnForm .form_prod_return{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) 92px 40px; align-items:end; }
  #returnForm .form_type{ grid-column:1; }
  #returnForm .form_reason{ grid-column:2/4; }
  #returnForm .btn_rem_row{ grid-column:4; grid-row:2; justify-self:end; }
}
@media (max-width:640px){
  .rd-st__cc, .rd-st__steps, .rd-st__fr, .rd-st__grid{ grid-template-columns:1fr; }
  #returnForm .form_prod_return{ grid-template-columns:minmax(0,1fr) 92px; }
  #returnForm .btn_rem_row{ grid-row:auto; }
  #returnForm .form_number, #returnForm .form_prod, #returnForm .form_type, #returnForm .form_reason{ grid-column:1/-1; }
  #returnForm .form_quantity{ grid-column:1; }
  #returnForm .btn_rem_row{ grid-column:2; }
  .rd-st__head{ padding:16px; }
  .rd-st__head h1{ font-size:24px; }
  .rd-st__hm{ text-align:left; }
  .rd-st__box{ padding:16px; }
  .rd-st__docb{ padding:16px; }
  .rd-st__map iframe{ height:260px; }
}
@media print{
  .rd-st__toc, .rd-st__rel, .rd-st__hl, .site-header, .site-footer, .rd-st__tools{ display:none !important; }
  .rd-st__doc{ display:block; }
  .rd-st__docb{ border:0; padding:0; max-height:none; }
  .rd-st__docb section{ break-inside:avoid; }
}

/* ===== the profile (templates/user/*.tpl + js/rd-user.js): dashboard, garage, orders, my data, password ===== */
.rd-us{ display:grid; grid-template-columns:250px minmax(0,1fr); gap:16px; align-items:start; max-width:1110px; margin:0 auto; padding:6px 0 10px; }
.rd-us__main{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.rd-us__h1{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.rd-us__h1 h1{ font:600 26px/1.15 var(--font-head); margin:0; color:var(--ink); }
.rd-us__h1 p{ margin:0; color:var(--text-faint); font-size:13px; }

/* menu */
.rd-us__side{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; position:sticky; top:84px; }
.rd-us__me{ display:flex; gap:11px; align-items:center; padding:16px; border-bottom:1px solid var(--line); }
.rd-us__av{ width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--brass); display:grid; place-items:center; font:600 16px var(--font-head); flex:none; }
.rd-us__mt{ min-width:0; }
.rd-us__mt b{ display:block; font-weight:600; color:var(--ink); font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-us__mt span{ display:block; font-size:12px; color:var(--text-faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-us__side nav{ padding:8px; display:flex; flex-direction:column; gap:1px; }
.rd-us__side nav a{ display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:9px; text-decoration:none; color:var(--text-soft); font-size:13.5px; }
.rd-us__side nav a:hover{ background:var(--paper); color:var(--ink); text-decoration:none; }
.rd-us__side nav a.is-on{ background:var(--brass-soft); color:var(--ink); font-weight:600; }
.rd-us__side nav a em{ margin-left:auto; font-style:normal; font-size:11.5px; background:var(--ink); color:#fff; border-radius:999px; min-width:20px; height:18px; display:grid; place-items:center; padding:0 6px; }
.rd-us__side nav a.is-on em{ background:var(--brass); color:var(--ink); }
.rd-us__side svg{ width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-us__out{ border-top:1px solid var(--line); padding:10px 16px; display:flex; gap:10px; flex-wrap:wrap; }
.rd-us__out a{ color:var(--text-faint); font-size:12.5px; text-decoration:none; }
.rd-us__out a:hover{ color:var(--ink); text-decoration:underline; }

/* boxes, buttons, messages */
.rd-us__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 20px; }
.rd-us__box--narrow{ max-width:540px; }
.rd-us__box h2{ font:600 17px var(--font-head); margin:0 0 10px; color:var(--ink); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rd-us__box h2 a{ margin-left:auto; font-size:12.5px; color:var(--brass-deep); font-weight:500; text-decoration:none; }
.rd-us__box > p{ margin:0 0 8px; color:var(--text-soft); font-size:13.5px; max-width:70ch; }
.rd-us__box > p:last-child{ margin-bottom:0; }
.rd-us__acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rd-us__btn{ height:38px; padding:0 14px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; gap:7px; text-decoration:none; white-space:nowrap; cursor:pointer; }
.rd-us__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-us__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-us__btn--main:hover{ background:var(--ink-2, #0B2742); color:#fff; }
.rd-us__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-us__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
.rd-us__btn--big{ height:46px; padding:0 22px; font-family:var(--font-head); font-size:14px; letter-spacing:.04em; text-transform:uppercase; }
.rd-us__msg{ border-radius:10px; padding:10px 12px; font-size:13px; }
.rd-us__msg--ok{ background:var(--green-soft); color:#0B4A33; }
.rd-us__msg--bad{ background:#FBE4E4; color:#9F2324; }
.rd-us__empty{ border:1px dashed var(--line-2); border-radius:var(--radius); padding:22px; text-align:center; color:var(--text-faint); font-size:13px; }
.rd-us__empty[hidden]{ display:none; }
.rd-us__none{ color:var(--text-faint); font-size:13px; margin:0; }
.rd-us__pages{ display:flex; justify-content:center; }

/* dashboard */
.rd-us__att{ border-radius:var(--radius-lg); padding:14px 16px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.rd-us__att--warn{ background:#FFF1D6; color:#8A5A00; }
.rd-us__att--ok{ background:var(--green-soft); color:#0E5B3F; }
.rd-us__att > div{ flex:1; min-width:220px; }
.rd-us__att b{ display:block; font:600 15px var(--font-head); color:inherit; }
.rd-us__att span{ font-size:13px; }
.rd-us__att a{ border:1px solid currentColor; border-radius:999px; padding:7px 13px; font-size:12.5px; font-weight:600; text-decoration:none; white-space:nowrap; color:inherit; }
.rd-us__att a:hover{ text-decoration:none; color:inherit; }
.rd-us__tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-us__tile{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:14px 16px; display:flex; flex-direction:column; gap:1px; text-decoration:none; color:inherit; }
.rd-us__tile:hover{ border-color:var(--ink); text-decoration:none; color:inherit; }
.rd-us__tile small{ font:600 11px var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--brass-deep); }
.rd-us__tile b{ font:600 26px var(--font-head); color:var(--ink); line-height:1.1; }
.rd-us__tile span{ font-size:12.5px; color:var(--text-soft); }

/* an order */
.rd-us__list{ display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.rd-us__ord{ border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; display:flex; flex-direction:column; gap:9px; }
.rd-us__ord[hidden]{ display:none; }
.rd-us__oh{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.rd-us__on{ font:600 15px var(--font-head); color:var(--ink); }
.rd-us__od{ font-size:12.5px; color:var(--text-faint); }
.rd-us__os{ margin-left:auto; border-radius:999px; padding:4px 11px; font-size:12px; font-weight:600; white-space:nowrap; }
.rd-us__os--new{ background:var(--paper); color:var(--text-soft); }
.rd-us__os--work{ background:#E4EEFB; color:#174F94; }
.rd-us__os--ship{ background:var(--brass-soft); color:var(--brass-deep); }
.rd-us__os--ok{ background:var(--green-soft); color:#0E5B3F; }
.rd-us__os--bad{ background:#FBE4E4; color:#9F2324; }
.rd-us__bar{ display:flex; gap:4px; }
.rd-us__bar i{ flex:1; height:5px; border-radius:3px; background:var(--line-2); }
.rd-us__bar i.is-on{ background:var(--green); }
.rd-us__bar i.is-cur{ background:var(--brass); }
.rd-us__barl{ display:flex; justify-content:space-between; font-size:11px; color:var(--text-faint); }
.rd-us__items{ display:flex; gap:6px; flex-wrap:wrap; font-size:13px; color:var(--text-soft); }
.rd-us__items span{ background:var(--paper); border-radius:6px; padding:3px 9px; }
.rd-us__of{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:10px; }
.rd-us__of b{ font:600 18px var(--font-head); color:var(--ink); font-variant-numeric:tabular-nums; }
.rd-us__sp{ flex:1; }
.rd-us__filters{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.rd-us__filters button{ height:34px; padding:0 12px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:12.5px; font-weight:500; color:var(--text-soft); cursor:pointer; }
.rd-us__filters button.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-us__filters input{ height:34px; border:1px solid var(--line-2); border-radius:999px; padding:0 14px; min-width:170px; margin-left:auto; font:inherit; }

/* garage */
.rd-us__car{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.rd-us__ch{ display:flex; gap:12px; align-items:center; padding:14px 16px; flex-wrap:wrap; border-bottom:1px solid var(--line); background:#FAFBFC; }
.rd-us__cic{ width:38px; height:38px; border-radius:10px; background:var(--ink); display:grid; place-items:center; flex:none; }
.rd-us__cic svg{ width:21px; height:21px; fill:none; stroke:var(--brass); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-us__ct b{ display:block; font:600 16px var(--font-head); color:var(--ink); }
.rd-us__ct > span{ font-size:12.5px; color:var(--text-soft); }
.rd-us__plate{ display:inline-flex; align-items:stretch; border:1.5px solid var(--ink); border-radius:5px; overflow:hidden; font-family:ui-monospace,Consolas,monospace; font-size:13px; font-weight:600; background:#fff; margin-left:auto; }
.rd-us__plate i{ background:#123a8a; color:#fff; font-style:normal; font-size:8px; display:grid; place-items:center; padding:0 4px; letter-spacing:.06em; }
.rd-us__plate span{ padding:4px 8px; letter-spacing:.06em; color:var(--ink); }
.rd-us__crem{ width:32px; height:32px; border:0; border-radius:9px; background:transparent; color:var(--text-faint); font-size:19px; line-height:1; cursor:pointer; display:grid; place-items:center; }
.rd-us__crem:hover{ background:#FBE4E4; color:#C62F30; }
.rd-us__cb{ padding:14px 16px; display:flex; flex-direction:column; gap:12px; }
.rd-us__docs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rd-us__doc{ border:1px solid var(--line); border-radius:var(--radius); padding:10px 12px; display:flex; flex-direction:column; gap:1px; }
.rd-us__doc small{ font:600 10.5px var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.rd-us__doc b{ font-size:13.5px; color:var(--ink); font-weight:600; }
.rd-us__doc span{ font-size:12px; }
.rd-us__doc--ok{ border-left:3px solid var(--green); }
.rd-us__doc--ok span{ color:var(--green); }
.rd-us__doc--warn{ border-left:3px solid #E3A008; background:#FFFCF5; }
.rd-us__doc--warn span{ color:#8A5A00; }
.rd-us__doc--bad{ border-left:3px solid #C62F30; background:#FFF8F8; }
.rd-us__doc--bad span{ color:#C62F30; }
.rd-us__doc--none{ border-left:3px solid var(--line-2); background:var(--paper); }
.rd-us__doc--none span{ color:var(--text-faint); }
.rd-us__cforms{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-us__cf label{ display:block; font-size:12.5px; font-weight:500; color:var(--text-soft); margin:0 0 4px; }
.rd-us__cf label em{ font-style:normal; color:var(--text-faint); font-weight:400; }
.rd-us__cf > div{ display:flex; gap:8px; }
.rd-us__cf input[type=text]{ flex:1; min-width:0; height:40px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; background:#fff; font:inherit; }
.rd-us__cf input[type=text]:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(4,24,43,.08); }
.rd-us__cf .rd-us__btn{ height:40px; }
.rd-us__parts{ border-top:1px solid var(--line); padding-top:10px; }
.rd-us__parts summary{ cursor:pointer; font-size:13px; color:var(--brass-deep); font-weight:500; list-style:none; }
.rd-us__parts summary::-webkit-details-marker{ display:none; }
.rd-us__plist{ display:flex; flex-direction:column; margin-top:8px; }
.rd-us__pline{ display:flex; gap:12px; align-items:center; justify-content:space-between; font-size:13px; padding:8px 0; border-bottom:1px solid var(--line); }
.rd-us__pline:last-child{ border-bottom:0; }
.rd-us__pline small{ display:block; color:var(--text-faint); font-size:11.5px; }
.rd-us__pline b{ font-weight:600; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-us__pline a{ color:var(--text); text-decoration:none; }
.rd-us__pline a:hover{ color:var(--ink); text-decoration:underline; }
.rd-us__add{ background:var(--surface); border:1px dashed var(--line-2); border-radius:var(--radius-lg); padding:18px 20px; }
.rd-us__add h2{ font:600 16px var(--font-head); margin:0 0 4px; color:var(--ink); }
.rd-us__add p{ margin:0 0 12px; color:var(--text-faint); font-size:12.5px; }
.rd-us__f4{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
/* root/compress/new/style.php (the inline block printed on every page) pins #regnum1 and #vin1 to calc(25% - 12px), which
   left the registration number and the VIN as two tiny boxes next to the full-width selects. That file is shared with an
   administration template, so it is left alone and only overruled inside this form. */
#ProfileGarage .rd-us__f input{ width:100%; margin:0; font-size:14px; height:44px; }

/* fields */
.rd-us__fr{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-us__f{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.rd-us__f--wide{ grid-column:1/-1; }
.rd-us__f label{ font-size:12.5px; font-weight:500; color:var(--text-soft); margin:0; }
.rd-us__f label em{ font-style:normal; color:var(--text-faint); font-weight:400; }
.rd-us__f input, .rd-us__f select{ height:44px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; background:#fff; width:100%; min-width:0; font:inherit; color:inherit; }
.rd-us__f input:focus, .rd-us__f select:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(4,24,43,.08); }
.rd-us__f.is-bad input{ border-color:#C62F30; }
.rd-us__err{ color:#C62F30; font-size:12px; display:none; }
.rd-us__f.is-bad .rd-us__err{ display:block; }
.rd-us__hint{ color:var(--text-faint); font-size:12px; }
.rd-us__f.is-bad .rd-us__hint{ display:none; }
.rd-us__f .select2-container{ width:100% !important; }
.rd-us__f .select2-container .select2-selection--single{ height:44px; border:1px solid var(--line-2); border-radius:10px; background:#fff; }
.rd-us__f .select2-container .select2-selection__rendered{ line-height:42px; height:42px; padding:0 30px 0 12px; font-size:14px; color:var(--text); }
.rd-us__meter{ height:6px; border-radius:3px; background:var(--line-2); overflow:hidden; margin-top:4px; }
.rd-us__meter i{ display:block; height:100%; width:0; background:#C62F30; transition:width .2s, background .2s; }
.rd-us__sum{ display:flex; flex-direction:column; gap:7px; border-top:1px solid var(--line); margin-top:12px; padding-top:12px; font-size:13.5px; }
.rd-us__sum > div{ display:flex; justify-content:space-between; gap:10px; }
.rd-us__sum span{ color:var(--text-soft); }
.rd-us__sum b{ font-weight:600; font-variant-numeric:tabular-nums; }
.rd-us__sumt{ border-top:1px solid var(--line); padding-top:9px; }
.rd-us__sumt b{ font:600 20px var(--font-head); color:var(--ink); }

@media (max-width:991px){
  .rd-us{ grid-template-columns:1fr; }
  .rd-us__side{ position:static; }
  .rd-us__side nav{ flex-direction:row; overflow-x:auto; }
  .rd-us__side nav a{ white-space:nowrap; }
  .rd-us__tiles, .rd-us__docs, .rd-us__f4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .rd-us__tiles, .rd-us__docs, .rd-us__f4, .rd-us__fr, .rd-us__cforms{ grid-template-columns:1fr; }
  .rd-us__h1 h1{ font-size:22px; }
  .rd-us__box, .rd-us__add{ padding:16px; }
  .rd-us__plate{ margin-left:0; }
  .rd-us__filters input{ margin-left:0; width:100%; }
  .rd-us__barl{ font-size:10px; }
}

/* ===== tracking a parcel (templates/orders/tracking.tpl) and the extra parts of the order details page ===== */
.rd-tr{ max-width:1110px; margin:0 auto; padding:6px 0 10px; display:flex; flex-direction:column; gap:14px; }
.rd-tr__hero{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:22px 24px; display:flex; gap:18px 24px; flex-wrap:wrap; align-items:center; }
.rd-tr__ht{ flex:1; min-width:260px; }
.rd-tr__eb{ font-family:var(--font-head); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); }
.rd-tr__hero h1{ font:600 28px/1.15 var(--font-head); margin:4px 0 6px; color:#fff; }
.rd-tr__hero p{ margin:0; opacity:.8; font-size:13.5px; }
.rd-tr__n{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); border-radius:var(--radius); padding:12px 16px; text-align:center; }
.rd-tr__n small{ display:block; font-size:11px; opacity:.7; letter-spacing:.06em; text-transform:uppercase; }
.rd-tr__n b{ display:block; font-family:ui-monospace,Consolas,monospace; font-size:20px; font-weight:600; letter-spacing:.06em; margin:2px 0 6px; }
.rd-tr__n button{ background:none; border:1px solid rgba(255,255,255,.3); color:#fff; border-radius:999px; height:28px; padding:0 12px; font-size:12px; cursor:pointer; }
.rd-tr__n button.is-done{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:600; }
.rd-tr__eta{ display:flex; gap:12px; align-items:center; background:var(--green-soft); color:#0E5B3F; border-radius:var(--radius); padding:14px 16px; flex-wrap:wrap; }
.rd-tr__eta svg{ width:26px; height:26px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-tr__eta > div{ flex:1; min-width:220px; }
.rd-tr__eta b{ display:block; font:600 16px var(--font-head); color:#0B4A33; }
.rd-tr__eta span{ font-size:13px; }
.rd-tr__lay{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:14px; align-items:start; }
.rd-tr__col{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.rd-tr__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 20px; }
.rd-tr__box h2{ font:600 17px var(--font-head); margin:0 0 12px; color:var(--ink); }
.rd-tr__box p{ margin:0; color:var(--text-soft); font-size:13.5px; max-width:70ch; }
.rd-tr__hint{ color:var(--text-faint) !important; font-size:12.5px !important; margin-top:10px !important; }
.rd-tr__kv{ display:flex; flex-direction:column; gap:7px; font-size:13.5px; }
.rd-tr__kv > div{ display:flex; gap:10px; justify-content:space-between; }
.rd-tr__kv span{ color:var(--text-faint); }
.rd-tr__kv b{ font-weight:600; color:var(--ink); text-align:right; }
.rd-tr__items{ display:flex; flex-direction:column; gap:6px; font-size:13.5px; }
.rd-tr__items > div{ display:flex; gap:10px; justify-content:space-between; padding:6px 0; border-bottom:1px solid var(--line); }
.rd-tr__items > div:last-child{ border-bottom:0; }
.rd-tr__items b{ font-weight:600; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-tr__acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rd-tr__btn{ height:38px; padding:0 14px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; gap:7px; text-decoration:none; white-space:nowrap; cursor:pointer; }
.rd-tr__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-tr__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-tr__btn--main:hover{ color:#fff; }
.rd-tr__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-tr__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
.rd-tr__eta .rd-tr__btn{ background:#fff; border-color:#9BD3BD; color:#0E5B3F; }

/* the journey */
.rd-tr__tl{ position:relative; padding-left:26px; }
.rd-tr__tl::before{ content:""; position:absolute; left:8px; top:8px; bottom:8px; width:2px; background:var(--line-2); }
.rd-tr__ev{ position:relative; padding:0 0 18px; }
.rd-tr__ev:last-child{ padding-bottom:0; }
.rd-tr__ev::before{ content:""; position:absolute; left:-22px; top:4px; width:10px; height:10px; border-radius:50%; background:var(--line-2); border:2px solid #fff; box-shadow:0 0 0 2px var(--line-2); }
.rd-tr__ev.is-done::before{ background:var(--green); box-shadow:0 0 0 2px var(--green); }
.rd-tr__ev.is-now::before{ background:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); width:12px; height:12px; left:-23px; }
.rd-tr__ev b{ display:block; font-weight:600; color:var(--ink); font-size:14px; }
.rd-tr__ev.is-now b{ color:var(--brass-deep); }
.rd-tr__ev.is-future b{ color:var(--text-faint); font-weight:500; }
.rd-tr__ev em{ font-style:normal; font-size:13px; color:var(--text-soft); display:block; }
.rd-tr__ev span{ font-size:12.5px; color:var(--text-faint); }
.rd-tr__find form{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.rd-tr__find input{ height:44px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; min-width:220px; flex:1; max-width:320px; font:inherit; }
.rd-tr__find input:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px rgba(4,24,43,.08); }
.rd-tr__find .rd-tr__btn{ height:44px; }

/* order details: the three cards and the grouped lines */
.rd-us__three{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rd-us__kv{ display:flex; flex-direction:column; gap:7px; font-size:13.5px; }
.rd-us__kv > div{ display:flex; gap:10px; justify-content:space-between; }
.rd-us__kv span{ color:var(--text-faint); }
.rd-us__kv b{ font-weight:600; color:var(--ink); text-align:right; }
.rd-us__grp{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-bottom:12px; }
.rd-us__grp:last-of-type{ margin-bottom:0; }
.rd-us__grph{ display:flex; gap:10px; align-items:center; padding:10px 14px; background:#FAFBFC; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.rd-us__grph svg{ width:20px; height:20px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-us__grph b{ font:600 14px var(--font-head); color:var(--ink); }
.rd-us__grph a{ margin-left:auto; font-size:12.5px; color:var(--brass-deep); font-weight:500; text-decoration:none; }
.rd-us__line{ display:grid; grid-template-columns:52px minmax(0,1fr) auto auto; gap:12px; align-items:center; padding:11px 14px; border-bottom:1px solid var(--line); }
.rd-us__line:last-child{ border-bottom:0; }
.rd-us__limg{ width:52px; height:52px; border:1px solid var(--line); border-radius:8px; display:grid; place-items:center; background:#fff; overflow:hidden; }
.rd-us__limg img{ max-width:46px; max-height:46px; object-fit:contain; }
.rd-us__lt{ font-weight:500; color:var(--text); text-decoration:none; display:block; }
a.rd-us__lt:hover{ color:var(--ink); text-decoration:underline; }
.rd-us__line small{ display:block; color:var(--text-faint); font-size:11.5px; font-family:ui-monospace,Consolas,monospace; }
.rd-us__ltags{ display:flex; gap:5px; flex-wrap:wrap; margin-top:4px; }
.rd-us__ltags span{ border-radius:6px; padding:2px 7px; font-size:11.5px; font-weight:500; }
.rd-us__tside{ background:var(--brass-soft); color:var(--ink); font-weight:600; }
.rd-us__tqty{ background:var(--paper); color:var(--text-soft); }
.rd-us__line > b{ font-weight:600; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-us__note{ background:var(--paper); border-left:3px solid var(--line-2); border-radius:6px; padding:10px 12px; font-size:13px; color:var(--text-soft); margin-top:12px; }
.rd-us__note b{ color:var(--ink); }

@media (max-width:991px){
  .rd-tr__lay{ grid-template-columns:1fr; }
  .rd-us__three{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .rd-tr__hero{ padding:18px; }
  .rd-tr__hero h1{ font-size:23px; }
  .rd-tr__n{ width:100%; }
  .rd-us__line{ grid-template-columns:44px minmax(0,1fr); }
  .rd-us__limg{ width:44px; height:44px; }
  .rd-us__limg img{ max-width:38px; max-height:38px; }
  .rd-us__line > b, .rd-us__line > a{ grid-column:2; justify-self:start; }
}

/* ===== the page after an order (templates/orders/rd_done.tpl, used by finish / finishcard / notpay) ===== */
.rd-dn{ max-width:820px; margin:0 auto; padding:6px 0 10px; display:flex; flex-direction:column; gap:14px; }
.rd-dn__hero{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 26px; text-align:center; }
.rd-dn__ic{ width:64px; height:64px; border-radius:50%; background:var(--green-soft); display:grid; place-items:center; margin:0 auto 12px; }
.rd-dn__ic svg{ width:32px; height:32px; fill:none; stroke:#0E5B3F; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.rd-dn__hero--bad .rd-dn__ic{ background:#FBE4E4; }
.rd-dn__hero--bad .rd-dn__ic svg{ stroke:#9F2324; }
.rd-dn__hero h1{ font:600 30px/1.15 var(--font-head); margin:0 0 6px; color:var(--ink); }
.rd-dn__hero p{ margin:0 auto; color:var(--text-soft); max-width:56ch; }
.rd-dn__n{ display:inline-flex; align-items:center; gap:10px; background:var(--paper); border-radius:999px; padding:8px 16px; margin-top:14px; font-size:13.5px; }
.rd-dn__n b{ font-family:ui-monospace,Consolas,monospace; font-weight:600; color:var(--ink); letter-spacing:.04em; }
.rd-dn__n button{ border:1px solid var(--line-2); background:#fff; border-radius:999px; height:28px; padding:0 10px; font-size:12px; cursor:pointer; }
.rd-dn__n button.is-done{ background:var(--green-soft); border-color:#9BD3BD; color:#0E5B3F; font-weight:600; }
.rd-dn__paid{ display:inline-flex; align-items:center; gap:7px; background:var(--green-soft); color:#0E5B3F; border-radius:999px; padding:5px 13px; font-size:12.5px; font-weight:600; margin-top:12px; }

.rd-dn__steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; counter-reset:rddn; }
.rd-dn__st{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:16px; position:relative; overflow:hidden; }
.rd-dn__st::before{ counter-increment:rddn; content:counter(rddn); position:absolute; right:12px; top:2px; font:600 42px var(--font-head); color:var(--brass-soft); line-height:1; }
.rd-dn__st b{ display:block; font:600 15px var(--font-head); color:var(--ink); margin-bottom:4px; position:relative; }
.rd-dn__st span{ font-size:13px; color:var(--text-soft); position:relative; display:block; }
.rd-dn__st em{ font-style:normal; display:block; font-size:12.5px; color:var(--brass-deep); font-weight:600; margin-top:4px; position:relative; }

.rd-dn__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px 20px; }
.rd-dn__box h2{ font:600 17px var(--font-head); margin:0 0 10px; color:var(--ink); }
.rd-dn__box h3{ font:600 15px var(--font-head); margin:0 0 8px; color:var(--ink); }
.rd-dn__box p{ margin:0; color:var(--text-soft); font-size:13.5px; max-width:70ch; }
.rd-dn__acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rd-dn__btn{ height:40px; padding:0 16px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13.5px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; gap:7px; text-decoration:none; white-space:nowrap; }
.rd-dn__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-dn__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-dn__btn--main:hover{ color:#fff; }
.rd-dn__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-dn__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
.rd-dn__soft{ background:var(--paper); border-radius:10px; padding:11px 13px; font-size:13px; color:var(--text-soft); margin-top:12px; }
.rd-dn__soft b{ color:var(--ink); }
.rd-dn__soft a{ font-weight:600; color:var(--brass-deep); }
.rd-dn__rev{ border-top:1px solid var(--line); margin-top:14px; padding-top:12px; font-size:13px; color:var(--text-faint); }
.rd-dn__rev a{ font-weight:600; color:var(--brass-deep); text-decoration:none; }
.rd-dn__rev a:hover{ text-decoration:underline; }

.rd-dn__grp{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-bottom:10px; }
.rd-dn__grp:last-of-type{ margin-bottom:0; }
.rd-dn__grph{ display:flex; gap:10px; align-items:center; padding:9px 13px; background:#FAFBFC; border-bottom:1px solid var(--line); }
.rd-dn__grph svg{ width:19px; height:19px; flex:none; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-dn__grph b{ font:600 13.5px var(--font-head); color:var(--ink); }
.rd-dn__line{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 13px; border-bottom:1px solid var(--line); font-size:13.5px; }
.rd-dn__line:last-child{ border-bottom:0; }
.rd-dn__line small{ display:block; color:var(--text-faint); font-size:11.5px; font-family:ui-monospace,Consolas,monospace; }
.rd-dn__line b{ font-weight:600; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-dn__two{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.rd-dn__kv{ display:flex; flex-direction:column; gap:7px; font-size:13.5px; }
.rd-dn__kv > div{ display:flex; gap:10px; justify-content:space-between; }
.rd-dn__kv span{ color:var(--text-faint); }
.rd-dn__kv b{ font-weight:600; color:var(--ink); text-align:right; }
.rd-dn__sum{ display:flex; flex-direction:column; gap:7px; border-top:1px solid var(--line); margin-top:14px; padding-top:12px; font-size:13.5px; }
.rd-dn__sum > div{ display:flex; justify-content:space-between; gap:10px; }
.rd-dn__sum span{ color:var(--text-soft); }
.rd-dn__sum b{ font-weight:600; font-variant-numeric:tabular-nums; }
.rd-dn__sumt{ border-top:1px solid var(--line); padding-top:9px; }
.rd-dn__sumt b{ font:600 20px var(--font-head); color:var(--ink); }

/* the switch to cash on delivery on the failed-payment page */
.rd-dn__cod{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; border:1px solid var(--brass); background:#FFFBF2; border-radius:var(--radius); padding:14px 16px; margin:0 0 12px; }
.rd-dn__cod > div{ flex:1; min-width:240px; }
.rd-dn__cod b{ display:block; font:600 15px var(--font-head); color:var(--ink); }
.rd-dn__cod span{ font-size:13px; color:var(--text-soft); }
.rd-dn__cod button{ border:0; cursor:pointer; }
/* the choices after a refused card: pay again (rdrepay) or pay on delivery (rdcod) */
.rd-dn__box h2 .rd-dn__tries{ margin-left:auto; }
.rd-dn__box h2:has(.rd-dn__tries){ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rd-dn__tries{ display:inline-flex; align-items:center; gap:6px; font:400 12px var(--font-body); color:var(--text-faint); }
.rd-dn__tries i{ width:8px; height:8px; border-radius:50%; background:var(--line-2); display:inline-block; }
.rd-dn__tries i.is-used{ background:#C62F30; }
.rd-dn__opts{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.rd-dn__opt{ border:1px solid var(--line); border-radius:var(--radius); padding:16px; display:flex; flex-direction:column; gap:6px; background:#fff; margin:0; }
.rd-dn__opt--main{ border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-dn__optic{ width:38px; height:38px; border-radius:10px; background:var(--paper); display:grid; place-items:center; }
.rd-dn__opt--main .rd-dn__optic{ background:var(--brass-soft); }
.rd-dn__optic svg{ width:21px; height:21px; fill:none; stroke:var(--ink); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-dn__opt > b{ font:600 16px var(--font-head); color:var(--ink); }
.rd-dn__opt > span{ font-size:13px; color:var(--text-soft); flex:1; }
.rd-dn__opt > span strong{ color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums; }
.rd-dn__opt .rd-dn__btn{ justify-content:center; margin-top:6px; cursor:pointer; }
.rd-dn__bar{ display:flex; gap:6px 14px; align-items:center; flex-wrap:wrap; background:var(--ink); color:#fff; border-radius:var(--radius); padding:13px 15px; margin:0; }
.rd-dn__bar b{ font:600 15px var(--font-head); }
.rd-dn__bar span{ font-size:13px; opacity:.8; flex:1; min-width:200px; }
.rd-dn__bar .rd-dn__btn{ cursor:pointer; }
.rd-dn__warn{ background:#FBE4E4; border-radius:var(--radius); padding:12px 14px; font-size:13px; color:#9F2324; margin:0 0 10px; }
.rd-dn__warn b{ color:#7d1c1d; }
.rd-dn__box form.rd-dn__acts{ margin-top:0; }
.rd-dn__box form.rd-dn__acts .rd-dn__btn{ cursor:pointer; }
.rd-dn__chkh{ margin-top:16px !important; }
.rd-dn__chk{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 14px; font-size:13px; color:var(--text-soft); }
.rd-dn__chk li{ display:flex; gap:8px; align-items:flex-start; }
.rd-dn__chk li::before{ content:""; flex:none; width:16px; height:16px; margin-top:2px; border-radius:50%; background:var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5B3F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.rd-dn__acts--line{ border-top:1px solid var(--line); margin-top:14px; padding-top:12px; }
@media (max-width:760px){
  .rd-dn__opts, .rd-dn__chk{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .rd-dn__steps, .rd-dn__two{ grid-template-columns:1fr; }
  .rd-dn__hero{ padding:22px 18px; }
  .rd-dn__hero h1{ font-size:24px; }
  .rd-dn__box{ padding:16px; }
}

/* ===== the review page (templates/orders/review.tpl, js/rd-review.js) ===== */
.rd-rv{ max-width:680px; margin:0 auto; padding:6px 0 10px; display:flex; flex-direction:column; gap:14px; }
.rd-rv__box{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; }
.rd-rv__head{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.rd-rv__hic{ width:52px; height:52px; border-radius:14px; background:var(--brass-soft); display:grid; place-items:center; flex:none; }
.rd-rv__hic svg{ width:28px; height:28px; fill:var(--brass); }
.rd-rv__head h1{ font:600 26px/1.15 var(--font-head); margin:0; color:var(--ink); }
.rd-rv__head p{ margin:2px 0 0; color:var(--text-soft); font-size:13.5px; }
.rd-rv__head p b{ font-family:ui-monospace,Consolas,monospace; font-weight:600; color:var(--ink); letter-spacing:.03em; }
.rd-rv__parts{ flex-basis:100%; display:flex; gap:6px; flex-wrap:wrap; }
.rd-rv__parts span{ background:var(--paper); border-radius:999px; padding:4px 11px; font-size:12.5px; color:var(--text-soft); }
.rd-rv__parts b{ color:var(--ink); font-weight:600; }
.rd-rv__stars{ display:flex; gap:6px; justify-content:center; margin:4px 0; }
.rd-rv__stars button{ width:54px; height:54px; border:0; background:none; padding:0; display:grid; place-items:center; border-radius:12px; cursor:pointer; }
.rd-rv__stars button:hover{ background:var(--paper); }
.rd-rv__stars button:focus-visible{ outline:2px solid var(--brass); outline-offset:1px; }
.rd-rv__stars svg{ width:42px; height:42px; fill:#E3E6EA; transition:fill .12s, transform .12s; }
.rd-rv__stars button.is-on svg{ fill:var(--brass); }
.rd-rv__stars button:active svg{ transform:scale(.9); }
.rd-rv__sl{ text-align:center; font:600 15px var(--font-head); color:var(--ink); min-height:22px; }
.rd-rv__err{ display:none; text-align:center; color:#9F2324; font-size:13px; margin-top:4px; }
.rd-rv__err.is-on{ display:block; }
.rd-rv__tags{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
.rd-rv__tags label{ margin:0; cursor:pointer; }
.rd-rv__tags input{ position:absolute; opacity:0; pointer-events:none; }
.rd-rv__tags span{ display:inline-flex; align-items:center; height:34px; padding:0 13px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13px; color:var(--text-soft); user-select:none; }
.rd-rv__tags input:checked + span{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-rv__tags input:focus-visible + span{ outline:2px solid var(--brass); outline-offset:2px; }
.rd-rv__f{ margin-top:16px; }
.rd-rv__f label{ display:block; font-size:12.5px; font-weight:500; color:var(--text-soft); margin-bottom:5px; }
.rd-rv__f textarea{ width:100%; min-height:100px; border:1px solid var(--line-2); border-radius:10px; padding:10px 12px; font:14px/1.5 var(--font-body); resize:vertical; }
.rd-rv__f textarea:focus{ outline:none; border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-rv__cb{ display:flex; gap:9px; align-items:flex-start; background:#FFF1D6; border-radius:10px; padding:11px 13px; margin:12px 0 0; font-size:13px; color:#8A5A00; cursor:pointer; font-weight:400; }
.rd-rv__cb[hidden]{ display:none; }
.rd-rv__cb input{ margin-top:3px; accent-color:var(--brass); }
.rd-rv__cb b{ color:#5c3c00; }
.rd-rv__acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.rd-rv__acts--c{ justify-content:center; }
.rd-rv__btn{ height:40px; padding:0 16px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13.5px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; justify-content:center; gap:7px; text-decoration:none; white-space:nowrap; cursor:pointer; }
.rd-rv__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-rv__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-rv__btn--main:hover{ color:#fff; }
.rd-rv__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-rv__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; }
.rd-rv__btn--big{ height:46px; padding:0 26px; font-size:15px; }
.rd-rv__done{ text-align:center; }
.rd-rv__ok{ width:60px; height:60px; border-radius:50%; background:var(--green-soft); display:grid; place-items:center; margin:0 auto 10px; }
.rd-rv__ok svg{ width:30px; height:30px; fill:none; stroke:#0E5B3F; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.rd-rv__lead{ margin:0 auto; color:var(--text-soft); max-width:52ch; }
.rd-rv__mine{ margin-top:8px; font-size:13px; }
.rd-rv__mine .rd-stars{ color:var(--line-2); font-size:20px; vertical-align:-3px; }
.rd-rv__mine a{ color:var(--brass-deep); font-weight:600; margin-left:8px; }
.rd-rv__g{ border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin-top:16px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; text-align:left; }
.rd-rv__g b{ font:600 16px var(--font-head); color:var(--ink); display:block; }
.rd-rv__g span{ font-size:13px; color:var(--text-soft); }
.rd-rv__q{ grid-column:1/-1; background:var(--paper); border-radius:10px; padding:10px 12px; font-size:13.5px; display:flex; gap:10px; align-items:flex-start; }
.rd-rv__q q{ flex:1; quotes:"„" "“"; color:var(--text); }
.rd-rv__copy{ border:1px solid var(--line-2); background:#fff; border-radius:999px; height:28px; padding:0 11px; font-size:12px; cursor:pointer; flex:none; }
.rd-rv__copy.is-done{ background:var(--green-soft); border-color:#9BD3BD; color:#0E5B3F; font-weight:600; }
.rd-rv__note{ margin:12px 0 0; font-size:13px; color:#0E5B3F; }
.rd-rv__done .rd-rv__acts{ justify-content:center; }
@media (max-width:760px){
  .rd-rv__box{ padding:16px; }
  .rd-rv__head h1{ font-size:22px; }
  .rd-rv__stars button{ width:48px; height:48px; }
  .rd-rv__stars svg{ width:36px; height:36px; }
  .rd-rv__g{ grid-template-columns:1fr; }
}

/* ===== the not-found page (templates/main/not_found.tpl, js/rd-404.js) ===== */
.rd-nf{ max-width:1110px; margin:0 auto; padding:6px 0 10px; display:flex; flex-direction:column; gap:18px; }
.rd-nf__hero{ background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:36px 30px; position:relative; overflow:hidden; }
.rd-nf__hero::after{ content:"404"; position:absolute; right:-10px; bottom:-48px; font:600 220px/1 var(--font-head); color:transparent; -webkit-text-stroke:2px rgba(201,154,62,.28); pointer-events:none; }
.rd-nf__k{ font:600 12px var(--font-head); letter-spacing:.14em; text-transform:uppercase; color:var(--brass); position:relative; z-index:1; }
.rd-nf__hero h1{ font:600 36px/1.1 var(--font-head); margin:8px 0; color:#fff; max-width:18ch; position:relative; z-index:1; }
.rd-nf__hero p{ margin:0; color:rgba(255,255,255,.75); max-width:52ch; position:relative; z-index:1; }
.rd-nf__s{ display:flex; gap:8px; margin-top:22px; max-width:580px; position:relative; z-index:1; }
.rd-nf__s input{ flex:1; min-width:0; height:50px; border-radius:12px; border:0; padding:0 16px; font:15px var(--font-body); color:var(--text); background:#fff; }
.rd-nf__s input:focus{ outline:3px solid var(--brass); outline-offset:0; }
.rd-nf__s .rd-nf__btn{ height:50px; padding:0 22px; font-size:15px; }
.rd-nf__hint{ margin-top:10px; font-size:13.5px; color:rgba(255,255,255,.72); position:relative; z-index:1; }
.rd-nf__hint a{ color:var(--brass); font-weight:600; text-decoration:none; border-bottom:1px dashed var(--brass); }
.rd-nf__hint a:hover{ color:#e0b865; }
.rd-nf__btn{ height:40px; padding:0 16px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13.5px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; justify-content:center; gap:7px; text-decoration:none; white-space:nowrap; cursor:pointer; }
.rd-nf__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-nf__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-nf__btn--main:hover{ color:#fff; }
.rd-nf__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-nf__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
.rd-nf__routes{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rd-nf__route{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; display:flex; flex-direction:column; gap:6px; }
.rd-nf__route b{ font:600 17px var(--font-head); color:var(--ink); }
.rd-nf__route span{ font-size:13.5px; color:var(--text-soft); flex:1; }
.rd-nf__route .rd-nf__btn{ align-self:flex-start; margin-top:8px; }
.rd-nf__h2{ font:600 19px var(--font-head); color:var(--ink); margin:0 0 10px; }
.rd-nf__tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rd-nf__tile{ display:flex; gap:12px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:13px 14px; text-decoration:none; transition:border-color .12s, box-shadow .12s; }
.rd-nf__tile:hover{ border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); text-decoration:none; }
.rd-nf__tic{ width:42px; height:42px; border-radius:10px; background:var(--paper); display:grid; place-items:center; flex:none; }
.rd-nf__tic svg{ width:22px; height:22px; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.rd-nf__tile b{ display:block; font:600 14.5px var(--font-head); color:var(--ink); }
.rd-nf__tile small{ font-size:12px; color:var(--text-faint); }
@media (max-width:760px){
  .rd-nf__hero{ padding:26px 18px; }
  .rd-nf__hero h1{ font-size:27px; }
  .rd-nf__hero::after{ font-size:140px; bottom:-30px; }
  .rd-nf__s{ flex-direction:column; }
  .rd-nf__routes{ grid-template-columns:1fr; }
  .rd-nf__tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:420px){ .rd-nf__tiles{ grid-template-columns:1fr; } }

/* ===== search: suggestions in the search window (js/rd-search.js) ===== */
.rd-sg{ padding:6px 0 4px; max-height:min(64vh, 560px); overflow:auto; font-family:var(--font-body); }
.rd-sg[hidden]{ display:none; }
.rd-sg__g{ padding:2px 0 6px; }
.rd-sg__g + .rd-sg__g{ border-top:1px solid var(--line); padding-top:6px; }
.rd-sg__h{ font:600 11px var(--font-head); letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); padding:6px 10px 4px; }
.rd-sg__h span{ background:var(--paper); color:var(--ink); border-radius:999px; padding:0 7px; margin-left:4px; letter-spacing:0; }
.rd-sg__i{ display:flex; gap:10px; align-items:center; padding:7px 10px; border-radius:9px; text-decoration:none !important; color:var(--text); font-size:13.5px; line-height:1.3; }
.rd-sg__i:hover, .rd-sg__i.is-on{ background:var(--paper); color:var(--ink); }
.rd-sg__i mark{ background:var(--brass-soft); color:var(--ink); border-radius:3px; padding:0 1px; }
.rd-sg__ic{ width:30px; height:30px; border-radius:8px; background:var(--paper); display:grid; place-items:center; flex:none; }
.rd-sg__i:hover .rd-sg__ic, .rd-sg__i.is-on .rd-sg__ic{ background:#fff; }
.rd-sg__ic svg{ width:17px; height:17px; fill:none; stroke:var(--ink); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.rd-sg__img{ width:38px; height:38px; border-radius:8px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; flex:none; overflow:hidden; }
.rd-sg__img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-sg__t{ display:flex; flex-direction:column; min-width:0; flex:1; }
.rd-sg__t b{ font-weight:500; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-sg__t small{ font-size:12px; color:var(--text-faint); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rd-sg__p{ font-weight:600; color:var(--ink); white-space:nowrap; font-variant-numeric:tabular-nums; }
.rd-sg__x{ font-style:normal; font-size:11px; font-weight:600; background:var(--green-soft); color:#0E5B3F; border-radius:999px; padding:1px 8px; white-space:nowrap; }
.rd-sg__rec{ display:flex; gap:6px; flex-wrap:wrap; padding:2px 10px 4px; }
.rd-sg__chip{ display:inline-flex; padding:4px 11px; border-radius:999px; background:var(--paper); font-size:12.5px; }
.rd-sg__none, .rd-sg__wait{ padding:10px; font-size:13px; color:var(--text-soft); }
.rd-sg__wait{ color:var(--brass-deep); }
.rd-sg__all{ justify-content:center; font-weight:600; color:var(--brass-deep) !important; border-top:1px solid var(--line); border-radius:0 0 9px 9px; margin-top:4px; }
.rd-sg__all kbd{ font:500 11px var(--font-body); background:var(--paper); border:1px solid var(--line-2); border-radius:5px; padding:0 6px; color:var(--text-soft); margin-left:6px; box-shadow:none; }
@media (max-width:760px){ .rd-sg__all kbd{ display:none; } }

/* ===== search: the results page /tarsene (templates/products/rdsearch.tpl) ===== */
.rd-sr{ padding:6px 0 10px; display:flex; flex-direction:column; gap:14px; }
.rd-sr__form{ display:flex; gap:8px; max-width:760px; }
.rd-sr__form input{ flex:1; min-width:0; height:46px; border:1px solid var(--line-2); border-radius:12px; padding:0 16px; font:15px var(--font-body); background:#fff; }
.rd-sr__form input:focus{ outline:none; border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-sr__btn{ height:40px; padding:0 16px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font-family:var(--font-body); font-size:13.5px; font-weight:500; color:var(--text); display:inline-flex; align-items:center; justify-content:center; gap:7px; text-decoration:none; white-space:nowrap; cursor:pointer; }
.rd-sr__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; }
.rd-sr__btn--main{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-sr__btn--main:hover{ color:#fff; }
.rd-sr__btn--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); font-weight:700; }
.rd-sr__btn--brass:hover{ background:#d8ab52; border-color:#d8ab52; color:var(--ink); }
.rd-sr__form .rd-sr__btn{ height:46px; padding:0 22px; }
.rd-sr__btn.is-busy{ opacity:.6; cursor:progress; }
.rd-sr__head{ display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; }
.rd-sr__head h1{ font:600 26px/1.2 var(--font-head); margin:0; color:var(--ink); word-break:break-word; }
.rd-sr__head span{ color:var(--text-soft); font-size:13.5px; }
.rd-sr__best{ background:var(--surface); border:1px solid var(--brass); box-shadow:0 0 0 3px var(--brass-soft); border-radius:var(--radius-lg); padding:16px 18px; }
.rd-sr__best--plain{ border-color:var(--line); box-shadow:none; }
.rd-sr__best--row{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.rd-sr__best--row > div{ flex:1; min-width:200px; }
.rd-sr__best--row h2{ margin:2px 0 0 !important; }
.rd-sr__blogo{ width:90px; height:48px; object-fit:contain; }
.rd-sr__k{ font:600 11px var(--font-head); letter-spacing:.12em; text-transform:uppercase; color:var(--brass-deep); }
.rd-sr__best h2{ font:600 19px/1.25 var(--font-head); margin:4px 0 10px; color:var(--ink); }
.rd-sr__sub{ margin:10px 0 8px; font-size:13px; color:var(--text-soft); }
.rd-sr__sub a{ color:var(--brass-deep); font-weight:600; }
.rd-sr__chips{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-sr__chips--c{ justify-content:center; }
.rd-sr__chips a{ border:1px solid var(--line-2); border-radius:999px; padding:6px 12px; font-size:13px; text-decoration:none; background:#fff; color:var(--text); display:inline-flex; gap:6px; align-items:baseline; }
.rd-sr__chips a:hover{ border-color:var(--brass); box-shadow:0 0 0 2px var(--brass-soft); text-decoration:none; }
.rd-sr__chips b{ font-weight:600; color:var(--ink); }
.rd-sr__chips small{ color:var(--text-faint); font-size:12px; }
.rd-sr__acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.rd-sr__acts--c{ justify-content:center; }
.rd-sr__cars{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.rd-sr__cars a{ display:flex; gap:10px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:8px 10px; text-decoration:none; }
.rd-sr__cars a:hover{ border-color:var(--brass); text-decoration:none; }
.rd-sr__cars img{ width:56px; height:34px; object-fit:contain; flex:none; }
.rd-sr__cars b{ display:block; font-size:13px; font-weight:600; color:var(--ink); }
.rd-sr__cars small{ font-size:12px; color:var(--text-faint); }
.rd-sr__tabs{ display:flex; gap:6px; overflow-x:auto; padding-bottom:2px; }
.rd-sr__tabs a{ flex:none; height:36px; padding:0 13px; border-radius:999px; border:1px solid var(--line-2); background:#fff; font-size:13px; color:var(--text-soft); display:inline-flex; gap:6px; align-items:center; text-decoration:none; }
.rd-sr__tabs a i{ font-style:normal; background:var(--paper); border-radius:999px; padding:0 7px; font-size:11.5px; color:var(--ink); }
.rd-sr__tabs a.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-sr__tabs a.is-on i{ background:rgba(255,255,255,.18); color:#fff; }
.rd-sr__lay{ display:grid; grid-template-columns:240px minmax(0,1fr); gap:16px; align-items:start; }
.rd-sr__flt{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:12px 14px; position:sticky; top:12px; max-height:calc(100vh - 24px); overflow:auto; }
.rd-sr__flt summary{ font:600 14px var(--font-head); color:var(--ink); cursor:pointer; list-style:none; }
.rd-sr__flt summary::-webkit-details-marker{ display:none; }
.rd-sr__flt summary i{ font-style:normal; background:var(--brass); color:var(--ink); border-radius:999px; padding:0 7px; font-size:11.5px; }
.rd-sr__flt h3{ font:600 12px var(--font-head); letter-spacing:.06em; text-transform:uppercase; color:var(--ink); margin:14px 0 6px; }
.rd-sr__flt label{ display:flex; gap:8px; align-items:center; font-size:13px; padding:3px 0; color:var(--text); margin:0; font-weight:400; cursor:pointer; }
.rd-sr__flt label small{ margin-left:auto; color:var(--text-faint); }
.rd-sr__flt input{ accent-color:var(--brass); margin:0; }
.rd-sr__fl--more:not(.is-open) label:nth-child(n+9){ display:none; }
.rd-sr__flmore{ border:0; background:none; padding:2px 0; color:var(--brass-deep); font-size:12.5px; font-weight:600; cursor:pointer; }
.rd-sr__bar{ display:flex; gap:8px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:10px; font-size:13px; color:var(--text-soft); }
.rd-sr__bar label{ display:flex; gap:6px; align-items:center; margin:0; font-weight:400; }
.rd-sr__bar select{ height:34px; border:1px solid var(--line-2); border-radius:9px; padding:0 8px; font:13px var(--font-body); background:#fff; }
.rd-sr__on{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.rd-sr__on a{ display:inline-flex; gap:6px; align-items:center; background:var(--ink); color:#fff; border-radius:999px; padding:4px 11px; font-size:12.5px; text-decoration:none; }
.rd-sr__on a:hover{ color:#fff; background:var(--ink-2); text-decoration:none; }
.rd-sr__on a.rd-sr__onx{ background:none; color:var(--brass-deep); font-weight:600; }
.rd-sr__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }      /* 3 per row (was 4) */
.rd-sr__cell{ position:relative; min-width:0; }
.rd-sr__grid .rd-pc__specs:not(.rd-pc__specs--on){ display:none; }
.rd-sr__grid .rd-pc__save{ display:none; }
.rd-sr__grid .rd-pc__buy{ gap:6px; }
.rd-sr__tag{ position:absolute; left:8px; top:8px; z-index:2; font-size:11px; font-weight:600; border-radius:999px; padding:2px 8px; pointer-events:none; }
.rd-sr__tag--ex{ background:var(--green-soft); color:#0E5B3F; }
.rd-sr__tag--oe{ background:#E4EEFB; color:#174F94; }
.rd-sr__more{ display:flex; justify-content:center; margin-top:14px; }
.rd-sr__empty{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; text-align:center; }
.rd-sr__empty h1, .rd-sr__empty h2{ font:600 22px var(--font-head); margin:0 0 6px; color:var(--ink); }
.rd-sr__empty p{ margin:0 auto 10px; color:var(--text-soft); max-width:48ch; }
.rd-sr__ex{ list-style:none; padding:0; margin:10px auto 0; display:inline-flex; flex-direction:column; gap:6px; text-align:left; font-size:14px; color:var(--text-soft); }
.rd-sr__ex b{ color:var(--ink); }
@media (max-width:1199px){ .rd-sr__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } .rd-sr__cars{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:860px){
  .rd-sr__lay{ grid-template-columns:1fr; }
  .rd-sr__flt{ position:static; max-height:none; }
  .rd-sr__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .rd-sr__cars{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rd-sr__head h1{ font-size:22px; }
}
@media (max-width:420px){ .rd-sr__form{ flex-direction:column; } .rd-sr__cars{ grid-template-columns:1fr; } }

/* search: the results inside the search window (#partsearch, loaded by js/rd-search.js) */
#partsearch.rd-sr-box{ display:block; margin:0; padding:0; }
#partsearch.rd-sr-box[hidden]{ display:none; }
.rd-sr--panel{ padding:10px 14px 22px; gap:12px; text-align:left; }
.rd-sr-box.is-busy .rd-sr--panel{ opacity:.45; pointer-events:none; transition:opacity .15s; }
.rd-sr__load{ padding:28px 16px; text-align:center; color:var(--text-soft); font-size:14px; }
.rd-sr__load::before{ content:""; display:block; width:28px; height:28px; margin:0 auto 10px; border-radius:50%; border:3px solid var(--brass-soft); border-top-color:var(--brass); animation:rdSrSpin .8s linear infinite; }
@keyframes rdSrSpin{ to{ transform:rotate(360deg); } }
.rd-sr--panel .rd-sr__head h1{ font-size:22px; }
.rd-sr--panel .rd-sr__flt{ top:0; max-height:none; }
@media (max-width:860px){ .rd-sr--panel{ padding:8px 8px 18px; } }

/* search: the fitting-side filter (rd_sr_body.tpl) */
.rd-sr__side{ display:flex; gap:12px; align-items:flex-start; }
.rd-sr__sidepic{ flex:none; padding-top:2px; }
.rd-sr__side > div{ flex:1; min-width:0; }

/* search: the fitting side for wipers & co. — windscreen on top, short toggle buttons (rd_sr_body.tpl) */
.rd-sr__gl{ display:flex; flex-direction:column; gap:8px; }
.rd-sr__glpic{ display:flex; justify-content:center; background:var(--paper); border-radius:10px; padding:10px 0 8px; }
.rd-sr__glrow{ display:grid; grid-template-columns:44px repeat(2,minmax(0,1fr)); gap:6px; align-items:center; }
.rd-sr__glrow > span{ font-size:11.5px; color:var(--text-faint); }
.rd-sr__glrow > .rd-sr__tg:only-of-type{ grid-column:2 / -1; }
.rd-sr__flt label.rd-sr__tg{ display:block; padding:0; cursor:pointer; }
.rd-sr__tg input{ position:absolute; opacity:0; pointer-events:none; }
.rd-sr__tg i{ font-style:normal; display:flex; justify-content:center; align-items:center; gap:5px; height:32px; padding:0 8px; border:1px solid var(--line-2); border-radius:8px; background:#fff; font-size:12.5px; color:var(--text); white-space:nowrap; }
.rd-sr__tg i small{ color:var(--text-faint); font-size:11px; }
.rd-sr__tg:hover i{ border-color:var(--ink); }
.rd-sr__tg input:checked + i{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-sr__tg input:checked + i small{ color:rgba(255,255,255,.7); }
.rd-sr__tg input:focus-visible + i{ outline:2px solid var(--brass); outline-offset:1px; }
.rd-sr__tg--wide i{ justify-content:space-between; padding:0 10px; }

/* search: the engine line under the car (rd_sr_body.tpl) */
.rd-sr__spec{ margin:-4px 0 10px; font-size:13px; color:var(--text-soft); }

/* rd-notify: the reminders in the profile (user/edit.tpl) */
.rd-us__nf{ display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--line); border-radius:10px; margin:8px 0 0; cursor:pointer; font-weight:400; }
.rd-us__nf input{ margin-top:3px; accent-color:var(--brass); flex:none; }
.rd-us__nf span{ font-size:13px; color:var(--text-soft); }
.rd-us__nf b{ display:block; font-size:14px; color:var(--ink); }
.rd-us__nf:has(input:checked){ border-color:var(--brass); background:#FFFBF2; }

/* rd-notify: "Кажете ми, когато я има" on the product page (product_view.tpl, js/rd-watch.js) */
.rd-watch{ margin:12px 0 0; padding:12px 14px; border:1px dashed var(--line-2); border-radius:12px; background:var(--paper); display:flex; flex-direction:column; gap:4px; }
.rd-watch > b{ font:600 15px var(--font-head); color:var(--ink); }
.rd-watch > span{ font-size:13px; color:var(--text-soft); }
.rd-watch__row{ display:flex; gap:6px; margin-top:6px; }
.rd-watch__row input[type=email]{ flex:1; min-width:0; height:40px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; font:14px var(--font-body); background:#fff; }
.rd-watch__row input[type=email]:focus{ outline:none; border-color:var(--brass); box-shadow:0 0 0 3px var(--brass-soft); }
.rd-watch__row button{ height:40px; padding:0 14px; border:0; border-radius:10px; background:var(--ink); color:#fff; font:600 13.5px var(--font-body); cursor:pointer; white-space:nowrap; }
.rd-watch__row button:disabled{ opacity:.6; cursor:progress; }
.rd-watch__hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.rd-watch__msg{ font-style:normal; font-size:13px; min-height:0; }
.rd-watch__msg.is-ok{ color:#0E5B3F; font-weight:600; }
.rd-watch__msg.is-bad{ color:#9F2324; }
.rd-watch.is-done .rd-watch__row{ display:none; }

/* mobile header: the menu button in the colour of the bar (the theme gave it the old #002340 and a light-grey hover) */
.site__mobile-header .mobile-header__menu-button{ background:transparent; fill:#fff; border-radius:10px; transition:background .15s; }
.site__mobile-header .mobile-header__menu-button:hover{ background:rgba(255,255,255,.08); }
.site__mobile-header .mobile-header__menu-button:active{ background:rgba(255,255,255,.14); }
.site__mobile-header .mobile-header__menu-button:focus-visible{ outline:2px solid var(--brass); outline-offset:-4px; }

/* breadcrumbs on a phone: one line that scrolls sideways instead of wrapping; a soft fade shows there is more */
@media (max-width:767px){
  .block-header__breadcrumb, .breadcrumb{ min-width:0; max-width:100%; }
  .breadcrumb__list{ flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; white-space:nowrap; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px; -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent); }
  .breadcrumb__list::-webkit-scrollbar{ display:none; }
  .breadcrumb__item{ flex:none; }
  .breadcrumb__item-link{ white-space:nowrap; }
  .breadcrumb.block-header__breadcrumb{ padding-top:10px; padding-bottom:8px; }
}

/* rd-more: "Покажи още N" instead of the numbered pages (Models::NPages_NEw, js/rd-more.js) */
.rd-pmore{ display:flex; flex-direction:column; align-items:center; gap:6px; margin:18px 0 6px; width:100%; }
.rd-pmore__btn{ height:44px; padding:0 24px; border-radius:10px; border:1px solid var(--line-2); background:#fff; font:600 14px var(--font-body); color:var(--ink); display:inline-flex; align-items:center; justify-content:center; text-decoration:none; transition:border-color .15s, box-shadow .15s; }
.rd-pmore__btn:hover{ border-color:var(--ink); color:var(--ink); text-decoration:none; box-shadow:0 0 0 3px var(--brass-soft); }
.rd-pmore__btn.is-busy{ opacity:.6; cursor:progress; }
.rd-pmore__legend{ font-size:12.5px; color:var(--text-faint); }
.rd-pmore__first{ font-size:12.5px; font-weight:600; color:var(--brass-deep); }
.products-view__pagination:has(.rd-pmore){ display:block; }

/* catalogue pages (cat.tpl): js/rd-cat.js puts its own "Зареди още" right before #pagin — then the common block is not shown
   (it stays in the page: rd-cat.js reads the next page from it; without JS it is the fallback) */
.rd-cat__more + #pagin{ display:none !important; }

/* list view on a phone: the price row wraps, so a hint added to it ("По-изгодно от 5 × 1 л …", js/rd-cat.js) gets its own line */
@media (max-width:991px){ .rd-listing .products-list[data-layout=table] .rd-pc__price{ flex-wrap:wrap; column-gap:8px; } }

/* ---------- rd-auth: /user — "Вход / Нов профил" (templates/user/index.tpl, js/rd-auth.js) ---------- */
.rd-auth{ max-width:1120px; margin:0 auto; padding:28px 16px 56px; }
.rd-auth__card{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:var(--surface); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.rd-auth__side{ background:var(--ink); color:#fff; padding:44px 44px 36px; display:flex; flex-direction:column; gap:18px; }
.rd-auth__h1{ margin:0; font-family:var(--font-head); font-size:36px; font-weight:600; line-height:1.1; color:#fff; }
.rd-auth__lead{ margin:0; font-size:15px; line-height:1.6; color:#B9C3CF; }
.rd-auth__perks{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
.rd-auth__perks li{ display:flex; gap:14px; align-items:flex-start; }
.rd-auth__perks b{ display:block; font-size:15px; }
.rd-auth__perks small{ display:block; font-size:13.5px; line-height:1.45; color:#B9C3CF; margin-top:2px; }
.rd-auth__ico{ width:40px; height:40px; border-radius:10px; background:rgba(201,154,62,.14); color:var(--brass); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.rd-auth__guest{ margin-top:auto; border-top:1px solid rgba(255,255,255,.12); padding-top:18px; display:flex; gap:10px; align-items:center; font-size:14px; color:#D5DCE4; }
.rd-auth__guest svg{ color:var(--brass); flex-shrink:0; }
.rd-auth__guest a{ color:var(--brass); font-weight:700; }
.rd-auth__guest a:hover{ color:#E7C98A; }
.rd-auth__main{ padding:36px 44px 32px; display:flex; flex-direction:column; gap:18px; min-width:0; }
.rd-auth__tabs{ display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; background:var(--paper); border-radius:var(--radius-md); }
.rd-auth__tabs button{ height:44px; border:0; border-radius:9px; background:transparent; color:var(--text-soft); font:600 15px var(--font-body); cursor:pointer; }
.rd-auth__tabs button[aria-selected="true"]{ background:var(--surface); color:var(--ink); font-weight:700; box-shadow:var(--shadow-sm); }
.rd-auth__tabs button:focus-visible{ outline:2px solid var(--ink-2); outline-offset:2px; }
.rd-auth__alert{ background:var(--red-soft); color:#9F1E1F; border-radius:var(--radius-sm); padding:12px 14px; font-size:14px; line-height:1.45; }
.rd-auth__form{ display:flex; flex-direction:column; gap:16px; margin:0; }
.rd-auth__form[hidden]{ display:none; }
.rd-auth__head h2{ margin:0 0 4px; font-family:var(--font-head); font-size:26px; font-weight:600; color:var(--text); }
.rd-auth__head p{ margin:0; font-size:14px; color:var(--text-soft); }
.rd-auth__two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.rd-auth__f{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.rd-auth__f label{ font-size:13px; font-weight:600; color:var(--text); margin:0; }
.rd-auth__f label em{ font-style:normal; font-weight:400; color:var(--text-soft); }
.rd-auth__row{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.rd-auth__row a{ font-size:13px; color:var(--ink-2); }
.rd-auth__f input{ height:46px; width:100%; box-sizing:border-box; border:1px solid var(--line-2); border-radius:var(--radius-sm); padding:0 14px; font-size:15px; color:var(--text); background:#fff; }
.rd-auth__f input:focus{ outline:none; border-color:var(--ink-2); box-shadow:0 0 0 3px rgba(14,51,87,.14); }
#rdRVin{ letter-spacing:.06em; text-transform:uppercase; }
.rd-auth__f.is-err input{ border-color:var(--red); }
.rd-auth__f.is-err input:focus{ box-shadow:0 0 0 3px rgba(224,57,58,.16); }
.rd-auth__f.is-ok input{ border-color:var(--green); }
.rd-auth__err, .rd-auth__hint{ font-size:12.5px; line-height:1.45; }
.rd-auth__err{ color:#B42425; }
.rd-auth__err:empty{ display:none; }
.rd-auth__f.is-ok .rd-auth__err{ color:var(--green); }
.rd-auth__hint{ color:var(--text-soft); }
.rd-auth__err a{ color:var(--ink-2); font-weight:700; }
.rd-auth__err button, .rd-auth__switch button{ border:0; background:none; padding:0; font:inherit; font-weight:700; color:var(--ink-2); text-decoration:underline; cursor:pointer; }
.rd-auth__pw{ position:relative; }
.rd-auth__pw input{ padding-right:50px; }
.rd-auth__eye{ position:absolute; right:4px; top:4px; width:38px; height:38px; border:0; border-radius:6px; background:transparent; color:var(--text-soft); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.rd-auth__eye:hover, .rd-auth__eye[aria-pressed="true"]{ color:var(--ink); background:var(--paper); }
.rd-auth__meter{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.rd-auth__meter span{ height:4px; border-radius:2px; background:var(--line); transition:background .2s; }
.rd-auth[data-pw="0"] .rd-auth__meter span.is-on, .rd-auth[data-pw="1"] .rd-auth__meter span.is-on{ background:var(--red); }
.rd-auth[data-pw="2"] .rd-auth__meter span.is-on{ background:var(--amber); }
.rd-auth[data-pw="3"] .rd-auth__meter span.is-on, .rd-auth[data-pw="4"] .rd-auth__meter span.is-on{ background:var(--green); }
.rd-auth__check{ display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.45; color:var(--text); cursor:pointer; margin:0; }
.rd-auth__check input{ width:18px; height:18px; margin:1px 0 0; accent-color:var(--ink); flex-shrink:0; }
.rd-auth__btn{ height:50px; border-radius:var(--radius-sm); font:700 16px var(--font-body); display:flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; text-decoration:none; border:0; }
.rd-auth__btn--ink{ background:var(--ink); color:#fff; }
.rd-auth__btn--ink:hover{ background:var(--ink-2); }
.rd-auth__btn--brass{ background:var(--brass); color:var(--ink); }
.rd-auth__btn--brass:hover{ background:var(--brass-deep); color:var(--ink); }
.rd-auth__btn--line{ height:48px; border:1px solid var(--line-2); background:#fff; color:var(--text); font-size:15px; font-weight:600; }
.rd-auth__btn--line:hover{ border-color:var(--ink-2); color:var(--ink); text-decoration:none; }
.rd-auth__or{ display:flex; align-items:center; gap:12px; font-size:12.5px; color:var(--text-faint); }
.rd-auth__or::before, .rd-auth__or::after{ content:""; flex:1; height:1px; background:var(--line); }
.rd-auth__legal{ margin:0; font-size:12px; line-height:1.5; color:var(--text-soft); }
.rd-auth__switch{ margin:0; font-size:14px; color:var(--text-soft); text-align:center; }
@media (max-width:991px){
  .rd-auth__card{ grid-template-columns:1fr; }
  .rd-auth__side{ padding:26px 20px 22px; gap:12px; }
  .rd-auth__h1{ font-size:26px; }
  .rd-auth__lead{ display:none; }
  .rd-auth__perks{ flex-direction:row; flex-wrap:wrap; gap:8px; margin:0; }
  .rd-auth__perks li{ display:block; }
  .rd-auth__perks li .rd-auth__ico, .rd-auth__perks small{ display:none; }
  .rd-auth__perks b{ font-size:12px; font-weight:600; padding:5px 10px; border-radius:999px; background:rgba(201,154,62,.16); color:#E7C98A; }
  .rd-auth__guest{ margin-top:4px; padding-top:12px; font-size:13.5px; }
  .rd-auth__main{ padding:20px 16px 24px; }
}
@media (max-width:575px){
  .rd-auth{ padding:12px 12px 40px; }
  .rd-auth__two{ grid-template-columns:1fr; }
  .rd-auth__f input{ height:48px; font-size:16px; }
  .rd-auth__head h2{ font-size:23px; }
}

/* ---------- rd-group: prices of the customer groups (only when a client of a group is logged in: $rdGrp) ---------- */
.rd-pc__sale--grp{ background:var(--ink); color:var(--brass-soft); letter-spacing:.03em; text-transform:uppercase; font-size:11.5px; white-space:nowrap; }
.rd-gp{ flex:1 1 100%; display:flex; flex-direction:column; gap:3px; padding:10px 12px; background:#F7F1E4; border-radius:10px; }
.rd-gp__r, .rd-gp__y{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.rd-gp em{ font-style:normal; font-size:12.5px; color:var(--text-soft); }
.rd-gp__y em{ font-weight:700; color:var(--ink); }
.rd-gp s{ font-size:13px; color:var(--text-faint); }
.rd-gp .rd-pc__now{ font-size:24px; }
.rd-gp__s{ font-size:12px; font-weight:600; color:var(--green); text-align:right; }
.rd-listing .products-list[data-layout=table] .rd-gp{ width:100%; padding:8px 10px; }
.rd-gpd{ display:flex; flex-direction:column; gap:8px; width:100%; }
.rd-gpd__tag{ align-self:flex-start; background:var(--ink); color:var(--brass-soft); font-size:13px; font-weight:600; padding:7px 12px; border-radius:8px; }
.rd-gpd__two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.rd-gpd__two > div{ display:flex; flex-direction:column; gap:2px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; }
.rd-gpd__two em{ font-style:normal; font-size:12px; color:var(--text-soft); }
.rd-gpd__two s{ font:600 20px/1.1 var(--font-head); color:var(--text-faint); }
.rd-gpd__y{ border:2px solid var(--brass) !important; background:#F7F1E4; }
.rd-gpd__y em{ color:#5A4312 !important; font-weight:700; }
.rd-gpd__y .rd-pdc__now{ font-size:28px; }
.rd-gpd__s{ font-size:13.5px; font-weight:600; color:var(--green); }
.rd-hd__grpv{ color:var(--brass); font-weight:600; }
.rd-hd__grp{ margin:10px 0 4px; padding:12px 14px; border-radius:12px; background:var(--ink); color:#fff; display:flex; flex-direction:column; gap:10px; }
.rd-hd__grp > div{ display:flex; flex-direction:column; gap:1px; }
.rd-hd__grp small{ font-size:11.5px; color:#B9C3CF; }
.rd-hd__grp b{ font-family:var(--font-head); font-size:18px; font-weight:600; }
.rd-hd__grp span{ font-size:13px; color:var(--brass); font-weight:600; }
.rd-hd__grpt{ display:block; text-align:center; padding:9px 10px; border-radius:8px; border:1px solid rgba(201,154,62,.5); color:var(--brass-soft) !important; font-size:13px; font-weight:600; text-decoration:none !important; }
.rd-hd__grpt:hover{ background:rgba(201,154,62,.12); }
.rd-hd__grpt.is-on{ background:var(--brass); color:var(--ink) !important; border-color:var(--brass); }
.rd-ck__gsave span em{ display:block; font-style:normal; font-size:12px; color:var(--text-soft); font-weight:400; }
.rd-ck__gnote{ margin-top:10px; padding:10px 12px; border-radius:8px; background:var(--green-soft); color:#146B49; font-size:13.5px; font-weight:600; }
.rd-us__gcard{ margin:0 0 20px; padding:18px 20px; border-radius:var(--radius-lg); background:var(--ink); color:#fff; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 20px; align-items:center; }
.rd-us__grp-main small, .rd-us__grp-pc small{ display:block; font-size:12px; color:#B9C3CF; }
.rd-us__grp-main b{ font-family:var(--font-head); font-size:24px; font-weight:600; }
.rd-us__grp-pc{ display:flex; gap:10px; }
.rd-us__grp-pc span{ background:rgba(255,255,255,.08); border-radius:8px; padding:8px 12px; }
.rd-us__grp-pc b{ font-family:var(--font-head); font-size:22px; color:var(--brass); }
.rd-us__gcard p{ grid-column:1 / -1; margin:0; font-size:13.5px; line-height:1.5; color:#D5DCE4; }
.rd-us__grp-t{ grid-column:1 / -1; justify-self:start; padding:9px 14px; border-radius:8px; border:1px solid rgba(201,154,62,.5); color:var(--brass-soft) !important; font-size:13.5px; font-weight:600; text-decoration:none !important; }
.rd-us__grp-t:hover{ background:rgba(201,154,62,.12); }
.rd-us__grp-t.is-on{ background:var(--brass); color:var(--ink) !important; }
@media (max-width:575px){
  .rd-pc__sale-t{ display:none; }
  .rd-gp{ padding:8px 10px; }
  .rd-gp__y{ flex-direction:column; align-items:flex-start; gap:0; }
  .rd-gp .rd-pc__now{ font-size:21px; }
  .rd-gp__s{ text-align:left; }
  .rd-us__gcard{ grid-template-columns:1fr; }
  .rd-gpd__two{ grid-template-columns:1fr 1fr; gap:8px; }
  .rd-gpd__two s{ font-size:17px; }
  .rd-gpd__y .rd-pdc__now{ font-size:24px; }
}

/* rd-dd on phones: the filter panels (Производител, Качество …) open as a sheet at the bottom of the screen. The chips
   row scrolls sideways, so a panel cannot sit inside it; placed against a far-up ancestor it opened at the top of the
   page, over the car picker. A tap on the dark backdrop closes it (rd-listing.js closes the panels on outside clicks). */
@media (max-width:767px){
  .rd-dd .rd-dd__panel, .rd-dd[data-key] .rd-dd__panel, .rd-dd .rd-dd__panel--wide{ position:fixed; left:0; right:0; top:auto; bottom:0; width:auto; min-width:0; max-width:none; max-height:78vh; overflow:auto; overscroll-behavior:contain; border:0; border-radius:18px 18px 0 0; padding:16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow:0 -12px 40px rgba(4,24,43,.25); z-index:2147483001; }
  .rd-dd:has(> .rd-dd__panel:not([hidden]))::before{ content:""; position:fixed; inset:0; background:rgba(4,24,43,.45); z-index:2147483000; }
  .rd-dd .rd-dd__panel .filter-list__list, .rd-dd .rd-dd__panel:has(.filter-list__item) .filter-list__list{ min-width:0; max-height:none; }
}

/* rd-mhdr: the phone/tablet header (under 1200px) stays at the top — hidden while scrolling down, back on the first
   scroll up (js/rd-hdr.js). z-index 990: under the mobile menu (1000), the search window (1050), the chat (9999), the
   cart (10050) and the filter sheet. Anchor jumps stop below it (scroll-padding). The desktop header is not touched. */
@media (max-width:1199px){
  .site__mobile-header{ position:sticky; top:0; z-index:990; transition:transform .25s ease; }
  .site__mobile-header.rd-mhdr--hidden{ transform:translateY(-100%); }
  html{ scroll-padding-top:60px; }
}
@media (max-width:1199px) and (prefers-reduced-motion:reduce){
  .site__mobile-header{ transition:none; }
}

/* ---------- rd-fab: "Свържете се с нас" (the widget comes from the site settings: .OpenClose_btn + .form_widget;
   its own script opens/closes it — here only the look). A round button bottom-right that hides while scrolling down
   (js/rd-hdr.js); the options open as a card above it on desktop and as a sheet from the bottom on phones. ---------- */
.OpenClose_btn{ width:56px !important; height:56px !important; padding:0 !important; right:20px !important; bottom:calc(20px + env(safe-area-inset-bottom)) !important; border-radius:50% !important; background:var(--ink) !important; box-shadow:0 8px 22px rgba(4,24,43,.35) !important; transition:transform .25s ease, opacity .25s ease, background .15s !important; }
.OpenClose_btn:hover{ background:var(--ink-2) !important; }
.OpenClose_btn:focus-visible{ outline:3px solid var(--brass); outline-offset:3px; }
.OpenClose_btn .contact{ display:none !important; }
.OpenClose_btn .OpenClose_btn_icon_open, .OpenClose_btn .OpenClose_btn_icon_close{ margin:0 !important; height:auto !important; line-height:0; }
.OpenClose_btn svg{ width:26px; height:26px; }
.OpenClose_btn.rd-fab--hidden{ transform:translateY(120px); opacity:0; pointer-events:none; }
.form_widget.animate_UpLeft, .form_widget.animate_downLeft{ animation:none !important; }
.form_widget{ border:0 !important; background:#fff !important; overflow:hidden; font-family:var(--font-body) !important; transition:opacity .2s ease, transform .25s ease, visibility .25s !important; }
.form_widget.form_open{ opacity:1; transform:none; visibility:visible; }
.form_widget .form_header{ background:var(--ink) !important; color:#fff !important; padding:18px 20px !important; font:600 19px/1.25 var(--font-head) !important; text-align:left !important; border-radius:0 !important; }
.form_widget .form_header br{ display:none; }
.form_widget .form_body{ padding:12px !important; display:grid; gap:8px; }
.form_widget .form_body .form_btn{ margin:0 !important; height:54px !important; padding:0 16px !important; border:1px solid var(--line) !important; border-radius:12px !important; background:#fff !important; color:var(--text) !important; font:600 15px var(--font-body) !important; }
.form_widget .form_body .form_btn:hover{ border-color:var(--ink-2) !important; background:var(--paper) !important; }
.form_widget .btn_title{ margin:0 !important; }
.form_widget .footer-widget:empty{ display:none; }
@media (min-width:768px){
  .form_widget{ left:auto !important; right:20px !important; width:340px !important; bottom:88px !important; border-radius:16px !important; box-shadow:0 18px 50px rgba(4,24,43,.25) !important; }
  .form_widget.form_closed{ bottom:88px !important; opacity:0; transform:translateY(12px); visibility:hidden; pointer-events:none; }
}
@media (max-width:767px){
  .form_widget{ left:0 !important; right:0 !important; width:auto !important; bottom:0 !important; max-height:82vh; overflow:auto; border-radius:18px 18px 0 0 !important; box-shadow:0 -12px 40px rgba(4,24,43,.25) !important; padding-bottom:env(safe-area-inset-bottom); z-index:2147482001 !important; }
  .form_widget.form_closed{ bottom:0 !important; transform:translateY(105%); visibility:hidden; pointer-events:none; }
  .form_widget .form_header::before{ content:""; display:block; width:40px; height:4px; margin:-6px auto 12px; border-radius:2px; background:rgba(255,255,255,.35); }
  body:has(.form_widget.form_open)::after{ content:""; position:fixed; inset:0; background:rgba(4,24,43,.45); z-index:2147482000; }
}
@media (prefers-reduced-motion:reduce){
  .OpenClose_btn, .form_widget{ transition:none !important; }
}

/* rd-fab: the "×" of the options (added by js/rd-hdr.js) */
.form_widget .form_header{ position:relative; padding-right:64px !important; }
.rd-fab__x{ position:absolute; top:12px; right:12px; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.rd-fab__x:hover{ background:rgba(255,255,255,.22); }
.rd-fab__x:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }
.rd-fab__x svg{ fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }

/* checkout: the note for an administrator ordering for a customer (templates/orders/checkout.tpl) */
.rd-ck__admin{ margin:0 0 14px; padding:10px 14px; border-radius:10px; background:var(--amber-soft); color:#7A5310; font-size:14px; font-weight:600; }

/* ---------- rd-pair: "купи в комплект" (left + right) — buy box, the kit block, cart, listing cards ---------- */
.rd-pair{ border:1.5px solid var(--line-2); border-radius:var(--radius); overflow:hidden; margin:0 0 14px; background:var(--surface); }
.rd-pair__h{ display:flex; align-items:center; gap:10px; padding:10px 14px; background:#FAFBFC; border-bottom:1px solid var(--line); font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.3; }
.rd-pair__h svg, .rd-cp__pair svg{ width:20px; height:20px; flex:none; fill:none; stroke:var(--brass-deep); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-pair__opt{ position:relative; display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:4px 12px; align-items:center; padding:12px 14px; margin:0; cursor:pointer; border-bottom:1px solid var(--line); font-weight:400; }
.rd-pair__opt:last-of-type{ border-bottom:0; }
.rd-pair__opt input{ position:absolute; opacity:0; pointer-events:none; }
.rd-pair__dot{ width:20px; height:20px; border-radius:50%; border:2px solid var(--line-2); display:grid; place-items:center; background:#fff; }
.rd-pair__opt input:checked + .rd-pair__dot{ border-color:var(--ink); }
.rd-pair__opt input:checked + .rd-pair__dot::after{ content:""; width:10px; height:10px; border-radius:50%; background:var(--ink); }
.rd-pair__opt input:focus-visible + .rd-pair__dot{ outline:3px solid var(--brass); outline-offset:2px; }
.rd-pair__opt.is-on{ background:#FBF7EE; }
.rd-pair__t b{ display:block; color:var(--ink); font-weight:600; font-size:14.5px; }
.rd-pair__t small{ color:var(--text-soft); font-size:12.5px; }
.rd-pair__p{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.rd-pair__p b{ display:block; font:600 18px var(--font-head); color:var(--ink); }
.rd-pair__p s{ font-size:12px; color:var(--text-faint); }
.rd-pair__o{ grid-column:2 / -1; display:grid; grid-template-columns:48px minmax(0,1fr); gap:10px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:7px 10px; margin-top:6px; }
.rd-pair__img{ width:48px; height:48px; border-radius:8px; background:var(--paper); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.rd-pair__img img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-pair__o a{ color:var(--ink); text-decoration:none; font-size:13.5px; }
.rd-pair__o a b{ font-weight:600; }
.rd-pair__o small{ display:block; font-size:12px; color:var(--text-soft); }
.rd-pair__o small a{ color:var(--brass-deep); font-weight:600; font-size:12px; white-space:nowrap; }
.rd-pair__o a:hover{ text-decoration:underline; }
@media (max-width:520px){
  .rd-pair__opt{ grid-template-columns:22px minmax(0,1fr); }
  .rd-pair__p{ grid-column:2; text-align:left; }
  .rd-pair__p b{ display:inline; margin-right:6px; }
}
.rd-kit2__i.is-pair{ border-color:var(--brass); box-shadow:inset 0 0 0 1px var(--brass); }
.rd-kit2__i.is-pair:not(.is-on){ box-shadow:none; border-color:var(--line); }
.rd-kit2__flag{ position:absolute; top:-9px; left:10px; background:var(--brass); color:var(--ink); font:700 10.5px var(--font-body); letter-spacing:.06em; text-transform:uppercase; border-radius:6px; padding:1px 7px; }
.rd-cp__tag--kit{ background:var(--green-soft); color:#11694A; font-weight:600; }
.rd-cp__pair{ grid-column:1 / -1; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; background:var(--amber-soft); border-radius:10px; padding:9px 12px; font-size:13px; color:var(--ink); line-height:1.4; }
.rd-cp__pair b{ font-weight:600; }
.rd-cp__pairadd{ border:0; border-radius:8px; background:var(--ink); color:#fff; font-weight:600; font-size:13px; padding:8px 14px; cursor:pointer; white-space:nowrap; }
.rd-cp__pairadd:hover{ background:var(--ink-2); }
@media (max-width:520px){ .rd-cp__pair{ grid-template-columns:auto minmax(0,1fr); } .rd-cp__pairadd{ grid-column:2; justify-self:start; } }
.rd-pc__pair:has(a){ display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; }
.rd-pc__pair:has(a)::before{ content:"Има чифт"; display:inline-flex; align-items:center; background:var(--ink); color:#fff; font-size:11px; font-weight:600; border-radius:6px; padding:1px 7px; }

/* rd-bh: the numbers of the brand / model pages (parts1.tpl, parts2.tpl) are left out on phones — the model search comes right after the lead */
@media (max-width:767px){ .rd-bh__stats{ display:none !important; } }

/* footer: the RIDEX "official dealer" logo (.flogo-rid, absolute + 175% wide inline) lay over the "Профил" column on phones —
   there it sits under the "Информация" links; the social icons have no frame (tile + border) any more */
@media (max-width:767px){ .site__footer .flogo-rid{ position:static !important; width:100% !important; max-width:240px; margin:14px 0 18px; } }
.site__footer .social-links__item a, .site__footer .social-links__item a:hover{ background:transparent !important; border:0 !important; box-shadow:none !important; }
.site__footer .social-links__item a:hover{ opacity:.8; }

/* category pages (parts0.tpl, e.g. /hodova-chast.html): the three numbers of the hero stay in one row on phones */
@media (max-width:767px){
  .rd-cl-facts{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:14px; }
  .rd-cl-facts b{ font-size:22px; white-space:nowrap; }
  .rd-cl-facts span{ font-size:11.5px; line-height:1.3; }
}

/* phones / tablets: the bottom buy bar of the product page (.rd-pdc__mbar, shown once the main button is off screen) and the
   bar of the cart / checkout take the bottom ~66 px — the chat button and the reCAPTCHA badge (product pages, checkout,
   static pages) move up above them, and the chat button sits above the badge instead of on it */
.OpenClose_btn{ transition:transform .25s ease, opacity .25s ease, background .15s, bottom .2s ease !important; }
.grecaptcha-badge{ transition:right .3s ease, bottom .2s ease !important; }
@media (max-width:991px){
  body:has(.rd-pdc__mbar.is-on) .OpenClose_btn,
  body:has(.grecaptcha-badge) .OpenClose_btn{ bottom:calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
  body:has(.rd-pdc__mbar.is-on):has(.grecaptcha-badge) .OpenClose_btn{ bottom:calc(156px + env(safe-area-inset-bottom, 0px)) !important; }
  body:has(.rd-pdc__mbar.is-on) .grecaptcha-badge,
  body:has(.rd-ck__mbar) .grecaptcha-badge{ bottom:calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ---------- rd-docs: videos + PDFs of the maker on the product pages (js/rd-pdcar.js) ---------- */
.rd-docjump{ display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 0; }
.rd-docjump a{ display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line-2); border-radius:10px; padding:8px 12px; font-size:13.5px; font-weight:600; color:var(--ink); text-decoration:none; background:var(--surface); }
.rd-docjump a:hover{ border-color:var(--ink); text-decoration:none; }
.rd-docjump svg{ width:18px; height:18px; flex:none; }
.rd-docjump > a > svg circle{ fill:var(--ink); } .rd-docjump > a > svg path{ fill:#fff; }
.rd-docjump .rd-docs__pic{ width:18px; height:22px; }
.rd-docs__vids{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-bottom:14px; }
.rd-docs__vid{ border:0; padding:0; background:none; text-align:left; cursor:pointer; display:grid; gap:6px; font:inherit; color:inherit; }
.rd-docs__img{ position:relative; display:grid; place-items:center; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:linear-gradient(135deg,var(--ink-2),var(--ink)); }
.rd-docs__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rd-docs__play{ position:relative; width:58px; height:58px; filter:drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition:transform .15s; }
.rd-docs__play circle{ fill:#fff; } .rd-docs__play path{ fill:var(--ink); }
.rd-docs__vid:hover .rd-docs__play{ transform:scale(1.08); }
.rd-docs__vid:focus-visible .rd-docs__img{ outline:3px solid var(--brass); outline-offset:2px; }
.rd-docs__img em{ position:absolute; left:10px; bottom:8px; font:600 11px var(--font-body); font-style:normal; color:#fff; background:rgba(0,0,0,.55); border-radius:5px; padding:2px 6px; }
.rd-docs__vid b{ font-size:14px; font-weight:600; color:var(--ink); }
.rd-docs__vid small{ font-size:12.5px; color:var(--text-soft); }
.rd-docs__pdfs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:10px; }
.rd-docs__pdf{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; border:1px solid var(--line); border-radius:12px; padding:12px 14px; color:inherit; text-decoration:none; background:var(--surface); }
.rd-docs__pdf:hover{ border-color:var(--ink); text-decoration:none; }
.rd-docs__pic{ position:relative; display:grid; place-items:center; width:40px; height:48px; border-radius:6px; background:#FBE9E7; }
.rd-docs__pic svg{ width:18px; height:18px; margin-top:-10px; fill:none; stroke:#D23B2F; stroke-width:1.8; stroke-linejoin:round; }
.rd-docs__pdf .rd-docs__pic::after{ content:"PDF"; position:absolute; bottom:5px; font:700 9.5px var(--font-body); color:#D23B2F; letter-spacing:.04em; }
.rd-docjump .rd-docs__pic{ background:none; } .rd-docjump .rd-docs__pic svg{ margin:0; width:18px; height:18px; }
.rd-docs__pdf b{ display:block; font-size:14px; font-weight:600; color:var(--ink); overflow-wrap:anywhere; }
.rd-docs__pdf b i{ font:700 10.5px var(--font-body); font-style:normal; background:var(--paper); border:1px solid var(--line); border-radius:4px; padding:0 5px; margin-left:4px; color:var(--text-soft); vertical-align:1px; }
.rd-docs__pdf small{ font-size:12.5px; color:var(--text-soft); }
.rd-docs__go{ font-size:13px; font-weight:600; color:var(--brass-deep); white-space:nowrap; }
.rd-docs__src{ margin:12px 0 0; font-size:12px; color:var(--text-faint); }
@media (max-width:767px){
  .rd-docs__vids{ grid-auto-flow:column; grid-auto-columns:80%; grid-template-columns:none; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:4px; }
  .rd-docs__vid{ scroll-snap-align:start; }
  .rd-docs__pdfs{ grid-template-columns:1fr; }
  .rd-docs__go{ font-size:0; } .rd-docs__go::after{ content:"↗"; font-size:16px; }
}
.rd-yt{ position:fixed; inset:0; z-index:2147483000; background:rgba(4,24,43,.78); display:grid; place-items:center; padding:16px; }
.rd-yt__box{ width:min(900px,100%); background:#000; border-radius:14px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.45); }
.rd-yt__v{ aspect-ratio:16/9; } .rd-yt__v iframe{ width:100%; height:100%; border:0; display:block; }
.rd-yt__bar{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 14px; background:var(--ink); color:#fff; font-size:13.5px; }
.rd-yt__x{ border:0; border-radius:8px; background:rgba(255,255,255,.14); color:#fff; font:600 13px var(--font-body); padding:8px 12px; cursor:pointer; }
.rd-yt__x:hover{ background:rgba(255,255,255,.24); }
html.rd-yt-open, html.rd-yt-open body{ overflow:hidden; }

/* ---------- rd-ai: the chat assistant (js/rd-aichat.js) — for now only with an administrator session ---------- */
.rd-ai-on .OpenClose_btn, .rd-ai-on .form_widget{ display:none !important; }
.rd-ai__fab{ position:fixed; right:20px; bottom:calc(20px + env(safe-area-inset-bottom, 0px)); z-index:1050; width:58px; height:58px; border:0; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; box-shadow:0 8px 22px rgba(4,24,43,.35); cursor:pointer; transition:bottom .2s ease, transform .15s; }
.rd-ai__fab:hover{ transform:scale(1.05); }
.rd-ai__fab:focus-visible{ outline:3px solid var(--brass); outline-offset:3px; }
.rd-ai__fab svg{ width:26px; height:26px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linejoin:round; }
.rd-ai__fab svg circle{ fill:#fff; stroke:none; }
.rd-ai__badge{ position:absolute; top:-3px; right:-3px; background:var(--brass); color:var(--ink); font:700 10px var(--font-body); border-radius:999px; padding:2px 6px; letter-spacing:.04em; }
@media (max-width:991px){
  body:has(.rd-pdc__mbar.is-on) .rd-ai__fab, body:has(.grecaptcha-badge) .rd-ai__fab{ bottom:calc(86px + env(safe-area-inset-bottom, 0px)); }
  body:has(.rd-pdc__mbar.is-on):has(.grecaptcha-badge) .rd-ai__fab{ bottom:calc(156px + env(safe-area-inset-bottom, 0px)); }
  body:has(.rd-ck__mbar) .rd-ai__fab{ display:none; }
}
.rd-ai{ position:fixed; right:20px; bottom:92px; z-index:1060; width:400px; max-width:calc(100vw - 32px); height:min(640px, calc(100dvh - var(--rd-ai-top, 62px) - 100px)); min-height:min(340px, calc(100dvh - var(--rd-ai-top, 62px) - 20px));      /* --rd-ai-top = the sticky header of the site (js/rd-aichat.js): the panel stays under it */ background:var(--surface); border-radius:18px; box-shadow:0 18px 50px rgba(4,24,43,.28); display:grid; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; font-family:var(--font-body); }
.rd-ai[hidden]{ display:none; }
.rd-ai__h{ background:var(--ink); color:#fff; padding:12px 12px 12px 14px; display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; align-items:center; }
.rd-ai__av{ width:38px; height:38px; border-radius:11px; background:linear-gradient(135deg,var(--brass),#E3BC6A); display:grid; place-items:center; font:600 15px var(--font-head); color:var(--ink); }
.rd-ai__ht b{ display:block; font:600 16px var(--font-head); letter-spacing:.02em; }
.rd-ai__ht small{ display:block; color:#B9C3CF; font-size:11.5px; }
.rd-ai__hb{ display:flex; gap:5px; }
.rd-ai__hb button{ border:0; background:rgba(255,255,255,.12); color:#fff; border-radius:8px; padding:6px 9px; font:600 12px var(--font-body); cursor:pointer; }
.rd-ai__hb button:hover{ background:rgba(255,255,255,.22); }
.rd-ai__log{ overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; background:linear-gradient(180deg,#FAFBFC,var(--surface) 120px); overscroll-behavior:contain; }
.rd-ai__m{ max-width:90%; display:grid; gap:6px; }
.rd-ai__m--u{ align-self:flex-end; }
.rd-ai__b{ padding:9px 12px; font-size:14px; line-height:1.5; border-radius:14px; }
.rd-ai__m--u .rd-ai__b{ background:var(--ink); color:#fff; border-bottom-right-radius:4px; }
.rd-ai__m--a .rd-ai__b{ background:var(--paper); color:var(--text); border-bottom-left-radius:4px; }
.rd-ai__b p{ margin:0 0 6px; } .rd-ai__b p:last-child{ margin-bottom:0; }
.rd-ai__b ul{ margin:4px 0 6px; padding-left:18px; }
.rd-ai__b a{ color:var(--brass-deep); font-weight:600; }
.rd-ai__card{ display:grid; grid-template-columns:54px minmax(0,1fr); gap:10px; border:1px solid var(--line); border-radius:12px; padding:9px; background:var(--surface); margin:6px 0; }
.rd-ai__cimg{ width:54px; height:54px; border-radius:9px; background:var(--paper); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.rd-ai__cimg img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.rd-ai__cn{ display:block; font-size:13.5px; font-weight:600; color:var(--ink) !important; line-height:1.3; }
.rd-ai__card small{ display:block; font-size:12px; color:var(--text-soft); }
.rd-ai__side{ background:var(--brass-soft); color:var(--ink); font-weight:600; border-radius:5px; padding:0 5px; }
.rd-ai__crow{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:5px; flex-wrap:wrap; }
.rd-ai__crow b{ font:600 16px var(--font-head); color:var(--ink); }
.rd-ai__crow s{ font:400 12px var(--font-body); color:var(--text-faint); }
.rd-ai__ask{ font:500 12.5px var(--font-body) !important; color:var(--text-soft) !important; }
.rd-ai__add{ border:0; border-radius:8px; background:var(--ink); color:#fff; font:600 12.5px var(--font-body); padding:7px 11px; cursor:pointer; }
.rd-ai__add.is-done{ background:var(--green); }
.rd-ai__human{ border:1px solid var(--line); border-radius:12px; padding:10px; background:var(--surface); display:grid; gap:6px; margin-top:6px; }
.rd-ai__human small{ color:var(--text-soft); font-size:12px; }
.rd-ai__hrow{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-ai__hrow a{ flex:1 1 110px; text-align:center; border-radius:9px; padding:8px; font-size:13px; font-weight:600; text-decoration:none; }
.rd-ai__call{ background:var(--ink); color:#fff !important; } .rd-ai__viber{ background:#7360F2; color:#fff !important; } .rd-ai__mail{ border:1px solid var(--line-2); color:var(--ink) !important; }
.rd-ai__trace{ font-size:11.5px; color:var(--text-faint); }
.rd-ai__trace summary{ cursor:pointer; display:block; list-style:none; }
.rd-ai__trace summary::-webkit-details-marker{ display:none; }
.rd-ai__trace summary::before{ content:"▸ "; } .rd-ai__trace[open] summary::before{ content:"▾ "; }
.rd-ai__trace pre{ margin:4px 0 0; white-space:pre-wrap; word-break:break-word; font:11px/1.5 ui-monospace,Consolas,monospace; background:var(--paper); border-radius:8px; padding:8px; color:var(--text-soft); }
.rd-ai__typing{ align-self:flex-start; background:var(--paper); border-radius:14px; padding:10px 14px; display:flex; gap:4px; }
.rd-ai__typing i{ width:6px; height:6px; border-radius:50%; background:var(--text-faint); animation:rdAiBl 1s infinite; }
.rd-ai__typing i:nth-child(2){ animation-delay:.15s; } .rd-ai__typing i:nth-child(3){ animation-delay:.3s; }
@keyframes rdAiBl{ 0%,80%{ opacity:.3; } 40%{ opacity:1; } }
.rd-ai__f{ border-top:1px solid var(--line); padding:9px 10px 10px; display:grid; gap:7px; background:var(--surface); }
.rd-ai__chips{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-ai__chips:empty{ display:none; }
.rd-ai__chips button{ border:1px solid var(--line-2); background:var(--surface); border-radius:999px; padding:5px 11px; font:500 12.5px var(--font-body); color:var(--ink); cursor:pointer; }
.rd-ai__in{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; }
.rd-ai__in textarea{ resize:none; border:1px solid var(--line-2); border-radius:10px; padding:10px 12px; font:14px/1.4 var(--font-body); min-height:42px; max-height:120px; }
.rd-ai__in textarea:focus{ outline:2px solid var(--brass); outline-offset:0; border-color:transparent; }
.rd-ai__in button{ border:0; border-radius:10px; background:var(--brass); color:var(--ink); font:700 16px var(--font-body); width:44px; height:42px; cursor:pointer; }
.rd-ai__legal{ margin:0; font-size:11px; color:var(--text-faint); line-height:1.35; }
@media (max-width:767px){
  .rd-ai{ right:0; left:0; bottom:0; width:auto; max-width:none; height:88vh; height:min(88dvh, calc(100dvh - var(--rd-ai-top, 62px))); min-height:0; border-radius:18px 18px 0 0; padding-bottom:env(safe-area-inset-bottom, 0px); }
  html.rd-ai-open .rd-ai__fab{ display:none; }
  html.rd-ai-open body{ overflow:hidden; }
  .rd-ai__hb button[data-ai="human"]{ padding:6px 7px; font-size:11.5px; }
  .rd-ai__in textarea{ font-size:16px; }      /* iOS does not zoom into a 16px field */
}
@media (prefers-reduced-motion:reduce){ .rd-ai__typing i{ animation:none; } .rd-ai__fab{ transition:none; } }
.rd-ai__act{ border:1.5px solid var(--brass); border-radius:12px; padding:11px; background:#FFFBF2; display:grid; gap:8px; margin:6px 0; font-size:13px; }
.rd-ai__act.is-done{ border-color:var(--green); background:var(--green-soft); color:#11694A; }
.rd-ai__at{ font:600 14px var(--font-body); color:var(--ink); }
.rd-ai__al{ margin:0; padding-left:18px; color:var(--text); }
.rd-ai__al i{ font-style:normal; font-weight:600; }
.rd-ai__ag{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rd-ai__act label{ display:grid; gap:3px; font-size:12px; font-weight:600; color:var(--text-soft); }
.rd-ai__act label small{ font-weight:400; color:var(--text-faint); }
.rd-ai__act input[type=text], .rd-ai__act input[type=tel], .rd-ai__act input[type=email], .rd-ai__act textarea{ border:1px solid var(--line-2); border-radius:8px; padding:8px 10px; font:14px var(--font-body); color:var(--text); background:#fff; min-width:0; }
.rd-ai__act textarea{ resize:vertical; }
.rd-ai__chk{ display:block !important; font-weight:400 !important; color:var(--text-soft) !important; line-height:1.45; }
.rd-ai__chk input{ margin:0 6px 0 0; vertical-align:-2px; accent-color:var(--ink); }
.rd-ai__ago{ border:0; border-radius:9px; background:var(--ink); color:#fff; font:600 14px var(--font-body); padding:10px 12px; cursor:pointer; }
.rd-ai__ago:disabled{ opacity:.6; cursor:default; }
.rd-ai__an{ color:var(--text-faint); font-size:11.5px; }
.rd-ai__err{ margin:0; color:var(--red); font-weight:600; }
@media (max-width:420px){ .rd-ai__ag{ grid-template-columns:1fr; } .rd-ai__act input, .rd-ai__act textarea{ font-size:16px; } }
.rd-ai__opts{ display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 4px; }
.rd-ai__opt{ border:1.5px solid var(--ink); background:#fff; color:var(--ink); border-radius:999px; padding:7px 12px; font:600 13px/1.25 var(--font-body); text-align:left; cursor:pointer; max-width:100%; }
.rd-ai__opt:hover{ background:var(--ink); color:#fff; }
.rd-ai__opt:focus-visible{ outline:3px solid var(--brass); outline-offset:2px; }
.rd-ai__opts.is-done .rd-ai__opt{ opacity:.45; cursor:default; }
.rd-ai__opts.is-done .rd-ai__opt:hover{ background:#fff; color:var(--ink); }
.rd-ai__opts.is-done .rd-ai__opt.is-on{ opacity:1; background:var(--ink); color:#fff; }
.rd-ai__typing .rd-ai__step{ margin-left:6px; font-size:12px; color:var(--text-soft); align-self:center; }

/* ================= rd-steps on a phone: the finished steps fold, the buttons of the car become visible =================
   The markup is the same for every screen (templates/products/rd_steps.tpl); a computer sees no change. The summary line
   and the "остава" line are hidden by default and only a phone shows them; js/rd-steps.js opens and closes the steps. */
.rd-steps__sum, .rd-steps__rest{ display:none; }
@media (max-width:767px){
	.rd-steps, .rd-steps--done{ grid-template-columns:minmax(0,1fr); gap:6px; }
	.rd-steps__sum{ display:flex; align-items:center; gap:10px; width:100%; max-width:100%; min-width:0; box-sizing:border-box; text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:9px 12px; font-family:var(--font-body); color:var(--text); cursor:pointer; }
	.rd-steps__sum i{ width:22px; height:22px; flex:0 0 auto; border-radius:50%; background:var(--green); color:#fff; font-style:normal; font-size:12px; display:flex; align-items:center; justify-content:center; }
	.rd-steps__sum span{ display:flex; flex-direction:column; min-width:0; flex:1 1 auto; }
	.rd-steps__sum small{ font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); }
	.rd-steps__sum b{ font-size:13.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
	.rd-steps__sum em{ font-style:normal; font-size:12px; color:var(--brass-deep); white-space:nowrap; }
	.rd-steps__sum svg{ width:16px; height:16px; flex:0 0 auto; fill:none; stroke:var(--brass-deep); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
	.rd-steps.is-open .rd-steps__sum svg{ transform:rotate(180deg); }
	/* folded: only the step of this page stays; the finished ones come back with the summary line */
	.rd-steps .rd-step--done, .rd-steps .rd-step--final, .rd-steps .rd-step:not(.rd-step--now):not(.rd-step--done):not(.rd-step--final){ display:none; }
	.rd-steps.is-open .rd-step--done{ display:flex; }
	.rd-steps__rest{ display:flex; align-items:center; gap:8px; padding:2px 4px; font-size:12px; color:var(--text-faint); }
	.rd-steps__rest i{ width:18px; height:18px; flex:0 0 auto; border-radius:50%; border:1.5px dashed var(--line-2); font-style:normal; font-size:10px; display:flex; align-items:center; justify-content:center; }
	/* the strip of the chosen car becomes its passport: the picture and the name on one row, the actions under them */
	.rd-carstrip{ position:static; flex-wrap:wrap; padding:10px 12px; gap:10px; }
	.rd-carstrip__acts{ display:flex; width:100%; margin-left:0; justify-content:stretch; gap:8px; flex-wrap:nowrap; }
	.rd-carstrip__acts .rd-pill{ height:44px; flex:1 1 0; min-width:0; justify-content:center; padding:0 10px; }
	.rd-carstrip__acts .rd-pill--ink{ background:#fff; border-color:var(--line-2); color:var(--ink); }
	.rd-carstrip__acts .rd-pill:first-child{ flex:1.6 1 0; background:var(--ink); border-color:var(--ink); color:#fff; }
	.rd-pill__more{ display:none; }
}
/* rd-ai: the delivery line of the order card */
.rd-ai__aw{ margin:6px 0; padding:6px 9px; border-radius:8px; background:var(--paper); font-size:12.5px; color:var(--text-soft); }
.rd-ai__act .rd-ai__ago[disabled]{ opacity:.6; cursor:default; }
.rd-ai__cart{ margin-top:8px; padding:8px 10px; border-radius:10px; background:var(--green-soft); color:var(--green-deep, #11694A); font-size:12.5px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.rd-ai__cart b{ font-weight:600; }
.rd-ai__cart button{ border:1px solid currentColor; background:transparent; color:inherit; border-radius:999px; padding:3px 10px; font:inherit; cursor:pointer; }
.rd-ai__aw label{ display:flex; gap:7px; align-items:center; padding:2px 0; cursor:pointer; }
.rd-ai__aw input[type=radio]{ accent-color:var(--ink); }

/* rd-fit: what THIS car asks of the part (TecDoc linkage criteria) — a quiet line under the name of the card.
   The whole list stays on the product page; here it is at most three, so the card keeps its height. */
.rd-pc__fit{ display:flex; gap:6px; align-items:flex-start; margin:4px 0 0; font-size:12px; line-height:1.4; color:var(--text-soft); }
.rd-pc__fit svg{ width:13px; height:13px; flex:0 0 auto; margin-top:2px; fill:none; stroke:var(--text-faint); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rd-pc__fit b{ font-weight:500; color:var(--text); }
.rd-pc__fit span{ min-width:0; }
@media (max-width:767px){ .rd-pc__fit{ font-size:11.5px; } }

/* ================= rd-fit on a phone: one bar, the choice in a sheet from the bottom (js/rd-pdany.js) =================
   The row with the garage and the selects is moved into the sheet while it is open; in the bar it stays hidden. */
.rd-fit__open{ display:none; }
@media (max-width:767px){
	.rd-fit{ grid-template-columns:auto minmax(0,1fr) auto; gap:6px 10px; padding:10px 12px; align-items:center; }
	.rd-fit__ic{ grid-row:auto; width:34px; height:34px; font-size:17px; }
	.rd-fit__t b{ font-size:15px; line-height:1.25; }
	.rd-fit__t span{ display:block; margin:1px 0 0; font-size:12px; }
	.rd-fit > .rd-fit__row{ display:none; }
	.rd-fit__res{ grid-column:1 / -1; }
	.rd-fit__open{ display:inline-flex; align-items:center; gap:5px; height:38px; padding:0 10px 0 12px; border:1.5px solid var(--ink); border-radius:999px; background:#fff; font-family:var(--font-body); font-size:12.5px; font-weight:600; color:var(--ink); cursor:pointer; }
	.rd-fit__open svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
	.rd-fit__open[hidden]{ display:none; }
	/* the sheet */
	.rd-fitsheet{ position:fixed; inset:0; z-index:1045; background:rgba(4,24,43,.45); display:flex; flex-direction:column; justify-content:flex-end; }
	.rd-fitsheet[hidden]{ display:none; }
	.rd-fitsheet__p{ background:var(--surface); border-radius:18px 18px 0 0; padding:10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); max-height:86dvh; overflow:auto; box-shadow:0 -12px 40px rgba(4,24,43,.25); }
	.rd-fitsheet__h{ display:block; width:40px; height:4px; border-radius:2px; background:var(--line-2); margin:0 auto 10px; }
	.rd-fitsheet__t{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
	.rd-fitsheet__t b{ font-family:var(--font-head); font-size:18px; font-weight:600; color:var(--ink); }
	.rd-fitsheet__x{ width:36px; height:36px; flex:0 0 auto; border:0; border-radius:50%; background:var(--paper); color:var(--ink); font-size:15px; cursor:pointer; }
	.rd-fitsheet .rd-fit__row{ display:flex; flex-direction:column; align-items:stretch; gap:8px; }
	.rd-fitsheet .rd-fit__gar{ flex-direction:column; align-items:stretch; gap:6px; }
	.rd-fitsheet .rd-fit__gar button{ padding:11px 12px; border-radius:10px; font-size:13px; text-align:left; }
	.rd-fitsheet .rd-fit__row select, .rd-fitsheet .rd-fit__row .select2-container{ max-width:none; flex-basis:auto; width:100% !important; }
	.rd-fitsheet .rd-fit__row select{ height:44px; font-size:16px; }
	.rd-fitsheet .rd-fit__row .select2-container--default .select2-selection--single{ height:44px; }
	.rd-fitsheet .rd-fit__row .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:42px; font-size:15px; }
	html.rd-fitsheet-open body{ overflow:hidden; }
	html.rd-fitsheet-open .rd-ai__fab{ display:none; }
}

/* rd-mm: the phone menu by sections (layout/index.tpl .mobile-menu .rd-mm) */
.mobile-menu__panel-body.rd-mm{ display:flex; flex-direction:column; padding:0 0 24px; }
.rd-mm__user{ display:flex; align-items:center; gap:12px; padding:14px 16px; background:var(--ink); color:#fff; text-decoration:none; }
.rd-mm__user:hover{ color:#fff; }
.rd-mm__ava{ width:38px; height:38px; flex:none; border-radius:50%; background:#10304F; display:flex; align-items:center; justify-content:center; }
.rd-mm__ava svg{ width:20px; height:20px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; }
.rd-mm__ut{ display:flex; flex-direction:column; gap:1px; min-width:0; flex:1; }
.rd-mm__ut b{ font-size:14px; }
.rd-mm__ut small{ font-size:12px; color:#B9C4D0; }
.rd-mm__chev{ color:#8B93A0; font-size:20px; }
.rd-mm__sec{ display:flex; flex-direction:column; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line); }
.rd-mm__h{ font:600 11px/1.2 var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--brass); }
.rd-mm__chips{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin:0 -16px; padding:0 16px; }
.rd-mm__chips::-webkit-scrollbar{ display:none; }
.rd-mm__chip{ flex:none; border:1px solid #D3D8DF; border-radius:999px; padding:7px 12px; font-size:12.5px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.rd-mm__chip.is-on{ border-color:var(--ink); background:var(--ink); color:#fff; font-weight:600; }
.rd-mm__chip--add{ border-style:dashed; border-color:#B9C1CB; color:var(--text-soft); }
.rd-mm__tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.rd-mm__tile{ display:flex; align-items:center; justify-content:center; text-align:center; min-height:52px; padding:8px 4px; background:#F3F5F7; border-radius:10px; font-size:11.5px; font-weight:600; line-height:1.2; color:var(--ink); text-decoration:none; }
.rd-mm__tile--all{ background:var(--ink); color:#fff; }
.rd-mm__row{ display:flex; justify-content:space-between; align-items:center; padding:9px 0; font-size:14.5px; font-weight:500; color:var(--ink); text-decoration:none; }
.rd-mm__row span{ color:#B9C1CB; }
.rd-mm__row em{ font-style:normal; margin-left:auto; margin-right:10px; min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--brass); color:var(--ink); font-size:11px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
.rd-mm__sec--help{ border-bottom:0; }
.rd-mm__phone{ display:flex; align-items:center; gap:8px; font-size:15px; font-weight:700; color:var(--ink); text-decoration:none; }
.rd-mm__phone svg{ width:18px; height:18px; fill:none; stroke:var(--ink); stroke-width:1.8; stroke-linejoin:round; }
.rd-mm__links{ display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; }
.rd-mm__links a{ color:var(--text-soft); text-decoration:none; }
/* rd-sheets: the garage / profile sheets in the drawer (#rdCart[data-mode=sheet], js/rd-mmenu.js) */
.rd-cart[data-mode=sheet] .rd-cart__ok, .rd-cart[data-mode=sheet] .rd-cart__only-added, .rd-cart[data-mode=sheet] .rd-cart__only-cart, .rd-cart[data-mode=sheet] .rd-cart__list, .rd-cart[data-mode=sheet] .rd-cart__added,
.rd-cart[data-mode=sheet] .rd-cart__fit, .rd-cart[data-mode=sheet] .rd-cart__side, .rd-cart[data-mode=sheet] .rd-cart__eta, .rd-cart[data-mode=sheet] .rd-cart__more, .rd-cart[data-mode=sheet] .rd-cart__ask, .rd-cart[data-mode=sheet] .rd-cart__cnt, .rd-cart[data-mode=sheet] .rd-cart__trust{ display:none !important; }
.rd-cart[data-mode=sheet] .rd-cart__foot{ display:none; }
@media (max-width:700px){ .rd-cart[data-mode=sheet]{ max-height:92vh; } }
.rd-sh{ display:flex; flex-direction:column; gap:0; }
.rd-sh__row{ display:flex; gap:12px; align-items:center; padding:12px 0; border-top:1px solid var(--line); color:var(--ink); text-decoration:none; }
.rd-sh__row:first-child{ border-top:0; }
.rd-sh__ico{ width:40px; height:40px; flex:none; border-radius:50%; background:#F3F5F7; display:flex; align-items:center; justify-content:center; }
.rd-sh__ico svg{ width:20px; height:20px; fill:none; stroke:var(--ink); stroke-width:2; stroke-linejoin:round; }
.rd-sh__row.is-on .rd-sh__ico{ background:var(--ink); } .rd-sh__row.is-on .rd-sh__ico svg{ stroke:#E2B45A; }
.rd-sh__t{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.rd-sh__t b{ font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-sh__t span{ font-size:12px; color:var(--text-soft); }
.rd-sh__on{ flex:none; font:700 11px var(--font-body); letter-spacing:.06em; text-transform:uppercase; color:#1A8A55; }
.rd-sh__btn{ flex:none; height:32px; display:inline-flex; align-items:center; padding:0 12px; border:1.5px solid var(--ink); border-radius:999px; background:var(--surface); font:700 12.5px var(--font-body); color:var(--ink); text-decoration:none; cursor:pointer; }
.rd-sh__btn:hover{ background:var(--ink); color:#fff; }
.rd-sh__chev{ color:#B9C1CB; font-size:18px; flex:none; }
.rd-sh__badge{ flex:none; font-size:11px; font-weight:700; padding:3px 8px; border-radius:999px; background:#F3F5F7; color:var(--ink); }
.rd-sh__sec{ display:flex; flex-direction:column; gap:8px; padding:12px 0 6px; border-top:1px solid var(--line); }
.rd-sh__h{ font:600 11px/1.2 var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--brass); }
.rd-sh__tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.rd-sh__tile{ display:flex; align-items:center; justify-content:center; text-align:center; min-height:44px; padding:6px 4px; background:#F3F5F7; border-radius:10px; font-size:11.5px; font-weight:600; line-height:1.2; color:var(--ink); text-decoration:none; }
.rd-sh__tile--all{ background:var(--ink); color:#fff; }
.rd-sh__foot{ display:flex; flex-direction:column; gap:10px; padding:12px 0 4px; border-top:1px solid var(--line); }
.rd-sh__big{ display:flex; align-items:center; justify-content:center; height:46px; border:1.5px solid var(--ink); border-radius:12px; background:var(--surface); font:700 14px var(--font-body); color:var(--ink); text-decoration:none; cursor:pointer; }
.rd-sh__big--ink{ background:var(--ink); color:#fff; }
.rd-sh__big--brass{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.rd-sh__links{ display:flex; justify-content:space-between; gap:12px; font-size:13.5px; font-weight:600; }
.rd-sh__links a{ color:var(--ink); text-decoration:none; } .rd-sh__links a + a{ color:var(--text-soft); }
.rd-sh__pick{ display:flex; flex-direction:column; gap:8px; padding-top:4px; }
.rd-sh__pick select{ height:44px; width:100%; border:1px solid #D3D8DF; border-radius:10px; background:var(--surface); font:inherit; font-size:14px; color:var(--ink); padding:0 12px; }
.rd-sh__pick select:disabled{ background:#F3F5F7; color:#8B93A0; }
.rd-sh__user{ display:flex; align-items:center; gap:12px; padding:0 0 12px; }
.rd-sh__ava{ width:44px; height:44px; flex:none; border-radius:50%; background:var(--ink); color:#E2B45A; font:700 18px var(--font-head); display:flex; align-items:center; justify-content:center; }
.rd-sh__user b{ font:600 20px var(--font-head); display:block; }
.rd-sh__user span{ font-size:12.5px; color:var(--text-soft); }
.rd-sh__last{ display:flex; align-items:center; gap:10px; padding:12px 14px; background:#F3F5F7; border-radius:12px; margin-bottom:6px; }
.rd-sh__last i{ width:30px; height:30px; flex:none; border-radius:50%; background:#1A8A55; display:flex; align-items:center; justify-content:center; }
.rd-sh__last i.is-done{ background:#5B6472; }
.rd-sh__last svg{ width:16px; height:16px; fill:none; stroke:#fff; stroke-width:2; stroke-linejoin:round; }
.rd-sh__last .rd-sh__t b{ font-size:13.5px; }
.rd-sh__last a{ flex:none; font-size:12.5px; font-weight:700; color:var(--brass-deep); text-decoration:none; }
.rd-sh__note{ font-size:13px; color:var(--text-soft); line-height:1.45; }.rd-sh__img{ width:52px; height:52px; flex:none; border-radius:10px; background:#F3F5F7; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.rd-sh__img img{ max-width:100%; max-height:100%; object-fit:contain; }
.rd-sh__price{ font:600 15px var(--font-head); font-style:normal; color:var(--ink); }
.rd-sh__price--no{ font:500 12px var(--font-body); color:#9B1C1C; }
.rd-sh__add.rd-add--done{ background:var(--ink); color:#fff; }
/* rd-srh: the search window — the empty state, the car scope, the scan button, the add button of a suggestion */
.rd-srh{ padding:12px 10px 16px; display:flex; flex-direction:column; gap:16px; font-family:var(--font-body); }
.rd-srh[hidden]{ display:none; }
.rd-srh__g{ display:flex; flex-direction:column; gap:8px; }
.rd-srh__h{ font:600 11px/1.2 var(--font-head); letter-spacing:.08em; text-transform:uppercase; color:var(--brass); }
.rd-srh__chips{ display:flex; gap:6px; flex-wrap:wrap; }
.rd-srh__chip{ display:inline-flex; padding:8px 12px; border-radius:999px; background:var(--paper); font-size:13px; color:var(--ink) !important; text-decoration:none !important; }
.rd-srh__tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.rd-srh__tile{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 6px; background:var(--paper); border:0; border-radius:12px; font:600 12px/1.25 var(--font-body); color:var(--ink); text-align:center; cursor:pointer; }
.rd-srh__tile span{ font-weight:400; color:var(--text-soft); font-size:11px; }
.rd-srh__tile svg{ width:24px; height:24px; fill:none; stroke:var(--ink); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rd-srh__list{ display:flex; flex-direction:column; }
.rd-srh__row{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:11px 0; border-top:1px solid var(--line); font-size:14.5px; font-weight:500; color:var(--ink) !important; text-decoration:none !important; }
.rd-srh__row span{ font-size:12px; font-weight:400; color:var(--text-faint); white-space:nowrap; }
.rd-srscope{ display:flex; gap:6px; padding:0 10px 10px; }
.rd-srscope[hidden]{ display:none; }
.rd-srscope__b{ height:32px; display:inline-flex; align-items:center; gap:6px; padding:0 12px; border:1px solid var(--line-2); border-radius:999px; background:var(--surface); font:600 12.5px var(--font-body); color:var(--text-soft); cursor:pointer; }
.rd-srscope__b svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round; }
.rd-srscope__b.is-on{ background:var(--brass); border-color:var(--brass); color:var(--ink); }
.rd-srscan{ position:absolute; right:112px; top:0; width:44px; height:64px; border:0; background:transparent; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.rd-srscan[hidden]{ display:none; }
.rd-srscan svg{ width:22px; height:22px; fill:none; stroke:var(--ink); stroke-width:2; stroke-linecap:round; }
.rd-sg__row{ display:flex; align-items:center; gap:6px; padding-right:10px; }
.rd-sg__row .rd-sg__i{ flex:1; min-width:0; }
.rd-sg__add{ flex:none; height:30px; padding:0 11px; border:1.5px solid var(--ink); border-radius:999px; background:var(--surface); font:700 12px var(--font-body); color:var(--ink); cursor:pointer; white-space:nowrap; }
.rd-sg__add.rd-add--done{ background:var(--ink); color:#fff; }
.rd-scan{ position:fixed; inset:0; z-index:3000; background:rgba(4,24,43,.92); display:flex; align-items:center; justify-content:center; }
.rd-scan__box{ position:relative; width:min(92vw,420px); display:flex; flex-direction:column; align-items:center; gap:12px; }
.rd-scan__v{ width:100%; border-radius:14px; background:#000; aspect-ratio:4/3; object-fit:cover; }
.rd-scan__frame{ position:absolute; left:10%; right:10%; top:28%; height:26%; border:2px solid var(--brass); border-radius:10px; pointer-events:none; }
.rd-scan__t{ margin:0; color:#DDE3EA; font-size:14px; text-align:center; }
.rd-scan__x{ height:40px; padding:0 18px; border:1.5px solid #fff; border-radius:999px; background:transparent; color:#fff; font:600 14px var(--font-body); cursor:pointer; }/* rd-mm: the theme's close button of the phone menu lies over the dark user row — a white cross on a soft disc */
.mobile-menu__body .mobile-menu__close{ background:rgba(255,255,255,.12); border-radius:50%; width:36px; height:36px; top:12px; right:10px; display:flex; align-items:center; justify-content:center; }
.mobile-menu__body .mobile-menu__close svg{ fill:#fff; }
.mobile-menu__body .mobile-menu__close:hover{ background:rgba(255,255,255,.22); }
/* the close cross sits where the user row's chevron was: no chevron there, room kept for the cross */
.rd-mm__user{ padding-right:56px; }
.rd-mm__user .rd-mm__chev{ display:none; }
/* the scan button sits on the line of the field, not above it */
.rd-srscan{ top:50%; height:44px; transform:translateY(-50%); }
/* the scan button is placed against the title bar of the window, not the whole window */
#search-modal .search-modal__title{ position:relative; }
/* the scan button is one of the bar's buttons (a flex item like the lens and the cross), not floated over it */
#search-modal .rd-srscan{ position:static; top:auto; right:auto; transform:none; height:auto; width:44px; align-self:stretch; }
/* the cross stays visible over both the dark user row and the white list below it: a solid disc with a light rim */
.mobile-menu__body .mobile-menu__close{ background:#10304F; border:1.5px solid rgba(255,255,255,.4); box-shadow:0 2px 8px rgba(4,24,43,.25); }
.mobile-menu__body .mobile-menu__close:hover{ background:var(--ink); }

/* rd-batcap: the capacity chips on the battery pages ("44 Ah · 14") */
.rd-cat__capsec{ margin-top:28px; }
.rd-cat__capchips{ display:flex; flex-wrap:wrap; gap:8px; }
.rd-cat__capc{ display:inline-flex; align-items:baseline; gap:7px; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:9px 16px; text-decoration:none; color:var(--ink); font-family:var(--font-head); font-weight:600; font-size:17px; line-height:1; transition:border-color .15s, background .15s; }
.rd-cat__capc:hover{ border-color:var(--brass); text-decoration:none; color:var(--ink); }
.rd-cat__capc span{ font-family:var(--font-body); font-weight:400; font-size:12px; color:var(--text-soft); }
.rd-cat__capc.is-on{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rd-cat__capc.is-on span{ color:#cfd6dd; }
@media (max-width:767px){ .rd-cat__capchips{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:6px; scrollbar-width:none; -webkit-overflow-scrolling:touch; } .rd-cat__capchips::-webkit-scrollbar{ display:none; } .rd-cat__capc{ flex:none; } }

/* rd-pc: the schema card of the chat — the maker's drawing with the positions, the customer clicks the position */
.rd-ai__sch{ border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:9px; margin:6px 0; }
.rd-ai__sch > a{ display:block; border-radius:8px; overflow:hidden; background:#fff; }
.rd-ai__sch img{ display:block; width:100%; height:auto; max-height:360px; object-fit:contain; }
.rd-ai__sch small{ display:block; margin:6px 0 4px; font-size:12px; color:var(--text-soft); }
.rd-ai__sch .rd-ai__opts{ margin:4px 0 0; }
.rd-ai__sch .rd-ai__opt{ padding:6px 10px; font-size:12.5px; }
.rd-ai__sch .rd-ai__opt em{ font-style:normal; font-weight:700; margin-right:5px; }

/* rd-pc: the hotspots on the drawing — a brass ring on every number that has a part; the corner button opens the picture */
.rd-ai__schpic{ position:relative; border-radius:8px; background:#fff; }      /* no overflow clip: the tooltip and the picker stick out of the picture */
.rd-ai__schpic img{ display:block; width:100%; height:auto; max-height:360px; object-fit:contain; border-radius:8px; }
.rd-ai__spot{ position:absolute; display:none; width:26px; height:26px; margin:0; padding:0; border:2px solid var(--brass); border-radius:50%; background:rgba(201,154,62,.18); transform:translate(-50%,-50%); cursor:pointer; box-shadow:0 0 0 2px rgba(255,255,255,.7); }
.rd-ai__spot.is-set{ display:block; }
.rd-ai__spot:hover, .rd-ai__spot:focus-visible{ background:rgba(201,154,62,.45); border-color:var(--brass-deep); outline:none; }
.rd-ai__spot--many::after{ content:''; position:absolute; right:-3px; top:-3px; width:8px; height:8px; border-radius:50%; background:var(--ink); }
.rd-ai__schzoom{ position:absolute; right:6px; top:6px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:6px; background:rgba(4,24,43,.75); color:#fff; font-size:16px; text-decoration:none; }
.rd-ai__schzoom:hover{ background:var(--ink); color:#fff; }
.rd-ai__opt.is-hot{ outline:3px solid var(--brass); outline-offset:2px; }

/* rd-pc: the drawing large — a layer over the whole window (inside the chat panel) with the same hotspots */
.rd-ai__zoom{ position:fixed; inset:0; z-index:20; background:rgba(4,24,43,.88); display:flex; align-items:center; justify-content:center; padding:16px; }
.rd-ai__zoomin{ width:min(96vw, 1100px); max-height:92vh; overflow:auto; border-radius:10px; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.4); }
.rd-ai__zoomin .rd-ai__schpic{ border-radius:0; overflow:visible; }
.rd-ai__zoomin .rd-ai__schpic img{ max-height:none; width:100%; }
.rd-ai__zoomin .rd-ai__spot{ width:34px; height:34px; }
.rd-ai__zoomx{ position:absolute; right:14px; top:14px; width:40px; height:40px; border:0; border-radius:50%; background:#fff; color:var(--ink); font-size:18px; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.3); }
.rd-ai__zoomx:hover{ background:var(--brass); }

/* rd-pc: the drawing alone — the list under it is hidden when there are hotspots; a tooltip on hover and a picker on click */
.rd-ai__sch.has-spots .rd-ai__opts{ display:none; }
.rd-ai__sch.has-spots > small{ margin-bottom:0; }
.rd-ai__tip, .rd-ai__pick{ position:absolute; z-index:5; transform:translate(-50%, 20px); max-width:min(280px, 90%); border-radius:10px; font:400 12.5px/1.35 var(--font-body); text-align:left; }
.rd-ai__tip.is-up, .rd-ai__pick.is-up{ transform:translate(-50%, calc(-100% - 20px)); }
.rd-ai__tip{ pointer-events:none; background:var(--ink); color:#fff; padding:8px 10px; box-shadow:0 8px 24px rgba(4,24,43,.3); }
.rd-ai__tip small, .rd-ai__pick small{ display:block; font-size:11px; opacity:.75; margin-bottom:3px; }
.rd-ai__tip div + div{ margin-top:4px; padding-top:4px; border-top:1px solid rgba(255,255,255,.18); }
.rd-ai__tip i, .rd-ai__pickb i{ font-style:normal; opacity:.8; }
.rd-ai__tip code, .rd-ai__pickb code{ font:600 11.5px/1 var(--font-body); letter-spacing:.2px; opacity:.9; }
.rd-ai__tip em{ display:block; margin-top:5px; font-style:normal; font-size:11px; color:var(--brass); }
.rd-ai__pick{ background:#fff; color:var(--text); padding:10px 10px 8px; border:1.5px solid var(--ink); box-shadow:0 12px 30px rgba(4,24,43,.3); min-width:200px; }
.rd-ai__pick small{ padding-right:26px; }
.rd-ai__pickx{ position:absolute; right:6px; top:6px; width:24px; height:24px; border:0; border-radius:50%; background:var(--paper); color:var(--ink); font-size:12px; cursor:pointer; }
.rd-ai__pickb{ display:block; width:100%; margin-top:5px; padding:7px 9px; border:1.5px solid var(--line-2); border-radius:8px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; font:400 12.5px/1.35 var(--font-body); }
.rd-ai__pickb:hover, .rd-ai__pickb:focus-visible{ border-color:var(--ink); background:var(--paper); outline:none; }
.rd-ai__pickb b{ font-weight:600; }

/* rd-vin: the camera button of the chat form (a photo of the registration document → the VIN) */
.rd-ai__in{ grid-template-columns:auto minmax(0,1fr) auto; }
.rd-ai__cam{ width:42px; height:42px; border:1px solid var(--line-2); border-radius:10px; display:grid; place-items:center; cursor:pointer; color:var(--ink); background:#fff; margin:0; }
.rd-ai__cam:hover, .rd-ai__cam:focus-within{ border-color:var(--ink); background:var(--paper); }
.rd-ai__cam input{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.rd-ai__cam svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }

/* rd-live: the operator in the customer's chat — his bubbles carry a brass edge and his name; the header turns green while a person answers */
.rd-ai__m--o .rd-ai__b{ border-left:3px solid var(--brass); }
.rd-ai__op{ font-size:11px; font-weight:700; color:var(--brass-deep); margin:0 0 3px; letter-spacing:.2px; }
.rd-ai.is-live .rd-ai__ht small{ color:#9FE3BD; }
.rd-ai.is-live .rd-ai__av{ background:linear-gradient(135deg,#1E9E6B,#7BD3A5); }

/* rd-vinai: the VIN pane leads to the assistant — VIN + what, "Покажи частите сега", "Снимай талона"; the phone request below */
.rd-fvin--ai{ grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) auto; align-items:end; }
.rd-fvin--ai .rd-fvin__vin input{ font-size:17px; letter-spacing:1px; font-weight:600; }
.rd-fvin--ai label small{ font-weight:400; color:var(--text-faint); }
.rd-fvin__acts{ display:flex; gap:8px; }
.rd-fvin--ai .rd-fvin__ai{ height:52px; padding:0 22px; white-space:nowrap; }
.rd-fvin__cam{ height:52px; padding:0 16px; border:1.5px solid var(--ink); border-radius:10px; background:#fff; color:var(--ink); font-weight:700; cursor:pointer; white-space:nowrap; }
.rd-fvin__cam:hover{ background:var(--paper); }
.rd-fvin__call{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding-top:4px; border-top:1px dashed var(--line-2); margin-top:4px; }
.rd-fvin__call[hidden]{ display:none; }
.rd-fvin__call .rd-trk__go{ height:52px; padding:0 22px; }
.rd-fvin__feats{ display:flex; flex-wrap:wrap; gap:6px 16px; margin:10px 0 0; font-size:12.5px; color:var(--text-soft); }
.rd-fvin__feats span:before{ content:'✓ '; color:var(--brass-deep); font-weight:700; }
.rd-fvin__phone{ border:0; background:none; padding:0; color:var(--ink); font-weight:700; text-decoration:underline; text-decoration-color:var(--brass); text-underline-offset:3px; cursor:pointer; font-size:inherit; }
@media (max-width:900px){ .rd-fvin--ai{ grid-template-columns:minmax(0,1fr); } .rd-fvin__acts{ flex-wrap:wrap; } .rd-fvin--ai .rd-fvin__ai{ flex:1 1 220px; } .rd-fvin__cam{ flex:1 1 140px; } }

/* rd-vinai: product page — the fit check by VIN in the chat */
.rd-fit__vin{ display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; font-size:13px; color:var(--text-soft); padding-top:10px; margin-top:4px; border-top:1px dashed var(--line); }
.rd-fit__vinbtn{ border:0; background:none; padding:0; color:var(--ink); font-weight:700; font-size:13.5px; cursor:pointer; border-bottom:2px solid var(--brass); }
.rd-fit__vinbtn:hover{ color:var(--brass-deep); }

/* rd-vinai: the nudge above the chat bubble — once a visit on product and category pages */
.rd-ai__nudge{ position:fixed; right:20px; bottom:calc(92px + env(safe-area-inset-bottom, 0px)); z-index:1055; width:min(290px, calc(100vw - 40px)); background:#fff; color:var(--text); border-radius:14px; box-shadow:0 14px 40px rgba(4,24,43,.25); padding:12px 34px 12px 14px; font:14px/1.4 var(--font-body); animation:rdAiNudge .35s ease-out; }
.rd-ai__nudge:after{ content:''; position:absolute; right:22px; bottom:-8px; border:8px solid transparent; border-top-color:#fff; border-bottom:0; }
.rd-ai__nudge b{ display:block; color:var(--ink); font-size:15px; margin:0 0 2px; }
.rd-ai__nudgex{ position:absolute; right:6px; top:6px; width:26px; height:26px; border:0; border-radius:50%; background:none; color:var(--text-faint); cursor:pointer; font-size:13px; }
.rd-ai__nudgex:hover{ background:var(--paper); }
.rd-ai__nudgeb{ display:flex; gap:6px; margin-top:9px; }
.rd-ai__nudgeb button{ border:0; border-radius:999px; padding:6px 12px; font-weight:700; font-size:12.5px; cursor:pointer; background:var(--brass); color:var(--ink); }
.rd-ai__nudgeb button + button{ background:#fff; border:1px solid var(--line-2); }
@keyframes rdAiNudge{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
html.rd-ai-open .rd-ai__nudge{ display:none; }
.rd-fhint:empty{ display:none; }
.rd-fvin__alt[hidden]{ display:none; }
/* rd-vinai fix: the "Провери по VIN" line of the fit box spans the whole box (it took a grid column and squeezed the title);
   on a phone the icon, the title and the round "Провери" button (appended by js/rd-pdany.js after it) stay on the first row */
.rd-fit__vin{ grid-column:1 / -1; }
@media (max-width:767px){
	.rd-fit > .rd-fit__ic{ grid-row:1; grid-column:1; }
	.rd-fit > .rd-fit__t{ grid-row:1; grid-column:2; }
	.rd-fit > .rd-fit__open{ grid-row:1; grid-column:3; }
}

/* rd-vbcont: the assistant in Viber — the chat header button, the QR answer, the links around the site */
.rd-vbi{ width:20px; height:20px; flex:0 0 auto; }
.rd-ai__hb .rd-ai__vbb{ display:inline-grid; place-items:center; padding:3px 6px; }
.rd-ai__hb .rd-ai__vbb[hidden]{ display:none; }
.rd-ai__vbb svg{ width:20px; height:20px; }
.rd-ai__vbqr{ display:flex; gap:12px; align-items:flex-start; }
.rd-ai__vbqrc{ flex:0 0 auto; padding:6px; background:#fff; border:1px solid var(--line); border-radius:10px; line-height:0; }
.rd-ai__vbqrc img, .rd-ai__vbqrc canvas{ width:136px; height:136px; }
.rd-ai__vbqr b{ display:block; color:var(--ink); margin-bottom:3px; }
.rd-ai__vbqr span{ display:block; font-size:13px; line-height:1.4; color:var(--text-soft); margin-bottom:8px; }
.rd-ai__vbgo{ background:#7360F2 !important; color:#fff !important; border-color:#7360F2 !important; text-decoration:none; }
.rd-ai__vbtip{ font-size:13.5px; }
.rd-fvin__vb{ margin:8px 0 0; font-size:13px; }
.rd-fvin__vb a{ display:inline-flex; align-items:center; gap:7px; color:var(--text-soft); text-decoration:none; }
.rd-fvin__vb a b{ color:#5B4BD6; font-weight:700; }
.rd-fvin__vb a:hover b{ text-decoration:underline; }
.rd-fit__vb{ display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; color:#5B4BD6; text-decoration:none; }
.rd-fit__vb .rd-vbi{ width:17px; height:17px; }
.rd-vbind .indicator__icon .rd-vbi{ width:30px; height:30px; }
@media (max-width:1199px){ .rd-vbind{ display:none; } }
.rd-mm__vb{ display:flex; align-items:center; gap:10px; padding:10px 0; color:inherit; text-decoration:none; }
.rd-mm__vb .rd-vbi{ width:26px; height:26px; }
.rd-mm__vb b{ display:block; }
.rd-mm__vb small{ display:block; opacity:.75; font-size:12px; }
.rd-ftvb{ display:inline-flex; align-items:center; gap:6px; }
.rd-ftvb .rd-vbi{ width:18px; height:18px; }
.rd-nf__btn--vb{ display:inline-flex; align-items:center; gap:7px; background:#7360F2 !important; color:#fff !important; border-color:#7360F2 !important; }
.rd-nf__btn--vb .rd-vbi path:first-child{ fill:#fff; } .rd-nf__btn--vb .rd-vbi path:last-child{ fill:#7360F2; }
.rd-st__c--vb .rd-vbi{ width:26px; height:26px; }
/* rd-chathdr: the chat header on one row — the title and the line under it do not wrap (they end with "…"), the
   person button is an icon (headset) like the others; its text stays for screen readers and as the tooltip */
.rd-ai__ht{ min-width:0; flex:1 1 auto; }
.rd-ai__ht b, .rd-ai__ht small{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rd-ai__hb{ flex:0 0 auto; align-items:center; }
.rd-ai__hb .rd-ai__vbb, .rd-ai__hb button[data-ai="human"], .rd-ai__hb button[data-ai="new"], .rd-ai__hb button[data-ai="close"]{ width:32px; height:32px; padding:0; display:inline-grid; place-items:center; }
.rd-ai__hb .rd-ai__vbb[hidden]{ display:none; }
.rd-ai__hb button[data-ai="human"]{ font-size:0; }
.rd-ai__hb button[data-ai="human"]::before{ content:""; width:18px; height:18px; background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 20a3 3 0 0 1-3 2h-3'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 20a3 3 0 0 1-3 2h-3'/%3E%3C/svg%3E") center/contain no-repeat; }

/* rd-vbcont: the Viber line of the footer sits under the phone (the four contact blocks stay 2 x 2) */
.footer-contacts__contacts dd.rd-ftvbdd{ margin-top:6px; font-size:13px; }
.rd-ftvbdd .rd-ftvb{ opacity:.9; }

/* rd-acct: the free profile card of the chat */
.rd-ai__gbtn{ display:flex; align-items:center; justify-content:center; gap:9px; min-height:42px; border:1px solid var(--line-2); border-radius:10px; background:#fff; color:#1F1F1F; font-weight:600; font-size:14px; text-decoration:none; }
.rd-ai__gbtn:hover{ border-color:#9AA4B2; background:#F8F9FA; }
.rd-ai__or{ display:flex; align-items:center; gap:8px; color:var(--text-faint); font-size:12px; }
.rd-ai__or::before, .rd-ai__or::after{ content:""; flex:1; height:1px; background:var(--line-2); }
.rd-ai__acct .rd-ai__an a, .rd-ai__acct .rd-ai__chk a{ color:inherit; }.rd-ai .rd-ai__gbtn, .rd-ai .rd-ai__gbtn:hover{ color:#1F1F1F !important; text-decoration:none !important; }
