/* --------- INMOYELLLOW RESALES PROPERTIES SHORTCODE --------- */
.inmoyellow-properties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive */
    gap: 1.5rem;
    padding: 1rem;
    margin: 0 auto;
}

.inmoyellow-property-card {
    max-width: 500px;
}

.inmoyellow-property-card a {
    color: #000 !important;
    text-decoration: none !important;
}

.inmoyellow-property-card .inmoyellow-property-image {
    position: relative;
    width: 100%;  
    border-radius: 8px;
    padding-top: 56.25%; /* 16:9 Ratio */
    overflow: hidden;
    transition: all 0.3s ease;
}

.inmoyellow-property-card:hover .inmoyellow-property-image {
    filter: brightness(80%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.inmoyellow-property-card .inmoyellow-property-image .inmoyellow-property-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;    
}

.inmoyellow-property-card .inmoyellow-property-image .inmoyellow-property-badge-left {
    position: absolute;
    left: 0.5rem; 
    top: 0.5rem; 
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(8px); 
    font-size: 0.875rem; 
    font-weight: 500; 
    text-transform: uppercase; 
    border-radius: 0.375rem; 
    padding: 0.25rem 0.5rem; 
}

.inmoyellow-property-card .inmoyellow-property-image .inmoyellow-property-badge-right {
    position: absolute;
    right: 0.5rem; 
    top: 0.5rem; 
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(8px); 
    font-size: 0.875rem; 
    font-weight: 500; 
    text-transform: uppercase; 
    border-radius: 0.375rem; 
    padding: 0.25rem 0.5rem; 
}

.inmoyellow-property-card .inmoyellow-property-details-container {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(8px); 
    font-size: 0.875rem; 
    font-weight: 500; 
    border-radius: 0.375rem; 
    padding: 0.25rem 0.5rem; 
}

.inmoyellow-property-card .inmoyellow-property-details-container .inmoyellow-property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.inmoyellow-property-card .inmoyellow-property-details-container .inmoyellow-property-details .inmoyellow-property-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.inmoyellow-property-card .inmoyellow-property-info {
    padding: 0.5rem;
}

.inmoyellow-property-card .inmoyellow-property-price-container {
    width: 100%;
    
}

.inmoyellow-property-card .inmoyellow-property-price {
    font-weight: 500; 
    font-size: 1.25rem;
}

.inmoyellow-property-card .inmoyellow-property-location-container {
    width: 100%;
    
}

.inmoyellow-property-card .inmoyellow-property-location {
    font-size: 1.25rem;
}

/* --------- INMOYELLLOW RESALES PROPERTY SHORTCODE --------- */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;    
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;  
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide:not(.swiper-slide-active) img {
    filter: brightness(50%);
}

.swiper-slide.swiper-slide-active img {
    filter: brightness(100%);
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
    background: rgba(0, 0, 0, 0.3); 
}

/* Personalización de los controles de navegación (siguiente y anterior) */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);  /* Fondo oscuro para los botones */
    border-radius: 50%;  /* Botones redondeados */
    color: white;  /* Texto blanco */
    width: 50px;  /* Ancho de los botones */
    height: 50px;  /* Alto de los botones */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;  /* Tamaño de la flecha */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;  /* Aumenta el tamaño de las flechas */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7);  /* Fondo más oscuro al pasar el ratón */
}

.swiper-pagination {
    position: absolute;
    bottom: -40px;  /* Paginación fuera de la imagen, debajo */
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;  /* Asegura que la paginación esté encima de otras capas */
}

.swiper-pagination-bullet {
    background-color: #cccccc;
    width: 8px;  /* Tamaño de los puntos */
    height: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;  /* Transición de opacidad y escala */
}

.swiper-pagination-bullet-active {
    background-color: #000000;  /* Bullet activo de color negro */
    opacity: 1;
    transform: scale(1.2);  /* Escala más grande para el punto activo */
}

.swiper-pagination-bullet:hover {
    background-color: #666666;  /* Color al pasar el ratón */
    transform: scale(1.3);  /* Aumenta el tamaño de los puntos */
}

.inmoyellow-property-detailed-view-info {
    padding: 2rem;
}

.inmoyellow-property-detailed-view-info-title {
    font-size: 3rem; 
    font-weight: 500; 
    text-align: center; 
    color: #000; 
    text-transform: normal; 
    letter-spacing: 1px;
    line-height: 1.2; 
    margin-bottom: 20px;
    text-transform: normal;
}

.inmoyellow-property-detailed-view-info-price-container {
    display: flex;
    justify-content: center;
    align-content: center;
}

.inmoyellow-property-detailed-view-info-price {
    font-size: 2.5rem;
    font-weight: 500; 
    text-align: center;
    color: #5cb8b2;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
}