/* Fix para tarjetas de propiedades - altura fija de imágenes */
.property1 .main-tabs-area .tab-content .tab-pane .property-single-boxarea .property-list-img-area .img1 {
    height: 280px !important;
    /* Altura fija para todas las imágenes */
}

/* Asegurar que las imágenes se adapten correctamente */
.property1 .main-tabs-area .tab-content .tab-pane .property-single-boxarea .property-list-img-area .img1 img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    /* Centrar la imagen si es necesario recortar */
}

/* Fix para imágenes de la página de inicio - altura fija */
.property-list-img-area .image-anime {
    height: 280px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 30px !important;
    /* Altura fija para todas las imágenes */
}

/* Asegurar que las imágenes de inicio se adapten correctamente */
.property-list-img-area .image-anime img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 30px !important;
    /* Centrar la imagen si es necesario recortar */
}

/* Responsive: ajustar altura en dispositivos móviles */
@media (max-width: 768px) {
    .property1 .main-tabs-area .tab-content .tab-pane .property-single-boxarea .property-list-img-area .img1 {
        height: 250px !important;
    }

    /* Responsive para imágenes de inicio */
    .property-list-img-area .image-anime {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .property1 .main-tabs-area .tab-content .tab-pane .property-single-boxarea .property-list-img-area .img1 {
        height: 220px !important;
    }

    /* Responsive para imágenes de inicio */
    .property-list-img-area .image-anime {
        height: 220px !important;
    }
}

/* ===== MODERN PROPERTY INFO CARDS ===== */

.modern-property-info {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: space-between;
    flex-wrap: wrap;
}

.info-card-modern {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.info-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card-modern:hover::before {
    transform: scaleX(1);
}

.info-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(60, 101, 73, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.info-icon-modern {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(60, 101, 73, 0.3);
    transition: all 0.3s ease;
}

.info-card-modern:hover .info-icon-modern {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(60, 101, 73, 0.4);
}

.info-content-modern {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.info-value {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1;
}

.info-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive para tarjetas modernas */
@media (max-width: 768px) {
    .modern-property-info {
        gap: 8px;
    }

    .info-card-modern {
        padding: 14px 10px;
    }

    .info-icon-modern {
        width: 36px;
        height: 36px;
    }

    .info-value {
        font-size: 18px;
    }

    .info-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .modern-property-info {
        gap: 6px;
    }

    .info-card-modern {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .info-icon-modern {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .info-icon-modern svg {
        width: 14px;
        height: 14px;
    }

    .info-value {
        font-size: 16px;
    }

    .info-label {
        font-size: 10px;
    }
}

/* ===== MODERN PROPERTY HEADER ===== */

.modern-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-property-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 101, 73, 0.02), rgba(74, 124, 89, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-property-header:hover::before {
    opacity: 1;
}

.modern-property-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(60, 101, 73, 0.1);
    border-color: rgba(60, 101, 73, 0.2);
}

.property-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.property-title-modern:hover {
    color: #3c6549;
    text-decoration: none;
}

.property-location-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.property-location-modern svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.property-price-modern {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-container {
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(60, 101, 73, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-container:hover::before {
    opacity: 1;
}

.price-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(60, 101, 73, 0.4);
}

.price-symbol {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.price-amount {
    font-size: 22px;
    font-weight: 800;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.price-period {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 2px;
}

/* Responsive para header moderno */
@media (max-width: 768px) {
    .modern-property-header {
        padding: 16px;
        gap: 12px;
    }

    .property-title-modern {
        font-size: 18px;
    }

    .property-location-modern {
        font-size: 13px;
    }

    .price-container {
        padding: 10px 14px;
    }

    .price-amount {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modern-property-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .property-main-info {
        order: 1;
    }

    .property-price-modern {
        order: 2;
        justify-content: flex-end;
    }

    .property-title-modern {
        font-size: 17px;
    }

    .property-location-modern {
        font-size: 12px;
    }

    .price-container {
        padding: 10px 16px;
        border-radius: 12px;
    }

    .price-amount {
        font-size: 18px;
    }

    .price-period {
        font-size: 11px;
    }
}

/* ===== ADDRESS OVERLAY ON IMAGES ===== */

.property-list-img-wrapper {
    position: relative;
}

.property-list-img-wrapper .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
}

.property-list-img-wrapper .owl-dot {
    display: inline-flex;
    width: auto;
    height: auto;
}

.property-list-img-wrapper .owl-dot span {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: var(--ztc-bg-bg-3, #5f8b2f);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.property-list-img-wrapper .owl-dot.active span,
.property-list-img-wrapper .owl-dot:hover span {
    opacity: 1;
    transform: scale(1.15);
}

.address-overlay-modern {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-overlay-modern svg {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.address-overlay-modern:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.02);
}

/* ===== MODERN TITLE & PRICE SECTION ===== */

.modern-property-title-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    text-align: center;
}

.property-title-large {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.property-title-large:hover {
    color: #3c6549;
    text-decoration: none;
}

.property-price-below {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: linear-gradient(135deg, #3c6549, #4a7c59);
    color: white;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 4px 15px rgba(60, 101, 73, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
    margin: 0 auto;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.property-price-below::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-price-below:hover::before {
    opacity: 1;
}

.property-price-below:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(60, 101, 73, 0.4);
}

.property-price-below .price-symbol {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.property-price-below .price-amount {
    font-size: 20px;
    font-weight: 800;
}

.property-price-below .price-period {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 2px;
}

/* Responsive para título y precio */
@media (max-width: 768px) {
    .property-title-large {
        font-size: 20px;
    }

    .property-price-below {
        padding: 10px 14px;
    }

    .property-price-below .price-amount {
        font-size: 18px;
    }

    .address-overlay-modern {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .property-title-large {
        font-size: 18px;
    }

    .property-price-below {
        padding: 8px 14px;
        border-radius: 12px;
    }

    .property-price-below .price-amount {
        font-size: 16px;
    }

    .property-price-below .price-period {
        font-size: 11px;
    }

    .address-overlay-modern {
        font-size: 10px;
        padding: 6px 8px;
        bottom: 8px;
        left: 8px;
    }

    .address-overlay-modern svg {
        width: 10px;
        height: 10px;
    }
}