.pagemap {
  position: relative;
}

#ab-map-pointsranked {
  height: 85vh;
  min-height: 680px;
}

@media (min-width: 769px) {
  #ab-map-pointsranked {
    height: 80vh;
  }
}

.pagemap-search {
  position: absolute;
  top: 30px;
  right: 10%;
  width: 90%;
  max-width: 600px;
  z-index: 5;
  display: flex;
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagemap-search::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.pagemap-search input {
  flex: 1;
  height: 48px;
  background-color: #3A3A3A;
  border: none;
  border-radius: 50px;
  padding: 0 20px 0 56px;
  color: #FFFFFF;
  font-size: 1.6rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  position: relative;
  z-index: 0;
}

.pagemap-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.pagemap-contentitem {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
}

.store-card {
  user-select: none;
  overflow: hidden;
  background-color: #FFF;
  text-align: left;
  border-bottom-left-radius: 24px;
  border-top-right-radius: 24px;
  height: 200px;
  display: flex;
  justify-content: space-between;
  border: 2.5px solid transparent;
  width: 100%;
}

.store-card.active-card {
  border: 2.5px solid #FDC425;
}


.store-info {
  padding: 10px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-info h3,
.store-info h4 {
  font-family: 'Inter Bold';
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
}

.store-info p {
  font-family: 'Inter Bold';
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-image {
  flex: 1;
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-card a {
  border: 2px solid #0D223F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.5rem;
  border-radius: 50px;
  color: #0D223F;
  font-family: 'Inter Bold';
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 1.4rem;
  gap: 1rem;
}

.store-card a:hover path {
  stroke: #fff;
}

.store-card a:hover {
  background-color: #0D223F;
  color: #fff;
  border-color: #0D223F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 34, 63, 0.3);
}

@media (max-width: 768px) {
  .pagemap-search {
    right: 0;
    left: 0;
    margin-inline: auto;
  }
}

#contenedor-puntos {
  padding-inline: 35px;
}

#contenedor-puntos .swiper-slide {
  height: auto;
  max-width: 400px;
}

#results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: none;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  border-radius: 20px;
}

#results li {
  padding: 1rem 2rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

#results li:hover {
  background-color: #0D223F;
  color: #fff;
}

/* .swiper-button-container {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
} */