/* =========================================
   PANDEN LISTING
========================================= */

.panden-listing {
    width: 100%;
}

.panden-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 54px;
    row-gap: 42px;
}


/* =========================================
   CARD
========================================= */

.panden-card {
    min-width: 0;
}


/* =========================================
   IMAGE
========================================= */

.panden-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: 258px;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.panden-featured-image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.panden-card:hover .panden-featured-image {
    transform: scale(1.04);
}


/* =========================================
   PROPERTY TYPE
========================================= */

.panden-property-type {
    position: absolute;
    top: 10px;
    right: 10px;

    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 6px 20px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.90);

    color: #1E1E1E;

    font-size: 14px;
    font-weight: 400;
    line-height: 1;

    backdrop-filter: blur(5px);
}


/* =========================================
   COMING SOON
========================================= */

.panden-coming-soon {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(60, 60, 60, 0.45);

    color: #fff;

    font-size: 16px;
    font-weight: 600;

    text-align: center;
}


/* =========================================
   TITLE
========================================= */

.panden-card-content {
    padding-top: 17px;
}

.panden-card-title {
    margin: 0 0 10px;
    padding: 0;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.panden-card-title a {
    color: #1E1E1E;
    font-size: 18px;
    text-decoration: none;
}


/* =========================================
   BOTTOM ROW
========================================= */

.panden-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =========================================
   LOCATION
========================================= */

.panden-location {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #606060;

    font-size: 18px;
    line-height: 1.4;
}

.panden-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #264E51;
}

.panden-location-icon svg {
    display: block;
}


/* =========================================
   LEARN MORE
========================================= */

.panden-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    flex-shrink: 0;

    color: #1E1E1E;

    font-size: 17px;
    line-height: 1.4;

    text-decoration: none;

    transition: opacity 0.2s ease;
}

.panden-card-link:hover {
    opacity: 0.7;
}

.panden-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   NO IMAGE
========================================= */

.panden-no-image {
    width: 100%;
    height: 100%;
    background: #E0E0E0;
}


/* =========================================
   NO RESULTS
========================================= */

.panden-no-results {
    padding: 40px 20px;
    text-align: center;
}


/* =========================================
   TABLET
========================================= */



/* =========================================
   PROPERTY SINGLE PAGE
========================================= */

.property-single {
    background: #fff;
    color: #1E1E1E;
    font-family: inherit;
}

.property-container {
    width: min(1150px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.property-header {
    padding: 45px 0 20px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #606060;
}


.property-location svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #264E51;
    stroke-width: 1.8;
}


.property-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}


.property-heading-row h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}


.property-price {
    margin-top: 20px;

    font-size: 24px;
    font-weight: 500;
    color: #606060;
}


.property-contact-buttons {
    display: flex;
    gap: 8px;
    padding-top: 5px;
}


.property-icon-button {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    background: #F6F6F5;

    color: #1E1E1E;
    text-decoration: none;

    transition: .2s ease;
}


.property-icon-button:hover {
    background: #E0E0E0;
}


.property-icon-button svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: #264E51;
    stroke-width: 1.7;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.property-featured-image {
    margin-top: 0px;

    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}


.property-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   CONTENT GRID
========================================= */

.property-content-section {
    padding: 20px 0 10px;
}


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


.property-main-content {
    min-width: 0;
}


/* =========================================
   DESCRIPTION
========================================= */

.property-description {
    background: #F6F6F5;
    padding: 30px;
    font-size: 16px;
    line-height: 1.65;
    color: #606060;
    margin-bottom: 30px;
    border-radius: 12px;
}


.property-description p {
    margin: 0 0 15px;
}


.property-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   DETAILS
========================================= */

.property-details {
    margin-top: 0px;
    padding: 32px;

    background: #F6F6F5;
}


.property-details h3 {
    margin: 0 0 25px;
    font-size: 23px !important;
    font-weight: 700 !important;
}


.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 70px;
    row-gap: 20px;
}


.property-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.property-detail span {
    font-size: 14px;
    color: #8F8F8F;
    font-weight: bold;
}


.property-detail strong {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
}


/* =========================================
   AGENT
========================================= */

.property-agent {
    padding: 20px;

    background: #F6F6F5;
}


.property-agent h4 {
    margin: 0 0 12px;
    font-size: 23px !important;
    font-weight: 600 !important;
}

.agent-image {
    width: 100%;
    /* aspect-ratio: 1.7 / 1; */
    margin-bottom: 12px;
    overflow: hidden;
    text-align: center;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}


.agent-image img {
    width: 150px;
    height: 150px;
    display: block;
    object-fit: cover;
    border-radius: 50% !important;
    border: 4px solid #8F8F8F !important;
}


.property-agent h3 {
    margin: 0 0 8px;
    font-size: 20px !important;
    font-weight: 600;
    text-align: center;
}


.agent-role {
    margin-bottom: 10px;
text-align: center;
    font-size: 16px !important;
    color: #8F8F8F;
}


.agent-contact {
    
    text-align: center !important;
    justify-content: center;

    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 0px;

    
    font-size: 14px;

    color: #1E1E1E;

    text-decoration: none;
}


.agent-contact svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #264E51;
    stroke-width: 1.6;
}

.main-gallery .swiper-slide {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.property-gallery-wrapper {
    width: 100%;
    margin: 0 auto;
    /* border-radius: 12px; */
    box-shadow: 5px;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    margin-top: 30px;
    background: #F6F6F5;
    padding: 30px;
}
.main-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 20px !important;
    transition: .4s ease;
}
.main-gallery .swiper-button-next, .main-gallery .swiper-button-prev {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    color: #264E51;
    transition: .3s;
}
.gallery-thumbs {
    margin-top: 20px;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1 !important;
}
.gallery-thumbs .swiper-slide:hover {
    opacity: 1;
    transform: translateX(4px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}

.gallery-thumbs .swiper-slide {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    opacity: .45;
    transition: .35s ease;
    cursor: pointer;
}
.gallery-thumbs .swiper-slide-thumb-active img {
    border-color: #264E51;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transform: scale(1.03);
    
    border-radius: 10px !important;
    border: 2px solid #264E51;
}
.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid transparent;
    transition: .35s ease;
}
/* =========================================
   GALLERY
========================================= */

.property-gallery {
    margin-top: 28px;
    padding: 25px;

    background: #F6F6F5;
}


.gallery-main {
    position: relative;

    width: 100%;
    aspect-ratio: 1.65 / 1;

    overflow: hidden;
}


.gallery-main img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.gallery-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: rgba(255,255,255,.7);

    cursor: pointer;

    font-size: 25px;
    line-height: 1;
}


.gallery-prev {
    left: 10px;
}


.gallery-next {
    right: 10px;
}


.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;

    margin-top: 6px;
}


.gallery-thumbnail {
    height: 65px;

    padding: 0;

    border: 2px solid transparent;
    overflow: hidden;

    background: #E0E0E0;

    cursor: pointer;
}


.gallery-thumbnail.active {
    border-color: #1E1E1E;
}


.gallery-thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

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

    .property-agent {
        order: -1;
    }

}


@media (max-width: 600px) {

    .property-container {
        width: min(100% - 24px, 1150px);
    }

    .property-header {
        padding-top: 30px;
    }

    .property-heading-row {
        flex-direction: column;
        gap: 15px;
    }

    .property-heading-row h1 {
        font-size: 32px;
    }

    .property-featured-image {
        aspect-ratio: 1.5 / 1;
        margin-top: 22px;
    }

    .property-description,
    .property-details,
    .property-gallery {
        padding: 20px;
    }

    .property-details-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 25px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-thumbnail {
        height: 55px;
    }

}

@media (max-width: 991px) {

    .panden-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 35px;
    }

    .panden-card-image {
        height: 250px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .panden-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .panden-card-image {
        height: auto;
        aspect-ratio: 1.45 / 1;
    }

    .panden-location {
        font-size: 16px;
    }

    .panden-card-link {
        font-size: 16px;
    }

}