/* =====================================================
   JanelTrip Property Enhancer
   Safe visual-only upgrades for single property pages
===================================================== */

body.single-property {
    background: #fff;
}

body.single-property .site-main,
body.single-property main,
body.single-property .entry-content {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

/* Wider premium property layout */
body.single-property .abs-property-wrap,
body.single-property .abs-single-property,
body.single-property .property-single-wrap,
body.single-property .property-detail-wrap {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 30px 24px 70px !important;
}

/* Title area */
body.single-property h1,
body.single-property .entry-title {
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.08 !important;
    color: #0b3327 !important;
    font-weight: 850 !important;
    margin-bottom: 8px !important;
}

/* Premium gallery treatment */
body.single-property .abs-gallery,
body.single-property .property-gallery,
body.single-property .property-images,
body.single-property .gallery-grid {
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 70px rgba(0,90,65,.12) !important;
    margin: 24px 0 34px !important;
}

body.single-property .abs-gallery img,
body.single-property .property-gallery img,
body.single-property .property-images img,
body.single-property .gallery-grid img {
    object-fit: cover !important;
    transition: transform .45s ease !important;
}

body.single-property .abs-gallery img:hover,
body.single-property .property-gallery img:hover,
body.single-property .property-images img:hover,
body.single-property .gallery-grid img:hover {
    transform: scale(1.04) !important;
}

/* Main content + booking sidebar layout */
body.single-property .abs-property-content,
body.single-property .property-main-grid,
body.single-property .single-property-content,
body.single-property .property-content-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 42px !important;
    align-items: start !important;
}

/* Booking card sticky + premium */
body.single-property .abs-booking-box,
body.single-property .booking-card,
body.single-property .reservation-card,
body.single-property .property-booking-card,
body.single-property form[id*="booking"],
body.single-property form[class*="booking"] {
    border-radius: 24px !important;
    border: 1px solid #e8f3ec !important;
    box-shadow: 0 24px 70px rgba(0,90,65,.14) !important;
    background: #fff !important;
}

body.single-property .abs-booking-box,
body.single-property .booking-card,
body.single-property .reservation-card,
body.single-property .property-booking-card {
    position: sticky !important;
    top: 26px !important;
}

/* Booking buttons */
body.single-property button,
body.single-property .abs-btn,
body.single-property input[type="submit"] {
    border-radius: 999px !important;
}

body.single-property button[type="submit"],
body.single-property .reserve,
body.single-property .book-now,
body.single-property #book-now,
body.single-property #reserve,
body.single-property #abs-book-now,
body.single-property #abs-reserve {
    background: #ff385c !important;
    color: #fff !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 28px rgba(255,56,92,.25) !important;
}

/* Amenities / highlights */
body.single-property .amenities,
body.single-property .abs-amenities,
body.single-property .property-amenities,
body.single-property .offers-list {
    background: #fbfffc !important;
    border: 1px solid #e3f4e9 !important;
    border-radius: 26px !important;
    padding: 28px !important;
    box-shadow: 0 14px 45px rgba(0,90,65,.07) !important;
}

body.single-property .amenities li,
body.single-property .abs-amenities li,
body.single-property .property-amenities li {
    padding: 10px 0 !important;
}

/* Injected trust bar */
.jt-property-trustbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 22px 0 30px;
}

.jt-property-trustbar div {
    background: #f1fbf4;
    border: 1px solid #dceee4;
    color: #045d43;
    padding: 16px;
    border-radius: 18px;
    font-weight: 800;
    text-align: center;
}

/* Injected host card */
.jt-host-card {
    margin: 34px 0;
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f6fff8, #ffffff);
    border: 1px solid #e3f4e9;
    box-shadow: 0 14px 45px rgba(0,90,65,.08);
}

.jt-host-card h3 {
    color: #045d43;
    font-size: 26px;
    margin: 0 0 8px;
}

.jt-host-card p {
    color: #5f7469;
    margin: 0;
    line-height: 1.6;
}

.jt-host-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.jt-host-badges span {
    background: #fff;
    border: 1px solid #dceee4;
    border-radius: 999px;
    padding: 9px 13px;
    color: #045d43;
    font-weight: 800;
    font-size: 13px;
}

/* Injected local experience block */
.jt-local-experience {
    margin: 34px 0;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0,90,65,.94), rgba(20,130,80,.88));
    color: #fff;
    box-shadow: 0 24px 70px rgba(0,90,65,.18);
}

.jt-local-experience h3 {
    font-size: 30px;
    margin: 0 0 10px;
    color: #fff;
}

.jt-local-experience p {
    margin: 0;
    color: rgba(255,255,255,.86);
    line-height: 1.7;
}

/* Mobile bottom CTA */
.jt-mobile-reserve-bar {
    display: none;
}

@media (max-width: 900px) {
    body.single-property .abs-property-content,
    body.single-property .property-main-grid,
    body.single-property .single-property-content,
    body.single-property .property-content-grid {
        display: block !important;
    }

    body.single-property .abs-booking-box,
    body.single-property .booking-card,
    body.single-property .reservation-card,
    body.single-property .property-booking-card {
        position: relative !important;
        top: auto !important;
        margin-top: 28px !important;
    }

    .jt-property-trustbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .jt-mobile-reserve-bar {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border: 1px solid #e8f3ec;
        box-shadow: 0 18px 50px rgba(0,0,0,.18);
        border-radius: 999px;
        padding: 10px 12px 10px 18px;
    }

    .jt-mobile-reserve-bar strong {
        color: #045d43;
        font-size: 16px;
    }

    .jt-mobile-reserve-bar button {
        background: #ff385c;
        color: #fff;
        border: none;
        padding: 12px 18px;
        border-radius: 999px;
        font-weight: 800;
    }
}

@media (max-width: 600px) {
    .jt-property-trustbar {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CLICKABLE HOST CARD
=============================== */
.jt-property-host-card {
    background: #fff;
    border: 1px solid #e3f4e9;
    border-radius: 24px;
    padding: 26px;
    margin: 28px 0;
    box-shadow: 0 14px 35px rgba(0,90,65,.08);
}

.jt-property-host-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.jt-property-host-avatar {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #e9f8ef;
}

.jt-property-host-badge {
    display: inline-block;
    background: #f1fbf4;
    color: #045d43;
    border: 1px solid #dceee4;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.jt-property-host-info h3 {
    color: #045d43;
    font-size: 24px;
    margin: 0 0 8px;
}

.jt-property-host-info p {
    color: #5f7469;
    line-height: 1.6;
    margin: 0 0 14px;
}

.jt-property-host-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jt-property-host-tags span {
    background: #f7fbf8;
    border: 1px solid #e3f4e9;
    color: #045d43;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.jt-property-host-btn {
    display: inline-flex;
    margin-top: 20px;
    background: #ff385c;
    color: #fff !important;
    padding: 13px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.jt-property-host-btn:hover {
    transform: translateY(-2px);
    opacity: .92;
}

@media (max-width: 700px) {
    .jt-property-host-main {
        flex-direction: column;
    }
}