/* ============================================================
   ОСНОВА: Авто Б2Б — готовый интернет-магазин автозапчастей для 1С-Битрикс · S-WEBS24 × profycode.pro
   Дизайн-токены: весь акцентный цвет — через CSS-переменные.
   Смена темы = смена data-theme на <body>, HTML не меняется.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Russo+One&display=swap');

/* ---------- Design tokens ---------- */
:root {
    /* нейтральная база — не меняется от темы */
    --ink: #14171C;
    --ink-80: rgba(20, 23, 28, .8);
    --ink-60: rgba(20, 23, 28, .6);
    --ink-40: rgba(20, 23, 28, .4);
    --line: rgba(20, 23, 28, .15);
    --surface: #F3F5F8;
    --white: #FFFFFF;
    --success: #1D9E57;
    --success-tint: #E4F5EB;
    --danger: #D92D20;

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Russo One', 'Inter', sans-serif;

    --r-sm: 8px;
    --r-md: 10px;
    --r-lg: 14px;

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --t-fast: .15s ease-out;
    --t-med: .35s ease-in-out;
}

/* ---------- Цветовые темы (скины модуля) ---------- */
body[data-theme="orange"] {
    --primary: #F05A14;
    --primary-strong: #C74508;
    --primary-tint: #FDE9DC;
    --primary-shadow: rgba(240, 90, 20, .45);
}

body[data-theme="blue"] {
    --primary: #2563EB;
    --primary-strong: #1C4FD6;
    --primary-tint: #E3EBFD;
    --primary-shadow: rgba(37, 99, 235, .45);
}

body[data-theme="green"] {
    --primary: #0E9F6E;
    --primary-strong: #0A7A55;
    --primary-tint: #DFF4EB;
    --primary-shadow: rgba(14, 159, 110, .45);
}

body[data-theme="red"] {
    --primary: #E11D48;
    --primary-strong: #B4123A;
    --primary-tint: #FBE3E9;
    --primary-shadow: rgba(225, 29, 72, .45);
}

body[data-theme="violet"] {
    --primary: #7C3AED;
    --primary-strong: #6220D6;
    --primary-tint: #EEE5FD;
    --primary-shadow: rgba(124, 58, 237, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

input, select, textarea {
    font: inherit;
    color: inherit;
}

input::placeholder, textarea::placeholder {
    color: var(--ink-40);
    transition: color .25s;
}

input:focus::placeholder, textarea:focus::placeholder {
    color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ---------- Icons ---------- */
.ic {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: none;
}

.ic-lg {
    width: 22px;
    height: 22px;
}

/* ---------- Typography helpers ---------- */
.kicker,
.kicker + [id^="bx_incl_area"] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
}

.h1 {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1.15;
    font-weight: 400;
}

.h2 {
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1.2;
    font-weight: 400;
}

.h2-light {
    color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: translate var(--t-fast), box-shadow .3s ease, background-color var(--t-med), color .3s ease, border-color .3s ease;
}

.btn .ic, .btn .btn-t {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    left: var(--rx, 50%);
    top: var(--ry, 50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .45s var(--ease-out);
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(42);
}

.btn:hover {
    translate: 0 -2px;
}

.btn:active {
    scale: .95;
    transition-duration: .1s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary::before {
    background: var(--primary-strong);
}

.btn-primary:hover {
    box-shadow: 0 12px 26px -10px var(--primary-shadow);
}

.btn-outline {
    background: var(--white);
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline::before {
    background: var(--primary-tint);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark::before {
    background: #000;
}

.btn-ghost-light {
    background: var(--white);
    color: var(--primary);
}

.btn-ghost-light::before {
    background: var(--primary-tint);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .7);
    color: #fff;
}

.btn-outline-light::before {
    background: rgba(255, 255, 255, .14);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ripple при нажатии (span создаётся из JS) */
.ripple {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ripple .65s var(--ease-out) forwards;
}

.btn-outline .ripple, .btn-ghost-light .ripple, .btn-outline-light .ripple {
    background: var(--primary-tint);
}

.btn-outline-light .ripple {
    background: rgba(255, 255, 255, .25);
}

@keyframes ripple {
    to {
        width: 520px;
        height: 520px;
        opacity: 0;
    }
}

/* ---------- Underline-ссылки ---------- */
.link-u {
    position: relative;
    width: fit-content;
}

.link-u::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1.5px;
    width: 0;
    background: currentColor;
    transition: width .3s linear;
}

.link-u:hover::after,
.link-u.is-active::after {
    width: 100%;
}

.more-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.more-link::after {
    content: "→";
    transition: translate .25s var(--ease-out);
}

.more-link:hover::after {
    translate: 5px 0;
}

/* ============================================================
   TOPBAR + HEADER
   ============================================================ */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.tb-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .7);
    transition: color .25s;
}

.tb-item:hover {
    color: #fff;
}

.tb-item .ic {
    width: 13px;
    height: 13px;
}

.tb-strong {
    color: #fff;
    font-weight: 600;
}

.tb-accent {
    color: var(--primary);
    font-weight: 700;
}

.topbar .link-u::after {
    background: currentColor;
}

.header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow .3s;
}

.header.is-scrolled {
    box-shadow: 0 10px 30px -14px rgba(20, 23, 28, .25);
}

.header-in {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 92px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    transition: rotate .5s var(--ease-out), background-color var(--t-med);
}

.logo:hover .logo-box {
    rotate: -8deg;
}

.logo-ic {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.logo-txt {
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-txt small {
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-60);
    font-weight: 600;
}

.btn-catalog {
    flex: none;
}

.search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 6px 6px 6px 16px;
    height: 48px;
    transition: border-color .3s, box-shadow .3s;
}

.search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-tint);
}

.search-ic {
    color: var(--ink-60);
}

.search input {
    flex: 1;
    border: 0;
    background: none;
    outline: none;
    font-size: 14px;
}

.hnav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.hnav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    color: var(--ink);
    transition: color .25s, background-color .25s;
}

.hnav-item small {
    font-size: 10px;
    color: var(--ink-60);
    transition: color .25s;
}

.hnav-item:hover {
    color: var(--primary);
}

.hnav-item:hover small {
    color: var(--primary);
}

.hnav-item .ic {
    width: 20px;
    height: 20px;
    transition: translate .25s var(--ease-out);
}

.hnav-item:hover .ic {
    translate: 0 -2px;
}

.badge {
    position: absolute;
    top: 2px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: var(--primary);
    color: #fff;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.badge.pop {
    animation: badge-pop .4s var(--ease-out);
}

@keyframes badge-pop {
    40% {
        scale: 1.5;
    }
}

.hnav-user {
    border-left: 1px solid var(--line);
    border-radius: 0;
    padding-left: 18px;
    margin-left: 4px;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.hnav-user small {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    margin-top: 96px;
}

.footer-in {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 56px 20px 40px;
}

.footer .logo-txt {
    color: #fff;
}

.f-about p {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 18px;
    max-width: 340px;
}

.f-col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
}

.f-col a {
    display: block;
    width: fit-content;
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .6);
    transition: color .25s;
}

.f-col a:hover {
    color: #fff;
}

.f-phone {
    font-size: 17px !important;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 12px;
}

.f-contacts p {
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

/* ============================================================
   FLOATING MINI-SETTINGS (тема + анимации)
   ============================================================ */
.float-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.fp-body {
    width: 236px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px -16px rgba(20, 23, 28, .35);
    opacity: 0;
    translate: 0 10px;
    scale: .94;
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .25s ease, translate .3s var(--ease-out), scale .3s var(--ease-out);
}

.float-panel:hover .fp-body, .float-panel.is-open .fp-body {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    pointer-events: auto;
}

.fp-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-60);
    margin-bottom: 10px;
}

.fp-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.fp-dot {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dot);
    transition: scale var(--t-fast), box-shadow .25s;
}

.fp-dot:hover {
    scale: 1.18;
}

.fp-dot:active {
    scale: .9;
}

.fp-dot.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--dot);
}

.fp-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    translate: -50% 4px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, translate .25s var(--ease-out);
}

.fp-dot:hover .fp-tip {
    opacity: 1;
    translate: -50% 0;
}

.fp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.fp-row .fp-title {
    margin-bottom: 0;
}

.fp-row small {
    display: block;
    font-size: 11px;
    color: var(--ink-40);
    margin-top: 2px;
}

.switch {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 99px;
    flex: none;
    background: rgba(20, 23, 28, .22);
    transition: background-color .3s;
}

.switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(20, 23, 28, .3);
    transition: translate .25s var(--ease-out);
}

.switch.is-on {
    background: var(--primary);
}

.switch.is-on .switch-knob {
    translate: 20px 0;
}

.switch:active .switch-knob {
    scale: .85;
}

.fp-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px -8px rgba(20, 23, 28, .5);
    transition: background-color var(--t-med), scale var(--t-fast), rotate .4s var(--ease-out);
}

.float-panel:hover .fp-toggle, .float-panel.is-open .fp-toggle {
    background: var(--primary);
    rotate: 90deg;
}

.fp-toggle:active {
    scale: .9;
}

.fp-toggle .ic {
    width: 22px;
    height: 22px;
}

/* цветная вспышка при смене темы */
.theme-flash {
    position: fixed;
    right: 46px;
    bottom: 46px;
    z-index: 190;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--flash, #F05A14);
    opacity: .25;
    pointer-events: none;
    animation: theme-flash .8s var(--ease-out) forwards;
}

@keyframes theme-flash {
    to {
        scale: 260;
        opacity: 0;
    }
}

/* плавная перекраска всего сайта при смене темы */
body.theme-anim *, body.theme-anim *::before, body.theme-anim *::after {
    transition-property: background-color, color, border-color, box-shadow, fill, stroke !important;
    transition-duration: .55s !important;
    transition-timing-function: ease !important;
}

/* ============================================================
   MOTION: reveal, marquee, hovers.  Отключение — body.no-motion
   ============================================================ */
.reveal,
.reveal + [id^="bx_incl_area"] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .6s ease, translate .6s var(--ease-out);
}

.reveal.in,
.reveal.in + [id^="bx_incl_area"] {
    opacity: 1;
    translate: 0 0;
}

body.no-motion *, body.no-motion *::before, body.no-motion *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
}

body.no-motion {
    scroll-behavior: auto;
}

body.no-motion .reveal,
body.no-motion .reveal + [id^="bx_incl_area"] {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ============================================================
   ГЛАВНАЯ
   ============================================================ */
.hero {
    position: relative;
    background: var(--ink);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0 0 0 44%;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(20, 23, 28, .88) 30%, rgba(20, 23, 28, .15) 100%);
}

.hero-in {
    position: relative;
    z-index: 2;
    padding: 88px 20px 92px;
}

.hero-accent {
    width: 56px;
    height: 6px;
    background: var(--primary);
    margin-bottom: 24px;
    transition: background-color var(--t-med);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 44px;
    line-height: 1.18;
    color: #fff;
    margin: 14px 0 22px;
}

.hero-title em {
    font-style: normal;
    color: var(--primary);
    transition: color var(--t-med);
}

.hero-sub,
.hero-sub + [id^="bx_incl_area"] {
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    max-width: 560px;
    line-height: 1.55;
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 8px 8px 8px 20px;
    max-width: 640px;
    height: 64px;
    margin: 32px 0 18px;
    transition: box-shadow .3s;
}

.hero-search:focus-within {
    box-shadow: 0 0 0 4px var(--primary-tint), 0 20px 40px -20px rgba(0, 0, 0, .5);
}

.hero-search .ic {
    width: 20px;
    height: 20px;
    color: var(--ink-60);
}

.hero-search input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 15px;
    background: none;
}

.hero-search .btn {
    height: 48px;
    padding: 0 28px;
}

.hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: background-color .25s, border-color .25s, color .25s, translate var(--t-fast);
}

.chip:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    translate: 0 -2px;
}

/* ---------- Brands marquee ---------- */
.brands {
    border-bottom: 1px solid var(--line);
}

.brands-in {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
}

.brands-label {
    flex: none;
    font-size: 12px;
    color: var(--ink-60);
}

.brands-marquee {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 26s linear infinite;
}

.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

.brands-track span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ink-40);
    transition: color .25s;
}

.brands-track span:hover {
    color: var(--primary);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 72px 0 8px;
}

.section-dark {
    background: var(--ink);
    margin-top: 72px;
    padding-bottom: 72px;
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 36px;
}

.sec-head .h2 {
    margin-top: 10px;
}

.sec-note,
.sec-note + [id^="bx_incl_area"] {
    max-width: 420px;
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.5;
}

.section-dark .sec-note,
.section-dark .sec-note + [id^="bx_incl_area"] {
    color: rgba(255, 255, 255, .5);
}

/* ---------- Category tiles ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    min-height: 190px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color .3s, box-shadow .35s, translate .3s var(--ease-out);
}

.cat-tile:hover {
    border-color: var(--primary);
    box-shadow: 0 18px 40px -20px var(--primary-shadow);
    translate: 0 -4px;
}

.cat-ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-tint);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    transition: rotate .5s var(--ease-out), background-color var(--t-med), color var(--t-med);
}

.cat-ic .ic,
.cat-ic img {
    width: 22px;
    height: 22px;
}

/* Keep replacement SVG/raster images inside the existing icon boxes. */
.logo-box img,
.cat-ic img {
    object-fit: contain;
}

.cat-tile:hover .cat-ic {
    rotate: -10deg;
}

.cat-name {
    font-size: 17px;
    font-weight: 700;
}

.cat-count {
    font-size: 13px;
    color: var(--ink-60);
}

.cat-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: var(--ink-40);
    transition: color .25s, translate .25s var(--ease-out);
}

.cat-tile:hover .cat-arrow {
    color: var(--primary);
    translate: 6px 0;
}

/* ---------- Benefits (dark) ---------- */
.ben-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.ben {
    padding: 8px 28px 8px 0;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.ben + .ben {
    padding-left: 28px;
}

.ben:last-child {
    border-right: 0;
}

.ben-num {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--primary);
    transition: color var(--t-med);
}

.ben h3 {
    color: #fff;
    font-size: 17px;
    margin: 16px 0 10px;
}

.ben p {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.55;
}

/* ---------- Tabs ---------- */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab {
    padding: 9px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--ink);
    transition: background-color .3s, color .3s, border-color .3s, scale var(--t-fast);
}

.tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab:active {
    scale: .94;
}

.tab.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Product cards ---------- */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.favorites-empty,
.compare-empty {
    margin: 32px 0;
    padding: 48px 24px;
    border: 1.5px dashed var(--ink-40);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.prod-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px;
    transition: box-shadow .35s, translate .3s var(--ease-out), border-color .3s;
}

.prod-card:hover {
    box-shadow: 0 22px 44px -20px rgba(20, 23, 28, .3);
    translate: 0 -5px;
    border-color: transparent;
}

.prod-media {
    position: relative;
    width: 100%;
}

.prod-img {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--surface);
    border-radius: var(--r-sm);
    aspect-ratio: 1.53;
}

.catalog-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(20, 23, 28, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 5px rgba(20, 23, 28, .12);
    color: var(--ink-60);
    cursor: pointer;
    transition: color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.catalog-favorite:hover,
.catalog-favorite.is-fav {
    color: var(--primary);
}

.catalog-favorite:hover {
    border-color: rgba(20, 23, 28, .16);
    box-shadow: 0 2px 7px rgba(20, 23, 28, .16);
    transform: translateY(-1px);
}

.catalog-favorite:focus-visible {
    outline: 3px solid var(--primary-shadow);
    outline-offset: 2px;
}

.catalog-favorite .ic {
    width: 18px;
    height: 18px;
}

.catalog-favorite.is-fav .ic {
    animation: heart-pop .45s var(--ease-out);
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform .5s var(--ease-out);
}

.prod-card:hover .prod-img img {
    transform: scale(1.07) rotate(-1deg);
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tag-accent {
    background: var(--primary);
    color: #fff;
}

.tag-dark {
    background: var(--ink);
    color: #fff;
}

.prod-art {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ink-60);
    margin-top: 14px;
    text-transform: uppercase;
}

.prod-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    background: linear-gradient(var(--primary), var(--primary)) no-repeat 0 100% / 0 2px;
    transition: background-size .35s var(--ease-out);
    width: fit-content;
}

.prod-card:hover .prod-name, .prod-name:hover {
    background-size: 100% 2px;
}

.prod-stock {
    font-size: 12px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.prod-stock span {
    color: var(--ink-60);
    font-size: 11px;
}

.stock-ok {
    color: var(--success);
    font-weight: 600;
}

.stock-ok::before {
    content: "●";
    margin-right: 6px;
    font-size: 9px;
    vertical-align: 2px;
}

.stock-order {
    color: var(--ink-60);
    font-weight: 600;
}

.stock-order::before {
    content: "●";
    margin-right: 6px;
    font-size: 9px;
    vertical-align: 2px;
    color: var(--primary);
}

.prod-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.prod-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.prod-price s {
    font-size: 12px;
    color: var(--ink-40);
}

.prod-price strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
}

.prod-price small {
    font-size: 10px;
    color: var(--ink-40);
}

.btn-cart {
    padding: 11px 16px;
    font-size: 12.5px;
}

.btn-cart .ic {
    width: 15px;
    height: 15px;
}

.btn-cart.is-added {
    background: var(--success);
}

.btn-cart.is-added::before {
    background: var(--success);
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--primary);
    margin-top: 72px;
    transition: background-color var(--t-med);
}

.cta-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 20px;
}

.cta-text {
    font-family: var(--font-display);
    font-size: 19px;
    color: #fff;
}

/* ============================================================
   ОБЩИЕ ВНУТРЕННИЕ СТРАНИЦЫ
   ============================================================ */
.crumbs {
    font-size: 13px;
    color: var(--ink-60);
    padding: 20px 0 0;
}

.crumbs a:hover {
    color: var(--primary);
}

.crumbs .sep {
    margin: 0 8px;
    color: var(--ink-40);
}

.crumbs .cur {
    color: var(--ink);
}

.page-head {
    padding: 18px 0 28px;
}

.page-head .h1 {
    margin-bottom: 8px;
}

.count-note {
    font-size: 14px;
    color: var(--ink-60);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 300;
    translate: -50% 140%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 24px 50px -16px rgba(20, 23, 28, .5);
    transition: translate .4s var(--ease-out);
}

.toast .ic {
    color: var(--success);
}

.toast.show {
    translate: -50% 0;
}

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.chip-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: background-color .3s, scale var(--t-fast);
}

.chip-filter:hover {
    background: var(--primary);
}

.chip-filter:active {
    scale: .94;
}

.chip-filter i {
    font-style: normal;
    opacity: .6;
}

.tb-reset {
    font-size: 12px;
    color: var(--ink-60);
}

.tb-reset:hover {
    color: var(--primary);
}

.toolbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.sort-label {
    font-size: 13px;
    color: var(--ink-60);
}

.sort-select {
    position: relative;
}

.sort-select select {
    appearance: none;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 700;
    padding-right: 18px;
    cursor: pointer;
    outline: none;
    color: var(--ink);
}

.sort-select::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--ink-60);
    border-bottom: 2px solid var(--ink-60);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.view-toggle {
    display: flex;
    gap: 6px;
}

.view-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--ink-40);
    transition: color .25s, background-color .25s;
}

.view-btn:hover {
    color: var(--primary);
}

.view-btn.is-active {
    color: var(--primary);
    background: var(--primary-tint);
}

.layout-2col {
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 32px;
    align-items: start;
}

/* ---------- Filters ---------- */
.filters {
    position: sticky;
    top: 112px;
}

.filters-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.filters-head h3 {
    font-size: 18px;
}

.filters-clear {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.filter-block {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink);
    transition: color .2s, translate .2s var(--ease-out);
}

.filter-link:hover {
    color: var(--primary);
    translate: 4px 0;
}

.filter-link.is-active {
    color: var(--primary);
    font-weight: 700;
}

.filter-link em {
    font-style: normal;
    color: var(--ink-40);
    font-size: 12px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    width: fit-content;
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    flex: none;
    border: 1.5px solid var(--ink-40);
    background: #fff;
    display: grid;
    place-items: center;
    color: #fff;
    transition: background-color .25s, border-color .25s, scale .2s var(--ease-out);
}

.check-box .ic {
    width: 11px;
    height: 11px;
    scale: 0;
    transition: scale .25s var(--ease-out);
}

.check input:checked + .check-box {
    background: var(--primary);
    border-color: var(--primary);
}

.check input:checked + .check-box .ic {
    scale: 1;
}

.check:active .check-box {
    scale: .85;
}

.check em {
    font-style: normal;
    color: var(--ink-40);
    font-size: 12px;
    margin-left: auto;
    padding-left: 8px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.price-inputs input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 13px;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}

.price-inputs input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.range {
    position: relative;
    height: 22px;
}

.range-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    translate: 0 -50%;
    background: var(--line);
    border-radius: 99px;
}

.range-fill {
    position: absolute;
    top: 50%;
    left: 0;
    width: 62%;
    height: 3px;
    translate: 0 -50%;
    background: var(--primary);
    border-radius: 99px;
    transition: background-color var(--t-med);
}

.range-knob {
    position: absolute;
    top: 50%;
    left: 62%;
    translate: -50% -50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--primary);
    cursor: grab;
    transition: scale .2s var(--ease-out), border-color var(--t-med);
}

.range-knob:hover {
    scale: 1.2;
}

.select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white) none;
    appearance: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    margin-bottom: 10px;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-60) 50%), linear-gradient(135deg, var(--ink-60) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.vin-card {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 22px;
    margin-top: 26px;
}

.vin-card h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
}

.vin-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 0;
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 14px;
    border: 1.5px solid var(--line);
    color: var(--ink);
    transition: background-color .25s, color .25s, border-color .25s, scale var(--t-fast);
}

.pg-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pg-btn:active {
    scale: .9;
}

.pg-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.pg-btn.pg-dots {
    border: 0;
    color: var(--ink-40);
}

/* ---------- SEO band ---------- */
.seo-band {
    background: var(--surface);
    margin-top: 64px;
    padding: 44px 0;
}

.seo-band h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.65;
}

/* ---------- Mini cards / collections ---------- */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mini-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 14px;
    transition: box-shadow .3s, translate .3s var(--ease-out), border-color .3s;
    display: block;
}

.mini-card:hover {
    box-shadow: 0 16px 36px -18px rgba(20, 23, 28, .28);
    translate: 0 -4px;
    border-color: transparent;
}

.mini-card img {
    width: 100%;
    aspect-ratio: 2.2;
    object-fit: contain;
    margin-bottom: 10px;
}

.mini-card p {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 36px;
}

.mini-card strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    margin-top: 6px;
    display: block;
}

.col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.collection {
    border-radius: var(--r-lg);
    padding: 28px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--primary-tint);
    transition: translate .3s var(--ease-out), box-shadow .3s, background-color var(--t-med);
}

.collection:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 40px -22px rgba(20, 23, 28, .35);
}

.collection .ic {
    width: 34px;
    height: 34px;
    color: var(--primary);
    transition: color var(--t-med);
}

.collection h3 {
    font-size: 18px;
}

.collection p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.5;
    flex: 1;
}

.collection .more-link {
    font-size: 13px;
}

.collection-dark {
    background: var(--ink);
    color: #fff;
}

.collection-dark p {
    color: rgba(255, 255, 255, .55);
}

.collection-mid {
    background: var(--surface);
}

.collection-mid .ic {
    color: var(--ink);
}

.collection-mid .more-link {
    color: var(--ink);
}

/* ============================================================
   КАРТОЧКА ТОВАРА
   ============================================================ */
.prod-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-60);
    margin-top: 12px;
}

.prod-meta b {
    color: var(--ink);
    font-weight: 600;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--primary);
}

.stars .ic {
    width: 14px;
    height: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--success-tint);
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
}

.prod-layout {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 36px;
    margin-top: 24px;
}

.gallery-main {
    position: relative;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    aspect-ratio: 1.18;
    overflow: hidden;
    background: var(--white);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    transition: opacity .25s, scale .4s var(--ease-out);
}

.gallery-main:hover img {
    scale: 1.04;
}

.gallery-main .tag {
    top: 18px;
    left: 18px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.thumb {
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    aspect-ratio: 1.75;
    cursor: pointer;
    background: var(--white);
    padding: 4px;
    transition: border-color .25s, scale var(--t-fast);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb:hover {
    scale: 1.05;
}

.thumb.is-active {
    border-color: var(--primary);
}

.buy-panel {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
}

.buy-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--ink-60);
    text-transform: uppercase;
    font-weight: 600;
}

.buy-price-row {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: 6px 0 14px;
    flex-wrap: wrap;
}

.buy-price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.buy-old {
    font-size: 14px;
    color: var(--ink-60);
}

.buy-old s {
    margin-right: 4px;
}

.stock-rows {
    border-top: 1px solid var(--line);
    margin-top: 20px;
}

.stock-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    align-items: center;
}

.stock-row .s-name {
    font-weight: 600;
}

.stock-row .s-name small {
    display: block;
    font-weight: 400;
    color: var(--ink-60);
    font-size: 12px;
}

.stock-row .s-when {
    color: var(--ink-60);
}

.stock-row .s-when.ok {
    color: var(--success);
    font-weight: 700;
}

.buy-note {
    font-size: 12px;
    color: var(--ink-60);
    line-height: 1.5;
    margin-top: 16px;
    display: flex;
    gap: 8px;
}

.buy-note .ic {
    color: var(--ink-40);
    margin-top: 1px;
}

.buy-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    align-items: stretch;
}

.qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--ink-60);
    transition: color .2s, background-color .2s;
}

.qty-btn:hover {
    color: var(--primary);
    background: var(--surface);
}

.qty-btn:active {
    scale: .85;
}

.qty-val {
    min-width: 44px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.btn-fav {
    width: 122px;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    padding: 8px;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink);
}

.btn-fav::before {
    background: var(--primary-tint);
}

.btn-fav.is-fav,
.btn-fav.is-added {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-fav.is-fav .ic {
    animation: heart-pop .45s var(--ease-out);
}

@keyframes heart-pop {
    40% {
        scale: 1.5;
    }
}

.dlv-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin-top: 16px;
}

.dlv-item {
    display: flex;
    gap: 12px;
    font-size: 12px;
    line-height: 1.45;
    align-items: flex-start;
}

.dlv-item .ic {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-top: 2px;
    transition: color var(--t-med);
}

/* ---------- Product tabs ---------- */
.ptabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    margin-top: 56px;
    overflow-x: auto;
}

.ptab {
    position: relative;
    padding: 0 2px 14px;
    font-size: 16px;
    color: var(--ink-60);
    white-space: nowrap;
    transition: color .25s;
}

.ptab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 3px;
    width: 0;
    background: var(--primary);
    transition: width .35s var(--ease-out), background-color var(--t-med);
}

.ptab:hover {
    color: var(--ink);
}

.ptab.is-active {
    color: var(--ink);
    font-weight: 700;
}

.ptab.is-active::after {
    width: 100%;
}

.ptab-panel {
    display: none;
    padding-top: 28px;
}

.ptab-panel.is-active {
    display: block;
    animation: panel-in .45s var(--ease-out);
}

@keyframes panel-in {
    from {
        opacity: 0;
        translate: 0 14px;
    }
}

/* ---------- Tables ---------- */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-60);
    background: var(--surface);
    padding: 12px 14px;
    font-weight: 700;
}

.table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.table tbody tr {
    transition: background-color .2s;
}

.table tbody tr:hover {
    background: var(--surface);
}

.table .price {
    font-weight: 700;
    white-space: nowrap;
}

.table .best {
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
}

.table .t-link {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.table .t-link:hover {
    text-decoration: underline;
}

tr.row-best td {
    background: var(--primary-tint);
    transition: background-color var(--t-med);
}

tr.row-best:hover td {
    background: var(--primary-tint);
}

.t-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 3px 6px;
    background: #fff;
}

.t-qty button {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--ink-60);
    border-radius: 6px;
    transition: color .2s, background-color .2s;
}

.t-qty button:hover {
    color: var(--primary);
    background: var(--surface);
}

.t-qty b {
    min-width: 20px;
    text-align: center;
    font-size: 13px;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.spec-table td {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.spec-table td:first-child {
    color: var(--ink-60);
    width: 46%;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.fit-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 26px;
}

.fit-card ul {
    list-style: none;
}

.fit-card li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--line);
}

.fit-card li:last-child {
    border-bottom: 0;
}

.fit-note {
    font-size: 12px;
    color: var(--ink-60);
    margin-top: 14px;
    line-height: 1.5;
}

.cross-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 8px 26px 18px;
}

.cross-row {
    display: grid;
    grid-template-columns: 1fr auto auto 24px;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    transition: background-color .2s;
    cursor: pointer;
}

.cross-row:hover {
    background: var(--surface);
}

.cross-row .c-name {
    font-weight: 700;
}

.cross-row .c-price {
    font-weight: 700;
    font-size: 14px;
}

.cross-row .c-stock {
    font-size: 12px;
    color: var(--success);
}

.cross-row .c-arrow {
    color: var(--primary);
    font-weight: 700;
    transition: translate .25s var(--ease-out);
}

.cross-row:hover .c-arrow {
    translate: 5px 0;
}

.banner-dark {
    background: var(--ink);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    margin-top: 56px;
}

.banner-dark .ic {
    width: 30px;
    height: 30px;
    color: var(--primary);
    transition: color var(--t-med);
}

.banner-dark p {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}

/* ============================================================
   НОВОСТИ
   ============================================================ */
.news-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 8px;
}

.news-featured {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.news-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .8s var(--ease-out);
}

.news-featured:hover img {
    scale: 1.05;
}

.news-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 23, 28, .88) 8%, rgba(20, 23, 28, 0) 60%);
}

.nf-body {
    position: relative;
    z-index: 2;
    padding: 32px;
}

.nf-date {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
    transition: background-color var(--t-med);
}

.nf-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 8px;
}

.nf-ex {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.news-side {
    display: flex;
    flex-direction: column;
}

.news-side-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transition: translate .25s var(--ease-out);
}

.news-side-item:hover {
    translate: 6px 0;
}

.news-side-item time {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    transition: color var(--t-med);
}

.news-side-item p {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
}

.news-archive {
    margin-top: auto;
    padding-top: 18px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.news-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    transition: box-shadow .35s, translate .3s var(--ease-out), border-color .3s;
}

.news-card:hover {
    box-shadow: 0 22px 44px -22px rgba(20, 23, 28, .3);
    translate: 0 -5px;
    border-color: transparent;
}

.news-card-img {
    aspect-ratio: 2.08;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .7s var(--ease-out);
}

.news-card:hover .news-card-img img {
    scale: 1.08;
}

.news-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.news-card-body time {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    transition: color var(--t-med);
}

.news-card-body h3 {
    font-size: 16px;
    line-height: 1.35;
}

.news-card-body p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.5;
    flex: 1;
}

.subscribe {
    background: var(--ink);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 34px 40px;
    margin-top: 56px;
}

.subscribe .ic {
    width: 30px;
    height: 30px;
    color: var(--primary);
    flex: none;
}

.subscribe h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
}

.subscribe p {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex: none;
}

.subscribe-form input {
    width: 280px;
    height: 48px;
    border: 0;
    border-radius: var(--r-md);
    padding: 0 16px;
    font-size: 13px;
    outline: none;
    transition: box-shadow .25s;
}

.subscribe-form input:focus {
    box-shadow: 0 0 0 3px var(--primary);
}

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 40px;
    margin-top: 8px;
    align-items: start;
}

.c-line {
    display: flex;
    gap: 16px;
    padding: 14px 0;
}

.c-ic {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex: none;
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--primary);
    transition: rotate .4s var(--ease-out), background-color .3s, color .3s;
}

.c-line:hover .c-ic {
    background: var(--primary-tint);
    rotate: -8deg;
}

.c-ic .ic {
    width: 20px;
    height: 20px;
}

.c-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-60);
    font-weight: 600;
}

.c-value {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    margin-top: 3px;
}

.c-value-sm {
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 700;
}

.c-sub {
    font-size: 12px;
    color: var(--ink-60);
    margin-top: 3px;
}

.req-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 26px;
    margin-top: 18px;
}

.req-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
}

.req-card dl {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-60);
}

.req-card dl b {
    color: var(--ink);
    font-weight: 600;
}

.req-card .more-link {
    margin-top: 16px;
    font-size: 13px;
}

.map {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 520px;
    background: linear-gradient(var(--white) 0 0) padding-box,
    var(--surface);
    background-image: linear-gradient(rgba(255, 255, 255, .9) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, .9) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px);
    background-size: 220px 220px, 220px 220px, 44px 44px, 44px 44px;
    background-color: var(--surface);
}

.map .bx-yandex-view-layout,
.map .bx-yandex-view-map,
.contact-grid > :last-child {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.map .bx-yandex-view-map > div,
.map .bx-yandex-view-map > div > ymaps {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
}

.map-pin-wrap {
    position: absolute;
    left: 50%;
    top: 46%;
    translate: -50% -100%;
}

.map-pulse {
    position: absolute;
    left: 50%;
    bottom: -6px;
    translate: -50% 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .3;
    animation: pulse 2s var(--ease-out) infinite;
}

@keyframes pulse {
    to {
        scale: 4.4;
        opacity: 0;
    }
}

.map-pin {
    width: 46px;
    height: 60px;
    color: var(--primary);
    filter: drop-shadow(0 8px 14px rgba(20, 23, 28, .35));
    animation: pin-bob 2.6s ease-in-out infinite;
}

@keyframes pin-bob {
    50% {
        translate: 0 -7px;
    }
}

.map-open {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 24px -10px rgba(20, 23, 28, .3);
    transition: color .25s, translate var(--t-fast);
}

.map-open:hover {
    color: var(--primary);
    translate: 0 -2px;
}

.map-addr {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 16px 22px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 14px 30px -12px rgba(20, 23, 28, .35);
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.office-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color .3s, box-shadow .3s;
}

.office-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px -20px var(--primary-shadow);
}

.office-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.office-card p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.8;
}

.office-card .more-link {
    margin-top: 12px;
    font-size: 13px;
}

.manager-band {
    background: var(--ink);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 30px 36px;
    margin-top: 40px;
}

.manager-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    border: 3px solid var(--primary);
    transition: border-color var(--t-med);
}

.manager-info {
    flex: 1;
}

.manager-info .kicker {
    margin-bottom: 6px;
}

.manager-info h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: #fff;
    font-size: 22px;
}

.manager-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-top: 8px;
    max-width: 560px;
    line-height: 1.5;
}

.manager-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: none;
}

/* ---------- Forms ---------- */
.form-panel {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 36px 40px;
    margin-top: 40px;
}

.form-panel h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.form-panel > p {
    font-size: 13px;
    color: var(--ink-60);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-60);
}

.field input, .field textarea, .field select {
    height: 54px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    width: 100%;
}

.field textarea {
    height: auto;
    min-height: 96px;
    padding: 14px 16px;
    resize: vertical;
}

.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-tint);
}

.field input.is-filled {
    background: var(--surface);
}

.field-ok {
    position: relative;
}

.field-ok::after {
    content: "Реквизиты найдены ✓";
    position: absolute;
    right: 12px;
    top: 50%;
    translate: 0 -50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
    pointer-events: none;
}

.form-foot {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.form-foot small {
    font-size: 12px;
    color: var(--ink-60);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.dept-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: border-color .3s, translate .3s var(--ease-out);
}

.dept-card:hover {
    border-color: var(--primary);
    translate: 0 -4px;
}

.dept-card .ic {
    width: 22px;
    height: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color var(--t-med);
}

.dept-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.dept-card p {
    font-size: 12px;
    color: var(--ink-60);
}

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ
   ============================================================ */
.company-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border-radius: 99px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
}

.company-chip em {
    font-style: normal;
    color: var(--primary);
    transition: color var(--t-med);
}

.acc-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    margin-top: 8px;
    align-items: start;
}

.acc-side {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acc-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
}

.acc-user {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}

.acc-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--ink-60);
    flex: none;
}

.acc-avatar .ic {
    width: 24px;
    height: 24px;
}

.acc-user b {
    font-size: 14px;
    display: block;
}

.acc-user small {
    font-size: 11px;
    color: var(--ink-60);
}

.acc-nav {
    display: flex;
    flex-direction: column;
}

.acc-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--ink);
    transition: background-color .25s, color .25s, translate .2s var(--ease-out);
}

.acc-nav a:hover {
    background: var(--surface);
    translate: 4px 0;
}

.acc-nav a.is-active {
    background: var(--primary-tint);
    color: var(--primary);
    font-weight: 700;
}

.acc-nav a .ic {
    color: var(--ink-60);
    transition: color .25s;
}

.acc-nav a:hover .ic, .acc-nav a.is-active .ic {
    color: var(--primary);
}

.acc-badge {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 20px;
    border-radius: 99px;
    display: grid;
    place-items: center;
    padding: 0 6px;
}

.acc-out {
    color: var(--ink-60) !important;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.acc-manager {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 20px;
    text-align: left;
}

.acc-manager-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.acc-manager img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: border-color var(--t-med);
}

.acc-manager b {
    color: #fff;
    font-size: 14px;
    display: block;
}

.acc-manager small {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
}

.acc-manager .foot {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    margin-top: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
    transition: border-color .3s, box-shadow .3s, translate .3s var(--ease-out);
}

.stat-card:hover {
    border-color: var(--primary);
    translate: 0 -3px;
    box-shadow: 0 14px 30px -18px var(--primary-shadow);
}

.stat-card h5 {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-60);
    font-weight: 700;
    line-height: 1.4;
    min-height: 28px;
}

.stat-card strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    display: block;
    margin: 8px 0 4px;
}

.stat-card strong em {
    font-style: normal;
    color: var(--primary);
    transition: color var(--t-med);
}

.stat-card small {
    font-size: 11px;
    color: var(--ink-60);
}

.acc-section {
    margin-top: 40px;
}

.acc-section .sec-head {
    margin-bottom: 20px;
}

.acc-section .h3, .h3 {
    font-size: 20px;
    font-weight: 700;
}

.status {
    font-weight: 700;
    font-size: 13px;
}

.status-work {
    color: var(--ink-60);
}

.status-ship {
    color: var(--primary);
}

.status-done {
    color: var(--ink);
}

.status-paid {
    color: var(--success);
}

.qa-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.qa-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 24px;
}

.qa-card h4, .doc-card h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.qa-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    font-size: 14px;
    transition: translate .2s var(--ease-out), color .2s;
    width: fit-content;
}

.qa-item:hover {
    translate: 6px 0;
    color: var(--primary);
}

.qa-item .ic {
    color: var(--primary);
    transition: color var(--t-med);
}

.doc-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
}

.doc-item {
    display: flex;
    gap: 8px;
    padding: 9px 0;
    font-size: 13px;
    align-items: center;
}

.doc-item .ok {
    color: var(--success);
    font-weight: 700;
}

.chart-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px 28px 12px;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 5%;
    height: 240px;
    padding-top: 20px;
}

.chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 64px;
    border-radius: 8px 8px 0 0;
    background: var(--primary);
    position: relative;
    height: calc(var(--h) * 1%);
    transform-origin: bottom;
    animation: bar-grow .9s var(--ease-out) backwards;
    transition: background-color var(--t-med), filter .25s;
}

.chart-col:hover .chart-bar {
    filter: brightness(1.12);
}

.chart-col:hover .chart-tip {
    opacity: 1;
    translate: -50% -4px;
}

.chart-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    translate: -50% 4px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, translate .25s var(--ease-out);
}

.chart-col small {
    font-size: 12px;
    color: var(--ink-60);
}

@keyframes bar-grow {
    from {
        scale: 1 0;
    }
}

.addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.addr-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: border-color .3s;
}

.addr-card.is-main {
    border-color: var(--primary);
}

.addr-pill {
    display: inline-block;
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 12px;
    transition: background-color var(--t-med), color var(--t-med);
}

.addr-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
}

.addr-card p {
    font-size: 12px;
    color: var(--ink-60);
    line-height: 1.5;
}

.addr-card .more-link {
    margin-top: 12px;
    font-size: 13px;
}

.bonus-band {
    background: var(--ink);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 32px;
    margin-top: 40px;
}

.bonus-band .ic {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex: none;
    transition: color var(--t-med);
}

.bonus-band h4 {
    color: #fff;
    font-size: 17px;
}

.bonus-band p {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-top: 4px;
}

.bonus-progress {
    margin-left: auto;
    flex: none;
    text-align: center;
}

.progress {
    width: 180px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}

.progress i {
    display: block;
    height: 100%;
    width: var(--p, 50%);
    background: var(--primary);
    border-radius: 99px;
    animation: progress-fill 1.2s var(--ease-out) backwards .3s;
    transition: background-color var(--t-med);
}

@keyframes progress-fill {
    from {
        width: 0;
    }
}

.bonus-progress small {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-top: 8px;
}

/* ============================================================
   РЕГИСТРАЦИЯ / КОРЗИНА / ОФОРМЛЕНИЕ
   ============================================================ */
.steps {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 0 32px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-c {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    background: var(--surface);
    border: 1.5px solid var(--ink-40);
    color: var(--ink-60);
    transition: background-color .3s, border-color .3s, color .3s, scale var(--t-fast);
}

.step.is-active .step-c {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    scale: 1.1;
}

.step.is-done .step-c {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step span {
    font-size: 14px;
    font-weight: 600;
}

.step.is-active span {
    color: var(--ink);
    font-weight: 700;
}

.step:not(.is-active):not(.is-done) span {
    color: var(--ink-60);
    font-weight: 400;
}

.step-line {
    width: 56px;
    height: 2px;
    background: var(--line);
}

.reg-layout {
    display: grid;
    grid-template-columns: 760px 1fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px 36px;
}

.form-card h3 {
    font-size: 16px;
    margin: 26px 0 14px;
}

.form-card h3:first-child {
    margin-top: 0;
}

.form-card .form-grid {
    grid-template-columns: 1fr 1fr;
}

.type-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.type-chip {
    padding: 12px 22px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--line);
    background: var(--white);
    transition: background-color .3s, color .3s, border-color .3s, scale var(--t-fast);
}

.type-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.type-chip:active {
    scale: .94;
}

.type-chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.benefit-card {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 30px 32px;
}

.benefit-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 22px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 13px 0;
}

.benefit-item .ic {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex: none;
    margin-top: 2px;
    transition: color var(--t-med);
}

.benefit-item b {
    color: #fff;
    font-size: 15px;
    display: block;
}

.benefit-item small {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.benefit-card .hr {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 16px;
    padding-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}

.link-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 26px 32px;
    margin-top: 16px;
}

.link-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.link-card p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.5;
    margin-bottom: 18px;
}

.link-row {
    display: flex;
    gap: 10px;
}

.link-row input {
    flex: 1;
    height: 52px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}

.link-row input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-tint);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 32px;
}

.how-item {
    position: relative;
}

.how-num {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary);
    transition: color var(--t-med);
}

.how-item h4 {
    font-size: 16px;
    margin: 14px 0 8px;
}

.how-item p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.55;
}

.faq {
    margin-top: 32px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: color .2s;
}

.faq-q:hover {
    color: var(--primary);
}

.faq-q .ic {
    color: var(--ink-60);
    transition: rotate .35s var(--ease-out), color .25s;
    flex: none;
}

.faq-item.is-open .faq-q .ic {
    rotate: 45deg;
    color: var(--primary);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease-out);
}

.faq-a p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.6;
    padding: 0 40px 20px 0;
}

/* ---------- Корзина ---------- */
.promo-strip {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.promo-strip .ic {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: color var(--t-med);
}

.promo-strip b {
    font-size: 14px;
    display: block;
}

.promo-strip p {
    font-size: 12px;
    color: var(--ink-60);
}

.promo-strip .progress {
    background: var(--line);
    width: 280px;
    margin-left: auto;
}

.promo-strip small {
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--ink-60);
    margin-top: 6px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    margin-top: 24px;
    align-items: start;
}

.cart-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 10px 26px 20px;
}

.cart-row {
    display: grid;
    grid-template-columns: 112px 1fr auto auto auto 30px;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    animation: panel-in .4s var(--ease-out);
}

.cart-row:last-of-type {
    border-bottom: 0;
}

.cart-img {
    width: 112px;
    height: 96px;
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 8px;
}

.cart-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s var(--ease-out);
}

.cart-row:hover .cart-img img {
    transform: scale(1.08);
}

.cart-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.cart-art {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ink-60);
    margin-top: 5px;
    text-transform: uppercase;
}

.cart-stock {
    font-size: 12px;
    margin-top: 5px;
}

.cart-price {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.cart-sum {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    min-width: 90px;
}

.cart-del {
    color: var(--ink-40);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition: color .25s, background-color .25s, rotate .3s var(--ease-out);
}

.cart-del:hover {
    color: var(--danger);
    background: #FBEAE8;
    rotate: -12deg;
}

.cart-foot {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 4px;
    font-size: 13px;
}

.cart-foot a:first-child {
    color: var(--ink-60);
}

.cart-foot a:first-child:hover {
    color: var(--danger);
}

.import-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.import-card {
    border: 1.5px dashed var(--ink-40);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color .3s, background-color .3s;
}

.import-card:hover {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.import-card h4 {
    font-size: 15px;
    margin: 10px 0 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.import-card h4 .ic {
    color: var(--primary);
    width: 22px;
    height: 22px;
}

.import-card p {
    font-size: 12px;
    color: var(--ink-60);
    line-height: 1.55;
    margin-bottom: 14px;
}

.import-card.solid {
    border-style: solid;
    border-color: transparent;
    background: var(--surface);
}

.quick-row {
    display: flex;
    gap: 10px;
}

.quick-row input {
    flex: 1;
    height: 48px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}

.quick-row input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.summary-card {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 28px;
    color: #fff;
    position: sticky;
    top: 112px;
}

.summary-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 7px 0;
    color: rgba(255, 255, 255, .7);
}

.sum-row b {
    color: #fff;
}

.sum-row .disc {
    color: var(--primary);
    font-weight: 700;
    transition: color var(--t-med);
}

.sum-row .free {
    color: var(--success);
    font-weight: 700;
}

.sum-hr {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin: 12px 0;
}

.sum-total-label {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.sum-total {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    margin: 4px 0 2px;
}

.sum-nds {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 16px;
}

.sum-limit {
    background: rgba(29, 158, 87, .16);
    border-radius: var(--r-md);
    padding: 13px 16px;
    font-size: 12px;
    color: var(--success);
    line-height: 1.45;
    margin-bottom: 18px;
}

.sum-limit b {
    color: #fff;
}

.summary-card .note {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    text-align: center;
    margin-top: 12px;
    line-height: 1.45;
}

.pay-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 26px 28px;
    margin-top: 20px;
}

.pay-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.pay-item {
    display: flex;
    gap: 14px;
    padding: 11px 0;
    font-size: 13px;
    line-height: 1.45;
    align-items: flex-start;
}

.pay-item .ic {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex: none;
    margin-top: 2px;
    transition: color var(--t-med);
}

.pay-card .hr {
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
    font-size: 12px;
    color: var(--ink-60);
    line-height: 1.5;
}

/* ---------- Оформление ---------- */
.block-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px 30px;
    margin-top: 18px;
}

.block-card.is-current {
    border-color: var(--primary);
    transition: border-color var(--t-med);
}

.block-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.block-num {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--primary);
    transition: color var(--t-med);
}

.block-head h3 {
    font-size: 16px;
    flex: 1;
}

.block-head .more-link {
    font-size: 13px;
}

.block-done {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.block-done .check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}

.block-done .check-circle .ic {
    width: 13px;
    height: 13px;
}

.block-done p {
    font-size: 14px;
    color: var(--ink-60);
    line-height: 1.6;
}

.block-done p b {
    color: var(--ink);
}

.opt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.opt-card {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 16px;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 22px;
    cursor: pointer;
    background: var(--white);
    transition: border-color .25s, background-color .3s;
}

.opt-card:hover {
    border-color: var(--primary);
}

.opt-card.is-active {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.opt-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--ink-40);
    background: #fff;
    display: grid;
    place-items: center;
    transition: border-color .25s;
}

.opt-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    scale: 0;
    transition: scale .3s var(--ease-out), background-color var(--t-med);
}

.opt-card.is-active .opt-radio {
    border-color: var(--primary);
}

.opt-card.is-active .opt-radio::after {
    scale: 1;
}

.opt-card b {
    font-size: 14px;
    display: block;
}

.opt-card small {
    font-size: 12px;
    color: var(--ink-60);
    display: block;
    margin-top: 3px;
}

.opt-price {
    font-size: 15px;
    font-weight: 700;
}

.opt-price.free {
    color: var(--success);
}

.opt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.opt-grid .opt-card {
    grid-template-columns: 24px 1fr;
}

.pay-logos {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink-40);
}

.terms {
    font-size: 12px;
    color: var(--ink-60);
    margin-top: 18px;
}

.terms a {
    color: var(--primary);
    font-weight: 700;
}

.comment-input {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: var(--r-md);
    background: var(--surface);
    padding: 0 18px;
    font-size: 13px;
    outline: none;
    margin-top: 16px;
    transition: box-shadow .25s;
}

.comment-input:focus {
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 388px;
    gap: 28px;
    align-items: start;
}

.os-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px 26px;
    position: sticky;
    top: 112px;
}

.os-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.os-head h3 {
    font-size: 17px;
}

.os-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 11px 0;
}

.os-img {
    width: 52px;
    height: 52px;
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 5px;
}

.os-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.os-item b {
    font-size: 12.5px;
    display: block;
}

.os-item small {
    font-size: 11px;
    color: var(--ink-60);
}

.os-item .os-sum {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.os-card .sum-row {
    color: var(--ink-60);
}

.os-card .sum-row b {
    color: var(--ink);
}

.os-card .sum-hr {
    border-color: var(--line);
}

.os-card .sum-total {
    color: var(--ink);
    font-size: 27px;
}

.os-card .sum-nds {
    color: var(--ink-60);
}

.os-card .note {
    font-size: 11px;
    color: var(--ink-60);
    text-align: center;
    margin-top: 12px;
}

.trust-strip {
    background: var(--surface);
    margin-top: 56px;
}

.trust-in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px 20px;
}

.trust-item {
    display: flex;
    gap: 16px;
    font-size: 13px;
    line-height: 1.45;
    align-items: flex-start;
}

.trust-item .ic {
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex: none;
    transition: color var(--t-med);
}

.trust-item small {
    display: block;
    color: var(--ink-60);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .cat-grid, .prod-grid, .mini-grid, .stat-grid, .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ben-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .ben {
        border-right: 0;
    }

    .footer-in {
        grid-template-columns: 1fr 1fr;
    }

    .prod-layout, .reg-layout, .contact-grid, .checkout-layout, .cart-layout {
        grid-template-columns: 1fr;
    }

    .summary-card, .os-card, .acc-side, .filters {
        position: static;
    }

    .acc-layout {
        grid-template-columns: 1fr;
    }

    .layout-2col {
        grid-template-columns: 1fr;
    }

    .col-grid, .news-grid, .how-grid {
        grid-template-columns: 1fr;
    }

    .news-top {
        grid-template-columns: 1fr;
    }

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

    .subscribe-form {
        margin-left: 0;
        width: 100%;
    }

    .subscribe-form input {
        flex: 1;
        width: auto;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-img {
        inset: 0;
        opacity: .25;
    }

    .topbar {
        display: none;
    }

    .h1 {
        font-size: 27px;
    }

    .cart-row {
        grid-template-columns: 72px 1fr auto;
    }

    .cart-img {
        width: 72px;
        height: 64px;
    }

    .cart-price, .cart-del {
        display: none;
    }

    .spec-grid, .fit-grid, .seo-cols, .qa-docs, .addr-grid, .import-grid, .office-grid, .form-grid {
        grid-template-columns: 1fr;
    }

    .trust-in {
        grid-template-columns: 1fr;
    }

    .search {
        display: none;
    }
}

/* ============================================================
   КАТАЛОГ: переключение «плитка / таблица»
   Переключается классом .view-list на .cat-products — HTML общий.
   ============================================================ */
.cat-products .prod-table {
    display: none;
}

.cat-products.view-list .prod-grid {
    display: none;
}

.cat-products.view-list .prod-table {
    display: block;
    animation: panel-in .4s var(--ease-out);
}

.catalog-dynamic.view-list .prod-grid {
    display: grid;
    grid-template-columns: 1fr !important;
}

.catalog-dynamic.view-list .prod-card {
    display: grid;
    grid-template-columns: minmax(140px, 22%) minmax(0, 1fr) minmax(170px, 220px);
    grid-template-rows: auto auto auto;
    column-gap: 24px;
    align-items: center;
}

.catalog-dynamic.view-list .prod-media {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
}

.catalog-dynamic.view-list .prod-img {
    width: 100%;
    aspect-ratio: 1.5;
}

.catalog-dynamic.view-list .prod-art {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
}

.catalog-dynamic.view-list .prod-name {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
}

.catalog-dynamic.view-list .prod-stock {
    grid-column: 2;
    grid-row: 3;
}

.catalog-dynamic.view-list .prod-foot {
    grid-column: 3;
    grid-row: 1 / 4;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: 0;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
}

.prod-table-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 16px 20px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.prod-table-row:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -2px;
}

.pt-img {
    width: 96px;
    height: 76px;
    background: var(--surface);
    border-radius: var(--r-sm);
    display: block;
    padding: 6px;
    overflow: hidden;
}

.pt-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s var(--ease-out);
}

.prod-table-row:hover .pt-img img {
    transform: scale(1.1);
}

.pt-main {
    min-width: 0;
}

.pt-main .prod-art {
    margin-top: 0;
}

.pt-main .prod-name {
    min-height: 0;
    margin-top: 4px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.pt-main .prod-stock {
    margin-top: 5px;
    justify-content: flex-start;
    gap: 12px;
}

.pt-price {
    text-align: right;
    white-space: nowrap;
}

.pt-price s {
    display: block;
    font-size: 12px;
    color: var(--ink-40);
}

.pt-price strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 19px;
}

.pt-price small {
    display: block;
    font-size: 10px;
    color: var(--ink-40);
}

.prod-table-row .qty {
    margin: 0;
}

.prod-table-row .qty-btn {
    height: 44px;
    width: 38px;
}

.prod-table-row .btn-cart {
    padding: 11px 18px;
}

.pt-fav {
    color: var(--ink-40);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    transition: color .25s, background-color .25s;
}

.pt-fav:hover, .pt-fav.is-fav {
    color: var(--primary);
    background: var(--primary-tint);
}

@media (max-width: 1200px) {
    .prod-table-row {
        grid-template-columns: 72px 1fr auto;
    }

    .pt-img {
        width: 72px;
        height: 60px;
    }

    .pt-price, .prod-table-row .qty, .pt-fav {
        display: none;
    }
}

/* ============================================================
   FIX: адаптив без горизонтальной прокрутки
   ============================================================ */
html, body {
    overflow-x: clip;
}

.container {
    width: 100%;
}

.acc-layout > div, .layout-2col > div, .checkout-layout > div, .cart-layout > div {
    min-width: 0;
}

.table-wrap-scroll, .acc-layout > div {
    overflow-x: auto;
}

/* запас сверху, чтобы hover-подъём карточек не обрезался контейнером с overflow */
.acc-layout > div {
    padding-top: 6px;
    margin-top: -6px;
}

@media (max-width: 1200px) {
    /* компактная шапка: иконки без подписей */
    .header-in {
        gap: 14px;
    }

    .hnav {
        gap: 0;
    }

    .hnav-item {
        padding: 8px 9px;
    }

    .hnav-item small {
        display: none;
    }

    .hnav-user {
        padding-left: 10px;
        margin-left: 2px;
    }

    .hnav-user small {
        display: none;
    }

    .logo-txt small {
        display: none;
    }

    .logo-txt {
        font-size: 18px;
    }

    .btn-catalog {
        padding: 12px 16px;
    }

    /* строка корзины: гибкая раскладка без выпадения */
    .cart-row {
        display: flex;
        flex-wrap: wrap;
        row-gap: 14px;
        align-items: center;
    }

    .cart-img {
        flex: none;
    }

    .cart-row > div:nth-child(2) {
        flex: 1 1 200px;
        min-width: 0;
    }

    .cart-row .qty {
        flex: none;
        margin-left: auto;
    }

    .cart-sum {
        display: block;
        flex: 0 0 100%;
        font-size: 17px;
        padding-left: 90px;
    }

    .cart-del {
        display: grid;
        flex: none;
    }

    /* таблицы скроллятся внутри, а не ломают страницу */
    .table {
        min-width: 680px;
    }

    .ptabs {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .h1 {
        font-size: 24px;
    }

    .steps {
        gap: 8px;
    }

    .step span {
        font-size: 12px;
    }

    .step-line {
        width: 24px;
    }

    .promo-strip .progress {
        width: 100%;
        margin-left: 0;
    }

    .summary-card .btn, .os-card .btn {
        width: 100%;
    }

    .buy-actions {
        flex-wrap: wrap;
    }

    .buy-actions .btn-block {
        flex: 1 1 100%;
        order: -1;
    }

    .footer-in {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .cart-sum {
        padding-left: 88px;
    }
}

@media (max-width: 640px) {
    .hnav-user {
        position: absolute;
        top: 8px;
        right: calc(12.5% - 6px);
        border-left: 0;
        margin-left: 0;
        padding-left: 9px;
    }

    .header-in {
        position: relative;
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        gap: 0 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hnav {
        display: grid;
        flex: 0 0 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 8px;
        padding-top: 6px;
        border-top: 1px solid var(--line);
    }

    .hnav > .hnav-item:not(.hnav-user) {
        justify-self: center;
    }

    .btn-catalog {
        padding: 11px 14px;
        font-size: 13px;
    }

    /* карточка товара: доставка в одну колонку */
    .dlv-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .buy-price {
        font-size: 32px;
    }

    .prod-meta {
        gap: 12px;
    }

    .gallery-main img {
        padding: 20px;
    }

    .buy-actions .qty {
        flex: 1 1 auto;
    }

    .buy-actions .qty-val {
        flex: 1;
    }

    /* каталог: фильтры и таблица-вид */
    .toolbar-right {
        margin-left: 0;
    }

    .prod-grid {
        grid-template-columns: 1fr !important;
    }

    .catalog-dynamic.view-list .prod-card {
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 14px;
    }

    .catalog-dynamic.view-list .prod-media {
        grid-row: 1 / 5;
    }

    .catalog-dynamic.view-list .prod-foot {
        grid-column: 2;
        grid-row: 4;
        flex-direction: row;
        align-items: center;
        margin-top: 10px;
        padding: 10px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    /* формы и блоки */
    .form-card, .form-panel {
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .steps {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .banner-dark, .subscribe, .manager-band, .bonus-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-form {
        width: 100%;
    }

    .subscribe-form input {
        width: 100%;
        flex: 1;
    }

    .bonus-progress {
        margin-left: 0;
    }

    .cart-layout, .checkout-layout {
        gap: 18px;
    }

    .summary-card, .os-card {
        padding: 22px 20px;
    }

    .opt-grid {
        grid-template-columns: 1fr;
    }

    .float-panel {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 360px) {
    .logo-txt {
        display: none;
    }
}

/* таблица предложений: внутренний скролл на узких экранах */
.ptab-panel {
    overflow-x: auto;
}

.ptab-panel .table {
    min-width: 760px;
}

/* ---------- Range slider (рабочий) ---------- */
.range {
    position: relative;
    height: 28px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.range-line {
    top: 50%;
}

.range-fill {
    left: 7.2%;
    width: 92.8%;
}

.range-knob {
    left: 7.2%;
    cursor: grab;
    z-index: 2;
}

.range-knob:last-child {
    left: 100%;
}

.range-knob:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-tint);
}

.range-knob.is-drag {
    cursor: grabbing;
    scale: 1.25;
    z-index: 3;
    box-shadow: 0 6px 16px -4px var(--primary-shadow);
    transition: none;
}

.range-knob::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
}

/* ============================================================
   СРАВНЕНИЕ ТОВАРОВ
   ============================================================ */
.cmp-wrap {
    overflow-x: auto;
    margin-top: 24px;
}

.cmp-settings {
    margin: -8px 0 18px;
}

.cmp-settings summary {
    color: var(--ink-60);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

.cmp-settings summary::-webkit-details-marker {
    display: none;
}

.cmp-settings summary::before {
    content: "+";
    display: inline-block;
    width: 18px;
    color: var(--primary);
}

.cmp-settings[open] summary::before {
    content: "−";
}

.cmp-settings-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
}

.cmp-feature-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.cmp-feature-group legend {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

.cmp-feature-group ul {
    max-height: 220px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.cmp-feature-group li + li {
    margin-top: 6px;
}

.cmp-feature-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.cmp-feature-group input {
    margin-top: 2px;
    accent-color: var(--primary);
}

.cmp-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
    width: 100%;
}

.cmp-table th, .cmp-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 13px;
}

.cmp-table thead th {
    border-bottom: 0;
    vertical-align: top;
    padding-top: 0;
}

.cmp-table tbody tr {
    transition: background-color .2s;
}

.cmp-table tbody tr:hover {
    background: var(--surface);
}

.cmp-table tbody tr.row-diff td {
    background: var(--primary-tint);
    transition: background-color var(--t-med);
}

.cmp-table tbody tr.row-diff:hover td {
    background: var(--primary-tint);
}

.cmp-head {
    width: 280px;
    min-width: 280px;
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 2;
    box-shadow: 8px 0 12px -10px rgba(20, 23, 28, .2);
}

.cmp-table td.cmp-head {
    font-weight: 600;
    color: var(--ink-60);
}

.cmp-prod {
    min-width: 240px;
}

.cmp-prod-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmp-image-wrap {
    position: relative;
    display: inline-flex;
    align-self: flex-start;
}

.cmp-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 130px;
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 10px;
    overflow: hidden;
}

.cmp-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s var(--ease-out);
}

.cmp-prod:hover .cmp-img img {
    transform: scale(1.06);
}

.cmp-art {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ink-60);
    text-transform: uppercase;
}

.cmp-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 38px;
}

.cmp-del {
    position: absolute;
    top: 0;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink-40);
    transition: color .25s, border-color .25s, rotate .3s var(--ease-out);
}

.cmp-del:hover {
    color: var(--danger);
    border-color: var(--danger);
    rotate: 90deg;
}

.cmp-price strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 21px;
}

.cmp-price s {
    font-size: 12px;
    color: var(--ink-40);
    display: block;
}

.cmp-price small {
    display: block;
    font-size: 10px;
    color: var(--ink-40);
}

.cmp-row-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.cmp-diff-flag {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 8px;
    transition: background-color var(--t-med);
}

/* кнопка «к сравнению» на карточках */
.prod-compare {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--ink-60);
    transition: color .25s;
}

.prod-compare .ic {
    width: 14px;
    height: 14px;
}

.prod-compare:hover {
    color: var(--primary);
}

.prod-compare.is-added {
    color: var(--primary);
    font-weight: 700;
}


@media (max-width: 1200px) {
    .cmp-head {
        min-width: 180px;
        width: 180px;
    }
}

@media (max-width: 640px) {
    .cmp-prod {
        min-width: 200px;
    }

    .cmp-img {
        width: 160px;
        height: 100px;
    }
}

/* ============================================================
   АВТОРИЗАЦИЯ
   ============================================================ */
.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

.auth-card {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 40px 44px;
}

.auth-sub {
    font-size: 14px;
    color: var(--ink-60);
    margin-bottom: 26px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    border-bottom: 1.5px solid var(--line);
}

.auth-tab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-60);
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    transition: color .25s, border-color .25s;
}

.auth-tab:hover {
    color: var(--ink);
}

.auth-tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    transition: color .25s, border-color var(--t-med);
}

.auth-form[hidden] {
    display: none;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 420px;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--ink-60);
    text-transform: uppercase;
}

.field-input {
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-tint);
}

.field-pass {
    position: relative;
}

.field-pass .field-input {
    width: 100%;
    padding-right: 52px;
}

.pass-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    translate: 0 -50%;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    color: var(--ink-40);
    transition: color .25s, background-color .25s;
}

.pass-eye:hover {
    color: var(--primary);
    background: var(--primary-tint);
}

.auth-alt {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1.5px dashed var(--line);
    font-size: 14px;
    color: var(--ink-60);
    flex-wrap: wrap;
}

.auth-note {
    margin-top: 18px;
    font-size: 12px;
    color: var(--ink-40);
    max-width: 420px;
    line-height: 1.55;
}

.auth-side {
    background: var(--ink);
    border-radius: var(--r-lg);
    color: #fff;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.auth-side-inner {
    padding: 36px 38px;
}

.auth-side .h3 {
    color: #fff;
}

.auth-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.auth-perks li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.auth-perks .ic {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    transition: color var(--t-med);
}

.auth-perks strong {
    display: block;
    font-size: 14px;
}

.auth-perks span {
    font-size: 12px;
    color: #ffffff99;
    line-height: 1.5;
}

.auth-manager {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff12;
    border: 1px solid #ffffff1f;
    border-radius: var(--r-md);
    padding: 14px 16px;
}

.auth-manager img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.auth-manager div {
    flex: 1;
}

.auth-manager strong {
    display: block;
    font-size: 14px;
}

.auth-manager span {
    font-size: 12px;
    color: #ffffff99;
}

@media (max-width: 1200px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .auth-card {
        padding: 26px 20px;
    }

    .auth-side-inner {
        padding: 26px 20px;
    }
}

/* ============================================================
   ФИЛЬТРЫ КАТАЛОГА: сворачивание на мобильных
   ============================================================ */
.filters-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    transition: border-color .25s, box-shadow .25s;
}

.filters-toggle:hover {
    border-color: var(--primary);
}

.filters-toggle .ic {
    width: 16px;
    height: 16px;
    color: var(--primary);
    transition: color var(--t-med);
}

.filters-toggle-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    transition: background-color var(--t-med);
}

.filters-toggle-chevron {
    margin-left: auto;
    rotate: 90deg;
    transition: rotate .3s var(--ease-out);
}

.filters-toggle[aria-expanded="true"] .filters-toggle-chevron {
    rotate: -90deg;
}

@media (max-width: 992px) {
    .filters-toggle {
        display: flex;
    }

    .filters {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .35s var(--ease-out);
    }

    .filters > .filters-inner {
        overflow: hidden;
        min-height: 0;
    }

    .filters.is-open {
        grid-template-rows: 1fr;
    }
}

/* ============================================================
   ИТЕРАЦИЯ 2 (по встрече 12.09)
   ============================================================ */
.fp-admin {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--ink);
    color: #fff;
    border-radius: 4px;
    vertical-align: 2px;
}

/* зазор у логотипа (логотип клиента может быть любого вида) */
.logo {
    gap: 12px;
}

.logo-badge {
    margin-right: 2px;
}

/* ---------- Служебные страницы (success / fail / 404) ---------- */
.result-page {
    padding: 70px 0 90px;
    text-align: center;
}

.result-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background-color var(--t-med);
}

.result-icon .ic {
    width: 44px;
    height: 44px;
    color: #fff;
}

.result-icon.is-ok {
    background: var(--success);
    box-shadow: 0 16px 40px -12px rgba(29, 158, 87, .5);
}

.result-icon.is-err {
    background: var(--danger);
    box-shadow: 0 16px 40px -12px rgba(220, 38, 38, .5);
}

.result-icon.is-404 {
    background: var(--ink);
    box-shadow: 0 16px 40px -12px rgba(20, 23, 28, .5);
}

.result-code {
    font-family: var(--font-display);
    font-size: 96px;
    line-height: 1;
    color: var(--primary);
    transition: color var(--t-med);
}

.result-title {
    font-family: var(--font-display);
    font-size: 34px;
    margin-bottom: 12px;
}

.result-text {
    font-size: 15px;
    color: var(--ink-60);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.result-payment {
    max-width: 720px;
    margin: 32px auto 0;
    padding: 24px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    text-align: left;
}

.result-payment h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.result-payment-item + .result-payment-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.result-payment-item .paysystem_name {
    margin: 12px 0;
    font-weight: 700;
}

.result-order {
    display: inline-flex;
    gap: 32px;
    padding: 20px 32px;
    margin-bottom: 32px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
}

.result-order div {
    text-align: left;
}

.result-order span {
    display: block;
    font-size: 11px;
    color: var(--ink-40);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.result-order strong {
    font-size: 17px;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.result-steps {
    max-width: 720px;
    margin: 56px auto 0;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.result-step {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
}

.result-step b {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: color var(--t-med);
}

.result-step h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.result-step p {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .result-order {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        box-sizing: border-box;
    }

    .result-steps {
        grid-template-columns: 1fr;
    }

    .result-code {
        font-size: 64px;
    }
}

@media (max-width: 480px) {
    .result-page {
        padding: 48px 0 60px;
    }

    .result-order {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .result-payment {
        padding: 18px;
    }
}

/* ---------- Текстовые страницы (политика, оферта) ---------- */
.text-page {
    max-width: 820px;
}

.text-page h1 {
    margin: 36px 0 14px;
}

.text-page h2 {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 36px 0 14px;
}

.text-page p, .text-page li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-60);
    margin-bottom: 10px;
}

.text-page ul {
    padding-left: 22px;
}

.text-page .upd {
    font-size: 12px;
    color: var(--ink-40);
    margin-bottom: 28px;
}

/* ---------- Избранное ---------- */
.fav-note {
    font-size: 13px;
    color: var(--ink-60);
    margin-top: 6px;
}

/* ---------- Форма обратной связи (VIN) ---------- */
.vin-form-card {
    background: var(--ink);
    border-radius: var(--r-lg);
    padding: 44px 48px;
    color: #fff;
}

.vin-form-card .h3 {
    color: #fff;
    margin-bottom: 8px;
}

.vin-form-card > p {
    font-size: 13px;
    color: #ffffff99;
    margin-bottom: 26px;
}

.vin-form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 14px;
}

.vin-form .field-input {
    background: #ffffff12;
    border-color: #ffffff26;
    color: #fff;
}

.vin-form .field-input::placeholder {
    color: #ffffff66;
}

.vin-form .field-input:focus {
    border-color: var(--primary);
    background: #ffffff1a;
}

@media (max-width: 1100px) {
    .vin-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .vin-form {
        grid-template-columns: 1fr;
    }

    .vin-form-card {
        padding: 28px 22px;
    }
}

/* ---------- Ошибки форм (JS-валидация + ошибки бэка) ---------- */
.field-input.is-error {
    border-color: var(--danger) !important;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
}

.field-err {
    display: none;
    font-size: 12px;
    color: var(--danger);
    margin-top: 6px;
}

.field-err.is-show {
    display: block;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(220, 38, 38, .08);
    border: 1.5px solid rgba(220, 38, 38, .35);
    border-radius: var(--r-sm);
    font-size: 13px;
    color: var(--danger);
}

.form-alert .ic {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---------- Регистрация (упрощённая, итерация 2) ---------- */
.reg-simple {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}

.reg-simple .form-card {
    max-width: none;
}

@media (max-width: 1100px) {
    .reg-simple {
        grid-template-columns: 1fr;
    }
}

/* ---------- Авторизация по центру (итерация 2) ---------- */
.auth-center {
    display: flex;
    justify-content: center;
    padding: 24px 0 40px;
}

.auth-center .auth-card {
    width: min(520px, 100%);
}

.auth-center .auth-form {
    max-width: none;
}

.auth-sent {
    padding: 12px 0 4px;
}

/* ЛК: две стат-карточки (итерация 2) */
.stat-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
    .stat-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Документы товара в две колонки на широком экране (итерация 2) */
.doc-card-2col {
    max-width: none;
}

@media (min-width: 992px) {
    .doc-card-2col {
        columns: 2;
        column-gap: 40px;
    }

    .doc-card-2col .doc-item {
        break-inside: avoid;
    }
}

/* VIN-форма: alert на всю ширину */
.vin-form .form-alert {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* ---------- Подразделы каталога: карусель-полоса (итерация 2) ---------- */
.subsec-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 6px;
    scrollbar-width: thin;
}

.subsec-card {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 14px 18px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}

.subsec-card b {
    font-size: 13px;
    color: var(--ink);
}

.subsec-card span {
    font-size: 11px;
    color: var(--ink-40);
}

.subsec-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px var(--primary-shadow);
}

.subsec-card.is-active {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.subsec-card.is-active b {
    color: var(--primary);
}

.oa-preview .oa-review{background:var(--surface);border-bottom:1px solid var(--line);font-size:12px}
.oa-preview .oa-review-in{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:42px}
.oa-preview .oa-review-in>span{color:var(--ink-60)}
.oa-preview .oa-review nav{display:flex;gap:24px}
.oa-preview .oa-review a{padding:12px 0;border-bottom:2px solid transparent}
.oa-preview .oa-review a[aria-current]{color:var(--primary-strong);border-color:var(--primary);font-weight:600}
.oa-preview .oa-crumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--ink-60);padding:25px 0}
.oa-preview .oa-crumb a:hover,.oa-preview .oa-back:hover{color:var(--primary-strong)}
.oa-preview .oa-auth-layout{display:grid;grid-template-columns:1fr 536px;gap:90px;max-width:1080px;margin:25px auto 70px;align-items:start}
.oa-preview .oa-auth-context{padding:45px 0 0}
.oa-preview .oa-auth-context h2{font:400 36px/1.2 var(--font-display);margin:17px 0 22px}
.oa-preview .oa-auth-context>p{color:var(--ink-60);line-height:1.8;max-width:375px}
.oa-preview .oa-steps{margin:35px 0 42px;display:grid;gap:25px}
.oa-preview .oa-steps>div{display:flex;align-items:flex-start;gap:15px;color:var(--ink-60)}
.oa-preview .oa-steps>div>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:600;flex:none}
.oa-preview .oa-steps p{font-size:14px;font-weight:600}
.oa-preview .oa-steps strong{font-size:12px;font-weight:400;display:block;margin-top:4px;color:var(--ink-60)}
.oa-preview .oa-steps .is-current{color:var(--ink)}
.oa-preview .oa-steps .is-current>span{background:var(--primary-tint);color:var(--primary-strong);border-color:transparent}
.oa-preview .oa-help{font-size:13px;color:var(--ink-60);line-height:1.9;border-top:1px solid var(--line);padding-top:20px;max-width:340px}
.oa-preview .oa-help a,.oa-preview .oa-help-note a{color:var(--ink);font-weight:600}
.oa-preview .oa-reset{padding:32px 38px;width:100%;box-shadow:0 8px 30px rgba(20,23,28,.035)}
.oa-preview .oa-reset .h1{font-size:30px;margin:17px 0 12px}
.oa-preview .oa-reset .auth-sub{line-height:1.7;margin-bottom:24px}
.oa-preview .oa-symbol{width:46px;height:46px;border-radius:12px;background:var(--primary-tint);display:grid;place-items:center;color:var(--primary-strong)}
.oa-preview .oa-symbol svg{width:25px;height:25px}
.oa-preview .oa-reset .auth-form{max-width:none;gap:18px}
.oa-preview .oa-input-wrap{position:relative}
.oa-preview .oa-input-wrap .field-input{width:100%;min-height:46px}
.oa-preview .oa-input-wrap input[type=password]{padding-right:46px}
.oa-preview .oa-eye{position:absolute;right:5px;top:2px;width:42px;height:42px;display:grid;place-items:center;color:var(--ink-60)}
.oa-preview .oa-eye svg{width:19px;height:19px}
.oa-preview .oa-hint{font-size:11px;color:var(--ink-60);line-height:1.5}
.oa-preview .oa-required{color:var(--primary-strong)}
.oa-preview .oa-submit{width:100%;margin-top:4px;justify-content:space-between}
.oa-preview .oa-auth-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;font-size:12px}
.oa-preview .oa-auth-bottom>a:last-child:not(:first-child){color:var(--primary-strong)}
.oa-preview .oa-form-message{background:var(--primary-tint);padding:12px;border-radius:8px;font-size:13px}
.oa-preview .oa-form-message[hidden]{display:none}
.oa-preview .oa-form-message.is-error{background:#FFF0EF;color:#AD241B}
.oa-preview .oa-forgot-center{width:min(520px,100%);margin:35px auto 100px}
.oa-preview .oa-help-note{text-align:center;margin:25px 0;font-size:13px;color:var(--ink-60)}
.oa-preview .oa-article-heading{max-width:920px;margin:24px 0 34px}
.oa-preview .oa-meta{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--ink-60);margin-bottom:22px}
.oa-preview .oa-tag{color:var(--primary-strong);background:var(--primary-tint);padding:5px 12px;border-radius:5px;font-weight:600}
.oa-preview .oa-article-heading .h1{font-size:44px;line-height:1.18;margin-bottom:22px}
.oa-preview .oa-lead{font-size:18px;color:var(--ink-60);line-height:1.65}
.oa-preview .oa-cover{margin:0 0 40px}
.oa-preview .oa-cover img{width:100%;height:420px;object-fit:cover;object-position:center 52%;border-radius:var(--r-lg)}
.oa-preview .oa-cover figcaption{font-size:11px;color:var(--ink-60);margin-top:10px}
.oa-preview .oa-article-grid{display:grid;grid-template-columns:minmax(0,780px) 290px;gap:100px}
.oa-preview .oa-prose{font-size:15px;line-height:1.85}
.oa-preview .oa-prose p{margin-bottom:20px}
.oa-preview .oa-prose .oa-intro{font-size:18px;line-height:1.75}
.oa-preview .oa-prose h2{font:400 25px/1.3 var(--font-display);margin:34px 0 17px}
.oa-preview .oa-prose ol{padding-left:22px;margin-bottom:24px}
.oa-preview .oa-prose li{padding-left:8px;margin-bottom:8px}
.oa-preview .oa-prose li::marker{color:var(--primary-strong);font-weight:700}
.oa-preview .oa-article-callout{display:flex;gap:20px;border-left:3px solid var(--primary);background:var(--surface);padding:25px 28px;margin:28px 0;border-radius:0 10px 10px 0}
.oa-preview .oa-article-callout>.ic{color:var(--primary);margin-top:4px}
.oa-preview .oa-article-callout strong{font-size:17px}
.oa-preview .oa-article-callout p{font-size:14px;line-height:1.7;margin:7px 0 0;color:var(--ink-60)}
.oa-preview .oa-facts{background:var(--surface);border-radius:var(--r-lg);padding:28px}
.oa-preview .oa-facts .kicker{font-size:10px;letter-spacing:2px}
.oa-preview .oa-facts strong{display:block;font:400 35px/1.2 var(--font-display);margin-top:20px}
.oa-preview .oa-facts p{font-size:13px;color:var(--ink-60);margin-top:6px}
.oa-preview .oa-facts hr{border:0;border-top:1px solid var(--line);margin-top:24px}
.oa-preview .oa-contact{padding:26px 3px;font-size:13px}
.oa-preview .oa-contact h2{font-size:16px;margin-bottom:10px}
.oa-preview .oa-contact p{color:var(--ink-60);line-height:1.7;margin-bottom:18px}
.oa-preview .oa-contact a{display:block;font-weight:600;margin-top:9px}
.oa-preview .oa-contact a:last-child{font-weight:400;color:var(--primary-strong)}
.oa-preview .oa-article-end{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:27px;margin-top:30px;font-size:13px}
.oa-preview .oa-related{margin:68px 0 70px;padding-top:35px;border-top:1px solid var(--line)}
.oa-preview .oa-related-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}
.oa-preview .oa-related-heading>a{font-size:13px;color:var(--primary-strong)}
.oa-preview .oa-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:1000px){.oa-preview .oa-auth-layout{gap:35px;grid-template-columns:1fr 480px}.oa-preview .oa-auth-context h2{font-size:29px}.oa-preview .oa-article-grid{gap:40px;grid-template-columns:1fr 250px}}
@media(max-width:760px){.oa-preview .oa-review-in{display:block;padding-top:8px}.oa-preview .oa-review nav{gap:20px;overflow:auto;white-space:nowrap;font-size:11px}.oa-preview .oa-auth-layout{display:block;margin:12px 0 40px}.oa-preview .oa-auth-context{display:none}.oa-preview .oa-reset{padding:25px 22px;max-width:536px;margin:auto}.oa-preview .oa-reset .h1{font-size:27px}.oa-preview .oa-crumb{font-size:11px;padding:19px 0}.oa-preview .oa-forgot-center{margin:15px auto 55px}.oa-preview .oa-article-heading{margin-top:14px}.oa-preview .oa-article-heading .h1{font-size:30px}.oa-preview .oa-article-heading .h1 br{display:none}.oa-preview .oa-lead{font-size:16px}.oa-preview .oa-cover img{height:250px}.oa-preview .oa-meta{gap:12px;font-size:11px}.oa-preview .oa-article-grid{display:block}.oa-preview .oa-article-aside{display:none}.oa-preview .oa-prose .oa-intro{font-size:16px}.oa-preview .oa-prose h2{font-size:22px}.oa-preview .oa-article-callout{padding:20px}.oa-preview .oa-related-grid{grid-template-columns:1fr}.oa-preview .oa-related{margin:45px 0}.oa-preview .oa-related .h2{font-size:23px}.oa-preview .oa-article-end{flex-wrap:wrap}.oa-preview .oa-article-end .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.oa-preview *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.oa-recovery .oa-auth-layout{max-width:500px;margin:25px auto 70px;align-items:start}
.oa-recovery .oa-auth-context{padding:45px 0 0}
.oa-recovery .oa-auth-context h2{font:400 36px/1.2 var(--font-display);margin:17px 0 22px}
.oa-recovery .oa-auth-context>p{color:var(--ink-60);line-height:1.8;max-width:375px}
.oa-recovery .oa-steps{margin:35px 0 42px;display:grid;gap:25px}
.oa-recovery .oa-steps>div{display:flex;align-items:flex-start;gap:15px;color:var(--ink-60)}
.oa-recovery .oa-steps>div>span{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:600;flex:none}
.oa-recovery .oa-steps p{font-size:14px;font-weight:600}
.oa-recovery .oa-steps strong{font-size:12px;font-weight:400;display:block;margin-top:4px;color:var(--ink-60)}
.oa-recovery .oa-steps .is-current{color:var(--ink)}
.oa-recovery .oa-steps .is-current>span{background:var(--primary-tint);color:var(--primary-strong);border-color:transparent}
.oa-recovery .oa-help{font-size:13px;color:var(--ink-60);line-height:1.9;border-top:1px solid var(--line);padding-top:20px;max-width:340px}
.oa-recovery .oa-help a,.oa-recovery .oa-help-note a{color:var(--ink);font-weight:600}
.oa-recovery .oa-reset{padding:32px 38px;width:100%;box-shadow:0 8px 30px rgba(20,23,28,.035)}
.oa-recovery .oa-reset .h1{font-size:30px;margin:17px 0 12px}
.oa-recovery .oa-reset .auth-sub{line-height:1.7;margin-bottom:24px}
.oa-recovery .oa-symbol{width:46px;height:46px;border-radius:12px;background:var(--primary-tint);display:grid;place-items:center;color:var(--primary-strong)}
.oa-recovery .oa-symbol svg{width:25px;height:25px}
.oa-recovery .oa-reset .auth-form{max-width:none;gap:18px}
.oa-recovery .oa-input-wrap{position:relative}
.oa-recovery .oa-input-wrap .field-input{width:100%;min-height:46px}
.oa-recovery .oa-input-wrap input[type=password]{padding-right:46px}
.oa-recovery .oa-eye{position:absolute;right:5px;top:2px;width:42px;height:42px;display:grid;place-items:center;color:var(--ink-60)}
.oa-recovery .oa-eye svg{width:19px;height:19px}
.oa-recovery .oa-hint{font-size:11px;color:var(--ink-60);line-height:1.5}
.oa-recovery .oa-required{color:var(--primary-strong)}
.oa-recovery .oa-submit{width:100%;margin-top:4px;justify-content:space-between}
.oa-recovery .oa-auth-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;font-size:12px}
.oa-recovery .oa-auth-bottom>a:last-child:not(:first-child){color:var(--primary-strong)}
.oa-recovery .oa-forgot-center{width:min(520px,100%);margin:35px auto 100px}
.oa-recovery .oa-help-note{text-align:center;margin:25px 0;font-size:13px;color:var(--ink-60)}
.oa-recovery .oa-eye[hidden]{display:none}
.oa-recovery .oa-input-wrap .field-input{padding-right:48px}
.oa-recovery .oa-message{padding:14px 16px;background:var(--surface);border-radius:var(--r-sm);margin:0 0 22px;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.oa-recovery .oa-message.is-error{background:#FFF0EF;color:var(--danger)}
.oa-recovery .oa-message.is-success{background:var(--success-tint);color:var(--ink)}
.oa-recovery .oa-message font,.oa-recovery .oa-message .errortext,.oa-recovery .oa-message .notetext{color:inherit!important}
.oa-recovery .oa-captcha img{margin:5px 0;max-width:100%}
.oa-recovery .oa-phone-resend{margin-top:20px;font-size:13px}
.oa-recovery .oa-secure-note{font-size:11px;color:var(--ink-60);margin-top:8px}
@media(max-width:1000px){.oa-recovery .oa-auth-layout{gap:35px;grid-template-columns:1fr 480px}.oa-recovery .oa-auth-context h2{font-size:29px}}
@media(max-width:760px){.oa-recovery .oa-auth-layout{display:block;margin:12px 0 40px}.oa-recovery .oa-auth-context{display:none}.oa-recovery .oa-reset{padding:25px 22px;max-width:536px;margin:auto}.oa-recovery .oa-reset .h1{font-size:27px}.oa-recovery .oa-forgot-center{margin:15px auto 55px}}

/* ---------- Smart filter: catalog layout ---------- */
.layout-2col > .filters,
.layout-2col > .catalog-main {
    min-width: 0;
}

.filters-inner > .bx-filter {
    width: 100%;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.filters-inner .bx-filter-section.container-fluid {
    padding: 18px;
}

.filters-inner .bx-filter .row {
    display: block;
    margin-right: 0;
    margin-left: 0;
}

.filters-inner .bx-filter .col-lg-12,
.filters-inner .bx-filter .col-xs-12,
.filters-inner .bx-filter .col-xs-6,
.filters-inner .bx-filter .col-xs-10 {
    float: none;
    width: auto;
    padding-right: 0;
    padding-left: 0;
}

.filters-inner .bx-filter-title {
    width: 100%;
    padding: 0 0 16px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.filters-inner .bx-filter-parameters-box {
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 0 14px;
    border-top: 1px solid var(--line);
}

.filters-inner .bx-filter-parameters-box-title {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.filters-inner .bx-filter-parameters-box-title span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filters-inner .bx-filter-parameters-box-title i {
    color: var(--ink-40);
    font-size: 14px;
}

.filters-inner .bx-filter-block {
    padding: 0;
    background: transparent;
}

.filters-inner .bx-filter .checkbox,
.filters-inner .bx-filter .radio {
    margin: 0 0 10px;
}

.filters-inner .bx-filter-param-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    cursor: pointer;
}

.filters-inner .bx-filter-input-checkbox input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary);
}

.filters-inner .bx-filter-param-label.disabled,
.filters-inner .bx-filter-param-label .disabled {
    opacity: .45;
}

.filters-inner .bx-filter-param-btn-block,
.filters-inner .bx-filter-param-btn-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filters-inner .bx-filter .min-price,
.filters-inner .bx-filter .max-price,
.filters-inner .bx-filter input.calendar,
.filters-inner .bx-filter-input-container input[type="text"] {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: none;
}

.filters-inner .bx-filter-parameters-box-container-block {
    width: 50%;
    padding: 0 6px 8px 0;
}

.filters-inner .bx-filter-parameters-box-container-block.bx-right {
    padding: 0 0 8px 6px;
}

.filters-inner .bx-filter-parameters-box-container-block .bx-ft-sub {
    display: block;
    margin-bottom: 5px;
    color: var(--ink-60);
    font-size: 11px;
    font-style: normal;
}

.filters-inner .price-filter-box .bx-ft-sub {
    display: none;
}

.filters-inner .price-filter-box .bx-filter-parameters-box-container-block {
    padding: 0;
}

.filters-inner .price-filter-box .bx-ui-slider-track-container {
    margin: 8px 0 0;
}

.filters-inner .price-filter-box .range {
    width: 100%;
}

.filters-inner .bx-filter .bx-filter-native-select {
    height: 42px;
    margin: 0;
    font-weight: 400;
}

.filters-inner .bx-ui-slider-track-container {
    width: 100%;
    margin: 12px 0 18px;
}

.filters-inner .bx-ui-slider-track {
    height: 4px;
    background: var(--line);
    border-radius: 4px;
}

.filters-inner .bx-ui-slider-pricebar-v,
.filters-inner .bx-ui-slider-range {
    background: var(--primary);
}

.filters-inner .bx-ui-slider-handle {
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.filters-inner .bx-filter-button-box {
    width: 100%;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
}

.filters-inner .bx-filter-button-box .bx-filter-block {
    display: block;
}

.filters-inner .bx-filter-button-box .bx-filter-parameters-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filters-inner .bx-filter-button-box input[type="submit"] {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 700;
}

.filters-inner .bx-filter-button-box #set_filter {
    flex: 1 1 100%;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}

.filters-inner .bx-filter-button-box #del_filter {
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--line);
}

.filters-inner .bx-filter-popup-result {
    position: static;
    width: 100%;
    margin: 8px 0 0;
    padding: 10px 0 0;
    color: var(--ink-60);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 12px;
}

.filters-inner .bx-filter-popup-result .arrow,
.filters-inner .bx-filter-popup-result::after {
    display: none;
}

.filters-inner .bx-filter-popup-result a {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .filters-inner > .bx-filter {
        border: 0;
        border-radius: 0;
    }
}

/* Fine-tune the stock filter controls to the catalog mockup. */
.filters-inner > .bx-filter {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.filters-inner .bx-filter-section.container-fluid {
    padding: 0;
}

.filters-inner .bx-filter .bx-filter-title {
    display: none;
}

.filters-inner .filters-head {
    margin-bottom: 18px;
}

.filters-inner .filters-head h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.filters-inner .bx-filter .row.bx-filter-parameters-box-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.filters-inner .bx-filter-parameters-box-container > .col-xs-12,
.filters-inner .bx-filter-parameters-box-container > .col-xs-10 {
    grid-column: 1 / -1;
    width: auto;
    margin-left: 0;
}

.filters-inner .bx-filter-parameters-box-container > .col-xs-6 {
    width: auto;
    min-width: 0;
}

.filters-inner .bx-ui-slider-track-container {
    grid-column: 1 / -1;
    width: auto;
    margin: 12px 0 16px;
}

.filters-inner .bx-ui-slider-track {
    position: relative;
    overflow: visible;
}

.filters-inner .bx-ui-slider-part {
    display: none;
}

.filters-inner .bx-filter-input-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
}

.filters-inner .bx-filter-input-checkbox input[type="checkbox"],
.filters-inner .bx-filter-input-checkbox input[type="radio"] {
    position: static;
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    margin: 0;
    opacity: 1;
    accent-color: var(--primary);
}

.filters-inner .bx-filter .bx-filter-param-label,
.filters-inner .bx-filter .bx-filter-param-label.bx-active,
.filters-inner .bx-filter .bx-filter-param-label.selected {
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.filters-inner .bx-filter .bx-filter-param-text {
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    font-size: 13px;
    line-height: 1.45;
}

.filters-inner .bx-filter .bx-filter-param-text [data-role^="count_"] {
    color: var(--ink-40);
}

.filters-inner .bx-filter .bx-filter-param-label:hover,
.filters-inner .bx-filter .bx-filter-param-label:hover .bx-filter-param-text {
    color: var(--primary);
    background: transparent;
}

.filters-inner .bx-filter .bx-filter-select-container {
    width: 100%;
}

.filters-inner .bx-filter .bx-filter-select-block {
    min-height: 42px;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.filters-inner .bx-filter-button-box input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.2;
    text-indent: 0;
    opacity: 1;
}

.filters-inner .bx-filter-button-box #set_filter {
    display: block;
    width: 100%;
    color: #fff;
    background: var(--primary);
}

.filters-inner .bx-filter-button-box #del_filter {
    display: block;
    width: 100%;
    color: var(--primary);
}

.filters-inner .bx-filter-popup-result {
    clear: both;
    float: none;
}

.filter-more {
    margin-top: 12px;
}

.filter-more > summary {
    width: fit-content;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.filter-more > summary::-webkit-details-marker {
    display: none;
}

.filter-more[open] > summary {
    margin-bottom: 10px;
}

/* ---------- Доставка и оплата: B2B-информационная страница ---------- */
.delivery-page-head {
    max-width: 820px;
    padding-bottom: 24px;
}

.delivery-kicker,
.delivery-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.delivery-page-head .delivery-kicker {
    margin-bottom: 10px;
}

.delivery-page-head .h1 {
    margin-bottom: 10px;
}

.delivery-page-head .count-note {
    max-width: 690px;
    line-height: 1.7;
}

.delivery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 32px;
    align-items: center;
    min-height: 320px;
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border-radius: var(--r-lg);
    position: relative;
}

.delivery-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    right: 8%;
    top: -250px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 84px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.delivery-hero-copy {
    max-width: 590px;
    position: relative;
    z-index: 1;
}

.delivery-hero .delivery-eyebrow {
    color: #ff9a68;
}

.delivery-hero h2,
.delivery-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.2;
}

.delivery-hero h2 {
    margin: 14px 0 12px;
}

.delivery-hero-copy > p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.delivery-hero-aside {
    min-height: 210px;
    padding: 28px 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .055);
    position: relative;
    z-index: 1;
}

.delivery-route-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 600;
}

.delivery-route-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(29, 158, 87, .16);
}

.delivery-route-graphic {
    height: 80px;
    margin: 8px 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.delivery-route-line {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 50%;
    border-top: 1px dashed rgba(255, 255, 255, .35);
}

.delivery-route-point {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #30343a;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.delivery-route-point .ic {
    width: 19px;
    height: 19px;
}

.delivery-route-point-end {
    color: #ff9a68;
    background: #3d2a21;
    border-color: rgba(240, 90, 20, .45);
}

.delivery-route-truck {
    width: 24px;
    height: 24px;
    color: #ff9a68;
    background: var(--ink);
    padding: 3px;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.delivery-route-caption strong,
.delivery-route-caption span {
    display: block;
}

.delivery-route-caption strong {
    font-size: 14px;
}

.delivery-route-caption span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.delivery-section {
    margin-top: 58px;
}

.delivery-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.delivery-section-heading .kicker {
    display: block;
    margin-bottom: 8px;
}

.delivery-section-heading > p {
    max-width: 390px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.delivery-option {
    min-width: 0;
    padding: 24px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.delivery-option:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -3px;
}

.delivery-option-icon,
.delivery-payment-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 12px;
}

.delivery-option-icon .ic,
.delivery-payment-icon .ic {
    width: 22px;
    height: 22px;
}

.delivery-option-label {
    display: block;
    margin-top: 22px;
    color: var(--ink-40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.delivery-option h3,
.delivery-payment-card h3 {
    margin: 7px 0 9px;
    font-size: 17px;
    line-height: 1.35;
}

.delivery-option > p,
.delivery-payment-card p {
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.delivery-option-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.5;
}

.delivery-option-foot .ic {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--primary);
}

.delivery-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.delivery-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
}

.delivery-payment-icon {
    flex: none;
    background: var(--white);
}

.delivery-payment-card h3 {
    margin-top: 1px;
}

.delivery-payment-tag {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 10px;
    color: var(--primary-strong);
    background: var(--primary-tint);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}

.delivery-doc-note,
.delivery-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 20px;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: var(--primary-tint);
}

.delivery-doc-note {
    margin-top: 16px;
}

.delivery-doc-note > .ic,
.delivery-notice > .ic {
    flex: none;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    color: var(--primary);
}

.delivery-doc-note p,
.delivery-notice p {
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.65;
}

.delivery-doc-note strong,
.delivery-notice strong {
    color: var(--ink);
}

.delivery-order-section {
    margin-bottom: 26px;
}

.delivery-order-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.delivery-order-steps li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 22px 18px;
}

.delivery-order-steps li + li {
    border-left: 1px solid var(--line);
}

.delivery-step-number {
    flex: none;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
}

.delivery-order-steps h3 {
    margin: 1px 0 7px;
    font-size: 13px;
}

.delivery-order-steps p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.6;
}

.delivery-notice {
    margin: 30px 0 0;
    background: var(--surface);
    border-color: var(--ink-40);
}

.delivery-notice > .ic {
    color: var(--ink-60);
}

.delivery-notice p {
    font-size: 12px;
}

.delivery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 32px 0 64px;
    padding: 30px 36px;
    color: #fff;
    background: var(--primary);
    border-radius: var(--r-lg);
}

.delivery-cta .delivery-eyebrow {
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
}

.delivery-cta h2 {
    margin: 7px 0 5px;
    font-size: 24px;
}

.delivery-cta p {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.6;
}

.delivery-cta .btn {
    flex: none;
}

@media (max-width: 1000px) {
    .delivery-hero {
        grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr);
        padding: 34px;
    }

    .delivery-options {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-option:last-child {
        grid-column: 1 / -1;
    }

    .delivery-order-steps {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-order-steps li:nth-child(3) {
        border-left: 0;
    }

    .delivery-order-steps li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 700px) {
    .delivery-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 28px 24px;
    }

    .delivery-hero-aside {
        min-height: 0;
        padding: 20px;
    }

    .delivery-section {
        margin-top: 42px;
    }

    .delivery-section-heading {
        display: block;
    }

    .delivery-section-heading > p {
        margin-top: 10px;
    }

    .delivery-options,
    .delivery-payment-grid {
        grid-template-columns: 1fr;
    }

    .delivery-option:last-child {
        grid-column: auto;
    }

    .delivery-order-steps {
        grid-template-columns: 1fr;
    }

    .delivery-order-steps li + li,
    .delivery-order-steps li:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .delivery-payment-card {
        padding: 22px;
    }

    .delivery-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 44px;
        padding: 26px 22px;
    }

    .delivery-cta .btn {
        width: 100%;
    }
}

/* ---------- Страница «Как сделать заказ» ---------- */
.order-page-head {
    max-width: 850px;
    padding-bottom: 24px;
}

.order-page-head .kicker {
    display: block;
    margin-bottom: 10px;
}

.order-page-head .h1 {
    margin-bottom: 10px;
}

.order-page-head .count-note {
    max-width: 700px;
    line-height: 1.7;
}

.order-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    align-items: center;
    gap: 42px;
    padding: 42px 48px;
    color: #fff;
    background: var(--ink);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}

.order-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -270px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 90px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.order-hero-copy {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.order-eyebrow {
    color: #ff9a68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.order-hero h2 {
    margin: 14px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.order-hero-copy > p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.order-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.order-hero-link {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding: 5px 0;
    transition: color .2s, border-color .2s;
}

.order-hero-link:hover {
    color: #fff;
    border-color: #fff;
}

.order-preview {
    min-width: 0;
    padding: 20px 22px 14px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--r-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.order-preview-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.order-preview-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 10px;
}

.order-preview-mark .ic {
    width: 18px;
    height: 18px;
}

.order-preview-head strong,
.order-preview-head small {
    display: block;
}

.order-preview-head strong {
    font-size: 13px;
}

.order-preview-head small {
    margin-top: 2px;
    color: var(--ink-60);
    font-size: 10px;
}

.order-preview-count {
    margin-left: auto;
    color: var(--ink-60);
    font-size: 10px;
}

.order-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.order-preview-product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.order-product-shape {
    width: 36px;
    height: 36px;
    flex: none;
    display: grid;
    place-items: center;
    background: var(--surface);
    border-radius: 8px;
    position: relative;
}

.order-product-shape::before,
.order-product-shape::after {
    content: "";
    position: absolute;
    display: block;
}

.shape-filter::before {
    width: 16px;
    height: 20px;
    background: #d8dde4;
    border: 1px solid #aeb5bf;
    border-radius: 4px;
}

.shape-filter::after {
    width: 10px;
    height: 2px;
    background: var(--primary);
    top: 9px;
}

.shape-pad::before {
    width: 18px;
    height: 14px;
    background: #d8dde4;
    border: 1px solid #aeb5bf;
    border-radius: 5px 5px 3px 3px;
}

.shape-pad::after {
    width: 8px;
    height: 3px;
    bottom: 8px;
    background: var(--primary);
    border-radius: 2px;
}

.shape-belt::before {
    width: 19px;
    height: 13px;
    border: 3px solid #aeb5bf;
    border-radius: 50%;
    rotate: -25deg;
}

.shape-belt::after {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.order-preview-product > span {
    min-width: 0;
}

.order-preview-product strong,
.order-preview-product small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-preview-product strong {
    font-size: 11px;
}

.order-preview-product small {
    margin-top: 3px;
    color: var(--ink-60);
    font-size: 9px;
}

.order-preview-row > b {
    color: var(--ink-60);
    font-size: 11px;
    white-space: nowrap;
}

.order-preview-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 13px;
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.order-preview-foot .ic {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--primary);
}

.order-steps-section {
    margin-top: 58px;
}

.order-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.order-section-heading .kicker {
    display: block;
    margin-bottom: 8px;
}

.order-section-heading > p {
    max-width: 410px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.order-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

.order-step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 290px;
    padding: 22px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.order-step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -3px;
}

.order-step-number {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1;
}

.order-step-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-top: 18px;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 11px;
}

.order-step-icon .ic {
    width: 20px;
    height: 20px;
}

.order-step-card h3 {
    margin: 16px 0 8px;
    font-size: 15px;
    line-height: 1.4;
}

.order-step-card p {
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.65;
}

.order-step-link,
.order-step-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--primary-strong);
    font-size: 11px;
    font-weight: 700;
}

.order-step-link .ic {
    width: 14px;
    height: 14px;
    transition: translate .2s;
}

.order-step-link:hover .ic {
    translate: 3px 0;
}

.order-step-hint {
    color: var(--ink-40);
    font-weight: 600;
}

.order-help-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding: 26px 30px;
    background: var(--surface);
    border-radius: var(--r-lg);
}

.order-help-icon {
    width: 50px;
    height: 50px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border-radius: 13px;
}

.order-help-icon .ic {
    width: 24px;
    height: 24px;
}

.order-help-copy {
    flex: 1;
    min-width: 0;
}

.order-help-copy .kicker {
    display: block;
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 1.8px;
}

.order-help-copy h2 {
    margin-bottom: 5px;
    font-size: 17px;
}

.order-help-copy p {
    max-width: 650px;
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.6;
}

.order-help-panel .btn {
    flex: none;
}

.order-page-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 18px 0 62px;
    padding: 15px 18px;
    border-left: 3px solid var(--ink-40);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: var(--surface);
}

.order-page-note > .ic {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 1px;
    color: var(--ink-60);
}

.order-page-note p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.65;
}

.order-page-note strong {
    color: var(--ink);
}

@media (max-width: 1100px) {
    .order-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
        gap: 26px;
        padding: 34px;
    }

    .order-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-step-card {
        min-height: 260px;
    }
}

@media (max-width: 760px) {
    .order-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .order-preview {
        max-width: 520px;
    }

    .order-section-heading {
        display: block;
    }

    .order-section-heading > p {
        margin-top: 10px;
    }

    .order-help-panel {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 23px 20px;
    }

    .order-help-copy {
        flex-basis: calc(100% - 72px);
    }

    .order-help-panel .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .order-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .order-hero-actions .btn {
        width: 100%;
    }

    .order-steps-grid {
        grid-template-columns: 1fr;
    }

    .order-step-card {
        min-height: 0;
    }

    .order-step-link,
    .order-step-hint {
        margin-top: 10px;
    }
}

/* ---------- Страница «Оплата и отсрочка» ---------- */
.payinfo-page-head {
    max-width: 850px;
    padding-bottom: 24px;
}

.payinfo-page-head .kicker {
    display: block;
    margin-bottom: 10px;
}

.payinfo-page-head .h1 {
    margin-bottom: 10px;
}

.payinfo-page-head .count-note {
    max-width: 720px;
    line-height: 1.7;
}

.payinfo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 42px;
    align-items: center;
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border-radius: var(--r-lg);
    position: relative;
}

.payinfo-hero::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -280px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.payinfo-hero-copy {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.payinfo-eyebrow {
    display: inline-block;
    color: #ff9a68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.payinfo-hero h2,
.payinfo-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.payinfo-hero h2 {
    margin: 14px 0 12px;
}

.payinfo-hero-copy > p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.payinfo-invoice {
    padding: 22px 24px 16px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--r-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.payinfo-invoice-top {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
}

.payinfo-invoice-icon,
.payinfo-option-icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 11px;
}

.payinfo-invoice-icon .ic,
.payinfo-option-icon .ic {
    width: 21px;
    height: 21px;
}

.payinfo-invoice-top > span:nth-child(2) {
    min-width: 0;
}

.payinfo-invoice-top strong,
.payinfo-invoice-top small {
    display: block;
}

.payinfo-invoice-top strong {
    font-size: 13px;
}

.payinfo-invoice-top small {
    margin-top: 3px;
    color: var(--ink-60);
    font-size: 10px;
}

.payinfo-invoice-status {
    margin-left: auto;
    padding: 5px 8px;
    color: var(--success);
    background: var(--success-tint);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.payinfo-invoice-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.payinfo-invoice-line span:last-child {
    color: var(--ink-60);
    text-align: right;
}

.payinfo-invoice-footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.payinfo-invoice-footer .ic {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--success);
}

.payinfo-section {
    margin-top: 58px;
}

.payinfo-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.payinfo-section-heading .kicker {
    display: block;
    margin-bottom: 8px;
}

.payinfo-section-heading > p {
    max-width: 400px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.payinfo-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.payinfo-option {
    min-width: 0;
    padding: 27px 28px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.payinfo-option:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -3px;
}

.payinfo-option-accent {
    background: var(--surface);
    border-color: transparent;
}

.payinfo-option-accent:hover {
    border-color: var(--primary);
}

.payinfo-option-label {
    display: block;
    margin-top: 19px;
    color: var(--ink-40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.payinfo-option h3 {
    margin: 7px 0 9px;
    font-size: 18px;
}

.payinfo-option > p {
    min-height: 66px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.payinfo-option ul {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    list-style: none;
}

.payinfo-option li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.55;
}

.payinfo-option li::before {
    content: "✓";
    flex: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.payinfo-process-section {
    margin-bottom: 26px;
}

.payinfo-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.payinfo-process li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    min-width: 0;
    padding: 22px 18px;
}

.payinfo-process li + li {
    border-left: 1px solid var(--line);
}

.payinfo-step-number {
    flex: none;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
}

.payinfo-process h3 {
    margin: 1px 0 7px;
    font-size: 13px;
}

.payinfo-process p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.6;
}

.payinfo-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0 0;
    padding: 17px 20px;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: var(--primary-tint);
}

.payinfo-notice > .ic {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 1px;
    color: var(--primary);
}

.payinfo-notice p {
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.65;
}

.payinfo-notice strong {
    color: var(--ink);
}

.payinfo-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 32px 0 64px;
    padding: 30px 36px;
    color: #fff;
    background: var(--primary);
    border-radius: var(--r-lg);
}

.payinfo-cta .payinfo-eyebrow {
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.payinfo-cta h2 {
    margin: 7px 0 5px;
    font-size: 24px;
}

.payinfo-cta p {
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    line-height: 1.6;
}

.payinfo-cta .btn {
    flex: none;
}

@media (max-width: 1100px) {
    .payinfo-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
        gap: 26px;
        padding: 34px;
    }

    .payinfo-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payinfo-process li:nth-child(3) {
        border-left: 0;
    }

    .payinfo-process li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    .payinfo-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .payinfo-invoice {
        max-width: 540px;
    }

    .payinfo-section-heading {
        display: block;
    }

    .payinfo-section-heading > p {
        margin-top: 10px;
    }

    .payinfo-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
    }

    .payinfo-cta .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .payinfo-options,
    .payinfo-process {
        grid-template-columns: 1fr;
    }

    .payinfo-option {
        padding: 23px 20px;
    }

    .payinfo-option > p {
        min-height: 0;
    }

    .payinfo-process li + li,
    .payinfo-process li:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .payinfo-hero .btn {
        width: 100%;
    }
}

/* ---------- Страница «Доставка по России» ---------- */
.rus-delivery-head {
    max-width: 850px;
    padding-bottom: 24px;
}

.rus-delivery-head .kicker {
    display: block;
    margin-bottom: 10px;
}

.rus-delivery-head .h1 {
    margin-bottom: 10px;
}

.rus-delivery-head .count-note {
    max-width: 720px;
    line-height: 1.7;
}

.rus-delivery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    align-items: center;
    gap: 38px;
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border-radius: var(--r-lg);
    position: relative;
}

.rus-delivery-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -260px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 46px rgba(255, 255, 255, .025), 0 0 0 92px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.rus-delivery-hero-copy {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.rus-delivery-eyebrow {
    display: inline-block;
    color: #ff9a68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rus-delivery-hero h2,
.rus-delivery-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.rus-delivery-hero h2 {
    margin: 14px 0 12px;
}

.rus-delivery-hero-copy > p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.rus-route-card {
    min-width: 0;
    padding: 21px 22px 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .055);
    position: relative;
    z-index: 1;
}

.rus-route-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
}

.rus-route-top > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rus-route-top .ic {
    width: 17px;
    height: 17px;
    color: #ff9a68;
}

.rus-route-badge {
    padding: 5px 8px;
    color: #ffb28d;
    background: rgba(240, 90, 20, .16);
    border-radius: 5px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.rus-route-map {
    height: 140px;
    margin: 8px 0 2px;
    position: relative;
}

.rus-route-line {
    position: absolute;
    left: 14%;
    right: 14%;
    top: 48%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .42) 0 5px, transparent 5px 11px);
    rotate: -10deg;
}

.rus-route-node {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 35%;
    color: #fff;
    background: #30343a;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
}

.rus-route-node .ic {
    width: 19px;
    height: 19px;
}

.rus-route-origin {
    left: 8%;
}

.rus-route-destination {
    right: 8%;
    color: #ff9a68;
    background: #3d2a21;
    border-color: rgba(240, 90, 20, .45);
}

.rus-route-vehicle {
    width: 28px;
    height: 28px;
    padding: 4px;
    position: absolute;
    left: 50%;
    top: 44%;
    color: #ff9a68;
    background: var(--ink);
    transform: translate(-50%, -50%);
}

.rus-route-city {
    position: absolute;
    top: 78%;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
}

.rus-route-city-origin {
    left: 3%;
}

.rus-route-city-destination {
    right: 1%;
}

.rus-route-bottom {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    line-height: 1.5;
}

.rus-route-bottom .ic {
    width: 14px;
    height: 14px;
    flex: none;
    color: #ff9a68;
}

.rus-delivery-section {
    margin-top: 58px;
}

.rus-delivery-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.rus-delivery-section-heading .kicker {
    display: block;
    margin-bottom: 8px;
}

.rus-delivery-section-heading > p {
    max-width: 390px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.rus-delivery-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rus-delivery-card {
    min-width: 0;
    padding: 24px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.rus-delivery-card:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -3px;
}

.rus-delivery-card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 12px;
}

.rus-delivery-card-icon .ic {
    width: 22px;
    height: 22px;
}

.rus-delivery-card-label {
    display: block;
    margin-top: 21px;
    color: var(--ink-40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.rus-delivery-card h3 {
    margin: 7px 0 9px;
    font-size: 17px;
}

.rus-delivery-card > p {
    min-height: 84px;
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.65;
}

.rus-delivery-card-foot {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.rus-delivery-card-foot .ic {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--primary);
}

.rus-delivery-process-section {
    margin-bottom: 26px;
}

.rus-delivery-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.rus-delivery-process li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 22px 18px;
}

.rus-delivery-process li + li {
    border-left: 1px solid var(--line);
}

.rus-delivery-step {
    flex: none;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
}

.rus-delivery-process h3 {
    margin: 1px 0 7px;
    font-size: 13px;
}

.rus-delivery-process p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.6;
}

.rus-delivery-details {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 30px;
    padding: 24px 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
}

.rus-delivery-details-icon {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border-radius: 11px;
}

.rus-delivery-details-icon .ic {
    width: 20px;
    height: 20px;
}

.rus-delivery-details .kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 1.7px;
}

.rus-delivery-details h2 {
    margin-bottom: 7px;
    font-size: 16px;
}

.rus-delivery-details p {
    max-width: 900px;
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.7;
}

.rus-delivery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 32px 0 64px;
    padding: 30px 36px;
    color: #fff;
    background: var(--primary);
    border-radius: var(--r-lg);
}

.rus-delivery-cta .rus-delivery-eyebrow {
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.rus-delivery-cta h2 {
    margin: 7px 0 5px;
    font-size: 24px;
}

.rus-delivery-cta p {
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    line-height: 1.6;
}

.rus-delivery-cta .btn {
    flex: none;
}

@media (max-width: 1100px) {
    .rus-delivery-hero {
        grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr);
        gap: 26px;
        padding: 34px;
    }

    .rus-delivery-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rus-delivery-card:last-child {
        grid-column: 1 / -1;
    }

    .rus-delivery-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rus-delivery-process li:nth-child(3) {
        border-left: 0;
    }

    .rus-delivery-process li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    .rus-delivery-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .rus-route-card {
        max-width: 540px;
    }

    .rus-delivery-section-heading {
        display: block;
    }

    .rus-delivery-section-heading > p {
        margin-top: 10px;
    }

    .rus-delivery-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
    }

    .rus-delivery-cta .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .rus-delivery-options,
    .rus-delivery-process {
        grid-template-columns: 1fr;
    }

    .rus-delivery-card:last-child {
        grid-column: auto;
    }

    .rus-delivery-card > p {
        min-height: 0;
    }

    .rus-delivery-process li + li,
    .rus-delivery-process li:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .rus-delivery-hero .btn {
        width: 100%;
    }

    .rus-delivery-details {
        gap: 13px;
        padding: 20px 18px;
    }
}

/* ---------- Страница «Возврат и гарантия» ---------- */
.return-page-head {
    max-width: 850px;
    padding-bottom: 24px;
}

.return-page-head .kicker {
    display: block;
    margin-bottom: 10px;
}

.return-page-head .h1 {
    margin-bottom: 10px;
}

.return-page-head .count-note {
    max-width: 720px;
    line-height: 1.7;
}

.return-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 38px;
    align-items: center;
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border-radius: var(--r-lg);
    position: relative;
}

.return-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -270px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 46px rgba(255, 255, 255, .025), 0 0 0 92px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.return-hero-copy {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.return-eyebrow {
    display: inline-block;
    color: #ff9a68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.return-hero h2,
.return-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.return-hero h2 {
    margin: 14px 0 12px;
}

.return-hero-copy > p {
    max-width: 500px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.7;
}

.return-doc-card {
    padding: 23px 24px 18px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--r-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.return-doc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.return-doc-icon,
.return-type-icon,
.return-checklist-icon {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-tint);
    border-radius: 12px;
}

.return-doc-icon .ic,
.return-type-icon .ic,
.return-checklist-icon .ic {
    width: 22px;
    height: 22px;
}

.return-doc-top strong,
.return-doc-top small {
    display: block;
}

.return-doc-top strong {
    font-size: 13px;
}

.return-doc-top small {
    margin-top: 3px;
    color: var(--ink-60);
    font-size: 10px;
}

.return-doc-status {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 19px 0;
}

.return-status-dot {
    width: 9px;
    height: 9px;
    flex: none;
    margin-top: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--primary-tint);
}

.return-doc-status strong,
.return-doc-status small {
    display: block;
}

.return-doc-status strong {
    font-size: 12px;
}

.return-doc-status small {
    margin-top: 4px;
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.return-doc-bottom {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.return-doc-bottom .ic {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--primary);
}

.return-section {
    margin-top: 58px;
}

.return-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.return-section-heading .kicker {
    display: block;
    margin-bottom: 8px;
}

.return-section-heading > p {
    max-width: 400px;
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.65;
}

.return-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.return-type-card {
    min-width: 0;
    padding: 26px 28px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .25s, box-shadow .3s, translate .25s var(--ease-out);
}

.return-type-card:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 30px -20px var(--primary-shadow);
    translate: 0 -3px;
}

.return-type-warranty {
    background: var(--surface);
    border-color: transparent;
}

.return-type-warranty:hover {
    border-color: var(--primary);
}

.return-type-label {
    display: block;
    margin-top: 20px;
    color: var(--ink-40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.return-type-card h3 {
    margin: 7px 0 9px;
    font-size: 18px;
}

.return-type-card > p {
    min-height: 64px;
    color: var(--ink-60);
    font-size: 12px;
    line-height: 1.7;
}

.return-type-card ul {
    display: grid;
    gap: 10px;
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    list-style: none;
}

.return-type-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.55;
}

.return-type-card li::before {
    content: "✓";
    flex: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.return-process-section {
    margin-bottom: 26px;
}

.return-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.return-process li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 22px 18px;
}

.return-process li + li {
    border-left: 1px solid var(--line);
}

.return-step-number {
    flex: none;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
}

.return-process h3 {
    margin: 1px 0 7px;
    font-size: 13px;
}

.return-process p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.6;
}

.return-checklist {
    margin-top: 32px;
    padding: 25px 28px;
    border-radius: var(--r-lg);
    background: var(--surface);
}

.return-checklist-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.return-checklist-heading .kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: 1.7px;
}

.return-checklist-heading h2 {
    font-size: 17px;
}

.return-checklist-icon {
    background: var(--white);
}

.return-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.return-checklist-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.return-checklist-grid > div > .ic {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 2px;
    color: var(--primary);
}

.return-checklist-grid strong,
.return-checklist-grid small {
    display: block;
}

.return-checklist-grid strong {
    font-size: 12px;
}

.return-checklist-grid small {
    margin-top: 3px;
    color: var(--ink-60);
    font-size: 10px;
    line-height: 1.5;
}

.return-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0 0;
    padding: 16px 19px;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: var(--primary-tint);
}

.return-notice > .ic {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 1px;
    color: var(--primary);
}

.return-notice p {
    color: var(--ink-60);
    font-size: 11px;
    line-height: 1.65;
}

.return-notice strong {
    color: var(--ink);
}

.return-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 32px 0 64px;
    padding: 30px 36px;
    color: #fff;
    background: var(--primary);
    border-radius: var(--r-lg);
}

.return-cta .return-eyebrow {
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.return-cta h2 {
    margin: 7px 0 5px;
    font-size: 24px;
}

.return-cta p {
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    line-height: 1.6;
}

.return-cta .btn {
    flex: none;
}

@media (max-width: 1100px) {
    .return-hero {
        grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr);
        gap: 26px;
        padding: 34px;
    }

    .return-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .return-process li:nth-child(3) {
        border-left: 0;
    }

    .return-process li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    .return-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .return-doc-card {
        max-width: 540px;
    }

    .return-section-heading {
        display: block;
    }

    .return-section-heading > p {
        margin-top: 10px;
    }

    .return-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 22px;
    }

    .return-cta .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .return-types,
    .return-process,
    .return-checklist-grid {
        grid-template-columns: 1fr;
    }

    .return-type-card {
        padding: 23px 20px;
    }

    .return-type-card > p {
        min-height: 0;
    }

    .return-process li + li,
    .return-process li:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .return-checklist {
        padding: 22px 19px;
    }

    .return-hero .btn {
        width: 100%;
    }
}

