  .routes-wrap{
    margin-top: 60px;
    margin-bottom: 200px;
  }
  .routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.route-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}
.route-image{
  margin-bottom: 20px;
  width: 100%;
  height: 225px;
}
.route-image a{
  display: block;
   width: 100%;
  height: 100%;
}
.route-image img{
  width: 100%;
  height: 100%;
  object-fit:cover;
  border-radius:8px;
}
.route-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}
.route-meta span{
  display: flex;
  gap: 12px;
  align-items: center;
}
.route-meta__icon{
  display: flex;
}
.routes-filter {
  display: flex;
  gap:20px;
  margin-bottom: 30px;
}
.routes-filter select{
  border-radius: 4px
}
.route-meta-details{
  display: flex;
  border-radius: 8px;
  justify-content: center;
  padding: 15px;
  margin: 20px 0;
  background: #f9f9f9;
}
.route-meta-details span{
  display: flex;
  align-items:center;
  gap: 12px;
}
.routes-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
}
.hotel-single .routes-hero{
  flex-direction: column;
  gap: 10px;
}
.hotel-single .hotel-tags a{
  font-size: 1rem;
  display: inline-block;
  background: rgb(251, 32, 86);
  color: rgb(255, 255, 255);
  padding: 3px 6px;
  border-radius: 3px;
  margin-right: 5px;
}
.routes-hero__title {
  text-align: center;
}
.routes-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.routes-hero__title{
  color: var(--ast-global-color-5);
  font-size: 4rem;
  line-height: 1.4em;
}

.routes-hero__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* --- Стили для страницы категории городов (Hero и Сетка) --- */

/* Hero блок (изображение категории) */
.category-hero {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.category-hero h1 {
    color: #ffffff;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* Сетка карточек отелей */
.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 60px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

/* Карточка отеля */
.hotel-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.hotel-card__img{
  height: 200px;
}
.hotel-card__img a{
  margin-top: 0 !important;
  display: block !important;
  width: 100%;
  height: 100%;
}
.hotel-card__img a img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.hotel-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hotel-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.hotel-card h3 {
    margin: 15px 0;
    font-size: 24px;
    color: var(--ast-global-color-1);
}

.hotel-tags span {
    display: inline-block;
    background: #fb2056;
    color: #fff;
    padding: 3px 6px;
    font-size: 0.75rem;
    border-radius: 3px;
    margin-right: 5px;
    line-height: normal;
}

.hotel-card a {
    display: inline-block;
    margin-top: 10px;
    color: #fb2056;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}
.hotel-img a{
  display: block;
  width: 100%;
  height: 200px;
}
.hotel-single__row{
  margin-top: 60px;
  margin-bottom: 100px;
  display: flex;
  gap: 60px;
}
.hotel-single__col{
  width: 50%;
}
.hotel-single__gallery{
  width: 50%;
}
.hotel-gallery{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hotel-gallery a{
  width: calc(50% - 10px);
  height: 200px;
}
.hotel-gallery a img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-page-wrapper{
  padding: 0 100px;

}
.route-list{
  padding-right: 40px;
  position: relative;
  width: 600px;
  overflow: hidden;
}
.route-item {
  padding-bottom: 40px;
  border-right: 2px dashed #cbcaca;
}
.route-item__row {
  position: relative;
  display: flex;
  gap: 12px;
}
.route-item__distance-badge{
  display: flex;
  align-items: center;
  position: absolute;
  top:-20px;
  right: 20px;
}
.route-item__distance-badge:after{
  content:"";
  position: absolute;
  right: -22px;
  display: block;
  width: 20px;
  height: 1px;
  background:#cbcaca;
}
.route-item__number{
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius:4px;
  color:#fff;
  background:#fb2056;
}
.route-item__col-img {
  width: 130px;
}
.route-item__col-img img{
  width: 100%;
  height: auto;
  border-radius:6px;
}
.route-item__image {
  width: 100%;
}

.route-item__title {
  padding-right: 20px;
  font-size: 24px;
  line-height: normal;
}
.route-item__cat {
  color:rgba(0, 0, 0, 0.6);
  font-size: 14px;
}
.route-item__adres {
  margin-top: 4px;
  color: #666;
  line-height: normal;
  font-size: 14px;
}
.route-item__content{
  padding-right: 40px;
}
.route-item__detail {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  transform: translateX(100%);
  transition: all ease .3s;
  height: 100%;
  overflow-y: scroll;
  background:#fff;
  padding: 20px;
}
.route-item__detail.open{
  transform: translateX(0);
  transition: all ease .3s;
}
.route-item__detail-back {
  margin-bottom: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 30px;
  border:1px solid #fb2056;
  border-radius:4px;
}
.route-item__detail-cat {
  font-size: 14px;
  margin-bottom: 8px;
  color:rgba(0, 0, 0, 0.6);
}
.route-item__detail-title {
  font-size: 24px;
  font-weight: 700;
}
.route-item__detail-image {
  margin-top: 20px;
  width: 100%;
}
.route-item__detail-image img{
  width: 100%;
  height: 100%;
  border-radius:8px;
}
.route-item__detail-text {
  margin-top: 20px;
}
.route-item__detail-adres {
  display: flex;
  align-items:center;
  gap: 4px;
}
.route-item__detail-coords {
  margin-top: 12px;
  display: flex;
  align-items:center;
  gap: 4px;
}
.route-item__detail-phone {
  margin-top: 12px;
  display: flex;
  align-items:center;
  gap: 4px;
}
.route-item__detail-link {
  margin-top: 20px;
}
.route-item__detail-link a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-left: 40px;
  padding-right: 40px;
  background:#fb2056;
  font-size: 14px;
  font-weight: 700;
  color:#fff !important;
  border-radius:30px;
  transition: all ease .3s;
}
.route-item__detail-link a:hover{
   background:#da1c4b;
  color:#fff !important;
  transition: all ease .3s;
}
.btn-map-all{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-left: 40px;
  padding-right: 40px;
  background:#fb2056;
  font-size: 14px;
  font-weight: 700;
  color:#fff;
  border-radius:30px;
  transition: all ease .3s;
}
.btn-map-all:hover{
  background:#da1c4b;
  color:#fff !important;
  transition: all ease .3s;
}
.map-infowindow h4{
  margin-bottom: 12px;
}
.map-infowindow p{
  margin-bottom: 12px !important;
}
.map-infowindow__tel,.map-infowindow__adres{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
@media (max-width: 992px) {
    .accommodations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-page-wrapper{
      flex-wrap: wrap;
      padding: 0 20px;
    }
    .route-list{
      width: 100%;
      padding-right: 0;
    }
    .map-page-wrapper #map{
      margin-top: 40px;
      width: 100%;
    }
    .route-item__number{
      width: 30px;
      height: 30px;
    }
    .route-item__title{
      font-size: 18px;
    }
    .route-item__adres{
      font-size: 12px;
    }
    .route-item__cat{
      font-size: 12px;
      line-height: normal;
    }
    .route-item__content{
      padding-right: 50px;
    }
    .route-item__detail-adres,.route-item__detail-coords,.route-item__detail-phone{
      font-size: 12px;
    }
    .map-infowindow__adres,.map-infowindow__tel{
      font-size: 12px;
    }
    .route-item__distance-badge{
      font-size: 12px;
    }
    .map-infowindow__tel svg, .map-infowindow__adres  svg{
      min-width: 12px;
    }
}

@media (max-width: 600px) {
    .accommodations-grid {
        grid-template-columns: 1fr;
    }
}
@media(max-width:992px){
  .routes-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .routes-hero__title{
    font-size: 3.25rem;
  }
}
@media(max-width:768px){
  .routes-hero{
    height: 300px;
  }
  .routes-grid{
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .routes-hero__title{
    font-size: 1.875rem;
  }
  .hotel-single__row{
    margin-top: 40px;
      flex-wrap: wrap;
      gap: 40px;
    }
    .hotel-single__col{
      width: 100%;
    }
    .hotel-single__gallery{
      width: 100%;
    }
    .hotel-single .hotel-tags a{
      font-size: 14px;
    }
    .hotel-gallery a{
      height: auto;
    }
}