/**
 * Estilos para las páginas de clínicas y store locator
 *
 * @package Astra Child TA
 * @since 1.0.0
 */

/* ========================================
   FONT FAMILY
   Asegurar que se use Montserrat como fuente principal
   Sobrescribir cualquier fuente del tema padre (como Plus Jakarta Sans)
   ======================================== */

/* Forzar Montserrat en todas las páginas de clínicas y store locator */
body.single-stores,
.single-stores,
.single-stores *,
#store_locator,
#store_locator *,
.store_locator,
.store_locator *,
.clinic-card-info,
.clinic-card-info *,
.clinic-single-content,
.clinic-single-content *,
.store_locator_single_opening_hours_comments,
.store_locator_result_list_item,
.store_locator_details,
.store_locator_get_direction,
.store_locator_single_opening_hours,
.clinic-case,
ul.services,
.store_locator_single_address,
.store_locator_single_contact,
.store_locator_single_opening_hours h3,
.clinic-card-info h1,
.clinic-card-info h3 {
    font-family: 'Montserrat', sans-serif !important;
}

/* Sobrescribir específicamente Plus Jakarta Sans si está siendo usada */
/* Forzar Montserrat en todos los elementos, incluyendo los del tema padre */
body.single-stores,
body.single-stores *,
body.single-stores h1,
body.single-stores h2,
body.single-stores h3,
body.single-stores h4,
body.single-stores h5,
body.single-stores h6,
body.single-stores p,
body.single-stores span,
body.single-stores div,
body.single-stores a,
body.single-stores button,
body.single-stores input,
body.single-stores select,
body.single-stores textarea,
body.single-stores label,
body.single-stores li,
body.single-stores ul,
body.single-stores ol,
#store_locator,
#store_locator *,
#store_locator h1,
#store_locator h2,
#store_locator h3,
#store_locator h4,
#store_locator h5,
#store_locator h6,
#store_locator p,
#store_locator span,
#store_locator div,
#store_locator a,
#store_locator button,
#store_locator input,
#store_locator select,
#store_locator textarea,
#store_locator label,
#store_locator li,
#store_locator ul,
#store_locator ol {
    font-family: 'Montserrat', sans-serif !important;
}

/* ========================================
   CLINICS PAGE STYLES
   Estilos específicos para las páginas de clínicas individuales
   ======================================== */

/* Asegurar que el container esté centrado en las páginas de clínicas */
/* Sobrescribir estilos de Astra que pueden estar afectando */
.single-stores .ast-container,
.single-stores #content,
.single-stores .site-content,
.single-stores .entry-content,
.single-stores .stores-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Centrar el article de Astra en las páginas de clínicas */
/* Asegurar que el article ocupe todo el ancho disponible */
.single-stores article.ast-article-single,
body.single-stores article.ast-article-single,
.single-stores .type-stores.ast-article-single,
body.single-stores .type-stores.ast-article-single,
.single-stores .hentry.ast-article-single,
body.single-stores .hentry.ast-article-single {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Asegurar que los contenedores padre del article también ocupen el 100% */
.single-stores #primary,
body.single-stores #primary,
.single-stores .content-area,
body.single-stores .content-area,
.single-stores .site-main,
body.single-stores .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Centrar el container Bootstrap dentro de las páginas de clínicas */
/* Regla general para cualquier container dentro de single-stores */
body.single-stores .container,
body.single-stores section .container,
.single-stores .container,
.single-stores section .container,
.single-stores .stores-container .container,
.single-stores article .container,
.single-stores .entry-content .container {
    width: 100% !important;
    max-width: 1140px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    position: relative !important;
}

@media (min-width: 576px) {
    body.single-stores .container,
    body.single-stores section .container,
    .single-stores .container,
    .single-stores section .container {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    body.single-stores .container,
    body.single-stores section .container,
    .single-stores .container,
    .single-stores section .container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    body.single-stores .container,
    body.single-stores section .container,
    .single-stores .container,
    .single-stores section .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    body.single-stores .container,
    body.single-stores section .container,
    .single-stores .container,
    .single-stores section .container {
        max-width: 1140px !important;
    }
}

/* Asegurar que las columnas col-lg funcionen en las páginas de clínicas */
@media (min-width: 992px) {
    .single-stores .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
    
    .single-stores .col-lg-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }
    
    .single-stores .col-lg-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Asegurar que las columnas col-md funcionen en las páginas de clínicas */
@media (min-width: 768px) {
    .single-stores .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

#store_modal .modal-body {
  padding: 0px;
}
.store_locator_sidebar_content {
  padding: 15px 0px 15px 15px;
}
/*.store-locator-page #page .entry-content{margin:0;}*/
#store_locator {
  overflow: hidden;
  padding: 0;
  font-size: 18px;
}
#store_locator_get_my_position,
#store_locator_get_all_stores {
  width: 100%;
  background: #0A9BC7;
  color: #FFFFFF;
  margin-top: 9px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: 2px solid #264067;
  font-size: 18px;
  white-space: normal;
}
#store_locator button,
#store_locator_get_my_position {
  width: 100%;
  color: #FFFFFF;
  margin-top: 9px;
  height: auto;

  font-size: 15px;
}
#store_locator button:hover {
  background: #0A9BC7;
  color:#264067;
}
.store_locator_contact {
  margin-top: 12px !important;
}
.store_locator .store_locator_address_field {
  color: #4E4E4E;
  background: #FFFFFF;
  border: 2px solid #264067 !important;
}
.store_locator .store_locator_address_field:focus {
  color: #4E4E4E;
  background: #FFFFFF;
  border: 2px solid #264067 !important;
}
.store_locator_main {
  padding: 0;
}
.store_locator_result_list_box {
  padding: 0;
}
.store_locator_result_list_box hr.grey {
  border-top: 1px solid #264067;
}
.store_locator_result_list_item {
  padding: 12px;
}
.store_locator_details a:hover {
  text-decoration: none;
  color: #0A9BC7;
}
.store_locator_details a{text-decoration: none !important;}
#page h3.store_locator_name {
  color: #fff;
  font-size: 16px !important;
	font-weight: 900 !important;
}
.store_locator_details a:hover h3.store_locator_name {
  color: #0A9BC7;
}
.store_locator_get_direction {
  width: 100%;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: #0A9BC7;
  font-size: 18px;
  height: auto;
  margin-top: 12px;
}
.store_locator_get_direction:hover {
  background: #264067;
  color: #FFFFFF !important;
}
.store_locator_result_list_item:hover {
  background: #264067;
  cursor: default;
}
#store_locator .phone-icon {
  background: url('../../assets/images/phone.svg') no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
}
#store_locator .mail-icon {
  background: url('../../assets/images/mail.svg') no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
}
.store_locator_tel {
  margin-bottom: 6px;
  display: inline-block;
  width: 100%;
}
.store_locator_email {
  word-wrap: break-word;
}
.store_locator_tel a,
.store_locator_email a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.store_locator_tel a:hover,
.store_locator_email a:hover {
  text-decoration: underline;
}
.store_locator_details i.fa-chevron-right {
  display: none;
}
#page .store_locator_infowindow h3.store_locator_name {
  margin-bottom: 12px;
  margin-top: 6px;
  color:#0A9BC7;
}
#page .store_locator_infowindow .store_locator_contact a{
  color:#0A9BC7;
}
h3.store_locator_filter_title {
  font-size: 15px;
}
.store_locator_filter_open_close i {
  margin-top: 5px;
}
#store_locator_filter_categories {
  margin-top: 0;
  margin-top: -20px;
}
.store_locator .select {
  font-size: 15px;
}
#store_locator_filter_content h5 {
  margin-bottom: 5px;
}
.control input:checked ~ .control__indicator {
  background: #0A9BC7 !important;
}
/* Se ha ocultado el titulo filter, el selector de radio y el radio aplicado */
#store_locator_filter_open_close {
  display: none;
}
#store_locator_filter_content {
  display: block !important;
}
#store_locator_filter_active_filter_box {
  display: none;
}
.store_locator .store_locator_actions {
  min-height: 10px;
}
.store-locator-page .store_locator_actions {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px;
}
.store-locator-page .store_locator_actions .store_locator_get_direction {
  font-size: 15px;
  width: 50%;
}
#store_locator_result_list .store_locator_actions .store_locator_get_direction {
  width: 100%;
}
.store-locator-search-options {
  display: none;
}
#store_locator_filter .single_filter_checkbox.control{
	color:#212529;
}
/* Clinic pages */
.single-stores .entry-content {
  margin: 0;
}
.store_locator_single_map {
  margin-top: 0;
  background: #EFEFEF;
}
.single-stores section#primary {
  padding: 0;
}
.single-stores .phone-icon {
  background: url('../../assets/images/phone.svg') no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.single-stores .mail-icon {
  background: url('../../assets/images/mail.svg') no-repeat;
  background-size: contain;
  background-position: center;
  width: 20px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.single-stores .opening-icon {
  background: url('assets/images/servicio.svg') no-repeat;
  background: url('assets/images/clock.svg') no-repeat;
  width: 21px;
  height: 21px;
  display: inline-block;
  position: relative;
  top: 4px;
  margin-right: 6px;
}
.store_locator_single_opening_hours_comments {
  text-align: center;
  font-size: 1.5em;
  border: 2px solid #fff;
  background: #fff;
  color: #0A9BC7;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
}
.clinic-card-info {
  background: #264067;
  padding: 24px 18px;
  margin-top: -60px;
  overflow: hidden;
  color: #FFFFFF;
  font-weight: 300;
}
.clinic-card-info h1 {
  padding: 0 !important;
  font-size: 24px !important;
  font-weight: 800;
  margin-bottom: 12px !important;
  color: #fff;
  margin-top:0;
}
.clinic-card-info .store_locator_single_address {
  width: 100%;
}
.clinic-card-info .store_locator_single_contact {
  width: 100%;
  padding: 0;
  margin-top: 12px;
}
.clinic-card-info .store_locator_single_contact div {
  margin-bottom: 9px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
}
.clinic-card-info .store_locator_single_contact a {
  color: #FFFFFF !important;
  text-decoration: underline;
  font-weight: bold !important;
}
.clinic-card-info .store_locator_single_contact a:hover {
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: bold !important;
}
.clinic-card-info a {
  color: #FFFFFF;
  text-decoration: underline;
}
.clinic-card-info a:hover {
  text-decoration: none;
}
.clinic-card-info h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin: 0;
  margin-top: 12px;
  display: inline-block;
}
.clinic-card-info ul {
  padding-left: 48px;
}
.clinic-card-info ul li {
  margin-top: 6px;
}
.clinic-card-info .store_locator_get_direction {
  text-decoration: none;
  -webkit-box-shadow: 10px 10px 21px -8px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 10px 10px 21px -8px rgba(0, 0, 0, 0.6);
  box-shadow: 10px 10px 21px -8px rgba(0, 0, 0, 0.6);
}
.clinic-card-info .store_locator_get_direction:hover {
  background: #0A9BC7;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.clinic-card-info a#my-position-button.disabled {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.clinic-card-info #get-my-position {
  display: none;
}
.single-stores .clinic-single-content {
  padding: 24px 0 24px 60px;
}

.single-stores .clinic-single-content p {
  font-size: 18px !important;
}

.single-stores .clinic-single-content ul li,
.single-stores .clinic-single-content ol li {
  margin-bottom: 10px !important;
}

.single-stores .clinic-single-content ul ul,
.single-stores .clinic-single-content ol ul {
  margin-top: 10px !important;
}

.single-stores .clinic-single-content h2 {
  margin-top: 0 !important;
  font-weight: 700 !important;
}

.single-stores .clinic-single-content h3,
body.single-stores .clinic-single-content h3,
.single-stores .entry-content .clinic-single-content h3,
body.single-stores .entry-content .clinic-single-content h3,
#clinic-form h3,
.single-stores #clinic-form h3,
body.single-stores #clinic-form h3 {
  font-size: 1.7rem !important;
  font-weight: 700 !important;
}
.single-stores #page #content.site-content {
  padding-top: 0;
}
#page .store_locator_single_opening_hours > h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: none;
  color: #FFFFFF;
}
.clinic-card-info .store_locator_single_opening_hours ul {
  list-style: none;
  padding-left: 20px;
  margin-top: 12px;
  margin-bottom: 0;
}
.clinic-card-info .store_locator_single_opening_hours ul li {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.5;
  font-weight: 400;
}
.clinic-card-info .store_locator_single_opening_hours ul li strong {
  font-weight: 600;
  color: #FFFFFF;
}
.single #home-outstanding {
  margin-top: 120px;
}
ul.services {
  -moz-column-count: 2;
  -moz-column-gap: 12px;
  -webkit-column-count: 2;
  -webkit-column-gap: 12px;
  column-count: 2;
  column-gap: 12px;
  list-style-position: inside;
  padding-left: 18px;
  margin-top: 18px;
}
ul.services li {
  color: #264067;
  margin-bottom: 12px;
}
ul.services li a {
  font-size: 18px;
  color: #264067;
  text-decoration: underline;
}
ul.services li a:hover {
  text-decoration: none;
}
#clinic-gallery{
  margin-bottom:40px;
}
#clinic-gallery .gallery-i {
  height: 200px;
  padding: 0;
  margin-top: 27px;
}
#clinic-gallery a {
  padding: 0;
}
#clinic-gallery .img-1 {
  background: url('assets/images/clinic_gallery/1.jpg') no-repeat;
  background-size: cover;
}
#clinic-gallery .img-2 {
  background: url('assets/images/clinic_gallery/2.jpg') no-repeat;
  background-size: cover;
}
#clinic-gallery .img-3 {
  background: url('assets/images/clinic_gallery/3.jpg') no-repeat;
  background-size: cover;
}
/* Boton Leer más/menos para clínicas */
.read-more-state {
  display: none;
}
.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
}
.read-more-wrap {
display: grid;
}
.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
}
.read-more-state ~ .read-more-trigger:before {content: 'Leer m\00E1s';}
.read-more-state:checked ~ .read-more-trigger:before {
  content: 'Leer menos';
}
.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  padding: 5px 15px;
  color: white;
  font-size: 16px;
  line-height: 2;
  border-radius: .25em;
  margin-bottom:17px;
  margin-top: -11px;
}
/* Gallery plugin */
.ekko-lightbox .modal-title {
  display: inline-block;
}
.ekko-lightbox .modal-header {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  display: inline-block;
}
.ekko-lightbox .modal-body {
  padding: 0;
}
.modal-backdrop.in {
  opacity: .5;
}
/* End gallery plugin */
.gm-style .gm-style-iw-d{
  margin-top: -25px;
}
.infowindow .btn.btn-slider{
  font-size: 15px !important;
  font-weight: bold;
}
.gm-style-iw.gm-style-iw-c .infowindow span.phone-icon{
  width: 20px !important;
  height: 25px !important;
}
.infowindow p{
  margin-top: 0;
}
#clinic-form{
  margin-bottom:40px;
}

/* Estilos para el select de clínicas en el formulario */
#clinic-form .wpcf7-form select,
#clinic-form .wpcf7-select,
#clinic-form select {
  min-height: 48px !important;
  padding: 12px 50px 12px 16px !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
}
.gm-style .gmnoprint img{
  height: 30px !important;
  width: 30px !important;
  box-shadow: none;
  position: relative !important;
}
/* Clinic pages end */
