body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
 
* {
  box-sizing: border-box;
}
 
/* Barra lateral */
ol {
  list-style-type: none;
  align-items: center;
  width: 20%;
  padding-left: 0 !important;
  background: #FF220F;
background: linear-gradient(0deg, rgba(255, 34, 15, 1) 0%, rgba(241, 245, 253, 1) 90%);color: #ffffff;
  height: 100vh;
  position: fixed;
  overflow-y: auto;
  scrollbar-color: rgba(255, 113, 113, 0.5) rgba(255, 255, 255, 0);
  scrollbar-width: thin;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.75);
}
 
ol::-webkit-scrollbar {
  -webkit-appearance: none;
}
 
ol::-webkit-scrollbar:vertical {
  width: 10px;
}
 
#Logo {
  position: fixed;
  background: transparent;
  width: 19.2vw;
}
 
ol li {
  border-bottom: solid 1px #bebebe;
  padding: 2rem 0.7rem;
  cursor: pointer;
}
 
li:hover {
  background-color: rgba(255, 113, 113, 0.3);
  transition: 0.5s;
}
 
/* Contenedor principal */
#contenedor {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 200vh;
  position: fixed;
  inset: 0;
}
/* Mapa */
#Mapa {
  margin-left: 21.4vw;
  width: 80vw;
  height: 100vh;
  padding: 0;
}
 
#map {
  height: 900px; 
  width: 95%;
  left:10px;
  margin-top: 2.5rem;
  border: 1px solid #FF220F;
}
 
/* Otros elementos */
#yourUbication {
  left: 25%;
  top: -1%;
  margin: 2rem 0;
}
 
.search {
  border-bottom: solid 1px #bebebe;
  margin-top: 8rem;
}
 
#circulo {
  position: fixed;
  width: 35rem;
  z-index: -1;
  right: 45%;
}
 
#lupa {
  position: absolute;
  top: -79px;
  right: -146px;
  z-index: -1;
  width: 37rem;
}
 
/* Carrusel */
@media (max-width: 768px) {
  .carousel-inner .carousel-item > div {
    display: none;
  }
  .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}
 
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
  background-color: #ffffff;
}
 
#myCarousel {
  width: 60vw;
  margin-bottom: 2rem;
}
 
@media (min-width: 768px) {
  .carousel-inner .carousel-item-right.active,
  .carousel-inner .carousel-item-next,
  .carousel-item-next:not(.carousel-item-start) {
    transform: translateX(25%) !important;
  }
 
  .carousel-inner .carousel-item-left.active,
  .carousel-item-prev:not(.carousel-item-end),
  .active.carousel-item-start,
  .carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-25%) !important;
  }
 
  .carousel-item-next.carousel-item-start,
  .active.carousel-item-end {
    transform: translateX(0) !important;
  }
 
  .carousel-inner .carousel-item-prev,
  .carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-25%) !important;
  }
}

  .carousel-control-prev {
     position: absolute;
    left: -9%;
  }
 
  .carousel-control-next {
    position: absolute;
    right: -6%;
  }
 
.carousel-control-prev-icon {
  background-image: url('../images/flecha-izquierda.png') !important;
}
 
.carousel-control-next-icon {
  background-image: url('../images/flecha-correcta.png') !important;
}
 
.afiliadoEdenred {
  width: 14.5rem !important;
  height: 7.581rem !important;
  cursor: pointer;
}
 
.fas {
  float: right;
}
 
.Establecimientos {
  width: 6.25rem !important;
  height: auto !important;
}
 
.info {
  width: 12rem !important;
}
 
.comercios {
  font-size: 0.75rem;
  overflow: hidden;
}
 
@media (min-width: 2000px) {
  .afiliadoEdenred {
    width: 20.5rem !important;
    height: 10.5rem !important;
  }
}
 
@media (min-width: 1500px) {
  .afiliadoEdenred {
    width: 20.5rem !important;
    height: 10.5rem !important;
  }
 
  .Establecimientos {
    width: 11.375rem !important;
    height: auto !important;
  }
}

.modal-dialog {
  z-index: 9999 !important;
}

.modal-backdrop {
  z-index: 9998 !important;
}

/* Responsive adjustments */
@media (max-width: 700px) {
#barraLateral {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid #ddd;
    height:650px;
  }
  #myCarousel {
    position: fixed !important;
    top: 650px;
    width: 100% !important;
  }
  #Mapa {
    margin-left:0;
    width: 100% !important;
    padding: 1rem !important;
  }
  #map {
    width: 95%;
    height: 350px !important;
    position: fixed !important;
    top: 800px;
  } 

  .afiliadoEdenred {
    width: 300px !important;
    height: 8.9rem !important;
    cursor: pointer;
  }

  .carousel-control-prev {
    left: -6%;
  }
  .carousel-control-next {
    left: 80%;
  }


}

/* Asegura que las imágenes sean fluidas */
img {
  max-width: 100%;
  height: auto;
}