/* local/templates/moleculab/components/bitrix/menu/horizontal_multilevel_cat/template.php */
/* MolecuLab compact menu v5. Scoped to this desktop catalogue only. */
@media (min-width: 768px) {
    .header-menu__hidden-block.ml-menu-compact-host {
        height: auto;
        overflow: hidden;
    }
    #header-tabs.ml-menu-compact,
    #header-tabs.ml-menu-compact * {
        box-sizing: border-box;
    }
    #header-tabs.ml-menu-compact {
        font-family: Geometria, sans-serif;
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
        width: 100%;
        height: var(--ml-menu-available-height, min(700px, calc(100vh - 145px)));
        height: var(--ml-menu-available-height, min(700px, calc(100dvh - 145px)));
        min-height: 0;
        margin: 0;
        padding: 0;
        gap: 0;
        overflow: hidden;
        background: #fff;
    }
    #header-tabs.ml-menu-compact .header-tabs__navigation {
        display: block;
        height: 100%;
        min-height: 0;
        min-width: 0;
        padding: 22px 16px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #8acb5f #f4f9f0;
        background: #f7fbf4;
        border-right: 1px solid #e4eee0;
    }
    #header-tabs.ml-menu-compact .header-tabs__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        height: auto;
        margin: 0 0 6px;
        padding: 11px 14px;
        color: #5d7266;
        font: inherit;
        font-size: 15px;
        line-height: 1.45;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        text-decoration: none;
        background: transparent;
        border: 0;
        border-radius: 12px;
        cursor: pointer;
        transform: none;
        transition: background-color .15s ease, color .15s ease;
    }
    #header-tabs.ml-menu-compact .header-tabs__title span {
        min-width: 0;
    }
    #header-tabs.ml-menu-compact .header-tabs__title svg {
        flex: 0 0 9px;
        width: 9px;
        height: 15px;
        color: #aac49e;
        transform: none;
    }
    #header-tabs.ml-menu-compact .header-tabs__title:hover {
        color: #438830;
        background: #eaf5e2;
        transform: none;
    }
    #header-tabs.ml-menu-compact .header-tabs__title._tab-active {
        color: #fff;
        background: linear-gradient(108deg, #00a6d5, #77c149);
        box-shadow: 0 5px 15px rgba(69, 164, 85, .12);
    }
    #header-tabs.ml-menu-compact .header-tabs__title._tab-active svg {
        color: #fff;
    }
    #header-tabs.ml-menu-compact .header-tabs__content {
        display: none;
        min-width: 0;
        min-height: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        padding: 0;
        overflow: hidden;
    }
    #header-tabs.ml-menu-compact .header-tabs__content._content-active {
        display: block;
    }
    #header-tabs.ml-menu-compact .header-tabs__body {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 24px 28px 30px;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #8acb5f #f4f9f0;
    }
    #header-tabs.ml-menu-compact .header-tabs__body::-webkit-scrollbar,
    #header-tabs.ml-menu-compact .header-tabs__navigation::-webkit-scrollbar {
        width: 7px;
    }
    #header-tabs.ml-menu-compact .header-tabs__body::-webkit-scrollbar-thumb,
    #header-tabs.ml-menu-compact .header-tabs__navigation::-webkit-scrollbar-thumb {
        background: #8acb5f;
        border: 2px solid #f4f9f0;
        border-radius: 8px;
    }
    #header-tabs.ml-menu-compact .ml-menu-v1__section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px 18px;
        margin: 0 0 22px;
    }
    #header-tabs.ml-menu-compact .header-tabs__category {
        min-width: 0;
        margin: 0;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
    #header-tabs.ml-menu-compact .header-tabs__category .ml-menu-category-label {
        color: #304d59;
        text-decoration: none;
    }
    #header-tabs.ml-menu-compact .ml-menu-v1__all-categories {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        padding: 6px 0;
        color: #5d9e36;
        font-size: 12px;
        line-height: 1.4;
        text-decoration: none;
    }
    #header-tabs.ml-menu-compact .header-tabs__grid {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 0;
        column-count: var(--ml-column-limit, 3);
        column-width: 228px;
        column-gap: 28px;
        column-fill: balance;
        overflow: visible;
    }
    #header-tabs.ml-menu-compact .grid-tab {
        display: inline-block;
        vertical-align: top;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0 0 15px;
        padding: 0 0 12px;
        border-bottom: 1px solid #e8eff0;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
    }
    #header-tabs.ml-menu-compact .grid-tab__list,
    #header-tabs.ml-menu-compact .ml-menu-compact__nested {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 0;
        list-style: none;
    }
    #header-tabs.ml-menu-compact .grid-tab__item {
        display: block !important;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    #header-tabs.ml-menu-compact .grid-tab__item::before {
        content: none;
    }
    #header-tabs.ml-menu-compact .grid-tab__link {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 5px 8px;
        color: #637b86;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        overflow: visible;
        text-overflow: clip;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
        text-decoration: none;
        border-radius: 7px;
        cursor: pointer;
        transition: color .15s ease, background-color .15s ease;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__group-link {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 9px;
        margin-bottom: 4px;
        color: #304d59;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__group-link span {
        min-width: 0;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__arrow {
        display: block;
        flex: 0 0 11px;
        width: 11px;
        height: 11px;
        margin-top: 4px;
        color: #77bd50;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__nested {
        width: auto;
        margin: 4px 0 6px 12px;
        padding-left: 8px;
        border-left: 1px solid #e4eddf;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__branch-link {
        font-weight: 500;
    }
    #header-tabs.ml-menu-compact .grid-tab__link:hover,
    #header-tabs.ml-menu-compact .grid-tab__link:focus-visible {
        color: #0087aa !important;
        background: #eef9fc;
        text-decoration: none !important;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__group-link:hover,
    #header-tabs.ml-menu-compact .ml-menu-compact__group-link:focus-visible {
        color: #438b2b !important;
        background: #eff8e9;
    }
    #header-tabs.ml-menu-compact .header-tabs__category a:hover,
    #header-tabs.ml-menu-compact .ml-menu-v1__all-categories:hover {
        color: #0087aa !important;
    }
    #header-tabs.ml-menu-compact a:focus-visible {
        outline: 2px solid #00a6d5;
        outline-offset: 2px;
    }
    #header-tabs.ml-menu-compact .ml-menu-compact__empty {
        margin: 8px 0;
        color: #6e8790;
        font-size: 14px;
        line-height: 1.6;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    #header-tabs.ml-menu-compact {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    #header-tabs.ml-menu-compact .header-tabs__body {
        padding: 20px 22px 26px;
    }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
    #header-tabs.ml-menu-compact a {
        transition: none;
    }
}

/* local/templates/moleculab/components/bitrix/news.list/banner_main/template.php */
/* MolecuLab: фирменный баннер с широким мягким переходом. */
#hero {
    padding: 20px 0 24px;
}
#hero .hero__slider {
    position: relative;
    width: calc(100% - 80px);
    max-width: 1700px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 !important;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
}
#hero .hero__wrapper {
    align-items: flex-start !important;
}
#hero .ml-hero-restored {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    align-self: stretch;
    box-sizing: border-box;
    max-width: none !important;
    height: auto !important;
    min-height: 320px !important;
    aspect-ratio: 3.2 / 1;
    margin-top: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0 !important;
    isolation: isolate;
    background: #fff !important;
}
/* Background tint does not download another image or apply an expensive blur. */
#hero .ml-hero-restored::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(100deg, #fff 20%, #f0fbfc 75%, #f5fcf0);
    pointer-events: none;
}
#hero .ml-hero-restored::after { content: none !important; }
#hero .ml-hero-picture {
    display: block; position: absolute; inset: 0 0 0 auto;
    z-index: 1; width: 60%; height: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%);
    mask-image: linear-gradient(90deg, transparent, #000 18%);
    pointer-events: none;
}
#hero .ml-hero-picture img {
    display: block; position: absolute; top: 0; right: 0;
    width: auto !important; max-width: none !important; height: 100% !important;
    margin: 0; opacity: 1; visibility: visible;
}
#hero .ml-hero-restored .hero-slide__container {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(28px, 3.5%, 58px) 5% !important;
    gap: 24px;
}
#hero .ml-hero-restored .hero-slide__content {
    width: 40% !important;
    max-width: 520px !important;
    min-width: 0;
}
#hero .ml-hero-restored .hero-slide__title {
    max-width: 100% !important;
    margin: 0 0 18px !important;
    color: #007b9e;
    font-size: clamp(28px, 2.35vw, 44px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    font-family: Manrope, sans-serif;
}
#hero .ml-hero-restored .hero-slide__text {
    max-width: 100% !important;
    margin: 0 !important;
    color: #435f6d;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.5;
    overflow-wrap: break-word;
    font-family: Geometria, sans-serif;
}
#hero .ml-hero-restored .hero-slide__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
    width: auto;
    max-width: 40%;
    min-height: 50px;
    margin: 0 !important;
    padding: 5px 5px 5px 20px;
    border: 0;
    border-radius: 30px;
    background: #d3f3ff;
    color: #007b9e;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: normal;
    box-shadow: none;
    font-family: Geometria, sans-serif;
}
#hero .hero-slide__button .button__icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
}
#hero .hero-slide__button .button__icon svg {
    width: 28px;
    height: 28px;
}
#hero .hero-slide__button .button__icon path {
    stroke: #00a0db;
}
#hero .hero__controls {
    position: absolute !important;
    top: auto !important;
    right: 20px !important;
    bottom: 18px !important;
    left: auto !important;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0 !important;
    padding: 6px;
    border: 1px solid #d9e6ec;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    box-shadow: none;
    transform: none !important;
    z-index: 2;
}
#hero .hero-slide__prev,
#hero .hero-slide__next {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d3f3ff;
    cursor: pointer;
}
#hero .hero-slide__prev svg,
#hero .hero-slide__next svg {
    width: 18px;
    height: 18px;
}
#hero .hero-slide__prev path,
#hero .hero-slide__next path {
    stroke: #00a0db;
}
#hero .hero-slide__pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    margin: 0;
    transform: none;
}
#hero .hero-slide__pagination .swiper-pagination-bullet {
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 999px;
    background: #b7ccd8;
    opacity: 1;
}
#hero .hero-slide__pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: linear-gradient(124deg, #00a0db 10.09%, #86d06c 105.92%);
}
#hero .hero-slide__button:focus-visible,
#hero .hero-slide__prev:focus-visible,
#hero .hero-slide__next:focus-visible {
    outline: 3px solid #00a0db;
    outline-offset: 3px;
}
@media (hover: hover) {
    #hero .hero-slide__button:hover {
        background: #b9eaff;
        color: #007b9e;
    }
    #hero .hero-slide__prev:hover,
    #hero .hero-slide__next:hover {
        background: #b9eaff;
    }
}
@media (prefers-reduced-motion: no-preference) {
    #hero .hero-slide__button,
    #hero .hero-slide__prev,
    #hero .hero-slide__next {
        transition: background-color .18s ease;
    }
}
/* All slides reserve their final height before Swiper starts. */
#hero .hero__wrapper { display: flex !important; align-items: stretch !important; height: auto !important; }
#hero .ml-hero-restored { flex: 0 0 100%; width: 100%; min-width: 0; align-self: stretch; }
#hero .hero__slider:not(.swiper-initialized):not(.swiper-container-initialized) .hero__wrapper { transform: none !important; }
#hero .hero__slider:not(.swiper-initialized):not(.swiper-container-initialized) .hero__slide { margin-right: 0 !important; }
@media (max-width: 1100px) {
    #hero { padding: 16px 0 20px; }
    #hero .hero__slider { width: calc(100% - 40px); border-radius: 16px; }
    #hero .ml-hero-restored {
        min-height: 0 !important;
        aspect-ratio: auto;
        grid-template-rows: 1fr auto;
        background: #fff !important;
    }
    #hero .ml-hero-restored .hero-slide__container {
        padding: 30px 28px 22px !important;
        gap: 20px;
    }
    #hero .ml-hero-restored .hero-slide__content {
        width: 100% !important;
        max-width: 640px !important;
    }
    #hero .ml-hero-restored .hero-slide__title {
        font-size: 32px;
        margin-bottom: 14px !important;
    }
    #hero .ml-hero-restored .hero-slide__text { font-size: 18px; }
    #hero .ml-hero-restored .hero-slide__button { max-width: 100%; }
    #hero .ml-hero-restored::before { display: none; }
    #hero .ml-hero-picture {
        position: relative; inset: auto; width: 100%; height: auto;
        aspect-ratio: var(--hero-mobile-ratio); align-self: end;
        -webkit-mask-image: none; mask-image: none;
    }
    #hero .ml-hero-picture img {
        position: absolute; inset: 0; width: 100% !important;
        height: 100% !important; object-fit: contain;
    }
    #hero .ml-hero-picture::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(180deg, #fff, rgba(255,255,255,0) 22%);
    }
    #hero .hero__controls {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 12px auto !important;
        box-shadow: none;
    }
}
@media (max-width: 576px) {
    #hero { padding-top: 12px; }
    #hero .hero__slider {
        width: calc(100% - 24px);
        border-radius: 16px;
    }
    #hero .ml-hero-restored .hero-slide__container {
        padding: 24px 20px 18px !important;
        gap: 18px;
    }
    #hero .ml-hero-restored .hero-slide__title { font-size: 28px; }
    #hero .ml-hero-restored .hero-slide__text { font-size: 16px; }
    #hero .ml-hero-restored .hero-slide__button {
        min-height: 50px;
        font-size: 15px;
    }
}

/* local/templates/moleculab/components/bitrix/news.list/stock_main/template.php */
/* Moleculab V36: isolated responsive homepage promotions. */
#special .ml-promo36, #special .ml-promo36 * { box-sizing: border-box; }
#special .ml-promo36 {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px;
  width: 100%; margin: 0; padding: 0; list-style: none;
}
#special .ml-promo36__item { min-width: 0; margin: 0; padding: 0; list-style: none; }
#special .ml-promo36__card {
  display: flex; flex-direction: column; height: 100%; min-width: 0;
  padding: 10px; border: 1px solid #d5e7ed; border-radius: 24px;
  background: #fff; color: #244653; text-decoration: none;
  box-shadow: 0 3px 12px rgba(36,70,83,.035);
  transition: border-color .18s ease, box-shadow .18s ease;
}
#special .ml-promo36__media {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 150px; flex: 0 0 150px; min-width: 0; overflow: hidden;
  border-radius: 16px; background: #f1faff;
}
#special .ml-promo36__image { display: block; width: 100%; height: 100%; object-fit: contain; }
#special .ml-promo36__placeholder { font-size: 16px; color: #526b79; }
#special .ml-promo36__badge {
  position: absolute; top: 10px; left: 10px; padding: 6px 12px;
  border-radius: 20px; background: #4f9c24; color: #fff;
  font-size: 16px; line-height: 1.2; font-weight: 700;
}
#special .ml-promo36__body {
  display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 6px 4px;
}
#special .ml-promo36__title {
  margin: 0; padding: 0; color: #244653; font-family: inherit;
  font-size: 18px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere;
}
#special .ml-promo36__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
#special .ml-promo36__from { margin: 0; font-size: 15px; line-height: 1.45; color: #526b79; overflow-wrap: anywhere; }
#special .ml-promo36__arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; margin-left: auto; border: 1px solid #c6e9f1; border-radius: 50%; color: #007b9e; background: #eaf8fc; }
#special .ml-promo36__arrow svg { display: block; width: 18px; height: 18px; }
#special .ml-promo36__card:focus-visible { outline: 3px solid #007b9e; outline-offset: 3px; }
@media (hover: hover) {
  #special .ml-promo36__card:hover { border-color: #83c9dc; box-shadow: 0 5px 16px rgba(36,70,83,.09); }
}
@media (max-width: 1100px) {
  #special .ml-promo36 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 600px) {
  #special .ml-promo36 { grid-template-columns: minmax(0,1fr); gap: 12px; }
  #special .ml-promo36__card { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 12px; padding: 10px; border-radius: 20px; }
  #special .ml-promo36__media { height: auto; min-height: 128px; border-radius: 12px; align-self: stretch; }
  #special .ml-promo36__image { position: absolute; inset: 0; }
  #special .ml-promo36__body { padding: 4px 0; gap: 10px; }
  #special .ml-promo36__title { font-size: 16px; line-height: 1.4; }
  #special .ml-promo36__badge { top: 6px; left: 6px; font-size: 14px; padding: 5px 9px; }
  #special .ml-promo36__from { font-size: 14px; }
  #special .ml-promo36__arrow { flex-basis: 32px; height: 32px; }
  body.ml-home-unified #special#special .special__container { column-gap: 10px; row-gap: 16px; }
  body.ml-home-unified #special#special .special__title { min-width: 0; font-size: 26px; line-height: 1.2; }
  body.ml-home-unified #special#special .special__button {
    width: auto; min-width: 0; max-width: 100%; min-height: 44px;
    padding: 9px 12px !important; font-size: 14px; gap: 6px;
  }
  body.ml-home-unified #special#special .special__button::after { content: none; display: none; }
}
@media (max-width: 359px) {
  #special .ml-promo36__card { grid-template-columns: 82px minmax(0,1fr); gap: 10px; }
  #special .ml-promo36__title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { #special .ml-promo36__card { transition: none; } }

/* V37: compact horizontal cards with separate text and image areas. */
#special .ml-promo36__card {
  display: grid; grid-template-columns: minmax(0,1fr) 38%;
  column-gap: 16px; padding: 20px; min-height: 208px;
  background: #fff; box-shadow: none;
}
#special .ml-promo36__media {
  grid-column: 2; grid-row: 1; align-self: center;
  height: 156px; min-height: 0; background: #fff; border-radius: 14px;
}
#special .ml-promo36__image { position: static; width: 100%; height: 100%; object-fit: contain; }
#special .ml-promo36__body {
  grid-column: 1; grid-row: 1; padding: 0; gap: 10px; align-self: stretch;
}
#special .ml-promo36__badge {
  position: static; display: inline-flex; align-self: flex-start;
  padding: 5px 11px; background: #edf7e8; color: #39791c;
  font-size: 16px; line-height: 1.3; font-weight: 700;
}
#special .ml-promo36__title { font-size: 18px; line-height: 1.35; }
#special .ml-promo36__footer { gap: 8px; padding-top: 2px; }
#special .ml-promo36__arrow { flex-basis: 30px; height: 30px; border: 0; background: transparent; }
@media (max-width: 1100px) {
  #special .ml-promo36__card { column-gap: 12px; padding: 16px; }
}
@media (max-width: 600px) {
  #special .ml-promo36__card {
    grid-template-columns: 96px minmax(0,1fr); gap: 14px;
    min-height: 160px; padding: 14px; border-radius: 20px;
  }
  #special .ml-promo36__media { grid-column: 1; height: 128px; min-height: 0; }
  #special .ml-promo36__body { grid-column: 2; gap: 8px; }
  #special .ml-promo36__title { font-size: 16px; line-height: 1.35; }
  #special .ml-promo36__badge { font-size: 14px; padding: 4px 9px; }
}
@media (max-width: 359px) {
  #special .ml-promo36__card { grid-template-columns: 76px minmax(0,1fr); gap: 10px; padding: 12px; }
  #special .ml-promo36__media { height: 112px; }
  #special .ml-promo36__title { font-size: 15px; }
}


/* V39: same native link and shared button behavior as news. */
#special .ml-promo36__footer {
  flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 6px;
}
#special .ml-promo39__link {
  width: 100%; min-width: 0; min-height: 44px; height: auto;
  border-radius: 24px; font-size: 15px; font-weight: 500; line-height: 1.3;
  padding: 5px 5px 5px 12px; gap: 6px; text-decoration: none;
}
#special .ml-promo39__link > span:first-child { min-width: 0; white-space: normal; }
#special .ml-promo39__link .button__icon { flex: 0 0 32px; width: 32px; height: 32px; }
#special .ml-promo39__link .button__icon svg { width: 32px; height: 32px; }
#special .ml-promo39__link:focus-visible { outline: 2px solid #007b9e; outline-offset: 3px; }
@media (max-width: 359px) { #special .ml-promo39__link { font-size: 14px; padding-left: 9px; } }

/* local/templates/moleculab/components/bitrix/news.list/news/template.php */
#news .news-slide__img { height: 200px; display: flex; align-items: center; justify-content: center; }
    #news .news-slide__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
    @media (max-width: 600px) {
        #news .news-slide__img { height: auto; aspect-ratio: 16 / 9; }
    }

/* local/templates/moleculab/components/bitrix/news.list/partner/template.php */
/* V46: switch original images without crossfade or an extra background layer. */
body #clients#clients .clients__slide.ml-partner44 {background:#fff!important;padding:0!important;overflow:hidden;}
body #clients#clients .clients__slide.ml-partner44 > a {display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0!important;box-sizing:border-box;border-radius:inherit;overflow:hidden;}
body #clients#clients .ml-partner44 .ml-partner44-logo {position:relative;display:block;flex:1 1 auto;width:100%;max-width:100%;height:100%;overflow:hidden;border-radius:inherit;background:#fff;isolation:isolate;}
body #clients#clients .ml-partner44 .ml-partner44-logo > img {position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;object-fit:contain!important;object-position:center!important;opacity:1!important;visibility:visible!important;transform:none!important;filter:none!important;transition:none!important;}
body #clients#clients .ml-partner44 .ml-partner44-logo > img.ml-partner44-hover {opacity:0!important;visibility:hidden!important;object-fit:cover!important;}
body #clients#clients .ml-partner44 .ml-partner44-logo > img:not(.ml-partner44-hover) {width:160px!important;height:120px!important;max-height:none!important;margin:auto!important;}
body #clients#clients .ml-partner44-logo > span {display:flex;align-items:center;justify-content:center;height:100%;font-size:18px;line-height:1.3;}
body #clients#clients .ml-partner44 > a:focus-visible {outline:2px solid #0089b8;outline-offset:-3px;border-radius:8px;}
@media (hover:hover) and (pointer:fine) {
body #clients#clients .ml-partner44 > a:hover .ml-partner44-swap > img:not(.ml-partner44-hover) {opacity:0!important;visibility:hidden!important;}
body #clients#clients .ml-partner44 > a:hover .ml-partner44-swap > img.ml-partner44-hover {opacity:1!important;visibility:visible!important;}
}
body #clients#clients .ml-partner44 > a:focus-visible .ml-partner44-swap > img:not(.ml-partner44-hover) {opacity:0!important;visibility:hidden!important;}
body #clients#clients .ml-partner44 > a:focus-visible .ml-partner44-swap > img.ml-partner44-hover {opacity:1!important;visibility:visible!important;}
@media(max-width:576px){body #clients#clients .ml-partner44 .ml-partner44-logo > img:not(.ml-partner44-hover){height:86px!important;width:115px!important;}}

/* local/templates/moleculab/components/bitrix/menu/mobil/template.php */
#mobile-catalog .ml-mobile-all-items .catalog-mobile__link {font-weight:600;}
#mobile-catalog .catalog-mobile__title:focus-visible,
#mobile-catalog .catalog-mobile__item[data-catalog-category]:focus-visible {outline:2px solid #168ca7;outline-offset:2px;}

/* include/menumobile.php */
.visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    @media (max-width: 767px) {
        #mobile-pages-menu.ml-mobile-pages {
            --ml-blue: #00a0db;
            --ml-green: #77c149;
            --ml-navy: #17446c;
            --ml-text: #545454;
            --ml-muted: #6f8290;
            --ml-line: #dce9ee;
            --ml-soft-blue: #eef9fd;
            --ml-soft-green: #f3faef;
            background: #f7fcf5;
            color: var(--ml-text);
            z-index: 120;
        }

        #mobile-pages-menu .ml-mobile-pages__header {
            min-height: 82px;
            padding: 12px 18px;
            gap: 12px;
            border-bottom: 1px solid rgba(0, 160, 219, 0.14);
            background:
                radial-gradient(circle at 82% 20%, rgba(119, 193, 73, 0.18), transparent 38%),
                linear-gradient(135deg, #effaff 0%, #f6fff1 100%);
        }

        #mobile-pages-menu .ml-mobile-pages__logo {
            display: flex;
            flex: 0 0 auto;
            align-items: center;
        }

        #mobile-pages-menu .ml-mobile-pages__logo img {
            display: block;
            width: 142px;
            height: auto;
        }

        #mobile-pages-menu .ml-mobile-pages__header-text {
            display: none;
        }

        #mobile-pages-menu .ml-mobile-pages__close {
            display: flex;
            flex: 0 0 44px;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            margin-left: auto;
            padding: 0;
            border: 1px solid rgba(23, 68, 108, 0.12);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            color: var(--ml-navy);
            cursor: pointer;
        }

        #mobile-pages-menu .ml-mobile-pages__body {
            display: flex;
            flex-direction: column;
            gap: 14px;
            max-height: calc(100dvh - 82px - 68px);
            padding: 16px 16px 28px;
            background:
                radial-gradient(circle at 100% 42%, rgba(119, 193, 73, 0.09), transparent 31%),
                #f7fcf5;
            overscroll-behavior: contain;
            scrollbar-width: none;
        }

        #mobile-pages-menu .ml-mobile-pages__body::-webkit-scrollbar {
            display: none;
        }

        #mobile-pages-menu .ml-mobile-pages__search {
            position: relative;
            flex: 0 0 auto;
        }

        #mobile-pages-menu .ml-mobile-pages__search input {
            width: 100%;
            height: 50px;
            padding: 0 52px 0 18px;
            border: 1px solid var(--ml-line);
            border-radius: 16px;
            outline: none;
            background: #fff;
            color: var(--ml-text);
            font: inherit;
            font-size: 16px;
            box-shadow: 0 8px 24px rgba(49, 97, 117, 0.06);
        }

        #mobile-pages-menu .ml-mobile-pages__search input:focus {
            border-color: var(--ml-blue);
            box-shadow: 0 0 0 3px rgba(0, 160, 219, 0.1);
        }

        #mobile-pages-menu .ml-mobile-pages__search button {
            position: absolute;
            top: 5px;
            right: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 0;
            border-radius: 13px;
            background: var(--ml-soft-blue);
            color: var(--ml-blue);
        }

        #mobile-pages-menu .ml-mobile-pages__catalog {
            display: grid;
            grid-template-columns: 46px minmax(0, 1fr) 24px;
            align-items: center;
            gap: 12px;
            min-height: 78px;
            padding: 14px;
            border-radius: 20px;
            background: linear-gradient(125deg, var(--ml-blue) 0%, #32b7b8 55%, #75c95e 100%);
            color: #fff;
            box-shadow: 0 14px 30px rgba(0, 160, 219, 0.18);
        }

        #mobile-pages-menu .ml-mobile-pages__catalog-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.17);
        }

        #mobile-pages-menu .ml-mobile-pages__catalog strong,
        #mobile-pages-menu .ml-mobile-pages__catalog small {
            display: block;
            color: #fff;
        }

        #mobile-pages-menu .ml-mobile-pages__catalog strong {
            margin-bottom: 3px;
            font-size: 17px;
            line-height: 1.2;
        }

        #mobile-pages-menu .ml-mobile-pages__catalog small {
            opacity: 0.88;
            font-size: 11px;
            line-height: 1.35;
        }

        #mobile-pages-menu .ml-mobile-pages__arrow {
            justify-self: end;
        }

        #mobile-pages-menu .ml-mobile-pages__quick {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
        }

        #mobile-pages-menu .ml-mobile-pages__quick > a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 78px;
            gap: 7px;
            padding: 9px 5px;
            border: 1px solid var(--ml-line);
            border-radius: 17px;
            background: #fff;
            color: var(--ml-navy);
            font-size: 12px;
            font-weight: 600;
            line-height: 1.2;
            text-align: center;
        }

        #mobile-pages-menu .ml-mobile-pages__quick-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 12px;
            background: var(--ml-soft-green);
            color: var(--ml-green);
        }

        #mobile-pages-menu .ml-mobile-pages__navigation {
            padding-top: 4px;
        }

        #mobile-pages-menu .ml-mobile-pages__navigation h2 {
            margin: 0 0 10px;
            color: var(--ml-navy);
            font-size: 13px;
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }

        #mobile-pages-menu .ml-mobile-pages__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        #mobile-pages-menu .ml-mobile-pages__grid > a {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 76px;
            padding: 13px 13px 13px 17px;
            overflow: hidden;
            border: 1px solid var(--ml-line);
            border-radius: 17px;
            background: rgba(255, 255, 255, 0.92);
        }

        #mobile-pages-menu .ml-mobile-pages__grid > a::before {
            content: "";
            position: absolute;
            top: 15px;
            bottom: 15px;
            left: 0;
            width: 4px;
            border-radius: 0 4px 4px 0;
            background: linear-gradient(var(--ml-blue), var(--ml-green));
        }

        #mobile-pages-menu .ml-mobile-pages__grid strong {
            color: var(--ml-navy);
            font-size: 14px;
            line-height: 1.25;
        }

        #mobile-pages-menu .ml-mobile-pages__grid span {
            margin-top: 4px;
            color: var(--ml-muted);
            font-size: 10px;
            line-height: 1.3;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers {
            overflow: hidden;
            border: 1px solid var(--ml-line);
            border-radius: 19px;
            background: #fff;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 15px 16px;
            color: var(--ml-navy);
            cursor: pointer;
            list-style: none;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary::-webkit-details-marker {
            display: none;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary strong,
        #mobile-pages-menu .ml-mobile-pages__buyers summary small {
            display: block;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary strong {
            font-size: 15px;
            line-height: 1.25;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary small {
            margin-top: 3px;
            color: var(--ml-muted);
            font-size: 11px;
            font-weight: 400;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers summary svg {
            flex: 0 0 auto;
            color: var(--ml-blue);
            transition: transform 0.2s ease;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers[open] summary svg {
            transform: rotate(180deg);
        }

        #mobile-pages-menu .ml-mobile-pages__buyers-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            padding: 0 12px 12px;
            border-top: 1px solid var(--ml-line);
        }

        #mobile-pages-menu .ml-mobile-pages__buyers-list a {
            padding: 12px 8px;
            border-bottom: 1px solid #edf3f5;
            color: var(--ml-text);
            font-size: 12px;
            line-height: 1.35;
        }

        #mobile-pages-menu .ml-mobile-pages__buyers-list a:nth-last-child(-n + 2) {
            border-bottom: 0;
        }

        #mobile-pages-menu .ml-mobile-pages__contacts {
            display: grid;
            gap: 6px;
            padding: 16px;
            border-radius: 20px;
            background: linear-gradient(135deg, #edf9ff, #f3faef);
            color: var(--ml-navy);
        }

        #mobile-pages-menu .ml-mobile-pages__contacts div {
            margin-bottom: 5px;
        }

        #mobile-pages-menu .ml-mobile-pages__contacts span,
        #mobile-pages-menu .ml-mobile-pages__contacts strong {
            display: block;
        }

        #mobile-pages-menu .ml-mobile-pages__contacts span {
            margin-bottom: 3px;
            color: var(--ml-muted);
            font-size: 11px;
        }

        #mobile-pages-menu .ml-mobile-pages__contacts strong {
            font-size: 15px;
        }

        #mobile-pages-menu .ml-mobile-pages__contacts a {
            width: fit-content;
            color: var(--ml-blue);
            font-size: 14px;
            font-weight: 600;
        }

        #mobile-pages-menu a:focus-visible,
        #mobile-pages-menu button:focus-visible,
        #mobile-pages-menu summary:focus-visible,
        #mobile-pages-menu input:focus-visible {
            outline: 2px solid var(--ml-blue);
            outline-offset: 2px;
        }

        #mobile-pages-menu a,
        #mobile-pages-menu button,
        #mobile-pages-menu summary {
            -webkit-tap-highlight-color: transparent;
        }
    }

    @media (max-width: 360px) {
        #mobile-pages-menu .ml-mobile-pages__logo img {
            width: 130px;
        }

        #mobile-pages-menu .ml-mobile-pages__body {
            padding-right: 12px;
            padding-left: 12px;
        }

        #mobile-pages-menu .ml-mobile-pages__catalog {
            grid-template-columns: 42px minmax(0, 1fr) 20px;
            gap: 10px;
            padding: 12px;
        }

        #mobile-pages-menu .ml-mobile-pages__catalog-icon {
            width: 42px;
            height: 42px;
        }

        #mobile-pages-menu .ml-mobile-pages__grid > a {
            padding-right: 9px;
            padding-left: 14px;
        }
    }

/* Native controls retain the existing classes, handlers and layout. */
#mobile-catalog .ml-catalog-entry {margin:0;padding:0;list-style:none;}
#mobile-catalog button.catalog-mobile__item,
#mobile-catalog button.catalog-mobile__title {
  appearance:none; font-family:inherit; text-align:left;
  border-top:0; border-left:0; border-right:0; border-radius:0;
}
#mobile-catalog button.catalog-mobile__item {background:transparent;}


/* Catalog: selector and SEO preview */
.ml-selector-link{box-sizing:border-box;display:flex;align-items:center;gap:22px;width:100%;min-width:0;margin:18px 0 22px;padding:22px 24px;border:1px solid #c7e7ee;border-radius:18px;background:linear-gradient(110deg,#f7fdff,#ffffff 70%,#f6fcf1);color:#214d5b;font-family:inherit;line-height:1.45}
.ml-selector-link *{box-sizing:border-box}
.ml-selector-link__icon{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;border-radius:16px;background:#eafaff;color:#00a6cf}
.ml-selector-link__icon svg{display:block;width:42px;height:42px}
.ml-selector-link__copy{flex:1 1 320px;min-width:0}
.ml-selector-link .ml-selector-link__title{margin:0 0 5px;padding:0;font-size:22px;font-weight:700;line-height:1.3;color:#214d5b;overflow-wrap:anywhere}
.ml-selector-link .ml-selector-link__text{margin:0;padding:0;font-size:15px;font-weight:400;color:#607d87;line-height:1.5;overflow-wrap:anywhere}
.ml-selector-link .ml-selector-link__button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:12px;min-height:48px;max-width:100%;padding:13px 24px;border:0;border-radius:28px;background:linear-gradient(100deg,#00a6cf,#72c778);color:#fff;text-decoration:none;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;text-align:center}
.ml-selector-link .ml-selector-link__button:hover{background:linear-gradient(100deg,#008faf,#60b768);color:#fff;text-decoration:none}
.ml-selector-link .ml-selector-link__button:focus-visible{outline:3px solid #007e9f;outline-offset:3px}
.ml-selector-link__arrow{flex:0 0 auto;font-size:24px;line-height:1}
@media(max-width:1100px){.ml-selector-link{flex-wrap:wrap;gap:14px;padding:20px}.ml-selector-link__copy{flex-basis:calc(100% - 82px)}.ml-selector-link .ml-selector-link__button{margin-left:78px}}
@media(max-width:600px){.ml-selector-link{padding:18px 16px;margin:14px 0 18px;gap:12px;border-radius:16px}.ml-selector-link__icon{flex-basis:44px;width:44px;height:44px;border-radius:12px}.ml-selector-link__icon svg{width:30px;height:30px}.ml-selector-link__copy{flex-basis:calc(100% - 56px)}.ml-selector-link .ml-selector-link__title{font-size:18px}.ml-selector-link .ml-selector-link__text{font-size:14px}.ml-selector-link .ml-selector-link__button{width:100%;margin-left:0;padding:13px 16px}}

body .ml-catalog-v2 .ml-catalog-seo .ml-centrifuge-guide > p {
              display:block!important; -webkit-line-clamp:unset!important;
              max-height:none!important; height:auto!important; overflow:visible!important;
              white-space:normal!important; margin:0 0 12px!important;
            }
            body .ml-catalog-v2 .ml-catalog-seo .ml-centrifuge-guide > ul {
              display:block!important; margin:0 0 12px; padding-left:22px; list-style:disc;
            }
            body .ml-catalog-v2 .ml-catalog-seo .ml-centrifuge-guide > ul > li {
              display:list-item!important; margin:0 0 8px; line-height:1.6;
            }
            
body .ml-catalog-v2 .ml-catalog-seo .ml-seo-preview > p {
              display:block!important; -webkit-line-clamp:unset!important;
              max-height:none!important;
              height:auto!important; overflow:visible!important;
              white-space:normal!important;
            }
            