.as-mmenu {
  position: fixed;
  inset: 0;
  z-index: 4500;
  background: #fff;
  overflow: hidden;
}

.as-mmenu[hidden] {
  display: none !important;
}

.as-mmenu__sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.as-mmenu__panel {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.as-mmenu__panel--active {
  display: flex;
}

.as-mmenu__header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 8px;
  border-bottom: 1px solid #e9ebef;
  background: #fff;
  flex-shrink: 0;
}

.as-mmenu__header--root {
  box-sizing: border-box;
  height: 72px;
  min-height: 72px;
  padding: 12px 8px;
}

.as-mmenu__header--root .as-mmenu__header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.as-mmenu__header--root .as-mmenu__header-right {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.as-mmenu__header--root .as-mmenu__logo {
  min-width: 0;
  flex: 0 0 auto;
}

.as-mmenu__header--sub {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 12px 8px;
}

.as-mmenu__header--sub .as-mmenu__back {
  margin-right: 0;
  flex: 0 0 auto;
}

.as-mmenu__header--sub .as-mmenu__icon-btn {
  flex: 0 0 auto;
}

.as-mmenu__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.as-mmenu__icon-btn:hover {
  background: #f5f6fb;
}

.as-mmenu__logo {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
}

.as-mmenu__logo-img,
.as-mmenu__logo img {
  display: block;
  width: 150px;
  height: 46px;
  max-width: 150px;
  max-height: 46px;
  object-fit: contain;
}

.as-mmenu__icon-btn svg,
.as-mmenu__header-icon {
  display: block;
  flex: none;
  fill: none;
}

.as-mmenu__header-icon {
  width: 20px;
  height: 20px;
}

.as-mmenu__header-icon--close {
  width: 24px;
  height: 24px;
}

.as-mmenu__icon-btn svg path,
.as-mmenu__header-icon path {
  fill: none;
}

.as-mmenu__back {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #5a616c;
}

.as-mmenu__back-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.as-mmenu__back-icon {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.as-mmenu__back-label {
  flex: 0 0 auto;
}

.as-mmenu__back:hover .as-mmenu__back-icon-wrap {
  background: #f5f6fb;
}

.as-mmenu__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.as-mmenu__body--sub {
  gap: 0;
  overflow: auto;
}

.as-mmenu__body--sub .as-mmenu__section-title {
  padding: 16px 20px 8px;
}

.as-mmenu__body--sub .as-mmenu__nav--sub {
  padding-top: 0;
}

.as-mmenu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 4px 0;
}

.as-mmenu__nav--sub {
  padding-top: 0;
}

.as-mmenu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
  font: inherit;
  color: inherit;
}

.as-mmenu__item:hover,
.as-mmenu__item:focus-visible {
  background: #f5f6fb;
}

.as-mmenu__item-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #111827;
}

.as-mmenu__chev {
  flex: 0 0 auto;
  display: block;
}

.as-mmenu__chev--down {
  transform: rotate(90deg);
}

.as-mmenu__section-title a {
  color: inherit;
  text-decoration: none;
}

.as-mmenu__section-title a:hover {
  color: #b04481;
}

.as-mmenu__section-title--plain {
  padding-bottom: 8px;
}

.as-mmenu__section-title .as-mmenu__chev {
  width: 16px;
  height: 16px;
}

.as-mmenu__footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px 50px;
  margin-top: auto;
}

.as-mmenu__callback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #f5e8ef;
  cursor: pointer;
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #b04481;
}

.as-mmenu__callback:hover {
  background: #edd6e4;
}

.as-mmenu__phone-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.as-mmenu__phone-value {
  flex: 1 1 auto;
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #111827;
}

.as-mmenu__email {
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #5a616c;
  text-decoration: none;
}

.as-mmenu__email:hover {
  color: #b04481;
}

.as-mmenu__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.as-mmenu__address {
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #111827;
}

.as-mmenu__schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.as-mmenu__schedule span {
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #9299a5;
}

body.as-mobile-menu-open {
  overflow: hidden;
}

body.as-mobile-menu-open #mobileheader,
body.as-mobile-menu-open #stickyMobileHeader {
  visibility: hidden;
  pointer-events: none;
}

.as-mmenu__body--contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.as-mmenu__contacts-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 24px 20px;
  flex: 0 0 auto;
}

.as-mmenu__callback--inline {
  width: 100%;
}

.as-mmenu__contacts-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.as-mmenu__contacts-title {
  margin: 0;
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #111827;
}

.as-mmenu__contacts-phones {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.as-mmenu__contacts-phone {
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #111827;
  text-decoration: none;
}

.as-mmenu__contacts-phone:hover {
  color: #b04481;
}

.as-mmenu__social-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.as-mmenu__social-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.as-mmenu__social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.as-mmenu__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #9299a5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.as-mmenu__social-link svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.as-mmenu__social-link--telegram:hover {
  color: #28a8ea;
}

.as-mmenu__social-label {
  font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #5a616c;
}

@media (min-width: 576px) {
  .as-mmenu {
    display: none !important;
  }
}
