/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.1.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/** FONTS **/
@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-Regular.woff2") format("woff2"),
    url("fonts/Urbanist-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-Bold.woff2") format("woff2"),
    url("fonts/Urbanist-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-SemiBold.woff2") format("woff2"),
    url("fonts/Urbanist-SemiBold.woff2") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("fonts/Urbanist-Thin.woff2") format("woff2"),
    url("fonts/Urbanist-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: Urbanist;
  color: #999999;
  font-size: 16px;
}
/*
body:not(.home, .page-template-page-busqueda){
    color: #999999;
}*/

h1,
h2,
h3,
h4,
h5 {
  font-family: "Urbanist";
  font-weight: 600;
  color: #000;
}
.h1,
.h2,
.h3,
.h4,
.h5 {
  color: #000;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/** Header **/

.elementor-widget-image a img[src$=".svg"] {
  width: auto !important;
}
.announce span {
  border: 3px solid #cf2e2e;
  border-radius: 10px;
  padding: 13px 20px;
}

.announce:hover span {
  color: #fff;
  background-color: #cf2e2e;
}

/** Footer **/
.elementor-location-footer,
.elementor-location-footer a {
  color: #f0f0f0;
  font-size: 14px;
}

.elementor-location-footer .elementor-heading-title {
  font-size: 17px;
  color: #999999;
  font-weight: 600;
  margin: 0 !important;
}

.list_footer {
  list-style: none;
  padding: 0;
}
.list_footer li {
  margin-bottom: 13px;
}

/* web fonts */

.title_section .elementor-heading-title {
  font-size: 40px;
  font-weight: 600;
}

.title_subsection .elementor-heading-title {
  font-weight: 500;
}

h3 {
  font-size: 1.55rem;
}

/* Listado **/

.see_all {
  border-radius: 8px;
  padding: 13px 15px;
  border: 2px solid #cf2e2e;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
  display: block;
  width: auto;
  margin: 3rem auto 0rem;
  color: #000;
}
.see_all:hover {
  background-color: #cf2e2e;
  color: #fff;
}

.card-body {
  padding: 1rem 1.3rem 0.3rem;
}

.aparment_list {
  font-size: 14px;
  padding: 25px;
  border-radius: 8px;
}
.aparment_list h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 1.5rem 0;
}

.aparment_list .slider img {
  border-radius: 8px;
}

.apartment-info_list {
  color: #333333;
  margin-bottom: 1.4rem;
}

/* Hacer que la tarjeta sea un contenedor flex */
.card.aparment_list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Hacer que el contenido principal ocupe el espacio disponible */
.card.aparment_list .card_img,
.card.aparment_list .row:not(:last-child) {
  flex: 0 0 auto;
}

/* Empujar la última fila (precio y botón) hacia abajo */
.card.aparment_list .row:last-child {
  margin-top: auto;
}

.page-template-page-ficha .apartment-info_list {
  border: 0;
  font-size: 15px;
}

.apartment-info_list img {
  height: 15px;
  margin-right: 3px;
}

.apartment-info_list span {
  border: 1px solid #333;
  min-width: 80px;
  text-align: right;
  margin-right: 8px;
  padding: 5px 10px;
  border-radius: 17px;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .apartment-info_list .d-flex {
    flex-wrap: wrap;
  }

  .apartment-info_list .d-flex span {
    flex: 0 0 calc(45% - 4px);
    margin-bottom: 8px;
  }
  .aparment_list,
  .page-template-page-ficha .apartment-info_list {
    font-size: 12px;
  }
  .aparment_list h3 {
    font-size: 17px;
  }

  .see_all {
    font-size: 17px;
  }
}

.lst-price {
  color: #666;
}

.lst-price strong {
  color: #000;
  font-weight: 600;
  font-size: 24px;
  display: block;
}

.lst-price span {
  color: #cf2e2e;
  font-size: 14px;
  text-decoration: line-through;
}

.button {
  background-color: #cf2e2e;
  color: #fff;
  border-radius: 8px;
  padding: 18px 46px;
  display: block;
  text-align: center;
  border: 1px solid #fff;
}

.button:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #cf2e2e;
}

#luxury .aparment_list {
  background: none;
  border-color: #f6dc78;
}

#luxury .aparment_list h2 {
  color: #f6dc78;
}

#luxury .apartment-info_list span {
  border-color: #f6dc78;
  color: #fff;
}

#luxury .button {
  background: #f6dc78;
  color: #000;
  border: 1px solid #000;
}

#luxury .button:hover {
  background: #000;
  color: #fff;
  border: 1px solid #f6dc78;
}

#luxury .lst-price {
  color: #fff;
}

#luxury .lst-price strong {
  color: #f6dc78;
}

#luxury .aparment_list h3 {
  color: #f6dc78;
}

#luxury .see_all {
  color: #fff;
  border-color: #f6dc78;
}

#luxury .see_all:hover {
  color: #000;
  background: #f6dc78;
}

.slick-prev {
  left: 12px !important;
  z-index: 10;
}

.slick-next {
  right: 12px !important;
}

.slick-slider > button,
.slick button {
  opacity: 0;
}

.slick-slider:hover > button,
.slick button {
  opacity: 1;
}

.aparment_list .slick-slide {
  margin: 0;
}

.slider_list {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.slider_list .aux {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 250px; /* Ajusta la altura según tus necesidades */
  flex: 0 0 100%; /* Asegura que cada slide ocupe el 100% del contenedor */
  position: relative; /* Necesario para posicionar el div aux */
}

.slider_list .slide-content {
  width: 100%;
  height: 100%;
}

.slick-dots span {
  width: 100%;
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  text-indent: -30000px;
}

/** Home **/

.title_banner {
  color: #c31a1f;
  font-size: 1.75rem;
  margin-bottom: 0.3rem;
}

.subtitle_banner {
  color: #fff;
  font-size: 1.3rem;
}

.search_home {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  .col-12 {
    margin: 0 0 1.5rem;
  }
  select {
    border-color: #999;
    font-size: 16px;
    padding: 15px;
    color: #666;
  }

  button {
    color: #fff;
    background-color: #cf2e2e;
    padding: 0.7rem;
    border-radius: 0.5rem;
  }
}

.select-home {
  position: relative;
  .select {
    position: relative;
    border: 1px solid rgba(153, 153, 153, 1);
    border-radius: 5px;
    padding: 15px;
    color: #999;
    display: block;
    background: url(img/select-arrow.png) 97% center no-repeat;
  }
}

.select-home [type="checkbox"],
.select-home [type="radio"] {
  vertical-align: initial;
}

.dropdown-item {
  padding: 5px 15px;
}

/* reviews home */

.ti-widget.ti-goog .ti-controls {
  top: -50px !important;
  margin: 0 !important;
}

.ti-review-item.source-Google.ti-image-layout-thumbnail {
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-right: 20px;
  padding-bottom: 30px;
}

.ti-widget.ti-goog .ti-controls .ti-prev {
  right: 30px;
  left: inherit !important;
}

.ti-widget.ti-goog .ti-review-item {
  padding: 0 10px 20px !important;
}

.elementor-shortcode .ti-widget.ti-goog .ti-reviews-container-wrapper {
  margin: 0 !important;
}

.ti-widget.ti-goog .ti-widget-container .ti-name {
  font-size: 20px;
}

/* listado ciudades */

.div_lst_city {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 0.5rem;
  text-align: center;
  width: 65%;
}
.div_lst_city h4 {
  color: #c31a1f;
  margin: 0.3rem;
  font-weight: bold;
}

.div_lst_city p {
  background: #c31a1f;
  color: #fff;
  margin-bottom: 0;
  font-size: 12px;
  display: inline-block;
  border-radius: 5px;
  padding: 0.2rem 1.3rem 0.1rem;
}

/** Ficha **/

.page-template-page-ficha h1 {
  font-size: 2rem;
}

.area-apartment {
  background: url(img/ico-area.png) 10px center no-repeat;
  display: inline-block;
  color: #9e9c9c;
  font-size: 13px;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 10px 10px 10px 35px;
  text-align: right;
}

.price {
  font-size: 13px;
  color: #9e9c9c;
  display: inline-block;
}
.price strong {
  color: #cf2e2e;
  font-size: 26px;
  display: block;
}

.card_img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px; /* Ajusta la altura según tus necesidades */
  overflow: hidden; /* Oculta el desbordamiento */
  position: relative;
}

.card_img > img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.card_img img {
  vertical-align: inherit;
  margin-right: 3px;
}

.card_img img,
.slider img,
.card_img .aux {
  border-radius: 8px;
}

.card_img img {
  vertical-align: inherit;
  margin-right: 3px;
}

.location-img {
  position: absolute;
  bottom: 15px;
  left: 10px;
  color: #fff;
  font-size: 13px;
}

.slider-nav img {
  height: 80px;
  width: auto;
  margin: 0 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.slide-m-dots .slick-dots {
  position: relative;
}

.slide-m-dots .slick-dots li {
  padding: 0 12px;
  height: 8px;
  border-radius: 10px;
  background-color: rgba(77, 77, 77, 1);
}

.btn_slider {
  border: 1px solid rgba(153, 153, 153, 1);
  padding: 0.5rem;
  border-radius: 100px;
}

.btn_slider img:hover {
  transform: scale(1.07);
  transition: all 0.3s ease;
}

.slide-m-dots {
  margin: 0 0.5rem;
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Ratio de aspecto 16:9 (100/16*9 = 56.25%) */
  height: 100%;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tab-features {
  border-top: 1px solid #262626;
  padding-top: 1rem;
  margin-top: 1rem;
}

.tab-features .col {
  border-right: 1px solid #262626;
  margin-right: 1.25rem;
}

.tab-features .col:last-of-type {
  border: 0;
}

.tab-features strong {
  font-size: 22px;
  display: block;
  margin-top: 9px;
  color: #000;
}

@media (max-width: 768px) {
  .tab-features {
    display: block !important;
  }
  .tab-features > .row {
    flex-direction: column;
  }

  .tab-features .col {
    flex: 0 0 100% !important;
    max-width: 100%;
    border-right: 0;
    border-bottom: 1px solid #262626;
    margin-right: 0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .tab-features .col:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.content-columns {
  columns: 2 auto;
}

@media (max-width: 768px) {
  .content-columns {
    columns: 1 auto;
  }
}

.content-columns div {
  -webkit-column-break-inside: avoid;
}

.title_features_list {
  font-size: 17px;
  font-weight: bold;
  color: inherit;
  margin: 0 0 2px 0;
}

/* the slides */
.slick-slide {
  margin: 0 5px;
}
/* the parent */
.slick-list {
  margin: 0 -5px;
}
/*
#slick-list .aparment_list{
    margin:0 8px;
}
*/
/* Pages **/

/** Best locations */

.best-locations {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1.5fr 0.5fr 1fr;
  gap: 15px;
  grid-auto-flow: row;
  grid-template-areas:
    "main main mini"
    "sub1 sub2 mini"
    "sub1 sub2 mini";
}

.main {
  grid-area: main;
  background: url(img/costa-blanca.jpg) center no-repeat;
  background-size: cover;
  height: 300px;
  border-radius: 10px;
  position: relative;
}

.sub1 {
  grid-area: sub1;
  background: url(img/calpe.jpg) center no-repeat;
  background-size: cover;
  border-radius: 10px;
  position: relative;
}

.sub2 {
  grid-area: sub2;
  background: url(img/moraria.jpg) center no-repeat;
  background-size: cover;
  border-radius: 10px;
  position: relative;
}

.mini {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 15px;
  grid-auto-flow: row;
  grid-template-areas:
    "mini1"
    "mini2"
    "mini3";
  grid-area: mini;
}

.mini1 {
  grid-area: mini1;
  background: url(img/benissa.jpg) center no-repeat;
  background-size: cover;
  border-radius: 10px;
  position: relative;
}

.mini2 {
  grid-area: mini2;
  background: url(img/altea.jpg) center no-repeat;
  background-size: cover;
  border-radius: 10px;
  position: relative;
}

.mini3 {
  grid-area: mini3;
  background: url(img/benitachell.jpg) center no-repeat;
  background-size: cover;
  border-radius: 10px;
  position: relative;
}

.best_item {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #fff;
  font-size: 16px;
}
.best_item h3 {
  margin-bottom: 5px;
  color: #fff;
}
@media (max-width: 768px) {
  .best-locations {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    grid-template-areas:
      "main"
      "sub1"
      "sub2"
      "mini1"
      "mini2"
      "mini3";
    gap: 15px;
  }

  .mini {
    display: contents;
  }

  .main,
  .sub1,
  .sub2,
  .mini1,
  .mini2,
  .mini3 {
    height: 200px;
  }
}

/** Contact **/

.lnk_btn.mail {
  background: #9e9c9c4d url(img/ico-envelope.png) 11px center no-repeat;
}
.lnk_btn.phone {
  background: #9e9c9c4d url(img/ico-phone.png) 11px center no-repeat;
}
.lnk_btn.address {
  background: #9e9c9c4d url(img/ico-area.png) 11px center no-repeat;
}
.lnk_btn {
  border-radius: 20px;
  padding: 10px;
  text-align: center;
  background-size: 18px !important;
  color: #000;
  font-size: 15px;
}

.elementor-widget-google_maps,
.elementor-widget-google_maps .elementor-custom-embed {
  height: 100%;
}

/** FORM HOME ***/

.elementor-field-group .elementor-select-wrapper select {
  border-color: #999;
  font-size: 16px;
  padding: 15px;
  color: #666;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.elementor-select-wrapper .select-caret-down-wrapper svg {
  display: none !important;
}

.elementor-select-wrapper .select-caret-down-wrapper {
  top: 44% !important;
  background: url(img/select-arrow.png) center no-repeat;
  width: 19px;
  background-size: cover;
  height: 9px;
}

/**** FORMULARIO VENTA ***/

.sell-form {
  border: 3px solid #cf2e2e;
  border-radius: 12px;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea {
  border: 1px solid rgba(153, 153, 153, 1);
  border-radius: 8px;
  padding: 12px;
  color: rgba(153, 153, 153, 1);
}

.sell-form label {
  width: 100%;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #000;
}
.wpcf7-list-item-label {
  font-weight: normal !important;
}

.wpcf7-form-control-wrap {
  margin-top: 10px;
  display: block;
}

.wpcf7-spinner {
  position: absolute;
}

.wpcf7 p {
  margin: 0;
}

/** Elementos **/

.text_tab .elementor-widget-text-editor {
  color: #fff;
  background-color: #cf2e2e;
  border-radius: 12px;
  padding: 0.8rem;
}
.text_tab strong {
  font-size: 30px;
}

.text_tab p {
  padding: 0;
  margin: 0;
}

.boxed {
  border: 1px solid #999999;
  border-radius: 12px;
}

.lateral-contact {
  background-color: rgba(228, 228, 231, 0.3);
  position: sticky;
  top: 10px;
}

/** BUSCADOR **/

.aux-sticky {
  position: sticky;
  top: 0;
  padding-bottom: 10px;
  background-color: #fff;
  z-index: 10;
}

.select-search {
  border: 1px solid rgba(153, 153, 153, 1);
  border-radius: 12px;
  padding: 15px 10px;
  color: rgba(153, 153, 153, 1);
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: auto 19px;
  position: relative;
}
.select-search.input-text {
  padding: 5px 10px 5px 20px;
}

.select-search input[type="text"] {
  border: 0;
  color: rgba(153, 153, 153, 1);
  padding: 0;
}

.select-search input[type="checkbox"] {
  margin-top: 0;
  margin-bottom: 3px;
}

.select-search select,
.select-search input {
  color: rgba(153, 153, 153, 1);
  padding: 0;
}

.select-search:not(.select-order) .select {
  appearance: none; /* Remueve la flecha predeterminada */
  -webkit-appearance: none; /* Para Safari */
  -moz-appearance: none; /* Para Firefox */
  background: url(img/arrow-select.png) no-repeat right top;
  background-size: 23px;
  border-left: 1px solid #262626;
  border-radius: 0;
  padding-left: 8px;
  padding-right: 20px;
}

.select-search .select {
  margin-left: 27px;
  font-size: 15px;
  width: calc(100% - 27px);
  display: block;
  cursor: pointer;
}

.select-search.select-order select {
  margin: 0;
  width: 100%;
  padding: 0 10px;
  border: 0;
  font-size: 15px;
}

.location {
  background-image: url(img/ico-area.png);
}

.propierty {
  background-image: url(img/ico-property.png);
}

.price-range {
  background-image: url(img/ico-price.png);
}

.size {
  background-image: url(img/ico-size.png);
}

.year {
  background-image: url(img/ico-date.png);
}

.btn-search {
  background: rgba(207, 46, 46, 1) url(img/ico-search.png) 14px center no-repeat;
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  padding: 10px 25px 10px 45px;
}

.col-aux {
  width: 60%;
}

@media (max-width: 768px) {
  .aux-sticky > .row {
    flex-direction: column;
  }

  .aux-sticky .col {
    flex: 0 0 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .col-aux {
    width: 100%;
  }

  .select-search.input-text {
    flex-direction: row; /* Cambiado a row para alinear horizontalmente */
    align-items: center;
    justify-content: space-between;
  }

  .select-search.input-text input {
    width: calc(100% - 55px); /* Dejamos espacio para el botón */
  }

  .btn-search {
    width: 45px;
    height: 45px;
    padding: 0;
    background-position: center;
    font-size: 0;
    margin: 0; /* Quitamos el margen */
  }
}
/** SLIDERS **/

.custom-slider.slider_faq .elementor-button {
  background-color: rgba(207, 46, 46, 1);
  color: #fff;
}

.custom-slider .elementor-swiper-button-prev {
  position: absolute !important;
  right: 50px !important;
  top: -50px !important;
  left: auto !important;
  width: 45px;
  height: 45px;
  background: url(img/previous.svg) center no-repeat;
  background-size: contain;
}

.custom-slider .elementor-swiper-button-next {
  position: absolute !important;
  right: 0 !important;
  top: -50px !important;
  left: auto !important;
  width: 45px;
  height: 45px;
  background: url(img/next.svg) center no-repeat;
  background-size: contain;
}

.custom-const svg,
.custom-slider svg {
  display: none;
}

.custom-const .swiper-pagination {
  border: 1px solid rgba(153, 153, 153, 1);
  padding: 0.5rem;
  border-radius: 100px;
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;
  margin-top: 6rem;
}

.custom-const .elementor-swiper-button-prev {
  width: 45px;
  height: 45px;
  background: url(img/previous.svg) center no-repeat;
  background-size: contain;
  margin-right: 10px;
}

.custom-const .elementor-swiper-button-next {
  width: 45px;
  height: 45px;
  background: url(img/next.png) center no-repeat;
  background-size: contain;
  margin-left: 10px;
}

/* Efecto hover: agrandar y sombrear */
.elementor-swiper-button.elementor-swiper-button-prev:hover,
.elementor-swiper-button.elementor-swiper-button-next:hover {
  transform: scale(1.1) !important;
  top: -72px !important;
}

.elementor-swiper-button-prev:hover::before,
.elementor-swiper-button-next:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.elementor-swiper-button-prev:active,
.elementor-swiper-button-next:active {
  filter: invert();
}

.custom-const .swiper-pagination-bullet {
  background-color: #fac900 !important;
}

.navigation-aux > .slick-arrow {
  margin-top: -60px;
  right: 0;
}

.myslick-prev,
.ti-widget.ti-goog .ti-controls .ti-prev {
  width: 45px !important;
  height: 45px !important;
  background: url(img/previous.svg) center no-repeat;
  background-size: contain;
  position: absolute !important;
  right: 60px !important;
  top: -6px !important;
  left: auto !important;
  cursor: pointer;
  transition: all 0.3s ease; /* Transición suave para los efectos */
  display: block !important;
}

.myslick-next,
.ti-widget.ti-goog .ti-controls .ti-next {
  width: 45px !important;
  height: 45px !important;
  background: url(img/next.svg) center no-repeat;
  background-size: contain;
  position: absolute !important;
  right: 10px !important;
  top: -6px !important;
  left: auto !important;
  cursor: pointer;
  transition: all 0.3s ease; /* Transición suave para los efectos */
  display: block !important;
}

.ti-widget.ti-goog .ti-controls .ti-next:before,
.ti-widget.ti-goog .ti-controls .ti-prev:before,
.ti-widget.ti-goog .ti-controls .ti-next:after,
.ti-widget.ti-goog .ti-controls .ti-prev:after {
  display: none !important;
}

@media (max-width: 767px) {
  .myslick-prev,
  .myslick-next,
  .elementor-swiper-button-next,
  .elementor-swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .myslick-prev,
  .elementor-swiper-button-prev {
    right: 34px !important;
  }

  .myslick-next,
  .elementor-swiper-button-next {
    right: 0 !important;
  }

  .custom-slider .elementor-swiper-button-prev {
    right: 34px !important;
  }
}

/* Efecto hover: agrandar y sombrear */
.myslick-prev:hover,
.myslick-next:hover {
  transform: scale(1.1); /* Agrandar un 10% */
}

.myslick-prev:hover::before,
.myslick-next:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
}

/* Efecto active: cambiar a negro */
.myslick-prev:active,
.myslick-next:active {
  filter: invert();
}

/** Página pilar **/

.aux_content {
  color: #000;
}

.aux_content h2 {
  font-size: 1.6rem;
}

.aux_content h3 {
  font-size: 1.15rem;

  margin: 1.75rem 0;
}

/** Nuestra empresas **/

.slider-grupo a {
  color: #000;
}

.link_web {
  display: block;
  padding-left: 30px;
  background: url(img/ico-web.png) center left no-repeat;
}

.link_cat {
  display: block;
  padding-left: 30px;
  background: url(img/ico-cat.png) center left no-repeat;
}

/** páginas legales **/

.first li {
  margin-top: 3rem;
}

.first li ul li {
  list-style-type: disc;
  margin: inherit;
}

/*********** MARCAR MENÚ *************/

body.home .current-menu-item .elementor-item:after {
  background-color: #fff !important;
  height: 2px !important;
}

body:not(.home) .current-menu-item .elementor-item:after {
  background-color: #cf2e2e !important;
  height: 2px !important;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991px) {
  #menu-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
  }
}

/** aux **/

.mat-4 {
  margin-top: 4rem;
  position: relative;
}

.page-template-page-ficha .elementor-heading-title {
  margin-bottom: 20px;
}

.cont-logo {
  position: relative;
  z-index: 10000;
}

/** Slider construccion **/

.txt-slider {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
}

.txt-slider h3 {
  margin: 0;
  color: #fff;
}

.txt-slider p {
  font-size: 15px;
}

.data-slider {
  border: 1px solid #fac900;
  border-radius: 12px;
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 250px;
  color: #fff;
  padding: 20px;
}

.data-slider img {
  float: left;
}

.data-slider ul {
  list-style: none;
  padding: 0;
}

.data-slider li {
  border-bottom: 1px solid #fff;
}

.data-slider strong,
.data-slider b {
  display: block;
  float: right;
  font-weight: normal;
}


/* @lucas */

/* Limit property titles to 2 lines and make them a fixed height */
.aparment_list .card-title {
    font-size: 1.1rem;          /* adjust as needed */
    line-height: 1.3;           /* line height */
    margin-bottom: 0.25rem;

    /* Multi-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* show max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Make the title block always the height of 2 lines */
    height: calc(1.3em * 2);
}


/* Base Ribbon Style */
.card.aparment_list .ribbon {
    position: absolute;
    top: 15px;
    left: 0px;
    padding: 6px 14px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    z-index: 20;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    border-radius: 3px;
}

/* Reservado = orange/yellow */
.ribbon-reservado {
    background: #f4a623;
}

/* Vendido = red */
.ribbon-vendido {
    background: #d0021b;
}

/* -----------------------------------------
           LUXURY BLACK + GOLD THEME
-------------------------------------------- */
/* =====================================================
   LUXURY PROPERTY TEMPLATE (black + gold theme)
   Requires wrapper class .luxury-mode on the page
   ===================================================== */

/* Global background + text */
.luxury-mode {
  background-color: #050509;
  color: #eee;
}

/* Container width */
.luxury-mode .container.mt-3 {
  max-width: 1320px;
}

/* "Propiedad de lujo" label above title */
.luxury-mode .luxury-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f6dc78;
  color: #000;
}

/* Main H1 with gold underline */
.luxury-mode h1 {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  margin-bottom: 1.2rem;
}

.luxury-mode h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 10px;
  background: #f6dc78;
}

/* Section headings */
.luxury-mode h2,
.luxury-mode h3,
.luxury-mode .title_section,
.luxury-mode .title_features_list {
  color: #f6dc78;
}

/* Section header style (Descripción, Características, etc.) */
.luxury-mode h2.title_section {
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(246,220,120,0.25);
  font-size: 26px;
}

/* Card / boxed containers */
.luxury-mode .boxed,
.luxury-mode .aparment_list,
.luxury-mode .apartment_list,
.luxury-mode .lateral-contact {
  background-color: #121216 !important;
  border: 1px solid rgba(246,220,120,0.2) !important;
  border-radius: 16px;
  padding: 28px !important;
  box-shadow: 0 20px 45px rgba(0,0,0,0.55);
  color: #eee;
}

/* Body text */
.luxury-mode p,
.luxury-mode li,
.luxury-mode .content-columns p {
  font-size: 16px;
  line-height: 1.55;
  color: #e6e6e6;
}

/* Price area */
.luxury-mode .price {
  color: #ffffff;
}

.luxury-mode .price strong,
.luxury-mode .lst-price strong {
  color: #f6dc78;
}

.luxury-mode .lst-price {
  color: #ffffff;
}

/* Info pills (Dormitorios, Baños, etc.) */
.luxury-mode .apartment-info_list span,
.luxury-mode .sub {
  border: 1px solid rgba(246,220,120,0.6);
  border-radius: 30px;
  padding: 5px 10px;
  background: rgba(246,220,120,0.07);
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 12px;
}

/* Main buttons */
.luxury-mode .button,
.luxury-mode .see_all {
  background: #f6dc78;
  color: #000;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 18px 46px;
  text-align: center;
  display: block;
}

.luxury-mode .button:hover,
.luxury-mode .see_all:hover {
  background: #000;
  color: #fff;
  border: 1px solid #f6dc78;
}

/* Gallery: main slider + thumbs + video frame */
.luxury-mode .slider,
.luxury-mode .slider-nav,
.luxury-mode iframe {
  border: 1px solid rgba(246,220,120,0.25) !important;
  border-radius: 12px;
}

/* Slider main images */
.luxury-mode .slider img {
  border-radius: 12px;
}

/* Slider thumb images */
.luxury-mode .slider-nav img {
  border-radius: 8px;
  border: 1px solid rgba(246,220,120,0.3);
}

/* Fix & style slider arrows (gallery + similar properties) */
.luxury-mode .slide-m-prev,
.luxury-mode .slide-m-next,
.luxury-mode .myslick-prev,
.luxury-mode .myslick-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  /*background: #f6dc78 !important;*/
  display: flex !important;
  justify-content: center;
  align-items: center;
  border: 1px solid #000 !important;
  position: relative;
  z-index: 10;
}

.luxury-mode .slide-m-prev img,
.luxury-mode .slide-m-next img {
  /*filter: brightness(3);*/ /* black arrow */
}

.luxury-mode .slide-m-prev:hover,
.luxury-mode .slide-m-next:hover,
.luxury-mode .myslick-prev:hover,
.luxury-mode .myslick-next:hover {
  background: #000 !important;
  border-color: #f6dc78 !important;
}

.luxury-mode .slide-m-prev:hover img,
.luxury-mode .slide-m-next:hover img {
  filter: brightness(3); /* light arrow on dark bg */
}

/* Map box */
.luxury-mode #map {
  border: 2px solid #f6dc78;
  border-radius: 8px;
  overflow: hidden;
}

/* Sidebar contact form */
.luxury-mode .lateral-contact .h5,
.luxury-mode .lateral-contact label {
  color: #f6dc78;
}

.luxury-mode .lateral-contact input,
.luxury-mode .lateral-contact textarea {
  background-color: #0d0d12 !important;
  border: 1px solid #333;
  color: #f0f0f0;
  border-radius: 10px;
  padding: 10px 14px;
}

/* Similar properties cards */
.luxury-mode #slick-list .aparment_list,
.luxury-mode #slick-list .apartment_list {
  background: #0e0e12 !important;
  border: 1px solid rgba(246,220,120,0.25);
  border-radius: 12px;
}

.luxury-mode #slick-list h3 {
  color: #f6dc78 !important;
}

/* Spacing between gallery row and description */
.luxury-mode .row.pt-3.pb-3 {
  margin-bottom: 10px !important;
}

/* OPTIONAL: Darken header on luxury pages for full immersion */
.luxury-mode header,
.luxury-mode .site-header,
.luxury-mode .elementor-location-header {
  background: #000 !important;
  color: #fff !important;
}

.luxury-mode header a {
  color: #fff !important;
}

/* LUXURY HEADER (Elementor template id=64139 or any header on luxury pages) */
body.luxury-mode .elementor-location-header,
body.luxury-mode header,
body.luxury-mode .site-header {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(246,220,120,0.25);
}

/* Header links */
body.luxury-mode .elementor-location-header a,
body.luxury-mode header a {
  color: #fff !important;
}

body.luxury-mode .elementor-location-header a:hover,
body.luxury-mode header a:hover {
  color: #f6dc78 !important; /* gold */
}


/* LUXURY FOOTER (Elementor footer template) */
body.luxury-mode .elementor-location-footer,
body.luxury-mode footer,
body.luxury-mode .site-footer {
  background: #000 !important;
  color: #eaeaea !important;
  border-top: 1px solid rgba(246,220,120,0.25);
}

/* Footer headings & links */
body.luxury-mode .elementor-location-footer h2,
body.luxury-mode .elementor-location-footer h3,
body.luxury-mode footer h2,
body.luxury-mode footer h3 {
  color: #f6dc78 !important;
}

body.luxury-mode .elementor-location-footer a,
body.luxury-mode footer a {
  color: #fff !important;
}

body.luxury-mode .elementor-location-footer a:hover,
body.luxury-mode footer a:hover {
  color: #f6dc78 !important;
}

body.luxury-mode img[src$="ico-interior.svg"],
body.luxury-mode img[src$="ico-exterior.svg"],
body.luxury-mode img[src$="ico-superficie.svg"],
body.luxury-mode img[src$="ico-estancias.svg"],
body.luxury-mode img[src$="ico-interes.svg"],
body.luxury-mode img[src$="ico-estado.svg"],
body.luxury-mode img[src$="ico-ubicacion.png"] {  /* if you also have PNGs */
  background: #fff;          /* or #f6dc78 (your gold color) */
  padding: 6px;               /* optional to give it some spacing */
  border-radius: 6px;         /* optional for nicer appearance */
}

body.luxury-mode .tab-features strong {
  font-size: 22px;
  display: block;
  margin-top: 9px;
  color: #fff;
}

body.luxury-mode .tab-features img {
    filter: brightness(0) invert(1);
}


/* aux */
@media (max-width: 1200px) {
  main {
    padding: 0 1rem;
  }
}

/* img loop */
@media (max-width: 1200px) {
  .img-loop {
    width: 80px;
    right: 20px;
    top: 0;
  }
}
@media (max-width: 768px) {
  .img-loop {
    width: 40px;
    right: 5px;
  }
}

/* form contacto */

@media (max-width: 1200px) {
  .wpcf7-form .row .col {
    flex: 0 0 50% !important;
    max-width: 50%;
    margin-bottom: 15px;
  }

  /* Para la última fila (checkbox y botón) mantener el ancho completo */
  .wpcf7-form .row:last-child .col {
    flex: 0 0 100% !important;
    max-width: 100%;
  }

  /* Para alinear el botón en móvil */
  .wpcf7-form .row:last-child .col.d-flex.justify-content-end {
    justify-content: flex-start !important;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .wpcf7-form .row .col {
    flex: 0 0 100% !important;
    max-width: 100%;
    margin-bottom: 15px;
  }
}
