.locations-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#locations-map {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* z-index: 1; */
}

.embla-locations {
  width: 100%;
  position: relative;
}

.embla-locations__viewport {
  overflow: hidden;
}

.embla-locations__container {
  display: flex;
}

.embla-locations__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  color: #333;
}

.embla-locations__btn:hover {
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.embla-locations__btn--prev {
  left: 10px;
}

.embla-locations__btn--next {
  right: 10px;
}

.embla-locations__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 4fr 3fr;
  align-items: stretch;
  max-height: 250px;
}

.location-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px 0 0 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-text-content {
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border-radius: 0 15px 15px 0;
  padding: 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
  justify-content: center;
}

.location-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  color: #111;
  /* margin-top: 1rem; */
  font-family: "Montserrat", sans-serif;
}

.location-address {
  line-height: normal;
  font-size: 0.85rem;
  text-align: center;
  color: #666;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.location-hours {
  font-size: 0.8rem;
  text-align: center;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.location-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  overflow: hidden;
}

.location-pin {
  background: none !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.location-pin__inner {
  width: 24px;
  height: 24px;
  background: #888;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.location-pin--active .location-pin__inner {
  background: #fce9da;
  border-color: #333;
  transform: scale(1.3);
}

.marker-popup {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
}

.marker-hours {
  color: #c49a6c;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.3;
}

.marker-route-link {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 14px;
  background: #fce9da;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.marker-route-link:hover {
  background: #f5d5b8;
}

@media (max-width: 768px) {
  #locations-map {
    height: 250px;
  }

  .embla-locations__slide {
    display: block;
    max-height: none;
  }

  .location-image-wrapper {
    height: 200px;
    width: 100%;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
  }

  .location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }

  .location-text-content {
    border-radius: 0 0 15px 15px;
    padding: 0.5rem;
  }

  .location-title {
    font-size: 0.9rem;
    margin: 0 0 2px;
    padding: 0;
  }

  .location-address {
    font-size: 0.7rem;
    margin-bottom: 2px;
  }

  .location-hours {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }

  .location-description {
    font-size: 0.7rem;
    padding: 0;
    line-height: 1.3;
  }

  .marker-popup {
    font-size: 0.75rem;
  }

  .marker-hours {
    font-size: 0.7rem;
  }

  .marker-route-link {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-top: 4px;
  }

  .leaflet-popup-content-wrapper {
    padding: 2px !important;
  }

  .leaflet-popup-content {
    margin: 8px 12px !important;
    max-width: 180px !important;
  }
}

.leaflet-attribution-flag {
  display: none !important;
}
