/* =============== Ticket filter hero (main_filter_wrapper) =============== */

.main_filter_wrapper.mf {
  padding: 0;
  margin: 0 0 22px;
}

.main_filter_wrapper.mf .mf__bg {
  background: linear-gradient(90deg, #5AA7FF 0%, #86B3FF 42%, #E3C8F3 100%);
  border-radius: 18px;
  overflow: hidden;
}

.main_filter_wrapper.mf .mf__inner {
  padding: 22px 0 18px;
}

.main_filter_wrapper.mf .mf__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.main_filter_wrapper.mf .mf__left {
  flex: 1 1 auto;
  min-width: 260px;
}

.main_filter_wrapper.mf .mf__logo {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.main_filter_wrapper.mf .mf__title {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 8px;
}

.main_filter_wrapper.mf .mf__desc {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
  margin: 0;
  max-width: 520px;
}

.main_filter_wrapper.mf .mf__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.main_filter_wrapper.mf .mf__phones {
  width: 230px;
  height: auto;
  display: block;
}

.main_filter_wrapper.mf .mf__stores {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.main_filter_wrapper.mf .mf__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 129px;
  text-decoration: none;
  color: inherit;
}

/* QR: делаем фиксированную квадратную плитку, чтобы не растягивало */
.main_filter_wrapper.mf .mf__qr {
  width: 129px;
  height: 129px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
}

.main_filter_wrapper.mf .mf__badge {
  width: 98px;
  height: auto;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}

.main_filter_wrapper.mf .mf__store:hover .mf__badge {
  transform: translateY(-1px);
}

/* ====== Обёртка вокруг фильтра (ТОЛЬКО ОТСТУП) ====== */
.main_filter_wrapper.mf .mf__form_shell {
  margin-top: 14px;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .main_filter_wrapper.mf .mf__hero {
    flex-direction: column;
    align-items: center;     /* было flex-start */
    text-align: center;      /* чтобы текст стал по центру */
  }

  .main_filter_wrapper.mf .mf__left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;     /* центрируем лого и текст */
  }

  .main_filter_wrapper.mf .mf__desc {
    max-width: 560px;
  }

  .main_filter_wrapper.mf .mf__right {
    width: 100%;
    justify-content: center; /* было space-between */
  }

  .main_filter_wrapper.mf .mf__phones {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .main_filter_wrapper.mf .mf__bg {
    border-radius: 14px;
  }

  .main_filter_wrapper.mf .mf__inner {
    padding: 16px 0 14px;
  }

  .main_filter_wrapper.mf .mf__logo {
    width: 150px;
    margin-bottom: 8px;
  }

  .main_filter_wrapper.mf .mf__title {
    font-size: 18px;
  }

  .main_filter_wrapper.mf .mf__desc {
    font-size: 13px;
  }

  .main_filter_wrapper.mf .mf__right {
    flex-direction: column;  /* телефоны + QR блок вертикально */
    align-items: center;     /* было flex-start */
    gap: 12px;
  }

  .main_filter_wrapper.mf .mf__stores {
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }

  .main_filter_wrapper.mf .mf__phones {
    width: 220px;
  }
}

/* если у тебя где-то глобально main_filter задаёт padding */
.main_filter {
  padding: 0;
}
