/* Tooltips */
.tooltip-item {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/y_tooltip-a.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 1.25rem;
    height: 1.25rem;
}

.no-properties-wrap {
    text-align: center;
    margin-top: 3rem;
}

.no-properties-wrap img {
    margin-bottom: 1rem;
}

.no-properties-wrap p {
    max-width: 45rem;
    margin: 0 auto;
}

.no-properties-wrap p strong {
    font-weight: 600;
}

/* Search Form */
.page-header {
    display: none;
}

#resultados-title {
    width: 100%;
    height: 2rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
}

#resultados-title h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    margin-top: 0;
    margin-bottom: 0;
    transition: all 300ms ease-in-out;
    color: #202020;
}

#resultados-title.active h4 {
    left: 0;
    transform: translate(0, -50%);
}

.property-search-form {
    display: grid;
    grid-template-areas: "a b c d e";
    justify-content: center;
    
}

.property-search-form .input-wrap {
    display: flex;  
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 12rem;
}

.property-search-form .input-wrap.guest-wrap {
    max-width: 7rem;
}

.property-search-form .input-wrap p {
    font-size: 0.715rem;
    line-height: 0.875rem;
    letter-spacing: 0.015rem;
    margin-bottom: 0;
}

.property-search-form .white-bg-input {
    box-shadow: -1px 0 0 #f3f3f3 inset;
    background-color: #ffffff;
    padding: 1rem;
}

.property-search-form .white-bg-input:first-of-type {
    border-radius: 1rem 0 0 1rem;    
}

.property-search-form .white-bg-input:last-of-type {
    border-radius: 0 1rem 1rem 0;
    box-shadow: none;
}

.property-search-form input,
.property-search-form button {
    padding: 1rem;
    font-size: 1rem;
}

.property-search-form input {
    background-color: #f3f3f3 !important;
    border-radius: 0.5rem!important;
    border: none!important;
    padding: 0.5rem 0.75rem!important;
}

.property-search-form label {
    color: #202020;
    font-weight: 500!important;
    font-size: 0.875rem!important;
    line-height: 0.9rem!important;
    margin-bottom: 0.25rem;
}

/*.property-search-form .checkbox-wrap label {
    font-size: 0.875rem;
    padding-bottom: 0.25rem;
    margin-bottom: 0;
}*/

/* Checkbox Styles */
.checkbox-wrapper {
    position: relative;
}
.checkbox-wrapper input {
    position: absolute;
    left: -9999px;
}
.checkbox-wrapper label {
    font-size: .875rem;  
    cursor: pointer;
    display: flex;
    align-items: center;
}
.checkbox-wrapper label:before {
    content: '';
    background: #ffffff;
    transition: background-color 125ms;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    display: inline-block;
    width: 2rem;
    height: 1rem;
    border-radius: .5rem;
    margin-right: .5rem;
}
.checkbox-wrapper label:after {
    content: '';
    width: 1rem;
    height: 1rem;
    display: inline-block;
    border-radius: .5rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-sizing: border-box;
    background-color: #666666;
    position: absolute;
    left: 0;
    transition: left 125ms, background-color 125ms, opacity 125ms;
    opacity: .75;
}
.checkbox-wrapper label:hover:after {
    opacity: 1;
}
.checkbox-wrapper input:checked + label:before {
    background-color: #ffefcb;
    border-color: #cccccc;
}
.checkbox-wrapper input:checked + label:after {
    left: 1rem;
    background-color: #F1A804;
}
.checkbox-wrapper input:focus + label:before {
    border-color: #cccccc;
}
.checkbox-wrapper {
    margin-bottom: .5rem;
}
/**/

.property-search-form button {
    cursor: pointer;
    border-radius: 0.5rem!important;
    text-decoration: none!important;
    color: #2e2000!important;
    width: 100%;
    height: 100%;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border: none!important;
}

.property-search-form button:disabled {
    background: #ffdb8a!important;
}

.property-search-form button:hover {
    color: #ffffff!important;
}

.property-search-form button:disabled:hover {
    color: #2e2000!important;
}

.card-wrap {
    /*background-color: #013C5A;*/
    box-shadow: 0px 1px 6px 0px rgba(63, 63, 63, 0.16);
    display: block;
    text-decoration: none!important;
    width: 100%;
    border-radius: 1.5rem 1.5rem 1rem 1rem;
    transition: width 300ms ease-in-out,
                height 300ms ease-in-out,
                box-shadow 300ms ease-in-out;
}

.card-wrap .card-bg {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.card-wrap .card-bg .max-guests {
    position: absolute;
    z-index: 1;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0.15rem 0.3rem;
    border-radius: 0 0.75rem;
}

.card-wrap .card-bg .max-guests p {
    margin: 0;
    color: #291c00;
    padding: 0.25rem;
    font-size: 0.925rem;
    line-height: 1rem;
    font-weight: 500;
}

.detalle-vivienda-max-guests {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
}

.detalle-vivienda-max-guests span,
.card-wrap .card-bg .max-guests span {
    display: block;
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/max_guests.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 1.5rem;
    height: 1.5rem;
}

.card-wrap .card-bg .card-img {
    background-color: #013C5A;
    height: 10rem;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 1rem 1rem 0 0;
    transition: filter 300ms ease-in-out;
}

.card-wrap:hover {
    box-shadow: 0px 1px 12px 0px rgba(63, 63, 63, 0.18);
}

.card-wrap:hover .card-bg .card-img {
    filter: brightness(1.15);
}

.card-wrap .card-bg p {
    color: #F1A804;
    font-size: 1rem;
    line-height: 1rem;
    margin-bottom: 1rem;
}

.card-wrap .card-bg .card-title {
    padding: 1rem;
    width: 100%;
    text-align: left;
    /*background-color: #013C5A;*/
    color: #ffffff;
    font-weight: 500;
    border-radius: 0 0 1rem 1rem;
}

.card-wrap .card-bg .card-title .card-title-wrap {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-wrap .card-bg .card-title .card-title-wrap span:last-of-type {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #9baab1;
    font-weight: 500;
}

/* Scrolled Search */

/*.search-page-top-wrap.scrolled .e-con-inner {
    padding-bottom: 1rem;
}*/

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

.overflowed-wrap {
    overflow: hidden!important;
}

#buscador-wrapper {
  display: flex;
  flex-flow: row wrap;
  /*overflow: hidden;*/
}

#buscador-wrapper.opened #resultados-lista {
    width: 20%;
}

#buscador-wrapper.opened #detalle-vivienda {
    width: 80%;
}

#resultados-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); 
  width: 100%;
  gap: 1rem;
}

#detalle-vivienda {
    width: 0;
    height: 0;
    transform: translateX(20px);
    opacity: 0;
    transition: all 300ms ease-in-out;
}

#detalle-vivienda.active {
    width: auto;
    height: auto;
    transform: translateX(0);
    opacity: 1;
}

#detalle-vivienda .detalle-vivienda-inner {
    padding: 1rem 0 1rem 1rem;
}

#detalle-vivienda .detalle-vivienda-inner h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 2rem;
}

#detalle-vivienda .detalle-vivienda-inner a {
    display: inline-block;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #F1A804;
    color: #2e2000 ;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 0.9rem;
    min-width: 9rem;
    text-align: center;
}

.resultado-item {
    cursor: pointer;
}

.resultado-item.flexible .flex-badge {
    background-color: rgba(255, 31, 31, 0.85);
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    z-index: 1;
    border-radius: 0.75rem 0;
}

.resultado-item.flexible .flex-badge p {
    margin: 0;
    color: #ffffff;
    padding: 0.25rem 1rem;
    font-size: 0.925rem;
    line-height: 1rem;
    font-weight: 500;
}

.resultado-item.active {
    background: #1e1e1e;
}

/*.resultado-item.active .card-bg p {
    color: #ffffff;
}*/

.resultado-item.active .card-bg {
    filter: brightness(1.15);
}

#resultados-lista.primera-seleccion {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: unset;
    max-width: 11.5rem;
    max-height: 40rem;
    min-height: 30rem;
    padding-right: 0.5rem;
    padding-left: 0.25rem;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-color: #9baab1 #ffffff;
    transition: scrollbar-color 300ms ease-in-out;
}

#resultados-lista.primera-seleccion:hover {
    scrollbar-color: #013c5a #ffffff;
}

#resultados-lista.primera-seleccion .card-wrap {
    min-width: unset;
    /*width: 10rem;
    height: 10rem;*/
    max-height: 10rem;
}

#resultados-lista.primera-seleccion .card-wrap .card-bg .card-img {
    height: 7rem;
}

/*#resultados-lista.primera-seleccion .resultado-item.flexible .flex-badge,*/
#resultados-lista.primera-seleccion .card-wrap .card-bg .card-title .card-title-wrap span:last-of-type,
#resultados-lista.primera-seleccion .card-wrap .card-bg .max-guests,
#resultados-lista.primera-seleccion .card-wrap .card-bg .card-title .comodidades-card-icons {
    /*font-size: 0.875rem;
    line-height: 0.9rem;
    padding: 0.5rem;*/
    display: none;
}

/*#resultados-lista.primera-seleccion .resultado-item.flexible .flex-badge p {
    color: #ffffff;
}*/

#resultados-lista.primera-seleccion .card-wrap .card-bg .card-title {
    padding: 0;
}

#resultados-lista.primera-seleccion .card-wrap .card-bg .card-title p {
    padding: 1rem;
}

#resultados-lista.primera-seleccion .card-wrap .card-bg p {
    font-size: 0.75rem;
    line-height: 0.8rem;
}

.white-bg-search {
    background-color: rgba(255,255,255,0.5);
    /*backdrop-filter: blur(0.5rem);
    border-radius: 1rem 1rem 0 0;*/
}

/* Iconos Comodidades */
.comodidades-card-icons {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.comodidades-card-icons .icon-comodidades {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* icons */
.comodidades-card-icons p {
    display: none;
}

.icon-comodidades.campo_piscina {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_piscina.svg');
}

.icon-comodidades.campo_wifi {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_wifi.svg');
}

.icon-comodidades.campo_parking {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_parking.svg');
}

.icon-comodidades.campo_humo {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_smoke.svg');
}

.icon-comodidades.campo_cocina {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_cocina.svg');
}

.icon-comodidades.campo_tv {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_tv.svg');
}

.icon-comodidades.campo_lavadora {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_lavadora.svg');
}

.icon-comodidades.campo_vistas_al_mar {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_vistas_playa.svg');
}

/* Detalles vivienda */
.detalle-vivienda-inner .detalle-title-wrap {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.detalle-vivienda-inner .detalle-title-wrap h4,
.detalle-vivienda-inner .detalle-title-wrap p {
    margin-bottom: 0;
}

/*.detalle-vivienda-inner .detalle-title-wrap .detalle-vivienda-price {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: flex-end;
}*/

.detalle-vivienda-inner .detalle-title-wrap .detalle-vivienda-price span:first-of-type {
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.5rem;
    background-color: #f0f8ff;
    border-radius: 0.5rem;
    font-weight: 600;    
}

/*.detalle-vivienda-inner .detalle-title-wrap .detalle-vivienda-price span:last-of-type {
    font-size: 0.75rem;
    line-height: 1rem;
}*/

.detalle-vivienda-inner .comodidades {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.detalle-vivienda-inner .comodidades-list {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: flex-start;    
    gap: 1rem;
}

.detalle-vivienda-inner .comodidades-list > div {
    text-align: center;
    padding: 0.5rem;
    outline: 2px solid #dfdfdf;
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: 1rem;
}

.detalle-vivienda-inner .comodidades-list > div p {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_piscina {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_piscina.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_wifi {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_wifi.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_parking {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_parking.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_humo {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_smoke.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_cocina {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_cocina.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_tv {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_tv.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_lavadora {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_lavadora.svg');
}

.detalle-vivienda-inner .comodidades-list .icon-comodidades.campo_vistas_al_mar {
    background-image: url('https://dreamvacation.es/wp-content/uploads/2026/03/campo_vistas_playa.svg');
}

.detalle-vivienda-inner .detalle-vivienda-link {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    background-color: #f0f8ff;
    border-radius: 0.5rem;
}

.detalle-vivienda-inner .detalle-vivienda-link h2,
.detalle-vivienda-inner .detalle-vivienda-link p {
    margin-bottom: 0;
}

.detalle-vivienda-inner .detalle-vivienda-link p {
    flex-grow: 1;
    padding: 0.5rem 1rem;
}

.detalle-vivienda-inner .detalle-vivienda-carousel-wrap {
    margin-bottom: 1rem;
}

.detalle-vivienda-inner .detalle-vivienda-carousel-wrap .galeria {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.detalle-vivienda-inner .detalle-vivienda-carousel-wrap .galeria img {
    width: 10rem;
    height: 10rem;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
}

/* Loading Animation */
.lds-ripple,
.lds-ripple div {
    box-sizing: border-box;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 5rem;
    height: 5rem;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

/* Custom transform */
.custom-video-wrap-home > div:nth-of-type(2){
    transform: translateY(100%);
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@media (max-width: 1070px) {
    #buscador-wrapper {
        flex-flow: column wrap;
    } 

    #detalle-vivienda .detalle-vivienda-inner {
        padding-left: 0;
        padding-right: 0;
    }

    #resultados-lista.primera-seleccion {
        grid-template-columns: unset;
        display: flex;
        overflow-x: scroll;
        overflow-y: hidden;
        width: 100%!important;
        min-height: unset;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: flex-start;
        max-width: unset;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
    }

    #resultados-lista.primera-seleccion .card-wrap {
        margin-bottom: 0.5rem;
        max-width: 10rem;
    }

    #resultados-lista.primera-seleccion .card-wrap .card-bg .card-img {
        width: 10rem;
    }

    #buscador-wrapper.opened #detalle-vivienda {
        width: 100%;
    }
}

@media (max-width: 750px) {
    #resultados-lista {
        grid-template-columns: calc(50% - 0.5rem) calc(50% - 0.5rem);
    }
    #resultados-lista {
        width: unset;
    }

    .property-search-form {
        grid-template-areas: "a a b b c"
                             "d d d e e";
    }

    .property-search-form .white-bg-input {
        max-width: unset;
    }

    .property-search-form .white-bg-input:first-of-type {
        grid-area: a;
        border-radius: 1rem 0 0 0;
    }

    .property-search-form .white-bg-input:nth-of-type(2) {
        grid-area: b;
    }

    .property-search-form .white-bg-input:nth-of-type(3) {
        grid-area: c;
        border-radius: 0 1rem 0 0;
    }

    .property-search-form .white-bg-input:nth-of-type(4) {
        grid-area: d;
        border-radius: 0 0 0 1rem;
        box-shadow: -1px 1px 0 #f3f3f3 inset;
    }

    .property-search-form .white-bg-input:last-of-type {
        grid-area: e;
        border-radius: 0 0 1rem 0;
        box-shadow: 0 1px 0 #f3f3f3 inset;
    }

}

@media (max-width: 650px) {
    #resultados-title h4 {
        width: 100%;
        text-align: center;
    }

    /*.property-search-form {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }*/

    /*.property-search-form .white-bg-input:first-of-type {
        border-radius: 1rem 0 0 0;
        box-shadow: -1px -1px 0 #f3f3f3 inset;
    }

    .property-search-form .white-bg-input:nth-of-type(2) {
        border-radius: 0 1rem 0 0;
        box-shadow: 0px -1px 0 #f3f3f3 inset;
    }

    .property-search-form .white-bg-input:last-of-type {
        border-radius: 0 0 1rem 1rem;
    }*/

    .property-search-form .group-warp,
    .property-search-form .input-wrap,
    .property-search-form button,
    .property-search-form input {
        width: 100%;
    }

    .property-search-form input[type="checkbox"] {
        width: unset;
    }

    .property-search-form .group-warp .input-wrap.checkbox-wrap {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .detalle-vivienda-inner .detalle-vivienda-link {
        flex-flow: column wrap;
    }

    .custom-video-wrap-home > div:nth-of-type(2) {
        transform: translateY(33.33%);
    }

}

@media (max-width: 540px) {
    #resultados-lista {
        grid-template-columns: 100%;
    }

    .property-search-form .white-bg-input input {
        font-size: 0.75rem;
    }
}

@media (max-width: 450px) {
    .property-search-form {
        grid-template-areas: "a a b b"
                             "c d d d"
                             "e e e e ";
    }

    .property-search-form .white-bg-input:nth-of-type(2) {
        border-radius: 0 1rem 0 0;
    }

    .property-search-form .white-bg-input:nth-of-type(3) {
        border-radius: 0 0 0 0;
        box-shadow: -1px 1px 0 #f3f3f3 inset;
    }

    .property-search-form .white-bg-input:nth-of-type(4) {
        border-radius: 0 0 0 0;
    }

    .property-search-form .white-bg-input:last-of-type {
        border-radius: 0 0 1rem 1rem;
    }
}