.menu__banner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 15px;
  text-align: center;
  background: #f7f7f7;
  border-radius: 4px;
}
.menu__banner div img {
  margin: 15px 0;
  padding: 15px;
}
.menu__banner span {
  color: #ff9900;
  font-size: 1.5em;
  font-weight: 500;
}
.menu__banner span:last-of-type {
  font-size: 1.3em;
}

/* ===== Home hero: menu | (banner + side) + promo full width ===== */
@media (min-width: 992px) {
  .home-page > .row.home-hero-row {
    display: flex;
    align-items: stretch;
  }

  .home-page > .row.home-hero-row > #column-left {
    width: 25% !important;
    max-width: 25%;
    float: none;
  }

  .home-page .home-hero-block {
    display: flex;
    flex-direction: column;
    width: 75% !important;
    max-width: 75%;
    float: none;
    min-height: 0;
  }

  .home-page .home-hero-top {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
  }

  .home-page .home-hero-top #content.home-content--with-side-banners {
    display: flex;
    flex-direction: column;
  }

  .home-page .home-hero-top .uni-slideshow_v2 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: unset;
  }

  .home-page .home-hero-top .uni-slideshow_v2 .owl-stage-outer {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 5 / 3.35;
    height: auto !important;
    border-radius: 12px;
    overflow: hidden;
  }

  .home-page .home-hero-top .uni-slideshow_v2 .owl-height,
  .home-page .home-hero-top .uni-slideshow_v2 .owl-stage,
  .home-page .home-hero-top .uni-slideshow_v2 .owl-item {
    height: 100% !important;
    min-height: 0;
  }

  .home-page .home-hero-top .uni-slideshow_v2__item {
    max-height: none !important;
    min-height: 100% !important;
    height: 100%;
  }

  .home-page .home-hero-top .uni-slideshow_v2__item.text-over-image {
    display: block;
  }

  .home-page .home-hero-top .uni-slideshow_v2__image.text-over-image {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    min-width: 100%;
    height: 100%;
    padding: 0;
  }

  .home-page .home-hero-top .uni-slideshow_v2__image.text-over-image img,
  .home-page .home-hero-top .uni-slideshow_v2__img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center 42%;
  }

  /* Slide 3 — штукатурка EKM: сдвиг только картинки (текст в PNG), мешок выше нижней строки */
  .home-page .home-hero-top .uni-slideshow_v2__item.item-2 .uni-slideshow_v2__img,
  .home-page .home-hero-top .uni-slideshow_v2__item.item-2 .uni-slideshow_v2__image.text-over-image img,
  .home-page .home-hero-top .uni-slideshow_v2__img[src*="shtukaturka"] {
    object-position: 56% 28% !important;
  }

  /* Side banner 3 — электрика VIKO: сдвиг только фото, синяя подпись (.banner-label) на месте */
  .home-page .home-hero-top #column-right .uni-banner__item:nth-child(3) .uni-banner__img,
  .home-page .home-hero-top #column-right .uni-banner__img[src*="1581x821"],
  .home-page .home-hero-top #column-right .uni-banner__img[src*="64d0950c"] {
    object-position: 72% 22% !important;
  }

  .home-page .home-hero-top #content.home-content--with-side-banners {
    width: 73.333% !important;
    max-width: 73.333%;
    float: none;
    padding-left: 22px;
    padding-right: 10px;
  }

  .home-page .home-hero-top > #column-right {
    width: 26.667% !important;
    max-width: 26.667%;
    float: none;
    align-self: stretch;
    padding-left: 10px;
    padding-right: 15px;
  }

  .home-page .home-hero-top > #column-right > * {
    height: 100%;
  }

  .home-page .home-hero-block .uni-slideshow_v2 {
    height: auto;
    margin-bottom: 0;
  }

  .home-page .home-hero-block .home-promo-band {
    display: block;
    flex: 0 0 auto;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .home-page .home-hero-block .home-promo-band__inner {
    width: 100%;
    margin: 0;
    padding: 6px 0;
    box-sizing: border-box;
  }

  .home-page .home-hero-block .home-promo-band__grid {
    gap: 10px;
  }

  .home-page .home-hero-block .home-promo-band__card {
    min-height: 62px;
    padding: 8px 11px;
    gap: 10px;
  }

  .home-page .home-hero-block .home-promo-band__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .home-page .home-hero-block .home-promo-band__text strong {
    margin-bottom: 3px;
    font-size: 0.9em;
  }

  .home-page .home-hero-block .home-promo-band__desc {
    font-size: 0.8em;
    line-height: 1.3;
  }

  .home-page .home-hero-top #column-right .uni-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    margin-bottom: 0;
  }

  .home-page .home-hero-top #column-right .uni-banner.row-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .home-page .home-hero-top #column-right .uni-banner__item {
    flex: 1 1 0;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    min-height: 0;
  }

  .home-page .home-hero-top #column-right .uni-banner__a,
  .home-page .home-hero-top #column-right .uni-banner__div {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
  }

  .home-page .home-hero-top #column-right .uni-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Подпись под картинкой — не перекрывает баннер */
  .home-page .home-hero-top #column-right .uni-banner__a--stacked,
  .home-page .home-hero-top #column-right .uni-banner__div--stacked {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
    box-shadow: 0 1px 4px rgba(73, 152, 253, 0.15);
    text-decoration: none;
    color: inherit;
  }

  .home-page .home-hero-top #column-right .uni-banner__media {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
  }

  .home-page .home-hero-top #column-right .uni-banner__caption {
    flex: 0 0 auto;
    display: block;
    padding: 7px 8px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: #4998fd;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .home-page .home-hero-top #column-right .uni-banner__a--stacked:hover .uni-banner__caption {
    background: #3a85e8;
  }
}

@media (max-width: 991px) {
  .home-page .uni-slideshow_v2 {
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: none !important;
    background: transparent;
    box-shadow: none;
  }

  .home-page .uni-slideshow_v2 .owl-stage-outer,
  .home-page .uni-slideshow_v2 .owl-height,
  .home-page .uni-slideshow_v2 .owl-stage,
  .home-page .uni-slideshow_v2 .owl-item {
    height: 100% !important;
  }

  .home-page .uni-slideshow_v2__item {
    max-height: none !important;
    min-height: 100% !important;
    height: 100%;
  }

  .home-page .uni-slideshow_v2__item.text-over-image {
    display: block;
  }

  .home-page .uni-slideshow_v2__image.text-over-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .home-page .uni-slideshow_v2__image.text-over-image img,
  .home-page .uni-slideshow_v2__img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
  }

  .home-page .uni-slideshow_v2__item.item-2 .uni-slideshow_v2__img,
  .home-page .uni-slideshow_v2__img[src*="shtukaturka"] {
    object-position: 54% 26% !important;
  }
}

.home-page .uni-slideshow_v2 {
  margin-bottom: 0;
  border: none !important;
  background: transparent;
  box-shadow: none;
}

/* Banner pagination — segmented bar below slide image */
.home-page .home-hero-top .uni-slideshow_v2 {
  position: relative;
  overflow: visible;
  border: none !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .home-hero-top .uni-slideshow_v2::after {
  display: none;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots {
  position: static;
  z-index: 5;
  display: flex !important;
  align-items: center;
  gap: 6px;
  height: auto !important;
  margin: 8px 0 0 !important;
  padding: 0 4px;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots .owl-dot {
  flex: 1 1 0;
  margin: 0 !important;
  padding: 0;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots .owl-dot + .owl-dot {
  margin-left: 0 !important;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots .owl-dot span {
  display: block;
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 4px;
  background: #cfd9e6;
  box-shadow: none;
  transition: background 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots .owl-dot:hover span {
  background: #b8c9dc;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-dots .owl-dot.active span {
  height: 5px;
  background: linear-gradient(90deg, #4998fd 0%, #6eb3ff 100%);
  box-shadow: 0 0 10px rgba(73, 152, 253, 0.55);
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #4998fd !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-page .home-hero-top .uni-slideshow_v2:hover .owl-nav button {
  opacity: 1;
}

.home-page .home-hero-top .uni-slideshow_v2 .owl-nav button:hover {
  transform: scale(1.05);
  color: #3a7fd4 !important;
}

/* Stock status on product cards — "Закончился" was #f5f5f5 (invisible on white) */
.qty-indicator__text.text-0 {
  color: #d32f2f !important;
  font-weight: 600;
}

/* ===== Modern catalog menu ===== */
.menu--modern {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(31, 38, 48, 0.08);
}

.menu--modern.menu1 .menu__header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 14px;
  box-sizing: border-box;
  background: #4998fd;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 12px 12px 0 0;
}

.menu--modern .menu__header-icon,
.menu--modern .menu__header-title {
  color: #fff !important;
}

.menu--modern .menu__collapse {
  background: #fff;
}

.menu--modern .menu__level-1-li {
  border-top: none;
  border-bottom: 1px solid #eef2f7;
  transition: background 0.2s ease;
}

.menu--modern .menu__level-1-li:last-child {
  border-bottom: none;
  border-radius: 0 !important;
}

.menu--modern .menu__level-1-li:first-child {
  border-top: none;
}

.menu--modern .menu__level-1-li:hover,
.menu--modern .menu__level-1-li.open {
  background: #f7faff;
}

.menu--modern .menu__level-1-a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 4px 12px 4px 10px;
  color: #334155;
  font-weight: 500;
  font-size: 0.92em;
}

.menu--modern .menu__level-1-a:hover {
  color: #4998fd;
  text-decoration: none;
}

.menu--modern .menu__level-1-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(73, 152, 253, 0.1);
  color: #4998fd;
}

.menu--modern .menu__level-1-li:hover .menu__level-1-icon-wrap,
.menu--modern .menu__level-1-li.open .menu__level-1-icon-wrap {
  background: #4998fd;
  color: #fff;
}

.menu--modern .menu__level-1-icon {
  margin: 0;
  font-size: 0.95em;
}

.menu--modern .menu__level-1-img {
  width: 18px;
  height: 18px;
  margin: 0;
  object-fit: contain;
}

.menu--modern .menu__level-1-name {
  flex: 1 1 auto;
  line-height: 1.25;
}

.menu--modern.menu1 .menu__level-1-li.has-children:after {
  color: #94a3b8;
  width: 30px;
  height: 38px;
}

.menu--modern.menu1 .menu__level-1-li:hover.has-children:after,
.menu--modern.menu1 .menu__level-1-li.open.has-children:after {
  color: #4998fd;
}

.menu--modern .menu__level-2 {
  background: #fbfcfe;
}

@media (max-width: 991px) {
  .menu--modern .menu__level-2 {
    border-top: 1px solid #eef2f7;
  }
}

.menu--modern .menu__level-2-a {
  color: #475569;
}

.menu--modern .menu__level-2-a:hover {
  color: #4998fd;
}

.menu--modern .menu__level-3-a {
  color: #64748b;
}

.menu--modern .menu__level-3-a:hover {
  color: #4998fd;
}

.menu-open {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(73, 152, 253, 0.25);
}

/* ===== Horizontal top links menu (menu2) ===== */
@media (min-width: 992px) {
  /* UniShop menu_blur: без затемнения фона при наведении на каталог */
  main.blur:after,
  footer.blur:after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  header .main-menu.set-before {
    align-items: flex-start;
    min-height: 46px;
    position: relative;
    overflow: visible;
  }

  header .main-menu.set-before:before {
    height: 46px !important;
    background: #4998fd;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(73, 152, 253, 0.2);
  }

  header .main-menu.set-before > .col-md-9,
  header .main-menu.set-before > .col-lg-9,
  header .main-menu.set-before > .col-xxl-15 {
    display: flex;
    align-items: stretch;
    min-height: 46px;
    height: 46px;
    padding-left: 0;
    padding-right: 10px;
    background: transparent !important;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  header .main-menu .menu-wrapper {
    position: relative;
    z-index: 1;
    width: 25% !important;
    min-width: 300px !important;
    max-width: none !important;
    flex: 0 0 25% !important;
    min-height: 46px;
    padding: 4px 10px 4px 8px;
    background: transparent !important;
    box-sizing: border-box;
    align-self: center;
    overflow: visible;
  }

  header .main-menu .menu-wrapper:after {
    content: '';
    position: absolute;
    top: 9px;
    right: 0;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.28);
  }

  header .menu--modern.menu1 {
    position: relative;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 38px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    z-index: 1002;
  }

  header .menu--modern.menu1 .menu__header {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: #fff !important;
    color: #2b6fd6 !important;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    border-right: none;
    box-shadow: 0 2px 10px rgba(21, 52, 98, 0.16);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
  }

  header .menu--modern.menu1.catalog-open .menu__header {
    border-radius: 12px 12px 0 0;
    border: 1px solid #e8edf3;
    border-bottom: none;
    box-shadow: none;
    z-index: 2;
    position: relative;
  }

  /* Мостик для курсора между кнопкой и списком */
  header .menu--modern.menu1 .menu__header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
  }

  header .menu--modern.menu1 .menu__header:hover {
    background: #f4f9ff !important;
  }

  header .menu--modern.menu1 .menu__header .menu__header-icon,
  header .menu--modern.menu1 .menu__header .menu__header-title {
    color: #2b6fd6 !important;
  }

  header .menu--modern.menu1 .menu__collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    display: none;
    box-sizing: border-box;
    overflow: visible;
    background: #fff;
    z-index: 1001;
    border-radius: 0 0 12px 12px;
    border: none;
    box-shadow: none;
    margin-top: 0;
    padding-top: 0;
  }

  /* Единая карточка: кнопка + список без стыков */
  header .main-menu .menu-wrapper:hover .menu--modern.menu1,
  header .menu--modern.menu1.catalog-open,
  body:has(.home-page) header .menu--modern.menu1 {
    filter: drop-shadow(0 8px 22px rgba(15, 35, 60, 0.1));
  }

  header .main-menu .menu-wrapper:hover .menu--modern.menu1 .menu__header,
  header .menu--modern.menu1.catalog-open .menu__header,
  body:has(.home-page) header .menu--modern.menu1 .menu__header {
    border: 1px solid #e8edf3 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 12px 12px 0 0 !important;
    z-index: 2;
    position: relative;
  }

  header .main-menu .menu-wrapper:hover .menu--modern.menu1 .menu__collapse,
  header .menu--modern.menu1.catalog-open .menu__collapse,
  body:has(.home-page) header .menu--modern.menu1 .menu__collapse {
    border: 1px solid #e8edf3 !important;
    border-top: none !important;
    box-shadow: none !important;
    margin-top: -1px;
    overflow: visible;
    border-radius: 0 0 12px 12px !important;
  }

  header .menu--modern.menu1 .menu__collapse.menu__collapse--expanded {
    overflow: visible;
    max-width: none !important;
    width: var(--menu-expand-width, auto) !important;
    transition: width 0.16s ease;
  }

  header .main-menu .menu-wrapper:hover .menu__collapse,
  header .menu--modern.menu1:hover .menu__collapse,
  header .menu--modern.menu1.catalog-open .menu__collapse {
    display: block !important;
  }

  header #menu2.menu2.menu-right {
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    margin-left: 0;
    width: 100%;
    background: transparent !important;
    position: relative;
    z-index: 1007;
  }

  header #menu2.menu2 .menu__collapse {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  header #menu2.menu2 .menu__level-1-li {
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    max-height: 46px;
    border: none !important;
    box-shadow: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0;
    background: transparent !important;
    transition: background 0.18s ease;
  }

  header #menu2.menu2 .menu__level-1-li:first-child {
    border-left: none !important;
    box-shadow: none !important;
  }

  header #menu2.menu2 .menu__level-1-li:last-child {
    border-right: none !important;
  }

  header #menu2.menu2 .menu__level-1-li:hover,
  header #menu2.menu2 .menu__level-1-li.open {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  header #menu2.menu2 .menu__level-1-li:after {
    display: none;
  }

  header #menu2.menu2 .menu2__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    margin: 0;
    padding: 0 6px;
    box-sizing: border-box;
    color: #fff !important;
    font-size: clamp(10px, 0.66vw, 12px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
  }

  header #menu2.menu2 .menu2__link:hover,
  header #menu2.menu2 .menu2__link:focus {
    color: #fff !important;
    text-decoration: none;
  }

  header #menu2.menu2 .menu__level-1-icon {
    flex: 0 0 auto;
    margin: 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1;
  }

  header #menu2.menu2 .menu__level-1-li:hover .menu__level-1-icon {
    color: #fff !important;
  }

  header #menu2.menu2 .menu__level-1-img {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
  }

  header #menu2.menu2 .menu2__name {
    overflow: visible;
    text-overflow: clip;
    min-width: 0;
  }

  header #menu2.menu2 .menu__level-2 {
    top: calc(100% + 4px);
    border: 1px solid #e8edf3;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
  }

  header #menu2.menu2 .menu__level-2-a {
    color: #334155;
    font-weight: 600;
  }

  header #menu2.menu2 .menu__level-2-a:hover {
    color: #4998fd;
  }

  header #menu2.menu2 .menu__additional {
    display: none !important;
  }

  /* Единая плашка: убираем тёмные швы из базовой темы */
  header .menu2 .menu__level-1-li,
  header .menu2.new .menu__level-1-li:first-child,
  header .menu-right .menu__level-1-li {
    box-shadow: none !important;
    background: transparent !important;
  }

  header .menu--modern.menu1 .menu__level-1-a {
    padding-right: 14px;
  }

  .menu--modern .menu__level-1-name {
    white-space: normal;
    line-height: 1.3;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header #menu2.menu2 .menu2__link {
    gap: 4px;
    padding: 0 3px;
    font-size: 10px;
  }

  header #menu2.menu2 .menu__level-1-icon {
    font-size: 0.88em;
  }
}

@media (min-width: 1400px) {
  header #menu2.menu2 .menu2__link {
    font-size: 12px;
    padding: 0 10px;
    gap: 7px;
  }
}

@media (min-width: 992px) {
  .main-menu.not-before:before {
    display: none;
  }

  header .main-menu .menu-wrapper {
    padding-right: 0;
    box-sizing: border-box;
    align-self: center;
    min-height: 46px;
    width: 25% !important;
    min-width: 300px !important;
    max-width: none !important;
    flex: 0 0 25% !important;
    overflow: visible;
    background: transparent !important;
  }

  header .menu--modern.menu1 {
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  header .main-menu {
    z-index: 1000;
  }

  .menu--modern.menu1 .menu__collapse {
    border: none;
    border-radius: 0 0 12px 12px;
  }

  header .menu--modern.menu1 .menu__level-1-li {
    position: relative;
    border-top: none !important;
    border-bottom: 1px solid #eef2f7;
  }

  header .menu--modern.menu1 .menu__level-1-li:last-child {
    border-bottom: none;
    border-radius: 0 !important;
  }

  header .menu--modern.menu1 .menu__level-1-li:last-child .menu__level-1-a {
    border-radius: 0 0 11px 11px;
  }

  header .menu--modern.menu1 .menu__level-1-li:hover,
  header .menu--modern.menu1 .menu__level-1-li.open {
    background: #f7faff;
  }

  header .menu--modern.menu1 .menu__level-1-li.open {
    z-index: 4;
  }

  header .menu--modern.menu1 .menu__collapse.menu__collapse--expanded > .menu__level-1-li {
    width: var(--menu-col-width, 100%);
    max-width: var(--menu-col-width, 100%);
    box-sizing: border-box;
  }

  header .menu--modern.menu1 .menu__collapse.menu__collapse--expanded > .menu__level-1-li.open {
    background: #f7faff;
    box-shadow: inset 3px 0 0 #4998fd;
  }

  header .menu--modern.menu1 .menu__level-2 {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
    display: none;
    margin: 0;
    background: #fff;
    border: none;
    border-left: 1px solid #f0f4f8;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.15s ease;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
  }

  /* Мостик курсора между колонкой категорий и подменю */
  header .menu--modern.menu1 .menu__level-2.open::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    width: 20px;
  }

  header .menu--modern.menu1 .menu__level-2.open {
    display: grid;
    z-index: 1005;
    padding: 14px 14px 16px 16px;
    align-content: start;
    align-self: stretch;
    gap: 2px 0;
    box-sizing: border-box;
    border-radius: 0 0 12px 0;
    box-shadow: 8px 14px 36px rgba(15, 35, 60, 0.11);
  }

  /* 4 столбца подкатегорий — на всю ширину flyout до «Контакты» */
  header .menu--modern.menu1 .menu__level-2.column-4.open:not(.has-banner) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    column-gap: 18px;
    row-gap: 2px;
  }

  header .menu--modern.menu1 .menu__level-2.column-3.open:not(.has-banner) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    column-gap: 18px;
    row-gap: 2px;
  }

  header .menu--modern.menu1 .menu__level-2.column-2.open:not(.has-banner) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    column-gap: 18px;
    row-gap: 2px;
  }

  header .menu--modern.menu1 .menu__level-2.column-4.open:not(.has-banner) > .menu__level-2-ul:not(:nth-child(4n+1)),
  header .menu--modern.menu1 .menu__level-2.column-3.open:not(.has-banner) > .menu__level-2-ul:not(:nth-child(3n+1)),
  header .menu--modern.menu1 .menu__level-2.column-2.open:not(.has-banner) > .menu__level-2-ul:not(:nth-child(2n+1)) {
    border-left: 1px solid #eef2f7;
    padding-left: 16px;
    margin-left: 0;
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 7px;
  }

  header .menu--modern.menu1 .menu__level-2.has-banner .menu__level-2-wrap {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    align-content: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    column-gap: 18px;
    row-gap: 2px;
  }

  header .menu--modern.menu1 .menu__level-2.has-banner.column-3 .menu__level-2-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  header .menu--modern.menu1 .menu__level-2.has-banner.column-2 .menu__level-2-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  header .menu--modern.menu1 .menu__level-2.has-banner.column-1 .menu__level-2-wrap {
    grid-template-columns: 1fr;
  }

  header .menu--modern.menu1 .menu__level-2.has-banner.column-4 .menu__level-2-wrap > .menu__level-2-ul:not(:nth-child(4n+1)),
  header .menu--modern.menu1 .menu__level-2.has-banner.column-3 .menu__level-2-wrap > .menu__level-2-ul:not(:nth-child(3n+1)),
  header .menu--modern.menu1 .menu__level-2.has-banner.column-2 .menu__level-2-wrap > .menu__level-2-ul:not(:nth-child(2n+1)) {
    border-left: 1px solid #eef2f7;
    padding-left: 16px;
    border-top: none !important;
    margin-top: 0 !important;
  }

  header .menu--modern.menu1 .menu__level-2.has-banner.open {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 12px 0 16px 16px;
  }

  header .menu--modern.menu1 .menu__level-2-ul {
    position: relative;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    padding: 7px 10px 9px;
    box-sizing: border-box;
  }

  header .menu--modern.menu1 .menu__level-2-ul.has-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
    padding: 10px 14px 12px;
  }

  header .menu--modern.menu1 .menu__level-2-ul.has-image .menu__level-2-img {
    position: static;
    top: auto;
    left: auto;
    width: 52px;
    height: 52px;
    margin: 0;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
  }

  header .menu--modern.menu1 .menu__level-2-ul.has-image .menu__level-2-a {
    width: 100%;
    padding: 0;
  }

  header .menu--modern.menu1 .menu__level-2-ul:before {
    display: none !important;
    content: none !important;
  }

  header .menu--modern.menu1 .menu__level-2.column-4 > .menu__level-2-ul:nth-child(n+5),
  header .menu--modern.menu1 .menu__level-2.column-4 .menu__level-2-wrap > .menu__level-2-ul:nth-child(n+5),
  header .menu--modern.menu1 .menu__level-2.column-3 > .menu__level-2-ul:nth-child(n+4),
  header .menu--modern.menu1 .menu__level-2.column-3 .menu__level-2-wrap > .menu__level-2-ul:nth-child(n+4),
  header .menu--modern.menu1 .menu__level-2.column-2 > .menu__level-2-ul:nth-child(n+3),
  header .menu--modern.menu1 .menu__level-2.column-2 .menu__level-2-wrap > .menu__level-2-ul:nth-child(n+3),
  header .menu--modern.menu1 .menu__level-2.column-1 > .menu__level-2-ul:nth-child(n+2),
  header .menu--modern.menu1 .menu__level-2.column-1 .menu__level-2-wrap > .menu__level-2-ul:nth-child(n+2) {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 7px;
  }

  header .menu--modern.menu1 .menu__level-2 .menu__level-2-ul:hover {
    background: #f8fbff;
    border-radius: 8px;
  }

  header .menu--modern.menu1 .menu__level-2-a {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 2px 0;
    font-size: 0.84em;
    font-weight: 700;
    line-height: 1.38;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  header .menu--modern.menu1 .menu__level-2-a:hover {
    color: #4998fd;
  }

  header .menu--modern.menu1 .menu__level-2-a.has-children {
    margin: 0 0 8px;
  }

  header .menu--modern.menu1 .menu__level-3 {
    padding: 0 0 4px;
  }

  header .menu--modern.menu1 .menu__level-3-ul {
    margin: 0;
    padding: 0;
  }

  header .menu--modern.menu1 .menu__level-3-li + li {
    margin: 2px 0 0;
  }

  header .menu--modern.menu1 .menu__level-3-a {
    display: block;
    min-height: 0;
    padding: 3px 0 3px 14px;
    font-size: 0.82em;
    line-height: 1.45;
    font-weight: 400;
    position: relative;
  }

  header .menu--modern.menu1 .menu__level-3-a:before {
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 4px;
    height: 4px;
    margin: 0;
    border-radius: 50%;
    background: #94a3b8;
    content: "";
    font-size: inherit;
  }

  header .menu--modern.menu1 .menu__level-3-a:hover:before {
    background: #4998fd;
  }

  header .menu--modern.menu1 .menu__level-3-a.menu__more {
    margin-top: 6px;
    font-weight: 500;
    color: #4998fd;
  }

  header .menu--modern.menu1 .menu__level-3-a.menu__more .menu__more-span {
    text-decoration: none;
  }

  header .menu--modern.menu1 .menu__level-3-a.menu__more:hover .menu__more-span {
    text-decoration: underline;
  }

  /* Главная: кнопка в синей полосе, список — absolute (не раздувает header) */
  body:has(.home-page) header .main-menu.set-before {
    align-items: flex-start;
    min-height: 46px;
    height: auto;
    overflow: visible;
  }

  body:has(.home-page) header .main-menu .menu-wrapper {
    align-self: flex-start;
    position: relative;
    min-height: 46px;
    height: auto;
    overflow: visible;
  }

  body:has(.home-page) header .menu--modern.menu1 {
    position: relative;
    min-height: 38px;
    height: auto;
    overflow: visible;
  }

  body:has(.home-page) header .menu--modern.menu1 .menu__collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0;
    right: 0;
    width: 100% !important;
    display: block !important;
    overflow: visible;
    z-index: 1004;
  }

  body:has(.home-page) header .menu--modern.menu1 .menu__collapse:has(.menu__level-2.open) {
    z-index: 1006;
  }

  body:has(.home-page) header .menu--modern.menu1 .menu__level-2.open {
    z-index: 1006;
    box-shadow: 6px 8px 28px rgba(15, 35, 60, 0.12);
    border-left: 1px solid #f0f4f8;
  }

  body:has(.home-page) header .main-menu.set-before > .col-md-9,
  body:has(.home-page) header .main-menu.set-before > .col-lg-9,
  body:has(.home-page) header .main-menu.set-before > .col-xxl-15 {
    height: 46px;
    min-height: 46px;
    max-height: 46px;
  }

  .home-page .content-bottom {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
  }

  .home-page > .row {
    align-items: stretch;
  }

  #column-right .uni-banner {
    display: block;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .menu--modern .menu__level-1-a {
    min-height: 44px;
  }

  .menu--modern .menu__level-2 {
    background: #f8fafc;
  }

  .menu--modern .menu__level-2-ul {
    width: 100% !important;
    max-width: none;
    float: none;
    padding: 0;
  }

  .menu--modern .menu__level-2-ul:before {
    display: none !important;
  }

  .menu--modern .menu__level-2-a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 44px 8px 20px;
    border-top: 1px solid #e8edf3;
    font-weight: 600;
    font-size: 0.9em;
    color: #334155;
  }

  .menu--modern .menu__level-2-ul:first-child .menu__level-2-a {
    border-top: none;
  }

  .menu--modern .menu__level-3 {
    background: #fff;
    padding: 0;
  }

  .menu--modern .menu__level-3-li {
    border-top: none;
  }

  .menu--modern .menu__level-3-li + li {
    margin: 0;
  }

  .menu--modern .menu__level-3-a {
    min-height: 40px;
    padding: 8px 20px 8px 34px;
    font-size: 0.88em;
    position: relative;
  }

  .menu--modern .menu__level-3-a:before {
    position: absolute;
    left: 22px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: 0;
    border-radius: 50%;
    background: #cbd5e1;
    content: "";
    transform: translateY(-50%);
    font-size: inherit;
  }
}

/* ===== Home category carousel ===== */
.home-category-carousel {
  margin: 0 0 32px;
  padding: 0;
}

.home-page .content-bottom .home-category-carousel {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

.home-category-carousel__module {
  margin: 0;
}

.home-category-carousel__module .uni-module__wrapper {
  align-items: stretch;
}

.home-category-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.home-category-carousel .owl-item {
  display: flex;
  height: auto;
}

.home-category-carousel__item {
  width: 100%;
  margin: 0 !important;
  padding: 0 6px;
  box-sizing: border-box;
  display: flex;
}

.home-category-carousel__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 16px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.home-category-carousel__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #4998fd 0%, #6eb3ff 100%);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-category-carousel__link:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(73, 152, 253, 0.14),
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.home-category-carousel__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-category-carousel__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 108px;
  margin: 0;
  padding: 14px 16px 10px;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #4998fd;
  box-sizing: border-box;
  transition: background 0.22s ease;
}

.home-category-carousel__icon--photo {
  background: linear-gradient(180deg, #fafbfc 0%, #f4f7fb 100%);
}

.home-category-carousel__link:hover .home-category-carousel__icon {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f2ff 100%);
}

.home-category-carousel__icon img {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 84px;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transition: transform 0.22s ease;
}

.home-category-carousel__link:hover .home-category-carousel__icon img {
  transform: scale(1.05);
}

.home-category-carousel__icon i {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.88;
}

.home-category-carousel__name {
  display: -webkit-box;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2em;
  margin: 0;
  padding: 10px 12px 14px;
  color: #1e293b;
  font-size: 0.82em;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.01em;
  word-wrap: break-word;
  box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-category-carousel__link:hover .home-category-carousel__name {
  color: #4998fd;
}

.home-category-carousel .owl-nav {
  margin-top: 6px;
}

.home-category-carousel .owl-nav button {
  width: 36px;
  height: 36px;
  border-radius: 10px !important;
  background: #fff !important;
  color: #4998fd !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-category-carousel .owl-nav button:hover {
  border-color: #4998fd !important;
  box-shadow: 0 4px 12px rgba(73, 152, 253, 0.15);
}

@media (max-width: 991px) {
  .home-page .content-bottom .home-category-carousel {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .home-category-carousel__item {
    padding: 0 4px;
  }

  .home-category-carousel__link {
    border-radius: 14px;
  }

  .home-category-carousel__icon {
    height: 88px;
    padding: 12px 10px 8px;
  }

  .home-category-carousel__icon img {
    max-height: 68px;
  }

  .home-category-carousel__name {
    min-height: 2.8em;
    padding: 8px 8px 12px;
    font-size: 0.76em;
    line-height: 1.25;
  }
}

/* ===== Home info blocks ===== */
.home-promo-band {
  display: none;
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  border: none;
}

@media (min-width: 992px) {
  .home-promo-band {
    display: block;
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .home-promo-band__inner {
    margin-left: 0;
    width: 100%;
    padding: 14px 0 14px 10px;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-radius: 0;
  }
}

.home-promo-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.home-promo-band__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 14px;
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 35, 60, 0.06);
}

.home-promo-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #4998fd;
  color: #fff;
}

.home-promo-band__icon i {
  display: block;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

.home-promo-band__text {
  flex: 1 1 auto;
  min-width: 0;
}

.home-promo-band__text strong {
  display: block;
  margin-bottom: 4px;
  color: #1e3a5f;
  font-size: 0.92em;
  line-height: 1.3;
}

.home-promo-band__desc {
  display: block;
  color: #64748b;
  font-size: 0.82em;
  line-height: 1.35;
}

@media (max-width: 1599px) {
  .home-promo-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1600px) {
  .home-page .home-promo-band {
    margin-left: 0;
    width: 100%;
  }

  .home-page .home-promo-band__inner {
    margin-left: 0;
    width: 100%;
  }
}

/* ===== Modern footer ===== */
.footer--modern {
  padding: 0;
  border-top: none;
  background: linear-gradient(180deg, #2b3340 0%, #1f2630 100%);
  color: #d7dee8;
}

.footer--modern .footer__main {
  padding: 48px 0 32px;
}

.footer--modern .footer__grid {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 992px) {
  .footer--modern .footer__grid {
    display: flex;
    flex-wrap: wrap;
  }
}

.footer--modern .footer__column {
  margin-bottom: 24px;
}

.footer--modern .footer__column-heading {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  padding-left: 14px;
  color: #fff;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}

.footer--modern .footer__column-heading:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: #4998fd;
  transform: translateY(-50%);
}

.footer--modern .footer__column-li {
  margin: 0 0 10px;
  font-size: 0.95em;
  font-weight: 400;
}

.footer--modern .footer__column-li:before {
  content: none;
}

.footer--modern .footer__column-li:last-child {
  margin-bottom: 0;
}

.footer--modern .footer__column-a {
  color: #b8c3d1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer--modern .footer__column-a:hover {
  color: #fff;
  text-decoration: none;
}

.footer--modern .footer__contact-card {
  margin-bottom: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.footer--modern .footer__contact-card .footer__column-heading {
  margin-bottom: 14px;
  font-size: 0.95em;
}

.footer--modern .footer__contacts-li {
  align-items: flex-start;
  gap: 12px;
}

.footer--modern .footer__contacts-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(73, 152, 253, 0.15);
  color: #7eb8ff;
}

.footer--modern .footer__contacts-icon {
  margin: 0;
  font-size: 0.95em;
}

.footer--modern .footer__contacts-li--address .footer__column-a,
.footer--modern .footer__contacts-li--address span {
  line-height: 1.6;
  font-size: 0.9em;
}

.footer--modern .footer__bottom {
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer--modern .footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer--modern .footer__text {
  margin: 0;
  padding: 0;
  border: none;
  color: #93a0b0;
  font-size: 0.92em;
}

.footer--modern .footer__socials-payments {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer--modern .footer__socials-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #d7dee8;
}

.footer--modern .footer__socials-icon:hover {
  background: #4998fd;
}

.footer__payments-icon--klever {
  width: auto;
  max-width: 110px;
  height: 30px;
  padding: 2px 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.footer__payments-icon.yandex,
.footer__payments-icon.mir,
.footer__payments-icon.webmoney {
  display: none !important;
}

.footer--modern .footer__payments-icon--klever {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
}

.footer--modern .subscribe {
  background: linear-gradient(90deg, #4998fd 0%, #3a7fd4 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer--modern .subscribe__info {
  color: #fff;
  font-size: 1.05em;
  font-weight: 500;
}

.footer--modern .subscribe__input {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer--modern .subscribe__btn {
  border: none;
  border-radius: 8px;
  background: #1f2630;
  color: #fff;
  font-weight: 600;
}

.footer--modern .subscribe__btn:hover {
  background: #151a22;
}

.footer--modern .subscribe__agree {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9em;
}

.footer--modern .subscribe__agree a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer--modern .footer__main {
    padding: 24px 0 12px;
  }

  .footer--modern .footer__grid {
    display: block;
  }

  .footer--modern .footer__grid:before,
  .footer--modern .footer__grid:after {
    display: none;
  }

  .footer--modern .footer__column {
    width: 100% !important;
    max-width: 100%;
    float: none;
    margin-bottom: 0;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer--modern .footer__column:first-child {
    border-top: none;
  }

  .footer--modern .footer__column-heading {
    min-height: 48px;
    margin-bottom: 0;
    padding: 12px 34px 12px 14px;
    cursor: pointer;
  }

  .footer--modern .footer__column-heading .fa-chevron-down {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .footer--modern .footer__column-heading.open .fa-chevron-down {
    transform: translateY(-50%) rotate(180deg);
  }

  .footer--modern .footer__column-ul {
    padding: 8px 0 12px 14px;
  }

  .footer--modern .footer__contact-card {
    margin-bottom: 0;
    padding: 0 0 12px;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .footer--modern .footer__contact-card .footer__column-heading {
    min-height: 48px;
    margin-bottom: 0;
  }

  .footer--modern .footer__column--contacts {
    padding-top: 0;
  }

  .footer--modern .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Catalog layout fix (menu spacer + sidebar) ===== */
@media (min-width: 1600px) {
  .container > .row > #column-left.col-xxl-5 ~ #content {
    width: 75% !important;
  }

  .container > .row > #column-left.col-xxl-5 ~ #content:has(+ #column-right) {
    width: 50% !important;
  }
}

/* ===== Modern filter sidebar ===== */
.filter-default {
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(31, 38, 48, 0.06);
  overflow: hidden;
}

.filter-default > .heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(90deg, #4998fd 0%, #3a7fd4 100%);
  color: #fff;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.filter-default > .uni-wrapper {
  padding: 10px 14px 16px;
}

.filter-default__group {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #eef2f7;
}

.filter-default__group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-default__group-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 10px 4px 8px;
  color: #1e3a5f;
  font-size: 0.9em;
  font-weight: 600;
}

.filter-default__group-name sup {
  display: none;
}

.filter-default__item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 4px;
  color: #475569;
  font-size: 0.88em;
  line-height: 1.35;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-default__item:hover {
  background: #f7faff;
  color: #4998fd;
}

.filter-default__item input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #4998fd;
}

.filter-default hr {
  display: none;
}

.filter-default #button-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #4998fd 0%, #3a7fd4 100%);
  box-shadow: 0 4px 12px rgba(73, 152, 253, 0.25);
  font-weight: 600;
}

.filter-default #button-filter:hover,
.filter-default #button-filter:focus {
  background: linear-gradient(90deg, #3a8ef0 0%, #2f73c4 100%);
  color: #fff;
}

@media (min-width: 992px) {
  #column-left .filter-default {
    position: sticky;
    top: 12px;
    max-height: none;
    overflow: visible;
  }
}

/* ===== Stacked banner captions (title below image) ===== */
.uni-banner__a--stacked,
.uni-banner__div--stacked {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
  box-shadow: 0 1px 4px rgba(73, 152, 253, 0.12);
  text-decoration: none;
  color: inherit;
}

.uni-banner__media {
  display: block;
  overflow: hidden;
}

.uni-banner__a--stacked .uni-banner__img,
.uni-banner__div--stacked .uni-banner__img {
  border-radius: 0;
}

.uni-banner__caption {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: #4998fd;
}

.uni-banner__a--stacked:hover .uni-banner__caption {
  background: #3a85e8;
}

/* ===== Mobile store banners (uni-banner grid) ===== */
@media (max-width: 767px) {
  .uni-banner.row-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -6px;
    margin-right: -6px;
  }

  .uni-banner__item {
    display: flex;
    float: none;
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
  }

  .uni-banner__item.col-xs-6 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }

  .uni-banner__a,
  .uni-banner__div {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: unset;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #eef2f7;
  }

  .uni-banner__a--stacked,
  .uni-banner__div--stacked {
    aspect-ratio: unset;
    height: auto;
  }

  .uni-banner__media {
    aspect-ratio: 4 / 3;
  }

  .uni-banner__img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .uni-banner__caption {
    font-size: 11px;
    padding: 7px 8px;
  }
}

/* Штрихкоды EAN/SKU из 1С — не показывать на витрине */
.sticker__item.ean,
.sticker__item.sku,
.sticker__item.upc,
.sticker__item.mpn,
.sticker__item.jan,
.sticker__item.isbn {
  display: none !important;
}

/* ===== Стикер «Новинка» ===== */
.product-thumb .sticker,
.uni-module .sticker {
  top: 10px;
  left: 0;
  z-index: 9;
  pointer-events: none;
}

.sticker__item.new {
  position: relative;
  display: inline-flex;
  align-items: center;
  float: none;
  clear: none;
  height: 28px;
  margin: 0;
  padding: 0 14px 0 34px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, #4998fd 0%, #00b4d8 52%, #00c9a7 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-left: none;
  border-radius: 0 999px 999px 0;
  opacity: 1 !important;
  box-shadow:
    0 4px 14px rgba(73, 152, 253, 0.38),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: visible;
}

.sticker__item.new::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2l2.09 6.26L20.5 9.27l-5 3.64L16.18 20 12 16.77 7.82 20l.68-7.09-5-3.64 6.41-.01L12 2z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.sticker__item.new::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 0 10px;
  border-color: #2f73d4 transparent transparent transparent;
}

.product-page .sticker {
  top: 12px;
  left: 0;
}

.product-page .sticker__item.new {
  height: 32px;
  padding: 0 16px 0 38px;
  font-size: 12px;
}

.product-page .sticker__item.new::before {
  left: 13px;
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .product-thumb .sticker,
  .uni-module .sticker {
    top: 8px;
  }

  .sticker__item.new {
    height: 24px;
    padding: 0 10px 0 28px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .sticker__item.new::before {
    left: 9px;
    width: 12px;
    height: 12px;
  }
}

/* ===== Vertical sidebar catalog ===== */
.menu-module--vertical .menu-module__a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-module--vertical .menu-module__name {
  flex: 1 1 auto;
  line-height: 1.3;
}

.menu-module--vertical .menu-module__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.menu-module--vertical .menu-module__img--child {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.menu-module--vertical .menu-module__children-a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu--modern .menu__level-2-img {
  border-radius: 8px;
  object-fit: cover;
}

@media (min-width: 992px) {
  header .menu--modern.menu1 .menu__level-2-ul.has-image {
    padding-left: 14px !important;
  }
}

/* ===== Live search ===== */
.header-search__form .live-search {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 1100;
}

.header-search__form .live-search__ul {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-width: 280px;
  box-sizing: border-box;
  border: 1px solid #e8edf3;
  border-radius: 8px;
}

.live-search__path {
  display: block;
  margin: 0 0 2px;
  color: #64748b;
  font-size: 0.78em;
  line-height: 1.35;
}

.live-search__path-link {
  display: block;
  margin: 0 0 4px;
  color: #4998fd;
  font-size: 0.78em;
  line-height: 1.35;
  text-decoration: none;
}

.live-search__path-link:hover {
  text-decoration: underline;
}

.live-search__category {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.live-search__category-item {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none;
}

.live-search__category-item:hover {
  background: rgba(73, 152, 253, 0.08);
  text-decoration: none;
}

.live-search__category-name {
  display: block;
  color: #334155;
}

.live-search__category-item .live-search__path {
  margin-bottom: 3px;
}

/* ===== Mobile layout fixes ===== */
@media (max-width: 991px) {
  /* Bottom fly-menu: labels must not overlap */
  .fly-menu.bottom {
    z-index: 1085;
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .fly-menu.show-label {
    height: auto;
    min-height: 56px;
  }

  .fly-menu.show-label .row {
    height: auto;
    min-height: 56px;
    align-items: stretch;
    padding: 5px 0 7px;
  }

  .fly-menu.bottom .container {
    width: 100%;
    max-width: 100%;
    padding-left: 2px;
    padding-right: 2px;
  }

  .fly-menu.bottom .row {
    margin-left: 0;
    margin-right: 0;
  }

  .fly-menu__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 1px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .fly-menu__icon {
    flex: 0 0 auto;
    width: auto;
    line-height: 1;
    font-size: 1.12em;
  }

  .fly-menu__label {
    width: 100%;
    max-width: 100%;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.58em;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fly-menu__total {
    top: 0;
    bottom: auto;
    left: calc(50% + 2px);
  }

  /* Dev notification above bottom nav, not over it */
  .notification.fixed {
    bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }

  .footer.mobile-menu-bottom {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }

  .fly-block.mobile-menu-bottom {
    bottom: calc(76px + env(safe-area-inset-bottom, 0));
  }

  /* Duplicate catalog/search row — fly-menu already has these */
  body:has(#fly-menu.bottom) header > .container:last-child {
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: none;
  }

  body:has(#fly-menu.bottom) header > .container:last-child .row {
    height: 0;
    margin: 0;
    overflow: visible;
  }

  body:has(#fly-menu.bottom) header > .container:last-child .main-menu {
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: none;
  }

  body:has(#fly-menu.bottom) header > .container:last-child .menu-open,
  body:has(#fly-menu.bottom) header > .container:last-child #search2 {
    display: none !important;
  }

  /* Catalog drawer — поверх нижней fly-menu (не внутри header z-index) */
  .menu-wrapper,
  body > .menu-wrapper {
    position: fixed !important;
    z-index: 1120 !important;
    top: 0;
    left: -100%;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background: #fff;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.16);
    transition: left ease-in-out 0.15s;
    display: flex;
    flex-direction: column;
  }

  .menu-wrapper.show,
  body > .menu-wrapper.show,
  body.menu-catalog-open .menu-wrapper {
    left: 0 !important;
    z-index: 1125 !important;
  }

  body.menu-catalog-open #fly-menu.bottom {
    z-index: 1085;
  }

  .fly-menu-backdrop {
    z-index: 1088 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.18) !important;
  }

  body:has(.menu-wrapper.show):not(.fly-search-open) .fly-menu-backdrop {
    display: none !important;
  }

  main.blur:after,
  footer.blur:after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.menu-catalog-open header {
    z-index: 1120 !important;
  }

  header .menu--modern.menu1 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    background: #fff;
  }

  .menu-wrapper .menu--modern.menu1 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    background: #fff;
  }

  .menu-wrapper .menu--modern.menu1 .menu__header {
    display: flex !important;
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(90deg, #4998fd 0%, #3a7fd4 100%) !important;
    color: #fff !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__header::after {
    display: none;
  }

  .menu-wrapper .menu--modern.menu1 .menu__collapse {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 calc(62px + env(safe-area-inset-bottom, 0)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  header .menu--modern.menu1 .menu__collapse,
  .menu--modern.menu1 .menu__collapse {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 calc(62px + env(safe-area-inset-bottom, 0)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li {
    position: relative;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items {
    background: #fff;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items:first-of-type {
    margin-top: 4px;
    border-top: 6px solid #f1f5f9;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu2__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px 8px 14px;
    color: #334155;
    font-weight: 500;
    font-size: 0.92em;
    text-decoration: none;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu2__link:hover,
  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu2__link:focus {
    color: #4998fd;
    text-decoration: none;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu__level-1-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 8px;
    background: rgba(73, 152, 253, 0.1);
    color: #4998fd;
    font-size: 0.95em;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu__level-1-img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 5px;
    border-radius: 8px;
    background: rgba(73, 152, 253, 0.1);
    object-fit: contain;
    box-sizing: border-box;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu2__name {
    flex: 1 1 auto;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-1-li.new-items .menu__pm {
    display: none !important;
  }

  .menu--modern.menu1 .menu__level-1-li.has-children:after {
    display: none !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-2 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f8fafc;
    overflow: hidden;
    display: block !important;
    grid-template-columns: none !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-2:not(.in) {
    height: 0 !important;
    overflow: hidden !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-2.in {
    height: auto !important;
    overflow: visible;
    display: block !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-2.in::before {
    display: none !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-3 {
    position: static !important;
    overflow: hidden;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-3:not(.in) {
    height: 0 !important;
  }

  .menu-wrapper .menu--modern.menu1 .menu__level-3.in {
    height: auto !important;
    display: block !important;
  }

  .menu--modern .menu__level-1-a {
    padding-right: 44px;
  }

  .menu--modern .menu__level-1-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu--modern .menu__pm {
    z-index: 3;
  }

  /* Mobile search from bottom fly-menu */
  .fly-menu.bottom .fly-menu__search-m .header-search {
    display: none;
    position: fixed;
    z-index: 1095;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(15, 35, 42, 0.12);
  }

  .header-search.fly-search--mobile-mounted {
    display: block !important;
    position: fixed !important;
    z-index: 1100 !important;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(15, 35, 42, 0.12);
    background: #fff;
  }

  .header-search.fly-search--mobile-mounted .header-search__form {
    position: relative;
    z-index: 1;
  }

  .header-search.fly-search--mobile-mounted .header-search__input,
  .header-search.fly-search--mobile-mounted .header-search__category-btn,
  .header-search.fly-search--mobile-mounted .header-search__btn {
    align-self: stretch;
    height: auto !important;
    min-height: 48px;
  }

  .header-search.fly-search--mobile-mounted .live-search {
    position: static;
    z-index: 2;
  }

  .header-search.fly-search--mobile-mounted .live-search__ul {
    position: fixed !important;
    z-index: 1101 !important;
    top: 48px;
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100dvh - 48px - 56px - env(safe-area-inset-bottom, 0));
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(15, 35, 42, 0.12);
  }

  body.fly-search-open .fly-menu-backdrop {
    z-index: 1098 !important;
  }

  .fly-menu.bottom .fly-menu__search-m.show .header-search,
  .fly-menu__search-m.show .header-search {
    display: block !important;
    z-index: 1095 !important;
  }

  .fly-menu__search-m.show .header-search__input,
  .fly-menu__search-m.show .header-search__category-btn {
    height: 48px !important;
    border-radius: 0 !important;
  }

  .fly-menu__search-m.show .live-search__ul {
    position: fixed !important;
    z-index: 1095 !important;
    top: 48px;
    left: 0;
    right: 0;
    margin: 0;
    max-height: calc(100dvh - 48px - 56px - env(safe-area-inset-bottom, 0));
    overflow-y: auto;
  }

  header .menu--modern.menu1 .menu__collapse.menu__collapse--expanded {
    width: 100% !important;
  }

  header .menu--modern.menu1 .menu__collapse.menu__collapse--expanded > .menu__level-1-li {
    width: 100%;
    max-width: none;
  }

  html.scroll-disabled .menu-wrapper.show .menu__collapse {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  header .main-menu.set-before:before {
    display: none !important;
  }

  .menu--modern .menu__header-title,
  .menu--modern .menu__header-icon {
    color: #fff !important;
  }

  .menu--modern .menu__header-icon.fa-times {
    background: rgba(255, 255, 255, 0.14) !important;
  }

  /* Banner dots under slide on mobile too */
  .home-page .uni-slideshow_v2 .owl-dots {
    position: static;
    z-index: 5;
    display: flex !important;
    align-items: center;
    gap: 6px;
    height: auto !important;
    margin: 8px 0 0 !important;
    padding: 0 4px;
  }

  .home-page .uni-slideshow_v2 .owl-dots .owl-dot {
    flex: 1 1 0;
    margin: 0 !important;
  }

  .home-page .uni-slideshow_v2 .owl-dots .owl-dot span {
    display: block;
    width: 100%;
    height: 4px;
    margin: 0;
    border-radius: 4px;
    background: #cfd9e6;
    box-shadow: none;
  }

  .home-page .uni-slideshow_v2 .owl-dots .owl-dot.active span {
    height: 5px;
    background: linear-gradient(90deg, #4998fd 0%, #6eb3ff 100%);
  }

  .home-page .uni-slideshow_v2 .owl-nav button {
    width: 34px;
    height: 34px;
    opacity: 0.85;
  }
}

/* ===== Modern site header (desktop + base) ===== */
header {
  --header-accent: #4998fd;
  --header-accent-dark: #3a7fd4;
  --header-surface: #f4f7fb;
  --header-border: #e2e8f0;
  --header-muted: #64748b;
  position: relative;
  z-index: 1005;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.04);
}

header #top.top-menu {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid var(--header-border);
}

header #top.top-menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}

header .top-menu__links,
header .top-menu__buttons {
  display: flex;
  align-items: center;
}

header .top-links__a {
  color: var(--header-muted) !important;
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

header .top-links__a:hover {
  color: var(--header-accent) !important;
}

header .top-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 0.82em;
  font-weight: 500;
  color: var(--header-muted);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.2s ease;
}

header .top-menu__wishlist-btn,
header .top-menu__compare-btn {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

header .top-menu__btn:hover,
header #top .open .top-menu__btn {
  color: var(--header-accent);
}

header .top-menu__btn-text {
  max-width: none;
}

header .top-menu__buttons > * + * {
  position: relative;
  margin-left: 14px;
  padding-left: 14px;
}

header .top-menu__buttons > * + *::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #d5dde8;
  transform: translateY(-50%);
}

header .uni-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.72em;
  font-weight: 600;
  line-height: 18px;
  color: #fff;
  background: var(--header-accent);
  border-radius: 999px;
}

header .header-block {
  align-items: center;
  padding: 14px 0 16px;
}

header .header-block__item-logo .header-logo,
header .header-logo {
  max-width: 240px;
}

header .header-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

header .header-block__item-search {
  padding: 0 24px 0 8px;
}

header .header-search__form {
  display: flex;
  align-items: stretch;
  min-height: 46px;
  background: var(--header-surface);
  border: 1px solid var(--header-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

header .header-search__category {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

header .header-search__form:focus-within {
  border-color: var(--header-accent);
  box-shadow: 0 0 0 3px rgba(73, 152, 253, 0.14);
}

header .header-search__category-btn {
  align-self: stretch;
  height: auto !important;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  font-size: 0.88em;
  font-weight: 500;
  color: #475569;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid var(--header-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

header .header-search__category-btn:hover,
header .open .header-search__category-btn {
  color: var(--header-accent);
  background: rgba(73, 152, 253, 0.06) !important;
}

header .header-search__category-span {
  max-width: 120px;
}

header .header-search__input {
  flex: 1 1 auto;
  align-self: stretch;
  height: auto !important;
  min-height: 46px;
  padding: 0 44px 0 14px;
  font-size: 0.95em;
  line-height: normal;
  color: #1e293b;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

header .header-search__input::placeholder {
  color: #94a3b8;
}

header .header-search__input:focus {
  outline: none;
  box-shadow: none !important;
}

header .header-search .search-btn-clear {
  top: 50%;
  right: 54px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  font-size: 1.1em;
  line-height: 20px;
  color: #94a3b8;
  background: #e2e8f0;
  border-radius: 50%;
}

header .header-search__btn {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  align-self: stretch;
  flex: 0 0 52px;
  width: 52px;
  height: auto !important;
  min-height: 46px;
  margin: 0;
  padding: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--header-accent) 0%, var(--header-accent-dark) 100%);
  border: none;
  border-radius: 0;
  transition: filter 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

header .header-search__btn:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, #5aa3ff 0%, var(--header-accent) 100%);
}

header .header-block__item-telephone {
  padding: 0 16px;
}

header .header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-right: 0;
}

header .header-phones.has-addit {
  padding-right: 24px;
}

header .header-phones__main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.2;
  color: #1e293b;
  letter-spacing: -0.01em;
}

header .header-phones__main::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 0.72em;
  color: var(--header-accent);
  background: rgba(73, 152, 253, 0.1);
  border-radius: 10px;
}

header .header-phones__main:hover {
  color: var(--header-accent);
}

header .header-phones__show-phone {
  width: 22px;
  height: 22px;
  font-size: 0.65em;
  color: var(--header-muted);
  background: #eef2f7;
  border-radius: 6px;
}

header .header-phones__show-phone:hover {
  color: var(--header-accent);
  background: rgba(73, 152, 253, 0.12);
}

header .header-block__item-cart {
  padding: 0 0 0 4px;
}

header .header-cart__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--header-accent) 0%, var(--header-accent-dark) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(73, 152, 253, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

header .header-cart__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(73, 152, 253, 0.42);
}

header .header-cart__icon {
  font-size: 1.45em !important;
  color: #fff;
}

header .header-cart__total-items {
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  font-size: 0.72em;
  font-weight: 700;
  color: var(--header-accent);
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
}

@media (min-width: 992px) {
  header > .container + .container {
    padding-bottom: 0;
    overflow: visible;
  }

  header .main-menu {
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: visible;
  }

  header .main-menu .menu-wrapper:hover,
  header .menu--modern.menu1.catalog-open {
    z-index: 1010;
  }

  header .main-menu .menu-wrapper {
    border-radius: 10px 0 0 0;
  }
}

@media (max-width: 767px) {
  header {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }

  header .header-phones__main::before {
    width: 28px;
    height: 28px;
    font-size: 0.68em;
    border-radius: 8px;
  }

  header .header-phones__main {
    font-size: 1em;
  }

  header .header-cart__btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(73, 152, 253, 0.28);
  }

  header .header-cart__icon {
    font-size: 1.25em !important;
  }

  #search2 .header-search__form {
    display: flex;
    align-items: stretch;
    min-height: 42px;
    border-radius: 10px;
  }

  #search2 .header-search__category-btn,
  #search2 .header-search__input,
  #search2 .header-search__btn {
    align-self: stretch;
    height: auto !important;
    min-height: 42px;
  }

  .header-block {
    padding: 10px 0 !important;
  }

  .header-logo {
    max-width: 130px;
  }

  #top .top-menu {
    min-height: 0;
  }

  #top .top-menu .container {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .home-page.container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-page .uni-slideshow_v2 {
    border-radius: 10px;
    margin-bottom: 4px;
  }

  .home-category-carousel {
    margin-bottom: 16px;
  }

  .home-category-carousel__item {
    padding: 0 3px;
  }

  .home-category-carousel__link {
    border-radius: 12px;
  }

  .home-category-carousel__icon {
    height: 76px;
    padding: 10px 8px 6px;
  }

  .home-category-carousel__icon img {
    max-height: 58px;
  }

  .home-category-carousel__name {
    min-height: 2.6em;
    padding: 6px 6px 10px;
    font-size: 0.72em;
    -webkit-line-clamp: 2;
  }

  .home-page .content-bottom {
    margin-top: 0 !important;
  }
}

@media (max-width: 420px) {
  .fly-menu__label {
    font-size: 0.52em;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 360px) {
  .fly-menu.show-label .fly-menu__label {
    display: none;
  }

  .fly-menu.show-label .row {
    min-height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .notification.fixed {
    bottom: calc(48px + env(safe-area-inset-bottom, 0));
  }

  .footer.mobile-menu-bottom {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }
}

/* Product image placeholder — site logo */
.is-no-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.is-no-image::before {
  content: "";
  display: block;
  width: 72%;
  max-width: 280px;
  aspect-ratio: 342 / 69.6;
  background: url("../image/logo-lursan.svg") center / contain no-repeat;
  pointer-events: none;
}

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

.product-thumb__image.is-no-image {
  aspect-ratio: 1;
  margin-bottom: 15px;
  padding-bottom: 0;
  box-shadow: none;
  border-radius: 4px;
  background: #fff;
}

.product-thumb__image.is-no-image::before {
  max-width: 150px;
  width: 78%;
}

.uni-module__image.is-no-image {
  aspect-ratio: 1;
  border-radius: 4px;
}

.uni-module__image.is-no-image::before {
  max-width: 140px;
}

.live-search__image.is-no-image {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 4px;
}

.live-search__image.is-no-image::before {
  width: 88%;
  max-width: 46px;
}

.product-page__image-main.uni-item.is-no-image {
  min-height: 380px;
  padding: 32px 24px;
  cursor: default;
  background: #fff;
}

.product-page__image-main.is-no-image::before {
  max-width: 320px;
  width: 78%;
}

.product-page__image-main.is-no-image .product-page__image-main-img {
  cursor: default;
}

.product-page__image-main-carousel.is-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
}

/*# sourceMappingURL=myCustom.css.map */
