.vf-property-card__image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f3f4f6;
}

.vf-property-card {
    border-color: #e4e7ec;
    border-radius: .5rem;
    overflow: hidden;
}

.vf-property-card .card-title {
    color: #172751;
    overflow-wrap: anywhere;
}

#property-title { overflow-wrap: anywhere; }

.vf-property-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem .75rem;
    margin: 0;
}

.vf-property-card__facts div { min-width: 0; }
.vf-property-card__facts dt { font-size: .8rem; color: #667085; }
.vf-property-card__facts dd { margin: 0; overflow-wrap: anywhere; }

.vf-catalog-filters {
    margin-bottom: 2rem;
    padding: 1.25rem;
    border: 1px solid #e4e7ec;
    border-radius: .5rem;
}

.vf-catalog-filters fieldset {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
    min-width: 0;
}

.vf-catalog-filters legend,
.vf-catalog-filters p,
.vf-catalog-filters__actions {
    grid-column: 1 / -1;
}

.vf-catalog-filters label {
    align-self: end;
    font-weight: 600;
}

.vf-catalog-filters input,
.vf-catalog-filters select {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    padding: .45rem .6rem;
    border: 1px solid #667085;
    border-radius: .25rem;
    background: #fff;
    color: #172751;
}

.vf-catalog-filters :focus-visible,
.vf-catalog-pagination a:focus-visible {
    outline: 3px solid #146c94;
    outline-offset: 2px;
}

.vf-catalog-filters__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .5rem;
}

.vf-catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 2rem;
    padding-inline-end: var(--fv-floating-inline-clearance);
}

.vf-catalog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vf-catalog-pagination a,
.vf-catalog-pagination span {
    display: inline-block;
    padding: .45rem .7rem;
    border: 1px solid #98a2b3;
    border-radius: .25rem;
}

.vf-catalog-pagination a,
.vf-catalog-pagination button {
    scroll-margin-block-end: var(--fv-floating-inline-clearance);
}

.vf-catalog-pagination [aria-current="page"] {
    border-color: #172751;
    background: #172751;
    color: #fff;
}

.vf-catalog-pagination [aria-disabled="true"] {
    color: #667085;
}

body.vf-catalog-page {
    padding-top: max(var(--header-h, 88px), 150px);
    scroll-padding-top: 160px;
}

body.vf-catalog-page--header {
    padding-top: 108px;
}

body.vf-catalog-page--header main {
    padding-top: 0;
}

body.vf-catalog-page--header #main > .nosotros.fondo-isotipo {
    clip-path: inset(0);
}

@media (max-width: 991.98px) {
    body.vf-catalog-page--header {
        padding-top: 88px;
    }
}

.vf-catalog-page main {
    scroll-margin-top: 160px;
}

.vf-catalog-page .vf-catalog-filters input,
.vf-catalog-page .vf-catalog-filters select {
    scroll-margin-top: 160px;
}

.vf-catalog-page #catalog-filter-toggle,
.vf-catalog-page [tabindex="-1"] {
    scroll-margin-top: 160px;
    scroll-margin-bottom: 16px;
}

.vf-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    margin-bottom: 1rem;
}

.vf-catalog-toolbar__status { margin: 0; font-weight: 600; }
.vf-catalog-toolbar__error { grid-column: 1 / -1; margin: 0; color: #b42318; font-size: .9rem; }
.vf-catalog-toolbar__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vf-catalog-toolbar select { min-height: 2.75rem; max-width: 100%; padding: .4rem .6rem; }
.vf-catalog-toolbar :focus-visible,
.vf-catalog-filters :focus-visible { outline: 3px solid #146c94; outline-offset: 2px; }

.vf-catalog-filters { padding: 0; }
.vf-catalog-filters__toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-bottom: .75rem; text-align: left; }
.vf-catalog-filters__count { display: inline-block; margin-left: .75rem; color: #fff; font-size: .9rem; font-weight: 500; }
.vf-catalog-filters__content { padding: 0 1rem 1rem; }
.vf-catalog-filters fieldset { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem .85rem; min-width: 0; }
.vf-catalog-filters__field { display: grid; min-width: 0; gap: .3rem; }
.vf-catalog-filters__field label { align-self: auto; }
.vf-catalog-filters__error { margin: 0; color: #b42318; font-size: .9rem; }
.vf-catalog-filters__field.is-invalid input,
.vf-catalog-filters__field.is-invalid select { border-color: #b42318; }
.vf-catalog-filters__fixed { grid-column: 1 / -1; margin: 0; }
.vf-catalog-filters__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.vf-catalog-filters__chips a { display: inline-flex; gap: .4rem; align-items: center; padding: .25rem .55rem; border: 1px solid #98a2b3; border-radius: 999px; color: #172751; text-decoration: none; }
.vf-catalog-filters__actions { display: flex; flex-wrap: wrap; gap: .6rem; grid-column: 1 / -1; }

@media (max-width: 767.98px) {
    .vf-catalog-toolbar { align-items: flex-start; }
    .vf-catalog-toolbar__controls { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .vf-catalog-toolbar__controls label { width: auto; }
    .vf-catalog-toolbar__controls select { width: 100%; min-width: 0; }
    .vf-catalog-filters fieldset { grid-template-columns: minmax(0, 1fr); }
    .vf-catalog-filters__toggle { padding: .75rem; }
}

@media (max-width: 359px) {
    .vf-catalog-toolbar__controls label { width: auto; }
    .vf-catalog-toolbar__controls select { width: 100%; }
}

.vf-detail-gallery { max-width: 64rem; margin-block: 1.5rem; }
.vf-detail-gallery__main { display: block; width: 100%; max-height: 68vh; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f4f6; }
.vf-detail-gallery__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; }
.vf-detail-gallery__controls button { display: inline-grid; flex: 0 0 2.75rem; width: 2.75rem; min-width: 2.75rem; min-height: 2.75rem; height: 2.75rem; place-items: center; padding: 0; border: 1px solid #172751; border-radius: .5rem; background: #172751; color: #fff; }
.vf-detail-gallery__controls [data-gallery-zoom] { border-color: #c4ad37; background: #c4ad37; color: #172751; }
.vf-detail-gallery__controls button:hover:not(:disabled):not([data-gallery-zoom]) { background: var(--brand-secondary); border-color: var(--brand-secondary); filter: none; }
.vf-detail-gallery__controls button:active:not(:disabled):not([data-gallery-zoom]) { background: var(--brand-secondary); border-color: var(--brand-secondary); filter: none; }
.vf-detail-gallery__controls [data-gallery-zoom]:hover:not(:disabled) { filter: brightness(.92); }
.vf-detail-gallery__controls [data-gallery-zoom]:active:not(:disabled) { filter: brightness(.84); }
.vf-detail-gallery__controls button:focus-visible { outline: 3px solid #146c94; outline-offset: 2px; }
.vf-detail-gallery__controls button:disabled { cursor: not-allowed; opacity: .5; }
.vf-detail-gallery__controls [data-gallery-counter] { min-width: 3ch; color: #172751; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.vf-detail-gallery__dialog button { min-height: 2.75rem; padding: .5rem .8rem; }
.vf-detail-gallery__dialog { width: min(92vw, 72rem); max-width: none; max-height: 92vh; padding: 1rem; border: 0; border-radius: .5rem; }
.vf-detail-gallery__dialog::backdrop { background: rgb(0 0 0 / .8); }
.vf-detail-gallery__dialog img { display: block; width: 100%; max-height: calc(92vh - 5rem); object-fit: contain; }
.vf-detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem 1.25rem; margin-block: 1.5rem; }
.vf-detail-facts div { min-width: 0; padding: .75rem; border: 1px solid #e4e7ec; border-radius: .5rem; }
.vf-detail-facts dt { color: #667085; font-size: .9rem; }
.vf-detail-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.vf-detail-description { max-width: 72ch; }
.vf-detail-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block: 2rem; }
.vf-detail-contact h2 { flex-basis: 100%; }
.vf-detail-contact .btn:focus-visible,
.vf-detail-gallery :focus-visible { outline: 3px solid #146c94; outline-offset: 2px; }

.vf-property-location { max-width: 48rem; margin-block: 2rem; }
.vf-property-location__label { color: #172751; font-weight: 600; }
.vf-property-location__toggle { min-width: 2.75rem; min-height: 2.75rem; padding: .5rem .9rem; border: 1px solid var(--brand); border-radius: .5rem; background: var(--brand); color: #fff; }
.vf-property-location__toggle:hover:not(:disabled),
.vf-property-location__toggle:active:not(:disabled) { border-color: var(--brand-secondary); background: var(--brand-secondary); color: #fff; }
.vf-property-location__toggle:disabled { transform: none; box-shadow: none; }
.vf-property-location__toggle:focus-visible { outline: 3px solid #146c94; outline-offset: 2px; }
.vf-property-location__map { max-width: 48rem; margin-block-start: 1rem; overflow: hidden; border: 1px solid #d0d5dd; border-radius: .5rem; }
.vf-property-location__map[hidden] { display: none !important; }
.vf-property-location__map iframe { display: block; width: 100%; height: auto; min-height: 20rem; aspect-ratio: 4 / 3; border: 0; }
.vf-property-location > p:last-child { margin-block: 1rem 0; }

@media (max-width: 575.98px) {
    .vf-property-location__map iframe { min-height: 24rem; aspect-ratio: 1; }
}

.vf-property-share { margin-block: .75rem 1.25rem; }
.vf-property-share__actions { display: flex; flex-wrap: nowrap; gap: .6rem; }
.vf-property-share__button { display: inline-grid; flex: 0 0 2.75rem; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; border: 0; border-radius: .5rem; color: #fff; font-size: 1.3rem; transition: filter .15s ease, transform .15s ease; }
.vf-property-share__button--whatsapp { background: #075e54; }
.vf-property-share__button--facebook { background: #0866ff; }
.vf-property-share__button--instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.vf-property-share__button--tiktok { background: #111; box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55; }
.vf-property-share__button:hover { filter: brightness(.88); }
.vf-property-share__button:active { transform: scale(.96); }
.vf-property-share__button:focus-visible { outline: 3px solid #146c94; outline-offset: 3px; }
.vf-property-share__status { min-height: 0; margin: 0; }
.vf-property-share__status:not(:empty) { margin-block-start: .5rem; }
.vf-property-share__manual { width: min(100%, 42rem); overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    .vf-property-share__button { transition: none; }
}
