.property-search {
    position: relative;
    z-index: 20;
    margin-top: -235px;
    padding: 0 0 18px;
    opacity: 1;
    background: transparent;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 760ms ease,
        transform 950ms cubic-bezier(.22, .61, .36, 1);
    will-change: auto;
}

.property-search > .container {
    display: flex;
    width: min(calc(100% - 96px), 1580px);
    max-width: 1580px;
    justify-content: flex-end;
}

.property-search__inner {
    width: calc(100% - 750px);
    min-width: 575px;
    padding: 11px 12px 8px;
    border: 1px solid rgb(7 27 45 / 10%);
    border-radius: 14px;
    background: rgb(255 255 255 / 62%);
    box-shadow: 0 18px 45px rgb(7 27 45 / 16%);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.property-search__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 8px;
}

.property-search__transaction,
.property-search__field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.property-search__transaction {
    min-inline-size: 0;
}

.property-search__transaction legend,
.property-search__field > span {
    display: block;
    min-height: 14px;
    margin-bottom: 4px;
    color: var(--color-primary-dark);
    font-size: .61rem;
    font-weight: 750;
    letter-spacing: .04em;
}

.property-search__segments {
    display: grid;
    min-height: 42px;
    padding: 3px;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--color-border);
    border-radius: 9px;
    background: var(--color-light);
}

.property-search__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.property-search__segments label {
    display: flex;
    min-height: 34px;
    padding: 5px 7px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 7px;
    color: var(--color-muted);
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.property-search__radio:checked + label {
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 5px 14px rgb(11 93 122 / 18%);
}

.property-search__radio:checked + label::before {
    content: "✓";
    font-size: .72rem;
}

.property-search__radio:focus-visible + label,
.property-search__field select:focus-visible,
.property-search__field input:focus-visible,
.property-search__submit:focus-visible {
    outline: 3px solid rgb(11 93 122 / 24%);
    outline-offset: 3px;
}

.property-search__field select,
.property-search__field input {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 7px 9px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    color: var(--color-text);
    outline: 0;
    background: var(--color-light);
    font-size: .75rem;
}

.property-search__field input::placeholder {
    color: var(--color-muted);
    opacity: 1;
}

.property-search__field--locality {
    position: relative;
}

.property-search__suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 224px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid rgb(12 62 88 / 16%);
    border-radius: 10px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 14px 32px rgb(1 24 44 / 18%);
    list-style: none;
    backdrop-filter: blur(12px);
}

.property-search__suggestions[hidden] {
    display: none;
}

.property-search__suggestion {
    padding: 9px 10px;
    border-radius: 7px;
    color: var(--color-text);
    font-size: .76rem;
    line-height: 1.25;
    cursor: pointer;
}

.property-search__suggestion:hover,
.property-search__suggestion.is-active {
    color: #fff;
    background: var(--color-primary);
}

.property-search__submit {
    display: inline-flex;
    min-height: 42px;
    margin-left: 0;
    padding: 9px 13px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--color-primary);
    font-size: .76rem;
    font-weight: 750;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.property-search__submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

@media (max-width: 1400px) {
    .property-search {
        margin-top: -111px;
        padding: 0 0 28px;
        background:
            linear-gradient(
                180deg,
                transparent 0 30px,
                #fff 30px 100%
            );
        pointer-events: auto;
    }

    .property-search > .container {
        display: block;
        width: min(100% - 40px, var(--container-width));
        max-width: var(--container-width);
    }

    .property-search__inner {
        width: 100%;
        min-width: 0;
        padding: 22px 24px 15px;
        border-radius: 19px;
    }

    .property-search__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .property-search__transaction,
    .property-search__field {
        padding: 0;
        border-right: 0;
    }

    .property-search__transaction legend,
    .property-search__field > span {
        margin-bottom: 7px;
        font-size: .72rem;
    }

    .property-search__segments label {
        min-height: 44px;
        padding: 8px 11px;
        font-size: .85rem;
    }

    .property-search__field select,
    .property-search__field input {
        height: 48px;
        min-height: 48px;
        padding: 9px 2px;
        font-size: .9rem;
    }

    .property-search__submit {
        min-height: 52px;
        width: 100%;
        margin: 0;
        padding: 12px 22px;
        font-size: .9rem;
    }

}

@media (max-width: 767px) {
    .property-search {
        margin-top: 0;
        padding: 14px 0 20px;
        background: #fff;
    }

    .property-search__inner {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        min-width: 0;
        padding: 20px 18px 16px;
        border-radius: 16px;
    }

    .property-search > .container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        padding-inline: 14px;
    }

    .property-search__fields {
        width: 100%;
        min-width: 0;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-search__transaction,
    .property-search__field,
    .property-search__segments,
    .property-search__submit {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

}

@media (max-width: 1050px) and (max-height: 600px) and (orientation: landscape) {
    .property-search {
        margin-top: 0;
        padding: 18px 0 24px;
        background: #fff;
    }
}

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

.properties-hero {
    padding-block: 78px;
}

.properties-hero.page-hero--image {
    background-position: center 38%;
}

.property-catalogue {
    padding: 75px 0 105px;
    background: var(--color-light);
}

.catalogue-search {
    margin-bottom: 38px;
}

.catalogue-search .property-search__inner {
    width: 100%;
    min-width: 0;
    padding: 22px;
    border-radius: 18px;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 15px 38px rgb(7 27 45 / 9%);
}

.catalogue-search .property-search__fields {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 14px;
}

.property-filters {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 5px;
    gap: 4px;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
}

.property-filters a {
    padding: 10px 18px;
    border-radius: 8px;
    color: var(--color-muted);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.property-filters a:hover,
.property-filters a.is-active {
    color: #fff;
    background: var(--color-primary);
}

.property-results-count {
    margin-bottom: 25px;
    color: var(--color-muted);
    font-size: .92rem;
}

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

.property-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.property-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.property-card__media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #dfe8eb;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.property-card__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-card:hover .property-card__media img {
    transform: scale(1.04);
}

.property-card__placeholder {
    display: grid;
    height: 100%;
    place-content: center;
    gap: 8px;
    color: #84929b;
    text-align: center;
}

.property-card__placeholder i {
    font-size: 2rem;
}

.property-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgb(7 27 45 / 88%);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.property-card__body {
    display: flex;
    height: 100%;
    padding: 25px;
    flex-direction: column;
}

.property-card__type {
    margin-bottom: 7px;
    color: var(--color-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.property-card__title {
    margin-bottom: 17px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.property-card__street,
.property-card__locality {
    display: block;
}

.property-card__locality {
    color: var(--color-muted);
    font-size: .88em;
    font-weight: 600;
}

.property-card__facts {
    display: flex;
    margin: 0 0 16px;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px 15px;
    color: var(--color-muted);
    font-size: .82rem;
    list-style: none;
}

.property-card__facts i {
    margin-right: 4px;
    color: var(--color-primary);
}

.property-card__description {
    margin-bottom: 22px;
    color: var(--color-muted);
    font-size: .9rem;
    white-space: pre-line;
}

.property-card__footer {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--color-border);
}

.property-card__footer strong,
.property-card__footer small {
    display: block;
}

.property-card__footer strong {
    color: var(--color-primary-dark);
    font-size: 1.08rem;
}

.property-card__footer small {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: .7rem;
}

.property-card__footer > a {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-size: .85rem;
    font-weight: 800;
}

.property-card__footer > a i {
    margin-left: 5px;
}

.property-grid .property-card__media {
    aspect-ratio: 3 / 2;
}

.property-grid .property-card__body {
    padding: 20px 21px;
}

.property-grid .property-card__title {
    margin-bottom: 12px;
}

.property-grid .property-card__facts {
    margin-bottom: 12px;
}

.property-grid .property-card__description {
    display: -webkit-box;
    margin-bottom: 16px;
    overflow: hidden;
    line-height: 1.45;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.property-grid .property-card__footer {
    padding-top: 14px;
}

.latest-properties-carousel {
    position: relative;
}

.latest-properties-grid {
    display: grid;
    padding: 5px 0 12px;
    grid-auto-columns: calc((100% - 54px) / 4);
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.latest-properties-grid.is-animating {
    scroll-snap-type: none;
}

.latest-properties-grid::-webkit-scrollbar {
    display: none;
}

.latest-properties-carousel__control {
    position: absolute;
    z-index: 5;
    top: 38%;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 8px 24px rgb(1 24 44 / 22%);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        opacity var(--transition),
        background var(--transition),
        transform var(--transition);
}

.latest-properties-carousel__control--previous {
    left: -23px;
}

.latest-properties-carousel__control--next {
    right: -23px;
}

.latest-properties-carousel__control:hover:not(:disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.06);
}

.latest-properties-carousel__control:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.latest-properties-carousel__control[hidden] {
    display: none;
}

.property-card--latest {
    min-width: 0;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 18px -12px rgb(1 24 44 / 30%);
    scroll-snap-align: start;
}

.property-card--latest:hover {
    box-shadow: 0 14px 24px -12px rgb(1 24 44 / 34%);
}

.property-card--latest .property-card__media {
    aspect-ratio: 4 / 3;
}

.property-card--latest .property-card__placeholder {
    width: 100%;
}

.property-card--latest .property-card__body {
    min-height: 165px;
    padding: 15px 16px;
}

.property-card--latest .property-card__title {
    min-height: 2.6em;
    margin-bottom: 8px;
    font-size: 1rem;
}

.property-card--latest .property-card__street,
.property-card--latest .property-card__locality {
    display: block;
}

.property-card--latest .property-card__locality {
    color: var(--color-muted);
    font-size: .86em;
    font-weight: 600;
}

.property-card--latest .property-card__facts {
    min-height: 1.35em;
    margin-top: auto;
    margin-bottom: 9px;
}

.property-card--latest .property-card__footer {
    margin-top: 0;
    align-items: center;
}

.property-card--latest .property-card__footer strong {
    font-size: .94rem;
}

.property-card--latest .property-card__footer > a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--color-primary);
}

.property-card--latest .property-card__footer > a i {
    margin: 0;
}

@media (max-width: 1200px) {
    .latest-properties-grid {
        padding-bottom: 14px;
        grid-auto-columns: minmax(270px, 38vw);
        overscroll-behavior-inline: contain;
    }

    .latest-properties-carousel__control--previous {
        left: -12px;
    }

    .latest-properties-carousel__control--next {
        right: -12px;
    }
}

@media (max-width: 767px) {
    .latest-properties-grid {
        grid-auto-columns: minmax(270px, 86vw);
    }
}

.property-detail-heading {
    padding: 65px 0 48px;
    color: #fff;
    background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
}

.property-back-link {
    display: inline-flex;
    margin-bottom: 35px;
    align-items: center;
    gap: 9px;
    color: rgb(255 255 255 / 76%);
    font-size: .9rem;
    font-weight: 700;
}

.property-back-link:hover {
    color: #fff;
}

.property-detail-heading__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 45px;
    align-items: end;
}

.property-detail-heading h1 {
    max-width: 850px;
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 4rem);
}

.property-detail-heading p:last-child {
    margin-bottom: 0;
    color: rgb(255 255 255 / 68%);
}

.property-detail-price {
    text-align: right;
}

.property-detail-price strong,
.property-detail-price span {
    display: block;
}

.property-detail-price strong {
    font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.property-detail-price span {
    margin-top: 4px;
    color: rgb(255 255 255 / 70%);
    font-size: .82rem;
}

.property-gallery-section {
    padding: 48px 0 105px;
    background: var(--color-light);
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 12px;
    margin-bottom: 55px;
}

.property-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #dfe8eb;
}

.property-gallery__item--main {
    grid-column: span 2;
    grid-row: span 2;
}

.property-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.property-gallery__item:hover img {
    transform: scale(1.035);
}

.property-gallery__item > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    opacity: 0;
    background: rgb(7 27 45 / 78%);
    transition: opacity var(--transition);
}

.property-gallery__item:hover > span,
.property-gallery__item:focus-visible > span {
    opacity: 1;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 55px;
    align-items: start;
}

.property-description,
.property-summary {
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.property-description h2,
.property-summary h2 {
    margin-bottom: 24px;
    font-size: 1.45rem;
}

.property-description > div {
    color: var(--color-muted);
}

.property-rich-text {
    line-height: 1.75;
}

.property-rich-text h2,
.property-rich-text h3 {
    margin: 30px 0 12px;
    color: var(--color-primary-dark);
}

.property-rich-text h2 {
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.property-rich-text h3 {
    font-size: 1.3rem;
}

.property-rich-text ul,
.property-rich-text ol {
    padding-left: 1.4rem;
}

.property-rich-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.property-description h2:not(:first-child) {
    margin-top: 42px;
}

.property-equipment-list {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
}

.property-equipment-list i {
    margin-right: 7px;
    color: var(--color-primary);
}

.property-summary {
    position: sticky;
    top: 110px;
}

.property-summary dl {
    margin-bottom: 28px;
}

.property-summary dl > div {
    display: flex;
    padding: 13px 0;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
}

.property-summary dt {
    color: var(--color-muted);
    font-weight: 500;
}

.property-summary dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.property-summary .btn {
    width: 100%;
}

.property-summary__phone {
    display: block;
    margin-top: 17px;
    color: var(--color-primary);
    text-align: center;
    font-weight: 800;
}

.property-map {
    padding: 70px 0 0;
}

.property-map__heading {
    margin-bottom: 25px;
}

.property-map__heading h2 {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.property-map__heading > p:last-child {
    margin: 0;
    color: var(--color-muted);
}

.property-map__frame {
    position: relative;
    height: 460px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--color-primary-dark);
    box-shadow: 0 18px 45px rgb(7 27 45 / 12%);
}

.property-map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.property-map__frame--loaded iframe {
    opacity: 1;
}

.property-map__preview {
    position: absolute;
    inset: -18px;
    background:
        linear-gradient(135deg, rgb(2 29 48 / 34%), rgb(8 81 120 / 18%)),
        url("../images/hero/gerance-gpc-sa.webp") center / cover;
    filter: blur(9px) saturate(0.75);
    transform: scale(1.04);
}

.property-map__consent {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(420px, calc(100% - 32px));
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 20px;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 18px 45px rgb(2 29 48 / 24%);
    text-align: center;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
}

.property-map__consent-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgb(17 137 218 / 12%);
    color: var(--color-primary);
    place-items: center;
}

.property-map__consent h3 {
    margin: 0 0 8px;
}

.property-map__consent p {
    margin: 0 auto 20px;
    color: var(--color-muted);
}

.property-map__frame--loaded .property-map__preview,
.property-map__frame--loaded .property-map__consent {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.property-inquiry {
    padding: 40px 0 100px;
    background: var(--color-light);
    scroll-margin-top: 95px;
}

.property-inquiry__panel {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgb(7 27 45 / 11%);
}

.property-inquiry__heading {
    margin-bottom: 28px;
}

.property-inquiry__heading h2 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.property-inquiry__heading > p:last-child {
    margin: 0;
    color: var(--color-muted);
}

.property-inquiry__property {
    display: grid;
    margin: 0 0 30px;
    padding: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    border-radius: 14px;
    background: var(--color-light);
}

.property-inquiry__property div {
    min-width: 0;
}

.property-inquiry__property dt {
    color: var(--color-muted);
    font-size: .72rem;
    font-weight: 650;
}

.property-inquiry__property dd {
    margin: 3px 0 0;
    color: var(--color-primary-dark);
    font-weight: 750;
}

@media (max-width: 600px) {
    .property-map {
        padding-top: 55px;
    }

    .property-map__frame {
        height: 360px;
        border-radius: 15px;
    }

    .property-inquiry__panel {
        padding: 30px 20px;
    }

    .property-inquiry__property {
        grid-template-columns: 1fr;
    }
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    visibility: hidden;
    padding: 70px 90px 45px;
    place-items: center;
    opacity: 0;
    background: rgb(1 15 27 / 95%);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.lightbox__figure {
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0;
    place-items: center;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 15px;
}

.lightbox__image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 145px);
    border-radius: 7px;
    object-fit: contain;
    box-shadow: 0 25px 80px rgb(0 0 0 / 45%);
}

.lightbox__caption {
    color: rgb(255 255 255 / 78%);
    font-size: .9rem;
}

.lightbox__close,
.lightbox__previous,
.lightbox__next {
    position: absolute;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 50%;
    color: #fff;
    background: rgb(255 255 255 / 9%);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.lightbox__close:hover,
.lightbox__previous:hover,
.lightbox__next:hover {
    background: var(--color-primary);
    transform: scale(1.05);
}

.lightbox__close {
    z-index: 1;
    top: 20px;
    right: 25px;
}

.lightbox__previous,
.lightbox__next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__previous:hover,
.lightbox__next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox__previous {
    left: 24px;
}

.lightbox__next {
    right: 24px;
}

@media (max-width: 950px) {
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalogue-search .property-search__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalogue-search .property-search__submit {
        width: 100%;
    }

    .property-detail-grid {
        grid-template-columns: 1fr;
    }

    .property-summary {
        position: static;
    }

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

@media (min-width: 700px) and (max-width: 950px) and (max-height: 600px) and (orientation: landscape) {
    .property-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .property-grid .property-card__media {
        aspect-ratio: 2 / 1;
    }

    .property-grid .property-card__body {
        padding: 11px 13px 12px;
    }

    .property-grid .property-card__type {
        margin-bottom: 4px;
        font-size: .68rem;
    }

    .property-grid .property-card__title {
        margin-bottom: 7px;
        font-size: .94rem;
        line-height: 1.2;
    }

    .property-grid .property-card__facts {
        margin-bottom: 7px;
        gap: 6px 10px;
        font-size: .74rem;
    }

    .property-grid .property-card__description {
        display: none;
    }

    .property-grid .property-card__footer {
        padding-top: 8px;
        gap: 8px;
    }

    .property-grid .property-card__footer strong {
        font-size: .9rem;
    }

    .property-grid .property-card__footer > a {
        font-size: .74rem;
    }
}

@media (max-width: 650px) {
    .property-catalogue {
        padding: 55px 0 75px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-search .property-search__fields {
        grid-template-columns: 1fr;
    }

    .catalogue-search .property-search__inner {
        padding: 18px;
    }

    .property-card__body {
        padding: 21px;
    }

    .property-detail-heading__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .property-detail-price {
        text-align: left;
    }

    .property-gallery {
        display: flex;
        margin-right: -14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .property-gallery__item {
        width: 86vw;
        height: 290px;
        flex: 0 0 86vw;
        scroll-snap-align: start;
    }

    .property-description,
    .property-summary {
        padding: 25px 21px;
    }

    .property-equipment-list {
        grid-template-columns: 1fr;
    }

    .lightbox {
        padding: 65px 12px 35px;
    }

    .lightbox__previous,
    .lightbox__next {
        top: auto;
        bottom: 20px;
    }

    .lightbox__previous {
        left: calc(50% - 60px);
    }

    .lightbox__next {
        right: calc(50% - 60px);
    }

    .lightbox__caption {
        padding-bottom: 52px;
    }
}
