:root {
    --lab33-navy: #17355c;
    --lab33-blue: #1f6fb2;
    --lab33-blue-dark: #185d96;
    --lab33-text: #1b2a3a;
    --lab33-muted: #66778a;
    --lab33-bg: #f5f8fc;
    --lab33-border: #dfe7ef;
    --lab33-white: #fff;
    --lab33-radius: 16px;
    --lab33-shadow: 0 12px 30px rgba(25, 53, 92, .08);
    --lab33-container: 1240px;
    --lab33-header-height: 84px;
}

.cart-summary__clear {
    display: block;
    width: 100%;
    margin: 13px 0 0;
    padding: 8px;
    border: 0;
    background: none;
    color: #c54336;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.cart-summary__clear:hover {
    text-decoration: underline;
}

.cart-summary__clear:disabled {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: none;
}

.cart-summary__storage-note {
    margin: 10px 0 0;
    color: #718091;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

/* ===== 0.31.34 — ссылка «Подробнее» в конце описания каталога ===== */
.catalog-product__main .catalog-product__description .catalog-product__more {
    display: inline;
    margin: 0 0 0 4px;
    padding: 0;
    text-align: inherit;
    vertical-align: baseline;
    white-space: nowrap;
}

.catalog-product__actions .button.catalog-product__icon-button {
    align-items: center;
    align-self: center;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    min-width: 34px;
    padding: 6px;
    width: 34px;
}

.catalog-product__order.catalog-product__icon-button,
.catalog-product__question.catalog-product__icon-button {
    color: #1671b9;
    border-color: #a9c9e1;
    background: #fff;
}

.catalog-product__action-icon {
    display: block;
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

/* ===== 0.31.31 — компактные иконки действий продуктов на главной ===== */
.home-product-row__actions .button.home-product-row__icon-button {
    align-items: center;
    align-self: center;
    display: inline-flex;
    flex: 0 0 34px;
    justify-content: center;
    min-height: 34px;
    min-width: 34px;
    padding: 6px;
    width: 34px;
}

.home-product-row__action-icon {
    display: block;
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--lab33-text);
    background: var(--lab33-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
a { color: var(--lab33-blue); text-decoration: none; }
a:hover { color: var(--lab33-blue-dark); }
img { max-width: 100%; height: auto; }

.site-container {
    width: min(calc(100% - 48px), var(--lab33-container));
    margin-inline: auto;
}
.site-container--narrow { max-width: 860px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    width: auto; height: auto; margin: 12px; padding: 8px 12px;
    clip: auto; z-index: 99999; background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--lab33-header-height);
    display: flex;
    align-items: center;
    background: rgba(23, 53, 92, .95);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.home .site-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    background: rgba(255,255,255,.94);
    width: min(calc(100% - 48px), var(--lab33-container));
    margin-inline: auto;
    border-radius: 18px;
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: var(--lab33-header-height);
}
.site-logo__image, .custom-logo {
    display: block;
    width: 185px;
    max-height: 56px;
    object-fit: contain;
}
.site-logo__image--dark { width: 205px; max-height: 56px; object-fit: contain; }
.site-header:not(.home .site-header) .site-logo__image,
.site-header:not(.home .site-header) .custom-logo { filter: none; }
.primary-menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.main-navigation { justify-self: start; }
.primary-menu { display: flex; gap: 24px; align-items: center; }
.primary-menu a { color: #fff; font-weight: 600; font-size: 14px; }
.home .primary-menu a { color: var(--lab33-text); }
.mobile-nav-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.header-actions__link { color: #fff; font-size: 14px; }
.home .header-actions__link { color: var(--lab33-text); }
.menu-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid var(--lab33-blue);
    border-radius: 10px;
    color: #fff;
    background: var(--lab33-blue);
    font-weight: 700;
    cursor: pointer;
}
.button:hover { color: #fff; background: var(--lab33-blue-dark); }
.button--small { min-height: 40px; padding: 8px 16px; }
.button--ghost { color: var(--lab33-blue); background: transparent; }
.button--ghost:hover { color: #fff; }

.hero--home {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(13, 37, 66, .70), rgba(13, 37, 66, .74)),
        radial-gradient(circle at 75% 38%, #3978ae 0, transparent 28%),
        linear-gradient(135deg, #17355c 0%, #315f88 55%, #17355c 100%);
}
.hero__inner { padding-top: 110px; }
.hero__content { max-width: 700px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 72px); line-height: 1.05; }
.hero p { max-width: 650px; font-size: 20px; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; }
.eyebrow { color: #7db7e6; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

.section { padding: 72px 0; }
.section--muted { background: var(--lab33-bg); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 34px; }
.feature-grid, .placeholder-grid { display: grid; gap: 20px; }
.feature-grid, .placeholder-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.placeholder-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature-card, .placeholder-card, .content-card {
    padding: 24px;
    border: 1px solid var(--lab33-border);
    border-radius: var(--lab33-radius);
    background: #fff;
    box-shadow: var(--lab33-shadow);
}
.feature-card h2 { font-size: 20px; margin-top: 0; }
.placeholder-card { min-height: 180px; display: grid; place-items: center; color: var(--lab33-muted); }

.page-shell { padding: 44px 0 84px; }
.breadcrumbs { display: flex; gap: 9px; align-items: center; color: var(--lab33-muted); font-size: 14px; margin-bottom: 20px; }
.page-heading { margin: 0 0 32px; }
.page-heading h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; }
.entry-meta { color: var(--lab33-muted); font-size: 14px; }
.entry-content { font-size: 18px; }
.entry-content > * { max-width: 100%; }
.content-list { display: grid; gap: 18px; }
.content-card h2 { margin: 0 0 8px; }
.entry-image { margin-bottom: 30px; overflow: hidden; border-radius: var(--lab33-radius); }

.search-form { display: flex; gap: 10px; max-width: 760px; margin-top: 22px; }
.search-field {
    flex: 1;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--lab33-border);
    border-radius: 10px;
    font: inherit;
}

.site-footer { padding: 26px 0 10px; color: rgba(255,255,255,.84); background: #102a49; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr 0.9fr 0.95fr 0.95fr 0.8fr; gap: 32px; align-items: start; }
.site-footer__brand p { margin: 0; max-width: 290px; }
.site-footer__logo { max-width: 250px; margin-bottom: 14px; padding: 0; border-radius: 0; background: transparent; }
.site-logo__image--footer { width: 205px; max-height: 56px; object-fit: contain; }
.site-footer__social { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.site-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.site-footer__social-link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); transform: translateY(-1px); }
.site-footer__social-link svg { width: 18px; height: 18px; display: block; }
.site-footer__title { color: #fff; font-size: 16px; margin: 0 0 12px; }
.footer-menu li { margin: 4px 0; }
.site-footer__contacts { justify-self: end; }
.site-footer__contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__contact-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.site-footer__contact-icon { color: rgba(255,255,255,.9); width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.site-footer__contact-icon svg { width: 18px; height: 18px; display: block; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

.error-404 { padding: 80px 0 120px; text-align: center; }
.empty-state { padding: 48px; text-align: center; border: 1px dashed var(--lab33-border); border-radius: var(--lab33-radius); }

/* ===== 0.31.71 TEST — publications catalogue and article ===== */
.publications-catalog {
    min-height: 60vh;
    padding: 42px 0 84px;
    background:
        radial-gradient(circle at 92% 4%, rgba(75, 152, 211, .10), transparent 28%),
        #f5f8fc;
}

.publications-catalog .breadcrumbs,
.publication-single .breadcrumbs {
    margin-bottom: 24px;
}

.publications-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.publications-heading__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--lab33-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.publications-heading h1 {
    margin: 0 0 12px;
    color: var(--lab33-navy);
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.06;
}

.publications-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--lab33-muted);
    font-size: 19px;
    line-height: 1.6;
}

.publication-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    padding: 8px;
    border: 1px solid #d7e3ed;
    border-radius: 15px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(23, 53, 92, .05);
}

.publication-filter {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 9px;
    color: #38516c;
    font-size: 14px;
    font-weight: 700;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.publication-filter strong {
    display: inline-grid;
    min-width: 24px;
    min-height: 24px;
    place-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    color: #55708b;
    background: #edf3f8;
    font-size: 12px;
    line-height: 1;
}

.publication-filter:hover,
.publication-filter.is-active {
    color: #fff;
    background: var(--lab33-blue);
    transform: translateY(-1px);
}

.publication-filter:hover strong,
.publication-filter.is-active strong {
    color: var(--lab33-blue-dark);
    background: #fff;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.publications-grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
.publications-grid--columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.publications-grid--columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.publications-grid--columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.publication-card {
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #d7e3ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(23, 53, 92, .07);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.publication-card:hover {
    border-color: #bdd5e7;
    box-shadow: 0 18px 42px rgba(23, 53, 92, .11);
    transform: translateY(-3px);
}

.publication-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.2;
    background: #eaf3f9;
}

.publication-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.publication-card:hover .publication-card__media img {
    transform: scale(1.025);
}

.publication-card__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .12)),
        repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, .22) 28px 29px),
        #dcecf7;
}

.publication-card__fallback span {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 2px solid rgba(23, 53, 92, .15);
    border-radius: 22px;
    color: rgba(23, 53, 92, .48);
    background: rgba(255, 255, 255, .42);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.publication-card__media--novosti .publication-card__fallback { background-color: #dff1eb; }
.publication-card__media--obnovleniya .publication-card__fallback { background-color: #f8ead3; }
.publication-card__media--yumor .publication-card__fallback { background-color: #eae3f6; }

.publication-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 26px 26px;
}

.publication-card__meta,
.publication-entry__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--lab33-muted);
    font-size: 13px;
}

.publication-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #17649e;
    background: #e8f3fb;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.publication-badge:hover { color: #104f7d; }
.publication-badge--novosti { color: #267257; background: #e4f4ed; }
.publication-badge--novosti:hover { color: #19563f; }
.publication-badge--obnovleniya { color: #956011; background: #fbefd9; }
.publication-badge--obnovleniya:hover { color: #754a0b; }
.publication-badge--yumor { color: #68459c; background: #eee8f8; }
.publication-badge--yumor:hover { color: #53377d; }

.publication-card__title {
    margin: 15px 0 10px;
    color: var(--lab33-navy);
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.22;
}

.publication-card__title a {
    color: inherit;
}

.publication-card__title a:hover {
    color: var(--lab33-blue);
}

.publication-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 20px;
    color: #5d6f81;
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.publication-card__link {
    margin-top: auto;
    color: var(--lab33-blue);
    font-size: 14px;
    font-weight: 800;
}

.publication-card__link span {
    display: inline-block;
    transition: transform .18s ease;
}

.publication-card__link:hover span {
    transform: translateX(4px);
}

.publication-pagination {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #d9e4ed;
}

.publication-pagination__count {
    margin: 0;
    color: var(--lab33-muted);
    font-size: 14px;
}

.publication-pagination__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.publication-pagination__links .page-numbers {
    display: inline-grid;
    min-width: 38px;
    min-height: 38px;
    place-items: center;
    padding: 6px 10px;
    border: 1px solid #d3e0ea;
    border-radius: 9px;
    color: #36516c;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.publication-pagination__links .page-numbers.current,
.publication-pagination__links a.page-numbers:hover {
    color: #fff;
    border-color: var(--lab33-blue);
    background: var(--lab33-blue);
}

.publication-single {
    min-height: 60vh;
    padding: 42px 0 88px;
    background: #fff;
}

.publication-single > .site-container {
    width: min(calc(100% - 48px), 1120px);
}

.publication-entry__header,
.publication-entry__content,
.publication-entry__footer {
    width: min(100%, 880px);
    margin-inline: auto;
}

.publication-entry__header {
    margin-bottom: 30px;
}

.publication-entry__meta {
    margin-bottom: 16px;
}

.publication-entry__header h1 {
    margin: 0;
    color: var(--lab33-navy);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.publication-entry__featured {
    overflow: hidden;
    width: min(100%, 1040px);
    margin: 0 auto 36px;
    border-radius: 20px;
    background: #edf3f8;
    box-shadow: 0 16px 40px rgba(23, 53, 92, .09);
}

.publication-entry__featured img {
    display: block;
    width: 100%;
    height: auto;
}

.publication-entry__content {
    color: #26394b;
    font-size: 18px;
    line-height: 1.78;
}

.publication-entry__content > :first-child { margin-top: 0; }
.publication-entry__content > :last-child { margin-bottom: 0; }

.publication-entry__content p,
.publication-entry__content ul,
.publication-entry__content ol,
.publication-entry__content blockquote,
.publication-entry__content figure,
.publication-entry__content table,
.publication-entry__content .wp-block-image,
.publication-entry__content .wp-block-gallery {
    margin-top: 0;
    margin-bottom: 1.35em;
}

.publication-entry__content h2,
.publication-entry__content h3 {
    color: var(--lab33-navy);
    line-height: 1.25;
}

.publication-entry__content h2 {
    margin: 1.7em 0 .65em;
    font-size: clamp(28px, 3vw, 36px);
}

.publication-entry__content h3 {
    margin: 1.5em 0 .55em;
    font-size: clamp(22px, 2.4vw, 28px);
}

.publication-entry__content ul,
.publication-entry__content ol {
    padding-left: 1.45em;
}

.publication-entry__content li + li {
    margin-top: .35em;
}

.publication-entry__content a {
    text-decoration: underline;
    text-decoration-color: rgba(31, 111, 178, .35);
    text-underline-offset: .18em;
}

.publication-entry__content blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 20px 24px;
    border-left: 4px solid var(--lab33-blue);
    border-radius: 0 12px 12px 0;
    color: #3c5267;
    background: #f2f7fb;
}

.publication-entry__content blockquote > :last-child {
    margin-bottom: 0;
}

.publication-entry__content img {
    max-width: 100%;
    height: auto;
}

.publication-entry__content figure,
.publication-entry__content .wp-caption {
    max-width: 100%;
}

.publication-entry__content figure img,
.publication-entry__content .wp-caption img,
.publication-entry__content > p > img:only-child {
    display: block;
    border-radius: 12px;
}

.publication-entry__content figcaption,
.publication-entry__content .wp-caption-text {
    margin-top: 8px;
    color: var(--lab33-muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.publication-entry__content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.publication-entry__content .alignleft {
    float: left;
    margin: 6px 24px 16px 0;
}

.publication-entry__content .alignright {
    float: right;
    margin: 6px 0 16px 24px;
}

.publication-entry__content table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.publication-entry__content th,
.publication-entry__content td {
    min-width: 130px;
    padding: 11px 13px;
    border: 1px solid #d8e3ec;
    text-align: left;
    vertical-align: top;
}

.publication-entry__content th {
    color: var(--lab33-navy);
    background: #eef5fa;
}

.publication-entry__content iframe,
.publication-entry__content video {
    max-width: 100%;
}

.publication-entry__footer {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--lab33-border);
}

.publication-entry__back {
    display: inline-flex;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 800;
}

.publication-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.publication-post-navigation__item {
    min-width: 0;
    min-height: 112px;
    padding: 18px 20px;
    border: 1px solid #d7e3ed;
    border-radius: 14px;
    background: #f8fbfd;
}

.publication-post-navigation__item--next {
    text-align: right;
}

.publication-post-navigation__item span {
    display: block;
    margin-bottom: 7px;
    color: var(--lab33-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.publication-post-navigation__item a {
    color: var(--lab33-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.publication-post-navigation__item a:hover {
    color: var(--lab33-blue);
}

@media (max-width: 1024px) {
    .publications-grid--columns-3,
    .publications-grid--columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .publications-catalog,
    .publication-single {
        padding: 26px 0 54px;
    }

    .publication-single > .site-container {
        width: min(calc(100% - 28px), 1120px);
    }

    .publications-heading {
        margin-bottom: 22px;
    }

    .publications-heading h1 {
        font-size: 38px;
    }

    .publications-heading p {
        font-size: 16px;
        line-height: 1.55;
    }

    .publication-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 20px;
        padding: 7px;
    }

    .publication-filter {
        justify-content: space-between;
        min-width: 0;
        padding: 7px 10px;
    }

    .publications-grid,
    .publications-grid--columns-1,
    .publications-grid--columns-2,
    .publications-grid--columns-3,
    .publications-grid--columns-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .publication-card {
        border-radius: 15px;
    }

    .publication-card__body {
        padding: 18px 18px 20px;
    }

    .publication-card__title {
        margin-top: 12px;
        font-size: 21px;
    }

    .publication-card__excerpt {
        margin-bottom: 16px;
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .publication-pagination {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 24px;
    }

    .publication-pagination__links {
        justify-content: flex-start;
    }

    .publication-entry__header {
        margin-bottom: 24px;
    }

    .publication-entry__header h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .publication-entry__featured {
        margin-bottom: 26px;
        border-radius: 14px;
    }

    .publication-entry__content {
        font-size: 16px;
        line-height: 1.72;
    }

    .publication-entry__content h2 { font-size: 27px; }
    .publication-entry__content h3 { font-size: 22px; }

    .publication-entry__content .alignleft,
    .publication-entry__content .alignright {
        float: none;
        margin: 0 0 1.35em;
    }

    .publication-entry__footer {
        margin-top: 36px;
    }

    .publication-post-navigation {
        grid-template-columns: 1fr;
    }

    .publication-post-navigation__item--next {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .publication-filters {
        grid-template-columns: 1fr;
    }

    .publication-card__media {
        aspect-ratio: 16 / 9;
    }

    .publication-entry__header h1 {
        font-size: 32px;
    }
}

/* ===== Services page ===== */
.services-page {
    padding: 44px 0 84px;
    background: #f4f8fb;
}

.services-page__heading {
    max-width: 820px;
    margin: 0 0 30px;
}

.services-page__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--lab33-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.services-page__heading h1 {
    margin: 0 0 16px;
    color: var(--lab33-navy);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
}

.services-page__heading p {
    max-width: 760px;
    margin: 0;
    color: var(--lab33-muted);
    font-size: 19px;
    line-height: 1.65;
}

.services-page__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.services-page__navigation a {
    padding: 9px 13px;
    border: 1px solid #cfdeea;
    border-radius: 10px;
    color: var(--lab33-blue);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.services-page__navigation a:hover {
    color: #fff;
    border-color: var(--lab33-blue);
    background: var(--lab33-blue);
}

.services-page__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.services-page__item {
    display: grid;
    min-width: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 26px;
    scroll-margin-top: 120px;
    border: 1px solid #d7e3ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 54, 86, .07);
}

.services-page__item:nth-child(5n + 2) { background: #f4fbf7; }
.services-page__item:nth-child(5n + 3) { background: #fffaf0; }
.services-page__item:nth-child(5n + 4) { background: #f7f6fb; }
.services-page__item:nth-child(5n) { background: #f1f9f8; }

.services-page__icon {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    padding: 16px;
    border-radius: 16px;
    background: #edf6fb;
}

.services-page__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services-page__number {
    color: #80a7c6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.services-page__content h2 {
    margin: 5px 0 9px;
    color: var(--lab33-navy);
    font-size: 22px;
    line-height: 1.25;
}

.services-page__content p {
    margin: 0;
    color: var(--lab33-muted);
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .services-page__list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .services-page { padding: 24px 0 48px; }
    .services-page__heading { margin-bottom: 22px; }
    .services-page__heading h1 { font-size: 34px; }
    .services-page__heading p { font-size: 16px; line-height: 1.55; }
    .services-page__navigation {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 18px;
    }
    .services-page__navigation a { padding: 8px 11px; }
    .services-page__list { gap: 12px; }
    .services-page__item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: 14px;
    }
    .services-page__icon {
        width: 72px;
        height: 72px;
        padding: 10px;
        border-radius: 12px;
    }
    .services-page__content h2 { margin: 3px 0 6px; font-size: 17px; }
    .services-page__content p { font-size: 13px; line-height: 1.45; }
}

@media (max-width: 1100px) {
    .site-header__inner { grid-template-columns: 190px auto; }
    .menu-toggle { display: inline-grid; justify-self: end; gap: 4px; padding: 8px; background: transparent; border: 0; }
    .menu-toggle__line { display: block; width: 24px; height: 2px; background: #fff; }
    .home .menu-toggle__line { background: var(--lab33-text); }
    .main-navigation {
        display: none;
        grid-column: 1 / -1;
        padding: 18px 0;
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .main-navigation.is-open { display: block; }
    .primary-menu { flex-direction: column; align-items: stretch; gap: 10px; }
    .mobile-nav-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.14);
    }
    .mobile-nav-actions a {
        display: inline-flex;
        min-height: 36px;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border: 1px solid rgba(255,255,255,.24);
        border-radius: 7px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }
    .home .mobile-nav-actions { border-top-color: #d7e1e9; }
    .home .mobile-nav-actions a {
        border-color: #d2dfea;
        color: var(--lab33-text);
        background: #f8fbfd;
    }
    .header-actions { display: none; }
    .feature-grid, .placeholder-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
    :root { --lab33-header-height: 72px; }
    .site-container { width: min(calc(100% - 28px), var(--lab33-container)); }
    .home .site-header { top: 10px; width: calc(100% - 20px); }
    .site-header__inner { grid-template-columns: 1fr auto; gap: 14px; }
    .site-logo__image, .custom-logo { width: 150px; }
    .hero--home { min-height: 560px; }
    .hero__inner { padding-top: 90px; }
    .hero p { font-size: 17px; }
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .section { padding: 52px 0; }
    .feature-grid, .placeholder-grid--4, .placeholder-grid--3 { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
    .site-footer__contacts { justify-self: start; }
    .site-footer__bottom { flex-direction: column; }
    .search-form { flex-direction: column; }
}

/* ===== 0.2.0 — approved homepage top ===== */
.home { background:#fff; }
.home-utility {
    position:absolute; inset:0 0 auto 0; z-index:1002; height:38px;
    color:rgba(255,255,255,.86); font-size:12px;
}
.home-utility__inner { height:38px; display:flex; justify-content:space-between; align-items:center; }
.home-utility__left,.home-utility__right { display:flex; gap:20px; align-items:center; }
.home-utility a { color:rgba(255,255,255,.9); }
.home-utility a:hover { color:#fff; }

.home .site-header {
    top:46px; min-height:82px; background:rgba(255,255,255,.97);
    box-shadow:0 16px 36px rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.72);
    border-radius:6px; overflow:visible;
}
.home .site-header__inner { min-height:82px; }
.home .site-logo__image,.home .custom-logo { width:210px; max-height:58px; object-fit:contain; }
.home .primary-menu { justify-content:center; gap:34px; }
.home .primary-menu a { color:#252b31; text-transform:uppercase; letter-spacing:.04em; font-size:12px; font-weight:750; }
.home .primary-menu a:hover { color:var(--lab33-blue); }
.home .header-actions { gap:18px; }
.header-search { display:inline-flex; align-items:center; justify-content:center; align-self:center; width:36px; height:36px; color:#fff; line-height:1; }
.header-search svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home .header-search { color:#fff; }
.home.lab33-design-new .header-search { color:var(--lab33-new-heading-start, #0d4b99); }

.hero--home {
    position:relative; min-height:690px; overflow:hidden; align-items:stretch;
    background:#151e27 url('../images/hero-office.svg') center/cover no-repeat;
}
.hero--home::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,8,14,.72) 0%,rgba(3,8,14,.56) 45%,rgba(3,8,14,.44) 100%); pointer-events:none; }
.hero-slider,.hero-slide { min-height:690px; }
.hero-slide { display:none; position:relative; z-index:1; }
.hero-slide.is-active { display:block; }
.hero__inner {
    min-height:690px; padding-top:180px; padding-bottom:54px;
    display:grid; grid-template-columns:minmax(0, .9fr) minmax(420px, 1.1fr); gap:48px; align-items:center;
}
.hero__content { max-width:610px; }
.hero .eyebrow { margin:0 0 10px; color:#c9d2db; text-transform:none; letter-spacing:0; font-size:14px; font-weight:500; }
.hero h1 { max-width:650px; margin:0 0 18px; font-size:clamp(40px,4vw,62px); font-weight:550; line-height:1.15; letter-spacing:-.025em; }
.hero p { max-width:580px; margin:0; color:rgba(255,255,255,.82); font-size:17px; line-height:1.55; }
.hero__actions { margin-top:26px; }
.button--light { background:#fff; color:#165b9b; border-color:#fff; }
.button--light:hover { color:#165b9b; background:#eef6fd; }
.hero__visual { display:flex; justify-content:flex-end; align-items:center; min-width:0; }
.hero__visual img { width:min(100%,650px); max-height:480px; filter:drop-shadow(0 18px 26px rgba(0,0,0,.25)); }
.hero-slider__controls {
    position:absolute; z-index:3; right:max(24px,calc((100vw - var(--lab33-container))/2)); bottom:42px;
    display:flex; gap:10px; align-items:center;
}
.hero-slider[data-slide-count="1"] .hero-slider__controls { display:none; }
.hero-slider__arrow { width:42px; height:42px; border:0; border-radius:4px; background:#fff; color:#23303c; font-size:28px; cursor:pointer; }
.hero-slider__dots { display:flex; gap:8px; }
.hero-slider__dot { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.72); cursor:pointer; }
.hero-slider__dot.is-active { background:#2f78be; }

.home-benefits { background:#fff; border-bottom:1px solid #e7ebef; }
.home-benefits__grid { min-height:142px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px; align-items:center; }
.home-benefit { display:grid; grid-template-columns:52px 1fr; gap:15px; align-items:start; padding:25px 0; }
.home-benefit__icon { display:grid; place-items:center; width:48px; height:48px; color:#1769aa; font-size:33px; font-family:Arial,sans-serif; }
.home-benefit__icon-image { display:block; width:100%; height:100%; object-fit:contain; }
.home-benefit__icon.has-media .home-benefit__glyph,
.home-benefit__icon:has(img) .home-benefit__glyph { display:none; }
.home-benefit h2 { margin:0 0 6px; color:#202833; font-size:16px; line-height:1.35; font-weight:600; }
.home-benefit p { margin:0; color:#626d78; font-size:13px; line-height:1.55; }

@media (max-width:1100px) {
    .home-utility { display:none; }
    .home .site-header { top:14px; }
    .hero__inner { grid-template-columns:1fr 1fr; padding-top:140px; }
    .home-benefits__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:820px) {
    .home .site-header { border-radius:12px; }
    .home .site-logo__image,.home .custom-logo { width:175px; }
    .hero--home,.hero-slider,.hero-slide { min-height:680px; }
    .hero__inner { grid-template-columns:1fr; padding-top:132px; padding-bottom:42px; }
    .hero__visual { display:none; }
    .hero h1 { font-size:44px; }
}
@media (max-width:720px) {
    .home .site-header { top:10px; }
    .hero--home,.hero-slider,.hero-slide { min-height:620px; }
    .hero__inner { min-height:620px; padding-top:118px; }
    .hero h1 { font-size:38px; }
    .home-benefits__grid { grid-template-columns:1fr; gap:0; }
    .home-benefit { border-bottom:1px solid #edf0f3; }
}


/* ===== 0.4.0 — отдельная сетка баннера =====
 * Баннер остаётся на всю ширину экрана, а его содержимое начинается
 * на той же вертикали, что и левый край светлой панели главного меню.
 */
.home .hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(24px, calc((100vw - var(--lab33-container)) / 2));
    padding-right: max(24px, calc((100vw - var(--lab33-container)) / 2));
}

@media (max-width: 1288px) {
    .home .hero-grid {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 720px) {
    .home .hero-grid {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* ===== 0.5.0 — доводка баннера и полноценный слайдер ===== */
.home .hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 64px;
}
.home .hero__content {
    max-width: 650px;
    align-self: center;
}
.home .hero h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(44px, 3.35vw, 58px);
    line-height: 1.08;
    font-weight: 560;
    letter-spacing: -.022em;
}
.home .hero p {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.58;
}
.home .hero__visual {
    justify-content: center;
    padding-left: 14px;
}
.home .hero__visual img {
    width: min(100%, 570px);
    max-height: 430px;
    transform: translateX(16px);
}

/* Плавное появление активного слайда. Слайды наполняются через lab33_home_slides. */
.hero-slide.is-active {
    animation: lab33HeroFade .48s ease both;
}
@keyframes lab33HeroFade {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hero-slider__arrow,
.hero-slider__dot {
    transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.hero-slider__arrow:hover { transform: translateY(-1px); }
.hero-slider__dot:hover { opacity: 1; transform: scale(1.15); }

@media (max-width: 1100px) {
    .home .hero__inner { gap: 34px; }
    .home .hero h1 { font-size: clamp(42px, 4.7vw, 54px); }
    .home .hero__visual img { width: min(100%, 500px); transform: none; }
}

@media (max-width: 820px) {
    .home .hero__content { max-width: 620px; }
    .home .hero h1 { max-width: 620px; font-size: 44px; line-height: 1.08; }
}

@media (max-width: 720px) {
    .home .hero h1 { font-size: 38px; line-height: 1.1; }
}


/* ===== 0.6.0 — блок «Наши продукты» на главной ===== */
.home-products {
    padding: 16px 0 28px;
    background: #fff;
    border-bottom: 1px solid #e8edf2;
}
.home-products__heading {
    margin-bottom: 24px;
}
.home-products__heading h2 {
    font-size: 28px;
    line-height: 1.2;
    color: #1d2732;
}
.home-products__heading a {
    font-size: 14px;
    font-weight: 650;
}
.home-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.home-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 53, 92, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-product-card:hover {
    transform: translateY(-2px);
    border-color: #cddceb;
    box-shadow: 0 12px 30px rgba(25, 53, 92, .085);
}
.home-product-card__image {
    display: flex;
    height: 190px;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 8px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}
.home-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.home-product-card__body {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    padding: 16px 18px 18px;
}
.home-product-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}
.home-product-card h3 a {
    color: #1d2732;
}
.home-product-card h3 a:hover {
    color: var(--lab33-blue);
}
.home-product-card p {
    margin: 0 0 18px;
    color: #657281;
    font-size: 13px;
    line-height: 1.5;
}
.home-product-card__footer {
    display: grid;
    gap: 13px;
    margin-top: auto;
}
.home-product-card__footer strong {
    color: #1769aa;
    font-size: 14px;
}
.home-product-card__button {
    width: 100%;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
}
.home-product-card__button:hover {
    background: var(--lab33-blue);
}

@media (max-width: 1100px) {
    .home-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-products { padding: 16px 0 28px; }
    .home-products__heading { align-items: center; }
    .home-products__heading h2 { font-size: 25px; }
    .home-products__grid { grid-template-columns: 1fr; }
    .home-product-card__image { height: 220px; }
}

/* ===== 0.9.0 — блок «Наши услуги» на главной ===== */
.home-services {
    padding: 14px 0 36px;
    background: #f8fbfe;
    border-bottom: 1px solid #e7edf3;
}
.home-services__heading {
    margin-bottom: 24px;
}
.home-services__heading h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    color: #1d2732;
}
.home-services__heading a {
    font-size: 14px;
    font-weight: 650;
}
.home-services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.home-service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    min-height: 310px;
    padding: 22px 20px 20px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 53, 92, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-service-card:hover {
    transform: translateY(-2px);
    border-color: #cadbea;
    box-shadow: 0 12px 30px rgba(25, 53, 92, .08);
}
.home-service-card__icon {
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef6fd;
}
.home-service-card__icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.home-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.home-service-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.32;
}
.home-service-card h3 a {
    color: #1d2732;
}
.home-service-card h3 a:hover {
    color: var(--lab33-blue);
}
.home-service-card p {
    margin: 0 0 18px;
    color: #657281;
    font-size: 13px;
    line-height: 1.5;
}
.home-service-card__link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 650;
}
@media (max-width: 1180px) {
    .home-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-services { padding: 16px 0 28px; }
    .home-services__heading h2 { font-size: 25px; }
    .home-services__grid { grid-template-columns: 1fr; }
    .home-service-card { min-height: 0; }
}


/* ===== 0.10.0 — Новости и статьи на главной ===== */
.home-publications {
    padding: 30px 0 42px;
    border-bottom: 1px solid #e7edf3;
}
.home-publications--news { background:#fff; }
.home-publications--articles { background:#f8fbfe; }
.home-publications__heading { margin-bottom:20px; }
.home-publications__heading h2 { margin:0; font-size:28px; line-height:1.2; color:#1d2732; }
.home-publications__heading a { font-size:14px; font-weight:650; }
.home-publications__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.home-publication-card { display:grid; grid-template-columns:150px 1fr; min-width:0; overflow:hidden; border:1px solid #dfe7ef; border-radius:8px; background:#fff; box-shadow:0 8px 22px rgba(25,53,92,.04); }
.home-publication-card__image { display:flex; min-height:180px; align-items:center; justify-content:center; padding:14px; background:#eef6fd; }
.home-publication-card__image img { width:100%; height:100%; object-fit:contain; }
.home-publication-card__body { display:flex; min-width:0; flex-direction:column; padding:16px 18px; }
.home-publication-card time { color:#7a8795; font-size:12px; }
.home-publication-card h3 { margin:8px 0 8px; font-size:17px; line-height:1.3; }
.home-publication-card h3 a { color:#1d2732; }
.home-publication-card h3 a:hover { color:var(--lab33-blue); }
.home-publication-card p { margin:0 0 14px; color:#657281; font-size:13px; line-height:1.5; }
.home-publication-card__link { margin-top:auto; font-size:13px; font-weight:650; }
@media (max-width:1100px) { .home-publications__grid { grid-template-columns:1fr; } .home-publication-card { grid-template-columns:180px 1fr; } }
@media (max-width:720px) { .home-publications { padding:24px 0 32px; } .home-publications__heading h2 { font-size:25px; } .home-publication-card { grid-template-columns:1fr; } .home-publication-card__image { min-height:190px; } }


/* ===== 0.11.0 — светлый футер в стиле согласованных макетов ===== */
.site-footer--light {
    padding: 42px 0 18px;
    color: #536170;
    background: #fff;
    border-top: 1px solid #e5ebf1;
}
.site-footer--light a { color: #273647; }
.site-footer--light a:hover { color: var(--lab33-blue); }
.site-footer__grid--full {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(145px, .85fr)) minmax(170px, .9fr);
    gap: 34px;
    align-items: start;
}
.site-footer--light .site-footer__logo {
    width: min(100%, 230px);
    max-width: 230px;
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.site-footer--light .site-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}
.site-footer--light .site-footer__brand p {
    max-width: 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #667382;
}
.site-footer--light .site-footer__title {
    margin: 2px 0 12px;
    color: #1e2a36;
    font-size: 14px;
    font-weight: 750;
}
.site-footer--light .footer-menu {
    display: block;
}
.site-footer--light .footer-menu li {
    margin: 6px 0;
}
.site-footer--light .footer-menu a,
.site-footer--light .site-footer__contacts p {
    font-size: 12.5px;
    line-height: 1.45;
}
.site-footer--light .site-footer__contacts p { margin: 0 0 10px; }
.site-footer--light .site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e8edf2;
    color: #74808c;
    font-size: 12px;
}
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

@media (max-width: 1100px) {
    .site-footer__grid--full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: span 2; }
}
@media (max-width: 720px) {
    .site-footer--light { padding-top: 32px; }
    .site-footer__grid--full { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__contacts { grid-column: 1 / -1; }
    .site-footer--light .site-footer__bottom { align-items: flex-start; }
    .site-footer__legal { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .site-footer__grid--full { grid-template-columns: 1fr; }
    .site-footer__brand, .site-footer__contacts { grid-column: auto; }
    .site-footer--light .site-footer__bottom { flex-direction: column; }
    .site-footer__legal { flex-direction: column; gap: 8px; }
}


/* ===== 0.12.0 — тёмный футер ===== */
.site-footer--dark {
    padding: 42px 0 18px;
    background: #102231;
    color: rgba(255,255,255,.76);
    border-top: 1px solid rgba(255,255,255,.04);
}
.site-footer--dark a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}
.site-footer--dark a:hover {
    color: #72b9f2;
}
.site-footer--dark .site-footer__grid--full {
    grid-template-columns: 1.45fr 1fr 1fr 1fr .85fr;
    gap: 38px;
    align-items: start;
}
.site-footer--dark .site-footer__logo {
    max-width: 235px;
    margin: 0 0 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.site-footer--dark .site-footer__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.site-footer--dark .site-footer__brand p {
    max-width: 300px;
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.65;
}
.site-footer--dark .site-footer__title {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.site-footer--dark .footer-menu {
    margin: 0;
    padding: 0;
}
.site-footer--dark .footer-menu li {
    margin: 0 0 9px;
}
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    font-size: 13px;
    line-height: 1.5;
}
.site-footer--dark .site-footer__contacts p {
    margin: 0 0 10px;
}
.site-footer--dark .site-footer__bottom {
    margin-top: 34px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
}
.site-footer--dark .site-footer__legal {
    display: flex;
    gap: 28px;
}
.site-footer--dark .site-footer__bottom a {
    color: rgba(255,255,255,.62);
}
.site-footer--dark .site-footer__bottom a:hover {
    color: #fff;
}
@media (max-width: 1180px) {
    .site-footer--dark .site-footer__grid--full { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .site-footer--dark .site-footer__brand { grid-column: span 2; }
}
@media (max-width: 820px) {
    .site-footer--dark { padding-top: 32px; }
    .site-footer--dark .site-footer__grid--full { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .site-footer--dark .site-footer__brand,
    .site-footer--dark .site-footer__contacts { grid-column: 1 / -1; }
    .site-footer--dark .site-footer__bottom { align-items: flex-start; }
    .site-footer--dark .site-footer__legal { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .site-footer--dark .site-footer__grid--full { grid-template-columns: 1fr; }
    .site-footer--dark .site-footer__brand,
    .site-footer--dark .site-footer__contacts { grid-column: auto; }
    .site-footer--dark .site-footer__bottom { flex-direction: column; }
    .site-footer--dark .site-footer__legal { flex-direction: column; gap: 8px; }
}

/* ===== 0.16.0 — более компактный тёмный футер ===== */
.site-footer--dark {
    padding: 22px 0 9px;
}
.site-footer--dark .site-footer__grid--full {
    gap: 26px;
}
.site-footer--dark .site-footer__logo {
    margin-bottom: 9px;
}
.site-footer--dark .site-footer__brand p {
    font-size: 12px;
    line-height: 1.4;
}
.site-footer--dark .site-footer__social {
    margin-top: 15px;
}
.site-footer--dark .site-footer__title {
    margin-bottom: 8px;
    font-size: 14px;
}
.site-footer--dark .footer-menu li {
    margin-bottom: 4px;
}
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contact-list,
.site-footer--dark .site-footer__contacts p {
    font-size: 12px;
    line-height: 1.35;
}
.site-footer--dark .site-footer__contact-list {
    gap: 7px;
}
.site-footer--dark .site-footer__bottom {
    margin-top: 16px;
    padding-top: 9px;
    font-size: 12px;
}
.site-footer--dark .site-footer__legal {
    gap: 22px;
}
@media (max-width: 820px) {
    .site-footer--dark { padding-top: 24px; }
}


/* ===== 0.19.0 — refined catalog page ===== */
.catalog-page {
    padding: 26px 0 52px;
    background: #fff;
}
.catalog-page .breadcrumbs { margin-bottom: 12px; }
.catalog-page__heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}
.catalog-page__heading h1 {
    margin: 0 0 5px;
    font-size: clamp(31px, 3vw, 42px);
    line-height: 1.08;
    color: #1d2732;
}
.catalog-page__heading p { margin: 0; color: #66778a; font-size: 14px; }
.catalog-layout {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.catalog-sidebar {
    position: sticky;
    top: calc(var(--lab33-header-height) + 16px);
    display: grid;
    gap: 14px;
    border-radius: 7px;
}
.catalog-filter {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    background: #fff;
}
.catalog-filter h2 {
    margin: 0;
    padding: 13px 15px;
    border-bottom: 1px solid #e5ebf1;
    color: #1d2732;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}
.catalog-filter__links { display: grid; }
.catalog-filter__links a {
    display: block;
    position: relative;
    padding: 11px 15px;
    border-bottom: 1px solid #edf1f5;
    color: #334456;
    font-size: 12.5px;
    line-height: 1.4;
    transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.catalog-filter__links a:last-child { border-bottom: 0; }
.catalog-filter__links a:hover { color: #1769aa; background: #f7fafd; padding-left: 18px; }
.catalog-filter__links a.is-active {
    color: #1769aa;
    background: #eef6fd;
    font-weight: 650;
}
.catalog-filter__links a.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1f78bd;
}
.catalog-filter__links--compact {
    grid-template-columns: repeat(2, minmax(0,1fr));
    padding: 8px;
    gap: 6px;
}
.catalog-filter__links--compact a {
    border: 1px solid #e4ebf2;
    border-radius: 5px;
    padding: 7px 8px;
    text-align: center;
    background: #fbfdff;
    font-size: 11.5px;
}
.catalog-filter__links--compact a:hover { padding-left: 8px; background: #eef6fd; border-color: #cbddec; }
.catalog-products {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    background: #fff;
}
.catalog-product {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 188px;
    gap: 24px;
    min-height: 226px;
    padding: 18px;
    border-bottom: 1px solid #e2e8ee;
    transition: background .18s ease;
}
.catalog-product:hover { background: #fcfdff; }
.catalog-product:last-child { border-bottom: 0; }
.catalog-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 12px;
    border: 1px solid #e0e9f2;
    border-radius: 6px;
    background: #f2f8fd;
}
.catalog-product__image img { width: 100%; height: 170px; object-fit: contain; }
.catalog-product__main { padding: 2px 0; }
.catalog-product__type {
    margin: 0 0 7px;
    color: #1f6fb2;
    font-size: 11.5px;
    font-weight: 650;
}
.catalog-product h2 { margin: 0 0 9px; font-size: 19px; line-height: 1.24; }
.catalog-product h2 a { color: #1d2732; }
.catalog-product h2 a:hover { color: #1f6fb2; }
.catalog-product__description { margin: 0 0 14px; color: #5e6b79; font-size: 12.5px; line-height: 1.5; }
.catalog-product__supply { margin: 0 0 12px; }
.catalog-product__supply .product-supply__title { margin-bottom: 7px; font-size: 11.5px; }
.catalog-product__supply .product-supply__options { gap: 7px; }
.catalog-product__supply .product-supply__option { min-height: 34px; padding: 7px 12px; font-size: 12px; }
.catalog-product__purpose { margin-top: 2px; }
.catalog-product__purpose-label { display: block; margin-bottom: 7px; color: #8a96a2; font-size: 11px; }
.catalog-product__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-product__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef6fd;
    color: #2b628f;
    font-size: 10.5px;
    line-height: 1;
}
.catalog-product__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 3px;
}
.catalog-product__price {
    min-height: 40px;
    color: #1d2732;
    font-size: 17px;
    line-height: 1.2;
}
.catalog-product__order,
.catalog-product__question { width: 100%; min-height: 37px; padding: 6px 11px; border-radius: 5px; font-size: 12.5px; }
.catalog-product__question { margin-top: 7px; }
.catalog-product__article { margin-top: 12px; color: #7a8794; font-size: 12px; line-height: 1.35; }
.catalog-product__more { margin-top: auto; padding-top: 14px; text-align: right; font-size: 12px; font-weight: 650; }

@media (max-width: 1050px) {
    .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 20px; }
    .catalog-product { grid-template-columns: 170px minmax(0, 1fr); }
    .catalog-product__actions { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
    .catalog-product__price { grid-column: 1 / -1; min-height: 0; }
    .catalog-product__question { margin-top: 0; }
    .catalog-product__article { grid-column: 1 / -1; margin-top: 2px; }
    .catalog-product__more { grid-column: 1 / -1; margin-top: 0; padding-top: 4px; }
}
@media (max-width: 780px) {
    .catalog-page { padding-top: 22px; }
    .catalog-page__heading { align-items: start; flex-direction: column; margin-bottom: 16px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .catalog-product { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px; }
    .catalog-product__image { min-height: 155px; }
    .catalog-product__image img { height: 140px; }
}
@media (max-width: 620px) {
    .catalog-sidebar { grid-template-columns: 1fr; }
    .catalog-filter__links--compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalog-product { grid-template-columns: 1fr; }
    .catalog-product__image { min-height: 200px; }
    .catalog-product__image img { height: 180px; }
    .catalog-product__actions { grid-column: auto; grid-template-columns: 1fr; }
    .catalog-product__price, .catalog-product__more { grid-column: auto; }
    .catalog-product__more { text-align: left; }
}


/* ===== 0.21.0 — product page ===== */
.product-page { padding: 26px 0 54px; background: #fff; }
.product-page .breadcrumbs { margin-bottom: 12px; }
.product-page__header { margin-bottom: 18px; }
.product-page__header h1 { margin: 0 0 10px; color: #1d2732; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.12; }
.product-page__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.product-page__meta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #465667; font-size: 12.5px; }
.product-page__meta-group strong { color: #1d2732; }
.product-page__meta-group span { padding: 5px 11px; border-radius: 5px; background: #eef6fd; color: #24699f; }
.product-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(390px, 1.02fr) 280px; gap: 20px; align-items: start; margin-bottom: 26px; }
.product-visual { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 10px; min-width: 0; }
.product-visual__thumbs-wrap { position: relative; min-width: 0; }
.product-visual__thumbs-wrap::after { content: ''; position: absolute; left: 50%; bottom: 4px; z-index: 2; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #587086; opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .15s ease; filter: drop-shadow(0 1px 1px rgba(255,255,255,.9)); }
.product-visual__thumbs-wrap.has-more-images::after { opacity: .9; }
.product-visual__thumbs { display: grid; align-content: start; gap: 8px; width: 100%; max-height: 400px; overflow-x: hidden; overflow-y: auto; padding-right: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.product-visual__thumbs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.product-visual__thumb { width: 66px; height: 66px; padding: 4px; border: 1px solid #dce5ed; border-radius: 6px; background: #fff; cursor: pointer; }
.product-visual__thumb.is-active { border: 2px solid #1f78bd; padding: 3px; }
.product-visual__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-visual__main { display: grid; place-items: center; min-height: 350px; padding: 14px; border: 1px solid #dce5ed; border-radius: 7px; background: #fff; }
.product-visual__main img { display: block; width: 100%; max-height: 365px; object-fit: contain; cursor: zoom-in; }
.product-visual__placeholder { color: #8a96a2; }
.product-summary { padding-top: 2px; }
.product-summary__type { margin: 0 0 9px; color: #1f6fb2; font-size: 12px; font-weight: 700; }
.product-summary__lead { margin: 0 0 16px; color: #3f4d5b; font-size: 13.5px; line-height: 1.52; }
.product-summary h2 { margin: 0 0 8px; font-size: 15px; color: #1d2732; }
.product-specs { margin: 0; display: grid; gap: 0; }
.product-specs div { display: grid; grid-template-columns: 24px 92px minmax(0,1fr); gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #edf1f5; font-size: 12.5px; }
.product-specs__icon { display:grid; place-items:center; width:22px; height:22px; color:#2879ba; }
.product-specs__icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.product-specs dt { color: #7a8794; }
.product-specs dd { margin: 0; color: #273747; }
.product-buybox { position: sticky; top: calc(var(--lab33-header-height) + 16px); padding: 18px; border: 1px solid #dde6ee; border-radius: 7px; background: #fff; box-shadow: 0 12px 32px rgba(27,54,86,.08); }
.product-buybox__type { margin: 0 0 8px; color: #586776; font-size: 13px; line-height: 1.4; }
.product-buybox__price { margin-bottom: 8px; color: #1d2732; font-size: 24px; font-weight: 750; line-height: 1.2; }
.product-buybox__availability { margin: 0 0 18px; color: #39a83f; font-size: 12.5px; font-weight: 650; }
.product-buybox__availability span { font-size: 10px; vertical-align: 1px; }
.product-buybox__order, .product-buybox__question { width: 100%; border-radius: 5px; }
.product-buybox__question { margin-top: 9px; }
.product-buybox__note { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid #e9edf1; color: #7a8794; font-size: 12px; }
.product-buybox__rows { display:grid; gap:0; margin:17px 0 0; padding-top:12px; border-top:1px solid #e9edf1; }
.product-buybox__rows div { display:grid; grid-template-columns:78px 1fr; gap:8px; padding:5px 0; font-size:12px; }
.product-buybox__rows dt { color:#7a8794; }
.product-buybox__rows dd { margin:0; color:#334456; }
.product-tabs { margin-top: 12px; }
.product-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #dfe6ed; }
.product-tabs__button { min-height: 34px; padding: 6px 18px; border: 1px solid #dfe6ed; border-bottom: 0; border-radius: 14px 14px 0 0; background: #fafcfe; color: #334456; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.2; cursor: pointer; }
.product-tabs__button:hover { color: #1769aa; background: #f3f8fc; }
.product-tabs__button.is-active { position: relative; color: #1769aa; background: #fff; }
.product-tabs__button.is-active::before { content: ''; position: absolute; top: 2px; left: 10px; right: 10px; height: 2px; border-radius: 999px; background: #1f78bd; }
.product-tabs__panels { box-sizing: border-box; padding: 22px 20px 20px; }
.product-tabs__panel { max-width: 100%; font-size: 14px; line-height: 1.58; }
.product-tabs__panel[hidden] { display: none !important; }
.product-tabs__panel h2 { font-size: 23px; }
.product-tabs__panel h3 { font-size: 19px; }
.product-tabs__panel img { max-width: 100%; height: auto; }

@media (max-width: 1120px) {
    .product-hero { grid-template-columns: minmax(0,.92fr) minmax(300px,1.08fr); }
    .product-buybox { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
    .product-buybox__type { margin: 0; }
    .product-buybox__price { margin: 0; }
    .product-buybox__order, .product-buybox__question { width: auto; min-width: 180px; margin: 0; }
    .product-buybox__note { grid-column: 1 / -1; margin-top: 2px; }
}
@media (max-width: 820px) {
    .product-hero { grid-template-columns: 1fr; }
    .product-visual__main { min-height: 320px; }
    .product-buybox { display: block; }
    .product-buybox__price { margin-bottom: 14px; }
    .product-buybox__order, .product-buybox__question { width: 100%; }
    .product-buybox__question { margin-top: 8px; }
}
@media (max-width: 560px) {
    .product-page { padding-top: 20px; }
    .product-visual { grid-template-columns: 1fr; }
    .product-visual__thumbs-wrap { grid-row: 2; }
    .product-visual__thumbs { grid-template-columns: repeat(4, 1fr); max-height: none; overflow: visible; }
    .product-visual__thumb { width: 100%; height: 66px; }
    .product-tabs__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 0; }
    .product-tabs__button { border: 1px solid #dfe6ed; border-bottom: 0; border-radius: 14px 14px 0 0; }
    .product-tabs__panels { padding: 18px 14px 16px; }
}

.product-supply{margin:0 0 16px;padding:8px 0 2px}.product-supply__title{margin-bottom:8px;color:#7a8794;font-size:12.5px}.product-supply__options{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}.product-supply__option{appearance:none;flex:0 0 auto;max-width:100%;min-height:38px;border:1px solid #d5e0ea;border-radius:5px;background:#fff;color:#354657;padding:8px 14px;font:inherit;font-size:12.5px;line-height:1.25;text-align:center;white-space:normal;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.product-supply__option:hover{border-color:#7fb2dc;background:#f7fbff}.product-supply__option.is-active{border-color:#2879ba;background:#edf6fd;color:#1767a8;box-shadow:inset 0 0 0 1px #2879ba}.product-supply__option:focus-visible{outline:2px solid #7fb2dc;outline-offset:2px}

/* ===== 0.26.0 — cart and request ===== */
.cart-page,.request-page{padding:26px 0 56px;background:#fff}.cart-page__heading,.request-page__heading{margin:0 0 20px}.cart-page__heading h1,.request-page__heading h1,.request-success h1{margin:0 0 6px;color:#1d2732;font-size:clamp(30px,3vw,42px);line-height:1.08}.cart-page__heading p,.request-page__heading p,.request-success p{margin:0;color:#66778a;font-size:14px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.cart-items{display:grid;gap:10px}.cart-item{display:grid;grid-template-columns:92px minmax(0,1fr) 120px 112px 120px auto;gap:16px;align-items:center;padding:15px;border:1px solid #dfe7ef;border-radius:7px;background:#fff}.cart-item__image{display:grid;place-items:center;width:92px;height:82px;padding:6px;border-radius:6px;background:#f2f8fd}.cart-item__image img{max-width:100%;max-height:100%;object-fit:contain}.cart-item h2{margin:0 0 7px;font-size:16px;line-height:1.3;font-weight:400}.cart-item h2 a{color:#1d2732;font-weight:400}.cart-item__variant,.cart-item__article{margin:3px 0;color:#687889;font-size:12px}.cart-item__price,.cart-item__sum{font-size:14px;font-weight:700;color:#1d2732}.cart-item__quantity{display:grid;grid-template-columns:32px 46px 32px;align-items:center}.cart-item__quantity button,.cart-item__quantity input{height:34px;border:1px solid #d5e0ea;background:#fff;text-align:center}.cart-item__quantity button{cursor:pointer;font-size:18px}.cart-item__quantity input{width:46px;border-left:0;border-right:0}.cart-item__remove{border:0;background:none;color:#c54336;font-size:12px;cursor:pointer}.cart-summary,.request-summary{position:sticky;top:calc(var(--lab33-header-height) + 16px);padding:20px;border:1px solid #dfe7ef;border-radius:7px;background:#fff;box-shadow:0 12px 32px rgba(27,54,86,.07)}.cart-summary h2,.request-summary h2{margin:0 0 16px;font-size:19px}.cart-summary__row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;color:#687889;font-size:13px}.cart-summary__total{margin-top:4px;padding-top:14px;border-top:1px solid #e5ebf1;color:#1d2732}.cart-summary__total strong{font-size:20px}.cart-summary__checkout{width:100%;margin-top:16px}.cart-summary__checkout.is-disabled{opacity:.5;pointer-events:none}.cart-summary__continue{display:block;margin-top:14px;text-align:center;font-size:12px}.cart-empty{padding:34px;border:1px dashed #ccd9e5;border-radius:7px;text-align:center}.cart-empty h2{margin:0 0 8px}.cart-empty p{margin:0 0 18px;color:#687889}.request-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}.request-main{display:grid;gap:16px;min-width:0}.request-form{padding:22px;border:1px solid #dfe7ef;border-radius:7px;background:#fff}.request-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.request-form label{display:grid;gap:6px}.request-form label span{color:#334456;font-size:12.5px;font-weight:650}.request-form input,.request-form textarea{width:100%;border:1px solid #d5e0ea;border-radius:5px;padding:10px 12px;font:inherit;background:#fff}.request-form__comment{margin-top:16px}.request-form__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.request-form__submit{margin-top:0;min-width:210px}.request-form__submit--invoice{min-width:240px}.request-form__note{margin:10px 0 0;color:#8794a1;font-size:11.5px}.request-inline-success{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:14px;padding:12px 14px;border:1px solid #bfe3c5;border-radius:6px;background:#f1fbf3;color:#267a35;font-size:13px}.request-inline-success[hidden]{display:none}.request-inline-success strong{font-size:14px}.request-inline-success span{color:#547160}.request-summary__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f5;font-size:12.5px}.request-summary__item strong{display:block;color:#1d2732}.request-summary__item span{display:block;margin-top:3px;color:#718091}.request-summary__total{display:flex;justify-content:space-between;gap:16px;padding-top:16px}.request-summary__total strong{font-size:20px}.request-summary__empty{color:#718091}.request-error{margin:0 0 18px;padding:12px 14px;border:1px solid #f0c9c5;border-radius:6px;background:#fff6f5;color:#9d3127}.request-success{max-width:700px;margin:36px auto;padding:40px;border:1px solid #dfe7ef;border-radius:8px;text-align:center}.request-success__icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border-radius:50%;background:#eaf8ec;color:#2d9b39;font-size:30px;font-weight:700}.request-success .button{margin-top:22px}.button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1050px){.cart-layout,.request-layout{grid-template-columns:1fr}.cart-summary,.request-summary{position:static}.cart-item{grid-template-columns:80px minmax(0,1fr) 110px 110px}.cart-item__sum{grid-column:3}.cart-item__remove{grid-column:4}.cart-item__quantity{grid-row:2;grid-column:3/5}}
@media(max-width:680px){.cart-item{grid-template-columns:70px minmax(0,1fr);gap:12px}.cart-item__image{width:70px;height:70px}.cart-item__price,.cart-item__quantity,.cart-item__sum,.cart-item__remove{grid-column:2}.cart-item__quantity{grid-row:auto}.request-form__grid{grid-template-columns:1fr}}

/* ===== 0.27.0 — заявка: реквизиты по ИНН / DaData ===== */
.request-form__lookup{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.request-form__lookup-button{min-width:132px;border:1px solid #2b78b8;border-radius:5px;background:#fff;color:#1769aa;padding:8px 11px;font:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}.request-form__lookup-button:hover{background:#f2f8fd}.request-form__lookup-button:disabled{opacity:.55;cursor:wait}.request-form__lookup-status{display:block;min-height:16px;color:#748393;font-size:11px;line-height:1.35}.request-form__lookup-status[data-state="success"]{color:#2f9239}.request-form__lookup-status[data-state="error"]{color:#b33b30}.request-form__lookup-status[data-state="loading"]{color:#58738c}@media(max-width:680px){.request-form__lookup{grid-template-columns:1fr}.request-form__lookup-button{width:100%}}

.request-form--sent input[readonly],.request-form--sent textarea[readonly]{background:#f6f9fc;color:#334456}.request-inline-success--after-submit{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;margin-top:0;padding:18px;border-color:#bfe3c5;background:#f1fbf3}.request-inline-success__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#dff4e3;color:#259238;font-size:25px;font-weight:700}.request-inline-success__content{display:grid;justify-items:start;gap:5px}.request-inline-success__content strong{font-size:18px;color:#1f6f2d}.request-inline-success__content span{color:#547160}.request-inline-success__invoice{margin-top:8px}

/* Account creation on order request */
.request-account{margin-top:18px;padding:14px 16px;border:1px solid #dfe7ef;border-radius:7px;background:#f8fbfe}.request-account__toggle{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:9px!important;cursor:pointer}.request-account__toggle input{width:16px;height:16px;margin:0;padding:0;flex:0 0 auto}.request-account__toggle span{font-size:13px!important;color:#1d2732!important}.request-account__hint{margin:7px 0 0;color:#748393;font-size:11.5px;line-height:1.45}.request-account__fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.request-account__fields[hidden]{display:none}.request-account--logged{color:#536b7f;font-size:12.5px}.request-account--logged a{font-weight:650}.request-error a{font-weight:700}@media(max-width:680px){.request-account__fields{grid-template-columns:1fr}}

/* Personal cabinet */
.cabinet-page{padding:28px 0 64px;background:#fff}.cabinet-page__heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}.cabinet-page__heading h1{margin:0 0 5px;font-size:clamp(30px,3vw,42px);line-height:1.08;color:#1d2732}.cabinet-page__heading p{margin:0;color:#6f7f90}.cabinet-login{max-width:520px;padding:24px;border:1px solid #dfe7ef;border-radius:8px;background:#fff;box-shadow:0 12px 32px rgba(27,54,86,.06)}.cabinet-login h2{margin:0 0 14px}.cabinet-login form p{margin:0 0 14px}.cabinet-login label{display:block;margin-bottom:6px;font-size:12.5px;font-weight:650}.cabinet-login input[type=text],.cabinet-login input[type=password]{width:100%;border:1px solid #d5e0ea;border-radius:5px;padding:10px 12px}.cabinet-login .login-submit input{border:0;border-radius:6px;background:#2779ba;color:#fff;padding:11px 20px;font-weight:700;cursor:pointer}.cabinet-login__note{margin-top:12px;color:#738293;font-size:12px}.cabinet-actions{display:flex;gap:10px;align-items:center}.cabinet-requests{display:grid;gap:12px}.cabinet-request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-request__head{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;margin-bottom:10px}.cabinet-request__head strong{font-size:16px}.cabinet-request__date{color:#7b8997;font-size:12px}.cabinet-request__items{display:grid;gap:6px;color:#435466;font-size:12.5px}.cabinet-request__item{display:flex;flex-wrap:wrap;gap:5px}.cabinet-request__item span{color:#778695}.cabinet-request__side{display:grid;align-content:start;justify-items:end;gap:10px;min-width:170px}.cabinet-request__total{font-size:18px;font-weight:750;color:#1d2732}.cabinet-request__status{font-size:11px;color:#2f8f3e;background:#edf8ef;border-radius:999px;padding:4px 8px}.cabinet-empty{padding:26px;border:1px dashed #cbd8e4;border-radius:8px;color:#6d7d8d}.cabinet-request .button{white-space:nowrap}@media(max-width:720px){.cabinet-page__heading{align-items:start;flex-direction:column}.cabinet-request{grid-template-columns:1fr}.cabinet-request__side{justify-items:start}}

/* ===== 0.31.0 — каркас личного кабинета ===== */
.cabinet-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.cabinet-sidebar {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(27,54,86,.04);
}
.cabinet-usercard {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    padding: 17px 16px;
    border-bottom: 1px solid #e7edf3;
    background: #f8fbfe;
}
.cabinet-usercard__avatar img {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}
.cabinet-usercard__info {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.cabinet-usercard__info strong {
    overflow: hidden;
    color: #1d2732;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cabinet-usercard__info span {
    overflow: hidden;
    color: #7a8998;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cabinet-nav { display: grid; padding: 7px 0; }
.cabinet-nav__item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 9px 14px;
    color: #405365;
    font-size: 13px;
    font-weight: 600;
    transition: color .15s ease, background .15s ease;
}
.cabinet-nav__item:hover { color: #1769aa; background: #f5f9fc; }
.cabinet-nav__item.is-active {
    color: #1769aa;
    background: #edf6fd;
}
.cabinet-nav__item.is-active::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #2879ba;
}
.cabinet-nav__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: currentColor;
}
.cabinet-nav__icon svg,
.cabinet-placeholder__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cabinet-content {
    min-width: 0;
    padding: 20px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
}
.cabinet-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf3;
}
.cabinet-section-heading h2 { margin: 0 0 4px; color: #1d2732; font-size: 23px; line-height: 1.2; }
.cabinet-section-heading p { margin: 0; color: #748392; font-size: 12.5px; }
.cabinet-placeholder {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 260px;
    place-content: center;
    padding: 32px;
    border: 1px dashed #cbd8e4;
    border-radius: 8px;
    text-align: center;
    color: #718191;
    background: #fbfdff;
}
.cabinet-placeholder__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #2879ba;
    background: #edf6fd;
}
.cabinet-placeholder__icon svg { width: 24px; height: 24px; }
.cabinet-placeholder h3 { margin: 4px 0 0; color: #263747; font-size: 17px; }
.cabinet-placeholder p { max-width: 430px; margin: 0; font-size: 12.5px; line-height: 1.5; }

@media (max-width: 900px) {
    .cabinet-shell { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
    .cabinet-usercard { grid-template-columns: 44px minmax(0,1fr); padding: 14px 12px; }
    .cabinet-usercard__avatar img { width: 44px; height: 44px; }
    .cabinet-content { padding: 17px; }
}
@media (max-width: 720px) {
    .cabinet-shell { grid-template-columns: 1fr; }
    .cabinet-sidebar { position: static; }
    .cabinet-nav { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 7px; gap: 5px; }
    .cabinet-nav__item { border-radius: 5px; padding: 8px 10px; }
    .cabinet-nav__item.is-active::before { display: none; }
}
@media (max-width: 480px) {
    .cabinet-nav { grid-template-columns: 1fr; }
}

/* ===== 0.31.1 — компактные заявки и просмотр заявки ===== */
.cabinet-requests--compact{gap:8px}
.cabinet-request--compact{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:11px 14px;
    color:inherit;
    text-decoration:none;
    transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cabinet-request--compact:hover{
    border-color:#bfd4e6;
    background:#fbfdff;
    box-shadow:0 5px 16px rgba(27,54,86,.05);
}
.cabinet-request--compact .cabinet-request__head{margin-bottom:4px;gap:7px 12px}
.cabinet-request--compact .cabinet-request__head strong{font-size:14px}
.cabinet-request__summary-line{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    align-items:center;
    min-width:0;
    color:#768594;
    font-size:12px;
    line-height:1.35;
}
.cabinet-request__summary-line strong{
    overflow:hidden;
    max-width:620px;
    color:#334657;
    font-size:12.5px;
    font-weight:600;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.cabinet-request__compact-side{
    display:grid;
    grid-template-columns:auto auto;
    gap:8px 14px;
    align-items:center;
    justify-items:end;
    min-width:170px;
}
.cabinet-request__compact-side .cabinet-request__total{font-size:16px}
.cabinet-request-detail{display:grid;gap:18px}
.cabinet-request-detail__top{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    padding-bottom:14px;
    border-bottom:1px solid #e7edf3;
}
.cabinet-request-detail__top h3{margin:0 0 4px;color:#1d2732;font-size:21px}
.cabinet-request-detail__top span:not(.cabinet-request__status){color:#7b8997;font-size:12px}
.cabinet-request-detail__buyer{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 22px;
    padding:14px;
    border:1px solid #e2e9ef;
    border-radius:7px;
    background:#f9fbfd;
}
.cabinet-request-detail__field{display:grid;gap:3px;min-width:0}
.cabinet-request-detail__field span{color:#7b8997;font-size:11.5px}
.cabinet-request-detail__field strong{color:#2a3b4b;font-size:12.5px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.cabinet-request-detail__items{overflow:hidden;border:1px solid #dfe7ef;border-radius:7px}
.cabinet-request-detail__row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 80px 120px 120px;
    gap:12px;
    align-items:center;
    padding:10px 12px;
    border-top:1px solid #edf1f5;
    font-size:12.5px;
}
.cabinet-request-detail__row:first-child{border-top:0}
.cabinet-request-detail__row--head{background:#f7fafc;color:#627486;font-size:11.5px;font-weight:650}
.cabinet-request-detail__row > span:nth-child(n+2){text-align:right}
.cabinet-request-detail__row small{display:block;margin-top:3px;color:#7b8997;font-size:11.5px}
.cabinet-request-detail__comment{padding:13px 14px;border:1px solid #e2e9ef;border-radius:7px;background:#fff}
.cabinet-request-detail__comment > span{color:#7b8997;font-size:11.5px}
.cabinet-request-detail__comment p{margin:5px 0 0;color:#334657;font-size:12.5px;line-height:1.5}
.cabinet-request-detail__footer{display:flex;justify-content:flex-end;gap:18px;align-items:center;padding-top:2px}
.cabinet-request-detail__total{display:flex;gap:14px;align-items:baseline}
.cabinet-request-detail__total span{color:#718191;font-size:12.5px}
.cabinet-request-detail__total strong{color:#1d2732;font-size:20px}
@media(max-width:720px){
    .cabinet-request--compact{grid-template-columns:1fr;gap:8px}
    .cabinet-request__compact-side{grid-template-columns:auto auto;justify-content:space-between;justify-items:start;min-width:0}
    .cabinet-request-detail__buyer{grid-template-columns:1fr}
    .cabinet-request-detail__row{grid-template-columns:minmax(0,1fr) 55px 90px 95px;gap:8px;font-size:11.5px}
    .cabinet-request-detail__footer{justify-content:space-between;align-items:flex-end}
}
@media(max-width:520px){
    .cabinet-request-detail__items{overflow-x:auto}
    .cabinet-request-detail__row{min-width:620px}
    .cabinet-request-detail__footer{flex-direction:column;align-items:stretch}
    .cabinet-request-detail__footer .button{text-align:center}
}


/* ===== 0.31.3 — все позиции в компактной заявке ===== */
.cabinet-request__summary-items{display:grid;gap:3px;min-width:0}
.cabinet-request__summary-items .cabinet-request__summary-line{min-width:0}
.cabinet-request__summary-items .cabinet-request__summary-line strong{max-width:700px}

/* Cabinet downloads */
.cabinet-downloads{overflow:hidden;border:1px solid #dfe7ef;border-radius:8px;background:#fff}
.cabinet-downloads__head,.cabinet-download{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 80px 110px;gap:14px;align-items:center;padding:12px 14px}
.cabinet-downloads__head{background:#f7fafc;border-bottom:1px solid #dfe7ef;color:#6f7f90;font-size:11.5px;font-weight:650}
.cabinet-download{border-top:1px solid #e7edf2}.cabinet-download:first-of-type{border-top:0}
.cabinet-download__main{min-width:0}.cabinet-download__product{display:block;margin-bottom:3px;color:#2874b5;font-size:11.5px;font-weight:650}.cabinet-download__main strong{display:block;color:#1d2732;font-size:13px;line-height:1.35}.cabinet-download__main p{margin:4px 0 0;color:#718191;font-size:11.5px;line-height:1.4}
.cabinet-download__meta{color:#526476;font-size:12px}.cabinet-download__action{text-align:right}.cabinet-download__action .button{padding:8px 14px;min-width:92px;text-align:center}
@media(max-width:900px){.cabinet-downloads__head{display:none}.cabinet-download{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}.cabinet-download__main{grid-column:1/-1}.cabinet-download__meta{font-size:11.5px}.cabinet-download__action{grid-column:2;grid-row:2/4;align-self:center}}
@media(max-width:560px){.cabinet-download{grid-template-columns:1fr}.cabinet-download__action{grid-column:1;grid-row:auto;text-align:left}.cabinet-download__action .button{width:100%}}


/* ===== 0.31.5 — подписки в разделе «Скачать» ===== */
.cabinet-section-intro{margin:-2px 0 12px;color:#6f7f90;font-size:12.5px}
.cabinet-subscriptions{display:grid;gap:10px}
.cabinet-subscription{border:1px solid #dfe7ef;border-radius:8px;background:#fff;overflow:hidden}
.cabinet-subscription__summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;cursor:pointer;list-style:none;background:#fff}
.cabinet-subscription__summary::-webkit-details-marker{display:none}
.cabinet-subscription__summary:hover{background:#f8fbfd}
.cabinet-subscription__title-wrap{min-width:0}
.cabinet-subscription__title-wrap>strong{display:block;color:#1d2732;font-size:14px;line-height:1.35}
.cabinet-subscription__meta-line{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:4px;color:#718191;font-size:11.5px}
.cabinet-subscription__meta-line span+span:before{content:'•';margin-right:12px;color:#a9b4be}
.cabinet-subscription__right{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.cabinet-subscription__count{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:13px;background:#eef6fc;color:#2874b5;font-size:11.5px;font-weight:650}
.cabinet-subscription__chevron{width:9px;height:9px;border-right:2px solid #557083;border-bottom:2px solid #557083;transform:rotate(45deg);transition:transform .16s ease;margin-top:-4px}
.cabinet-subscription[open] .cabinet-subscription__chevron{transform:rotate(225deg);margin-top:4px}
.cabinet-subscription__body{padding:0 14px 14px;border-top:1px solid #edf1f4}
.cabinet-subscription__description{margin:11px 0;color:#526476;font-size:12px;line-height:1.45}
.cabinet-subscription__body .cabinet-downloads{border-radius:6px}
.cabinet-empty--compact{margin-top:12px;padding:18px 20px}
@media(max-width:680px){.cabinet-subscription__summary{padding:12px;gap:10px}.cabinet-subscription__right{gap:8px}.cabinet-subscription__count{display:none}.cabinet-subscription__body{padding:0 10px 10px}}

/* ===== 0.31.6 — профиль, аватар и информационные подписки ===== */
.cabinet-profile-form{display:grid;gap:12px}.cabinet-profile-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px}.cabinet-profile-card{border:1px solid #dfe7ef;border-radius:8px;background:#fff;padding:14px}.cabinet-profile-card--wide{padding:14px}.cabinet-profile-card h3{margin:0 0 10px;color:#1d2732;font-size:15px}.cabinet-profile-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.cabinet-profile-card__heading h3{margin:0 0 3px}.cabinet-profile-card__heading p{margin:0;color:#758493;font-size:11.5px}.cabinet-profile-card--avatar{display:flex;flex-direction:column;align-items:center;text-align:center}.cabinet-profile-card--avatar h3{align-self:stretch;text-align:left}.cabinet-profile-avatar{margin:1px 0 10px}.cabinet-profile-avatar img{display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;border:1px solid #dfe7ef;background:#f5f8fb}.cabinet-profile-file{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid #2879ba;border-radius:6px;color:#1769aa;font-size:12px;font-weight:650;cursor:pointer;background:#fff}.cabinet-profile-file:hover{background:#f2f8fd}.cabinet-profile-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.cabinet-profile-help{margin:7px 0 0;color:#7a8998;font-size:10.5px;line-height:1.4}.cabinet-profile-remove-avatar{margin-top:9px}.cabinet-profile-field{display:grid;gap:5px;margin-bottom:10px}.cabinet-profile-field:last-of-type{margin-bottom:0}.cabinet-profile-field>span{color:#344759;font-size:11.5px;font-weight:650}.cabinet-profile-field input{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d5e0ea;border-radius:5px;background:#fff;color:#1d2732}.cabinet-profile-field input[readonly]{background:#f7f9fb;color:#68798a}.cabinet-profile-subscriptions{display:grid;gap:7px}.cabinet-profile-subscription{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px;border:1px solid #e3eaf0;border-radius:6px;background:#fbfdff;cursor:pointer}.cabinet-profile-subscription:hover{border-color:#c8d9e7;background:#f8fbfe}.cabinet-profile-subscription input{margin:2px 0 0}.cabinet-profile-subscription__text{display:grid;gap:2px;min-width:0}.cabinet-profile-subscription__text strong{color:#1d2732;font-size:12.5px}.cabinet-profile-subscription__text small{color:#2874b5;font-size:10.5px}.cabinet-profile-subscription__text em{color:#718191;font-size:11px;font-style:normal;line-height:1.4}.cabinet-profile-assigned{overflow:hidden;border:1px solid #e3eaf0;border-radius:6px}.cabinet-profile-assigned__row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;border-top:1px solid #edf1f4}.cabinet-profile-assigned__row:first-child{border-top:0}.cabinet-profile-assigned__row>div{display:grid;gap:2px;min-width:0}.cabinet-profile-assigned__row strong{color:#1d2732;font-size:12.5px}.cabinet-profile-assigned__row span:not(.cabinet-profile-badge){color:#718191;font-size:10.5px}.cabinet-profile-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:12px;background:#eef6fc;color:#2874b5;font-size:10.5px;font-weight:650}.cabinet-profile-actions{display:flex;justify-content:flex-start}.cabinet-profile-notice{margin-bottom:10px;padding:9px 11px;border-radius:6px;font-size:11.5px}.cabinet-profile-notice--success{border:1px solid #b9dfc1;background:#eef9f0;color:#2f7f3e}.cabinet-profile-notice--error{border:1px solid #e4b7b7;background:#fff2f2;color:#9a3030}
@media(max-width:760px){.cabinet-profile-grid{grid-template-columns:1fr}.cabinet-profile-card--avatar{align-items:flex-start;text-align:left}.cabinet-profile-avatar img{width:96px;height:96px}.cabinet-profile-assigned__row{align-items:flex-start;flex-direction:column}.cabinet-profile-badge{align-self:flex-start}}


/* ===== 0.31.7 — Мои продукты ===== */
.cabinet-products-table{border:1px solid #dfe7ef;border-radius:8px;overflow:hidden;background:#fff}
.cabinet-products-table__head,.cabinet-product-row{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(170px,.9fr) minmax(220px,1.25fr) 78px 112px 90px minmax(130px,.7fr);gap:12px;align-items:center}
.cabinet-products-table__head{padding:10px 14px;background:#f6f9fb;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:11.5px;font-weight:400}
.cabinet-product-row{padding:11px 14px;border-bottom:1px solid #edf1f4;color:#33485a;font-size:12.5px;font-weight:400}
.cabinet-product-row:last-child{border-bottom:0}.cabinet-product-row:hover{background:#fbfdff}
.cabinet-product-row__product{min-width:0}.cabinet-product-row__product-link{display:block;color:#2271b1;font-size:13px;line-height:1.35;font-weight:400;text-decoration:none}.cabinet-product-row__product-link:hover{text-decoration:underline}.cabinet-product-row__product-link.is-disabled{color:#1d2732}.cabinet-product-row__product small{display:block;margin-top:3px;color:#758696;line-height:1.35;font-weight:400}
.cabinet-product-row__org,.cabinet-product-row__contract{color:#516476;font-weight:400}.cabinet-product-row__number{font-weight:400;color:#1d2732}.cabinet-product-row__version{color:#516476;font-weight:400}
.cabinet-product-row__actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.cabinet-product-row__actions .button{min-height:32px;padding:7px 11px;font-size:11.5px;white-space:nowrap}
@media(max-width:980px){.cabinet-products-table__head{display:none}.cabinet-product-row{grid-template-columns:1fr auto;gap:7px 14px}.cabinet-product-row__org,.cabinet-product-row__contract,.cabinet-product-row__product{grid-column:1}.cabinet-product-row__actions{grid-column:2;grid-row:1 / span 4;align-self:center}.cabinet-product-row__number,.cabinet-product-row__version{display:inline-block}.cabinet-product-row__number:before{content:'Лицензий / сопровождение: ';font-weight:400;color:#758696}.cabinet-product-row__number+.cabinet-product-row__number{display:none}}
@media(max-width:620px){.cabinet-product-row{grid-template-columns:1fr}.cabinet-product-row__actions{grid-column:1;grid-row:auto;justify-content:flex-start}}

/* ===== 0.31.12 — Техподдержка ===== */
.cabinet-nav__item{position:relative}.cabinet-nav__badge{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#d93f3f;color:#fff;font-size:10.5px;font-weight:700}
.cabinet-support-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.cabinet-support-toolbar .cabinet-section-intro{margin:0}.cabinet-support-toolbar>.button,.cabinet-support-reply__footer>.button,.cabinet-support-form-actions>.button{min-height:30px;padding:5px 11px;font-size:11.5px;line-height:1.1;border-radius:7px}.cabinet-support-new,.cabinet-support-reply{display:grid;gap:10px;padding:12px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-support-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.cabinet-support-form-grid .cabinet-profile-field{margin-bottom:0;grid-template-rows:auto 38px}.cabinet-support-new select,.cabinet-support-new textarea,.cabinet-support-reply textarea{width:100%;border:1px solid #d5e0ea;border-radius:5px;background:#fff;padding:8px 10px;color:#1d2732}.cabinet-support-form-grid select{height:38px;min-height:38px;box-sizing:border-box}.cabinet-support-new select{min-height:38px}.cabinet-support-new textarea,.cabinet-support-reply textarea{resize:vertical}.cabinet-support-file{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#344759;font-size:11.5px;font-weight:650}.cabinet-support-file input[type=file]{max-width:100%;font-weight:400}.cabinet-support-file small{display:block;width:100%;color:#7a8998;font-size:10.5px;font-weight:400}.cabinet-support-file--compact{font-weight:400}.cabinet-support-selected-files{display:flex;flex-wrap:wrap;gap:5px;width:100%}.cabinet-support-file-chip{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 7px;border:1px solid #d6e2eb;border-radius:5px;background:#f7fafc;color:#40566a;font-size:10.5px;font-weight:400}.cabinet-support-file-chip button{appearance:none;border:0;background:transparent;color:#81909d;cursor:pointer;font-size:15px;line-height:1;padding:0}.cabinet-support-form-actions,.cabinet-support-reply__footer{display:flex;align-items:center;gap:8px;justify-content:flex-start}.cabinet-support-reply__footer{justify-content:space-between}
.cabinet-support-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:8px;align-items:end;margin:0 0 10px;padding:9px 10px;border:1px solid #e1e8ee;border-radius:7px;background:#f8fafc}.cabinet-support-filters label{display:grid;gap:4px}.cabinet-support-filters label>span{font-size:10.5px;color:#6c7c8b}.cabinet-support-filters select{width:100%;min-height:32px;padding:5px 7px;border:1px solid #d4dfe8;border-radius:5px;background:#fff;color:#344759;font-size:11px}.cabinet-support-filter-actions{display:flex;align-items:center;gap:8px}.cabinet-support-filter-actions .button{min-height:32px;padding:5px 10px;font-size:11px}.cabinet-support-filter-actions a{font-size:10.5px;color:#2874b5;text-decoration:none}
.cabinet-support-list{overflow:auto;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.cabinet-support-list__head,.cabinet-support-row{display:grid;grid-template-columns:56px 112px minmax(130px,.9fr) minmax(185px,1.25fr) minmax(200px,1.35fr) 96px 108px;gap:10px;align-items:center;min-width:930px;padding:10px 12px}.cabinet-support-list__head{background:#f5f8fa;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:12px}.cabinet-support-row{border-top:1px solid #edf1f4;color:#33485a;text-decoration:none;font-size:13px}.cabinet-support-row:first-of-type{border-top:0}.cabinet-support-row:hover{background:#f8fbfd}.cabinet-support-row.is-unread{background:#eef7fd}.cabinet-support-row.is-unread:hover{background:#e7f2fa}.cabinet-support-row.is-unread .cabinet-support-row__subject{font-weight:700;color:#1d2732}.cabinet-support-row__number{display:flex;align-items:center;gap:6px;color:#1d2732}.cabinet-support-unread-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2271b1;flex:0 0 auto}.cabinet-support-row__subject{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cabinet-support-row__date{color:#758696;font-size:11.5px}.cabinet-support-row__last{display:grid;gap:2px;min-width:0}.cabinet-support-row__last>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cabinet-support-row__last small{color:#8996a2;font-size:9.5px}.cabinet-support-status{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:12px;font-size:11px;white-space:nowrap}.cabinet-support-status--new{background:#eef6fc;color:#2874b5}.cabinet-support-status--in_progress{background:#fff6df;color:#976700}.cabinet-support-status--waiting_client{background:#f1effc;color:#6e54a8}.cabinet-support-status--closed{background:#eef2f4;color:#667782}.cabinet-support-priority{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:12px;font-size:11px;white-space:nowrap}.cabinet-support-priority--normal{background:#f1f4f6;color:#667782}.cabinet-support-priority--high{background:#fff3db;color:#9a6500}.cabinet-support-priority--urgent{background:#fdeaea;color:#b42318}
.cabinet-support-detail{display:grid;gap:10px;width:100%;max-width:none}.cabinet-support-detail__top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:9px;border-bottom:1px solid #e7edf2}.cabinet-support-back{display:inline-block;margin-bottom:5px;color:#2874b5;font-size:14px;font-weight:600;text-decoration:none}.cabinet-support-back:hover{text-decoration:underline}.cabinet-support-detail__top h3{margin:0;color:#1d2732;font-size:18px;line-height:1.3}.cabinet-support-detail__meta{display:flex;flex-wrap:wrap;gap:5px 13px;margin-top:5px;color:#718191;font-size:10.5px}.cabinet-support-thread{display:flex;flex-direction:column;gap:6px}.cabinet-support-message{width:auto;max-width:70%;padding:8px 10px;border:1px solid #dbe4eb;border-radius:7px;background:#f7f9fb;box-shadow:0 1px 1px rgba(31,50,66,.02)}.cabinet-support-message.is-client{margin-left:auto;background:#dce6eb;border-color:#c8d5dc}.cabinet-support-message.is-support{margin-right:auto;background:#d3ead7;border-color:#bdd9c2}.cabinet-support-message__head{display:flex;justify-content:space-between;gap:12px;margin-bottom:4px}.cabinet-support-message__head strong{color:#1d2732;font-size:11px}.cabinet-support-message__head span{color:#8694a1;font-size:9.5px}.cabinet-support-message__text{color:#334657;font-size:12px;line-height:1.42}.cabinet-support-message__files{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.cabinet-support-message__files a{display:inline-flex;align-items:center;min-height:25px;padding:0 7px;border:1px solid #cfe0ed;border-radius:5px;background:#fff;color:#2874b5;text-decoration:none;font-size:10px}.cabinet-support-message__files a:hover{background:#f6fbff}.cabinet-support-reply{margin-top:0}.cabinet-support-reply .cabinet-profile-field{margin-bottom:0}.cabinet-support-close-form{display:flex;justify-content:flex-end;margin-top:-2px}.cabinet-support-close-form .button{min-height:30px;padding:5px 10px;font-size:11px}.cabinet-support-closed-note{padding:10px 12px;border:1px solid #dfe5e9;border-radius:7px;background:#f6f8f9;color:#667782;font-size:11px}
@media(max-width:980px){.cabinet-support-filters{grid-template-columns:1fr 1fr}.cabinet-support-filter-actions{grid-column:1/-1}.cabinet-support-message{max-width:84%}}
@media(max-width:820px){.cabinet-support-form-grid{grid-template-columns:1fr}.cabinet-support-message{max-width:94%}}
@media(max-width:560px){.cabinet-support-toolbar{align-items:flex-start;flex-direction:column}.cabinet-support-toolbar .button{width:auto}.cabinet-support-detail__top{flex-direction:column}.cabinet-support-reply__footer,.cabinet-support-form-actions{align-items:stretch;flex-direction:column}.cabinet-support-reply__footer .button,.cabinet-support-form-actions .button{width:100%;text-align:center}.cabinet-support-filters{grid-template-columns:1fr}.cabinet-support-filter-actions{grid-column:auto}.cabinet-support-message{max-width:100%}.cabinet-support-close-form{justify-content:flex-start}}


/* ===== 0.31.13 — Взаиморасчёты ===== */
.cabinet-settlements{display:grid;gap:12px}.cabinet-settlement-card{border:1px solid #dfe7ef;border-radius:8px;background:#fff;overflow:hidden}.cabinet-settlement-card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e4eaf0}.cabinet-settlement-card__head h3{margin:0;color:#1d2732;font-size:15px;font-weight:600}.cabinet-settlement-card__meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:3px;color:#748393;font-size:10.5px}.cabinet-settlement-total{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:14px;font-size:11.5px;font-weight:600;white-space:nowrap}.cabinet-settlement-total--advance{background:#eaf7ed;color:#277a38}.cabinet-settlement-total--debt{background:#fdecec;color:#a92e24}.cabinet-settlement-total--zero{background:#eef2f5;color:#667782}.cabinet-settlement-table{overflow:auto}.cabinet-settlement-table__head,.cabinet-settlement-row{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(220px,1.25fr) 95px 145px minmax(180px,1fr);gap:12px;align-items:center;min-width:900px;padding:9px 14px}.cabinet-settlement-table__head{background:#f5f8fa;border-bottom:1px solid #dfe7ef;color:#68798a;font-size:11.5px}.cabinet-settlement-row{border-top:1px solid #edf1f4;color:#33485a;font-size:12.5px}.cabinet-settlement-row:first-of-type{border-top:0}.cabinet-settlement-row__products{display:grid;gap:2px;color:#33485a}.cabinet-settlement-row__products span{display:block}.cabinet-settlement-row__products small{color:#758696;font-size:10.5px}.cabinet-settlement-row__date{color:#718191}.cabinet-settlement-row__comment{color:#637487}.cabinet-settlement-balance{font-weight:600}.cabinet-settlement-balance--advance{color:#27823a}.cabinet-settlement-balance--debt{color:#b42318}.cabinet-settlement-balance--zero{color:#667782}@media(max-width:700px){.cabinet-settlement-card__head{align-items:flex-start;flex-direction:column}.cabinet-settlement-total{align-self:flex-start}}

/* ===== 0.31.16 — мягкие оттенённые блоки главной ===== */
.home-products,
.home-services {
    border-bottom: 0;
}

.home-products {
    padding: 32px 0 22px;
    background: #f3f7fb;
}

.home-products > .site-container {
    padding: 28px;
    border: 1px solid #d7e4ef;
    border-radius: 18px;
    background: #eaf3fa;
    box-shadow: 0 10px 28px rgba(23, 53, 92, .045);
}

.home-products__heading,
.home-services__heading {
    align-items: center;
    margin-bottom: 22px;
}

.home-products__heading h2,
.home-services__heading h2 {
    color: #12345b;
    font-weight: 750;
    letter-spacing: -.015em;
}

.home-products__heading a,
.home-services__heading a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 9px;
    color: #1769aa;
    background: rgba(255,255,255,.62);
    transition: background-color .18s ease, transform .18s ease;
}

.home-products__heading a:hover,
.home-services__heading a:hover {
    color: #155a91;
    background: rgba(255,255,255,.92);
    transform: translateY(-1px);
}

.home-product-card {
    border-color: #d2e0eb;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(31, 67, 101, .055);
}

.home-product-card:hover {
    transform: translateY(-3px);
    border-color: #bfd3e4;
    box-shadow: 0 14px 30px rgba(31, 67, 101, .105);
}

.home-product-card__image {
    background: #f4f8fc;
}
.home-product-card:nth-child(4n + 1) .home-product-card__image { background: #edf5fb; }
.home-product-card:nth-child(4n + 2) .home-product-card__image { background: #eef7f3; }
.home-product-card:nth-child(4n + 3) .home-product-card__image { background: #faf5ea; }
.home-product-card:nth-child(4n) .home-product-card__image { background: #f2f1f8; }

.home-product-card__body {
    background: rgba(255,255,255,.97);
}

.home-product-card h3 a,
.home-service-card h3 a {
    color: #17355c;
}

.home-product-card__button {
    border-radius: 8px;
    background: rgba(255,255,255,.72);
}

.home-services {
    padding: 22px 0 38px;
    background: #f3f7fb;
}

.home-services > .site-container {
    padding: 28px;
    border: 1px solid #d7e7de;
    border-radius: 18px;
    background: #edf6f1;
    box-shadow: 0 10px 28px rgba(23, 53, 92, .04);
}

.home-service-card {
    min-height: 310px;
    border-color: #d7e3e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 67, 101, .05);
}

.home-service-card:nth-child(5n + 1) { background: #f1f7fb; border-color: #d4e4ef; }
.home-service-card:nth-child(5n + 2) { background: #f1f8f4; border-color: #d6e8dd; }
.home-service-card:nth-child(5n + 3) { background: #fbf6ec; border-color: #eadfc9; }
.home-service-card:nth-child(5n + 4) { background: #f4f2f8; border-color: #dfd9eb; }
.home-service-card:nth-child(5n) { background: #eef7f6; border-color: #d4e8e5; }

.home-service-card:hover {
    transform: translateY(-3px);
    border-color: #bfd3df;
    box-shadow: 0 14px 30px rgba(31, 67, 101, .095);
}

.home-service-card__icon {
    width: 74px;
    height: 74px;
    border: 1px solid rgba(53, 113, 166, .09);
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 0 0 7px rgba(233, 244, 252, .72);
}

.home-service-card:nth-child(5n + 2) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(226, 243, 233, .78); }
.home-service-card:nth-child(5n + 3) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(249, 237, 211, .78); }
.home-service-card:nth-child(5n + 4) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(235, 230, 246, .80); }
.home-service-card:nth-child(5n) .home-service-card__icon { box-shadow: inset 0 0 0 7px rgba(224, 242, 240, .80); }

.home-service-card p {
    color: #5f7080;
}

.home-service-card__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 4px 9px;
    margin-left: -9px;
    border-radius: 8px;
}

.home-service-card__link:hover {
    background: rgba(255,255,255,.68);
}

@media (max-width: 720px) {
    .home-products,
    .home-services {
        padding-left: 0;
        padding-right: 0;
    }
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 18px;
        border-radius: 14px;
    }
    .home-products__heading,
    .home-services__heading {
        gap: 12px;
    }
    .home-products__heading a,
    .home-services__heading a {
        padding-inline: 8px;
        font-size: 12px;
    }
}

/* ===== 0.31.20 — плотность главной по визуальному эталону ===== */
.home .site-header,
.home .site-header__inner {
    min-height: 72px;
}

.hero--home,
.hero-slider,
.hero-slide,
.home .hero__inner {
    min-height: 530px;
}

.home .hero__inner {
    padding-top: 132px;
    padding-bottom: 34px;
    gap: 44px;
}

.home .hero .eyebrow {
    margin-bottom: 8px;
}

.home .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 2.75vw, 48px);
    line-height: 1.08;
}

.home .hero p {
    font-size: 16px;
    line-height: 1.5;
}

.home .hero__actions {
    gap: 10px;
    margin-top: 20px;
}

.home .hero__actions .button {
    min-height: 40px;
    padding: 7px 16px;
}

.home .hero__visual img {
    width: min(100%, 480px);
    max-height: 360px;
}

.home .hero-slider__controls {
    bottom: 28px;
}

.home .hero-slider__arrow {
    width: 38px;
    height: 38px;
}

.home-benefits {
    background: #f3f7fb;
}

.home-benefits__grid {
    min-height: 112px;
    gap: 26px;
}

.home-benefit {
    grid-template-columns: 44px 1fr;
    gap: 11px;
    padding: 18px 0;
}

.home-benefit__icon {
    width: 40px;
    height: 40px;
    font-size: 28px;
}

.home-benefit h2 {
    margin-bottom: 3px;
}

.home-benefit p {
    line-height: 1.45;
}

.home-products,
.home-services {
    background: #edf4fa;
}

.home-products {
    padding: 20px 0 14px;
}

.home-products > .site-container,
.home-services > .site-container {
    padding: 18px 20px;
    border-color: #d2dfea;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(11, 49, 93, .07);
}

.home-products > .site-container {
    background: linear-gradient(135deg, #e3f0f8 0%, #edf2f6 100%);
}

.home-products__heading,
.home-services__heading {
    margin-bottom: 16px;
}

.home-products__heading h2,
.home-services__heading h2,
.home-product-card h3 a,
.home-service-card h3 a {
    color: #0b315d;
}

.home-products__heading h2,
.home-services__heading h2 {
    font-size: 24px;
}

.home-products__heading a,
.home-services__heading a,
.home-service-card__link {
    color: #1671b9;
}

.home-products__heading a,
.home-services__heading a {
    min-height: 28px;
    padding: 3px 8px;
    border: 1px solid rgba(22, 113, 185, .14);
    background: rgba(255, 255, 255, .74);
}

.home-products__heading a:hover,
.home-services__heading a:hover {
    color: #0b315d;
    border-color: rgba(22, 113, 185, .28);
    background: #fff;
}

.home-product-card,
.home-service-card {
    border-color: #d2dfea;
    border-radius: 14px;
    box-shadow: 0 9px 22px rgba(11, 49, 93, .065);
}

.home-product-card:hover,
.home-service-card:hover {
    border-color: #aecadf;
    box-shadow: 0 16px 34px rgba(11, 49, 93, .12);
}

.home-products__grid {
    gap: 14px;
}

.home-product-card:nth-child(4n + 1) .home-product-card__image { background: #eaf3fa; }
.home-product-card:nth-child(4n + 2) .home-product-card__image { background: #e8f4ee; }
.home-product-card:nth-child(4n + 3) .home-product-card__image { background: #fff3dc; }
.home-product-card:nth-child(4n) .home-product-card__image { background: #f2f4f7; }

.home-product-card__image {
    height: 160px;
    padding: 12px 14px 5px;
}

.home-product-card__body {
    padding: 12px 14px 13px;
    background: #fff;
}

.home-product-card__button {
    min-height: 34px;
    padding: 5px 12px;
    color: #1671b9;
    border-color: rgba(22, 113, 185, .34);
    background: #fff;
}

.home-product-card__button:hover {
    color: #fff;
    border-color: #1671b9;
    background: #1671b9;
}

.home-services {
    padding: 14px 0 24px;
}

.home-services > .site-container {
    background: linear-gradient(135deg, #e0f0e7 0%, #edf4f8 100%);
}

.home-services__grid {
    gap: 12px;
}

.home-service-card {
    min-height: 245px;
    padding: 14px 13px;
}

.home-service-card:nth-child(5n + 1) { background: #e3f0f8; border-color: #c3d8e7; }
.home-service-card:nth-child(5n + 2) { background: #e1f1e8; border-color: #c5ddcf; }
.home-service-card:nth-child(5n + 3) { background: #ffefcf; border-color: #e6d3ad; }
.home-service-card:nth-child(5n + 4) { background: #eceff3; border-color: #d2d9e1; }
.home-service-card:nth-child(5n) { background: #e5f1ef; border-color: #c7ddda; }

.home-service-card__icon,
.home-service-card:nth-child(n) .home-service-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-color: rgba(11, 49, 93, .10);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 6px 16px rgba(11, 49, 93, .055);
}

.home-service-card__icon img {
    width: 44px;
    height: 44px;
}

.home-service-card h3 {
    margin-bottom: 7px;
}

.home-service-card p {
    margin-bottom: 13px;
    color: #52697d;
}

.home-service-card__link {
    min-height: 26px;
    padding-block: 2px;
}

.home-service-card__link:hover {
    color: #0b315d;
    background: rgba(255, 255, 255, .78);
}

@media (max-width: 1180px) {
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 18px;
    }
}

@media (max-width: 1100px) {
    .home .hero__inner {
        min-height: 500px;
        padding-top: 104px;
        gap: 30px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide {
        min-height: 500px;
    }
    .home .hero h1 {
        font-size: clamp(36px, 4.2vw, 46px);
    }
    .home .hero__visual img {
        width: min(100%, 430px);
    }
}

@media (max-width: 820px) {
    .home .site-header,
    .home .site-header__inner {
        min-height: 68px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 470px;
    }
    .home .hero__inner {
        padding-top: 100px;
        padding-bottom: 32px;
    }
    .home .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 720px) {
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 450px;
    }
    .home .hero__inner {
        padding-top: 94px;
        padding-bottom: 30px;
    }
    .home .hero h1 {
        font-size: 32px;
    }
    .home .hero p {
        font-size: 15px;
    }
    .home .hero__actions .button {
        min-height: 38px;
        padding: 6px 14px;
    }
    .home-benefit {
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 14px 0;
    }
    .home-products {
        padding-top: 16px;
    }
    .home-services {
        padding-bottom: 20px;
    }
    .home-products > .site-container,
    .home-services > .site-container {
        padding: 16px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(11, 49, 93, .065);
    }
    .home-products__heading h2,
    .home-services__heading h2 {
        font-size: 23px;
    }
    .home-product-card__image {
        height: 170px;
    }
    .home-service-card {
        min-height: 0;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .home-utility {
        display: block;
    }
    .home .site-header {
        top: 46px;
    }
    .home .site-header__inner {
        grid-template-columns: 210px minmax(0, 1fr) auto;
        gap: 14px;
    }
    .home .menu-toggle {
        display: none;
    }
    .home .main-navigation {
        display: block;
        grid-column: auto;
        padding: 0;
        border-top: 0;
    }
    .home .primary-menu {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }
    .home .primary-menu a {
        font-size: 11px;
    }
    .home .header-actions {
        display: flex;
        gap: 10px;
    }
    .home .header-actions__link {
        font-size: 12px;
    }
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 440px;
    }
    .home .hero__inner {
        padding-top: 110px;
        padding-bottom: 28px;
        gap: 24px;
    }
    .home .hero h1 {
        font-size: 38px;
    }
    .home .hero__visual img {
        width: min(100%, 390px);
        max-height: 310px;
    }
    .home .hero-slider__controls {
        bottom: 22px;
    }
    .home-benefits__grid {
        min-height: 100px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
    .home-benefit {
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 14px 0;
    }
    .home-benefit__icon {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
    .home-benefit h2 {
        font-size: 14px;
    }
    .home-benefit p {
        font-size: 12px;
    }
    .home-services__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .home-service-card {
        min-height: 235px;
        padding: 13px 12px;
    }
    .home-service-card h3 {
        font-size: 15px;
    }
    .home-service-card p,
    .home-service-card__link {
        font-size: 12px;
    }
}

/* ===== 0.31.172 TEST — компактный декор и смещение перед футером ===== */
.home-seasonal-stage {
    position: relative;
}

.home-seasonal-stage--from-banner {
    isolation: isolate;
    overflow: hidden;
    background: var(--lab33-new-canvas, #edf4fa);
}

.home-seasonal-stage--from-banner > .home-benefits,
.home-seasonal-stage--from-banner > .home-workspace {
    position: relative;
    z-index: 2;
}

.lab33-design-new .home-seasonal-stage--from-banner > .home-benefits,
.lab33-design-new .home-seasonal-stage--from-banner > .home-workspace {
    background: transparent;
}

.home-workspace--seasonal,
.home-workspace--seasonal-snow {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-seasonal-garland {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    opacity: var(--lab33-seasonal-opacity, .88);
    pointer-events: none;
    transform-origin: center top;
    z-index: 0;
}

.home-seasonal-garland--stage-top,
.home-seasonal-garland--workspace-top {
    top: var(--lab33-seasonal-position-y, -12px);
}

.home-seasonal-garland--stage-top {
    z-index: 1;
}

.home-seasonal-garland--footer {
    top: auto;
    bottom: calc(-4px - var(--lab33-seasonal-footer-position-y, 0px));
    transform-origin: center bottom;
}

.home-seasonal-garland img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

.home-seasonal-garland--footer img {
    object-position: center bottom;
}

.home-seasonal-garland--reveal {
    animation: lab33-seasonal-reveal .9s cubic-bezier(.2, .7, .25, 1) both;
}

.home-seasonal-garland--float {
    animation: lab33-seasonal-float 5.5s ease-in-out infinite;
}

.home-seasonal-garland--sway {
    animation: lab33-seasonal-sway 7s ease-in-out infinite;
}

.home-workspace--seasonal > .site-container,
.home-workspace--seasonal-snow > .site-container {
    position: relative;
    z-index: 2;
}

.home-seasonal-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: var(--lab33-seasonal-snow-opacity, .45);
    pointer-events: none;
    z-index: 0;
}

.home-seasonal-snow__flake {
    position: absolute;
    top: -40px;
    left: var(--snow-left);
    color: #fff;
    font-size: var(--snow-size);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(18, 77, 132, .62), 0 0 7px rgba(255, 255, 255, .7);
    animation: lab33-seasonal-snowfall var(--snow-duration) linear var(--snow-delay) infinite;
    will-change: transform;
}

/* ===== 0.31.183 TEST — страница «О компании и контакты» ===== */
.contacts-page {
    padding: 28px 0 56px;
}

.contacts-page__heading {
    margin: 18px 0 22px;
    padding: 24px 28px;
    border-radius: var(--lab33-new-contour-radius, 12px);
    background: linear-gradient(115deg, var(--lab33-new-heading-start, #0d4b99), var(--lab33-new-heading-end, #1769c2));
    box-shadow: var(--lab33-new-heading-shadow, none);
    color: var(--lab33-new-heading-text, #fff);
}

.contacts-page__heading h1,
.contacts-page__heading p {
    margin: 0;
}

.contacts-page__heading h1 {
    margin-top: 4px;
    font-family: var(--lab33-new-heading-font, inherit);
    font-size: var(--lab33-new-heading-title-size, clamp(28px, 3.4vw, 40px));
    line-height: var(--lab33-new-heading-title-height, 1.1);
}

.contacts-page__heading p {
    margin-top: 8px;
    font-size: var(--lab33-new-heading-description-size, 14px);
    line-height: var(--lab33-new-heading-description-height, 1.5);
}

.contacts-page__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .82;
}

.contacts-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 22px;
}

.contacts-page__about,
.contacts-page__contacts {
    padding: 26px;
    border: var(--lab33-new-contour-width, 1px) var(--lab33-new-contour-style, solid) var(--lab33-new-contour-color, #cbdced);
    border-radius: var(--lab33-new-contour-radius, 12px);
    background: #fff;
}

.contacts-page__about h2,
.contacts-page__contacts h2 {
    margin: 0 0 14px;
    color: #0d4b99;
    font-size: 22px;
}

.contacts-page__about p {
    max-width: 760px;
    margin: 0 0 14px;
    color: #536b84;
    line-height: 1.65;
}

.contacts-page__about .button {
    margin-top: 8px;
}

.contacts-page__contacts ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacts-page__contacts li {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border: 1px solid #d7e4f1;
    border-radius: 9px;
    background: #f7fbff;
}

.contacts-page__contacts strong {
    color: #536b84;
    font-size: 11px;
    text-transform: uppercase;
}

.contacts-page__contacts a,
.contacts-page__contacts span {
    color: #0d4b99;
    font-weight: 700;
    text-decoration: none;
}

.password-recovery-card {
    margin-inline: auto;
}

.password-recovery-card .button {
    width: 100%;
}

.password-recovery-card .cabinet-profile-notice,
.password-recovery-card .request-error {
    line-height: 1.5;
}

@media (max-width: 767px) {
    .contacts-page {
        padding: 18px 0 36px;
    }

    .contacts-page__heading {
        padding: 20px;
    }

    .contacts-page__heading h1 {
        font-size: var(--lab33-new-heading-title-mobile-size, 25px);
    }

    .contacts-page__layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contacts-page__about,
    .contacts-page__contacts {
        padding: 20px;
    }
}

@keyframes lab33-seasonal-reveal {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: var(--lab33-seasonal-opacity, .88); transform: translateY(0); }
}

@keyframes lab33-seasonal-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@keyframes lab33-seasonal-sway {
    0%, 100% { transform: translateX(-4px) rotate(-.15deg); }
    50% { transform: translateX(4px) rotate(.15deg); }
}

@keyframes lab33-seasonal-snowfall {
    from { transform: translate3d(0, -40px, 0) rotate(0deg); }
    to { transform: translate3d(var(--snow-drift), var(--snow-fall-distance), 0) rotate(360deg); }
}

@media (max-width: 1179px) {
    .home-seasonal-stage--from-banner {
        background: var(--lab33-new-canvas-mobile, var(--lab33-new-canvas, #edf4fa));
    }
}

@media (max-width: 767px) {
    .home-workspace--seasonal-footer,
    .lab33-home-layout-light-premium .home-workspace.home-workspace--seasonal-footer {
        padding-bottom: 132px;
    }

    .home-workspace--seasonal-footer .home-seasonal-garland--footer {
        height: 118px;
        bottom: calc(-2px - var(--lab33-seasonal-footer-position-y, 0px));
        background-image: url('../images/seasonal-footer-trees-gifts.png'), url('../images/seasonal-footer-trees-gifts.png');
        background-repeat: no-repeat, no-repeat;
        background-position: left bottom, right bottom;
        background-size: auto 118px, auto 118px;
    }

    .home-workspace--seasonal-footer .home-seasonal-garland--footer img {
        visibility: hidden;
    }

    .home-seasonal-snow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-seasonal-garland,
    .home-seasonal-snow__flake {
        animation: none !important;
    }

    .home-seasonal-snow__flake {
        top: var(--snow-static-top);
        transform: translateX(var(--snow-drift));
    }
}

/* ===== 0.31.129 TEST — общий счётчик корзины, FAQ и форма вопроса ===== */
.header-actions__cart {
    position: relative;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.header-actions__cart:hover {
    color: #fff;
    border-color: rgba(255,255,255,.62);
}

.home .header-actions__cart {
    gap: 6px;
}

.header-actions__cart-count {
    display: inline-flex;
    width: auto;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #1671b9;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.header-actions__cart-count[hidden],
.lab33-question-modal[hidden] {
    display: none !important;
}

body.lab33-question-modal-open {
    overflow: hidden;
}

.lab33-question-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lab33-question-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 43, .68);
    backdrop-filter: blur(3px);
}

.lab33-question-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    max-height: min(90vh, 760px);
    overflow: auto;
    padding: 30px;
    border: 1px solid #c9dced;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(11, 49, 93, .25);
}

.lab33-question-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #d4e2ee;
    border-radius: 9px;
    background: #f5f9fc;
    color: #0b315d;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.lab33-question-modal__eyebrow,
.faq-page__eyebrow {
    margin: 0 0 6px;
    color: #61758a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lab33-question-modal__dialog h2 {
    margin: 0 42px 10px 0;
    color: #063c78;
    font-size: clamp(24px, 4vw, 34px);
}

.lab33-question-modal__product {
    margin: 0 0 20px;
    padding: 11px 13px;
    border-radius: 9px;
    background: #edf5fb;
}

.lab33-question-form {
    display: grid;
    gap: 15px;
}

.lab33-question-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lab33-question-form label {
    display: grid;
    gap: 6px;
    color: #23384d;
    font-size: 13px;
    font-weight: 700;
}

.lab33-question-form input,
.lab33-question-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c7d8e7;
    border-radius: 8px;
    background: #fff;
    color: #182b3d;
    font: inherit;
    font-weight: 400;
}

.lab33-question-form textarea {
    resize: vertical;
}

.lab33-question-form input:focus,
.lab33-question-form textarea:focus {
    border-color: #1671b9;
    outline: 2px solid rgba(22, 113, 185, .16);
}

.lab33-question-form__hint {
    margin: -7px 0 0;
    color: #61758a;
    font-size: 12px;
}

.lab33-question-form > .button {
    justify-self: start;
}

.faq-page {
    min-height: 70vh;
    padding: 54px 0 72px;
    background: #edf4fa;
}

.faq-page > .site-container {
    width: min(calc(100% - 48px), 1240px);
}

.faq-page__notice,
.faq-page__hero,
.faq-page__categories,
.faq-page__group,
.faq-page__empty,
.faq-page__cta {
    border: 1px solid #c8daea;
    border-radius: 14px;
    background: #fff;
}

.faq-page__notice {
    margin-bottom: 18px;
    padding: 13px 16px;
}

.faq-page__notice--success {
    border-color: #9fd5ae;
    background: #effaf2;
    color: #17652c;
}

.faq-page__notice--error {
    border-color: #efb1b1;
    background: #fff3f3;
    color: #8a2222;
}

.faq-page__hero {
    padding: clamp(24px, 5vw, 48px);
    background: linear-gradient(135deg, #0d58a9, #2276c5);
    color: #fff;
}

.faq-page__hero .faq-page__eyebrow {
    color: rgba(255,255,255,.72);
}

.faq-page__hero h1 {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(34px, 6vw, 56px);
}

.faq-page__hero > p:last-child {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 17px;
    line-height: 1.65;
}

.faq-page__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    padding: 14px;
}

.faq-page__categories a {
    padding: 8px 12px;
    border: 1px solid #c7d9e9;
    border-radius: 999px;
    background: #f5f9fc;
    color: #0b559d;
    font-size: 13px;
    font-weight: 700;
}

.faq-page__groups {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.faq-page__group {
    padding: 22px;
    scroll-margin-top: 24px;
}

.faq-page__group > h2 {
    margin: 0 0 16px;
    color: #073d78;
    font-size: 24px;
}

.faq-page__list {
    display: grid;
    gap: 10px;
}

.faq-page__item {
    overflow: hidden;
    border: 1px solid #cfdeeb;
    border-radius: 10px;
    background: #fbfdff;
}

.faq-page__item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    color: #063e7b;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.faq-page__item summary::-webkit-details-marker {
    display: none;
}

.faq-page__item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 500;
}

.faq-page__item[open] summary::after {
    content: "−";
}

.faq-page__answer {
    padding: 0 18px 18px;
    color: #4d647a;
    line-height: 1.65;
}

.faq-page__answer > :first-child {
    margin-top: 0;
}

.faq-page__answer > :last-child {
    margin-bottom: 0;
}

.faq-page__empty {
    margin-top: 18px;
    padding: 22px;
}

.faq-page__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 22px;
}

.faq-page__cta h2,
.faq-page__cta p {
    margin: 0;
}

.faq-page__cta p {
    margin-top: 5px;
    color: #61758a;
}

@media (max-width: 720px) {
    .lab33-question-modal {
        align-items: end;
        padding: 10px;
    }

    .lab33-question-modal__dialog {
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .lab33-question-form__row {
        grid-template-columns: 1fr;
    }

    .faq-page {
        padding: 24px 0 42px;
    }

    .faq-page > .site-container {
        width: min(calc(100% - 24px), 1240px);
    }

    .faq-page__hero,
    .faq-page__group,
    .faq-page__cta {
        padding: 18px;
    }

    .faq-page__hero > p:last-child {
        font-size: 14px;
    }

    .faq-page__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .faq-page__cta .button {
        width: 100%;
    }
}

/* ===== 0.31.21 — согласование главной с утверждённым макетом ===== */
.home .home-utility {
    background: rgba(7, 14, 21, .72);
}

.home .site-header {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(3, 18, 31, .16);
}

.home .header-actions__request {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 12px;
    white-space: nowrap;
}

.hero--home::after {
    background: linear-gradient(90deg, rgba(3, 8, 14, .58) 0%, rgba(3, 8, 14, .34) 48%, rgba(3, 8, 14, .14) 100%);
}

.home-publications {
    padding: 14px 0;
    border-bottom: 0;
    background: #f3f7fb;
}

.home-publications--articles {
    padding-bottom: 22px;
    background: #edf4fa;
}

.home-publications > .site-container {
    padding: 18px 20px;
    border: 1px solid #d2dfea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11, 49, 93, .05);
}

.home-publications--articles > .site-container {
    background: linear-gradient(135deg, #f2f4f7 0%, #f8fbfd 100%);
}

.home-publications__heading {
    align-items: center;
    margin-bottom: 14px;
}

.home-publications__heading h2 {
    color: #0b315d;
    font-size: 24px;
}

.home-publications__heading a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 8px;
    border: 1px solid rgba(22, 113, 185, .14);
    border-radius: 9px;
    color: #1671b9;
    background: #fff;
    font-size: 12px;
}

.home-publications__grid {
    gap: 12px;
}

.home-publication-card {
    grid-template-columns: 110px minmax(0, 1fr);
    border-color: #d2dfea;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(11, 49, 93, .045);
}

.home-publication-card__image {
    min-height: 142px;
    padding: 10px;
    background: #eaf3fa;
}

.home-publication-card__body {
    padding: 12px 13px;
}

.home-publication-card time {
    font-size: 11px;
}

.home-publication-card h3 {
    margin: 5px 0 6px;
    font-size: 15px;
}

.home-publication-card p {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.home-publication-card__link {
    font-size: 12px;
}

.site-footer--dark {
    padding: 24px 0 10px;
    border-top: 1px solid #d2dfea;
    color: #52697d;
    background: #f3f7fb;
}

.site-footer--dark a,
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    color: #465d72;
}

.site-footer--dark a:hover {
    color: #1671b9;
}

.site-footer--dark .site-footer__title {
    color: #0b315d;
}

.site-footer--dark .site-footer__brand p {
    color: #607386;
}

.site-footer--dark .site-footer__social-link {
    color: #1671b9;
    border-color: #d2dfea;
    background: #fff;
}

.site-footer--dark .site-footer__social-link:hover {
    color: #0b315d;
    border-color: #aecadf;
    background: #eaf3fa;
}

.site-footer--dark .site-footer__contact-icon {
    color: #1671b9;
}

.site-footer--dark .site-footer__bottom {
    border-top-color: #d2dfea;
    color: #708293;
}

.site-footer--dark .site-footer__bottom a {
    color: #60778b;
}

@media (min-width: 981px) and (max-width: 1180px) {
    .site-footer--dark .site-footer__grid--full {
        grid-template-columns: 1.25fr repeat(4, minmax(120px, .8fr));
        gap: 18px;
    }
    .site-footer--dark .site-footer__brand {
        grid-column: auto;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .site-header__inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
        gap: 10px;
    }
    .home .site-logo__image,
    .home .custom-logo {
        width: 190px;
    }
    .home .primary-menu {
        gap: 12px;
    }
    .home .header-actions {
        gap: 7px;
    }
    .home .header-actions__link {
        font-size: 11px;
    }
    .home .header-actions__request {
        padding-inline: 10px;
        font-size: 11px;
    }
    .home-publications__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .home-publication-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .home-publications {
        padding: 12px 0;
    }
    .home-publications--articles {
        padding-bottom: 18px;
    }
    .home-publications > .site-container {
        padding: 16px;
        border-radius: 14px;
    }
    .home-publications__heading h2 {
        font-size: 23px;
    }
    .home-publication-card {
        grid-template-columns: 1fr;
    }
    .home-publication-card__image {
        min-height: 140px;
        height: 140px;
    }
    .site-footer--dark {
        padding-top: 20px;
    }
}

/* ===== 0.31.22 — единая структура содержательных блоков главной ===== */
.home-products__catalog {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.home-products__categories {
    overflow: hidden;
    border: 1px solid #d2dfea;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 18px rgba(11, 49, 93, .045);
}

.home-products__category-select,
.product-supply__select {
    display: none;
}

.home-products__categories a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 13px;
    border-top: 1px solid #e2eaf1;
    color: #38536c;
    font-size: 13px;
    line-height: 1.35;
}

.home-products__categories a:first-child {
    border-top: 0;
}

.home-products__categories a:hover,
.home-products__categories a.is-active {
    color: #0b315d;
    background: #fff;
}

.home-products__categories a.is-active {
    box-shadow: inset 3px 0 0 #1671b9;
    font-weight: 700;
}

.home-products__list {
    display: grid;
    max-width: 940px;
    gap: 10px;
}

.home-product-row {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 154px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d2dfea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(11, 49, 93, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-product-row:hover {
    border-color: #aecadf;
    box-shadow: 0 12px 26px rgba(11, 49, 93, .09);
    transform: translateY(-1px);
}

.home-product-row__image {
    display: flex;
    min-height: 168px;
    align-items: center;
    justify-content: center;
    padding: 13px;
    background: #eaf3fa;
}

.home-product-row:nth-child(4n + 2) .home-product-row__image { background: #e8f4ee; }
.home-product-row:nth-child(4n + 3) .home-product-row__image { background: #fff3dc; }
.home-product-row:nth-child(4n) .home-product-row__image { background: #f2f4f7; }

.home-product-row__image img {
    width: 100%;
    height: 100%;
    max-height: 142px;
    object-fit: contain;
}

.home-product-row__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
}

.home-product-row__availability {
    margin: 0 0 5px;
    color: #348653;
    font-size: 11px;
    font-weight: 650;
}

.home-product-row h3 {
    margin: 0 0 7px;
    color: #0b315d;
    font-size: 17px;
    line-height: 1.3;
}

.home-product-row h3 a {
    color: inherit;
}

.home-product-row h3 a:hover,
.home-product-row__more:hover {
    color: #1671b9;
}

.home-product-row__description {
    margin: 0 0 8px;
    color: #52697d;
    font-size: 12px;
    line-height: 1.45;
}

.home-product-row__description-text--mobile {
    display: none;
}

.catalog-product__description-text--mobile {
    display: none;
}

.home-product-row__more {
    width: fit-content;
    color: #1671b9;
    font-size: 11px;
    font-weight: 650;
}

.home-product-row__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 14px;
    border-left: 1px solid #e2eaf1;
    background: #fbfdff;
}

.home-product-row__actions strong {
    margin-bottom: 2px;
    color: #0b315d;
    font-size: 17px;
    line-height: 1.3;
}

.home-product-row__actions .button {
    min-height: 34px;
    padding: 5px 9px;
    border-radius: 7px;
    font-size: 11px;
    text-align: center;
}

.home-product-row__order,
.home-product-row__question {
    color: #1671b9;
    border-color: #a9c9e1;
    background: #fff;
}

.home-services > .site-container {
    background: linear-gradient(135deg, #e8f4ee 0%, #f3f7fb 100%);
}

.home-services__grid {
    gap: 10px;
}

.home-service-card {
    min-height: 202px;
    padding: 12px;
    box-shadow: 0 6px 16px rgba(11, 49, 93, .045);
}

.home-service-card:nth-child(5n + 1) { background: #edf6fb; border-color: #d5e4ef; }
.home-service-card:nth-child(5n + 2) { background: #edf7f1; border-color: #d7e8de; }
.home-service-card:nth-child(5n + 3) { background: #fff7e8; border-color: #eadfc9; }
.home-service-card:nth-child(5n + 4) { background: #f5f6f8; border-color: #dce2e8; }
.home-service-card:nth-child(5n) { background: #eef7f6; border-color: #d6e8e5; }

.home-service-card__icon,
.home-service-card:nth-child(n) .home-service-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 9px;
    box-shadow: 0 4px 12px rgba(11, 49, 93, .045);
}

.home-service-card__icon img {
    width: 36px;
    height: 36px;
}

.home-service-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
}

.home-service-card p {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.4;
}

.home-service-card__link {
    min-height: 24px;
    font-size: 11px;
}

.home-publications--news .home-publications__grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-publications--news .home-publication-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 98px;
    box-shadow: none;
}

.home-publications--news .home-publication-card__image {
    min-height: 98px;
    height: 100%;
    padding: 7px 10px;
}

.home-publications--news .home-publication-card__body {
    justify-content: center;
    padding: 10px 13px;
}

.home-publications--news .home-publication-card h3 {
    margin: 3px 0 4px;
    font-size: 14px;
}

.home-publications--news .home-publication-card p {
    margin-bottom: 4px;
    font-size: 11px;
}

.home-publications--news .home-publication-card__link {
    margin-top: 0;
    font-size: 11px;
}

.home-publications--articles .home-publications__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-publications--articles .home-publication-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 150px;
    border-color: transparent;
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
}

.home-publications--articles .home-publication-card__image {
    min-height: 150px;
    padding: 10px;
}

.home-publications--articles .home-publication-card__body {
    padding: 11px 12px;
}

.home-publications--articles .home-publication-card h3 {
    margin: 4px 0 6px;
    font-size: 14px;
}

.home-publications--articles .home-publication-card p,
.home-publications--articles .home-publication-card__link {
    font-size: 11px;
}

@media (max-width: 980px) {
    .home-products__catalog {
        grid-template-columns: 190px minmax(0, 1fr);
    }
    .home-product-row {
        grid-template-columns: 138px minmax(0, 1fr);
    }
    .home-product-row__actions {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0 14px 13px;
        border-left: 0;
        background: #fff;
    }
    .home-product-row__actions strong {
        margin: 0 auto 0 0;
    }
    .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-products__catalog {
        grid-template-columns: 1fr;
    }
    .home-products__categories {
        display: flex;
        overflow-x: auto;
        border-radius: 10px;
    }
    .home-products__categories a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 7px 11px;
        border-top: 0;
        border-left: 1px solid #e2eaf1;
        font-size: 11px;
    }
    .home-products__categories a:first-child {
        border-left: 0;
    }
    .home-products__categories a.is-active {
        box-shadow: inset 0 -3px 0 #1671b9;
    }
    .home-product-row {
        grid-template-columns: 104px minmax(0, 1fr);
    }
    .home-product-row__image {
        min-height: 142px;
        padding: 9px;
    }
    .home-product-row__body {
        padding: 11px 12px;
    }
    .home-product-row h3 {
        font-size: 15px;
    }
    .home-product-row__description {
        font-size: 11px;
    }
    .home-product-row__actions {
        grid-column: 1 / -1;
        padding: 10px 11px;
        border-top: 1px solid #e2eaf1;
        background: #fbfdff;
    }
    .home-product-row__actions .button {
        flex: 1 1 116px;
    }
    .home-services__grid {
        grid-template-columns: 1fr;
    }
    .home-service-card {
        min-height: 0;
    }
    .home-publications--news .home-publication-card,
    .home-publications--articles .home-publication-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }
    .home-publications--news .home-publication-card__image,
    .home-publications--articles .home-publication-card__image {
        min-height: 118px;
        height: 100%;
    }
}

@media (max-width: 460px) {
    .home-product-row {
        grid-template-columns: 1fr;
    }
    .home-product-row__image {
        min-height: 138px;
        height: 138px;
    }
    .home-publications--news .home-publication-card,
    .home-publications--articles .home-publication-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    .home-publications--news .home-publication-card__image,
    .home-publications--articles .home-publication-card__image {
        min-height: 108px;
    }
    .home-publication-card p {
        display: none;
    }
}

/* ===== 0.31.23 — новости и статьи в общем двухколоночном блоке ===== */
.home-content-feed {
    padding: 14px 0 22px;
    background: #edf4fa;
}

.home-content-feed__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #d2dfea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11, 49, 93, .05);
}

.home-content-feed .home-publications {
    min-width: 0;
    padding: 0;
    background: transparent;
}

.home-content-feed .home-publications--articles {
    padding: 0 0 0 18px;
    border-left: 1px solid #dce6ee;
}

.home-content-feed .home-publications__heading {
    min-height: 32px;
    margin-bottom: 12px;
}

.home-content-feed .home-publications__heading h2 {
    font-size: 23px;
}

.home-content-feed .home-publications--news .home-publications__grid {
    gap: 8px;
}

.home-content-feed .home-publications--news .home-publication-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 102px;
}

.home-content-feed .home-publications--news .home-publication-card__image {
    min-height: 102px;
}

.home-content-feed .home-publications--articles .home-publications__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.home-content-feed .home-publications--articles .home-publication-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 151px;
    border-color: #dce6ee;
    background: #fbfdff;
}

.home-content-feed .home-publications--articles .home-publication-card__image {
    min-height: 151px;
    padding: 8px;
}

.home-content-feed .home-publications--articles .home-publication-card__body {
    padding: 10px;
}

.home-content-feed .home-publications--articles .home-publication-card h3 {
    font-size: 13px;
}

.home-content-feed .home-publications--articles .home-publication-card p {
    font-size: 10.5px;
}

.home-content-feed .home-publications--articles .home-publication-card__link {
    font-size: 10.5px;
}

@media (max-width: 1100px) {
    .home-content-feed__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 14px;
    }
    .home-content-feed .home-publications--articles {
        padding-left: 14px;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--articles .home-publication-card {
        min-height: 98px;
    }
    .home-content-feed .home-publications--articles .home-publication-card__image {
        min-height: 98px;
    }
}

@media (max-width: 820px) {
    .home-content-feed__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--articles {
        padding: 16px 0 0;
        border-top: 1px solid #dce6ee;
        border-left: 0;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-content-feed {
        padding: 12px 0 18px;
    }
    .home-content-feed__grid {
        gap: 16px;
        padding: 16px;
        border-radius: 14px;
    }
    .home-content-feed .home-publications--articles .home-publications__grid {
        grid-template-columns: 1fr;
    }
    .home-content-feed .home-publications--news .home-publication-card,
    .home-content-feed .home-publications--articles .home-publication-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

/* ===== 0.31.25 — мягкий тёмный футер ===== */
.site-footer--dark {
    border-top: 1px solid #29475d;
    color: #b7c6d2;
    background: linear-gradient(135deg, #19364b 0%, #132c3f 52%, #102638 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.site-footer--dark a,
.site-footer--dark .footer-menu a,
.site-footer--dark .site-footer__contacts p {
    color: #c5d1da;
}

.site-footer--dark a:hover {
    color: #7fc4f2;
}

.site-footer--dark .site-footer__title {
    color: #f2f7fa;
}

.site-footer--dark .site-footer__brand p {
    color: #aabcc9;
}

.site-footer--dark .site-footer__logo img {
    opacity: .96;
}

.site-footer--dark .site-footer__social-link {
    color: #8bc8f0;
    border-color: rgba(154, 196, 224, .22);
    background: rgba(255, 255, 255, .055);
}

.site-footer--dark .site-footer__social-link:hover {
    color: #fff;
    border-color: rgba(139, 200, 240, .48);
    background: rgba(69, 137, 184, .22);
}

.site-footer--dark .site-footer__contact-icon {
    color: #70b9e9;
}

.site-footer--dark .site-footer__bottom {
    border-top-color: rgba(193, 214, 228, .16);
    color: #879dac;
}

.site-footer--dark .site-footer__bottom a {
    color: #9eafbc;
}

.site-footer--dark .site-footer__bottom a:hover {
    color: #dceaf3;
}

/* ===== 0.31.49 — компактный мобильный футер ===== */
.site-footer__toggle {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: default;
}

.site-footer__toggle-icon {
    display: none;
}

@media (max-width: 560px) {
    .site-footer--dark {
        padding: 16px 0 8px;
    }

    .site-footer--dark .site-footer__grid--full {
        gap: 0;
    }

    .site-footer--dark .site-footer__brand {
        padding-bottom: 14px;
    }

    .site-footer--dark .site-footer__logo {
        width: min(100%, 205px);
        margin-bottom: 8px;
    }

    .site-footer--dark .site-footer__brand p {
        max-width: 270px;
        font-size: 11.5px;
        line-height: 1.4;
    }

    .site-footer--dark .site-footer__social {
        gap: 8px;
        margin-top: 11px;
    }

    .site-footer--dark .site-footer__social-link {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .site-footer--dark .site-footer__column {
        border-top: 1px solid rgba(193, 214, 228, .16);
    }

    .site-footer--dark .site-footer__title {
        margin: 0;
    }

    .site-footer__toggle {
        display: flex;
        min-height: 43px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 2px;
        color: #f2f7fa;
        cursor: pointer;
    }

    .site-footer__toggle-icon {
        position: relative;
        display: block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .site-footer__toggle-icon::before,
    .site-footer__toggle-icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 1.5px;
        border-radius: 2px;
        background: #8bc8f0;
        content: "";
        transform: translate(-50%, -50%);
        transition: transform .18s ease;
    }

    .site-footer__toggle-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .site-footer__toggle[aria-expanded="true"] .site-footer__toggle-icon::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .site-footer__panel {
        display: none;
        padding: 0 2px 11px;
    }

    .site-footer__column.is-open .site-footer__panel {
        display: block;
    }

    .site-footer--dark .footer-menu li {
        margin-bottom: 0;
    }

    .site-footer--dark .footer-menu a {
        display: block;
        padding: 5px 0;
        font-size: 12px;
        line-height: 1.35;
    }

    .site-footer--dark .site-footer__contact-list {
        gap: 0;
    }

    .site-footer--dark .site-footer__contact-list li {
        padding: 5px 0;
    }

    .site-footer--dark .site-footer__bottom {
        gap: 8px;
        margin-top: 0;
        padding-top: 11px;
        font-size: 10.5px;
        line-height: 1.35;
    }

    .site-footer--dark .site-footer__legal {
        gap: 5px;
    }
}

/* ===== 0.31.50 — компактные услуги, новости и статьи ===== */
.home-services__select-wrap {
    display: none;
}

@media (min-width: 1180px) {
    .home-item--desktop-hidden,
    .home-block--desktop-hidden {
        display: none !important;
    }

    .home-content-feed--desktop-single .home-content-feed__grid {
        grid-template-columns: 1fr;
    }

    .home-content-feed--desktop-single .home-publications--articles {
        padding-left: 0;
        border-left: 0;
    }

    .home-services--desktop-grid_1 .home-services__grid { grid-template-columns: minmax(0, 1fr); }
    .home-services--desktop-grid_2 .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-services--desktop-grid_3 .home-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-services--desktop-grid_4 .home-services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .home-content-feed .home-publications--desktop-grid_1 .home-publications__grid { grid-template-columns: 1fr; }
    .home-content-feed .home-publications--desktop-grid_2 .home-publications__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-content-feed .home-publications--desktop-grid_3 .home-publications__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.home-service-card {
    display: grid;
    min-height: 118px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px;
}

.home-service-card__icon,
.home-service-card:nth-child(n) .home-service-card__icon {
    width: 44px;
    height: 44px;
    margin: 0;
}

.home-service-card__icon img {
    width: 31px;
    height: 31px;
}

.home-service-card__body {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
}

.home-service-card h3 {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.25;
}

.home-service-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 5px;
    font-size: 10.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-service-card__link {
    min-height: 0;
    margin-top: auto;
    font-size: 10.5px;
}

.home-content-feed .home-publications--news .home-publication-card {
    min-height: 72px;
    grid-template-columns: 64px minmax(0, 1fr);
}

.home-content-feed .home-publications--news .home-publication-card__image {
    min-height: 72px;
    padding: 8px;
}

.home-content-feed .home-publications--news .home-publication-card__body {
    padding: 8px 10px;
}

.home-content-feed .home-publications--news .home-publication-card h3 {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.25;
}

.home-content-feed .home-publications--news .home-publication-card p,
.home-content-feed .home-publications--news .home-publication-card__link {
    display: none;
}

.home-content-feed .home-publications--articles .home-publication-card {
    min-height: 92px;
    grid-template-columns: 58px minmax(0, 1fr);
}

.home-content-feed .home-publications--articles .home-publication-card__image {
    min-height: 92px;
    padding: 6px;
}

.home-content-feed .home-publications--articles .home-publication-card__body {
    padding: 8px;
}

.home-content-feed .home-publications--articles .home-publication-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 2px 0 4px;
    font-size: 11.5px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-content-feed .home-publications--articles .home-publication-card p {
    display: none;
}

.home-content-feed .home-publications--articles .home-publication-card__link {
    margin-top: auto;
    font-size: 10px;
}

@media (max-width: 1179px) {
    .home-item--mobile-hidden,
    .home-block--mobile-hidden {
        display: none !important;
    }

    .home-content-feed--mobile-single .home-content-feed__grid {
        grid-template-columns: 1fr;
    }

    .home-content-feed--mobile-single .home-publications--articles {
        padding-top: 0;
        border-top: 0;
    }

    .home-services > .site-container {
        padding: 14px;
    }

    .home-services__heading {
        margin-bottom: 10px;
    }

    .home-services__heading h2,
    .home-content-feed .home-publications__heading h2 {
        font-size: 17px;
    }

    .home-services__heading a,
    .home-content-feed .home-publications__heading a {
        font-size: 10.5px;
    }

    .home-services--mobile-dropdown .home-services__select-wrap {
        display: block;
        margin-bottom: 8px;
    }

    .home-services__select {
        display: block;
        width: 100%;
        min-height: 36px;
        padding: 6px 32px 6px 10px;
        border: 1px solid #b9d1e3;
        border-radius: 8px;
        color: #0b315d;
        background: #fff;
        font: inherit;
        font-size: 11.5px;
        font-weight: 650;
    }

    .home-services--mobile-grid_1 .home-services__grid,
    .home-services--mobile-dropdown .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-services--mobile-grid_2 .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services--mobile-dropdown .home-service-card:not(.is-selected) {
        display: none;
    }

    .home-service-card {
        min-height: 84px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 8px;
        padding: 9px;
    }

    .home-service-card__icon,
    .home-service-card:nth-child(n) .home-service-card__icon {
        width: 38px;
        height: 38px;
    }

    .home-service-card__icon img {
        width: 27px;
        height: 27px;
    }

    .home-service-card h3 {
        font-size: 11.5px;
    }

    .home-service-card p {
        font-size: 9.5px;
    }

    .home-service-card__link {
        font-size: 9.5px;
    }

    .home-services--mobile-grid_2 .home-service-card {
        min-height: 112px;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .home-services--mobile-grid_2 .home-service-card p {
        display: none;
    }

    .home-content-feed {
        padding-block: 8px 12px;
    }

    .home-content-feed__grid {
        gap: 12px;
        padding: 12px;
    }

    .home-content-feed .home-publications--articles {
        padding-top: 12px;
    }

    .home-content-feed .home-publications__heading {
        min-height: 26px;
        margin-bottom: 8px;
    }

    .home-content-feed .home-publications--news .home-publication-card {
        min-height: 58px;
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .home-content-feed .home-publications--news .home-publication-card__image {
        min-height: 58px;
        padding: 6px;
    }

    .home-content-feed .home-publications--news .home-publication-card__body {
        padding: 6px 8px;
    }

    .home-content-feed .home-publications--news .home-publication-card h3 {
        font-size: 10.5px;
    }

    .home-content-feed .home-publications--news .home-publication-card time,
    .home-content-feed .home-publications--articles .home-publication-card time {
        font-size: 8.5px;
    }

    .home-content-feed .home-publications--mobile-grid_1 .home-publications__grid {
        grid-template-columns: 1fr;
    }

    .home-content-feed .home-publications--mobile-grid_2 .home-publications__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-content-feed .home-publications--articles .home-publication-card {
        min-height: 82px;
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .home-content-feed .home-publications--articles .home-publication-card__image {
        min-height: 82px;
        padding: 5px;
    }

    .home-content-feed .home-publications--articles .home-publication-card__body {
        padding: 6px;
    }

    .home-content-feed .home-publications--articles .home-publication-card h3 {
        font-size: 10px;
        -webkit-line-clamp: 3;
    }

    .home-content-feed .home-publications--articles .home-publication-card__link {
        font-size: 9px;
    }
}

/* ===== 0.31.27 — центрированное меню, кабинет и корзина в шапке главной ===== */
.home .home-utility__inner {
    justify-content: flex-start;
}

.home .site-header__inner {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
}

.home .main-navigation {
    justify-self: center;
}

.home .header-actions {
    justify-self: end;
    gap: 12px;
}

.home .header-actions__cart {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border: 1px solid #d2dfea;
    border-radius: 8px;
    color: #0b315d;
    background: #f8fbfd;
    font-size: 12px;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.home .header-actions__cart:hover {
    color: #1671b9;
    border-color: #aecadf;
    background: #eaf3fa;
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .site-header__inner {
        grid-template-columns: 235px minmax(0, 1fr) 235px;
    }

    .home .header-actions {
        gap: 7px;
    }

    .home .header-actions__link,
    .home .header-actions__cart {
        font-size: 11px;
    }
}

/* ===== 0.31.38 — индивидуальные фоны слайдов главного баннера ===== */
.hero--home {
    background-image: none;
}

.hero--home::after {
    content: none;
}

.hero-slide {
    overflow: hidden;
    isolation: isolate;
}

.hero-slide__background {
    position: absolute;
    inset: calc(var(--lab33-hero-blur, 0px) * -2);
    z-index: -2;
    background-color: #151e27;
    background-image: var(--lab33-hero-background);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(var(--lab33-hero-blur, 0px));
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 8, 14, .58) 0%, rgba(3, 8, 14, .34) 48%, rgba(3, 8, 14, .14) 100%);
}

/* ===== 0.31.17 (test) — выбор компоновки блока «Наши продукты» ===== */
@media (min-width: 1180px) {
    .lab33-home-products-layout-grid-2 .home-products__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
        max-width: none;
    }

    .lab33-home-products-layout-grid-2 .home-product-row {
        grid-template-columns: 132px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        height: 100%;
        min-width: 0;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__image {
        grid-column: 1;
        grid-row: 1;
        min-height: 148px;
        padding: 10px;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__image img {
        max-height: 126px;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__body {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-start;
        padding: 11px 12px 9px;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__body h3 {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__description-text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 8px;
        padding: 9px 11px;
        border-top: 1px solid #d2dfea;
        border-left: 0;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__actions strong {
        margin: 0;
        font-size: 16px;
    }

    .lab33-home-products-layout-grid-2 .home-product-row__actions .button {
        min-height: 32px;
        padding: 5px 10px;
        white-space: nowrap;
    }
}

/* ===== 0.31.18 — тени секций главной без перекрытия соседними фонами ===== */
.home-products,
.home-services,
.home-content-feed {
    overflow: visible;
}

.home-products > .site-container,
.home-services > .site-container,
.home-content-feed__grid {
    position: relative;
    z-index: 1;
}

/* ===== 0.31.22 — тень панели преимуществ поверх следующей секции ===== */
.home-benefits {
    position: relative;
    z-index: 2;
}

/* ===== 0.31.24 — настраиваемая схема рядов продуктов ===== */
@media (min-width: 1180px) {
    .lab33-home-products-layout-custom .home-products__list,
    .lab33-catalog-products-layout-custom .catalog-products {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
        max-width: none;
    }

    .lab33-catalog-products-layout-custom .catalog-products > .empty-state {
        grid-column: 1 / -1;
        width: 100%;
    }

    .lab33-products-grid-span-12 { grid-column: span 12; }
    .lab33-products-grid-span-6 { grid-column: span 6; }
    .lab33-products-grid-span-4 { grid-column: span 4; }
    .lab33-products-grid-span-3 { grid-column: span 3; }

    .lab33-home-products-layout-custom .home-product-row {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        height: 100%;
        min-width: 0;
    }

    .lab33-home-products-layout-custom .home-product-row__image {
        grid-column: 1;
        grid-row: 1;
        min-height: 138px;
        padding: 9px;
    }

    .lab33-home-products-layout-custom .home-product-row__image img {
        max-height: 118px;
    }

    .lab33-home-products-layout-custom .home-product-row__body {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-start;
        padding: 10px 11px 8px;
    }

    .lab33-home-products-layout-custom .home-product-row h3 {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .lab33-home-products-layout-custom .home-product-row__description-text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .lab33-home-products-layout-custom .home-product-row__description-text--mobile {
        display: none;
    }

    .lab33-home-products-layout-custom .home-product-row__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(58px, 1fr) auto auto;
        align-items: center;
        gap: 6px;
        padding: 8px 9px;
        border-top: 1px solid #d2dfea;
        border-left: 0;
    }

    .lab33-home-products-layout-custom .home-product-row__actions strong {
        margin: 0;
        font-size: 15px;
    }

    .lab33-home-products-layout-custom .home-product-row__actions .button {
        min-height: 30px;
        padding: 4px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__image,
    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__body {
        grid-column: 1;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__image {
        grid-row: 1;
        min-height: 112px;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__image img {
        max-height: 94px;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__body {
        grid-row: 2;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__actions {
        grid-row: 3;
        grid-template-columns: 1fr 1fr;
    }

    .lab33-home-products-layout-custom .home-product-row.lab33-products-grid-span-3 .home-product-row__actions strong {
        grid-column: 1 / -1;
    }

    .lab33-catalog-products-layout-custom .catalog-products {
        overflow: visible;
        border: 0;
        border-radius: 12px;
        background: transparent;
    }

    .lab33-catalog-products-layout-custom .catalog-product {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 0;
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: 0;
        overflow: hidden;
        border: 1px solid #d2dfea;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 7px 18px rgba(11, 49, 93, .05);
    }

    .lab33-catalog-products-layout-custom .catalog-product:last-child {
        border-bottom: 1px solid #d2dfea;
    }

    .lab33-catalog-products-layout-custom .catalog-product__image {
        grid-column: 1;
        grid-row: 1;
        min-height: 138px;
        padding: 9px;
        border: 0;
        border-right: 1px solid #e2eaf1;
        border-radius: 0;
    }

    .lab33-catalog-products-layout-custom .catalog-product__image img {
        height: 118px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 10px 11px 8px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__type {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .lab33-catalog-products-layout-custom .catalog-product h2 {
        margin-bottom: 6px;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .lab33-catalog-products-layout-custom .catalog-product__description {
        display: -webkit-box;
        margin-bottom: 8px;
        overflow: hidden;
        color: #52697d;
        font-size: 11px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .lab33-catalog-products-layout-custom .catalog-product__supply {
        margin-bottom: 8px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__supply .product-supply__options {
        gap: 4px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__supply .product-supply__option {
        min-height: 28px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__purpose-label {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__tags {
        gap: 4px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__tags span {
        min-height: 20px;
        padding: 2px 6px;
        font-size: 9px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(58px, 1fr) auto auto;
        align-items: center;
        gap: 6px;
        padding: 8px 9px;
        border-top: 1px solid #d2dfea;
        background: #fbfdff;
    }

    .lab33-catalog-products-layout-custom .catalog-product__price {
        min-height: 0;
        font-size: 13px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__order,
    .lab33-catalog-products-layout-custom .catalog-product__question {
        width: auto;
        min-height: 30px;
        padding: 4px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .lab33-catalog-products-layout-custom .catalog-product__question {
        margin-top: 0;
    }

    .lab33-catalog-products-layout-custom .catalog-product__article {
        grid-column: 1 / 3;
        margin-top: 0;
        font-size: 10px;
    }

    .lab33-catalog-products-layout-custom .catalog-product__more {
        grid-column: 3;
        margin-top: 0;
        padding-top: 0;
        font-size: 10px;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__image,
    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__main {
        grid-column: 1;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__image {
        grid-row: 1;
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid #e2eaf1;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__image img {
        height: 94px;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__main {
        grid-row: 2;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__actions {
        grid-row: 3;
        grid-template-columns: 1fr 1fr;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__price {
        grid-column: 1 / -1;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__article {
        grid-column: 1;
    }

    .lab33-catalog-products-layout-custom .catalog-product.lab33-products-grid-span-3 .catalog-product__more {
        grid-column: 2;
    }
}

/* ===== 0.31.36 — единый стандарт карточек главной и каталога ===== */
.catalog-product h2,
.catalog-product h2 a {
    color: #0b315d;
}

.catalog-product__order.catalog-product__icon-button:hover,
.catalog-product__order.catalog-product__icon-button:focus,
.catalog-product__question.catalog-product__icon-button:hover,
.catalog-product__question.catalog-product__icon-button:focus {
    color: #1671b9;
    border-color: #7fb2d8;
    background: #f5faff;
}

/* ===== 0.31.39 — заголовок каталога в стиле секции продуктов главной ===== */
.catalog-page__heading h1 {
    color: #0b315d;
    font-size: 24px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.015em;
}

@media (max-width: 720px) {
    .catalog-page__heading h1 {
        font-size: 23px;
    }
}

@media (min-width: 1180px) {
    .lab33-catalog-products-layout-custom .catalog-product {
        transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .lab33-catalog-products-layout-custom .catalog-product:hover {
        border-color: #aecadf;
        background: #fff;
        box-shadow: 0 12px 26px rgba(11, 49, 93, .09);
        transform: translateY(-1px);
    }

    .lab33-catalog-products-layout-custom .catalog-product__image {
        border-right: 0;
        background: #eaf3fa;
    }

    .lab33-catalog-products-layout-custom .catalog-product__main {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .lab33-catalog-products-layout-custom .catalog-product:nth-child(4n + 2) .catalog-product__image {
        background: #e8f4ee;
    }

    .lab33-catalog-products-layout-custom .catalog-product:nth-child(4n + 3) .catalog-product__image {
        background: #fff3dc;
    }

    .lab33-catalog-products-layout-custom .catalog-product:nth-child(4n) .catalog-product__image {
        background: #f2f4f7;
    }
}

/* ===== 0.31.42 — компактные карточки продуктов на телефонах ===== */
@media (min-width: 561px) {
    .home-product-row__description {
        margin-bottom: 0;
    }

    .home-product-row__description .home-product-row__more {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 560px) {
    .home-product-row,
    .catalog-product {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0;
        min-width: 0;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid #d2dfea;
        border-radius: 12px;
        background: #fff;
    }

    .home-product-row__image,
    .catalog-product__image {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: 8px;
        border: 0;
        border-right: 1px solid #e2eaf1;
        border-radius: 0;
    }

    .catalog-product:nth-child(4n + 1) .catalog-product__image { background: #eaf3fa; }
    .catalog-product:nth-child(4n + 2) .catalog-product__image { background: #e8f4ee; }
    .catalog-product:nth-child(4n + 3) .catalog-product__image { background: #fff3dc; }
    .catalog-product:nth-child(4n) .catalog-product__image { background: #f2f4f7; }

    .home-product-row__image img,
    .catalog-product__image img {
        width: 100%;
        height: 94px;
        max-height: 94px;
        object-fit: contain;
    }

    .home-product-row__body,
    .catalog-product__main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 10px 10px 9px;
    }

    .home-product-row h3,
    .catalog-product h2 {
        margin: 0 0 6px;
        font-size: 15px;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .home-product-row__availability {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .home-product-row__description,
    .catalog-product__description {
        margin: 0;
        color: #52697d;
        font-size: 11px;
        line-height: 1.38;
    }

    .home-product-row__description-text,
    .catalog-product__description-text {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .home-product-row__description-text--desktop {
        display: none;
    }

    .home-product-row__description-text--mobile {
        display: -webkit-box;
    }

    .catalog-product__description-text--desktop {
        display: none;
    }

    .catalog-product__description-text--mobile {
        display: -webkit-box;
    }

    .home-product-row__description .home-product-row__more,
    .catalog-product__main .catalog-product__description .catalog-product__more {
        display: inline-block;
        margin: 4px 0 0;
        padding: 0;
        font-size: 11px;
        line-height: 1.3;
        text-align: left;
        white-space: nowrap;
    }

    .catalog-product__supply {
        margin: 8px 0 0;
    }

    .catalog-product__supply .product-supply__title {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .catalog-product__supply .product-supply__options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .catalog-product__supply .product-supply__option {
        min-height: 28px;
        padding: 4px 6px;
        font-size: 10px;
    }

    .home-product-row__actions,
    .catalog-product__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 34px 34px;
        align-items: center;
        gap: 7px;
        padding: 8px 10px;
        border-top: 1px solid #e2eaf1;
        border-left: 0;
        background: #fbfdff;
    }

    .home-product-row__actions strong,
    .catalog-product__price {
        min-width: 0;
        min-height: 0;
        margin: 0;
        color: #0b315d;
        font-size: 14px;
        line-height: 1.2;
    }

    .home-product-row__actions .button.home-product-row__icon-button,
    .catalog-product__actions .button.catalog-product__icon-button {
        width: 34px;
        min-width: 34px;
        min-height: 34px;
        margin: 0;
        padding: 6px;
    }
}

/* ===== 0.31.43 — мобильная шапка и главный баннер ===== */
@media (max-width: 720px) {
    .home .site-header {
        left: 10px;
        right: auto;
        width: calc(100% - 20px);
        margin: 0;
    }

    .home .site-header__inner {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-inline: 14px;
    }

    .home .site-logo {
        min-width: 0;
    }

    .home .site-logo__image,
    .home .custom-logo {
        width: min(190px, calc(100vw - 100px));
        max-width: 100%;
    }

    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        width: 100%;
        max-width: 100%;
        min-height: 560px;
    }

    .home .hero-grid,
    .home .hero__inner {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 106px 20px 76px;
    }

    .home .hero__content {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .home .hero__visual {
        display: none;
    }

    .home .hero .eyebrow {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.35;
    }

    .home .hero h1 {
        max-width: none;
        margin-bottom: 14px;
        font-size: clamp(30px, 9vw, 36px);
        line-height: 1.08;
        overflow-wrap: normal;
        word-break: normal;
    }

    .home .hero p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.48;
    }

    .home .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 52px;
    }

    .home .hero__actions .button {
        min-height: 40px;
        padding: 7px 13px;
        font-size: 13px;
    }

    .home .hero-slider__controls {
        right: 20px;
        bottom: 18px;
        gap: 8px;
    }

    .home .hero-slider__arrow {
        width: 36px;
        height: 36px;
    }
}

/* ===== 0.31.44 — компактный главный баннер на телефонах ===== */
@media (max-width: 720px) {
    .hero--home,
    .hero-slider,
    .hero-slide,
    .home .hero__inner {
        min-height: 330px;
    }

    .home .hero-grid,
    .home .hero__inner {
        align-items: start;
        padding: 84px 18px 48px;
    }

    .home .hero .eyebrow {
        margin-bottom: 4px;
        font-size: 11px;
        line-height: 1.3;
    }

    .home .hero h1 {
        margin-bottom: 8px;
        font-size: clamp(25px, 7.5vw, 28px);
        line-height: 1.05;
    }

    .home .hero__content > p:not(.eyebrow) {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home .hero__actions {
        gap: 7px;
        margin-top: 12px;
        margin-bottom: 0;
    }

    .home .hero__actions .button {
        min-height: 34px;
        padding: 5px 11px;
        border-radius: 8px;
        font-size: 12px;
    }

    .home .hero-slider__controls {
        right: 18px;
        bottom: 10px;
        gap: 6px;
    }

    .home .hero-slider__arrow {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .home .hero-slider__dots {
        gap: 6px;
    }

    .home .hero-slider__dot {
        width: 7px;
        height: 7px;
    }
}

/* ===== 0.31.48 — компактные элементы главной и каталога на телефонах ===== */
@media (max-width: 560px) {
    .hero-slide__background {
        inset: 0;
    }

    .home-benefits__grid {
        min-height: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 6px 12px;
    }

    .home-benefit {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 7px;
        min-width: 0;
        padding: 10px 6px;
        border-bottom: 1px solid #dfe9e5;
    }

    .home-benefit:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .home-benefit:nth-child(odd) {
        border-right: 1px solid #dfe9e5;
    }

    .home-benefit__icon {
        width: 28px;
        height: 28px;
        font-size: 21px;
    }

    .home-benefit > div {
        min-width: 0;
    }

    .home-benefit h2 {
        margin-bottom: 3px;
        font-size: 12px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .home-benefit p {
        font-size: 10px;
        line-height: 1.35;
    }

    .home-products {
        padding-top: 10px;
    }

    .home-products__heading {
        display: none;
    }

    .home-products__catalog {
        gap: 8px;
    }

    .home-products__categories {
        display: none;
    }

    .home-products__category-select {
        display: block;
    }

    .home-products__category-select select,
    .product-supply__select {
        display: block;
        width: 100%;
        min-height: 36px;
        padding: 6px 32px 6px 10px;
        border: 1px solid #b9d1e3;
        border-radius: 8px;
        color: #0b315d;
        background: #fff;
        font: inherit;
        font-size: 12px;
        font-weight: 650;
    }

    .home-products__list,
    .catalog-products {
        gap: 10px;
    }

    .catalog-product + .catalog-product {
        margin-top: 10px;
    }

    .catalog-product__supply .product-supply__title,
    .catalog-product__supply .product-supply__options {
        display: none;
    }

    .catalog-product__supply {
        margin-top: 7px;
    }

    .catalog-product__supply .product-supply__select {
        min-height: 32px;
        padding-block: 4px;
        font-size: 10px;
        font-weight: 500;
    }
}

/* ===== 0.31.53 — раздельная сетка продуктов по устройствам ===== */
@media (max-width: 1179px) {
    .lab33-home-products-layout-mobile-grid-2 .home-products__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        gap: 10px;
        align-items: stretch;
    }

    .lab33-home-products-layout-mobile-custom .home-products__list,
    .lab33-catalog-products-layout-mobile-custom .catalog-products {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        max-width: none;
        gap: 10px;
        align-items: stretch;
    }

    .lab33-catalog-products-layout-mobile-custom .catalog-products {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .lab33-catalog-products-layout-mobile-custom .catalog-product {
        height: 100%;
        overflow: hidden;
        border: 1px solid #d2dfea;
        border-radius: 12px;
        background: #fff;
    }

    .lab33-products-grid-mobile-span-12 { grid-column: span 12; }
    .lab33-products-grid-mobile-span-6 { grid-column: span 6; }
}

@media (max-width: 560px) {
    .lab33-home-products-layout-mobile-grid-2 .home-product-row,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        height: 100%;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__image,
    .lab33-home-products-layout-mobile-grid-2 .home-product-row__body,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__image,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__body,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__image,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__main {
        grid-column: 1;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__image,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__image,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__image {
        grid-row: 1;
        min-height: 96px;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid #e2eaf1;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__image img,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__image img,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__image img {
        height: 82px;
        max-height: 82px;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__body,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__body,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__main {
        grid-row: 2;
        padding: 8px;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__actions,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__actions,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__actions {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: minmax(0, 1fr) 32px 32px;
        gap: 5px;
        padding: 7px;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row h3,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 h3,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 h2 {
        font-size: 13px;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__description-text,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__description-text,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__description-text {
        -webkit-line-clamp: 3;
    }

    .lab33-home-products-layout-mobile-grid-2 .home-product-row__actions strong,
    .lab33-home-products-layout-mobile-custom .home-product-row.lab33-products-grid-mobile-span-6 .home-product-row__actions strong,
    .lab33-catalog-products-layout-mobile-custom .catalog-product.lab33-products-grid-mobile-span-6 .catalog-product__price {
        font-size: 13px;
    }
}

/* ===== 0.31.56 TEST — компактная мобильная витрина продуктов ===== */
.home-products__mobile-more {
    display: none;
}

@media (max-width: 1179px) {
    .home-products--mobile-showcase .home-products__heading > a,
    .home-products--mobile-showcase .home-products__categories,
    .home-products--mobile-showcase .home-products__category-select {
        display: none;
    }

    .home-products--mobile-showcase .home-products__catalog {
        display: block;
        min-width: 0;
    }

    .home-products--mobile-showcase .home-products__list {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-column: 1 / -1;
        grid-template-columns: 100px minmax(0, 1fr);
        grid-template-rows: minmax(102px, auto) auto;
        gap: 0;
        overflow: hidden;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__image {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        min-height: 102px;
        height: 100%;
        padding: 5px;
        border: 0;
        border-right: 1px solid #e2eaf1;
        border-bottom: 0;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__image img {
        display: block;
        width: 100%;
        height: 92px;
        max-height: 92px;
        object-fit: contain;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__body {
        display: flex;
        min-width: 0;
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        padding: 9px 10px;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        font-size: 14px;
        line-height: 1.28;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row__availability {
        margin: 0 0 4px;
        font-size: 10px;
        line-height: 1.25;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row__description {
        display: block;
        margin: 6px 0 0;
        font-size: 11px;
        line-height: 1.35;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row__description-text--desktop {
        display: none;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row__description-text--mobile {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row__description .home-product-row__more {
        display: none;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__actions {
        display: grid;
        min-width: 0;
        min-height: 40px;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr) 31px 31px;
        align-items: center;
        gap: 5px;
        padding: 4px 8px;
        border-top: 1px solid #e2eaf1;
        border-left: 0;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__actions strong {
        min-width: 0;
        margin: 0;
        font-size: 14px;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__actions .button.home-product-row__icon-button {
        width: 31px;
        min-width: 31px;
        min-height: 31px;
        margin: 0;
        padding: 6px;
    }

    .home-products--mobile-showcase .home-products__list .home-product-row .home-product-row__action-icon {
        width: 14px;
        height: 14px;
    }

    .home-products--mobile-showcase .home-products__mobile-more {
        display: flex;
        justify-content: center;
        margin-top: 14px;
    }

    .home-products--mobile-showcase .home-products__mobile-more .button {
        display: inline-flex;
        width: 75%;
        max-width: 360px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        text-align: center;
    }
}

/* ===== 0.31.112 TEST — пропорции и нижняя привязка иллюстрации Hero ===== */
@media (min-width: 821px) {
    .home .hero__visual {
        --lab33-hero-visual-bottom-offset: 34px;
        align-self: stretch;
        align-items: flex-end;
        transform: translateY(var(--lab33-hero-visual-bottom-offset));
    }

    .home .hero__visual img {
        display: block;
        width: auto;
        max-width: min(100%, 480px);
        height: auto;
        max-height: 360px;
        object-fit: contain;
        object-position: center bottom;
    }
}

@media (min-width: 821px) and (max-width: 980px) {
    .home .hero__visual img {
        max-width: min(100%, 430px);
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .hero__visual {
        --lab33-hero-visual-bottom-offset: 28px;
    }

    .home .hero__visual img {
        max-width: min(100%, 390px);
        max-height: 310px;
    }
}
