body:has(.zoddak-wrapper) .banner-content {
    display: none;
}
.zoddak-wrapper .fa,
.zoddak-wrapper .fas,
.zoddak-wrapper .far,
.zoddak-wrapper .fab,
.zoddak-wrapper i.fa,
.zoddak-wrapper i.fas,
.zoddak-wrapper i.far,
.zoddak-wrapper i.fab {
  font-family: "Font Awesome 6 Free" !important;
}

.property-single-container {
  max-width: var(--page-width);
  margin: 40px auto;
  padding: 20px;
  font-family: inherit !important;
  line-height: 1.6;
  color: #222;
}

.property-back-link {
  margin-bottom: 20px;
}
.lang-and-back{
  display: flex;
  justify-content: space-between;
}
.lang-selector {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  font-family: inherit;
}

.lang-selector .lang-switcher-label {
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.lang-selector #langSwitcher {
  appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 6px 32px 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-selector #langSwitcher {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 20 20' fill='%23666' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7L10 11.5L14.5 7' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.lang-selector #langSwitcher:hover {
  border-color: #999;
}

.lang-selector #langSwitcher:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.25);
}

@media (max-width: 480px) {
  .lang-selector {
    justify-content: center;
  }
}
.zoddak-wrapper{
  padding: 5px 20px;
}
  .powered-by-zoddak{
    padding-right: 5px;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 10px;
  }
  .powered-by-zoddak span{
    font-size: 13px;
    font-style: italic;
    opacity: 0.8;
  }
  .powered-by-zoddak img{
    width: 4%;
    height: 16px;
    cursor: pointer;
    transition: transform 0.2s ease-out;
  }
  .powered-by-zoddak img:hover{
    transform: translateY(-4px);
  }
.property-back-link{
  transition: 0.3s ease;
}
.property-back-link a {
  background-color: var(--bg-features-color, #e65638);
  text-decoration: none;
  color: white;
  border-radius: 4px;
  padding: 5px;
  font-weight: 500;
}

.property-back-link:hover {
  transform: scale(1.05);
}

/* HEADER SECTION */
.property-single-header {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-title {
  font-size: 2rem;
  position: relative;
  margin: 10px 0;
  font-weight: 700;
  color: #111;
}

/* .property-title::after{
  content: '';
  position: absolute;
  background-color: var(--bg-stage-color);
  width: 100%;
  height: 2px;
  left: 0;
  top: 39px;
} */

.property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  font-size: 1rem;
}

.property-meta div {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border-radius: var(--border-value);
  height: 24px;
  font-size: 1rem;
  color: black;
  /* box-shadow: 1px 1px 5px rgb(164, 164, 164); */
  padding: 1rem;
}
.property-ref, .property-location{
  background-color: rgb(224, 224, 224);
}
/* Asegúrate que el contenedor de la imagen sea relativo */
.main-image-container { position: relative; }

/* La barra de flechas */
.gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;       /* bloquea el contenedor... */
  z-index: 5;                 /* por encima de la imagen */
  padding: 0 15px;
}

/* ...pero los botones sí reciben eventos */
.gallery-arrow {
  pointer-events: auto;       /* <- clave */
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

/* Pseudo-elemento con la fuente Dashicons */
.gallery-arrow::before {
  content: "";
  font-family: "dashicons";   /* <- comillas y nombre exacto */
  font-size: 26px;
  line-height: 1;
  color: #222;
  display: inline-block;      /* evita rarezas en algunos temas */
  transition: color .25s ease;
}

/* Hover del botón + cambio de color del ícono */
.gallery-arrow:hover {
  background: #f5f5f5;
  transform: scale(1.1);
}
.gallery-arrow:hover::before {
  color: #000;
}

/* Códigos de las flechas */
#prevImage::before { content: "\f341"; } /* dashicons-arrow-left-alt2 */
#nextImage::before { content: "\f345"; } /* dashicons-arrow-right-alt2 */


.property-price {
  font-weight: 600 !important;
  font-size: 1.3rem;
  color: var(--bg-price-color);
}
.property-ref{
  font-weight: 600 !important;
  position: absolute;
  width: fit-content;
  top: 22px;
  right: 23px;
  font-size: 1rem;
  color:white;
  background-color: var(--bg-stage-color);
  padding: 5px;
  border-radius: var(--border-value);
  /* box-shadow: 0 0 7px gray; */
} 

.property-type,
.property-stage {
  padding: 5px 10px;
  border-radius: var(--border-value);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
}
.property-stage{
   background-color: var(--bg-stage-color);
   color: white !important;
   font-weight: bold;
}
.property-type{
  background-color: rgb(224, 224, 224);
}


.property-gallery-section {
  width: 100%;
  margin: 0 auto 40px auto;
}

.property-gallery {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* IMAGEN PRINCIPAL */
.swiper-button-next,
.swiper-button-prev {
  position: absolute !important ;
  top: 50%  !important ;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #fcfbfb6e !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #dfdada !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  z-index: 10 !important;
}
/* Dashicon dentro de las flechas */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px !important;
  line-height: 1 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #f2f2f2 !important;
  transform: translateY(-50%) scale(1.08);
  color: #000 !important;
}

.thumbs-swiper .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.thumbs-swiper .swiper-slide.thumb-active {
  opacity: 1;
  border: 2px solid #333;
}

.main-image-container {
  width: 100%;
  border-radius: var(--border-value);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.main-swiper {
  position: relative;
  width: 55%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.main-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Flechas */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.6);
  color: black;
}

/* Miniaturas */
.thumbs-wrapper {
  width: 100%;
  height: 10rem;
  margin-top: 10px;
}

.thumbs-swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.thumbs-swiper .swiper-slide {
  width: auto !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important; /* Mantiene cuadrado */
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

/* La ampliación se aplica al slide, no a la imagen */
.thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  transform: scale(1.08); /* crece todo el contenedor */
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* El contenido (imagen) se mantiene estable */
.thumbs-swiper .swiper-slide-thumb-active img {
  opacity: 1;
  transform: none !important;
}

.thumbs-swiper .swiper-slide:hover {
  opacity: 0.9;
}


.property-info-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.property-info-column {
  flex: 2;
  min-width: 300px;
}

.property-contact-column {
  flex: 1;
  min-width: 300px;
}
.property-meta .property-price{
  background-color: var(--bg-price-color);
  color: var(--color-text-features);
}
.price-title{
  font-weight: 400;
}
/* FEATURES */
.property-features-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  border: none;
}

/* Agrupamos dos columnas por fila */
.property-features-table tbody {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px; /* separación vertical y horizontal */
}

/* Cada fila se comporta como una mini-celda */
.property-features-table tr {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
  border: none;
}

/* Iconos */
.property-features-table th {
  width: auto;
  text-align: center;
  padding: 0;
  border: none;
}

.property-features-table i,
.property-features-table .dashicons {
  background-color: var(--bg-features-color);
  color: var(--color-text-features);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.property-features-table td {
  font-weight: 600;
  color: #333;
  text-align: left;
  border: none;
}

/* Opcional: ajusta en pantallas pequeñas */
@media (max-width: 768px) {
  .property-features-table tbody {
    grid-template-columns: 1fr; /* vuelve a una sola columna */
  }
}

.property-description {
  margin-bottom: 37px;
}
/* DESCRIPTION */
h3 {
  margin-top: 30px;
  font-weight: 600;
  font-size: 1.2rem;
}

.property-description-content {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--border-value);
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 400 !important;
  p{
    display: flex;
    flex-direction: column;
    line-height: 1.8;
  }
}
.property-units{
  /* box-shadow: 0 2px 10px rgba(0,0,0,.05); */
  display: flex;
  flex-direction: column;
}
.property-units .units-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* más natural con títulos */
  margin-bottom: 1rem;
}

.property-units .units-title span {
  align-self: flex-end;
  font-size: 18px;
  font-weight: 500;
}
/* .property-units h3{
  font-size: 1.75rem;
} */
.property-units .box-content-units{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.property-units .box-content-units .box-outter{
  display: flex;
  border: 1px solid #8080806b;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  cursor: pointer;
}

.property-units .box-content-units .box-outter .box-total-units{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 7px;
  gap: 2rem;
}
#arrow{
  margin-right: 5px;
}
.property-units .box-content-units .box-outter .box-total-units .total-available{
  background-color: var(--bg-features-color);
  color: var(--color-text-features);
  border-radius: var(--border-value);
  padding: 2px 5px;
  font-weight: bold;
}

/* MAP */
.property-map-section {
  margin-top: 30px;
}

.property-map-section h3 {
  margin-bottom: 10px;
}

/* CONTACT FORM */
.property-contact-form {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-value);
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.property-contact-form h2 {
  color: var(--btn-details-color, #e65638);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.property-single-header, .property-info-container{
  border-radius: var(--border-value);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  padding: 1.5rem;
  font-size: 1rem;

}

.box-outter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #f9f9f9;
  padding: 10px 14px;
  border-radius: var(--border-value);
  margin-bottom: 4px;
  transition: background-color 0.2s ease;
}

.box-outter:hover {
  background-color: #efefef;
}

/* Flecha animada */
.box-outter .arrow {
  transition: transform 0.3s ease;
}

/* Contenedor oculto por defecto */
.box-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  background: #fff;
  border-left: 2px solid var(--bg-features-color);
  padding-left: 10px;
}

/* Cuando el padre está activo */
.box-outter.active + .box-collapse {
  opacity: 1;
  max-height: 800px; /* lo suficiente para mostrar contenido */
  margin-bottom: 8px;
}
.box-collapse .units-table{
  width: 100%;
}
.box-collapse .units-table .table-row td{
  padding: 5px;
}
.box-collapse .units-table .table-row{
  padding: 5px;
  transition: background-color 0.2s ease;
}
.box-collapse .units-table .table-row:hover{
  background-color: rgb(242, 239, 239);
  border-radius: var(--border-value);
}
.box-outter.active .arrow {
  transform: rotate(180deg);
}

.unit-item {
  padding: 4px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

@media (max-width: 768px) {
  .main-swiper{
    width: 369px;
  }
  .main-swiper img{
    object-fit: cover;
  }
  .powered-by-zoddak img{
    width: 15%;
  }
  /* Reordena la disposición de secciones */
  .property-info-section {
    display: flex !important;
    flex-direction: column !important;
  }
  .property-title{
    font-size: 1.5rem !important;
  }
  .property-ref{
    top: 2px;
    right: 3px;
    font-size: 0.65rem;
  }
  /* Asegura que la descripción y mapa queden primero */
  .property-info-column,
  .property-description,
  .property-map-section {
    order: 1 !important;
    width: 100% !important;
  }

  /* El formulario pasa a ser el último */
  .property-contact-column {
    order: 2 !important;
    margin-top: 25px !important;
  }

  /* Estilo limpio para móvil */
  .property-contact-form {
    width: 92% !important;
    border-radius: var(--border-value) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }
  .wpcf7-form span input,
  .wpcf7-form span textarea{
    font-size: small !important;
  }
  /* Espaciado general */
  .property-map-section {
    margin-bottom: 15px !important;
  }

  .property-description-content {
    margin-bottom: 20px !important;
  }
  .thumbs-swiper img {
    border-radius: 8px;
  }
}
.property-contact-form h2{
  color: var(--bg-features-color);
  font-weight: 600;
}
.property-contact-column .property-contact-form p{
  display: flex;
  .wpcf7-text,
  .wpcf7-email,
  .wpcf7-textarea,
  .wpcf7-submit{
    border: none;
    border-radius: var(--border-value) ;
    box-shadow: 0 0 4px gray;
    align-self: flex-end;
    width: 100%;
    font-weight: 600;
  }
  .wpcf7-submit{
    background-color: var(--bg-features-color);
    color: white;
  }
  .wpcf7-spinner{
    display: none;
  }
}


