.location-detail-container .detail-markets-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.location-detail-container .detail-markets-services h2 {
  color: #162636;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
}

.location-detail-container .detail-markets-services .markets-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 64px;
}

.location-detail-container .detail-markets-services .markets-carousel {
  width: 100%;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.location-detail-container
  .detail-markets-services
  .markets-carousel::-webkit-scrollbar {
  display: none;
}

.location-detail-container .detail-markets-services .market-card {
  flex: 0 0 calc(50% - 20px);
  scroll-snap-align: start;
  min-width: 0;
}

.location-detail-container
  .detail-markets-services
  .market-card:hover
  .card-main
  .card-image
  img {
  transform: scale(1.1);
}

.location-detail-container
  .detail-markets-services
  .market-card:hover
  .card-main
  .card-content
  .market-btn
  svg {
  transform: translateX(4px);
}

.location-detail-container .detail-markets-services .market-card .card-main {
  position: relative;
  width: 100%;
  display: block;
  text-decoration: none;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-image {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-image
  img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  transition: 0.3s transform;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-content {
  width: 100%;
  background-color: #162636;
  color: #fff;
  padding: 20px 30px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-content
  h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin: 0;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-content
  .market-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-content
  .market-btn
  span {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-main
  .card-content
  .market-btn
  svg {
  width: 24px;
  height: 24px;
  transition: 0.3s transform;
}

.location-detail-container
  .detail-markets-services
  .market-card
  .card-description {
  margin-top: 20px;
  color: #162636;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.location-detail-container .detail-markets-services .carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.location-detail-container .detail-markets-services .carousel-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s opacity;
  pointer-events: auto;
  width: 36px;
  height: 36px;
}

.location-detail-container .detail-markets-services .carousel-btn:hover {
  opacity: 0.7;
}

.location-detail-container .detail-markets-services .carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.location-detail-container
  .detail-markets-services
  .carousel-controls-sides
  .prev-btn {
  transform: rotate(180deg);
}

@media (max-width: 1499px) {
  .location-detail-container
    .detail-markets-services
    .markets-carousel-wrapper {
    padding: 0 58px;
  }

  .location-detail-container .detail-markets-services .markets-carousel {
    gap: 24px;
  }

  .location-detail-container .detail-markets-services .market-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 1199px) {
}

@media (max-width: 991px) {
  .location-detail-container
    .detail-markets-services
    .markets-carousel-wrapper {
    padding: 0 52px;
  }

  .location-detail-container .detail-markets-services {
    gap: 40px;
  }

  .location-detail-container .detail-markets-services .markets-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none;
  }

  .location-detail-container
    .detail-markets-services
    .markets-carousel::-webkit-scrollbar {
    display: none;
  }

  .location-detail-container .detail-markets-services .market-card {
    flex: 0 0 calc(100% - 12px);
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .location-detail-container
    .detail-markets-services
    .markets-carousel-wrapper {
    padding: 0;
  }

  .location-detail-container .detail-markets-services h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .location-detail-container
    .detail-markets-services
    .market-card
    .card-main
    .card-content {
    padding: 20px;
  }

  .location-detail-container
    .detail-markets-services
    .market-card
    .card-description {
    font-size: 14px;
    line-height: 20px;
  }

  .location-detail-container .detail-markets-services .carousel-controls {
    position: static;
    margin-top: 60px;
    transform: translateY(0);
    justify-content: center;
    gap: 75px;
  }
}
