/* =========================================================
   PROPERTY DETAILS PAGE
========================================================= */

body {
    background: #f7f8f5; 
    color: #263326;
}
html {
    scroll-behavior: smooth;
}

#property-location {
    scroll-margin-top: 90px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.property-top {
    padding: 18px 0 8px;
}

.property-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #777;
}

.property-breadcrumb a {
    color: #4b8f29;
    text-decoration: none;
}

.property-breadcrumb strong {
    color: #333;
}


/* =========================================================
   MAIN PROPERTY
========================================================= */

.property-details-section {
    padding: 15px 0 35px;
}


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

.property-gallery {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.main-property-image {
    position: relative;
    width: 100%;
    height: 355px;
    overflow: hidden;
    border-radius: 9px;
    background: #eee;
}

.main-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #4b8f29;
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.gallery-area {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    padding: 7px 14px;
    border-radius: 5px;
    font-weight: 700;
}


.property-thumbnails {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    overflow-x: auto;
}

.property-thumbnail {
    border: 2px solid transparent;
    padding: 0;
    background: transparent;
    min-width: 78px;
    width: 78px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.property-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-thumbnail.active {
    border-color: #4b8f29;
}


/* =========================================================
   MAIN INFO
========================================================= */

.property-main-info {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.property-type-label {
    display: inline-block;
    background: #edf7e9;
    color: #4b8f29;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.property-main-info h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 800;
    color: #18251b;
    letter-spacing: -0.3px;
}

.property-location-large {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #686868;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.property-location-large span {
    color: #4b8f29;
    font-weight: 700;
    flex: 0 0 20px;
    text-align: center;
}

.property-location-large i {
    font-size: 17px;
}


/* =========================================================
   QUICK INFO
========================================================= */

.quick-property-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.quick-info-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 13px 8px;
    border-bottom: 1px solid #eee;
}

.quick-info-item:nth-child(odd) {
    border-right: 1px solid #eee;
}

.quick-info-item span {
    width: 38px;
    min-width: 38px;
    height: 38px;

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

    background: #edf7e9;
    color: #4b8f29;
    border-radius: 50%;

    font-weight: 700;
    flex-shrink: 0;
}

.quick-info-item span i {
    font-size: 17px;
    line-height: 1;
    display: block;
}

.quick-info-item small {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 2px;
}

.quick-info-item strong {
    display: block;
    color: #222;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 3px;
}


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

.property-description {
    padding-top: 18px;
}

.property-description h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.property-description p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}


/* =========================================================
   CONTACT BOX
========================================================= */

.contact-property-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border-top: 4px solid #4b8f29;
}

.contact-property-box h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-property-box > p {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-property-box form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-property-box input,
.contact-property-box textarea {
    font-size: 13px;
    border-color: #e2e2e2;
    box-shadow: none !important;
}

.contact-submit,
.contact-whatsapp {
    text-align: center;
    padding: 11px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.contact-submit {
    background: #4b8f29;
    color: #fff;
}

.contact-whatsapp {
    background: #eef8ea;
    color: #3f7d22;
}

.contact-trust {
    margin-top: 15px;
    background: #f7faf5;
    padding: 11px;
    border-radius: 7px;
    color: #4b8f29;
    font-size: 11px;
    line-height: 1.8;
}


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

.property-extra-section {
    padding: 15px 0 40px;
}

.detail-box {
    background: #fff;
    height: 100%;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.detail-box h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 17px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
    border-bottom: 0;
}

.feature-list li span {
    color: #4b8f29;
    font-weight: 800;
}

.no-data {
    color: #888;
    font-size: 13px;
}


/* =========================================
   WHY BUY THIS LAND
========================================= */

.why-buy-box {
    padding: 20px 18px;
}

.why-buy-box h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 22px;
    text-align: left;
}

.why-buy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: start;
}

.why-buy-item {
    text-align: center;
    min-width: 0;
}

.why-buy-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 9px;

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

    border-radius: 50%;

    background: #f1f8ec;

    color: #4b8f29;
}

.why-buy-icon span {
    font-size: 22px;
    line-height: 1;
}

.why-buy-item p {
    margin: 0;

    color: #333;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.35;
}

@media (max-width: 575px) {

    .why-buy-grid {
        gap: 5px;
    }

    .why-buy-icon {
        width: 42px;
        height: 42px;
    }

    .why-buy-icon span {
        font-size: 19px;
    }

    .why-buy-item p {
        font-size: 10px;
    }

}


/* =========================================================
   MAP
========================================================= */

.property-map-section {
    padding: 10px 0 45px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 22px;
}

.section-title span {
    width: 45px;
    height: 2px;
    background: #4b8f29;
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.map-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.map-wrapper iframe {
    display: block;
}

.map-empty {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #777;
}

.map-empty span {
    font-size: 40px;
    color: #4b8f29;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.property-bottom-cta {
    padding: 0 0 50px;
}

.property-cta-inner {
    background: #4b8f29;
    color: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.property-cta-inner.new {
  padding: 20px 20px !important;
}

.property-cta-inner.new h2 {
    font-size: 15px !important;
}

.property-cta-inner span {
    font-size: 13px;
    opacity: .9;
}

.property-cta-inner h2 {
    margin: 5px 0 0;
    font-size: 23px;
    font-weight: 800;
}

.property-cta-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.property-cta-buttons a {
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}



.cta-phone {
    background: #fff;
    color: #4b8f29;
}

.cta-whatsapp {
    background: #2f6d1b;
    color: #fff;
}

.contact-whatsapp:hover{
    background: #2f6d1b;
    color: #fff;
}

.property-cta-buttons a:hover{
    background: #2f6d1b;
    color: #fff;
}

.contact-submit:hover{
    background: #2f6d1b;
    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #182218;
    color: #fff;
    padding: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}

.footer-bottom a {
    color: #b7dca8;
    text-decoration: none;
}


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

@media (max-width: 991px) {

    .main-property-image {
        height: 320px;
    }

    .property-main-info h1 {
        font-size: 24px;
    }

}


@media (max-width: 767px) {

    .main-property-image {
        height: 280px;
    }

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

    .quick-info-item:nth-child(odd) {
        border-right: 0;
    }

    .property-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .property-cta-buttons {
        width: 100%;
    }

    .property-cta-buttons a {
        flex: 1;
        text-align: center;
    }

}


.quick-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #eaf6e5;
    color: #3b8e22;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}

.quick-location-btn:hover {
    background: #3b8e22;
    color: #fff;
    text-decoration: none;
}





/* ==========================================
   PROPERTY VIDEOS
========================================== */

.property-videos-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e8e8e8;
}

.property-videos-header {
    margin-bottom: 16px;
}

.property-videos-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.property-videos-header h3 i {
    margin-right: 7px;
}

.property-videos-header p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

.property-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.property-video-card {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.property-video {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 767px) {

    .property-videos-section {
        padding: 15px;
    }

    .property-video {
        height: 210px;
    }

}






.main-property-image {
    position: relative;
}


/* =========================================
   BEST DEAL RIBBON - RIGHT SIDE
   ========================================= */

.hot-deal-badge {
    position: absolute;
    top: 14px;
    right: 0;

    width: 186px;
    height: 60px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    /* Text left side, icon right side */
    padding: 0 105px 0 32px; 

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #ff3b24 0%,
            #e9160b 42%,
            #c90702 72%,
            #a90400 100%
        );

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.05;

    text-transform: uppercase;
    letter-spacing: 0;

    z-index: 20;

    /*
     * RIGHT-SIDE MIRRORED RIBBON
     *
     * LEFT  = V CUT
     * RIGHT = ROUND / FINISHED END
     */
    clip-path: polygon(
        10px 0,
        calc(100% - 24px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 24px) 100%,
        10px 100%,
        0 calc(100% - 8px),
        28px 50%,
        0 8px
    );

    /* Outer depth */
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .35));

    border: 3px solid rgba(255, 255, 255, .85);
}


/* =========================================
   FIRE ICON CIRCLE - RIGHT SIDE
   ========================================= */

.hot-deal-badge::before {
    content: "🔥";

    position: absolute;

    right: 22px;
    top: 14px;

    width: 26px;
    height: 26px;

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

    box-sizing: border-box;

    border-radius: 50%;

    font-size: 12px;
    line-height: 1;

    background:
        radial-gradient(
            circle,
            #ff4a19 0%,
            #ed1709 65%,
            #c50802 100%
        );

    border: 4px solid #ffd83d;

    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, .35),
        0 2px 4px rgba(0, 0, 0, .3);

    z-index: 5;
}


/* =========================================
   DASHED INNER BORDER - MIRRORED
   ========================================= */

.hot-deal-badge::after {
    content: "";

    position: absolute;

    top: 8px;
    left: 10px;
    right: 10px;
    bottom: 8px;

    border: 2px dashed rgba(255, 255, 255, .9);

    pointer-events: none;

    z-index: 4;

    /*
     * LEFT V-CUT
     * RIGHT FINISHED EDGE
     */
    clip-path: polygon(
        17px 0,
        calc(100% - 5px) 0,
        100% 8px,
        100% calc(100% - 8px),
        calc(100% - 5px) 100%,
        17px 100%,
        0 calc(100% - 15px),
        25px 50%,
        0 15px
    );
}


/* =========================================
   BADGE TEXT
   ========================================= */

.hot-deal-badge > span {
    position: relative;

    z-index: 6;

    display: block;

    width: 100%;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;

    color: #fff;

    text-align: left;
}


/* ==========================================
   PROPERTY DETAIL SHARE BUTTON
========================================== */

.property-share-btn {
    position: absolute;
    bottom: 18px;
    right: 18px;

    width: 48px;
    height: 48px;

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

    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: #176b2b;
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    z-index: 20;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.property-share-btn:hover {
    background: #125921;
    transform: scale(1.08);

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.30);
}

.property-share-btn:active {
    transform: scale(0.95);
}

.property-share-btn i {
    line-height: 1;
}