.bitrix-menu.menu-footer {
  --footer-menu-border-color: var(--color-neutral-semi-dark, #808080);
}
.bitrix-menu.menu-footer[data-theme=dark] {
  --footer-menu-border-color: #303238;
}
.bitrix-menu.menu-footer[data-theme=bright] {
  --footer-menu-border-color: var(--color-neutral-semi-bright, #e8e8e8);
}
.bitrix-menu.menu-footer .menu-footer-root-items {
  gap: 16px;
}
.bitrix-menu.menu-footer .menu-footer-root-items[data-empty=false] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
@media (max-width: 1280px) {
  .bitrix-menu.menu-footer .menu-footer-root-items[data-empty=false] {
    grid-template-columns: repeat(auto-fit, calc(33% - 9px));
  }
}
@media (max-width: 1024px) {
  .bitrix-menu.menu-footer .menu-footer-root-items[data-empty=false] {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  }
}
@media (max-width: 768px) {
  .bitrix-menu.menu-footer .menu-footer-root-items[data-empty=false] {
    grid-template-columns: 100%;
  }
}
.bitrix-menu.menu-footer .menu-footer-root-items[data-empty=true] {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .bitrix-menu.menu-footer .menu-footer-root-items[data-empty=true] {
    justify-content: center;
  }
}
.bitrix-menu.menu-footer .menu-footer-root-items a {
  display: block;
  text-decoration: none;
  width: fit-content;
}
@media (max-width: 768px) {
  .bitrix-menu.menu-footer .menu-footer-root-items a {
    max-width: 100%;
  }
}
@supports (display: -webkit-box) {
  .bitrix-menu.menu-footer .menu-footer-root-items a > div {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
.bitrix-menu.menu-footer .menu-footer-root-item {
  font-weight: 600;
  position: relative;
  transition-duration: var(--duration-base);
  transition-property: color;
}
.bitrix-menu.menu-footer .menu-footer-sub-items {
  gap: 16px;
}
.bitrix-menu.menu-footer .menu-footer-sub-item {
  transition-duration: var(--duration-base);
  transition-property: color;
}
.bitrix-menu.menu-footer .menu-footer-item-icon-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 100%;
  padding-right: var(--content-sides-indent);
}
.bitrix-menu.menu-footer .menu-footer-item-icon-wrapper[data-state=collapsed] .menu-footer-item-icon {
  transform: rotate(0deg);
}
.bitrix-menu.menu-footer .menu-footer-item-icon-wrapper[data-state=deployed] .menu-footer-item-icon {
  transform: rotate(180deg);
}
.bitrix-menu.menu-footer .menu-footer-item-icon {
  transition-duration: var(--duration-base);
  transition-property: all;
}
.bitrix-menu.menu-footer .menu-footer-sub-items[data-hidden=true] {
  height: 0;
  overflow: hidden;
}
.bitrix-menu.menu-footer .menu-footer-root-item-wrapper {
  position: relative;
  width: fit-content;
}
.bitrix-menu.menu-footer .menu-footer-root-wrapper {
  max-width: 300px;
}
@media (max-width: 768px) {
  .bitrix-menu.menu-footer .menu-footer-root-short-wrapper .menu-footer-root-item {
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--footer-menu-border-color);
  }
  .bitrix-menu.menu-footer .menu-footer-root-wrapper {
    border-bottom: 1px solid var(--footer-menu-border-color);
    max-width: none;
  }
  .bitrix-menu.menu-footer .menu-footer-root-item-wrapper {
    width: 100%;
  }
  .bitrix-menu.menu-footer .menu-footer-root-items {
    gap: 0 !important;
    overflow-wrap: anywhere;
  }
  .bitrix-menu.menu-footer .menu-footer-root-items .menu-footer-root-item {
    width: 100%;
  }
  .bitrix-menu.menu-footer .menu-footer-root-item {
    gap: 0;
    max-width: 100%;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--content-sides-indent);
    padding-left: var(--content-sides-indent);
  }
  .bitrix-menu.menu-footer .menu-footer-root-item-first {
    border-top: 1px solid var(--footer-menu-border-color);
  }
  .bitrix-menu.menu-footer .menu-footer-item-icon-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
  }
  .bitrix-menu.menu-footer .menu-footer-sub-items {
    gap: 0;
  }
  .bitrix-menu.menu-footer .menu-footer-sub-item {
    padding: 24px 0 22px 24px;
    border-bottom: 1px solid var(--footer-menu-border-color);
  }
  .bitrix-menu.menu-footer .menu-footer-sub-item:first-child {
    border-top: 1px solid var(--footer-menu-border-color);
  }
  .bitrix-menu.menu-footer .menu-footer-sub-item:last-child {
    border-bottom: none;
  }
}

/* Безопасно скрываем горизонтальный скролл у меню на очень узких экранах */
@media (max-width: 360px) {
  .bitrix-menu.menu-footer {
    overflow-x: hidden;
  }
}

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