/* Megagroup side-panel (бежевый бургер 50×50) — только на внутренних, на главной нет */
.side-panel--u-icbphfmdn,
.side-panel__button-open--u-iwx2pxaxy,
[data-do-side_panel] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

/* Site-wide fixes for komarovo mirror */

/* Главная и внутренние страницы с шапкой Mosaic */
body.page-home .root--u-ir2jqrcs7,
body.kom-mosaic-page .root--u-ir2jqrcs7 {
  min-height: 0 !important;
  height: auto !important;
}

body.page-home .section--u-irt28r6st {
  min-height: 0 !important;
}

body.page-home .home-v8 .hp-hero {
  margin-top: 0 !important;
}

/* Скрыть выпадающее подменю «Главная» на десктопе — мешает кликам по соседним пунктам */
@media (min-width: 992px) {
  /* Главная: шапка и меню поверх hero, иначе баннер перехватывает клики (только десктоп) */
  body.page-home .section--u-iloac6j69 {
    position: relative;
    z-index: 30;
  }

  body.page-home .div--u-ikmik2kwz,
  body.page-home .hor-menu--u-ikmqflzw4 {
    position: relative;
    z-index: 31;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__item > .hor-menu__sub_list {
    display: none !important;
    pointer-events: none !important;
  }
}

.mosaic-mega-copyright,
.global-copyright a[href*="megagroup"],
a.copyright[href*="megagroup"] {
  display: none !important;
}

/* Splide slider arrows — one chevron, centered in button */
.splide__custom__arrows .splide__arrow {
  opacity: 1 !important;
}

.splide__custom__arrows .splide__arrow__bg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.splide__custom__arrows .splide__arrow__icon {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.splide__custom__arrows .splide__arrow__icon--prev {
  transform: rotate(135deg);
}

.lpc-product-7 .splide__arrow.splide__arrow--prev {
  left: 16px !important;
  right: auto !important;
}

.lpc-product-7 .splide__arrow.splide__arrow--next {
  right: 16px !important;
  left: auto !important;
}

/* Header nav — show all menu items (disable Megagroup "..." overflow) */
.hor-menu--u-ikmqflzw4.flex-menu,
.hor-menu--u-ikmqflzw4.kom-nav-full {
  flex-wrap: wrap;
  align-items: flex-start;
}

.hor-menu--u-ikmqflzw4 .hor-menu__list {
  overflow-x: visible !important;
  overflow-y: visible !important;
  width: auto !important;
  flex-wrap: wrap !important;
  height: auto !important;
  min-height: 60px;
  row-gap: 4px;
}

.hor-menu--u-ikmqflzw4 .hor-menu__list > .hor-menu__item,
.hor-menu--u-ikmqflzw4 .hor-menu__list > .hor-menu__item.is-removed {
  display: list-item !important;
}

.hor-menu--u-ikmqflzw4 .hor-menu__more_list,
.hor-menu--u-ikmqflzw4 .hor-menu__more_link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.hor-menu--u-ikmqflzw4 .hor-menu__link {
  padding: 12px 16px !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.hor-menu--u-ikmqflzw4 .hor-menu__item {
  margin-left: 2px !important;
  margin-right: 2px !important;
}

.div--u-if1ml3vgg {
  max-width: 360px !important;
}

@media (min-width: 992px) {
  .div--u-ikmik2kwz {
    overflow: visible !important;
    flex: 1 1 auto !important;
    min-width: 0;
  }
}

.container--u-iuxw45ijo {
  flex-wrap: wrap;
  row-gap: 6px;
  align-items: center;
}

.kom-mobile-burger {
  display: none;
}

/* Desktop: компактная шапка — меньше вертикальные отступы, все пункты на месте */
@media (min-width: 992px) {
  .container--u-izga6i9u7 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .div--u-ivoaduvib {
    padding-left: 16px !important;
    align-items: center !important;
  }

  .div--u-igkgs1inw,
  .div--u-i6h4x0mrs {
    width: 32px !important;
    height: 32px !important;
    margin-right: 12px !important;
  }

  .svg_image--u-ifs0o5qao,
  .svg_image--u-imb4rpwms {
    height: 18px !important;
    width: 18px !important;
  }

  .text--u-i99j3kn43,
  .text--u-iyqzv2n0h {
    font-size: 12px !important;
  }

  .text--u-ifa4w808c {
    font-size: 14px !important;
  }

  .text--u-ison5q0ax {
    font-size: 16px !important;
  }

  .container--u-iuxw45ijo {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-bottom: 0 !important;
    row-gap: 4px !important;
  }

  .div--u-if1ml3vgg {
    max-width: 320px !important;
    align-items: center !important;
  }

  .link-universal--u-icl7mjcsm {
    margin-right: 14px !important;
  }

  .imageFit--u-i5iu1ta9d img {
    max-height: 78px !important;
    width: auto !important;
  }

  .text--u-i283s5v5k {
    font-size: 19px !important;
    line-height: 1.15 !important;
  }

  .text--u-i6sdm26pt {
    font-size: 13px !important;
    margin-top: 2px !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__list {
    min-height: 0 !important;
    row-gap: 3px !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__link {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .list__item--u-icxpiufan {
    margin-left: 3px !important;
    margin-right: 3px !important;
  }

  .link-universal--u-ivd2lu70i {
    padding: 6px !important;
  }

  .svg_image--u-i6vv18x0q {
    height: 22px !important;
    width: 22px !important;
  }

  /* Десктоп: шапка в потоке страницы, не sticky */
  .section--u-iloac6j69 {
    position: relative !important;
    top: auto !important;
    box-shadow: none !important;
  }

  /* Десктоп: только штатное меню Megagroup, без мобильных вставок */
  .kom-mobile-burger,
  .kom-mobile-nav-contacts {
    display: none !important;
  }

  .container--u-iuxw45ijo {
    flex-wrap: nowrap !important;
  }

  .div--u-ikmik2kwz {
    display: flex !important;
    position: relative !important;
    flex: 1 1 auto !important;
    width: auto !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4 {
    display: flex !important;
    position: relative !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__list {
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__item {
    width: auto !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__link {
    display: inline-flex !important;
    width: auto !important;
    min-height: 0 !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Единая компактная шапка на всех страницах */
  .div--u-ivoaduvib {
    display: none !important;
  }

  .text--u-iyqzv2n0h {
    display: none !important;
  }

  .container--u-izga6i9u7 {
    padding: 4px 20px !important;
    min-height: 0 !important;
  }

  .text--u-ison5q0ax {
    font-size: 13px !important;
  }

  .div--u-ib1a39m4z {
    position: absolute;
    right: 20px;
    top: 6px;
    z-index: 6;
    margin: 0 !important;
  }

  .container--u-iuxw45ijo {
    padding: 6px 20px !important;
    padding-right: 148px !important;
    margin-bottom: 0 !important;
  }

  .imageFit--u-i5iu1ta9d img {
    max-height: 56px !important;
  }

  .text--u-i283s5v5k {
    font-size: 16px !important;
  }

  .text--u-i6sdm26pt {
    font-size: 11px !important;
  }

  .div--u-if1ml3vgg {
    max-width: 250px !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__list {
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
    justify-content: flex-end;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__link {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__item {
    flex: 0 0 auto;
  }

  /* VK — заметная кнопка */
  .link-universal--u-ivd2lu70i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px 8px 12px !important;
    background: #0077ff !important;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 119, 255, 0.28);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }

  .link-universal--u-ivd2lu70i:hover {
    background: #0066dd !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 119, 255, 0.34);
  }

  .link-universal--u-ivd2lu70i .svg_image--u-i6vv18x0q {
    height: 18px !important;
    width: 18px !important;
    filter: brightness(0) invert(1);
  }

  .link-universal--u-ivd2lu70i::after {
    content: "ВКонтакте";
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
  }
}

/* ── Mobile header: compact bar + burger menu ── */
@media (max-width: 991px) {
  /* Megagroup side-panel — убрать бежевый бургер */
  .side-panel--u-icbphfmdn,
  .side-panel__button-open,
  [data-do-side_panel] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Отключаем штатные (бежевые) кнопки-бургеры шаблонов LP/Mosaic */
  .js-burger,
  .js-burger-open,
  .lp-menu-11__burger,
  .lp-menu-22-burger,
  .lp-menu-22-burger__item,
  .row-menu-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Прячем шаблонные бургеры Megagroup/LP на всех страницах */
  .section--u-iloac6j69 [class*="burger"]:not(.kom-mobile-burger),
  .section--u-iloac6j69 [class*="menu-btn"],
  .section--u-iloac6j69 .row-menu-btn,
  .section--u-iloac6j69 .js-burger,
  .section--u-iloac6j69 .js-burger-open,
  .section--u-iloac6j69 .hor-menu__more_list,
  .section--u-iloac6j69 .hor-menu__more_link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .section--u-iloac6j69 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10050;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 24, 22, 0.08);
    isolation: isolate;
  }

  /* Внутренние страницы: отступ под фиксированную шапку */
  body.kom-mosaic-page:not(:has(.home-v8)) .section--u-irt28r6st {
    padding-top: var(--kom-header-offset, 57px);
  }

  body.kom-mosaic-page .mosaic-wrap,
  body.kom-mosaic-page .root--u-ir2jqrcs7,
  body.kom-mosaic-page .section--u-irt28r6st {
    overflow: visible !important;
  }

  .container--u-iuxw45ijo {
    position: relative;
    z-index: 10051;
  }

  .section--u-iloac6j69,
  .container--u-iuxw45ijo,
  .kom-mobile-burger {
    isolation: isolate;
  }

  .container--u-izga6i9u7 {
    display: none !important;
  }

  .div--u-ivoaduvib {
    display: none !important;
  }

  .div--u-ifkpc9ax4 {
    width: auto !important;
    margin: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .div--u-igkgs1inw,
  .text--u-iyqzv2n0h {
    display: none !important;
  }

  .list--u-iavgp1j53 {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .list__item--u-ihavam7as {
    margin: 0 !important;
  }

  .link-universal--u-inx775unp {
    display: block;
    padding: 6px 0;
    min-height: 36px;
    line-height: 1.3;
  }

  .text--u-ison5q0ax {
    font-size: 13px !important;
    white-space: nowrap;
  }

  .div--u-ib1a39m4z {
    flex-shrink: 0;
  }

  .list--u-ip0abwazq {
    justify-content: flex-end !important;
  }

  .link-universal--u-ivd2lu70i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }

  .container--u-iuxw45ijo {
    padding: 8px 12px !important;
    margin-bottom: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px;
    border-radius: 0 !important;
  }

  .div--u-if1ml3vgg {
    flex: 1 1 auto !important;
    max-width: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0;
  }

  .link-universal--u-icl7mjcsm {
    margin-right: 0 !important;
    flex-shrink: 0;
    pointer-events: auto !important;
  }

  .imageFit--u-i5iu1ta9d {
    width: auto !important;
    max-width: 120px;
  }

  .imageFit--u-i5iu1ta9d img {
    max-height: 40px !important;
    width: auto !important;
  }

  .imageFit__overlay--u-i4khzs9e9,
  .imageFit__zoom--u-is2ld9omb {
    display: none !important;
    pointer-events: none !important;
  }

  .div--u-icl20xkbe {
    display: none !important;
  }

  .kom-mobile-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(54, 54, 54, 0.14);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 10060 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .lpc-content-wrapper,
  .decor-wrap {
    position: relative;
    z-index: 1;
  }

  .kom-mobile-burger span,
  .kom-mobile-burger::before,
  .kom-mobile-burger::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: #363636;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease;
  }

  .kom-mobile-burger::before {
    top: 14px;
  }

  .kom-mobile-burger::after {
    bottom: 14px;
  }

  body.kom-mobile-nav-open .kom-mobile-burger span {
    opacity: 0;
  }

  body.kom-mobile-nav-open .kom-mobile-burger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  body.kom-mobile-nav-open .kom-mobile-burger::after {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  /* Закрытое меню не должно занимать экран: fixed внутри sticky ломает клики по бургеру после скролла */
  .div--u-ikmik2kwz {
    display: block !important;
    flex: none !important;
    position: absolute !important;
    inset: auto !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -1 !important;
    background: transparent !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.kom-mobile-nav-open .div--u-ikmik2kwz,
  body.kom-mobile-nav-open .div--u-ikmik2kwz.kom-mobile-nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 10049 !important;
    background: rgba(15, 35, 28, 0.45) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
  }

  .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4 {
    position: absolute !important;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.14);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 0 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  body.page-home .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4,
  body.kom-mosaic-page .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4 {
    position: absolute !important;
  }

  body.kom-mobile-nav-open .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4 {
    transform: translateX(0);
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__list {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 12px !important;
    row-gap: 0 !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__item {
    width: 100%;
    margin: 0 !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__link {
    display: flex !important;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    align-items: center !important;
    justify-content: flex-start !important;
    -webkit-tap-highlight-color: rgba(242, 199, 131, 0.35);
    touch-action: manipulation;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__item.is-current .hor-menu__link {
    background: rgba(242, 199, 131, 0.35) !important;
    font-weight: 600;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__sub_list {
    display: none !important;
  }

  .hor-menu--u-ikmqflzw4 .hor-menu__more_list,
  .hor-menu--u-ikmqflzw4 .hor-menu__more_link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
  }

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

  .div--u-ikmik2kwz .hor-menu--u-ikmqflzw4 {
    display: flex !important;
    flex-direction: column !important;
  }

  .kom-mobile-nav-contacts {
    margin-top: auto;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
  }

  .kom-mobile-nav-contacts__label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(20, 24, 22, 0.45);
  }

  .kom-mobile-nav-contacts__phone {
    display: block;
    padding: 10px 0;
    font-size: 17px;
    font-weight: 600;
    color: #1a3328;
    text-decoration: none;
  }

  .kom-mobile-nav-contacts__phone:active {
    opacity: 0.7;
  }

  .kom-mobile-nav-contacts__vk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    background: #0077ff;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .kom-mobile-nav-contacts__vk:active {
    opacity: 0.85;
  }
}

@media (max-width: 479px) {
  .container--u-iuxw45ijo {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .imageFit--u-i5iu1ta9d img {
    max-height: 36px !important;
  }
}

/* Site-wide notice about new website */
.kom-notice {
  padding: 32px 20px;
  background: #f4f1eb;
}

.kom-notice--compact {
  padding: 10px 16px !important;
  background: #f0ebe3;
}

.kom-notice--compact .kom-notice__inner {
  max-width: 920px;
  text-align: center;
}

.kom-notice--compact .section-tag,
.kom-notice--compact h2 {
  display: none !important;
}

.kom-notice--compact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(20, 24, 22, 0.72);
  max-width: none;
}

.kom-notice--compact a {
  color: #1a5c40;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Старые блоки с заголовком — тоже компактно */
.kom-notice:not(.kom-notice--compact) .section-tag,
.kom-notice:not(.kom-notice--compact) h2 {
  display: none !important;
}

.kom-notice:not(.kom-notice--compact) {
  padding: 10px 16px !important;
}

.kom-notice:not(.kom-notice--compact) p:last-child {
  font-size: 14px;
  line-height: 1.45;
  max-width: none;
  margin: 0 auto;
}

/* Внутренние страницы: отступ сноски от шапки */
body:not(.page-home) .kom-notice {
  margin-top: 0;
  border-top: 1px solid rgba(20, 24, 22, 0.06);
}

.kom-notice__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.kom-notice .section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8923a;
  margin: 0 0 12px;
}

.kom-notice__inner h2 {
  font-family: inherit;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: #141816;
  margin: 0 0 12px;
}

.kom-notice__inner p:last-child {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(20, 24, 22, 0.72);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .kom-notice {
    padding: 24px 16px;
  }

  .kom-notice__inner h2 {
    font-size: 22px;
  }

  .kom-notice__inner p:last-child {
    font-size: 15px;
  }
}

/* TravelLine booking modal — keep above site chrome (Yandex Browser) */
.tl-fancybox,
.tl-fancybox-wrap,
.tl-fancybox__container,
[class*="tl-fancybox"] {
  z-index: 2147483000 !important;
}

.tl-fancybox iframe,
.tl-fancybox__iframe {
  visibility: visible !important;
  opacity: 1 !important;
}

.tl-search-form-button {
  z-index: 9998 !important;
}

#kom-tl-call-btn.kom-tl-sr-only,
.call-btn.kom-tl-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Скрыть пункты «Акции» в меню */
.hor-menu__sub_link[href="akcii-1"],
.hor-menu__link[href="news"],
.ver-menu__sub_link[href="akcii-1"],
.ver-menu__link[href="news"] {
  display: none !important;
}

.hor-menu__sub_list:has(.hor-menu__sub_link[href="akcii-1"]:only-child),
.ver-menu__sub_list:has(.ver-menu__sub_link[href="akcii-1"]:only-child) {
  display: none !important;
}

body.page-arenda-zalov .lp-new-header {
  display: none !important;
}

body.page-arenda-zalov .section--u-iloac6j69 {
  margin-bottom: 0;
}

/* Legal footer links */
.kom-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 8px;
}

.mosaic-site-copyright .kom-legal-links {
  display: flex;
  margin-top: 10px;
}

.kom-legal-links a,
.ftr__copy .kom-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .85;
  transition: opacity .2s, color .2s;
}

.kom-legal-links a:hover,
.ftr__copy .kom-legal-links a:hover {
  opacity: 1;
  color: #fff;
}

.ftr__copy .kom-legal-links {
  display: inline-flex;
  margin-top: 0;
}

.kom-legal-links__sep {
  opacity: .45;
}

.kom-site-footer {
  background: #1a3328;
  color: rgba(255, 255, 255, .65);
  padding: 24px 20px 28px;
  text-align: center;
  font-size: 13px;
}

.kom-site-footer__copy {
  margin: 0 0 8px;
  opacity: .75;
}

.kom-site-footer__legal {
  margin: 0;
}

.kom-site-footer .kom-legal-links a {
  color: rgba(255, 255, 255, .8);
}

.kom-site-footer .kom-legal-links a:hover {
  color: #fff;
}

/* Legal pages */
.kom-legal-page {
  margin: 0;
  background: #f3f0ea;
  color: #0f1412;
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.65;
}

.kom-legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: #1a3328;
  color: #fff;
}

.kom-legal-header__back {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.kom-legal-header__back:hover {
  color: #dbc9a8;
}

.kom-legal-header__brand {
  font-size: 14px;
  font-weight: 600;
  opacity: .9;
}

.kom-legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.kom-legal-main h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
}

.kom-legal-meta {
  margin: 0 0 28px;
  color: #5a6560;
  font-size: 14px;
}

.kom-legal-main h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.kom-legal-main p,
.kom-legal-main li {
  font-size: 15px;
}

.kom-legal-main ul {
  margin: 0;
  padding-left: 1.2em;
}

.kom-legal-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 14px;
}

.kom-legal-main th,
.kom-legal-main td {
  border: 1px solid rgba(15, 20, 18, 0.12);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.kom-legal-main th {
  background: rgba(26, 51, 40, 0.06);
  font-weight: 600;
}

.kom-legal-main a {
  color: #1a5c40;
}

.kom-legal-footer {
  border-top: 1px solid rgba(15, 20, 18, .08);
  padding: 24px 20px 36px;
  text-align: center;
  font-size: 13px;
  color: #5a6560;
}

.kom-legal-footer p {
  margin: 0 0 8px;
}

.kom-legal-footer a {
  color: #1a5c40;
}

/* Единый шрифт Manrope на всех страницах */
:root {
  --kom-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  font-family: var(--kom-font) !important;
}

body,
body *:not(i):not(svg):not(svg *):not(.splide__arrow__icon):not([class*="icomoon"]):not([class*="icon-"]) {
  font-family: var(--kom-font) !important;
}

/* Акции на внутренних страницах */
.kom-akcii {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 16px;
  font-family: var(--kom-font);
}

.kom-akcii__lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
  color: #2a3d34;
}

.kom-akcii__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  color: #1a3328;
  font-weight: 700;
}

.kom-akcii__subtitle {
  display: block !important;
  margin: 0 0 16px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #2a3d34 !important;
}

.promos__location {
  margin: 14px 0 20px;
}

.promos__location-intro {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #4a5c54;
}

.promos__location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promos__location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 51, 40, .06) 0%, rgba(201, 168, 76, .08) 100%);
  border: 1px solid rgba(26, 51, 40, .1);
  box-shadow: 0 4px 16px rgba(15, 20, 18, .04);
}

.promos__location-value {
  flex-shrink: 0;
  min-width: 64px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a3328;
}

.promos__location-text {
  font-size: 14px;
  line-height: 1.45;
  color: #4a5c54;
}

@media (max-width: 640px) {
  .promos__location-card { flex: 1 1 100%; }
}

.kom-akcii__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.kom-akcii-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 51, 40, .1);
  box-shadow: 0 8px 28px rgba(15, 20, 18, .07);
}

.kom-akcii-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a3328;
}

.kom-akcii-card__media .card-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-carousel__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.card-carousel__track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.card-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.card-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.card-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1a3328;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.card-carousel__arrow--prev { left: 12px; }
.card-carousel__arrow--next { right: 12px; }

.card-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.card-carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}

.card-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.promo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 12, .94);
  padding: 20px;
}

.promo-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.promo-lightbox__close,
.promo-lightbox__nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.promo-lightbox__close {
  top: 16px;
  right: 16px;
}

.promo-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.promo-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

.promo-lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}

body.promo-lightbox-open {
  overflow: hidden;
}

.kom-akcii-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kom-akcii-card__body {
  padding: 22px 24px 26px;
}

.kom-akcii-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 100px;
  background: #1a3328;
  color: #e8c97a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kom-akcii-card__date {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #6b7c74;
}

.kom-akcii-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #1a3328;
  font-weight: 700;
}

.kom-akcii-card__price {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1a5c40;
}

.kom-akcii-card__note {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5c54;
}

.kom-akcii-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.kom-akcii-card__phone {
  font-size: 15px;
  font-weight: 600;
  color: #1a3328;
  text-decoration: none !important;
}

.kom-akcii-card__phone:hover {
  color: #2d5a45;
}

.kom-akcii-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  background: #1a3328;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .2s;
}

.kom-akcii-card__btn:hover {
  background: #2d5a45;
  color: #fff !important;
}

.kom-akcii__footer {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f3f6f4;
  border-left: 3px solid #c9a84c;
  font-size: 14px;
  line-height: 1.65;
  color: #3d4f47;
}

.kom-akcii__footer a {
  color: #1a5c40;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .kom-akcii__grid { grid-template-columns: 1fr; }
}

.kom-akcii__bundle {
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, .98) 0%,
    rgba(244, 247, 244, .98) 52%,
    rgba(250, 248, 242, .96) 100%
  );
  border: 1px solid rgba(26, 51, 40, .11);
  box-shadow: 0 12px 40px rgba(26, 51, 40, .07);
}

.promos__bundle {
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, .98) 0%,
    rgba(244, 247, 244, .98) 52%,
    rgba(250, 248, 242, .96) 100%
  );
  border: 1px solid rgba(26, 51, 40, .11);
  box-shadow: 0 12px 40px rgba(26, 51, 40, .07);
}

/* Карусель фото под акциями (главная, /news, /akcii) */
.promo-gallery {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid rgba(26, 51, 40, .08);
}

.promo-gallery--in-bundle {
  margin-top: 28px;
  padding-top: 24px;
  border-top: none;
  position: relative;
}

.promo-gallery--in-bundle::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, .5) 18%,
    rgba(26, 51, 40, .14) 50%,
    rgba(201, 168, 76, .5) 82%,
    transparent 100%
  );
}

.promo-gallery--in-bundle .promo-gallery__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201, 168, 76, .14);
  border: 1px solid rgba(201, 168, 76, .35);
}

.promo-gallery__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.promo-gallery__tag {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9a7b3c;
}

.promo-gallery__head h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: #1a3328;
}

.promo-gallery__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.promo-gallery__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(26, 51, 40, .14);
  background: #fff;
  color: #1a3328;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}

.promo-gallery__arrow:hover:not(:disabled) {
  background: #1a3328;
  border-color: #1a3328;
  color: #fff;
}

.promo-gallery__arrow:disabled {
  opacity: .35;
  cursor: default;
}

.promo-gallery__viewport {
  overflow: hidden;
  border-radius: 18px;
}

.promo-gallery__track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.promo-gallery__slide {
  flex: 0 0 calc((100% - 32px) / 3);
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #1a3328;
  box-shadow: 0 8px 28px rgba(15, 20, 18, .08);
}

.promo-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}

.promo-gallery__slide:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .promo-gallery__slide { flex: 0 0 calc((100% - 16px) / 2); }
}

@media (max-width: 640px) {
  .promo-gallery__head { flex-direction: column; align-items: flex-start; }
  .promo-gallery__slide { flex: 0 0 82%; }
}

/* Photogallery page — LPC img-inner uses _16_9h / _4_3v for height */
.kom-gallery-page .lpc-block__img-inner.kom-gallery-photo {
  display: block;
  position: relative;
  overflow: hidden;
  background: #1a2e24;
  border-radius: 8px;
}
.kom-gallery-page .kom-gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.kom-gallery-page .lpc-multiimage__photos-item {
  margin-bottom: 16px;
}

/* O-dome photo grid */
.kom-odome-photo {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #1a2e24;
}
.kom-odome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lpc-image-combination__item {
  margin-bottom: 12px;
}
