/* MB-WORLD 0.3.16: home tour cards swipe horizontally on touch screens.
   Catalogue and desktop grid remain unchanged. */
body.mbw26-body #tours .mbw26-home-carousel { position: relative; min-width: 0; }
body.mbw26-body #tours .mbw26-home-carousel__navigation { display: none; }
@media (max-width: 800px) {
  body.mbw26-body #tours .mbw26-home-carousel__track {
    display: flex;
    position: relative;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 1px 12px;
    align-items: stretch;
  }
  body.mbw26-body #tours .mbw26-home-carousel__track::-webkit-scrollbar { display: none; }
  body.mbw26-body #tours .mbw26-home-carousel__track > .tourcard {
    flex: 0 0 min(420px, 76%);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
  }
  body.mbw26-body #tours .mbw26-home-carousel__track > .tourcard:hover {
    transform: none;
  }
  body.mbw26-body #tours .mbw26-home-carousel__navigation {
    display: flex;
    position: absolute;
    top: 108px;
    left: 6px;
    right: 6px;
    align-items: center;
    justify-content: space-between;
    z-index: 4;
    pointer-events: none;
  }
  body.mbw26-body #tours .mbw26-home-carousel__arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    border: 1px solid rgba(15, 42, 66, .13);
    border-radius: 999px;
    background: #fff;
    color: #0b2d49;
    box-shadow: 0 4px 16px rgba(9, 28, 47, .16);
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  body.mbw26-body #tours .mbw26-home-carousel__arrow:disabled {
    opacity: .35;
    cursor: default;
  }
  body.mbw26-body #tours .mbw26-home-carousel__arrow:focus-visible {
    outline: 3px solid #539ace;
    outline-offset: 3px;
  }
}
@media (max-width: 600px) {
  body.mbw26-body #tours .mbw26-home-carousel__track > .tourcard {
    flex-basis: max(230px, calc(100% - 76px));
  }
  /* Keep the previous arrow on the left; pin the next arrow to the
     right edge of the visible carousel, above the peeking next card. */
  body.mbw26-body #tours .mbw26-home-carousel__navigation {
    right: 6px;
  }
}


/* 0.3.18 — one scoped catalog link below the homepage carousel,
   styled to match the dark navy "ИСКАТЬ" search button. */
body.mbw26-body #tours .more-row .mbw26-all-tours-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  padding: 17px 24px;
  border: 0;
  border-radius: 11px;
  background: #0B2D49;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
  transition: background .18s;
}
body.mbw26-body #tours .more-row .mbw26-all-tours-button:hover,
body.mbw26-body #tours .more-row .mbw26-all-tours-button:focus-visible {
  background: #164663;
  color: #FFFFFF;
  text-decoration: none;
}
body.mbw26-body #tours .more-row .mbw26-all-tours-button:focus-visible {
  outline: 3px solid #539ACE;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  body.mbw26-body #tours .more-row .mbw26-all-tours-button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  body.mbw26-body #tours .more-row .mbw26-all-tours-button {
    font-size: 20.9px;
  }
}
