.imovelhub-archive-header {
    margin-bottom: 1.5rem;
}

.imovelhub-archive-header h1 {
    margin-bottom: .5rem;
}

.imovelhub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.imovelhub-card {
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.imovelhub-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.imovelhub-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f8f9fa;
}

.imovelhub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imovelhub-badge-destaque {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c62828;
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.imovelhub-card-content {
    padding: 14px;
}

.imovelhub-card-content h2 {
    font-size: 1.1rem;
    margin: 8px 0;
}

.imovelhub-chip {
    font-size: .8rem;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    padding: 2px 8px;
}

.imovelhub-meta {
    margin: 0;
    color: #667085;
}

.imovelhub-price {
    margin: 6px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #101828;
}

.imovelhub-single {
    display: grid;
    gap: 1.25rem;
}

.imovelhub-single-sidebar {
    position: sticky;
    top: 90px;
}

.imovelhub-single-sidebar-card {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.imovelhub-contact-owner {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaecf0;
}

.imovelhub-contact-owner h3 {
    margin: 0 0 .25rem;
    font-size: 1.12rem;
}

.imovelhub-contact-owner p {
    margin: 0;
    font-size: .9rem;
    color: #475467;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.imovelhub-contact-owner .material-symbols-outlined {
    font-size: 1rem;
}

.imovelhub-single-header {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    padding: 1rem 1.25rem;
}

.imovelhub-single-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.imovelhub-single-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .4rem;
}

.imovelhub-single-heading h1 {
    font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.2;
}

.imovelhub-views {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    color: #475467;
}

.imovelhub-views .material-symbols-outlined {
    font-size: 1rem;
    color: #667085;
}

.imovelhub-single-block {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    padding: 1rem 1.25rem;
}

.imovelhub-section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .9rem;
    font-size: 1.2rem;
}

.imovelhub-section-title .material-symbols-outlined {
    font-size: 1.35rem;
    color: #2563eb;
}

.imovelhub-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.imovelhub-gallery figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.imovelhub-gallery-trigger {
    display: block;
    width: 100%;
    height: 100%;
}

.imovelhub-gallery-trigger img {
    transition: transform .25s ease;
}

.imovelhub-gallery-trigger:hover img {
    transform: scale(1.03);
}

.imovelhub-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imovelhub-gallery-modal .modal-content {
    background: #0b1020;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.imovelhub-gallery-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 12;
    background-color: rgba(255, 255, 255, .85);
}

.imovelhub-gallery-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 12;
    background: rgba(11, 16, 32, .72);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: .25rem .7rem;
    font-size: .9rem;
    font-weight: 600;
}

.imovelhub-lightbox-slide {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050813;
}

.imovelhub-lightbox-slide img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    transition: transform .15s ease-out;
    cursor: zoom-in;
    will-change: transform;
}

.imovelhub-lightbox-slide img.imovelhub-zoomed {
    cursor: grab;
}

.imovelhub-lightbox-slide img.imovelhub-dragging {
    cursor: grabbing;
}

.imovelhub-gallery-modal .carousel-control-prev,
.imovelhub-gallery-modal .carousel-control-next {
    width: 8%;
}

.imovelhub-single-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.imovelhub-info-card {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: .9rem;
    background: #fafafa;
}

.imovelhub-info-card h3 {
    font-size: 1.02rem;
    margin-bottom: .7rem;
}

.imovelhub-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}

.imovelhub-single-content p:last-child {
    margin-bottom: 0;
}

.imovelhub-feature-chips {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.imovelhub-feature-chips li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #f5f8ff;
    border: 1px solid #d7e3ff;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .92rem;
}

.imovelhub-feature-chips .material-symbols-outlined {
    font-size: 1rem;
    color: #1e4ed8;
}

.imovelhub-price {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem);
    font-weight: 800;
    color: #b42318;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .imovelhub-grid,
    .imovelhub-single-grid {
        grid-template-columns: 1fr;
    }

    .imovelhub-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imovelhub-single-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .imovelhub-single-header-meta {
        align-items: flex-start;
    }

    .imovelhub-single-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .imovelhub-gallery {
        grid-template-columns: 1fr;
    }
}
