

/***********************************/
/********MAP***CARD-CONTAINER IMG SPONSOR ********/
/***********************************/

.map-container {
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  max-height: 600px;
 
}

.custom-map {
  border-radius: 10px;
  height: 550px;
  margin: 15px;
  touch-action: pan-x pan-y;
  
}

@media (max-width: 768px) {
  .map-container {
    padding: 5px;
    margin: 5px;
    
  }

  .custom-map {
    height: 450px;
  }
}

@media (pointer: coarse) { 
  .custom-map {
    pointer-events: auto; 
  }
}







 .map-filter  {
    border: 2px solid #ffc451;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    background: black;
    overflow: hidden;
    display: block;
   
}






/***********************/
/********leaflet*******/
/**********************/
/***********************/

.custom-tooltip-marker {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: bolder;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000 !important; 
}

 @media (max-width: 768px) {
            .custom-tooltip-marker {
                font-size: 12px;
                padding: 3px 8px;
            }
        }


/* Eliminar fondo, bordes y sombra del popup */
.leaflet-popup {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
   position: absolute;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
      z-index: 500 !important; 
}

@media (max-width: 768px) {
    .leaflet-popup {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        position: absolute !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 90vw;
        max-height: 80vh;
        margin-left: 50px;
        z-index: 500 !important; 
    }
}








/* Eliminar borde o margen en el contenido del popup */
.leaflet-popup-content {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}


/******marcador cluster***/

.leaflet-marker-icon.marker-cluster span {
  color: #fff !important;
  font-weight: bold !important;
  font-size: 14px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
  background-color: #ff0000 !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 40px !important;
  height: 40px !important;
}

/* Eliminar fondo blanco en el popup */
/* Eliminar fondo, bordes y cualquier efecto translúcido del popup */

.leaflet-popup-content-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}






/******************************************/
/*********************************************
/* Estilos para el popup de Leaflet */
/*************************************/
/*************************************/
/******************************************/
/*********************************************




/* Estilos para el botón de cierre del popup */
.leaflet-popup-close-button {
    background-color: #ff0000 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    margin-top: 60px !important;
    margin-right: 120px !important;
    
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    .leaflet-popup-close-button {
        width: 25px !important;   
        height: 25px !important; 
        font-size: 16px !important; 
        margin-right: 160px !important;
    }
}



.leaflet-popup-content {
    margin: 0 !important; 
    padding: 0 !important; 
}


/* Eliminar el triángulo en el estado de hover */

.leaflet-marker-icon.marker-cluster:hover {
    background-image: none !important;
    box-shadow: none !important; 
}


/* Estilos para el tooltip personalizado */
.custom-tooltip-class {
    margin-top: 50px;
    background-color: #6f4f37;
    color: white;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    word-wrap: break-word;

    background-size: contain; 
    background-position: center; 
    z-index: 10000 !important;
    
}



@media (max-width: 768px) {
    .custom-tooltip-class {
        width: 80%; 
        margin-left: -5%; 
        z-index: 10000 !important;
 }

}










/******/* Contenedor para centrar el botón */


.google-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  cursor: pointer;
}






/******botones web******/




.custom-btn {
  background-color: #FF4500; 
  border-color: #FF4500;   
  color: #fff;          
}

.custom-btn:hover {
  background-color: #E03E00; 
  border-color: #E03E00;
}




.card-img-top {
  max-width: 60%;
  width: auto;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}








.category-section, .description-section, .price-section, .rating-section {
    margin-bottom: 8px !important; 
}

/****estrellas***/
.valoraciones i.fas.fa-star {
    color: #ffd700 !important;  
}

.valoraciones i.far.fa-star {
    color: gray !important; 
}



.card-title-map {
   margin-left: 20px !important;
    font-size: 0.9rem;
    font-weight: bold;
    
    text-align: center !important;
    color: white;
    background-color: black;
    border: 2px solid #6f4f37;
    padding: 10px;
    max-width: 80%;
    border-radius: 8px;
}


/*********toltips**********/




/****botones *****/


.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; 
    gap: 10px;
  flex-wrap: nowrap;
}



.tooltip-button {
  font-size: 14px;
  padding: 8px 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .tooltip-button {
    font-size: 12px;
    padding: 6px 10px;
  }
}
