/* Planos de distribución */
.next-planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.next-plano-card {
    background: #FBFBFD;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.next-plano-card:hover {
    border-color: rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}
.next-plano-preview {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 8px;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}
.next-plano-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.next-plano-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.next-plano-btn:hover {
    background: #F5F5F7;
    border-color: rgba(0, 0, 0, 0.16);
}

/* Mapa */
.next-map-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6E6E73;
    margin-bottom: 14px;
    text-transform: capitalize;
}
.next-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 360px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #FBFBFD;
}
.next-map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Propiedades Similares */
.next-similar-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.next-similar-header {
    margin-bottom: 24px;
}
.next-similar-title {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1D1D1F;
}
.next-similar-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6E6E73;
}
.next-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 959px) {
    .next-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 639px) {
    .next-similar-grid {
        grid-template-columns: 1fr;
    }
}
.next-similar-card {
    display: flex;
    flex-direction: column;
    background: #FBFBFD;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.next-similar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.next-similar-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F2F2F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AEAEB2;
}
.next-similar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.next-similar-card:hover .next-similar-thumb img {
    transform: scale(1.03);
}
.next-similar-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px 20px;
}
.next-similar-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #86868B;
    margin-bottom: 6px;
}
.next-similar-card-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #1D1D1F;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.next-similar-loc {
    font-size: 13px;
    color: #6E6E73;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.next-similar-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #6E6E73;
    font-weight: 500;
}
.next-similar-metric {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.next-similar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.next-similar-price {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}
.next-similar-currency {
    font-size: 13px;
    font-weight: 500;
    color: #6E6E73;
}
.next-similar-amount {
    font-size: 18px;
    font-weight: 700;
    color: #1D1D1F;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.015em;
}
.next-similar-cta {
    font-size: 12px;
    font-weight: 600;
    color: #1D1D1F;
    white-space: nowrap;
}

/* Sidebar de Conversión */
.next-contact-card {
    background: #FBFBFD;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}
.next-contact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.next-contact-brand-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.next-contact-brand-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1D1D1F;
    line-height: 1.2;
}
.next-contact-ref {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #86868B;
    line-height: 1.2;
}
.next-buybox-price {
    padding: 16px 0 18px;
    margin: 14px 0 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.next-buybox-price-label {
    font-size: 12px;
    color: #86868B;
    margin-bottom: 4px;
}
.next-buybox-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.next-buybox-currency {
    font-size: 16px;
    font-weight: 500;
    color: #86868B;
    margin-right: 6px;
}
.next-buybox-amount {
    font-size: 28px;
    font-weight: 600;
    color: #1D1D1F;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.next-buybox-expensas {
    font-size: 13px;
    color: #6E6E73;
    margin-top: 4px;
}
.next-buybox-ha {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #F5F5F7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    font-weight: 600;
    color: #1D1D1F;
    font-variant-numeric: tabular-nums;
}
.next-buybox-ha-label {
    font-weight: 500;
    color: #6E6E73;
}
.next-buybox-multicurrency {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #86868B;
    font-variant-numeric: tabular-nums;
}
.next-buybox-multicurrency span {
    white-space: nowrap;
}
