  :root {
    /* контейнерные переменные (для карусели на всю ширину) */
    --wrap: 1100px;
    --gutter: 12px;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
  }

  html,
  body {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    overflow-x: clip;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
    /* Фиксируем ширину layout при появлении/исчезновении вертикального скролла. */
    scrollbar-gutter: stable;
  }

  @supports not (scrollbar-gutter: stable) {
    html {
      overflow-y: scroll;
    }
  }

  .b2b-context-bar {
    background: #3e9448;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(31, 76, 39, 0.22);
    font-size: 14px;
  }

  .b2b-context-bar__inner {
    width: min(100% - 28px, 1180px);
    min-height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
  }

  .b2b-context-bar__company {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
  }

  .b2b-context-bar__company strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .b2b-context-bar__label,
  .b2b-context-bar__form label {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 600;
  }

  .b2b-context-bar__mode {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
    text-transform: uppercase;
  }

  .b2b-context-bar__company-form,
  .b2b-context-bar__form {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .b2b-context-bar__company-form {
    position: relative;
    flex: 1 1 auto;
    min-width: min(100%, 260px);
  }

  .b2b-context-bar__form {
    min-width: min(100%, 520px);
  }

  .b2b-context-bar__company-form input[type="search"],
  .b2b-context-bar__company-form select,
  .b2b-context-bar__form input[type="search"],
  .b2b-context-bar__form select {
    width: 100%;
    min-height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 5px;
    background: rgba(31, 76, 39, 0.28);
    color: #fff;
    padding: 4px 10px;
    font-weight: 600;
    outline: none;
  }

  .b2b-context-bar__company-form input[type="search"]::placeholder,
  .b2b-context-bar__form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.68);
  }

  .b2b-context-bar__company-form input[type="search"]:focus,
  .b2b-context-bar__company-form select:focus,
  .b2b-context-bar__form input[type="search"]:focus,
  .b2b-context-bar__form select:focus {
    border-color: #67b22e;
    background: rgba(31, 76, 39, 0.34);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  }

  .b2b-context-bar__company-form select option,
  .b2b-context-bar__form select option {
    background: #fff;
    color: #111827;
  }

  .b2b-context-bar__company-results {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid rgba(31, 76, 39, 0.28);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
  }

  .b2b-context-bar__company-result {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #111827;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 8px 10px;
    text-align: left;
  }

  .b2b-context-bar__company-result:hover,
  .b2b-context-bar__company-result:focus {
    background: #eef7ef;
    outline: none;
  }

  @media (max-width: 900px) {
    .b2b-context-bar__inner {
      align-items: stretch;
      flex-direction: column;
      gap: 8px;
      padding: 10px 0;
    }

    .b2b-context-bar__company {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      width: 100%;
      gap: 6px 10px;
    }

    .b2b-context-bar__form {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      width: 100%;
      min-width: 0;
      gap: 6px 10px;
    }

    .b2b-context-bar__company-form {
      min-width: 0;
      width: 100%;
    }

    .b2b-context-bar__company-form select,
    .b2b-context-bar__form select {
      min-width: 0;
      max-width: 100%;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  @media (max-width: 480px) {
    .b2b-context-bar__inner {
      width: min(100% - 20px, 1180px);
    }

    .b2b-context-bar__company,
    .b2b-context-bar__form {
      grid-template-columns: 1fr;
    }

    .b2b-context-bar__label,
    .b2b-context-bar__form label {
      font-size: 13px;
      line-height: 1.2;
    }
  }

  /* адаптив для мобильных */
  @media (max-width: 992px) {
    html {
      scroll-padding-top: 70px;
      /* отступ поменьше на мобильных */
    }
  }

  body {
    font-family: 'Manrope', sans-serif;
    background: var(--primary-light);
    color: var(--primary-dark);
    overflow-x: clip;
    line-height: 1.6;
  }

  /* Добавляем отступ под фиксированное меню для внутренних страниц */
  body.page-inner {
    padding-top: 100px;
    /* подгони под высоту твоего .main-navbar */
  }

@media (max-width: 760px) {
    body.page-b2b-orders,
    body.page-b2b-commercial-proposals,
    body.page-b2b-profile,
    body.page-b2b-specifications {
      padding-top: 0;
    }

    body.page-b2b-orders .main-navbar,
    body.page-b2b-commercial-proposals .main-navbar,
    body.page-b2b-profile .main-navbar,
    body.page-b2b-specifications .main-navbar,
    body.page-b2b-orders .main-navbar.visible,
    body.page-b2b-commercial-proposals .main-navbar.visible,
    body.page-b2b-profile .main-navbar.visible,
    body.page-b2b-specifications .main-navbar.visible {
      position: static;
      top: auto;
      transform: none;
    }
  }



  /* глобальное сужение после героя */
  .page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 12px;
  }

  .home-showcase-list {
    display: grid;
    gap: clamp(18px, 3vw, 32px);
    padding-block: clamp(20px, 3vw, 36px) clamp(12px, 2.5vw, 28px);
    width: min(calc(100vw - 72px), 1748px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .home-showcase {
    min-width: 0;
  }

  .home-showcase__head {
    margin-bottom: clamp(10px, 1.6vw, 16px);
  }

  .home-showcase__head h2,
  .home-feed-tabs__head h2 {
    margin: 0;
    color: #2d3343;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
  }

  .home-showcase__rail {
    --home-showcase-gap: clamp(12px, 1.2vw, 16px);
    display: flex;
    align-items: stretch;
    gap: var(--home-showcase-gap);
    min-height: calc(var(--home-showcase-block-height, 420px) + 14px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
  }

  .home-showcase-card {
    flex: 0 0 min(var(--home-showcase-banner-width, 680px), calc(100vw - 72px));
    scroll-snap-align: start;
    height: var(--home-showcase-block-height, 420px);
    min-height: 180px;
    min-width: 0;
  }

  .home-showcase-card--lead {
    flex-basis: min(var(--home-showcase-banner-width, 680px), calc(100vw - 72px));
    height: var(--home-showcase-block-height, 420px);
  }

  .home-showcase--auto-width .home-showcase-card,
  .home-showcase--auto-width .home-showcase-card--lead {
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
  }

  .home-showcase--auto-width .home-showcase-card__link {
    width: auto;
    min-width: 0;
  }

  .home-showcase--auto-width .home-showcase-card__media,
  .home-showcase--auto-width .home-showcase-card__media img {
    width: auto;
    max-width: none;
  }

  .home-showcase--auto-width .home-showcase-card__media img {
    object-fit: contain;
  }

  .home-showcase-card__link {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(80, 90, 110, .14);
    background: #fff;
    color: #2d3343;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(31, 42, 58, .05);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  button.home-showcase-card__link {
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .home-showcase-card__link--static {
    cursor: default;
  }

  .home-showcase--accents .home-showcase-card__link,
  .home-showcase--profi .home-showcase-card__link {
    grid-template-rows: minmax(0, 1fr);
  }

  .home-showcase-card__media,
  .home-showcase-card__media img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .home-showcase-card__media {
    min-height: 0;
    overflow: hidden;
    background: #f7f8f7;
  }

  .home-showcase-card__media img {
    object-fit: cover;
    transform: none;
    transition: transform .45s ease;
  }

  .home-showcase-card__link:hover .home-showcase-card__media img,
  .home-showcase-card__link:focus-visible .home-showcase-card__media img {
    transform: none;
  }

  .home-showcase-card__link--static:hover .home-showcase-card__media img {
    transform: none;
  }

  .home-showcase-card__link:hover,
  .home-showcase-card__link:focus-visible {
    border-color: rgba(45, 51, 67, .24);
    box-shadow: 0 10px 24px rgba(31, 42, 58, .08);
    transform: translateY(-1px);
  }

  .home-showcase-card__link--static:hover {
    border-color: rgba(80, 90, 110, .14);
    box-shadow: 0 4px 16px rgba(31, 42, 58, .05);
    transform: none;
  }

  .home-showcase-card__text {
    display: grid;
    gap: 4px;
    height: 86px;
    padding: 12px;
    background: #fff;
    overflow: hidden;
  }

  .home-showcase--accents .home-showcase-card__text,
  .home-showcase--profi .home-showcase-card__text {
    display: none;
  }

  .home-showcase-card__text strong {
    display: -webkit-box;
    max-width: 22ch;
    overflow: hidden;
    color: #2d3343;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-showcase-card__text small {
    display: -webkit-box;
    max-width: 30ch;
    overflow: hidden;
    color: #686f7d;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  @media (min-width: 768px) and (max-width: 991.98px) {
    .home-showcase-list {
      width: 100%;
      margin-left: 0;
      transform: none;
    }

    .home-showcase__rail {
      width: 100%;
      margin-inline: 0;
      padding-inline: 2px;
      scroll-padding-inline: 2px;
    }

    .home-showcase-card,
    .home-showcase-card--lead {
      flex: 0 0 min(var(--home-showcase-banner-width, 680px), 100%);
      width: min(var(--home-showcase-banner-width, 680px), 100%);
    }

    .home-showcase--auto-width .home-showcase-card,
    .home-showcase--auto-width .home-showcase-card--lead {
      flex: 0 0 100%;
      width: 100%;
      max-width: 100%;
    }

    .home-showcase--auto-width .home-showcase-card__link,
    .home-showcase--auto-width .home-showcase-card__media,
    .home-showcase--auto-width .home-showcase-card__media img {
      width: 100%;
      max-width: 100%;
    }

    .home-showcase--auto-width .home-showcase-card__media img {
      height: 100%;
      object-position: center center;
    }

    .home-showcase-card__media img {
      object-fit: contain;
      object-position: center center;
    }
  }

  .home-showcase-modal__content {
    max-width: 900px;
    color: #2d3343;
    font-size: 17px;
    line-height: 1.65;
  }

  .home-showcase-modal__content > :first-child {
    margin-top: 0;
  }

  .home-showcase-modal__content > :last-child {
    margin-bottom: 0;
  }

  .home-showcase-modal__content a {
    color: #b7192b;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .home-showcase-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #b7192b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  .home-showcase-modal__cta:hover,
  .home-showcase-modal__cta:focus-visible {
    color: #fff;
    background: #951525;
    text-decoration: none;
  }

  .home-feed-tabs {
    padding-block: clamp(22px, 4vw, 48px);
    width: min(calc(100vw - 72px), 1748px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .home-feed-tabs__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: clamp(14px, 2vw, 22px);
  }

  .home-feed-tabs__tablist {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(80, 90, 110, .16);
    border-radius: 8px;
    background: #f5f7f9;
  }

  .home-feed-tabs__tab {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    padding: 7px 14px;
    background: transparent;
    color: #586171;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .home-feed-tabs__tab.is-active {
    background: #fff;
    color: #2d3343;
    box-shadow: 0 2px 10px rgba(31, 42, 58, .08);
  }

  .home-feed-tabs__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 284px);
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  .home-feed-card {
    scroll-snap-align: start;
    min-width: 0;
  }

  .home-feed-card__link {
    display: grid;
    grid-template-rows: 150px minmax(154px, auto);
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(80, 90, 110, .14);
    border-radius: 8px;
    background: #fff;
    color: #2d3343;
    padding: 0;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .home-feed-card__link:hover,
  .home-feed-card__link:focus-visible {
    border-color: rgba(45, 51, 67, .24);
    box-shadow: 0 12px 28px rgba(31, 42, 58, .09);
    transform: translateY(-2px);
  }

  .home-feed-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 18px;
    border-bottom: 1px solid rgba(80, 90, 110, .10);
    background: #fff;
  }

  .home-feed-card__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
  }

  .home-feed-card__media--empty {
    background:
      linear-gradient(135deg, rgba(79, 86, 101, .10), rgba(62, 148, 72, .10)),
      #f2f4f6;
  }

  .home-feed-card__body {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 14px;
  }

  .home-feed-card__label,
  .home-feed-card__body time {
    color: #686f7d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
  }

  .home-feed-card__label {
    justify-self: start;
    padding: 4px 7px;
    border-radius: 6px;
    background: #edf6ee;
    color: #2f7a3a;
  }

  .home-feed-card__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #2d3343;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-feed-card__body small {
    display: -webkit-box;
    overflow: hidden;
    color: #686f7d;
    font-size: 13px;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-feed-tabs__empty {
    margin: 0;
    color: #686f7d;
  }

  @media (min-width: 768px) and (max-width: 991.98px) {
    .home-feed-tabs {
      width: 100%;
      margin-left: 0;
      transform: none;
    }

    .home-feed-tabs__rail {
      scroll-padding-inline: 0;
    }
  }

  @media (max-width: 767.98px) {
    .page-wrap {
      overflow-x: hidden;
    }

    .home-showcase-list {
      width: 100%;
      margin-left: 0;
      transform: none;
      gap: 24px;
      overflow: hidden;
      padding-block: 18px 12px;
    }

    .home-showcase--mobile-hidden {
      display: none;
    }

    .home-showcase__head {
      margin-bottom: 12px;
    }

    .home-showcase__head h2 {
      font-size: 28px;
      line-height: 1.12;
    }

    .home-showcase__rail {
      width: 100%;
      margin-inline: 0;
      gap: 10px;
      align-items: stretch;
      min-height: calc(var(--home-showcase-mobile-block-height, 260px) + 12px);
      overflow-x: auto;
      padding: 2px 0 10px;
      scroll-padding-inline: 0;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .home-showcase__rail::-webkit-scrollbar {
      display: none;
    }

    .home-showcase-card {
      flex: 0 0 min(var(--home-showcase-banner-width, 100%), 100%);
      width: min(var(--home-showcase-banner-width, 100%), 100%);
      height: var(--home-showcase-mobile-block-height, 260px);
      min-height: 0;
      aspect-ratio: auto;
      scroll-snap-align: start;
    }

    .home-showcase-card--lead {
      flex-basis: min(var(--home-showcase-banner-width, 100%), 100%);
      width: min(var(--home-showcase-banner-width, 100%), 100%);
      height: var(--home-showcase-mobile-block-height, 260px);
      aspect-ratio: auto;
    }

    .home-showcase--auto-width .home-showcase-card,
    .home-showcase--auto-width .home-showcase-card--lead {
      flex: 0 0 100%;
      width: 100%;
      max-width: 100%;
    }

    .home-showcase--auto-width .home-showcase-card__link,
    .home-showcase--auto-width .home-showcase-card__media,
    .home-showcase--auto-width .home-showcase-card__media img {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .home-showcase-card__link {
      border-radius: 8px;
      box-shadow: 0 4px 14px rgba(31, 42, 58, .06);
      transform: none;
    }

    .home-showcase-card__media {
      background: #f7f8f7;
    }

    .home-showcase-card__media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center center;
      transform: none;
    }

    .home-showcase-card__link:hover,
    .home-showcase-card__link:focus-visible {
      transform: none;
    }

    .home-showcase-card__link:hover .home-showcase-card__media img,
    .home-showcase-card__link:focus-visible .home-showcase-card__media img {
      transform: none;
    }

    .home-feed-tabs {
      display: none;
    }
  }

  /* ---------- NAV ---------- */
  .main-navbar {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #fbfbfb;
    border-bottom: none;
    padding: 1rem 0;
    transition: all .5s cubic-bezier(.25, .46, .45, .94);
    box-shadow: none;
  }

  .main-navbar.visible {
    top: 0
  }

  .main-navbar .navbar-brand img {
    height: 35px;
    transition: all .3s
  }

  .main-navbar .navbar-brand .main-navbar__logo--hogart {
    height: 52px;
    width: auto;
    display: block;
  }

  .stock-region-switcher {
    flex: 0 1 160px;
    margin-left: 14px;
    margin-right: 10px;
    min-width: 112px;
    max-width: 180px;
  }

  .stock-region-switcher__select {
    min-height: 34px;
    border-color: rgba(0, 0, 0, .14);
    border-radius: 6px;
    color: #222;
    font-size: .875rem;
    font-weight: 500;
    text-overflow: ellipsis;
  }

  @media (max-width: 575.98px) {
    .main-navbar .container {
      gap: 6px;
    }

    .stock-region-switcher {
      flex-basis: 116px;
      min-width: 96px;
      max-width: 124px;
      margin-left: 6px;
      margin-right: 4px;
    }

    .stock-region-switcher__select {
      min-height: 32px;
      padding-left: 8px;
      padding-right: 26px;
      font-size: .75rem;
    }
  }

  .top-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: transparent;
    padding: 2rem 0;
    transition: all .5s;
  }

  /* направляющие линии топ-навигации */
  .top-navbar {
    --nav-stroke: 1px;
    --nav-alpha: .9;
    --nav-gap: clamp(24px, 8vw, 140px);
  }

  .top-navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-stroke);
    background: rgba(255, 255, 255, var(--nav-alpha));
    pointer-events: none;
  }

  .top-navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: var(--nav-gap);
    right: var(--nav-gap);
    height: var(--nav-stroke);
    background: rgba(255, 255, 255, var(--nav-alpha));
    pointer-events: none;
    ;
    transform: scaleX(0);
    transform-origin: center;
  }

  .top-navbar.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%)
  }

  .top-navbar.hidden::before,
  .top-navbar.hidden::after {
    opacity: 0
  }

  .nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    margin: 0 .5rem;
    padding: .5rem .8rem !important;
    border-radius: 25px;
    transition: .3s;
    position: relative;
  }

  .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(104, 111, 125, .1);
    transform: translateY(-2px)
  }

  .top-navbar .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin: 0 1rem !important;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Arial', Arial, sans-serif;
  }



  .top-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .15)
  }

  .top-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1)
  }

  .navbar-toggler {
    border: none;
    padding: .25rem .5rem
  }

  .navbar-toggler:focus {
    box-shadow: none
  }

  /* ---------- HERO ---------- */

  .hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
    /* чтобы контент дышал */
    min-height: 70vh;
  }

  @media (max-width: 1199.98px) {
    .hero-section {
      overflow: visible;
    }
  }

  @media (min-width: 1200px) {
    /* The account dropdown belongs to the hero navbar, not the clipped media.
       A higher dropdown z-index cannot escape the hero's overflow boundary. */
    .hero-section--with-balloons:has(.top-navbar .dropdown-menu.show) {
      overflow: visible;
      z-index: 1002;
    }

    .hero-section--with-balloons > .hero-bg-video {
      overflow: hidden;
      border-radius: inherit;
    }
  }




  /* фон и зум при входе */
  .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: none;
    transform: scale(1.45);
    transform-origin: center;
    background-attachment: scroll;
    will-change: transform;
    animation: heroZoom 4.25s cubic-bezier(.16, 1, .3, 1) .15s forwards;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 30% 50%, rgba(104, 111, 125, .2) 0%, transparent 50%);
  }

  .hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-bg-video video {
    width: 100%;
    height: auto;
    /* КЛЮЧЕВОЕ */
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  /* ===== Заголовок каталога ===== */
  .catalog-head {
    margin-bottom: clamp(16px, 4vw, 40px);
  }

  .catalog-title {
    margin: 0 0 clamp(12px, 2.2vw, 20px);
    line-height: 1.05;
    color: #686f7d;
    font-size: clamp(36px, 7.5vw, 80px);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .catalog-title .accent {
    position: relative;
    display: inline-block;
    z-index: 1
  }

  .catalog-title .accent::before {
    content: "";
    position: absolute;
    left: -.2rem;
    right: -.0rem;
    bottom: -.18em;
    height: .5em;
    background: #d1d4da;
    opacity: .95;
    z-index: -1;
  }

  .catalog-subtitle {
    margin: 0;
    max-width: 900px;
    color: var(--primary-gray);
    font-size: clamp(16px, 2.2vw, 20px);
  }

  /* ---------- CATALOG GRID ---------- */

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(16px, 2.2vw, 28px);
    margin: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .catalog-grid>[class*="col-"] {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    padding: 0;
  }

  .catalog-grid a {
    display: block
  }

  #catalog a:hover,
  #catalog a:focus-visible {
    color: #000;
    text-decoration: none;
  }

  .catalog-grid .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 1.4vw, 20px);
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    height: 100%;
    text-align: center;
    padding: clamp(6px, 1vw, 12px)
  }

  .catalog-grid .category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1vw, 14px);
    width: 100%
  }

  .catalog-grid .category-title {
    color: var(--primary-gray);
    font-weight: 400;
    font-size: clamp(18px, 1.6vw, 20px);
    line-height: 1.25;
    margin: 0;
    min-height: calc(1.25em * 3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 clamp(4px, 0.8vw, 10px);
  }

  .catalog-grid .category-image {
    width: 100%;
    height: clamp(160px, 18vw, 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    padding: clamp(10px, 1.8vw, 18px);
  }

  .catalog-grid .category-image img {
    width: 100%;
    height: 100%;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    transition: none !important;
    transform: none !important;
  }

  .catalog-grid .category-underline {
    width: 100%;
    height: 8px;
    background: #cfd4da;
    display: block;
    border-radius: 999px;
    margin-top: auto
  }

  /* ---------- Catalog tabs ---------- */
  .catalog-scroll-frame {
    position: relative;
    min-width: 0;
  }

  .catalog-sections-tabs {
    --catalog-tabs-scroll-h: clamp(360px, 52vh, 560px);
    --catalog-tabs-grid-gap: clamp(10px, 1.4vw, 16px);
    --catalog-tabs-card-min-h: clamp(220px, 24vh, 272px);
    --catalog-tabs-right-scroll-h: calc((var(--catalog-tabs-card-min-h) * 2) + var(--catalog-tabs-grid-gap) + 10px);
    display: grid;
    grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
    gap: clamp(16px, 2.2vw, 28px);
    align-items: start;
  }

  .catalog-sections-legacy-mobile {
    display: none;
  }

  .catalog-sections-tabs--desktop {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .catalog-sections-tabs--full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  body.page-catalog-list .catalog-sections-tabs--full-width {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .catalog-sections-tabs--contained {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .catalog-sections-tabs__tablist {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-right: 1px solid #d7dde8;
    padding: 4px 8px 4px 0;
    max-height: var(--catalog-tabs-scroll-h);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(132, 146, 168, 0.75) transparent;
  }

  .catalog-sections-tabs__tablist::-webkit-scrollbar {
    width: 6px;
  }

  .catalog-sections-tabs__tablist::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
  }

  .catalog-sections-tabs__tablist::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(150, 163, 183, 0.72) 0%, rgba(124, 140, 165, 0.82) 100%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background-clip: padding-box;
  }

  .catalog-sections-tabs__tablist:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(138, 153, 176, 0.82) 0%, rgba(113, 130, 158, 0.9) 100%);
  }

  .catalog-scroll-control {
    position: absolute;
    z-index: 8;
    left: 0;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(45, 51, 67, .58);
    box-shadow: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
    transition: color .2s ease, opacity .2s ease;
  }

  .catalog-scroll-control:hover,
  .catalog-scroll-control:focus-visible {
    color: rgba(32, 40, 58, .82);
  }

  .catalog-scroll-control::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }

  .catalog-scroll-control i {
    font-size: 17px;
    line-height: 1;
  }

  .catalog-scroll-control[hidden] {
    display: none !important;
  }

  .catalog-scroll-control--back {
    top: 0;
  }

  .catalog-scroll-control--back::before {
    background: linear-gradient(180deg, rgba(245, 247, 251, .82), rgba(245, 247, 251, 0));
  }

  .catalog-scroll-control--forward {
    bottom: 0;
  }

  .catalog-scroll-control--forward::before {
    background: linear-gradient(0deg, rgba(245, 247, 251, .82), rgba(245, 247, 251, 0));
  }

  .catalog-sections-tabs__tab {
    border: none;
    background: transparent;
    color: #5f6879;
    border-radius: 12px;
    padding: 11px 8px 11px 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: normal;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    transition: transform .2s ease, color .2s ease, text-shadow .2s ease;
    position: relative;
    margin: 0;
    z-index: 1;
  }

  .catalog-sections-tabs__tab-title {
    display: flex;
    align-items: center;
    min-width: 0;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }

  .catalog-sections-tabs__tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(113, 124, 145, .28);
  }

  .catalog-sections-tabs__tab.is-active {
    background: transparent;
    color: #2f3645;
    text-shadow: none;
    font-weight: 600;
    box-shadow: none;
    transform: translateY(-1px);
    z-index: 3;
  }

  .catalog-sections-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    left: 64px;
    bottom: 8px;
    width: calc(50% - 32px);
    min-width: 48px;
    max-width: 140px;
    height: 3px;
    border-radius: 999px;
    background: #a9b3c3;
    pointer-events: none;
  }

  .catalog-sections-tabs__tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .catalog-sections-tabs__tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .catalog-sections-tabs__panels {
    border-top: none;
    padding-top: 0;
    width: 100%;
    min-width: 0;
    contain: layout;
  }

  .catalog-sections-tabs__panel {
    display: none;
    width: 100%;
  }

  .catalog-sections-tabs__panel.is-active {
    display: block;
  }

  .catalog-sections-tabs__panel[hidden] {
    display: none !important;
  }

  .catalog-sections-tabs__empty {
    margin: 0;
    color: #6f7788;
    font-size: 15px;
  }

  .catalog-child-bubbles--tabs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: var(--catalog-tabs-grid-gap);
    width: 100%;
    contain: layout;
    max-height: var(--catalog-tabs-right-scroll-h);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    padding: 2px 8px 2px 0;
    scroll-snap-type: none;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
    scrollbar-color: rgba(132, 146, 168, 0.75) transparent;
    align-content: start;
  }

  .catalog-child-bubbles--tabs::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .catalog-child-bubbles--tabs::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
  }

  .catalog-child-bubbles--tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(150, 163, 183, 0.72) 0%, rgba(124, 140, 165, 0.82) 100%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background-clip: padding-box;
  }

  .catalog-child-bubbles--tabs:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(138, 153, 176, 0.82) 0%, rgba(113, 130, 158, 0.9) 100%);
  }

  .catalog-child-bubbles--tabs .catalog-child-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-radius: 14px;
    text-align: center;
    color: #1c202c;
    min-height: var(--catalog-tabs-card-min-h);
    transition: transform .2s ease, background-color .2s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .catalog-child-bubbles--tabs .catalog-child-bubble__art {
    width: 100%;
    height: clamp(108px, 11vw, 148px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .catalog-child-bubbles--tabs .catalog-child-bubble__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .catalog-child-bubbles--tabs .catalog-child-bubble__title {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 600;
    line-height: 1.25;
    color: #2f3645;
  }

  .catalog-child-bubbles--tabs .catalog-child-bubble__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fb;
    color: #9aa3b7;
    font-size: 42px;
    font-weight: 600;
    text-transform: uppercase;
  }

  /* ---------- Catalog series ---------- */
  .catalog-series {
    margin-bottom: clamp(8px, 2.4vw, 18px);
    border-radius: 20px
  }

  .catalog-series__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2.5vw, 20px);
    flex-wrap: wrap;
    cursor: pointer;
    padding: clamp(6px, 1.2vw, 10px);
    border-radius: 20px;
    background: #f7f9fc;
    border: 1px solid #e3e8f1;
  }

  .catalog-series__summary::-webkit-details-marker {
    display: none
  }

  .catalog-series__summary::marker {
    display: none
  }

  .catalog-series__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    min-width: 0
  }

  .catalog-series__title {
    margin: 0;
    color: #686f7d;
    font-weight: 600;
    font-size: clamp(18px, 2.4vw, 24px);
  }

  .catalog-series__subtitle {
    margin: 0;
    color: var(--primary-gray);
    font-size: clamp(12px, 1.6vw, 15px);
  }

  .catalog-series__toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #dbe2ee;
    color: #6b7382;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
    flex: 0 0 auto;
    line-height: 0;
    overflow: hidden;
  }

  .catalog-series__toggle svg {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    display: block;
  }

  .catalog-series[open] .catalog-series__toggle {
    transform: rotate(180deg);
  }

  .catalog-series__body {
    margin-top: clamp(6px, 1.2vw, 12px);
  }

  .series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    justify-content: stretch;
    gap: clamp(12px, 1.8vw, 20px);
    margin: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .series-grid>[class*="col-"] {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    padding: 0;
  }

  .series-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    background: #fff;
    border: 1px solid #e4e8ef;
    border-radius: 16px;
    padding: clamp(8px, 1.2vw, 12px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .series-card__image {
    width: 100%;
    height: clamp(90px, 12vw, 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fb;
    border-radius: 12px;
    overflow: hidden;
  }

  .series-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .series-card__placeholder {
    font-size: 28px;
    font-weight: 600;
    color: #9aa3b7;
  }

  .series-card__title {
    text-align: center;
    color: var(--primary-gray);
    font-weight: 600;
    font-size: clamp(13px, 1.3vw, 15px);
  }

  .series-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 35, 52, 0.12);
  }

  .series-card.is-active {
    border-color: #c9d0db;
    box-shadow: 0 0 0 2px rgba(104, 111, 125, 0.18);
  }

  @media (max-width: 1199.98px) {
    .catalog-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
    }

    .series-grid {
      grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr))
    }

    .catalog-sections-tabs {
      --catalog-tabs-scroll-h: none;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: clamp(14px, 2.2vw, 24px);
    }

    .catalog-sections-tabs--desktop {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }

    .catalog-sections-tabs__tablist {
      flex-direction: row;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 0;
      border-right: none;
      border-bottom: 1px solid #d7dde8;
      padding: 0;
      max-height: none;
      overflow: visible;
      scrollbar-width: auto;
      scrollbar-gutter: auto;
      overscroll-behavior: auto;
      scroll-behavior: auto;
    }

    .catalog-sections-tabs__tab {
      width: auto;
      border-radius: 12px 12px 0 0;
      padding: 10px 16px 9px;
      align-items: center;
      white-space: normal;
      margin: 0 4px -1px 0;
    }

    .catalog-sections-tabs__tab.is-active {
      box-shadow: none;
    }

    .catalog-sections-tabs__tab.is-active::after {
      left: 16px;
      bottom: 5px;
      width: 56%;
      min-width: 40px;
      max-width: 120px;
    }

    .catalog-sections-tabs__panels {
      border-top: 1px solid #d7dde8;
      padding-top: 14px;
    }

    .catalog-child-bubbles--tabs {
      max-height: none;
      overflow: visible;
      overscroll-behavior: auto;
      scroll-behavior: auto;
      padding: 0;
    }
  }

  @media (max-width: 991.98px) {
    .catalog-grid .category-image {
      height: clamp(150px, 30vw, 200px)
    }

    .catalog-sections-tabs--desktop {
      display: none;
    }

    .catalog-sections-legacy-mobile {
      display: block;
    }
  }

  @media (min-width: 992px) {
    body.page-catalog-list section.container.py-4 {
      width: min(calc(100vw - 72px), 1748px);
      max-width: 1748px;
      padding-left: 0;
      padding-right: 0;
    }
  }

  @media (max-width: 767.98px) {
    body.page-catalog-list {
      background: #fff !important;
      box-shadow: none !important;
      overflow-x: hidden !important;
    }

    body.page-catalog-list::before,
    body.page-catalog-list::after,
    body.page-catalog-list section.container.py-4::before,
    body.page-catalog-list section.container.py-4::after {
      display: none !important;
      content: none !important;
      box-shadow: none !important;
    }

    body.page-catalog-list section.container.py-4,
    body.page-catalog-list .catalog-page--mobile-actions,
    body.page-catalog-list #catalog-products-grid,
    body.page-catalog-list .catalog-child-bubbles,
    body.page-catalog-list .catalog-menu,
    body.page-catalog-list .catalog-menu__backdrop,
    body.page-catalog-list .catalog-menu__panel,
    body.page-catalog-list .catalog-menu__body,
    body.page-catalog-list .catalog-menu__column,
    body.page-catalog-list .catalog-filters__backdrop,
    body.page-catalog-list .catalog-filters__panel,
    body.page-catalog-list .catalog-hero__preview {
      background: transparent !important;
      box-shadow: none !important;
      filter: none !important;
      backdrop-filter: none !important;
    }

    body.page-catalog-list .catalog-menu__body,
    body.page-catalog-list .catalog-menu__column,
    body.page-catalog-list .catalog-filters__panel,
    body.page-catalog-list .catalog-hero__preview {
      background: #fff !important;
    }

    body.page-catalog-list .catalog-filters__backdrop,
    body.page-catalog-list .catalog-menu__backdrop {
      background: transparent !important;
    }

    .catalog-grid {
      grid-template-columns: 1fr;
      max-width: 360px;
      margin-left: auto;
      margin-right: auto;
    }

    .catalog-grid .category-card {
      gap: 8px;
      padding: 12px 0 14px;
      border-top: 0 !important;
      border-right: 0 !important;
      border-bottom: 1px solid rgba(104, 111, 125, 0.22) !important;
      border-left: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      filter: none !important;
    }

    .catalog-grid .category-box {
      gap: 8px;
    }

    .catalog-grid .category-title {
      order: 2;
      min-height: 0;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.2;
      color: #2f3542;
      padding: 0;
    }

    .catalog-grid .category-image {
      order: 1;
      width: min(100%, 170px);
      height: 96px;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      filter: none !important;
    }

    .catalog-grid .category-image img {
      max-width: 100%;
      max-height: 100%;
      box-shadow: none !important;
      filter: none !important;
    }

    .catalog-grid .category-underline {
      display: none;
    }

    .catalog-sections-tabs__tablist {
      gap: 6px;
      border-bottom: none;
      padding-bottom: 4px;
    }

    .catalog-sections-tabs__tab {
      margin: 0;
      border-radius: 10px;
    }

    .catalog-sections-tabs__tab.is-active::after {
      left: 16px;
      width: 58%;
      bottom: 6px
    }

    .catalog-sections-tabs__panels {
      border-top: none;
      padding-top: 8px;
    }

    .catalog-child-bubbles--tabs {
      grid-auto-flow: row;
      grid-template-columns: 1fr;
      max-width: 340px;
      margin: 0 auto;
      overflow: visible;
      padding: 0;
      scroll-snap-type: none;
    }

    .catalog-child-bubbles--tabs .catalog-child-bubble {
      min-height: 200px;
    }
  }

  @media (max-width: 575.98px) {
    .catalog-grid .category-image {
      height: 96px
    }

    .series-grid {
      grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr))
    }

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

    .catalog-series__toggle {
      align-self: flex-end;
    }
  }

  /* ---------- Series intro ---------- */
  .series-intro {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    gap: clamp(16px, 4vw, 40px);
    align-items: center;
    margin: clamp(16px, 3vw, 24px) 0;
    padding: clamp(16px, 3vw, 28px);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 35, 52, 0.08);
  }

  .series-intro__media {
    width: 100%
  }

  .series-intro__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    background: #f5f7fb;
    padding: clamp(10px, 2vw, 16px);
  }

  .series-intro__placeholder {
    width: 100%;
    min-height: 160px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fb;
    color: #9aa3b7;
    font-size: 42px;
    font-weight: 600;
  }

  .series-intro__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }

  .series-intro__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    color: #9aa3b7;
  }

  .series-intro__reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #dbe2ee;
    background: #fff;
    color: #6b7382;
    font-size: 12px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .series-intro__reset:hover,
  .series-intro__reset:focus-visible {
    background: #f5f7fb;
    border-color: #cfd7e6;
    color: #3e4654;
  }

  .series-intro__title {
    margin: 0 0 12px;
    color: var(--primary-gray);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
  }

  .series-intro__text {
    color: #6b7382;
    line-height: 1.6;
    font-size: clamp(14px, 1.7vw, 18px);
  }

  @media (max-width: 767.98px) {
    .series-intro {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .series-intro__media {
      max-width: 320px;
      margin: 0 auto
    }

    .series-intro__header {
      flex-direction: column;
      align-items: center;
    }
  }


  /* ===== Hover effect for category underline ===== */

  .category-card .category-underline {
    background: #cfd4da;
    /* исходный серый */
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  /* ====== Фулл-блид и края ====== */
  .full-bleed {
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: clip;
  }

  .full-bleed .inner-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding-inline: 12px;
  }

  .edge-pad {
    padding-left: max(var(--gutter), calc((100% - var(--wrap))/2 + var(--gutter)));
    padding-right: max(var(--gutter), calc((100% - var(--wrap))/2 + var(--gutter)));
  }

  /* ===== AESTHETIC PRO ===== */
  .aest-pro {
    padding: clamp(48px, 8vw, 96px) 0;
    background: var(--primary-light)
  }

  .aest-title {
    font-weight: 800;
    line-height: 1.1;
    color: #686f7d;
    font-size: clamp(32px, 6vw, 60px);
    margin: 0 0 clamp(24px, 3vw, 36px)
  }

  .aest-title .accent {
    position: relative;
    display: inline-block;
    z-index: 1
  }

  .aest-title .accent::before {
    content: "";
    position: absolute;
    left: -.2rem;
    right: -2.6rem;
    bottom: -.12em;
    height: .5em;
    background: #d1d4da;
    z-index: -1;
    opacity: .95
  }

  .aest-col {
    display: flex
  }

  .aest-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    height: 100%
  }

  .aest-img {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    aspect-ratio: 1 / 1;
  }

  .aest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
  }

  .aest-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    color: var(--primary-gray);
    font-size: clamp(15px, 2vw, 18px)
  }

  .aest-cta {
    margin-top: auto;
    display: flex;
    justify-content: flex-end
  }

  .aest-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6b7382;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding-bottom: 10px
  }

  .aest-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #6b7382;
    opacity: .85
  }

  .aest-link .ico {
    transition: transform .2s
  }

  .aest-link:hover .ico {
    transform: translateX(4px) translateY(-1px)
  }

  /* Hero адаптив */
  @media (max-width:767.98px) {
    .aest-title {
      font-size: clamp(28px, 8vw, 44px)
    }
  }

  /* ---------- COOP PRO ---------- */
  .coop-pro {
    --coop-bg: #f4f7fb;
    --coop-border: #d0d8e8;
    --coop-text: #4f5566;
    --coop-accent: #1e3a8a;
    background: var(--coop-bg);
    padding: clamp(40px, 7vw, 48px) 0;
  }

  .coop-pro .coop-frame {
    position: relative;
    padding: clamp(32px, 5vw, 48px);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .coop-pro .coop-frame::after {
    content: none;
  }

  .coop-pro .coop-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 48px);
  }

  @media (min-width:992px) {
    .coop-pro .coop-card {
      flex-direction: row;
      align-items: center;
    }
  }

  .coop-pro .coop-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--coop-text);
  }

  .coop-pro .coop-kicker {
    margin: 0;
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #4f5566;
    font-weight: 600;
  }

  .coop-pro .coop-title {
    color: #4f5566;
    font-weight: 600;
    line-height: 1.05;
    margin: 0;
    font-size: clamp(30px, 5.8vw, 52px);
  }

  @media (max-width:575.98px) {
    .coop-pro .coop-title {
      font-size: clamp(24px, 9vw, 36px);
      line-height: 1.1;
    }
  }

  .coop-pro .coop-title-accent {
    display: inline-block;
    position: relative;
    z-index: 1
  }

  .coop-pro .coop-title-accent::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: rgba(30, 58, 138, .12);
    border-radius: 12px;
    z-index: -1;
  }

  .coop-pro .coop-lead {
    color: var(--coop-text);
    opacity: .9;
    font-size: clamp(16px, 2vw, 20px);
    margin: 0;
  }

  .coop-pro .coop-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 15px;
    color: rgba(31, 36, 48, .9);
    line-height: 1.6;
  }

  .coop-pro .coop-list li {
    margin-bottom: .25rem
  }

  .coop-pro .coop-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 3px;
    border: 2px solid #445266;
    background: transparent;
    color: #445266;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .1s ease;
  }

  .coop-pro .coop-link .ico {
    flex-shrink: 0;
    transition: transform .2s ease;
  }

  .coop-pro .coop-link:hover {
    background: #445266;
    color: #fff;
    border-color: #445266;
    transform: translateY(-1px);
  }

  .coop-pro .coop-link:hover .ico {
    transform: translateX(3px);
  }

  .coop-pro .coop-media {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .coop-pro .coop-media-inner {
    width: min(100%, 480px);
    aspect-ratio: 16/10;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #dfe8f5, #fdfefe);
    box-shadow: 0 25px 80px rgba(21, 36, 64, .18);
    animation: coopFloat 8s ease-in-out infinite;
  }

  .coop-pro .coop-media-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, .35);
    pointer-events: none;
  }

  .coop-pro .coop-media-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.93) contrast(1.05);
  }

  @keyframes coopFloat {
    0% {
      transform: translateY(0)
    }

    50% {
      transform: translateY(-8px)
    }

    100% {
      transform: translateY(0)
    }
  }

  @media (max-width:991.98px) {
    .coop-pro .coop-frame::after {
      display: none
    }

    .coop-pro .coop-frame {
      padding: clamp(24px, 6vw, 40px)
    }
  }

  @media (max-width:575.98px) {
    .coop-pro .coop-link {
      width: 100%;
      justify-content: center
    }

    .coop-pro .coop-media-inner {
      aspect-ratio: 3/2
    }
  }

  /* ---------- CONTACT FORM ---------- */
  .cf-elite {
    --cf-bg: #fbfbfb;
    --cf-dark: #5f6878;
    --cf-line: #6b7382;
    --cf-link: #5f6878;
    --cf-control-h: 54px;
    --cf-gap-x: clamp(24px, 4vw, 46px);
    --cf-gap-y: clamp(18px, 2.4vw, 24px);
    --cf-ease: cubic-bezier(.22, .61, .36, 1);

    background: var(--cf-bg);
    padding-top: clamp(24px, 4vw, 44px);
    padding-bottom: clamp(18px, 3vw, 34px);
  }

  .cf-elite .cf-head {
    max-width: 980px;
    margin-bottom: 0;
  }

  .cf-elite .cf-title {
    margin: 0;
    display: inline-block;
    position: relative;
    font-weight: 800;
    line-height: 1.1;
    color: var(--cf-dark);
    font-size: clamp(32px, 6vw, 65px);
    letter-spacing: .02em;
  }

  .cf-elite .cf-title-accent {
    display: inline-block;
    position: relative;
    margin-top: .15em;
    z-index: 1;
  }

  .cf-elite .cf-title-accent::before {
    content: "";
    position: absolute;
    left: -.2rem;
    right: -2.6rem;
    bottom: -.10em;
    height: .50em;
    background: #d1d4da;
    z-index: -1;
    pointer-events: none;
    opacity: .95;
  }

  .cf-elite .cf-subtitle {
    margin-top: clamp(12px, 2vw, 20px);
    color: var(--cf-dark);
    opacity: .85;
    font-size: clamp(16px, 2.4vw, 22px);
  }

  .cf-elite .cf-trigger {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(24px, 3vw, 32px);
    max-height: 88px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity .38s var(--cf-ease),
      transform .38s var(--cf-ease),
      max-height .38s var(--cf-ease),
      margin-top .38s var(--cf-ease);
  }

  .cf-elite .cf-trigger.is-hidden {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin-top: 0;
    pointer-events: none;
  }

  .cf-elite .cf-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px clamp(24px, 5vw, 55px);
    border: 2px solid var(--cf-line);
    border-radius: 0;
    background: transparent;
    color: var(--cf-dark);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
      background-color .2s ease,
      color .2s ease,
      transform .1s ease,
      box-shadow .2s ease;
  }

  .cf-elite .cf-open-btn:hover {
    background: var(--cf-dark);
    color: #fff;
  }

  .cf-elite .cf-open-btn:active {
    transform: translateY(1px);
  }

  .cf-elite .cf-open-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(45, 51, 67, .14);
  }

  .cf-elite .cf-flow {
    margin-top: clamp(14px, 2vw, 22px);
  }

  .cf-elite .cf-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(14px);
    transition:
      opacity .42s var(--cf-ease),
      transform .42s var(--cf-ease),
      max-height .42s var(--cf-ease),
      visibility 0s linear .42s;
  }

  .cf-elite .cf-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 1400px;
    transform: translateY(0);
    transition:
      opacity .42s var(--cf-ease),
      transform .42s var(--cf-ease),
      max-height .42s var(--cf-ease),
      visibility 0s linear 0s;
  }

  .cf-elite .cf-panel[hidden] {
    display: block !important;
  }

  .cf-elite .cf-form {
    margin-top: 0;
  }

  .cf-elite .cf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--cf-gap-y) var(--cf-gap-x);
  }

  .cf-elite .cf-field {
    min-width: 0;
  }

  .cf-elite .cf-field input,
  .cf-elite .cf-field textarea {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--cf-line);
    padding: 12px 0 10px;
    min-height: var(--cf-control-h);
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.35;
    color: var(--cf-dark);
    outline: none;
    transition: border-color .25s ease, color .25s ease;
    font-family: inherit;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
  }

  .cf-elite .cf-field textarea {
    height: var(--cf-control-h);
    min-height: var(--cf-control-h);
    resize: none;
    overflow: hidden;
  }

  .cf-elite .cf-field input::placeholder,
  .cf-elite .cf-field textarea::placeholder {
    color: var(--cf-dark);
    opacity: .55;
  }

  .cf-elite .cf-field input:focus,
  .cf-elite .cf-field textarea:focus {
    border-bottom-color: var(--primary-dark);
    color: var(--primary-dark);
  }

  /* нижняя зона */
  .cf-elite .cf-bottom {
    display: grid;
    grid-template-columns: minmax(340px, 1.2fr) minmax(240px, 1fr) auto;
    align-items: end;
    gap: 20px 26px;
    margin-top: clamp(22px, 3vw, 28px);
  }

  .cf-elite .cf-captcha {
    min-width: 0;
    margin: 0;
  }

  /* simple captcha */
  .cf-elite .cf-captcha--local .cf-captcha-label {
    display: none;
    margin: 0 0 8px;
    color: var(--cf-dark);
    font-size: 15px;
    line-height: 1.3;
    opacity: .9;
  }

  .cf-elite .cf-captcha--local .cf-captcha-local-row {
    display: grid;
    grid-template-columns: auto minmax(120px, 170px) 42px;
    align-items: end;
    gap: 12px;
    min-width: 0;
  }

  .cf-elite .cf-captcha--local img.captcha {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0 0 8px;
    border: none;
    border-bottom: 2px solid var(--cf-line);
    background: transparent;
    object-fit: contain;
  }

  .cf-elite .cf-captcha--local input[type="hidden"] {
    display: none;
  }

  .cf-elite .cf-captcha--local input[type="text"] {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--cf-line);
    padding: 12px 0 10px;
    min-height: var(--cf-control-h);
    font-size: 16px;
    line-height: 1.35;
    color: var(--cf-dark);
    outline: none;
    transition: border-color .25s ease, color .25s ease;
    font-family: inherit;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
  }

  .cf-elite .cf-captcha--local input[type="text"]:focus {
    border-bottom-color: var(--primary-dark);
    color: var(--primary-dark);
  }

  .cf-elite .cf-captcha--local input[type="text"]::placeholder {
    color: var(--cf-dark);
    opacity: .55;
  }

  .cf-elite .cf-captcha-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: 1px solid var(--cf-line);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .12s ease;
  }

  .cf-elite .cf-captcha-refresh-btn::before {
    content: "";
    width: 18px;
    height: 18px;
    background: center / contain no-repeat url("../img/icons/refresh.4a09ce0f2aa2.svg");
    display: block;
  }

  .cf-elite .cf-captcha-refresh-btn:hover {
    background: #eef1f5;
    border-color: var(--cf-dark);
  }

  .cf-elite .cf-captcha-refresh-btn:active {
    transform: translateY(1px);
  }

  .cf-elite .cf-captcha-refresh-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
  }

  /* smart captcha */
  .cf-elite .cf-captcha--smart .smart-captcha {
    max-width: 320px;
    min-height: 96px;
  }

  /* consent */
  .cf-elite .cf-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    color: var(--cf-dark);
    opacity: .92;
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.42;
  }

  .cf-elite .cf-agree input[type="checkbox"] {
    min-width: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--cf-line);
  }

  .cf-elite .cf-agree input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid var(--cf-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .15s ease;
  }

  .cf-elite .cf-agree input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
  }

  .cf-elite .cf-agree label {
    margin: 0;
  }

  .cf-elite .cf-agree a {
    color: var(--cf-link);
    text-decoration: none;
  }

  .cf-elite .cf-agree a:hover {
    text-decoration: underline;
  }

  /* buttons */
  .cf-elite .cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    min-height: 50px;
    padding: 10px clamp(24px, 5vw, 55px);
    border: 2px solid var(--cf-line);
    border-radius: 0;
    background: transparent;
    color: var(--cf-dark);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    max-width: 100%;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, transform .1s ease;
  }

  .cf-elite .cf-btn:hover {
    background: var(--cf-dark);
    color: #fff;
  }

  .cf-elite .cf-btn:active {
    transform: translateY(1px);
  }

  /* thanks */
  .cf-elite .cf-panel--thanks {
    padding: clamp(24px, 4vw, 48px) 0 clamp(10px, 1vw, 18px);
  }

  .cf-elite .cf-thanks-box {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: clamp(150px, 16vw, 220px);
  }

  .cf-elite .cf-thanks-text {
    margin: 0;
    color: var(--cf-dark);
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: .01em;
    opacity: .96;
    animation: cfThanksBreath 2.4s ease-in-out infinite;
  }

  @keyframes cfThanksBreath {

    0%,
    100% {
      opacity: .78;
      transform: translateY(0)
    }

    50% {
      opacity: 1;
      transform: translateY(-1px)
    }
  }

  /* responsive */
  @media (max-width: 1199.98px) {
    .cf-elite .cf-bottom {
      grid-template-columns: minmax(320px, 1fr) minmax(220px, 1fr);
    }

    .cf-elite .cf-btn {
      grid-column: 1 / -1;
      justify-self: start;
    }
  }

  @media (max-width: 991.98px) {
    .cf-elite .cf-bottom {
      grid-template-columns: 1fr;
      align-items: start;
      gap: 18px;
    }

    .cf-elite .cf-btn {
      grid-column: auto;
      justify-self: start;
    }

    .cf-elite .cf-captcha--local .cf-captcha-local-row {
      grid-template-columns: 132px minmax(120px, 180px) 42px;
    }

    .cf-elite .cf-captcha--local img.captcha {
      max-width: 132px;
    }
  }

  @media (max-width: 767.98px) {
    .cf-elite .cf-grid {
      grid-template-columns: 1fr;
    }

    .cf-elite .cf-captcha--smart .smart-captcha {
      max-width: 100%;
    }
  }

  @media (max-width: 575.98px) {
    .cf-elite {
      --cf-control-h: 52px;
    }

    .cf-elite .cf-title-accent::before {
      right: -1rem;
    }

    .cf-elite .cf-open-btn {
      width: 100%;
    }

    .cf-elite .cf-captcha--local .cf-captcha-local-row {
      grid-template-columns: 1fr;
      align-items: start;
      gap: 10px;
    }

    .cf-elite .cf-captcha--local img.captcha {
      max-width: 140px;
    }

    .cf-elite .cf-btn {
      width: 100%;
      justify-self: stretch;
    }

    .cf-elite .cf-thanks-box {
      min-height: 120px;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .cf-elite .cf-trigger,
    .cf-elite .cf-panel,
    .cf-elite .cf-open-btn,
    .cf-elite .cf-btn,
    .cf-elite .cf-thanks-text {
      transition: none;
      animation: none;
      transform: none;
    }
  }

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

  /* ---------- SCROLL TOP BUTTON ---------- */
  .elegant-scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s cubic-bezier(.25, .46, .45, .94);
    opacity: .3;
    z-index: 1000;
  }

  .elegant-scroll-top:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1)
  }

  .elegant-arrow {
    color: var(--primary-dark);
    transition: .3s
  }

  .elegant-scroll-top:hover .elegant-arrow {
    transform: translateY(-2px)
  }

  .elegant-scroll-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px)
  }

  /* ---------- RESPONSIVE tweaks ---------- */
  @media (max-width:992px) {
    .hero-section {
      background-attachment: scroll
    }
  }

  :root {
    --reveal-dur: .55s;
    --reveal-ease: cubic-bezier(.22, .61, .36, 1);
  }

  /* плавный вход для hero-элементов из единого data-state */
  .hero-section::before {
    opacity: 0;
    transition: opacity .9s var(--reveal-ease) .2s;
  }

  [data-ready] .hero-section::before {
    opacity: 1;
  }

  [data-preload] .top-navbar,
  [data-preload] .top-navbar .nav-link {
    opacity: 0;
    transform: translateY(8px) scale(.985);
    filter: blur(6px);
  }

  [data-ready] .top-navbar,
  [data-ready] .top-navbar .nav-link {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
      opacity var(--reveal-dur) var(--reveal-ease),
      transform var(--reveal-dur) var(--reveal-ease),
      filter var(--reveal-dur) var(--reveal-ease);
  }

  [data-ready] .top-navbar .nav-link {
    transition-delay: calc(40ms * var(--i, 0));
  }

  /* ====== VIDEO REVIEWS ====== */
  .video-reviews-section {
    --video-review-gap: clamp(28px, 3.2vw, 52px);
    --video-review-width: calc((100% - var(--video-review-gap)) / 2);
    padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
    background: #fff;
    overflow: hidden;
  }

  .video-reviews-section > .inner-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-inline: 0;
  }

  .video-reviews-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(20px, 2.5vw, 32px);
  }

  .video-reviews-title {
    margin: 0;
    color: #2d3343;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .video-reviews-controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  }

  .video-reviews-arrow {
    position: absolute;
    top: var(--video-review-arrow-top, clamp(130px, 13vw, 178px));
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(32, 41, 55, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #39414d;
    box-shadow: 0 6px 20px rgba(20, 28, 38, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 12px;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    pointer-events: auto;
  }

  .video-reviews-arrow[hidden] {
    display: none;
  }

  .video-reviews-arrow.prev {
    left: 12px;
  }

  .video-reviews-arrow.next {
    right: 12px;
  }

  .video-reviews-arrow:hover,
  .video-reviews-arrow:focus {
    border-color: rgba(47, 117, 56, 0.32);
    background: #fff;
    color: #2f7538;
    box-shadow: 0 8px 24px rgba(20, 28, 38, 0.14);
    transform: translateY(-50%) scale(1.04);
    outline: none;
  }

  .video-reviews-carousel {
    position: relative;
    width: 100%;
  }

  .video-reviews-viewport {
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 0 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .video-reviews-viewport::-webkit-scrollbar {
    display: none;
  }

  .video-reviews-track {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--video-review-gap);
    min-width: 100%;
  }

  .video-reviews-carousel--single .video-reviews-track {
    display: flex;
    justify-content: flex-start;
  }

  .video-review-card {
    flex: 0 0 var(--video-review-width);
    display: grid;
    grid-template-rows: var(--video-review-stage-height, auto) auto auto;
    align-content: start;
    scroll-snap-align: start;
  }

  .video-review-card--portrait {
    text-align: left;
  }

  .video-review-media {
    aspect-ratio: 16 / 9;
    align-self: center;
    justify-self: start;
    width: 100%;
    box-shadow: none;
  }

  .video-review-card--portrait .video-review-media {
    aspect-ratio: auto;
    width: min(100%, var(--video-review-media-width, 100%));
    height: var(--video-review-media-height);
    margin-inline: auto;
  }

  .video-wrapper {
    position: relative;
    border-radius: clamp(24px, 2.5vw, 34px);
    overflow: hidden;
    background: #d7d7d7;
  }

  .video-wrapper video,
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: clamp(24px, 2.5vw, 34px);
  }

  .video-wrapper video {
    object-fit: contain;
    background: #111822;
    transition: transform 0.3s ease;
  }

  .video-wrapper iframe {
    border: 0;
    background: #111822;
  }

  .video-review-media--embed-pending {
    background:
      linear-gradient(135deg, rgba(17,24,34,.7), rgba(104,111,125,.62)),
      #d7d7d7;
  }

  .video-review-embed-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .video-review-embed-trigger img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .video-review-card--portrait .video-review-embed-trigger img {
    object-fit: contain;
    background: #111822;
  }

  .video-review-embed-trigger .play-btn {
    display: block;
  }

  .video-wrapper:hover video {
    transform: scale(1.01);
  }

  .video-review-card h3 {
    margin: clamp(24px, 2.5vw, 34px) 8px 0;
    color: #686f7d;
    font-size: clamp(21px, 2.2vw, 31px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .video-review-subtitle {
    margin: clamp(18px, 2vw, 28px) 8px 0;
    color: #6f7786;
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.35;
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    z-index: 2;
  }

  .play-btn::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 18px solid #111822;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
  }

  .play-btn:hover,
  .play-btn:focus {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
  }

  .video-review-fullscreen {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #111822;
    cursor: pointer;
    z-index: 3;
    transition: background .2s ease, transform .2s ease;
  }

  .video-review-fullscreen:hover,
  .video-review-fullscreen:focus {
    background: #fff;
    transform: scale(1.06);
  }

  .video-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
  }

  .video-reviews-dots button {
    width: 42px;
    height: 4px;
    border: none;
    border-radius: 999px;
    background: rgba(45,51,67,.24);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
  }

  .video-reviews-dots button[aria-current="true"] {
    width: 68px;
    background: rgba(45,51,67,.9);
  }

  @media (max-width: 767.98px) {
    .video-reviews-section {
      --video-review-width: min(86vw, 520px);
      padding: 24px 0 36px;
    }

    .video-reviews-section > .inner-wrap {
      width: 100%;
      padding-inline: 12px;
    }

    .video-reviews-head {
      display: block;
      margin-bottom: 20px;
    }

    .video-reviews-controls {
      display: none;
    }

    .video-reviews-arrow {
      width: 40px;
      height: 40px;
    }

    .video-review-card h3 {
      margin-top: 18px;
      font-size: 20px;
    }

    .video-review-subtitle {
      margin-top: 12px;
      font-size: 16px;
    }

    .play-btn {
      width: 50px;
      height: 50px;
    }

    .play-btn::before {
      left: 20px;
      top: 15px;
      border-left-width: 15px;
      border-top-width: 10px;
      border-bottom-width: 10px;
    }

    .video-review-fullscreen {
      right: 10px;
      bottom: 10px;
      width: 38px;
      height: 38px;
    }
  }



  /* === Чистое плавное затемнение/осветление текста (исправлено со специфичностью) === */

  /* Убираем все подложки/подчёркивания и любые hover-фоны */
  .nav-link::after {
    content: none !important;
    display: none !important;
  }

  .top-navbar .nav-link:hover,
  .main-navbar .nav-link:hover {
    background: none !important;
    transform: none !important;
    text-decoration: none !important;
  }

  /* 1) Верхнее меню: текст темнеет плавно */
  .top-navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    transition: color .25s ease;
  }

  .top-navbar .navbar-nav .nav-link:hover,
  .top-navbar .navbar-nav .nav-link:focus,
  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link:focus {
    color: #b8b8b8 !important;
  }

  /* 2) Фиксированное (нижнее) меню: текст светлеет плавно */
  .main-navbar .navbar-nav .nav-link {
    color: #686f7d !important;
    transition: color .25s ease;
  }

  .main-navbar .navbar-nav .nav-link:hover,
  .main-navbar .navbar-nav .nav-link:focus,
  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link:focus {
    color: #b8b8b8 !important;
    /* визуально светлее на #fbfbfb */
  }

  /* Размер логотипа (svg/img) в фиксированном меню меньше и выровнен по центру строки */
  .main-navbar .navbar-brand svg,
  .main-navbar .navbar-brand img {
    height: 22px;
    width: auto;
    vertical-align: middle;
  }

  @media (min-width: 992px) {

    .main-navbar .navbar-brand svg,
    .main-navbar .navbar-brand img {
      height: 24px;
    }
  }

  /* Расстояние между логотипом и пунктами */
  .main-navbar .navbar-brand {
    margin-right: .6rem;
  }

  .main-navbar .navbar-nav,
  .top-navbar .navbar-nav {
    gap: .25rem;
    align-items: center;
    flex-wrap: nowrap;
  }

  @media (min-width:992px) {
    .main-navbar .navbar-nav .nav-link,
    .top-navbar .navbar-nav .nav-link {
      margin: 0 !important;
      padding: .5rem .85rem !important;
      white-space: nowrap;
    }
  }

  @media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-navbar .navbar-nav,
    .top-navbar .navbar-nav {
      gap: .1rem;
    }

    .main-navbar .navbar-nav .nav-link,
    .top-navbar .navbar-nav .nav-link {
      padding: .45rem .55rem !important;
      font-size: 0.86rem;
    }

  }

  .main-navbar .nav-link-registration,
  .top-navbar .nav-link-registration {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(67, 92, 255, 0.22);
    background: rgba(67, 92, 255, 0.08);
  }

  .main-navbar .nav-link-registration i,
  .top-navbar .nav-link-registration i {
    font-size: 14px;
    line-height: 1;
  }

  .top-navbar .nav-link-registration {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
  }

  .main-navbar .nav-link-registration:hover,
  .main-navbar .nav-link-registration:focus {
    color: #435cff !important;
    background: rgba(67, 92, 255, 0.12) !important;
  }

  .account-nav {
    position: relative;
  }

  .account-nav__toggle::after {
    margin-left: 2px;
  }

  .account-nav__toggle {
    position: relative;
  }

  .account-nav__badge,
  .account-nav__menu-badge {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #69b52c;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  .account-nav__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    margin-left: 0;
    padding: 0 5px;
    box-shadow: 0 0 0 2px #fff;
  }

  .account-nav__menu {
    min-width: 178px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(20, 28, 50, .14);
    padding: 6px;
  }

  .account-nav__pwa-only {
    display: none;
  }

  html.hogart-pwa-standalone .account-nav__pwa-only {
    display: list-item;
  }

  @media not all and (hover: none) and (pointer: coarse) {
    .account-nav__pwa-only {
      display: list-item;
    }
  }

  .account-nav__item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border-radius: 5px;
    color: #1f2937;
    font-weight: 650;
    white-space: normal;
  }

  .account-nav__item--messages {
    justify-content: flex-start;
  }

  .account-nav__menu-badge {
    margin-left: auto;
  }

  .account-nav__item i {
    width: 16px;
    color: var(--hogart-green, #408d47);
    text-align: center;
  }

  .account-nav__item span:not(.account-nav__menu-badge) {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .account-nav__item:hover,
  .account-nav__item:focus {
    background: rgba(67, 92, 255, 0.09);
    color: #243bdb;
  }

  .site-notification-toasts {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 1100;
    display: grid;
    width: min(360px, calc(100vw - 32px));
    gap: 10px;
    pointer-events: none;
  }

  /* Account navigation must remain clickable beneath incoming notices. */
  body:has(.account-nav__menu.show) .site-notification-toasts,
  body:has(.account-nav__menu.show) .site-chat-notice {
    display: none;
  }

  .site-notification-toast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-left: 4px solid #69b52c;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 28, 50, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-notification-toast.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .site-notification-toast__content {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 12px 10px 12px 12px;
    color: #1f2424;
    text-decoration: none;
  }

  .site-notification-toast__content--button {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .site-notification-toast__content:hover,
  .site-notification-toast__content:focus {
    color: #1f2424;
    text-decoration: none;
  }

  .site-notification-toast__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf7e8;
    color: #3d8f17;
  }

  .site-notification-toast__text {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

  .site-notification-toast__text strong,
  .site-notification-toast__text span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-notification-toast__text strong {
    color: #1f2424;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
  }

  .site-notification-toast__text span {
    color: #69736f;
    font-size: 13px;
    line-height: 1.35;
  }

  .site-notification-toast__close {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    color: #69736f;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .site-notification-toast__close:hover,
  .site-notification-toast__close:focus {
    background: #f3f6f2;
    color: #1f2424;
  }

  .site-notification-toast--sound {
    border-left-color: #435cff;
  }

  .site-notification-toast--sound .site-notification-toast__icon {
    background: #eef1ff;
    color: #435cff;
  }

  .site-flash {
    position: fixed;
    top: 86px;
    left: 50%;
    z-index: 1090;
    width: min(92vw, 560px);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .site-flash__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(64, 141, 71, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(15, 27, 45, 0.14);
    color: var(--hogart-ink, #1e1e1e);
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-flash__item.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
  }

  .site-flash__icon {
    display: inline-flex;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hogart-green, #408d47);
    color: #fff;
    font-size: 0.78rem;
  }

  .site-flash__text {
    min-width: 0;
    color: inherit;
    font-size: 0.95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  @media (max-width: 1199.98px) {
    .account-nav {
      width: 100%;
      min-width: 0;
    }

    .account-nav__toggle {
      min-height: 44px;
      gap: 8px;
      justify-content: flex-start;
    }

    .account-nav__toggle::after {
      margin-left: auto;
    }

    .account-nav__menu {
      position: static !important;
      transform: none !important;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      max-height: min(68dvh, 430px);
      margin-top: 6px;
      overflow-y: auto;
      overflow-x: hidden;
      border-color: rgba(63, 142, 55, 0.2);
      box-shadow: 0 14px 34px rgba(31, 36, 36, 0.14);
    }

    .account-nav__menu.show {
      display: grid;
      gap: 4px;
    }

    .account-nav__item {
      min-height: 42px;
      padding: 8px 10px;
      gap: 10px;
      font-size: 14px;
      line-height: 1.2;
    }

    .account-nav__item i {
      color: var(--hogart-green, #408d47);
    }

    .account-nav__optional-desktop {
      display: none;
    }

    .site-notification-toasts {
      top: calc(12px + env(safe-area-inset-top, 0px));
      right: 10px;
      left: 10px;
      width: auto;
    }

    .site-flash {
      top: calc(72px + env(safe-area-inset-top, 0px));
      width: min(94vw, 420px);
    }

    .site-flash__item {
      padding: 11px 12px;
      gap: 9px;
    }

    .site-flash__text {
      font-size: 0.88rem;
    }

    html.mobile-nav-open .site-flash,
    html.mobile-nav-open .site-notification-toasts {
      display: none;
    }
  }


  [data-ready] .top-navbar::after {
    transform: scaleX(1);
    transition: transform .8s cubic-bezier(.22, .61, .36, 1) .15s;
  }

  @keyframes heroZoom {
    from {
      transform: scale(1.45);
    }

    to {
      transform: scale(1);
    }
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-title {
    opacity: 0;
    /* скрыт до начала */
    transform: translateY(40px);
  }

  [data-ready] .hero-title {
    animation: fadeUp 1.6s ease-out forwards;
    animation-delay: .8s;
    /* можно подстроить, чтобы появлялся чуть позже */
  }

  /* ===== Единое плавное появление пунктов меню ===== */
  /* После загрузки не запускаем повторную keyframe-анимацию при ресайзе
   (иначе на переходе mobile -> desktop пункты меню «падают» заново). */
  [data-ready] .top-navbar .navbar-nav .nav-link {
    animation: none;
  }


  /* ===== СТИЛИ ДЛЯ ЧЁРНОЙ ГАЛОЧКИ (пустой фон) ===== */
  .cf-elite .cf-agree input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: transparent;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .cf-elite .cf-agree input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 7px;
    height: 12px;
    border: solid #000;
    /* чёрная галочка */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .cf-elite .cf-agree input[type="checkbox"]:hover {
    border-color: #000;
    /* легкий фокус при наведении */
  }



  /* ===== COOKIE CONSENT BLOCK ===== */
  .cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: auto;
    max-width: 100%;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .cookie-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 24px 24px;
    max-width: 340px;
    font-size: 14px;
    color: #444;
    position: relative;
    animation: fadeInCookie .5s ease forwards;
  }

  .cookie-box p {
    margin: 0 0 16px;
    line-height: 1.5;
  }

  .cookie-box a {
    color: #5f6878;
    text-decoration: none;
  }

  .cookie-box a:hover {
    text-decoration: underline;
  }

  .cookie-btn {
    display: inline-block;
    background: #5f6878;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    transition: all .2s ease;
  }

  .cookie-btn:hover {
    background: #2d3343;
  }

  .cookie-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s;
  }

  .cookie-close:hover {
    color: #333;
  }

  /* адаптив */
  @media (max-width: 600px) {
    .cookie-consent {
      bottom: 10px;
      right: 10px;
    }

    .cookie-box {
      width: 100%;
      max-width: none;
      border-radius: 10px;
    }
  }

  /* анимация появления */
  @keyframes fadeInCookie {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== Scroll-reveal for titles with gray accent (slow deluxe, extended) ===== */

  /* базовое состояние до входа в вьюпорт */
  .js-reveal-title {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 1.2s cubic-bezier(.22, .61, .36, 1),
      transform 1.2s cubic-bezier(.22, .61, .36, 1);
    will-change: transform, opacity;
  }

  /* СВЕРХУ ВАЖНО: перечисляем ВСЕ варианты серой плашки под заголовками */
  .js-reveal-title .accent::before,
  .js-reveal-title .coop-title-accent::before,
  .js-reveal-title .cf-title-accent::before {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1) .6s;
  }

  /* активное состояние */
  .js-reveal.inview .js-reveal-title {
    opacity: 1;
    transform: translateY(0);
  }

  .js-reveal.inview .js-reveal-title .accent::before,
  .js-reveal.inview .js-reveal-title .coop-title-accent::before,
  .js-reveal.inview .js-reveal-title .cf-title-accent::before {
    transform: scaleY(1);
  }

  /* стрелочка вниз на баннере начало */
  .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    animation: fadePulse 10s cubic-bezier(.4, 0, .2, 1) infinite;
  }

  /* сама стрелочка */
  .scroll-hint .arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    animation: scrollDown 1.6s ease-in-out infinite;
  }

  /* движение стрелки вниз */
  @keyframes scrollDown {
    0% {
      transform: translateY(0) rotate(-45deg);
      opacity: 0.6;
    }

    50% {
      transform: translateY(6px) rotate(-45deg);
      opacity: 1;
    }

    100% {
      transform: translateY(0) rotate(-45deg);
      opacity: 0.6;
    }
  }

  /* плавное появление и исчезновение с мягкой фазой */
  @keyframes fadePulse {
    0% {
      opacity: 0;
    }

    10% {
      opacity: 1;
    }

    /* мягкое появление */
    45% {
      opacity: 1;
    }

    /* видна */
    55% {
      opacity: 0;
    }

    /* плавно исчезает */
    100% {
      opacity: 0;
    }

    /* пауза до следующего цикла */
  }


  /* стрелочка вниз на баннере конец */


  /* --- Стили карточки товара --- */
  /* --- product detail page --- */

  /* 💰 Блок цены */
  .product-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1rem;
  }

  .product-price-block .price {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    color: #686f7d;
    font-weight: 700;
  }

  /* Подпись под ценой */
  .product-price-block .text-muted {
    color: #6c757d !important;
  }

  /* Кнопка покупки — фирменный минимализм Splendy */
  .btn-buy {
    background: transparent;
    color: #445266;
    /* фирменный темно-серый */
    border: 2px solid #445266;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 1rem;
    min-width: 220px;
    font-size: 20px;
  }

  .btn-buy:hover {
    background-color: #445266;
    color: #fff;
    transform: translateY(-1px);
  }

  /* Тумбнейлы изображений */
  .img-thumbnail {
    border-color: #eaeaea;
    transition: opacity .2s ease, transform .2s ease;
  }

  .img-thumbnail:hover {
    opacity: 1;
    transform: scale(1.03);
  }

  /* Блок описания */
  .product-description p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.6;
  }

  /* Характеристики под описанием */
  .product-specs {
    border-top: 0;
    padding-top: 1.5rem;
  }

  .product-specs h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #686f7d;
  }

  .product-specs ul li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0.6rem 0;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .product-specs ul li span {
    color: #686f7d;
    font-size: 0.95rem;
    flex: 1 1 50%;
    min-width: 0;
    word-break: break-word;
  }

  .product-specs ul li span:not(.text-muted) {
    text-align: right;
  }

  .product-specs ul li span.text-muted {
    color: #a3a9b6 !important;
    flex: 0 0 auto;
    max-width: 45%;
  }

  /* Адаптивность */
  @media (max-width: 768px) {
    .btn-buy {
      width: 100%;
    }

    .product-price-block .price {
      font-size: 2.0rem;
    }

    .product-specs h5 {
      font-size: 1rem;
    }

    .product-specs ul li {
      flex-direction: column;
      gap: 0.25rem;
    }

    .product-specs ul li span,
    .product-specs ul li span.text-muted {
      max-width: 100%;
      width: 100%;
      text-align: left;
    }
  }


  /* --- Стили карточки товара --- */



  /* --- Хлебные крошки Splendy (финальная версия) --- */
  .splendy-breadcrumb {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    min-height: 32px;
    /* фиксированная высота области, чтобы не прыгала */
    padding: 12px 0 10px;
    /* одинаковые вертикальные отступы */
    margin: 0 0 2rem 0;
    /* убираем верхний, оставляем нижний */
  }

  .splendy-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    column-gap: 0.5rem;
  }

  .splendy-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #999;
    padding: 0 0.5rem;
  }

  .splendy-breadcrumb .breadcrumb-item a {
    color: #667085;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .splendy-breadcrumb .breadcrumb-item a:hover {
    color: #222;
    text-decoration: underline;
  }

  .splendy-breadcrumb .breadcrumb-item.active {
    color: #222;
    font-weight: 600;
  }

  .splendy-breadcrumb .breadcrumb-label {
    display: inline-block;
    max-width: clamp(120px, 22vw, 260px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }

  .splendy-breadcrumb .breadcrumb-item {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    max-width: clamp(120px, 22vw, 260px);
  }

  @media (max-width: 575.98px) {
    .splendy-breadcrumb {
      margin-bottom: 1.25rem;
    }

    .splendy-breadcrumb .breadcrumb {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      column-gap: 0.25rem;
      padding-bottom: 2px;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
    }

    .splendy-breadcrumb .breadcrumb::-webkit-scrollbar {
      display: none;
    }

    .splendy-breadcrumb .breadcrumb-item,
    .splendy-breadcrumb .breadcrumb-label {
      max-width: min(72vw, 260px);
    }

    .splendy-breadcrumb .breadcrumb-item {
      flex: 0 0 auto;
      scroll-snap-align: start;
    }

    .splendy-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
      padding: 0 0.25rem;
    }
  }

  @media (max-width: 767.98px) {
    body {
      max-width: 100%;
      overflow-x: clip;
      -webkit-text-size-adjust: 100%;
    }

    body :where(img, picture, video, iframe, canvas, svg) {
      max-width: 100%;
    }

    body :where(main, section, article, aside, header, footer, nav, .container, .container-fluid, .row, [class$="__shell"], [class$="__inner"], [class$="__body"], [class$="__content"], [class*="-card"], [class*="__card"]) {
      min-width: 0;
    }

    body :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, figcaption, blockquote, .breadcrumb-label, .catalog-title, .product-name-title, .product-title-detail, .category-title, .series-card__title, .catalog-product-card__name, .catalog-product-card__title) {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    body :where(.btn, .button, button, input[type="submit"], input[type="button"], [role="button"], a[class*="button"], a[class*="btn"]) {
      max-width: 100%;
      min-width: 0;
      white-space: normal;
      overflow-wrap: anywhere;
      line-height: 1.25;
    }

    body :where(input, select, textarea) {
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    body :where(table) {
      max-width: 100%;
    }

    body :where(.table-responsive, .table-wrap, .comparison-table, .product-specs, .catalog-stock__details) {
      max-width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  /* --- Хлебные крошки Splendy --- */

  #model-swatches .btn {
    min-width: 0;
  }

  #model-swatches .btn .swatch-text {
    display: inline-block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  /* ===== Product image consistency ===== */
  #product-image {
    --product-image-min: clamp(280px, 48vw, 520px);
    --promo-size: 70px;
    min-height: var(--product-image-min);
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
  }

  #product-image .product-image-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #product-image.is-loading .product-image-main {
    opacity: 0.25;
    transform: scale(0.98);
  }

  #product-image.is-fading-out .product-image-main {
    opacity: 0;
    transform: scale(0.94);
  }

  #product-image.is-appearing .product-image-main {
    opacity: 0;
    animation: product-image-fade-in 0.45s ease forwards;
  }

  @keyframes product-image-fade-in {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-Light.4e3d30ade6ae.woff2") format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-Regular.8017c813b592.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-ExtraLight.e64effcb2c0e.woff2") format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-Medium.ec7527161bd7.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-SemiBold.8553b2f213df.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-Bold.f2d70c0678f9.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Manrope';
    src: url("../webfonts/manrope/Manrope-ExtraBold.d2655dd418f6.woff2") format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }

  .product-title-detail {
    color: #686f7d;
  }

  .product-name-title {
    color: #686f7d;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.3em * 2);
    min-height: calc(1.3em * 2);
  }

  .splendy-breadcrumb .breadcrumb-label {
    color: #686f7d;
  }

  .button-swatches.btn-outline-secondary.active,
  .button-swatches.btn-outline-secondary:active {
    background-color: #445266;
    border-color: #445266;
    color: #fff;
  }

  /* Свотчи (варианты модели) — hover */
  .button-swatches.btn-outline-secondary:hover,
  .button-swatches.btn-outline-secondary:focus {
    background-color: #2f7d48 !important;
    border-color: #2f7d48 !important;
    color: #fff !important;
  }

  /* Кнопки в блоках "Сертификаты" и "Комплектующие" — hover/фокус */
  #product-certificates-block .btn-outline-secondary:hover,
  #product-certificates-block .btn-outline-secondary:focus,
  #product-complects-block .btn-outline-secondary:hover,
  #product-complects-block .btn-outline-secondary:focus {
    background-color: #2f7d48 !important;
    border-color: #2f7d48 !important;
    color: #fff !important;
  }

  /* Цифра справа (text-muted) тоже становится белой на hover/фокус */
  #product-certificates-block .btn-outline-secondary:hover .text-muted,
  #product-certificates-block .btn-outline-secondary:focus .text-muted,
  #product-complects-block .btn-outline-secondary:hover .text-muted,
  #product-complects-block .btn-outline-secondary:focus .text-muted {
    color: #fff !important;
  }

  #product-certificates-block .list-group-item,
  #product-certificates-block .list-group-item .fw-semibold {
    color: #686f7d !important;
  }

  #product-complects-block .list-group-item,
  #product-complects-block .list-group-item .fw-semibold {
    color: #686f7d !important;
  }

  /* Мета-инфо в списке сертификатов */
  #product-certificates-block .list-group-item .text-muted {
    color: #686f7d !important;
  }

  /* Если нужно и для комплектующих */
  #product-complects-block .list-group-item .text-muted {
    color: #686f7d !important;
  }


  /* Бэйдж артикула в списке товаров */
  .list-product-sku {
    margin-bottom: 4px;
  }

  .list-product-sku__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid rgba(68, 82, 102, 0.35);
    /* близко к #445266 */
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #686f7d;
    background-color: #fff;
  }

  /* Блок цены в каталоге */
  .catalog-price {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    min-width: 0;
  }

  .catalog-price__current {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
  }

  .catalog-product-card__series,
  .catalog-product-card__brand {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: .82rem;
    color: #6b7382;
    min-height: 24px;
  }

  .catalog-product-card__series--empty {
    visibility: hidden;
    pointer-events: none;
  }

  .catalog-product-card__series-label,
  .catalog-product-card__brand-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #9aa3b7;
  }

  .catalog-product-card__series-name,
  .catalog-product-card__brand-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #2f7d45;
    font-weight: 600;
    font-size: .72rem;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  a.catalog-product-card__series-name:hover,
  a.catalog-product-card__series-name:focus-visible,
  a.catalog-product-card__brand-name:hover,
  a.catalog-product-card__brand-name:focus-visible {
    background: transparent;
    border-color: transparent;
    color: #256f3c;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: none;
  }

  .catalog-product-card__series-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #dbe2ee;
    color: #6b7382;
    font-size: .72rem;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .catalog-product-card__series-link:hover,
  .catalog-product-card__series-link:focus-visible {
    background: #f5f7fb;
    border-color: #cfd7e6;
    color: #4a5362;
  }

  .product-series {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 6px 0 16px;
    color: #6b7382;
  }

  .product-series__label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #9aa3b7;
  }

  .product-series__name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #2f7d45;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  a.product-series__name:hover,
  a.product-series__name:focus-visible {
    background: transparent;
    border-color: transparent;
    color: #256f3c;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: none;
  }

  .product-series__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #dbe2ee;
    color: #6b7382;
    font-size: .75rem;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }

  .product-series__link:hover,
  .product-series__link:focus-visible {
    background: #f5f7fb;
    border-color: #cfd7e6;
    color: #4a5362;
  }

  @media (max-width: 991.98px) {

    .catalog-product-card__series-name,
    .product-series__name {
      background: transparent;
      border-color: transparent;
      box-shadow: none;
    }

    a.catalog-product-card__series-name,
    a.product-series__name {
      text-decoration: none;
    }
  }

  @media (max-width: 575.98px) {
    .catalog-product-card__series-name {
      font-size: .74rem;
      padding: 4px 11px;
    }

    .product-series__name {
      font-size: .82rem;
      padding: 4px 12px;
    }
  }

  /* "от" — мелкое и спокойное */
  .catalog-price__label {
    font-size: .8rem;
    color: #7c8593;
    text-transform: lowercase;
  }

  /* основное внимание — на цифру */
  .catalog-price__value {
    color: #686f7d;
    line-height: 1;
  }

  /* ₽ — спокойно, не орёт */
  .catalog-price__currency {
    font-size: .9rem;
    color: #6c7685;
  }

  .catalog-price.has-personal-price {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .catalog-price__old,
  .product-price-block__old {
    color: #9aa3b2;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
  }

  .catalog-price.has-personal-price .catalog-price__value,
  .product-price-block.has-personal-price .product-price-block__value {
    color: #2f7d45;
  }

  .product-price-block .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
  }

  /* ===== Badge "Необходима доукомплектация" — микро, чистый ===== */
  .catalog-product-card .catalog-product-card__media {
    position: relative;
    border-radius: 16px;
    background: #fff;
    padding: 12px;
    overflow: hidden;
    box-shadow: none !important;
    /* убираем любые тени вокруг */
  }

  .catalog-product-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .catalog-product-card__link:hover {
    color: inherit;
  }

  @media (max-width: 767.98px) {
    #catalog-products-grid {
      --bs-gutter-x: 1rem;
      --bs-gutter-y: 1rem;
    }

    #catalog-products-grid > [class*="col-"] {
      display: flex;
    }

    #catalog-products-grid .catalog-product-card {
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: 10px;
      padding: 12px;
      border: 1px solid rgba(104, 111, 125, 0.18);
      border-radius: 14px !important;
      background: #fff;
      box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
    }

    #catalog-products-grid .catalog-product-card__link {
      order: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    #catalog-products-grid .catalog-product-card__link .mt-3 {
      margin-top: 0 !important;
    }

    #catalog-products-grid .catalog-product-card .catalog-product-card__media {
      min-height: 156px;
      aspect-ratio: 1 / 0.72;
      margin: 0;
      padding: 12px !important;
      border-radius: 12px !important;
    }

    #catalog-products-grid .product-name-title {
      margin-bottom: 0 !important;
      font-size: 1rem;
      line-height: 1.25;
    }

    #catalog-products-grid .catalog-price {
      margin-top: 6px;
      min-height: 24px;
      align-items: flex-start;
    }

    #catalog-products-grid .catalog-price__current {
      line-height: 1.15;
    }

    #catalog-products-grid .catalog-price__currency {
      flex: 0 0 auto;
    }

    #catalog-products-grid .catalog-product-card__series {
      order: 3;
      margin-top: 0;
    }

    #catalog-products-grid .catalog-product-card__series--empty {
      display: none;
    }

    #catalog-products-grid .catalog-product-card__brand {
      order: 4;
      margin-top: 0;
    }

    #catalog-products-grid .catalog-product-card__swatches {
      order: 5;
      margin-top: 0;
    }

    #catalog-products-grid .catalog-product-card__swatch-rows {
      order: 6;
      margin-top: 0;
    }

    #catalog-products-grid .catalog-product-card > .product-action-group {
      order: 10;
      width: 100%;
      margin-top: 2px;
    }
  }

  .catalog-product-card .catalog-product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;

    display: inline-flex;
    align-items: center;

    padding: 4px 10px;
    border-radius: 4px;

    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(68, 82, 102, .35) !important;
    color: #686f7d !important;

    font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.9rem);
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;

    pointer-events: none;
    z-index: 2;
  }

  @media (max-width: 767.98px) {
    .catalog-product-card .catalog-product-card__badges {
      position: absolute;
      inset: 8px auto auto 8px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      max-width: calc(100% - 16px);
      pointer-events: none;
      z-index: 3;
    }

    .catalog-product-card .catalog-product-card__status-badge,
    .catalog-product-card .catalog-product-card__badge {
      position: static;
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      font-size: 0.68rem;
      line-height: 1.15;
      letter-spacing: 0;
      text-transform: none;
    }

    .catalog-product-card__series,
    .catalog-product-card__brand {
      min-height: 0;
      align-items: flex-start;
      gap: 4px 6px;
    }

    .catalog-product-card__series-name,
    .catalog-product-card__brand-name,
    .catalog-product-card__series-link {
      max-width: 100%;
      justify-content: flex-start;
      white-space: normal;
      overflow-wrap: anywhere;
      line-height: 1.25;
      text-align: left;
    }
  }

  /* гарантированно без точки */
  .catalog-product-card .catalog-product-card__badge::before {
    content: none !important;
  }

  /* ===== Product promo icon ===== */
  .catalog-product-card__flag {
    position: absolute;
    left: calc(var(--promo-box-x, 0px) + var(--promo-box-w, 100%) * (var(--promo-x, 92) / 100));
    top: calc(var(--promo-box-y, 0px) + var(--promo-box-h, 100%) * (var(--promo-y, 8) / 100));
    transform: translate(-50%, -50%);
    z-index: 2;

    width: var(--promo-size, 56px);
    height: var(--promo-size, 56px);
    border-radius: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    pointer-events: none;
  }

  .catalog-product-card__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
  }

  /* ===== Свотчи в списке товаров ===== */
  .catalog-product-card__swatch-rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.35rem;
  }

  .catalog-product-card__swatch-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .catalog-product-card__swatch-title {
    font-size: 0.8rem;
    color: #6c7685;
  }

  .catalog-product-card__swatches--all {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
  }

  .catalog-product-card__swatch-rows .catalog-product-card__swatch-text-option {
    font-size: 0.8rem;
    color: #6c7685;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #eef1f4;
  }

  .catalog-product-card__swatch-rows .catalog-product-card__swatch-text-option.is-active {
    background: #445266;
    color: #fff;
  }




  /* пагинация под списком товаров начало */
  /* контейнер */
  .pagination {
    gap: 12px;
  }

  /* убираем bootstrap-кнопки */
  .pagination .page-link {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    color: #b5b5b5;
  }

  /* активная страница */
  .pagination .page-item.active .page-link {
    color: #000;
    border: 1px solid #000;
    border-radius: 8px;
  }

  /* стрелки */
  .pagination .page-link[aria-label] {
    font-size: 18px;
  }

  /* hover */
  .pagination a.page-link:hover {
    color: #000;
  }

  /* disabled */
  .pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
  }

  /* пагинация под списком товаров конец */

  /* === FIX TOOLTIP FOR SWATCHES === */


  .article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }

  .article-content img {
    max-width: 100%;
    height: auto;
  }


  #catalog.py-5 {
    /* Стабильный зазор между блоком слайдера и заголовком каталога на всех ширинах. */
    padding-top: clamp(6px, 0.9vw, 12px) !important;
    padding-bottom: clamp(32px, 5vw, 56px) !important;
  }


  /* =========================================================
   HERO BALLOONS — premium, calm, responsive, no overlap
   ========================================================= */

  .hero-section--with-balloons {
    --hero-menu-safe-top: clamp(104px, 12.5vh, 148px);
    --hero-balloon-padding: 5px;
    --hero-balloon-max-text-width: 42ch;
    --hero-balloon-font-family: "Segoe UI", "Noto Sans", sans-serif;
    --hero-balloon-font-weight: 500;
    --hero-balloon-font-size: 22px;
    --hero-balloon-mobile-font-size: 15px;
    --hero-balloon-text-color: #F5F7FA;
    --hero-balloon-radius: 8px;
    --hero-balloon-overlay-opacity: 0.82;
    --hero-balloon-overlay-opacity-soft: 0.76;
    --hero-balloon-backdrop-blur: 10px;
    --hero-balloon-shadow-main-alpha: 0.340;
    --hero-balloon-shadow-inset-alpha: 0.060;
    position: relative;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    background: transparent;
  }

  .hero-section--with-balloons .hero-bg-video {
    position: relative;
    inset: auto;
    width: 100%;
    z-index: 0;
    line-height: 0;
    pointer-events: auto;
  }

  .hero-section--with-balloons .hero-bg-video video {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-section--with-balloons::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Убираем наложение, чтобы анимация видео читалась без затемнения/размытия. */
    background: none;
  }

  .hero-section--with-balloons::after {
    pointer-events: none;
  }

  .hero-bottom-fade {
    /* Полностью отключаем нижний blur/fade слой по требованию. */
    display: none;
  }

  .hero-section--with-balloons .top-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    pointer-events: none;
  }

  .hero-section--with-balloons .top-navbar a,
  .hero-section--with-balloons .top-navbar button,
  .hero-section--with-balloons .top-navbar .dropdown-menu {
    pointer-events: auto;
  }

  .hero-section--with-balloons .top-navbar .navbar-nav > .nav-item > .nav-link,
  .hero-section--with-balloons .top-navbar .navbar-nav > .nav-item > .nav-link > i,
  .hero-section--with-balloons .top-navbar .navbar-nav > .nav-item > .nav-link > span {
    color: var(--hero-menu-text-color, #fff) !important;
  }

  .hero-section--with-balloons .top-navbar--item-backdrops .navbar-nav > .nav-item > .nav-link {
    border-radius: 8px;
    background: var(--hero-menu-backdrop, rgba(24, 28, 32, 0.62));
    color: var(--hero-menu-text-color, #fff) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero-section--with-balloons .top-navbar--item-backdrops .navbar-nav > .nav-item > .nav-link:hover,
  .hero-section--with-balloons .top-navbar--item-backdrops .navbar-nav > .nav-item > .nav-link:focus-visible {
    background: var(--hero-menu-backdrop, rgba(24, 28, 32, 0.62)) !important;
    color: var(--hero-menu-text-color, #fff) !important;
  }

  .hero-section--with-balloons .top-navbar--item-backdrops .navbar-nav > .nav-item > .nav-link > i,
  .hero-section--with-balloons .top-navbar--item-backdrops .navbar-nav > .nav-item > .nav-link > span {
    color: var(--hero-menu-text-color, #fff) !important;
  }

  .hero-section--with-balloons .top-navbar::after {
    display: none;
    content: none;
  }

  @media (min-width: 1200px) {
    .hero-section--with-balloons .top-navbar {
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }

  .hero-balloons {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    /* Всплывающий текст остаётся только внутри зоны анимации. */
    overflow: hidden;
  }

  /* Слоты занимают всю зону hero, а конкретные координаты задаёт JS. */
  .hero-balloon-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
  }

  .hero-balloon {
    position: absolute;
    top: var(--balloon-top, 50%);
    left: var(--balloon-left, 50%);
    display: inline-block;
    width: auto;
    max-width: min(var(--hero-balloon-max-text-width), calc(100vw - 40px));
    min-height: 0;
    padding: var(--hero-balloon-padding);
    border-radius: var(--hero-balloon-radius);
    border: 1px solid rgba(150, 160, 180, 0.36);
    background: linear-gradient(180deg,
        rgba(32, 38, 48, var(--hero-balloon-overlay-opacity)) 0%,
        rgba(24, 29, 38, var(--hero-balloon-overlay-opacity-soft)) 100%);
    backdrop-filter: blur(var(--hero-balloon-backdrop-blur)) saturate(105%);
    -webkit-backdrop-filter: blur(var(--hero-balloon-backdrop-blur)) saturate(105%);
    box-shadow:
      0 18px 34px rgba(8, 13, 21, var(--hero-balloon-shadow-main-alpha)),
      0 1px 0 rgba(255, 255, 255, var(--hero-balloon-shadow-inset-alpha)) inset;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) translateY(14px) scale(0.972);
    transition:
      opacity 0.56s cubic-bezier(.22, .61, .36, 1),
      transform 0.56s cubic-bezier(.22, .61, .36, 1),
      visibility 0s linear 0.56s;
    will-change: opacity, transform;
    overflow: hidden;
  }

  .hero-balloon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 55%,
        rgba(255, 255, 255, 0.05) 100%);
  }

  .hero-balloon.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0) scale(1);
    transition:
      opacity 0.56s cubic-bezier(.22, .61, .36, 1),
      transform 0.56s cubic-bezier(.22, .61, .36, 1),
      visibility 0s linear 0s;
  }

  .hero-balloon p {
    position: relative;
    display: inline-block;
    z-index: 1;
    margin: 0;
    width: fit-content;
    max-width: min(var(--hero-balloon-max-text-width), calc(100vw - 50px));
    font-size: clamp(16px, 1.5vw, var(--hero-balloon-font-size));
    line-height: 1.34;
    font-family: var(--hero-balloon-font-family);
    font-weight: var(--hero-balloon-font-weight);
    letter-spacing: 0.004em;
    color: var(--hero-balloon-text-color);
    text-shadow: 0 1px 7px rgba(0, 0, 0, 0.32);
    text-align: center;
    white-space: pre-line;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  /* мобильный тикер под видео */
  .hero-mobile-ticker {
    display: none;
    position: relative;
    z-index: 6;
    /* Держим подпись под первым изображением без наезда на него при ресайзе. */
    margin-top: clamp(6px, 1.2vw, 12px);
    padding-bottom: clamp(8px, 2vw, 14px);
    background: #fff;
  }

  .hero-mobile-ticker__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(115, 126, 146, 0.24);
    background:
      linear-gradient(180deg, rgba(247, 249, 252, 0.96) 0%, rgba(241, 245, 250, 0.96) 100%);
    box-shadow:
      0 8px 20px rgba(25, 33, 46, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
    min-height: 38px;
  }

  .hero-mobile-ticker__line {
    margin: 0;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(0, -50%);
    white-space: nowrap;
    padding: 8px 0;
    font-family: var(--hero-balloon-font-family);
    font-size: clamp(12px, 3.2vw, var(--hero-balloon-mobile-font-size));
    line-height: 1.2;
    letter-spacing: 0.01em;
    font-weight: var(--hero-balloon-font-weight);
    color: #465062;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    will-change: transform;
  }

  .hero-mobile-ticker__line.is-running {
    animation: heroTickerRun 6.8s linear forwards;
  }

  @keyframes heroTickerRun {
    0% {
      transform: translate(0, -50%);
    }

    100% {
      transform: translate(calc(-100% - 110vw), -50%);
    }
  }


  @media (max-width: 1199.98px) {
    .hero-section--with-balloons {
      min-height: 0;
      display: block;
      overflow: hidden;
    }

    .hero-section--with-balloons .hero-bg-video {
      position: relative;
      inset: auto;
      width: 100%;
      z-index: 0;
    }

    .hero-section--with-balloons .top-navbar {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 3000;
    }

    .hero-balloons--desktop {
      display: block;
    }

    .hero-mobile-ticker {
      display: none;
    }

    .hero-bottom-fade {
      height: clamp(64px, 10vw, 112px);
    }
  }

  /* Планшеты ~10"+: плашки на видео, но компактнее */
  @media (min-width: 768px) and (max-width: 1199.98px) {
    .hero-balloon p {
      font-size: clamp(14px, 1.8vw, 19px);
      line-height: 1.3;
    }
  }

  /* Телефоны: одна бегущая строка под видео */
  @media (max-width: 767.98px) {
    .hero-section--with-balloons {
      /* На телефонах высота берётся от видео, без искусственного min-height. */
      min-height: 0;
      display: block;
      overflow: hidden;
    }

    .hero-section--with-balloons .hero-bg-video {
      position: relative;
      inset: auto;
    }

    .hero-balloons--desktop {
      display: none;
    }

    .hero-mobile-ticker {
      display: block;
      margin-top: 0;
      margin-bottom: clamp(12px, 3vw, 20px);
    }

    .hero-mobile-ticker__viewport {
      /* На мобилке полоска на всю ширину экрана, без боковых отступов контейнера. */
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      border: 0;
      border-radius: 0;
      background: rgba(120, 132, 151, 0.22);
      box-shadow: none;
      height: 40px;
      min-height: 40px;
    }

    .hero-mobile-ticker__viewport::after {
      display: none;
    }

    .hero-mobile-ticker__line {
      color: #5b677c;
      text-shadow: none;
      font-weight: 500;
      background: transparent;
      line-height: 40px;
      padding: 0;
    }

    .hero-bottom-fade {
      height: clamp(52px, 13vw, 84px);
    }
  }


  /* Доступность */
  @media (prefers-reduced-motion: reduce) {
    .hero-balloon {
      transition: none;
    }

    .hero-mobile-ticker__line.is-running {
      animation: none;
    }
  }

  @media (max-width: 1199.98px) {

    html.mobile-nav-open,
    body.mobile-nav-open {
      overflow: hidden;
    }

    .top-navbar::before,
    .top-navbar::after {
      display: none;
    }

    .scroll-hint {
      display: none;
    }

    .top-navbar,
    .main-navbar {
      z-index: 3200;
    }

    .top-navbar.mobile-menu-open,
    .main-navbar.mobile-menu-open {
      z-index: 2147483000 !important;
      transition: none !important;
    }

    .top-navbar.mobile-menu-open {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
    }

    .top-navbar.mobile-menu-open.hidden {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0) !important;
    }

    .main-navbar.mobile-menu-open {
      top: 0 !important;
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    html.mobile-nav-open .top-navbar,
    html.mobile-nav-open .main-navbar,
    html.mobile-nav-open .top-navbar.hidden,
    html.mobile-nav-open .main-navbar.visible,
    html.mobile-nav-open[data-ready] .top-navbar,
    html.mobile-nav-open[data-ready] .top-navbar .nav-link,
    html.mobile-nav-open[data-ready] .main-navbar,
    html.mobile-nav-open[data-ready] .main-navbar .nav-link {
      transform: none !important;
    }

    html.mobile-nav-open .hero-section--with-balloons {
      overflow: visible !important;
    }

    .top-navbar .container,
    .main-navbar .container {
      position: relative;
    }

    .top-navbar .navbar-toggler,
    .main-navbar .navbar-toggler {
      position: relative;
      z-index: 2147483002;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.32);
      background: rgba(255, 255, 255, 0.12);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .main-navbar .navbar-toggler {
      border-color: rgba(45, 51, 67, 0.16);
      background: rgba(255, 255, 255, 0.92);
    }

    .top-navbar .navbar-collapse,
    .top-navbar .navbar-collapse.show,
    .top-navbar .navbar-collapse.collapsing,
    .main-navbar .navbar-collapse,
    .main-navbar .navbar-collapse.show,
    .main-navbar .navbar-collapse.collapsing {
      position: fixed !important;
      inset: 0 !important;
      margin-top: 0 !important;
      border-radius: 0 !important;
      border: 0 !important;
      box-sizing: border-box;
      height: 100dvh !important;
      min-height: 100dvh !important;
      padding:
        calc(env(safe-area-inset-top, 0px) + 92px) clamp(18px, 6vw, 36px) calc(env(safe-area-inset-bottom, 0px) + 26px);
      background:
        linear-gradient(160deg,
          rgba(247, 249, 253, 0.98) 0%,
          rgba(234, 239, 247, 0.98) 100%) !important;
      box-shadow: none !important;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      max-height: 100dvh;
      opacity: 0;
      visibility: hidden;
      transform: none;
      transition: opacity 0.2s ease;
      pointer-events: none;
      z-index: 2147483001 !important;
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }

    .top-navbar .navbar-collapse.show,
    .main-navbar .navbar-collapse.show,
    .top-navbar .navbar-collapse.collapsing,
    .main-navbar .navbar-collapse.collapsing {
      opacity: 1;
      visibility: visible !important;
      display: block !important;
      transform: none;
      pointer-events: auto;
    }

    .top-navbar .navbar-collapse.collapsing,
    .main-navbar .navbar-collapse.collapsing {
      height: 100dvh !important;
      min-height: 100dvh !important;
      transition: none !important;
    }

    .top-navbar .navbar-collapse .navbar-nav,
    .main-navbar .navbar-collapse .navbar-nav {
      width: min(560px, 100%);
      margin: 0 auto !important;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: clamp(8px, 1.8vh, 14px);
    }

    .top-navbar .navbar-collapse .navbar-nav .nav-item,
    .main-navbar .navbar-collapse .navbar-nav .nav-item {
      width: 100%;
    }

    .top-navbar .navbar-collapse .navbar-nav .nav-link,
    .main-navbar .navbar-collapse .navbar-nav .nav-link {
      margin: 0 !important;
      padding: clamp(14px, 2.1vh, 18px) clamp(16px, 3.2vw, 26px) !important;
      border-radius: 14px;
      border: 1px solid rgba(72, 83, 104, 0.14);
      background: rgba(255, 255, 255, 0.78);
      color: #2c3545 !important;
      font-size: clamp(16px, 2.2vh, 22px);
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      text-align: left;
      box-shadow: 0 8px 22px rgba(17, 26, 40, 0.07);
    }

    .top-navbar .navbar-collapse .navbar-nav .nav-link:hover,
    .top-navbar .navbar-collapse .navbar-nav .nav-link:focus,
    .main-navbar .navbar-collapse .navbar-nav .nav-link:hover,
    .main-navbar .navbar-collapse .navbar-nav .nav-link:focus {
      color: #1d2738 !important;
      border-color: rgba(35, 52, 80, 0.22);
      background: rgba(255, 255, 255, 0.95) !important;
    }


  }

  .product-price-block__discount {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eaf7ee;
    color: #237a3a;
    font-size: 13px;
    font-weight: 700;
  }

  .catalog-price__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eaf7ee;
    color: #237a3a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
/* Cart */
.cart-nav__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  body.page-catalog-list #catalog-products-grid .catalog-product-card {
    padding: 10px 12px 12px !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card__link {
    display: grid !important;
    grid-template-columns: 124px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto auto !important;
    gap: 5px 12px !important;
    align-items: start !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card .catalog-product-card__media {
    grid-column: 1 !important;
    grid-row: 2 / 6 !important;
    width: 124px !important;
    height: 124px !important;
    min-height: 124px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card__media .catalog-product-card__badges {
    display: none !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card__mobile-badges {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    justify-self: end !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 20px !important;
    margin: 0 0 1px !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card:not(.has-mobile-badges) .catalog-product-card__mobile-badges {
    display: none !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card__mobile-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    max-width: 168px !important;
    width: fit-content !important;
    min-height: 16px !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    color: var(--badge-text, #fff) !important;
    background: var(--badge-bg, #4CAF50) !important;
    border: 1px solid var(--badge-border, transparent) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere !important;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.22) !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-product-card__mobile-status-badge + .catalog-product-card__mobile-status-badge {
    margin-left: -10px !important;
  }

  body.page-catalog-list #catalog-products-grid .list-product-sku,
  body.page-catalog-list #catalog-products-grid .product-name-title,
  body.page-catalog-list #catalog-products-grid .catalog-price,
  body.page-catalog-list #catalog-products-grid .catalog-stock {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  body.page-catalog-list #catalog-products-grid .list-product-sku {
    grid-row: 2 !important;
    justify-self: stretch !important;
    width: 100% !important;
    text-align: right !important;
  }

  body.page-catalog-list #catalog-products-grid .list-product-sku__badge {
    color: #1f6f35 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  body.page-catalog-list #catalog-products-grid .product-name-title {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-price {
    grid-row: 3 !important;
    justify-self: stretch !important;
    width: 100% !important;
    margin-top: 1px !important;
    align-items: flex-end !important;
    text-align: right !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-stock {
    grid-row: 4 !important;
    justify-self: stretch !important;
    margin-top: 3px !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }

  body.page-catalog-list #catalog-products-grid .catalog-stock__summary,
  body.page-catalog-list #catalog-products-grid .catalog-stock__empty {
    margin-left: auto !important;
    margin-right: 0 !important;
    align-items: flex-end !important;
    width: 100% !important;
    text-align: right !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.page-catalog-list #catalog-products-grid .product-action-group {
    margin-top: 8px !important;
  }

  body.page-catalog-list #catalog-products-grid .product-action-group .cart-add-button {
    font-weight: 800 !important;
  }
}

/* B2B order actions are shared by local and portal order lists. */
body.page-b2b-orders .b2b-order__cell--action {
  display: block !important;
  min-width: 0 !important;
  padding: 6px !important;
  text-align: center !important;
}

body.page-b2b-orders a.b2b-order__open {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 36px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  place-items: center !important;
  border: 1px solid var(--hogart-green, #69b52c) !important;
  border-radius: 5px !important;
  padding: 5px 8px !important;
  background: var(--hogart-green, #69b52c) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-b2b-orders a.b2b-order__open:hover,
body.page-b2b-orders a.b2b-order__open:focus-visible {
  border-color: var(--hogart-green-dark, #3d8f17) !important;
  background: var(--hogart-green-dark, #3d8f17) !important;
}

@media (max-width: 1280px) {
  body.page-b2b-orders .b2b-orders,
  body.page-b2b-orders .b2b-orders__shell,
  body.page-b2b-orders .b2b-orders__table,
  body.page-b2b-orders .b2b-orders__table-body,
  body.page-b2b-orders .b2b-order {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.page-b2b-orders .b2b-orders__shell,
  body.page-b2b-orders .b2b-orders__table,
  body.page-b2b-orders .b2b-orders__table-body,
  body.page-b2b-orders .b2b-order {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page-b2b-orders .b2b-orders__table--company .b2b-order,
  body.page-b2b-orders .b2b-order {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 128px) !important;
  }

  body.page-b2b-orders .b2b-order__cell--action {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-bottom: 0 !important;
    padding: 0 12px 12px !important;
    overflow: hidden !important;
  }

  body.page-b2b-orders a.b2b-order__open {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
  }
}

.hogart-home {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(24px, 4vw, 56px) 0 clamp(10px, 2vw, 20px);
}

.hogart-home--sticky_tab {
  gap: 0;
  padding: 0;
}

.hogart-home__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hogart-home-tile {
  border: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-radius: 6px;
  padding: 16px 22px;
  color: #18211d;
  text-decoration: none;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: left;
  cursor: pointer;
}

.hogart-home-tile:hover {
  color: #18211d;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 58, 48, .12);
}

.hogart-home-tile--red {
  background: linear-gradient(105deg, #fbf6f2 0%, #f2c9c9 48%, #dd3c3c 100%);
}

.hogart-home-tile--green {
  background: linear-gradient(105deg, #fbf8ef 0%, #dce9d5 48%, #9eb890 100%);
}

.hogart-home-tile--orange {
  background: linear-gradient(105deg, #fff8ed 0%, #ffd9b5 48%, #ff865f 100%);
}

.hogart-home-tile__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(79, 126, 58, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .64);
  color: #67ad35;
  font-size: 25px;
  overflow: hidden;
}

.hogart-home-tile__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.hogart-home-tile small {
  display: block;
  margin-top: 4px;
  color: rgba(24, 33, 29, .66);
  font-size: 12px;
  font-weight: 760;
}

.hogart-home-bookmarks {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 2147483010;
  width: 52px;
  height: 92px;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hogart-home-bookmarks__label {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 3;
  width: 52px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 10px 7px;
  overflow: hidden;
  border: 1px solid rgba(47, 125, 72, .2);
  border-left: 0;
  border-right: 3px solid rgba(255, 139, 97, .92);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, .9) 0%, rgba(232, 244, 226, .78) 100%);
  color: #326d3d;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(30, 73, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(1.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
  transform: translateY(-50%);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .38s cubic-bezier(.2, .82, .24, 1), box-shadow .2s ease;
}

.hogart-home-bookmarks__label-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #62ad45 0%, #347a42 100%);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 7px 16px rgba(47, 125, 72, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.hogart-home-bookmarks__label > .fa-chevron-right {
  color: rgba(50, 109, 61, .68);
  font-size: 10px;
  transition: transform .22s ease;
}

.hogart-home-bookmarks__panel {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  display: grid;
  width: min(348px, calc(100vw - 58px));
  max-height: calc(100vh - 32px);
  box-sizing: border-box;
  padding: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(47, 125, 72, .15);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, .975);
  box-shadow: 0 24px 58px rgba(24, 42, 31, .22), 0 3px 12px rgba(24, 42, 31, .08);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(-100% - 18px), -50%) scale(.98);
  transform-origin: left center;
  transition: transform .38s cubic-bezier(.2, .82, .24, 1), opacity .18s ease;
}

.hogart-home-bookmarks:has(:focus-visible) .hogart-home-bookmarks__panel,
.hogart-home-bookmarks.is-touch-open .hogart-home-bookmarks__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.hogart-home-bookmarks:has(:focus-visible) .hogart-home-bookmarks__label,
.hogart-home-bookmarks.is-touch-open .hogart-home-bookmarks__label {
  box-shadow: 0 16px 38px rgba(30, 73, 42, .24), inset 0 1px 0 rgba(255, 255, 255, .72);
  transform: translate(min(348px, calc(100vw - 58px)), -50%);
}

.hogart-home-bookmarks:has(:focus-visible) .hogart-home-bookmarks__label > .fa-chevron-right,
.hogart-home-bookmarks.is-touch-open .hogart-home-bookmarks__label > .fa-chevron-right {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .hogart-home-bookmarks:hover .hogart-home-bookmarks__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%) scale(1);
  }

  .hogart-home-bookmarks:hover .hogart-home-bookmarks__label {
    box-shadow: 0 16px 38px rgba(30, 73, 42, .24), inset 0 1px 0 rgba(255, 255, 255, .72);
    transform: translate(min(348px, calc(100vw - 58px)), -50%);
  }

  .hogart-home-bookmarks:hover .hogart-home-bookmarks__label > .fa-chevron-right {
    transform: rotate(180deg);
  }
}

.hogart-home-bookmarks__head {
  display: grid;
  gap: 2px;
  min-height: 66px;
  align-content: center;
  padding: 7px 12px 8px;
  border-bottom: 1px solid rgba(47, 125, 72, .12);
}

.hogart-home-bookmarks__head strong {
  color: #26452d;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.15;
}

.hogart-home-bookmarks__head span {
  color: #718076;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.hogart-home-bookmark {
  --bookmark-accent: #73ae39;
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 6px;
  overflow: hidden;
  background: transparent;
  color: #18211d;
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.18;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: color .18s ease,
              border-color .18s ease,
              background-color .18s ease,
              box-shadow .22s ease;
}

.hogart-home-bookmark + .hogart-home-bookmark::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  width: 36px;
  height: 1px;
  background: rgba(47, 125, 72, .12);
  transition: opacity .16s ease;
}

.hogart-home-bookmark::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 1px;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: var(--bookmark-accent);
  opacity: .72;
  transition: height .18s ease, top .18s ease, opacity .18s ease;
}

.hogart-home-bookmark:hover,
.hogart-home-bookmark:focus-visible,
.hogart-home-bookmark.is-touch-expanded {
  z-index: 2;
  color: #18211d;
  border-color: rgba(47, 125, 72, .16);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 18px 42px rgba(24, 42, 31, .2), 0 3px 10px rgba(24, 42, 31, .08);
  outline: 0;
}

.hogart-home-bookmark:hover::before,
.hogart-home-bookmark:focus-visible::before,
.hogart-home-bookmark.is-touch-expanded::before {
  opacity: 0;
}

.hogart-home-bookmark:hover::after,
.hogart-home-bookmark:focus-visible::after,
.hogart-home-bookmark.is-touch-expanded::after {
  top: 12px;
  height: 34px;
  opacity: 1;
}

.hogart-home-bookmark--red {
  --bookmark-accent: #e94b4b;
}

.hogart-home-bookmark--green {
  --bookmark-accent: #8fb27e;
}

.hogart-home-bookmark--orange {
  --bookmark-accent: #ff8b61;
}

.hogart-home-bookmark__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f2f7ef;
  color: #67ad35;
  font-size: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(47, 125, 72, .08);
  transition: background-color .18s ease, box-shadow .18s ease, transform .22s ease;
}

.hogart-home-bookmark:hover .hogart-home-bookmark__icon,
.hogart-home-bookmark:focus-visible .hogart-home-bookmark__icon,
.hogart-home-bookmark.is-touch-expanded .hogart-home-bookmark__icon {
  background: #eaf4e5;
  box-shadow: inset 0 0 0 1px rgba(47, 125, 72, .14);
  transform: scale(1.04);
}

.hogart-home-bookmark__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.hogart-home-bookmark__text {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
  opacity: 1;
}

.hogart-home-bookmark small {
  display: block;
  margin-top: 3px;
  color: #5d8153;
  font-size: 13px;
  font-weight: 760;
}

@media (prefers-reduced-motion: reduce) {
  .hogart-home-bookmark,
  .hogart-home-bookmark::before,
  .hogart-home-bookmark::after,
  .hogart-home-bookmark__icon,
  .hogart-home-bookmark__text,
  .hogart-home-bookmarks,
  .hogart-home-bookmarks__label,
  .hogart-home-bookmarks__label > .fa-chevron-right,
  .hogart-home-bookmarks__panel {
    transition: none;
  }
}

.hogart-home-mobile-trigger,
.hogart-home-mobile-panel {
  display: none;
}

.hogart-home-mobile-trigger {
  position: fixed;
  left: 0;
  top: clamp(118px, 28vh, 220px);
  z-index: 2147483010;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-height: 58px;
  border: 0;
  border-right: 4px solid #73ae39;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: #1f2424;
  padding: 0;
  font: inherit;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(31, 46, 36, .18);
}

.hogart-home-mobile-trigger__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef7e8;
  color: #4d9131;
  font-size: 18px;
}

.hogart-home-mobile-trigger__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.hogart-home-mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 2147483020;
}

.hogart-home-mobile-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 24, 32, .46);
}

.hogart-home-mobile-panel__sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f6f8f5;
  overflow: hidden;
  animation: hogartMobilePanelIn .2s ease both;
}

@keyframes hogartMobilePanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hogart-home-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px 12px;
  border-bottom: 1px solid #dde6d9;
  background: #fff;
}

.hogart-home-mobile-panel__head strong,
.hogart-home-mobile-panel__head span {
  display: block;
}

.hogart-home-mobile-panel__head strong {
  color: #1f2424;
  font-size: 21px;
  line-height: 1.1;
}

.hogart-home-mobile-panel__head span {
  margin-top: 3px;
  color: #6c7471;
  font-size: 13px;
  line-height: 1.3;
}

.hogart-home-mobile-panel__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #dce6d7;
  border-radius: 8px;
  background: #fff;
  color: #24302c;
}

.hogart-home-mobile-panel__list {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 8px 6px calc(18px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

.hogart-home-mobile-card {
  --mobile-card-accent: #73ae39;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  box-sizing: border-box;
  border: 1px solid #e0e7dd;
  border-left: 5px solid var(--mobile-card-accent);
  border-radius: 8px;
  background: #fff;
  padding: 8px 8px 8px 10px;
  color: #1f2424;
  text-align: left;
  box-shadow: 0 8px 18px rgba(31, 46, 36, .08);
  overflow: hidden;
}

.hogart-home-mobile-card--red {
  --mobile-card-accent: #e94b4b;
}

.hogart-home-mobile-card--green {
  --mobile-card-accent: #8fb27e;
}

.hogart-home-mobile-card--orange {
  --mobile-card-accent: #ff8b61;
}

.hogart-home-mobile-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f3f8ef;
  color: #4d9131;
  overflow: hidden;
}

.hogart-home-mobile-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hogart-home-mobile-card__text {
  display: grid;
  align-content: start;
  gap: 3px;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  padding-top: 0;
  height: auto;
  max-height: none;
  overflow: hidden;
}

.hogart-home-mobile-card__text strong {
  display: block;
  color: #26302a;
  font-size: clamp(14px, 3.55vw, 16px);
  font-weight: 760;
  line-height: 1.22;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.hogart-home-mobile-card__text small {
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #4d9131;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hogart-home-mobile-card > .fa-chevron-right {
  width: 24px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2424;
  font-size: 20px;
}

html.hogart-list-open,
html.hogart-list-open body {
  overflow: hidden;
}

.hogart-home-section {
  display: grid;
  gap: 18px;
}

.hogart-home-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.hogart-home-section__head h2 {
  margin: 0;
  color: #253029;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 520;
  line-height: 1;
}

.hogart-home-section__head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #667063;
  font-size: 15px;
  line-height: 1.45;
}

.hogart-home-section__head a {
  color: #5d9d34;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.hogart-news-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hogart-news-all,
.hogart-news-nav {
  border: 0;
  background: transparent;
  color: #5d9d34;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.hogart-news-all {
  padding: 0 8px;
  white-space: nowrap;
}

.hogart-news-nav {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #9aa3a0;
  box-shadow: 0 8px 18px rgba(31, 46, 36, .07);
}

.hogart-spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hogart-spec-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e0e7dd;
  border-radius: 6px;
  background: #fff;
  padding: 18px;
  color: #303a34;
  text-decoration: none;
}

.hogart-spec-card:hover {
  color: #303a34;
  border-color: #b9d7aa;
  box-shadow: 0 14px 32px rgba(39, 70, 35, .1);
}

.hogart-spec-card__badge {
  width: fit-content;
  border-radius: 4px;
  background: #eef7e8;
  padding: 4px 8px;
  color: #4d9131;
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.hogart-spec-card strong {
  color: #2e7e2e;
  font-size: 18px;
  line-height: 1.25;
}

.hogart-spec-card span:not(.hogart-spec-card__badge) {
  color: #59645e;
  font-size: 14px;
  line-height: 1.38;
}

.hogart-spec-card small {
  margin-top: auto;
  color: #8b958e;
  font-size: 12px;
  font-weight: 680;
}

.hogart-news-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(248px, 19vw, 292px);
  gap: 18px;
  border-radius: 6px;
  background: #fff;
  padding: clamp(18px, 2vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: clamp(18px, 2vw, 24px);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hogart-news-card {
  min-width: 0;
  width: 100%;
  display: grid;
  align-content: start;
  scroll-snap-align: start;
}

.hogart-news-card__media {
  height: 132px;
  aspect-ratio: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #73ae39;
  text-decoration: none;
  font-size: 28px;
  font-weight: 780;
  padding: 14px 0 0;
  cursor: pointer;
}

.hogart-news-card__media--empty {
  cursor: default;
  pointer-events: none;
}

.hogart-news-card__media img {
  width: auto;
  height: auto;
  max-width: min(100%, 260px);
  max-height: 92px;
  object-fit: contain;
  display: block;
}

.hogart-news-card__body {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding-top: 14px;
}

.hogart-news-card__body time {
  color: #a0a5a0;
  font-size: 14px;
  font-weight: 650;
}

.hogart-news-card__body a {
  display: inline;
  color: #4a9232;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}

.hogart-news-card__body button {
  border: 0;
  background: transparent;
  color: #2d342f;
  font: inherit;
  font-size: 17px;
  font-weight: 660;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
  cursor: pointer;
}

.hogart-news-card__body p {
  margin: 0;
  color: #56615b;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: normal;
}

.hogart-news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 14px;
}

.hogart-news-list-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  border: 1px solid #e0e7dd;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.hogart-news-list-card__media {
  height: 86px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 8px;
}

.hogart-news-list-card__media--empty {
  visibility: hidden;
}

.hogart-news-list-card__media img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.hogart-news-list-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.hogart-news-list-card__body time {
  color: #9ea5a0;
  font-size: 13px;
  font-weight: 700;
}

.hogart-news-list-card__body a,
.hogart-news-list-card__body button {
  border: 0;
  background: transparent;
  color: #2d342f;
  font: inherit;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.28;
  text-align: left;
  text-decoration: none;
  overflow-wrap: break-word;
  cursor: pointer;
}

.hogart-news-list-card__body p {
  margin: 0;
  color: #56615b;
  font-size: 14px;
  line-height: 1.45;
}

.hogart-modal-open {
  overflow: hidden;
}

html.hogart-modal-open body {
  overflow: hidden;
}

.hogart-infoblock-modal {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
}

.hogart-infoblock-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .58);
}

.hogart-infoblock-modal__panel {
  position: relative;
  width: min(100% - 64px, 1420px);
  max-height: calc(100vh - 72px);
  margin: 36px auto;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
  animation: hogartInfoblockPanelIn .22s ease both;
}

@supports (height: 100svh) {
  .hogart-infoblock-modal__panel {
    max-height: calc(100svh - 72px);
  }
}

.hogart-infoblock-modal--loaded-from-loader .hogart-infoblock-modal__panel {
  animation: none;
}

@keyframes hogartInfoblockPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hogart-infoblock-modal__head {
  min-height: 96px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid #d7d7d7;
  padding: 26px 34px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.hogart-infoblock-modal__head h2 {
  margin: 0;
  color: #262a28;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 760;
  line-height: 1.1;
}

.hogart-infoblock-modal__close {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 30px;
}

.hogart-infoblock-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(34px, 4.6vw, 68px) clamp(34px, 5.2vw, 82px);
  -webkit-overflow-scrolling: touch;
}

.hogart-infoblock-modal--loading .hogart-infoblock-modal__panel {
  width: min(100% - 48px, 420px);
  min-height: 310px;
}

.hogart-infoblock-loading {
  display: grid;
  place-items: center;
}

.hogart-infoblock-loading__body {
  width: 100%;
  min-height: 310px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px 28px 38px;
  text-align: center;
}

.hogart-infoblock-loading__rhino {
  width: min(190px, 72vw);
  height: 130px;
  object-fit: contain;
}

.hogart-infoblock-loading h2 {
  margin: 0;
  color: #262a28;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.15;
}

.hogart-infoblock-loading p {
  max-width: 300px;
  margin: 0;
  color: #626967;
  font-size: 14px;
  line-height: 1.45;
}

.hogart-infoblock-entry {
  display: grid;
  gap: 22px;
  margin-bottom: 42px;
}

.hogart-infoblock-entry:last-child {
  margin-bottom: 0;
}

.hogart-infoblock-entry__title {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #9a9a9a;
}

.hogart-infoblock-entry__title img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: .72;
}

.hogart-infoblock-entry__title h3 {
  margin: 0;
  color: #888;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
}

.hogart-infoblock-entry__content {
  max-width: 860px;
  color: #535d58;
  font-size: 17px;
  line-height: 1.55;
}

.hogart-infoblock-entry__links {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding-top: 4px;
}

.hogart-infoblock-entry__links a {
  color: #4b972b;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 720;
  line-height: 1.32;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hogart-infoblock-entry__links--direct {
  margin-top: -10px;
  margin-bottom: 8px;
}

.hogart-infoblock-directions {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e3e8e3;
  background: #fff;
  padding-bottom: 18px;
}

.hogart-infoblock-direction {
  --direction-accent: #7eb05f;
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #dde6dd;
  border-left: 5px solid var(--direction-accent);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 9px 12px 9px 10px;
  color: #3f4744;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 46, 36, .06);
}

.hogart-infoblock-direction:hover,
.hogart-infoblock-direction:focus-visible {
  border-color: rgba(126, 176, 95, .55);
  color: #2f7a3a;
  outline: 0;
  box-shadow: 0 14px 28px rgba(31, 46, 36, .1);
}

.hogart-infoblock-direction:nth-child(3n + 2) {
  --direction-accent: #6e9fc2;
}

.hogart-infoblock-direction:nth-child(3n) {
  --direction-accent: #e58b63;
}

.hogart-infoblock-direction__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f8ef;
  color: #4d9131;
  overflow: hidden;
}

.hogart-infoblock-direction__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.hogart-infoblock-direction__title {
  min-width: 0;
  color: inherit;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 760;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.hogart-infoblock-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  align-items: start;
  column-gap: clamp(44px, 6vw, 92px);
  row-gap: 34px;
}

.hogart-infoblock-section {
  display: grid;
  gap: 22px;
  min-width: 0;
  scroll-margin-top: 96px;
}

.hogart-infoblock-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #9a9a9a;
}

.hogart-infoblock-section__head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: .62;
}

.hogart-infoblock-section__head h3 {
  margin: 0;
  color: #8f9490;
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 720;
  line-height: 1.15;
}

.hogart-infoblock-section__columns {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

.hogart-infoblock-category {
  display: grid;
  gap: 8px;
  break-inside: avoid;
}

.hogart-infoblock-category summary {
  width: fit-content;
  margin: 0;
  color: #45505c;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 680;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.hogart-news-modal {
  display: grid;
  gap: 18px;
  color: #46515f;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 560;
  line-height: 1.7;
}

.hogart-news-modal time {
  color: #9ea5a0;
  font-size: 14px;
  font-weight: 700;
}

.hogart-news-modal__content p {
  margin: 0 0 14px;
}

.hogart-news-modal__content a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 2px;
  background: #75b531;
  padding: 9px 18px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
}

.home-feed-infoblock-modal {
  display: grid;
  gap: 24px;
  color: #46515f;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.65;
}

.home-feed-infoblock-modal time {
  color: #9ea5a0;
  font-size: 14px;
  font-weight: 700;
}

.home-feed-infoblock-modal__content {
  display: grid;
  gap: 18px;
}

.home-feed-infoblock-modal__content p,
.home-feed-infoblock-modal__content ul,
.home-feed-infoblock-modal__content ol {
  margin: 0;
}

.home-feed-infoblock-modal__content img {
  width: auto;
  max-width: 100%;
  max-height: min(680px, 70vh);
  display: block;
  margin: 4px auto;
  border-radius: 6px;
  object-fit: contain;
}

.home-feed-infoblock-modal__specs {
  display: grid;
  gap: 24px;
}

.home-feed-infoblock-spec {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid #dde3dd;
}

.home-feed-infoblock-spec__title {
  width: fit-content;
  color: #2d3343;
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
}

.home-feed-infoblock-spec__title:hover,
.home-feed-infoblock-spec__title:focus-visible {
  color: #2f7a3a;
  text-decoration: underline;
}

.home-feed-infoblock-spec__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.home-feed-infoblock-spec__gallery a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px solid rgba(80, 90, 110, .12);
  border-radius: 6px;
  background: #f7f8f7;
  padding: 10px;
}

.home-feed-infoblock-spec__gallery img {
  width: 100%;
  max-height: min(520px, 62vh);
  display: block;
  object-fit: contain;
}

.home-feed-offer-modal {
  display: grid;
  gap: 22px;
  color: #46515f;
  font-size: clamp(17px, 1.28vw, 21px);
  line-height: 1.65;
}

.home-feed-offer-modal__image {
  width: auto;
  max-width: 100%;
  max-height: min(680px, 68vh);
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.home-feed-offer-modal__body {
  display: grid;
  gap: 16px;
}

.home-feed-offer-modal time {
  color: #9ea5a0;
  font-size: 14px;
  font-weight: 700;
}

.home-feed-offer-modal p,
.home-feed-offer-modal__text p {
  margin: 0;
}

.home-feed-offer-modal__text {
  display: grid;
  gap: 14px;
}

.home-feed-offer-modal__button {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #75b531;
  padding: 11px 20px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
}

.home-feed-offer-modal__button:hover,
.home-feed-offer-modal__button:focus-visible {
  background: #5f9826;
}

.hogart-infoblock-category summary::-webkit-details-marker {
  display: none;
}

.hogart-infoblock-category summary::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #cfd4cf;
  vertical-align: middle;
  transform: translateY(-1px);
}

.hogart-infoblock-category[open] summary::after {
  border-top: 0;
  border-bottom: 6px solid #cfd4cf;
}

@media (max-width: 1199.98px) {
  .hogart-home__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hogart-spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 767.98px) {
  .hogart-home {
    padding-top: 18px;
  }

  .hogart-home__tiles,
  .hogart-spec-strip {
    grid-template-columns: 1fr;
  }

  .hogart-home-tile {
    min-height: 74px;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 12px 14px;
    font-size: 16px;
  }

  .hogart-home-tile__icon {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .hogart-infoblock-modal--loading .hogart-infoblock-modal__panel {
    width: min(100% - 28px, 380px);
    max-height: none;
    height: auto;
    min-height: 290px;
    margin: max(72px, 16vh) auto 0;
    border-radius: 6px;
  }

  @supports (height: 100svh) {
    .hogart-infoblock-modal--loading .hogart-infoblock-modal__panel {
      margin-top: max(72px, 16svh);
    }
  }

  .hogart-infoblock-modal__head {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .hogart-infoblock-modal__body {
    max-height: none;
    height: auto;
  }

  .hogart-infoblock-entry__title img {
    width: 54px;
    height: 54px;
  }

  .hogart-infoblock-section__columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hogart-infoblock-sections {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .hogart-infoblock-section {
    gap: 12px;
    border: 1px solid #e0e7dd;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
  }

  .hogart-infoblock-category {
    border: 1px solid #edf1ef;
    border-radius: 8px;
    background: #fbfcfa;
    overflow: hidden;
  }

  .hogart-infoblock-category summary {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hogart-infoblock-category summary::after {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .hogart-infoblock-entry__links {
    gap: 0;
    padding: 0 12px 12px;
  }

  .hogart-infoblock-entry__links a {
    width: 100%;
    border-top: 1px solid #edf1ef;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-decoration: none;
  }

  .hogart-infoblock-entry__links--direct {
    margin: 0;
    padding: 0;
  }

  .hogart-infoblock-entry__links--direct a {
    border: 1px solid #dcead6;
    border-radius: 7px;
    background: #f3f8ef;
    padding: 10px 12px;
  }

  .hogart-home-section__head {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .hogart-home-section__head h2 {
    font-size: 30px;
  }

  .hogart-news-controls {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .hogart-news-all {
    padding-left: 0;
    font-size: 14px;
  }

  .hogart-news-nav {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .hogart-news-strip {
    grid-auto-columns: minmax(min(82vw, 330px), min(82vw, 330px));
    gap: 12px;
    margin-right: 0;
    border-radius: 0;
    padding: 12px 0 14px;
    background: transparent;
    scroll-padding-left: 0;
  }

  .hogart-news-card {
    min-height: 100%;
    border: 1px solid #e0e7dd;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
  }

  .hogart-news-card__media {
    height: 96px;
    padding-top: 10px;
  }

  .hogart-news-card__media img {
    max-width: 100%;
    max-height: 68px;
  }

  .hogart-news-card__body {
    padding-top: 10px;
  }

  .hogart-news-card__body time {
    font-size: 13px;
  }

  .hogart-news-card__body a,
  .hogart-news-card__body button {
    font-size: 16px;
    line-height: 1.28;
  }

  .hogart-news-card__body p {
    font-size: 14px;
    line-height: 1.38;
  }

  .hogart-news-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hogart-news-list-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .hogart-news-list-card__media {
    height: 66px;
    padding-top: 6px;
  }

  .hogart-news-list-card__media img {
    max-height: 54px;
  }

  .hogart-news-list-card__body {
    gap: 6px;
  }

  .hogart-news-list-card__body time {
    font-size: 12px;
  }

  .hogart-news-list-card__body a,
  .hogart-news-list-card__body button {
    font-size: 15px;
    line-height: 1.25;
  }

  .hogart-news-list-card__body p {
    font-size: 13px;
    line-height: 1.34;
  }
}

@media (min-width: 1200px) {
  .main-navbar .cart-nav__button,
  .top-navbar .cart-nav__button {
    width: 42px;
    height: 38px;
    justify-content: center;
    padding: 0 !important;
  }

  .top-navbar .cart-nav__button {
    margin: 0 !important;
  }

  .main-navbar .cart-nav__button > span:not(.cart-count),
  .top-navbar .cart-nav__button > span:not(.cart-count) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .main-navbar .cart-nav .cart-count,
  .top-navbar .cart-nav .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .main-navbar .account-nav__toggle,
  .top-navbar .account-nav__toggle {
    width: 42px;
    height: 38px;
    justify-content: center;
    padding: 0 !important;
  }

  .top-navbar .account-nav__toggle {
    margin: 0 !important;
  }

  .main-navbar .account-nav__toggle::after,
  .main-navbar .account-nav__label,
  .top-navbar .account-nav__toggle::after,
  .top-navbar .account-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #2f7d48;
  color: #fff;
  font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

.cart-nav .cart-count {
  margin-left: 4px;
}

.header-cart-button {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  border: 1px solid rgba(45, 51, 67, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.top-navbar .header-cart-button {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-cart-button .cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  margin-left: 0;
  background: #2f7d48;
}

.cart-mobile-float {
  display: none;
}

html.mobile-nav-open .top-navbar .header-cart-button {
  border-color: rgba(45, 51, 67, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
}

.cart-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 6px;
  font-weight: 600;
}

.product-action-group {
  display: flex;
  width: 100%;
  gap: 6px;
  margin-top: 12px;
}

.product-action-group .cart-add-button {
  flex: 1 1 auto;
  min-width: 0;
}

.product-action-group__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  min-height: 40px;
  padding: 0;
  border-radius: 6px;
}

.catalog-product-card,
.product-image-frame {
  position: relative;
}

.product-compare-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--hogart-green, #408d47);
  color: #fff;
  font-size: 21px;
  box-shadow: 0 8px 20px rgba(31, 76, 39, 0.18);
}

.product-compare-toggle.is-active {
  background: #245d2d;
  box-shadow: 0 0 0 3px rgba(62, 148, 72, 0.22), 0 8px 20px rgba(31, 76, 39, 0.18);
}

.product-compare-toggle:hover,
.product-compare-toggle:focus {
  background: var(--hogart-green-dark, #36793d);
  color: #fff;
}

.catalog-product-card > .product-action-group {
  width: 100%;
}

.product-cart-actions .cart-add-button {
  min-width: 190px;
}

.cart-add-button__qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.cart-add-button__qty[hidden] {
  display: none;
}

.product-action-modal[hidden] {
  display: none;
}

.product-action-modal {
  position: fixed;
  inset: 0;
  z-index: 1085;
}

.product-action-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 28, 27, 0.58);
}

.product-action-modal__dialog {
  position: relative;
  width: min(100% - 32px, 980px);
  max-height: min(820px, calc(100vh - 48px));
  margin: 24px auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

@supports (height: 100svh) {
  .product-action-modal__dialog {
    max-height: min(820px, calc(100svh - 48px));
  }
}

.product-action-modal__head,
.product-action-modal__foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid #d9dfdc;
}

.product-action-modal__foot {
  border-top: 1px solid #d9dfdc;
  border-bottom: 0;
}

.product-action-modal__head h2 {
  margin: 0;
  color: #1f2424;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 760;
  letter-spacing: 0;
}

.product-action-modal__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-action-modal__icon {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #202524;
  font-size: 28px;
}

.product-action-modal__search {
  flex: 0 0 auto;
  padding: 14px 28px;
  border-bottom: 1px solid #d9dfdc;
}

.product-action-modal__product {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 1px solid #d9dfdc;
  background: #f8faf7;
}

.product-action-modal__product > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-action-modal__product span {
  color: #6c7471;
  font-size: 16px;
  font-weight: 650;
}

.product-action-modal__product strong {
  color: #1f2424;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 760;
  line-height: 1.18;
}

.product-action-modal__product label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin: 0;
}

.product-action-modal__product input {
  width: 112px;
  min-height: 42px;
  border: 1px solid #c9d0cc;
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  font-size: 20px;
}

.product-action-modal__search input,
.product-action-create__fields input,
.product-action-create__fields select,
.product-action-cp-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c9d0cc;
  border-radius: 6px;
  padding: 8px 12px;
}

.product-action-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.product-action-row,
.product-action-section__toggle,
.product-action-create__toggle,
.product-action-quantity {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 22px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-bottom: 1px solid #d9dfdc;
  background: #fff;
  color: #252a29;
  font-size: 24px;
  font-weight: 520;
  text-align: left;
}

.product-action-quantity {
  justify-content: space-between;
}

.product-action-quantity input {
  width: 120px;
  min-height: 40px;
  border: 1px solid #c9d0cc;
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
}

.product-action-row input[type="checkbox"] {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.product-action-row--nested {
  padding-left: 78px;
  border-bottom: 0;
}

.product-action-section__toggle i {
  width: 24px;
  color: #606765;
}

.product-action-section:not(.is-open) .product-action-section__body {
  display: none;
}

.product-action-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 28px 8px 78px;
}

.product-action-tabs button {
  border: 1px solid #cfd7d2;
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
  color: #3c4441;
  font-weight: 650;
}

.product-action-tabs button.is-active {
  border-color: #69b52c;
  background: #e8f5df;
  color: #2f6f20;
}

.product-action-create__toggle {
  min-height: 52px;
  padding-left: 78px;
  font-size: 22px;
}

.product-action-create__fields,
.product-action-cp-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 10px;
  padding: 12px 28px 16px 78px;
}

.product-action-cp-fields {
  grid-template-columns: 1fr 1fr;
}

.product-action-create__fields[hidden],
.product-action-cp-fields[hidden] {
  display: none;
}

.product-action-create__fields button,
.product-action-modal__submit {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #a8d483;
  color: #fff;
  padding: 0 18px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-action-specs {
  padding: 4px 0 16px;
}

.product-action-spec-row {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 28px 0 78px;
  color: #252a29;
  font-size: 21px;
}

.product-action-spec-row input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.product-action-spec-row small {
  color: #777f7c;
  font-size: 14px;
}

.product-action-empty,
.product-action-loading {
  padding: 14px 28px 18px 78px;
  color: #777f7c;
}

.product-action-modal__note {
  min-height: 22px;
  color: #66706c;
  font-size: 15px;
}

.product-action-modal__note.is-error {
  color: #b42318;
}

body.product-action-open {
  overflow: hidden;
}

.compare-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483004;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #45a851 0%, #2f7d48 100%);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 16px 36px rgba(31, 76, 39, 0.3);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.compare-float:active {
  cursor: grabbing;
}

.compare-float::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  pointer-events: none;
}

.compare-float span {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #1f2424;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
}

.compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483005;
  background: rgba(15, 23, 42, 0.38);
}

.compare-panel {
  position: fixed;
  inset: 22px;
  z-index: 2147483006;
  display: none;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}

.compare-widget.is-open .compare-panel {
  display: flex;
}

.compare-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid #d9dfdc;
}

.compare-panel__head > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2f7d48;
}

.compare-panel__head h2 {
  margin: 0;
  color: #1f2424;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: 0;
}

.compare-panel__head i {
  font-size: 34px;
}

.compare-panel__close {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #252a29;
  font-size: 26px;
}

.compare-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #d9dfdc;
}

.compare-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #cfcfcf;
  color: #4f4f4f;
  font-size: 18px;
  font-weight: 760;
}

.compare-tabs button.is-active {
  background: #3e9448;
  color: #fff;
}

.compare-panel__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px 24px;
}

.compare-table {
  display: grid;
  grid-template-columns: minmax(180px, 240px) repeat(var(--compare-cols), minmax(220px, 300px));
  align-items: stretch;
  min-width: max-content;
}

.compare-cell {
  min-height: 58px;
  padding: 14px 12px;
  border-bottom: 1px solid #d9dfdc;
  color: #151b19;
  font-size: 16px;
}

.compare-cell--label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  color: #3e9448;
  font-weight: 760;
}

.compare-cell--top {
  z-index: 3;
}

.compare-cell--product {
  border-bottom: 0;
}

.compare-product {
  position: relative;
  display: grid;
  gap: 10px;
}

.compare-product img,
.compare-product__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid #3e9448;
  border-radius: 8px;
  background: #fff;
}

.compare-product__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c7471;
}

.compare-product a {
  color: #2f7d48;
  font-weight: 700;
  text-decoration: none;
}

.compare-product__remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #9b9b9b;
  font-size: 18px;
}

.compare-empty {
  padding: 26px;
  color: #6c7471;
}

.compare-panel__foot {
  padding: 16px 24px;
  border-top: 1px solid #d9dfdc;
}

.compare-panel__foot button {
  min-height: 42px;
  border: 1px solid #d9dfdc;
  border-radius: 6px;
  background: #fff;
  color: #7a2430;
  padding: 0 16px;
  font-weight: 760;
}

body.compare-open {
  overflow: hidden;
}

.b2b-specs {
  background: #f1f4f0;
  padding: clamp(24px, 4vw, 46px) 0;
}

.b2b-specs__shell {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

.b2b-specs__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

  .b2b-specs h1 {
    margin: 0 0 4px;
    color: #1f2424;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 760;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

.b2b-specs__header p {
  margin: 0;
  color: #6c7471;
}

.b2b-specs__link {
  color: #2f7d48;
  font-weight: 700;
}

.b2b-specs__tools {
  margin-bottom: 14px;
}

.b2b-specs__tools input {
  width: min(100%, 520px);
  min-height: 44px;
  border: 1px solid #cfd7d2;
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
}

  .b2b-specs__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    max-width: 100%;
  }

  .b2b-specs__tab {
    flex: 0 0 auto;
    border: 1px solid #cfd7d2;
    border-radius: 6px;
    background: #fff;
    padding: 10px 14px;
    color: #2f3633;
    font-weight: 700;
    white-space: nowrap;
  }

.b2b-specs__tab.is-active {
  border-color: #69b52c;
  background: #e8f5df;
  color: #2f6f20;
}

.b2b-specs__panel {
  display: none;
}

.b2b-specs__panel.is-active {
  display: block;
}

.b2b-specs__list {
  border: 1px solid #d9dfdc;
  background: #fff;
}

.b2b-specs__empty {
  border: 1px solid #d9dfdc;
  background: #fff;
}

.b2b-specs__entry {
  border-bottom: 1px solid #d9dfdc;
}

.b2b-specs__entry:last-child {
  border-bottom: 0;
}

.b2b-specs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  min-height: 86px;
  padding: 16px 18px;
  border: 0;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.b2b-specs__row:hover,
.b2b-specs__row:focus-visible {
  color: inherit;
  text-decoration: none;
}

.b2b-specs__entry.is-open .b2b-specs__row {
  background: #f8faf7;
}

.b2b-specs__row h2 {
  margin: 0 0 4px;
  color: #1f2424;
  font-size: 20px;
  letter-spacing: 0;
}

.b2b-specs__row p,
.b2b-specs__row span {
  margin: 0;
  color: #6c7471;
}

  .b2b-specs__empty {
    padding: 28px;
    color: #6c7471;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

.b2b-specs__detail {
  border-top: 1px solid #d9dfdc;
  background: #fff;
  padding: 16px 18px 18px;
}

.b2b-specs__detail-close {
  display: none;
}

.b2b-specs__edit {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.b2b-specs__edit input,
.b2b-spec-item input {
  min-height: 38px;
  border: 1px solid #cfd7d2;
  border-radius: 6px;
  padding: 6px 10px;
}

.b2b-specs__edit button,
.b2b-spec-item button {
  min-height: 38px;
  border: 1px solid #cfd7d2;
  border-radius: 6px;
  background: #fff;
  color: #24302c;
  padding: 0 12px;
  font-weight: 700;
}

.b2b-specs__edit button,
.b2b-spec-item button[data-spec-item-save] {
  border-color: #a8d483;
  background: #a8d483;
  color: #fff;
}

.b2b-specs__infoblocks {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.b2b-specs-infoblock {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #e1e8e3;
  border-radius: 6px;
  background: #f9fbf8;
  padding: 14px;
}

.b2b-specs-infoblock img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.b2b-specs-infoblock strong {
  display: block;
  color: #3f8f30;
  font-size: 16px;
  line-height: 1.35;
}

.b2b-specs-infoblock__content {
  margin-top: 8px;
  color: #505b56;
  font-size: 14px;
  line-height: 1.5;
}

.b2b-spec-item {
  display: grid;
  grid-template-columns: 56px minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf1ef;
}

.b2b-spec-item:first-child {
  border-top: 0;
}

.b2b-spec-item__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.b2b-spec-item__image,
.b2b-spec-detail-item__image {
  display: block;
  width: 56px;
  height: 56px;
  border: 1px solid #edf1ef;
  border-radius: 7px;
  background: #f7f9f6;
  overflow: hidden;
}

.b2b-spec-item__image a,
.b2b-spec-detail-item__image a,
.b2b-spec-item__image > span,
.b2b-spec-detail-item__image > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.b2b-spec-item__image img,
.b2b-spec-detail-item__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.b2b-spec-item__main strong,
.b2b-spec-item__product {
  display: block;
  color: #1f2424;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.b2b-spec-item__product:hover {
  color: #4b9230;
  text-decoration: underline;
}

.b2b-spec-item__main span,
.b2b-spec-item__qty,
.b2b-specs__empty-inner {
  color: #6c7471;
}

.b2b-spec-item__main span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.b2b-spec-item__edit {
  display: grid;
  grid-template-columns: 88px minmax(128px, 150px) auto auto;
  align-items: center;
  gap: 8px;
}

.b2b-spec-cart-button {
  white-space: nowrap;
}

.b2b-spec-item .b2b-spec-cart-button,
.b2b-spec-detail-item .b2b-spec-cart-button {
  border-color: #69b52c;
  background: #69b52c;
  color: #fff;
}

.b2b-spec-item .b2b-spec-cart-button.is-added,
.b2b-spec-detail-item .b2b-spec-cart-button.is-added {
  border-color: #2f7d48;
  background: #2f7d48;
  color: #fff;
}

.b2b-spec-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid #d8e3d4;
  border-radius: 6px;
  background: #fff;
  color: #7a2d2d;
  padding: 0 12px;
  font-weight: 700;
}

.b2b-spec-price {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-content: end;
  justify-items: end;
  align-items: center;
  gap: 5px 8px;
  color: #303735;
  line-height: 1;
  white-space: nowrap;
}

.b2b-spec-price--inline {
  margin-left: 8px;
  vertical-align: middle;
}

.b2b-spec-price__old {
  grid-column: 1 / -1;
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.b2b-spec-price__current {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.b2b-spec-price__value {
  color: #303735;
  font-size: 16px;
  font-weight: 780;
}

.b2b-spec-price.has-discount .b2b-spec-price__value {
  color: #2f7d45;
}

.b2b-spec-price__currency {
  color: #6c7685;
  font-size: 13px;
  font-weight: 700;
}

.b2b-spec-price__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf7ee;
  color: #237a3a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.b2b-spec-item input[data-spec-item-quantity] {
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .b2b-specs__shell {
    width: min(100% - 28px, 960px);
  }

  .b2b-specs__tabs {
    flex-wrap: wrap;
  }

  .b2b-specs__row {
    align-items: flex-start;
    gap: 14px;
  }

  .b2b-specs__row > div {
    min-width: 0;
  }

  .b2b-specs__row h2,
  .b2b-specs__row p,
  .b2b-specs__row span {
    overflow-wrap: anywhere;
  }

  .b2b-specs__row > strong {
    white-space: nowrap;
  }
}

.b2b-spec-detail {
  background: #f3f3f3;
  min-height: calc(100vh - 100px);
  padding: 28px 0 0;
}

.b2b-spec-filters {
  position: relative;
  margin: 0 0 18px;
}

.b2b-spec-filter-state {
  margin: -4px 0 14px;
  color: #687386;
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .page-b2b-specification-detail .b2b-spec-detail__shell {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

.b2b-spec-detail__shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.b2b-spec-detail__nav {
  padding: 0 32px 18px;
}

.b2b-spec-detail__nav a {
  color: #4c9130;
  font-weight: 760;
  text-decoration: none;
}

.b2b-spec-detail__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  background: #f3f3f3;
  padding: 0 32px 34px;
}

.b2b-spec-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.b2b-spec-detail__meta span {
  display: inline-flex;
  border-radius: 4px;
  background: #edf7e8;
  padding: 5px 9px;
  color: #4b9230;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.b2b-spec-detail__header h1 {
  margin: 0;
  color: #252b29;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 760;
  line-height: 1.12;
}

.b2b-spec-detail__header p {
  max-width: 900px;
  margin: 14px 0 0;
  color: #59645f;
  font-size: 16px;
}

.b2b-spec-detail__header > strong {
  flex: 0 0 auto;
  color: #4b9230;
  font-size: 18px;
  white-space: nowrap;
}

.b2b-spec-detail-description {
  border-top: 1px solid #dfe7dc;
  background: #fff;
  padding: 18px 32px;
  color: #505b56;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.b2b-spec-detail__items {
  display: grid;
  background: #fff;
  border-top: 1px solid #dedede;
}

.b2b-spec-detail-item {
  display: grid;
  grid-template-columns: 64px minmax(120px, 170px) minmax(300px, 1fr) minmax(150px, 190px) minmax(78px, 100px) minmax(132px, auto);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  padding: 14px 24px;
}

.b2b-spec-detail-table__head {
  display: grid;
  grid-template-columns: 64px minmax(120px, 170px) minmax(300px, 1fr) minmax(150px, 190px) minmax(78px, 100px) minmax(132px, auto);
  gap: 16px;
  border-bottom: 1px solid #dedede;
  background: #fafafa;
  padding: 10px 24px;
  color: #7c8480;
  font-size: 13px;
  font-weight: 700;
}

.b2b-spec-detail-table__head > span,
.b2b-spec-detail-item > span,
.b2b-spec-detail-item > div,
.b2b-spec-detail-item > b {
  min-width: 0;
}

.b2b-spec-detail-table__head > span:nth-child(2),
.b2b-spec-detail-item > span:nth-child(2) {
  overflow-wrap: anywhere;
}

.b2b-spec-detail-item strong,
.b2b-spec-detail-item__product {
  display: block;
  color: #4b9230;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.b2b-spec-detail-item__product:hover {
  text-decoration: underline;
}

.b2b-spec-detail-item span,
.b2b-spec-detail-item b,
.b2b-spec-detail__empty {
  color: #303735;
}

.b2b-spec-detail-item b {
  text-align: right;
}

.b2b-spec-detail-item__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.b2b-spec-item__main .b2b-spec-price__old,
.b2b-spec-detail-item .b2b-spec-price__old {
  color: #9aa3b2;
}

.b2b-spec-item__main .b2b-spec-price__value,
.b2b-spec-detail-item .b2b-spec-price__value {
  color: #303735;
}

.b2b-spec-item__main .b2b-spec-price.has-discount .b2b-spec-price__value,
.b2b-spec-detail-item .b2b-spec-price.has-discount .b2b-spec-price__value {
  color: #2f7d45;
}

.b2b-spec-item__main .b2b-spec-price__currency,
.b2b-spec-detail-item .b2b-spec-price__currency {
  color: #6c7685;
}

.b2b-spec-item__main .b2b-spec-price__discount,
.b2b-spec-detail-item .b2b-spec-price__discount {
  color: #237a3a;
}

@media (max-width: 1199.98px) {
  .b2b-spec-detail__shell {
    width: 100%;
  }

  .b2b-spec-detail__nav,
  .b2b-spec-detail__header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .b2b-spec-detail-description {
    padding-left: 14px;
    padding-right: 14px;
  }

  .b2b-spec-detail__items {
    gap: 10px;
    border-top: 0;
    background: transparent;
    padding: 0 14px;
  }

  .b2b-spec-detail-table__head {
    display: none !important;
  }

  .b2b-spec-detail-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "image quantity"
      "article article"
      "product product"
      "price price"
      "actions actions";
    column-gap: 8px;
    row-gap: 0;
    overflow: hidden;
    border: 1px solid #d8e3d4;
    border-radius: 8px;
    background: #fff;
    padding: 0;
  }

  .b2b-spec-detail-item__image {
    grid-area: image;
    align-self: start;
    margin: 10px 0 10px 10px;
  }

  .b2b-spec-detail-item > span.b2b-spec-detail-item__article {
    grid-area: article;
    display: block;
    width: auto;
    max-width: none;
    margin: 0 10px 2px;
    border-radius: 5px;
    background: #f3f5f2;
    padding: 7px 10px;
    color: #6c7471;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .b2b-spec-detail-item__qty {
    grid-area: quantity;
    align-self: start;
    width: fit-content;
    margin: 10px 10px 2px 4px;
    border: 1px solid #cfe3c5;
    border-radius: 5px;
    background: #f2f8ef;
    padding: 4px 8px;
    color: #2f7d48;
    font-size: 12px;
    font-weight: 760;
    text-align: left;
    white-space: nowrap;
  }

  .b2b-spec-detail-item__main {
    grid-area: product;
    padding: 8px 10px 10px;
  }

  .b2b-spec-detail-item__product {
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .b2b-spec-detail-item .b2b-spec-price,
  .b2b-spec-detail-item > span.b2b-spec-detail-item__price {
    grid-area: price;
    justify-content: start;
    justify-items: start;
    border-top: 1px solid #edf1ef;
    background: #fbfdf9;
    padding: 9px 10px;
  }

  .b2b-spec-detail-item__actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: stretch;
    gap: 7px;
    border-top: 1px solid #edf1ef;
    padding: 10px;
  }

  .b2b-spec-detail-item__actions .cart-add-button,
  .b2b-spec-delete-button {
    width: 100%;
    min-height: 38px;
  }
}

@media (max-width: 767.98px) {
  .b2b-specs {
    background: #f5f7f3;
    padding: 14px 0 24px;
  }

  .b2b-specs__shell {
    width: 100%;
    padding: 0 10px;
  }

  .b2b-specs__header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .b2b-specs__header > div {
    min-width: 0;
  }

  .b2b-specs h1 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .b2b-specs__header p {
    font-size: 13px;
    line-height: 1.35;
  }

  .b2b-specs__link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-self: start;
    border: 1px solid #69b52c;
    border-radius: 6px;
    padding: 6px 12px;
    background: #69b52c;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }

  .b2b-specs__tools {
    margin-bottom: 10px;
  }

  .b2b-specs__tools input {
    width: 100%;
    min-height: 42px;
    border-color: #d4ded0;
    font-size: 14px;
  }

  .b2b-specs__tabs {
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    margin-bottom: 10px;
    border: 1px solid #d8e3d4;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .b2b-specs__tabs::-webkit-scrollbar {
    display: none;
  }

  .b2b-specs__tab {
    flex: 0 0 auto;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    padding: 8px 11px;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .b2b-specs__empty {
    padding: 24px 18px;
    font-size: 24px;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .b2b-specs__list {
    display: grid;
    gap: 8px;
    border: 0;
    background: transparent;
  }

  .b2b-specs__entry {
    overflow: hidden;
    border: 1px solid #d8e3d4;
    border-radius: 8px;
    background: #fff;
  }

  .b2b-specs__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(54px, auto);
    align-items: start;
    min-height: 0;
    gap: 8px;
    padding: 12px;
  }

  .b2b-specs__row h2 {
    margin-bottom: 3px;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .b2b-specs__row p,
  .b2b-specs__row span {
    font-size: 12px;
    line-height: 1.35;
  }

  .b2b-specs__row span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .b2b-specs__row > strong {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    border: 1px solid #cfe3c5;
    border-radius: 5px;
    padding: 4px 8px;
    background: #f2f8ef;
    color: #2f7d48;
    font-size: 12px;
    white-space: nowrap;
  }

  .b2b-specs__detail {
    border-top: 1px solid #d8e3d4;
    background: #fbfcfa;
    padding: 10px 12px 12px;
  }

  body.b2b-specs-detail-open {
    overflow: hidden;
  }

  .b2b-specs__entry.is-open .b2b-specs__detail {
    position: fixed;
    inset: 0;
    z-index: 2147483040;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background: #f5f7f3;
    padding: 12px 8px calc(22px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .b2b-specs__detail-close {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    border: 1px solid #d8e3d4;
    border-radius: 7px;
    background: #fff;
    color: #2f3633;
    font-size: 15px;
    font-weight: 760;
  }

  .b2b-specs__edit,
  .b2b-spec-item {
    grid-template-columns: 1fr;
  }

  .b2b-spec-item__edit {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .b2b-specs__edit {
    gap: 8px;
    margin-bottom: 10px;
    border: 1px solid #d8e3d4;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
  }

  .b2b-spec-item {
    gap: 8px;
    margin-bottom: 8px;
    border: 1px solid #d8e3d4;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
  }

  .b2b-spec-item__image {
    width: 64px;
    height: 64px;
  }

  .b2b-spec-item:first-child {
    border-top: 1px solid #d8e3d4;
  }

  .b2b-spec-item__product {
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .b2b-spec-item__main span,
  .b2b-spec-item__qty {
    font-size: 12px;
    line-height: 1.35;
  }

  .b2b-spec-item__qty {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    border: 1px solid #cfe3c5;
    border-radius: 5px;
    background: #f2f8ef;
    padding: 3px 8px;
    color: #2f7d48;
    font-weight: 760;
  }

  .b2b-spec-item input,
  .b2b-spec-item button {
    width: 100%;
  }

  .b2b-spec-item .b2b-spec-cart-button {
    min-height: 38px;
  }

  .b2b-spec-detail {
    min-height: 100dvh;
    padding: 14px 0 24px;
  }

  .b2b-spec-detail__shell {
    width: 100%;
  }

  .b2b-spec-detail__nav {
    padding: 0 14px 12px;
  }

  .b2b-spec-detail__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 0 14px 18px;
  }

  .b2b-spec-detail__header h1 {
    font-size: 24px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .b2b-spec-detail__header p {
    font-size: 14px;
    line-height: 1.4;
  }

  .b2b-spec-detail__header > strong {
    align-self: flex-start;
    border: 1px solid #cfe3c5;
    border-radius: 5px;
    background: #f2f8ef;
    padding: 5px 9px;
    font-size: 13px;
  }

  .b2b-spec-detail-description {
    padding: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .b2b-spec-detail__items {
    gap: 8px;
    border-top: 0;
    background: transparent;
    padding: 0 10px;
  }

  .b2b-spec-detail-table__head {
    display: none !important;
  }

  .b2b-spec-detail-item__actions {
    grid-template-columns: 1fr;
  }
}

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483010;
  background: rgba(15, 23, 42, 0.36);
  overscroll-behavior: contain;
}

.cart-auth-prompt[hidden] {
  display: none !important;
}

.cart-auth-prompt {
  position: fixed;
  inset: 0;
  z-index: 2147483050;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cart-auth-prompt__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(18, 27, 23, .54);
  backdrop-filter: blur(3px);
}

.cart-auth-prompt__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 460px);
  border: 1px solid #d8e3d4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(19, 39, 27, .22);
  padding: 28px;
  text-align: center;
}

.cart-auth-prompt__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #687386;
  font-size: 28px;
  line-height: 1;
}

.cart-auth-prompt__icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #edf8e9;
  color: #3f8f30;
  font-size: 25px;
}

.cart-auth-prompt h2 {
  margin: 14px 0 8px;
  color: #202b25;
  font-size: 25px;
}

.cart-auth-prompt p {
  margin: 0;
  color: #5d6862;
  line-height: 1.55;
}

.cart-auth-prompt__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.cart-auth-prompt__actions .btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
}

.cart-auth-prompt__later {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #687386;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-auth-prompt small {
  display: block;
  margin-top: 9px;
  color: #8a938e;
}

@media (max-width: 520px) {
  .cart-auth-prompt {
    align-items: end;
    padding: 0;
  }

  .cart-auth-prompt__dialog {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 26px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .cart-auth-prompt__actions {
    grid-template-columns: 1fr;
  }
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2147483011;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overscroll-behavior: contain;
}

.site-cart.is-open .cart-drawer {
  transform: translateX(0);
}

/* A translated, closed drawer must not leave a composited strip on phones. */
@media(max-width:1199.98px){
  .site-cart:not(.is-open) .cart-drawer{display:none!important}
  .main-navbar .navbar-collapse:not(.show):not(.collapsing),
  .top-navbar .navbar-collapse:not(.show):not(.collapsing){display:none!important}
  /* The mobile menu already has an opaque background; avoid keeping a
     backdrop-filter compositing layer across keyboard/viewport changes. */
  .main-navbar .navbar-collapse,
  .top-navbar .navbar-collapse{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}

.cart-drawer__head,
.cart-drawer__foot {
  padding: 20px;
  border-bottom: 1px solid rgba(104, 111, 125, 0.18);
}

.cart-drawer__foot {
  border-top: 1px solid rgba(104, 111, 125, 0.18);
  border-bottom: 0;
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-order-action {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  min-width: 0;
}

.cart-order-action--single {
  grid-template-columns: 1fr;
}

.cart-order-action__checkout {
  min-width: 0;
  border-radius: 6px 0 0 6px;
  border-color: #2f8f46;
  background: #2f8f46;
  color: #fff;
  white-space: nowrap;
}

.cart-order-action--single .cart-order-action__checkout {
  border-radius: 6px;
}

.cart-order-action__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding-right: 0;
  padding-left: 0;
  border-color: #2f8f46;
  border-left-color: rgba(255, 255, 255, 0.32);
  border-radius: 0 6px 6px 0;
  background: #2f8f46;
  color: #fff;
}

.cart-order-action__checkout:hover,
.cart-order-action__checkout:focus-visible,
.cart-order-action__toggle:hover,
.cart-order-action__toggle:focus-visible {
  border-color: #287c3c;
  background: #287c3c;
  color: #fff;
}

.cart-order-action__toggle i {
  font-size: 12px;
  transition: transform 0.18s ease;
}

.cart-order-action__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.cart-order-action__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 4;
  width: max-content;
  min-width: 172px;
  padding: 6px;
  border: 1px solid rgba(104, 111, 125, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 37, 48, 0.16);
}

.cart-order-action__menu[hidden] {
  display: none;
}

.cart-order-action__menu button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #2f7d48;
  font-weight: 700;
  text-align: left;
}

.cart-order-action__menu button:hover,
.cart-order-action__menu button:focus-visible {
  outline: none;
  background: rgba(47, 125, 72, 0.1);
}

.cart-checkout__cancel {
  min-width: 0;
}

.site-cart.is-checkout-mode .cart-drawer__body,
.site-cart.is-checkout-mode [data-cart-clear],
.site-cart.is-checkout-mode .cart-order-action__toggle,
.site-cart.is-checkout-mode .cart-order-action__menu {
  display: none;
}

.site-cart.is-checkout-mode .cart-drawer__foot {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.site-cart.is-checkout-mode .cart-checkout__cancel {
  display: block;
}

.site-cart.is-checkout-mode .cart-order-action {
  grid-template-columns: 1fr;
}

.site-cart.is-checkout-mode .cart-order-action__checkout {
  border-radius: 6px;
}

.cart-checkout {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
  border: 1px solid rgba(105, 181, 44, 0.26);
  border-radius: 8px;
  padding: 12px;
  background: rgba(237, 246, 232, 0.78);
}

.cart-checkout[hidden] {
  display: none;
}

.cart-checkout__summary {
  display: grid;
  gap: 2px;
}

.cart-checkout__summary span,
.cart-checkout__label,
.cart-checkout__hint,
.cart-checkout__note {
  color: #686f7d;
  font-size: 13px;
}

.cart-checkout__summary strong {
  color: #1f2424;
  font-weight: 750;
}

.cart-checkout__label {
  margin: 0;
  font-weight: 700;
}

.cart-checkout__select {
  min-height: 40px;
  width: 100%;
  border: 1px solid rgba(104, 111, 125, 0.28);
  border-radius: 6px;
  background: #fff;
  color: #1f2424;
  padding: 8px 10px;
}

.cart-checkout__comment {
  width: 100%;
  min-height: 104px;
  max-height: 200px;
  padding: 10px 11px;
  border: 1px solid rgba(104, 111, 125, 0.28);
  border-radius: 7px;
  background: #fff;
  color: #1f2424;
  font: inherit;
  line-height: 1.4;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cart-checkout__comment-field {
  display: grid;
  gap: 6px;
}

.cart-checkout__comment-field[hidden] {
  display: none;
}

.cart-checkout__comment::placeholder {
  color: #9299a5;
}

.cart-checkout__comment:focus {
  outline: none;
  border-color: rgba(47, 143, 70, 0.72);
  box-shadow: 0 0 0 3px rgba(47, 143, 70, 0.12);
}

.cart-checkout__hint {
  color: #3d8f17;
  font-weight: 700;
}

.cart-checkout__note {
  line-height: 1.35;
}

@media (max-width: 1199.98px) {
  .cart-order-action {
    grid-template-columns: 1fr;
  }

  .cart-order-action__checkout {
    border-radius: 6px;
  }

  .cart-order-action__toggle,
  .cart-order-action__menu {
    display: none !important;
  }
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.cart-drawer__meta,
.cart-drawer__note {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.cart-drawer__note--success {
  color: #237a3a;
  font-weight: 700;
}

.cart-drawer__note--error {
  color: #b42318;
  font-weight: 700;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #1f2937;
  font-size: 24px;
  line-height: 1;
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 12px 20px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  padding: 28px 0;
  color: #6b7280;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(104, 111, 125, 0.14);
}

.cart-item--highlighted {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 8px;
  background: rgba(47, 125, 72, 0.09);
  box-shadow: inset 3px 0 0 rgba(47, 125, 72, 0.34);
}

.cart-item__image {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(104, 111, 125, 0.16);
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.cart-item__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
}

.cart-item__name {
  display: block;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.cart-item__sku,
.cart-item__price {
  margin-top: 4px;
  color: #6b7280;
  font-size: 13px;
}

.cart-item__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-item__old-price {
  color: #8a93a3;
  text-decoration: line-through;
}

.cart-item__final-price {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
}

.cart-item__discount {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(47, 125, 72, 0.12);
  color: #2f7d48;
  font-size: 12px;
  font-weight: 700;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(104, 111, 125, 0.28);
  border-radius: 6px;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #f8f9fb;
  color: #1f2937;
  font-weight: 700;
}

.cart-qty input {
  width: 44px;
  height: 32px;
  border: 0;
  border-left: 1px solid rgba(104, 111, 125, 0.2);
  border-right: 1px solid rgba(104, 111, 125, 0.2);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cart-item--highlighted .cart-qty input {
  background: rgba(255, 255, 255, 0.9);
  outline: 2px solid rgba(47, 125, 72, 0.22);
  outline-offset: -2px;
}

.cart-item__remove {
  border: 0;
  background: transparent;
  color: #7a2430;
  font-size: 13px;
}

html.cart-open,
body.cart-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 1199.98px) {
  body.page-home .main-navbar {
    top: 0;
  }

  body.page-home .hero-section--with-balloons .top-navbar:not(.mobile-menu-open) {
    display: none;
  }

  body.page-home .main-navbar,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible {
    padding: 8px 0;
  }

  body.page-home .main-navbar > .container,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 52px;
  }

  body.page-home .main-navbar .navbar-brand,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
  }

  body.page-home .main-navbar .navbar-brand .main-navbar__logo--hogart,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-brand .main-navbar__logo--hogart {
    height: 42px;
    max-width: 90px;
    object-fit: contain;
  }

  body.page-home .main-navbar .stock-region-switcher,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .stock-region-switcher {
    flex: 1 1 108px;
    min-width: 82px;
    max-width: 132px;
    margin: 0;
  }

  body.page-home .main-navbar .stock-region-switcher__select,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .stock-region-switcher__select {
    min-height: 30px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 0.78rem;
  }

  body.page-home .main-navbar .header-cart-button,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .header-cart-button {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-left: auto !important;
    margin-right: 0;
  }

  body.page-home .main-navbar .navbar-toggler,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-toggler {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
  }

  body.page-home .main-navbar .navbar-collapse,
  body.page-home .main-navbar .navbar-collapse.show,
  body.page-home .main-navbar .navbar-collapse.collapsing,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-collapse,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-collapse.show,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-collapse.collapsing {
    padding-top: calc(env(safe-area-inset-top, 0px) + 70px);
  }

  .header-cart-button {
    display: inline-flex;
    z-index: 2147483002;
  }

  .cart-nav {
    display: none;
  }

  .cart-mobile-float {
    position: fixed;
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    z-index: 2147483004;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(47, 125, 72, 0.28);
    border-radius: 999px;
    background: #2f7d48;
    color: #fff;
    box-shadow: 0 10px 22px rgba(31, 76, 39, 0.22), 0 0 0 4px rgba(47, 125, 72, 0.08);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  body.page-catalog-list .cart-mobile-float,
  body.page-product-detail .cart-mobile-float {
    display: inline-flex;
  }

  .cart-mobile-float[hidden] {
    display: none;
  }

  .cart-mobile-float:active,
  .cart-mobile-float.is-dragging {
    cursor: grabbing;
    box-shadow: 0 13px 28px rgba(31, 76, 39, 0.28), 0 0 0 5px rgba(47, 125, 72, 0.1);
  }

  .cart-mobile-float i {
    font-size: 17px;
    line-height: 1;
  }

  .cart-mobile-float__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ff7a00;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
  }

  .cart-mobile-float__count[hidden] {
    display: none;
  }
}

@media (max-width: 575.98px) {
  body.page-home .main-navbar,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible {
    padding: 6px 0;
  }

  body.page-home .main-navbar > .container,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible > .container {
    gap: 6px;
    min-height: 46px;
  }

  body.page-home .main-navbar .navbar-brand .main-navbar__logo--hogart,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-brand .main-navbar__logo--hogart {
    height: 36px;
    max-width: 78px;
  }

  body.page-home .main-navbar .stock-region-switcher,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .stock-region-switcher {
    flex-basis: 92px;
    min-width: 74px;
    max-width: 112px;
  }

  body.page-home .main-navbar .header-cart-button,
  body.page-home .main-navbar .navbar-toggler,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .header-cart-button,
  body:not(.page-catalog-list):not(.page-product-detail) .main-navbar.visible .navbar-toggler {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
}

/* Reserve the fixed mobile header's space above the buyer context on home. */
@media (max-width: 1199.98px) {
  body.page-home > .b2b-context-bar {
    margin-top: 68px;
  }
}

@media (max-width: 575.98px) {
  body.page-home > .b2b-context-bar {
    margin-top: 58px;
  }

  .product-compare-toggle {
    right: 14px;
    bottom: 88px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .product-action-modal__dialog {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    min-height: 0;
    margin: 0;
  }

  @supports (height: 100svh) {
    .product-action-modal__dialog {
      height: 100svh;
      max-height: 100svh;
    }
  }

  .product-action-modal__head,
  .product-action-modal__foot {
    padding: 18px 16px;
  }

  .product-action-modal__product {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .product-action-modal__product label {
    justify-content: space-between;
    width: 100%;
  }

  .product-action-modal__product input {
    width: 116px;
  }

  .product-action-row,
  .product-action-section__toggle,
  .product-action-create__toggle,
  .product-action-quantity {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 20px;
  }

  .product-action-tabs,
  .product-action-create__fields,
  .product-action-cp-fields,
  .product-action-spec-row,
  .product-action-empty,
  .product-action-loading {
    padding-left: 48px;
    padding-right: 16px;
  }

  .product-action-tabs {
    flex-wrap: wrap;
  }

  .product-action-create__fields,
  .product-action-cp-fields {
    grid-template-columns: 1fr;
  }

  .product-action-row--nested {
    padding-left: 48px;
  }

  .compare-float {
    right: 16px;
    bottom: 16px;
    height: 50px;
  }

  .compare-panel {
    inset: 0;
  }

  .compare-panel__head {
    padding: 16px;
  }

  .compare-panel__head h2 {
    font-size: 24px;
  }

  .compare-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }

  .compare-tabs button {
    font-size: 16px;
  }

  .compare-panel__body {
    padding: 12px 16px;
  }

  .compare-table {
    grid-template-columns: minmax(130px, 150px) repeat(var(--compare-cols), minmax(170px, 210px));
  }

  .compare-cell {
    padding: 12px 10px;
    font-size: 14px;
  }

  .compare-panel__foot {
    padding: 12px 16px;
  }

  .compare-panel__foot button {
    width: 100%;
  }

  .cart-drawer {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
  }

  .cart-drawer__head {
    flex: 0 0 auto;
    padding: 14px 16px;
  }

  .cart-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-drawer__foot {
    flex: 0 0 auto;
    max-height: 48dvh;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }

  .site-cart.is-checkout-mode .cart-drawer__body {
    display: none;
  }

  .site-cart.is-checkout-mode .cart-drawer__foot {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: none;
    min-height: 0;
    padding-top: 16px;
  }

  .cart-drawer__actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .cart-drawer__actions .btn {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
  }

  .site-cart.is-checkout-mode [data-cart-clear] {
    display: none;
  }

  .cart-checkout {
    flex: 1 1 auto;
    align-content: start;
    margin-bottom: 10px;
    padding: 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-drawer__note {
    display: none;
  }
}
