@charset "utf-8";
/* CSS Document */

/* ================================================== */
/*  DONDE COMPRAR	*/ 
/* ================================================== */

/* FONDO CAJA PAINTER */
.caja-painter.celeste {
    background-color: #00a8ff;
}

.fondo-donde-comprar {
    background-image: url('../images/personas/donde-comprar.png'); /* ajustá si está en otra carpeta */
    background-size: cover!important;
    background-position: center !important;
    background-repeat: no-repeat;
    padding-top: 140px; 
    padding-left: 20px; 
    color: white; /* si el fondo es oscuro */
    /*text-shadow: 1px 1px 2px black;*/ /* opcional, para mejorar lectura */
    background-size: 250px auto !important;
    /* background-position: bottom left; */
}

/* BOTON LIMPIAR */
.btn-limpia:before {
    margin-left: 0;
    margin-right: 10px;
    font-family: "FontAwesome";
    content: "\f12d";
}

/* BOTON BUSCAR */
.btn-buscar:before {
    margin-left: 0;
    margin-right: 10px;
    font-family: "FontAwesome";
    content: "\f041";
}
/* .btn-buscar-cp:before {
    margin-left: 0;
    margin-right: 10px;
    font-family: "FontAwesome";
    content: "\f003";
} */

/* BOTON IR AL MAPA */
.btn-scroll-map:before {
    margin-left: 0;
    margin-right: 10px;
    font-family: "FontAwesome";
    content: "\f107";
}
    
#map_canvas {
    height: 100%
}

/* BOTONES CAMBIAR */

#cambiautomatico {
    cursor: pointer;
}

/* TABLAS */
.tabla-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.tabla-elegante {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    line-height: 15px;
}
.tabla-elegante thead {
    position: sticky;
    top: 0;
    /* background-color: #f8f9fa; */
    background-color: #004975;
    color: #FFFFFF;
    z-index: 1;
}
.tabla-elegante th, .tabla-elegante td {
    padding: 7px;
    text-align: left;
    /*border-bottom: 1px solid #ddd;*/
    border-bottom: 1px solid rgb(202, 216, 236);
    font-size: 12px;
}
.tabla-elegante th {
    text-transform: uppercase;
}
.tabla-elegante td.nombre-click {
    color: #222222;
    font-weight: 600;  
}
.tabla-elegante tbody tr:nth-child(odd) {
    background-color: #e8f0fe;
    /*background-color: #f2f2f2;*/
}
.tabla-elegante tbody tr:hover {
    background-color: #e6f7ff;
    cursor: pointer;
}
#tablaLocales tbody tr:hover {
    background-color: #fdf0e6; /* más suave que el seleccionado */
}
.fila-seleccionada {
    background-color: #ffe6cc !important; /* Color suave */
    font-weight: bold;
}
.resaltado {
    background-color: #cee6fc !important;
    font-weight: bold;
}
#tablaLocales tbody tr {
    position: relative;
}
/* Tooltip común */
.tooltip-cell {
    position: relative;
    cursor: pointer;
}
/* Nombre del local - icono marcador */
.nombre-click:hover::after {
    content: "Ver ubicación en el mapa";
}
/* Dirección del local - icono ruta */
.direccion-click:hover::after {
    content: "Abrir ruta en Google Maps";
}
/* Estilo visual del tooltip */
.nombre-click:hover::after,
.direccion-click:hover::after {
    position: absolute;
    left: 100px;
    bottom: 80%;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0.55;
    transform: translateY(-4px);
    z-index: 999;
    pointer-events: none;
}
.tooltip-cell,
.nombre-click,
.direccion-click {
  position: relative;
  display: inline-block;
}
/* InfoBox Achica la altura del contenedor de la "X" */
.gm-style-iw-d {
    padding: 0 !important;
}
.gm-style-iw {
    padding: 0 !important;
    max-height: none !important;
}

/* SELECTORES */
.select-content {
    width: 100%;
}
.input-content {
    width: 100%;
    /*text-align: right;*/
    color: #FFFFFF;
}
input.agradece {
    background: none;
    border: none;
    color: #FFFFFF;
    width: 250px;
    font-style: italic;
    font-size: 13px;
}
input.agradece::placeholder {
    color: #FFFFFF;
}
.geo-desactivada {
    color: #FFFFFF;
    font-style: italic;
    font-size: 13px;
}
i.geo {
    color: #FFFFFF; 
    margin-right:10px; 
    font-size: 17px
}
.caja-painter .small-border {
    height: 2px;
    width: 30px;
    background: #63b2e5;
    margin: 10px 0 10px 0;
    display: block;
}
.input-content .slidecontainer {
    width: 100%;
    float: left;
    display: inline-block;
    padding: 5px 10px 12px 10px;
    /* margin-bottom: 5px; */
    /* margin-right: 2%; */
    /*border: solid 1px rgba(255, 255, 255, 1.0);*/
    /* background-color: rgb(255, 255, 255, 0.8); */
    border-radius: 8px !important;
    color: #FFFFFF
}
.slider2 {
    /* width: 100%; */
    width: 83%;
    margin: 0 5px;
}
.select-ubica {
    width: 100%; 
    padding: 10px;
    margin-bottom: 10px;
    color: #000000;
    border: solid 1px rgba(255, 255, 255, 1.0);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px !important;
    height: auto;
    font-size: 14px;
}
.input-cp {
    width: 180px; 
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 5px;
    color: #000000;
    border: solid 1px rgba(255, 255, 255, 1.0);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px !important;
    height: auto;
    font-size: 14px;
}
#cpMsg {
    /* color: #38b6ff; */
    color: #FFFFFF;
    line-height: 18px;
}
#acakm {
    font-size: 16px;
}
.input-radiokm {
    width: 22%;
    padding: 5px 10px;
    margin-bottom: 5px;
    color: #000000;
    border: solid 1px rgba(255, 255, 255, 1.0);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px !important;
    height: auto;
    font-size: 14px;
    line-height: 31px;
}
.contenedor {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 1rem;
}
.btn-whatsapp-td {
    width: 140px;
    color: #fff;
    background-color: #00c032;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: 30px;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    border: none;
}
.btn-whatsapp-td:before {
    margin-left: 0;
    margin-right: 4px;
    font-family: "FontAwesome";
    content: "\f232";
}

/* SEPARADOR */

.separador-vertical {
    height: 100%; 
    width: 2px; 
    padding-left:50%; 
    border-right: solid 1px #ffffff;
}

/* CARDS LATERALES */

.locales-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-top: 1rem;
}

.locales-panel {
  width: 34%;
  min-width: 290px;
}

.cards-locales {
  background: #f3f3f3;
  border-radius: 14px;
  max-height: 560px;
  overflow-y: auto;
  padding: 0;
}

.local-card {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s ease;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.local-card:last-child {
  border-bottom: none;
}

.local-card:hover {
  background: #f8fbff;
}

.local-card.resaltado {
  background: ##e0f4fd;
  border-left: 4px solid #0078c1;
}

.local-card-nombre {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1b4f8a;
  line-height: 1.25;
}

.local-card-direccion {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
}

.local-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.local-card-web a {
  color: #3a4ddb;
  text-decoration: none;
  font-size: 14px;
}

.btn-whatsapp-card {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.local-card-distancia {
  margin-top: 2px;
}
.mapa-panel {
  flex: 1;
}

#map_canvas {
  width: 100%;
  height: 560px !important;
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
}

/* SLIDER NUEVO */

.slidecontainer {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  column-gap: 12px;
  width: 100%;
}

.slider-min,
.slider-max {
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

.slider-min {
  text-align: left;
  margin-bottom: 10px;
}


.slider-max {
  text-align: right;
  padding-left: 10px !important; /* 👈 separación del slider */
  margin-top: 10px;
}

.slider-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider2 {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}

.slider-badge {
  position: absolute;
  top: -13px;
  left: 100%;
  transform: translate(-50%, -100%);
  background: #0d4d8b;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  min-width: 62px;
  text-align: center;
}

/* Responsive tabla para pantallas chicas */
@media (max-width: 768px) {

.tabla-container {
    overflow-x: auto;
    max-width: 100%;
}
.tabla-elegante {
    font-size: 14px; /* Ajusta tamaño si querés mejorar legibilidad */
    min-width: 780px; /* Permite hacer scroll horizontal si es necesario */
    /* min-width: 500px; */
}
/* En móvil, cambia a layout vertical */
.contenedor {
    flex-direction: column;
}
.mapa {
    height: 300px; /* más bajo en móviles */
}

.locales-layout {
    margin-top: 0;
}
/* Titulo */
.col-md-12.webpoint {
    margin-bottom: 15px;
    margin-top: 60px;
}

}

@media (min-width: 992px) {
    .col-lg-6.webpoint {
        flex: 0 0 auto;
        width: 45%;
    }
    .col-lg-5.webpoint {
        flex: 0 0 auto;
        width: 45%;
    }
}

@media (max-width: 991px) {
    .locales-layout {
        flex-direction: column;
    }

    .locales-panel {
        width: 100%;
        min-width: unset;
    }

    .cards-locales {
        max-height: 320px;
    }

    #map_canvas {
        height: 360px;
    }
}

@media (max-width: 320px) {

input.agradece {
    width: 180px;
}

}

/* ---------- */

.local-card-nombre,
.local-card-direccion,
.local-card-links,
.local-card-web,
.local-card-distancia,
.local-card-wa {
  text-align: left;
    margin: 0;
  line-height: 1.25;
}
.badge-distancia {
  display: inline-block;
  background: #0d4d8b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.local-card-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.link-whatsapp {
  color: #25d366 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.link-whatsapp i {
  margin-right: 6px;
  font-size: 16px;
}

.link-whatsapp:hover {
  text-decoration: underline;
}
