/* =========================================================
   MAX PROPERTIES
   PROPERTY SHOWCASE
========================================================= */

.properties-showcase {
    position: relative;
    padding: 100px 0 110px;
    overflow: hidden;
}

.properties-showcase > .large-container {
    width: calc(100% - 80px);
    max-width: 1480px;
    margin: 0 auto;
}


/* =========================================================
   SHOWCASE HEADER
========================================================= */

.properties-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 42px;
}

.properties-showcase-title {
    max-width: 680px;
}

.properties-showcase-title .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.properties-showcase-title .sub-title:before {
    content: "";
    width: 28px;
    height: 2px;
    display: inline-block;
    background: currentColor;
}

.properties-showcase-title h2 {
    margin: 0 0 12px;
}

.properties-showcase-title p {
    max-width: 610px;
    margin: 0;
}


/* =========================================================
   HEADER CTA
========================================================= */

.properties-showcase-btn.theme-btn.btn-two {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 0 24px;
    overflow: hidden;
    color: #fff;
    background: #2dbe6c;
    border: 1px solid #2dbe6c;
    border-radius: 6px;
    box-shadow: 0 7px 18px rgba(45, 190, 108, 0.16);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
    z-index: 1;
}

.properties-showcase-btn.theme-btn.btn-two:before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.14);
    transform: skewX(-18deg);
    transition: left 0.5s ease;
    z-index: -1;
}

.properties-showcase-btn.theme-btn.btn-two:hover:before {
    left: 110%;
}

.properties-showcase-btn.theme-btn.btn-two:hover {
    color: #fff;
    background: #2dbe6c;
    border-color: #2dbe6c;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(45, 190, 108, 0.28);
}

.properties-showcase-btn.theme-btn.btn-two i {
    transition: transform 0.35s ease;
}

.properties-showcase-btn.theme-btn.btn-two:hover i {
    transform: translateX(5px);
}

.properties-showcase-btn.theme-btn.btn-two:focus-visible {
    outline: 3px solid rgba(45, 190, 108, 0.25);
    outline-offset: 3px;
}


/* =========================================================
   PROPERTY GRID
========================================================= */

.properties-box-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}


/* =========================================================
   PROPERTY CARD
========================================================= */

.property-box {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.055);
    transition:
        transform 0.4s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* =========================================================
   DARK GRAY BOTTOM BORDER
========================================================= */

.property-box:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #3f4146;
    transform: scaleX(0.45);
    transform-origin: center;
    transition:
        height 0.35s ease,
        transform 0.4s ease,
        background 0.35s ease;
    z-index: 6;
}

.property-box:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

.property-box:hover:after {
    height: 4px;
    transform: scaleX(1);
    background: #3f4146;
}


/* =========================================================
   PROPERTY IMAGE
========================================================= */

.property-box-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #f3f4f6;
}

.property-box-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.7s cubic-bezier(.2, .8, .2, 1),
        filter 0.5s ease;
}

.property-box:hover .property-box-image img {
    transform: scale(1.08);
    filter: brightness(0.94);
}

.property-box-image-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0.02) 45%,
        rgba(0, 0, 0, 0.42) 100%
    );
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.property-box:hover .property-box-image-shade {
    opacity: 1;
}


/* =========================================================
   PROPERTY STATUS
========================================================= */

.property-box-status {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.property-box-status > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.property-box:hover .property-box-status > span {
    transform: translateY(-2px);
}

.property-box-featured {
    margin-left: auto;
}

.property-box-featured i {
    font-size: 10px;
}


/* =========================================================
   IMAGE ACTION
========================================================= */

.property-box-image-link {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(8px);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        box-shadow 0.35s ease;
}

.property-box-image-link i {
    font-size: 13px;
    transition: transform 0.35s ease;
}

.property-box:hover .property-box-image-link {
    opacity: 1;
    transform: translateY(0);
}

.property-box-image-link:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.property-box-image-link:hover i {
    transform: rotate(8deg);
}


/* =========================================================
   PROPERTY CONTENT
========================================================= */

.property-box-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 20px 18px;
}

.property-box-location {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.property-box-location i {
    flex-shrink: 0;
    font-size: 11px;
}

.property-box-location span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-box-title {
    min-height: 50px;
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.4;
}

.property-box-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: opacity 0.3s ease;
}

.property-box-title a:hover {
    opacity: 0.72;
}

.property-box-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   DIVIDER
========================================================= */

.property-box-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.07);
}


/* =========================================================
   PROPERTY SPECS
========================================================= */

.property-box-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.property-box-spec {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.property-box-spec i {
    flex-shrink: 0;
    font-size: 13px;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.property-box-spec:hover i {
    transform: translateY(-2px);
}

.property-box-spec div {
    min-width: 0;
}

.property-box-spec strong,
.property-box-spec span {
    display: block;
}

.property-box-spec strong {
    font-size: 13px;
    line-height: 1.2;
}

.property-box-spec span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}


/* =========================================================
   PROPERTY FOOTER
========================================================= */

.property-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.property-box-code {
    max-width: 42%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.7;
}

.property-box-view {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        gap 0.3s ease,
        opacity 0.3s ease;
}

.property-box-view:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: #3f4146;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.property-box-view i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.property-box-view:hover {
    gap: 10px;
}

.property-box-view:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.property-box-view:hover i {
    transform: translateX(3px);
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.properties-showcase-bottom {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.properties-showcase-bottom .theme-btn.btn-one {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 0 25px;
    overflow: hidden;
	color: #fff;
	background-color:var(--primary-color);;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.properties-showcase-bottom .theme-btn.btn-one i {
    transition: transform 0.35s ease;
}

.properties-showcase-bottom .theme-btn.btn-one:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--primary-black-color);;
}

.properties-showcase-bottom .theme-btn.btn-one:hover i {
    transform: translateX(5px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.properties-box-empty {
    padding: 70px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
}

.properties-box-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    font-size: 23px;
}

.properties-box-empty h3 {
    margin-bottom: 8px;
}

.properties-box-empty p {
    margin: 0;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media only screen and (min-width: 1600px) {
    .properties-showcase > .large-container {
        width: calc(100% - 140px);
        max-width: 1500px;
    }

    .properties-box-grid {
        gap: 28px;
    }

    .property-box-image {
        height: 210px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media only screen and (max-width: 1399px) {
    .properties-showcase > .large-container {
        width: calc(100% - 70px);
    }

    .properties-box-grid {
        gap: 23px;
    }

    .property-box-content {
        padding-right: 18px;
        padding-left: 18px;
    }
}


/* =========================================================
   TABLET LANDSCAPE
========================================================= */

@media only screen and (max-width: 1199px) {
    .properties-showcase > .large-container {
        width: calc(100% - 60px);
    }

    .properties-box-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .property-box-image {
        height: 210px;
    }

    .properties-showcase-header {
        margin-bottom: 35px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media only screen and (max-width: 991px) {
    .properties-showcase {
        padding: 80px 0 90px;
    }

    .properties-showcase > .large-container {
        width: calc(100% - 50px);
    }

    .properties-showcase-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .properties-showcase-btn {
        align-self: flex-start;
    }

    .properties-box-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}


/* =========================================================
   MOBILE LANDSCAPE
========================================================= */

@media only screen and (max-width: 767px) {
    .properties-showcase {
        padding: 70px 0 80px;
    }

    .properties-showcase > .large-container {
        width: calc(100% - 36px);
    }

    .properties-showcase-header {
        margin-bottom: 30px;
    }

    .properties-box-grid {
        gap: 18px;
    }

    .property-box-image {
        height: 205px;
    }

    .property-box-content {
        padding: 17px;
    }

    .property-box-title {
        font-size: 17px;
    }

    .property-box-price {
        font-size: 17px;
    }

    .property-box:after {
        height: 3px;
        transform: scaleX(0.6);
    }

    .property-box:hover:after {
        height: 3px;
        transform: scaleX(1);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 575px) {
    .properties-showcase > .large-container {
        width: calc(100% - 28px);
    }

    .properties-box-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-box-image {
        height: 225px;
    }

    .property-box-content {
        padding: 18px;
    }

    .property-box-image-link {
        opacity: 1;
        transform: translateY(0);
    }

    .property-box:after {
        height: 3px;
        transform: scaleX(0.7);
    }

    .properties-showcase-btn.theme-btn.btn-two {
        width: 100%;
    }

    .properties-showcase-bottom .theme-btn {
        width: 100%;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .property-box,
    .property-box:after,
    .property-box img,
    .property-box-image-link,
    .property-box-image-link i,
    .property-box-view,
    .property-box-view i,
    .properties-showcase-btn,
    .properties-showcase-btn:before,
    .properties-showcase-btn i,
    .properties-showcase-bottom .theme-btn,
    .properties-showcase-bottom .theme-btn i {
        transition: none !important;
    }

    .property-box:hover {
        transform: none;
    }

    .property-box:hover:after {
        height: 3px;
        transform: scaleX(0.6);
    }

    .properties-showcase-btn:hover,
    .properties-showcase-bottom .theme-btn:hover {
        transform: none;
    }
}