/* Mobile & cross-page fixes — ВсеТочки v20260712 */

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 148px;
  min-height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.russia-tours-fallback {
  text-align: center;
  padding: 32px 16px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.russia-tours-fallback p {
  margin: 0;
}

.russia-tours-fallback a {
  color: var(--brand, #ff7d54);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 34px;
    max-width: 120px;
  }
}

/* Отступ под плавающий чат UIS на мобильных */
@media (max-width: 768px) {
  body.index-page,
  body.tours-page,
  body.cruises-page,
  body.russia-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.modal-open iframe[src*="uiscom"],
  body.modal-open iframe[src*="comagic"],
  body.tour-modal-open iframe[src*="uiscom"],
  body.tour-modal-open iframe[src*="comagic"],
  body.modal-open [class*="comagic" i],
  body.tour-modal-open [class*="comagic" i],
  body.modal-open [id*="comagic" i],
  body.tour-modal-open [id*="comagic" i] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .tour-search-app-wrap {
    max-width: 100%;
    overflow-x: hidden;
  }
}
