#c27-site-wrapper {
    background: #fff;
}

.i-section.explore-type-4 .container {
    padding: 0px;
    max-width: var(--listsite-site-width);
}

.finder-one-columns .explore-type-4 .container {
    width: 100% !important;
}

.finder-one-columns .explore-type-4 .container .explore-classic-sidebar {
    width: 45%
}

.finder-one-columns .explore-type-4 .container .explore-classic-sidebar > .element {
    position: relative;
    z-index: 11;
}

.finder-one-columns .explore-type-4 .container .explore-classic-content {
    width: 67% !important;
}



a.expand-map-btn {
    right: 30px;
}

.collapse-map-btn {
    top: 10px;
}

.i-section.explore-type-4 + #finderMap {
    display: none;
}
.i-section.explore-type-4.map-expanded + #finderMap {
    display: block;
    width: 50%;
}
.i-section.explore-type-4.map-expanded .explore-classic-sidebar {
    display: none;
}
.i-section.explore-type-4.map-expanded .container {
    width: 100%;
    max-width: 100%;
}
.finder-one-columns .explore-type-4.map-expanded .container .explore-classic-content {
    width: 50% !important;
    padding-right: 30px;
}

.listing-live-preview-card {
    display: flex;
    position: fixed;
    z-index: 9;
    width: 50%;
    left: 25%; 
    top: 37%; 
    transform: translate(-50%, -50%); 
    justify-content: center;
}

/*.woocommerce-MyAccount-content .i-section .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.listing-live-preview-card {
    flex: 1; 
    width: 50%; 
    position: sticky;
    left: 25%; 
    top: 50%;  
    height: auto; 
}

.woocommerce-MyAccount-content .i-section .container {
    flex: 2; 
    width: 100%;
}
*/


/* .lf-item-container {
    box-shadow: inset 0 0 0 .0625rem #dddfe4;
} */

.lf-item-container {
    border-radius: unset;
    box-shadow: unset;
    overflow: hidden;
}

.lf-item {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background-color: #fff;
/*    margin-bottom: 16px;*/
    height: auto;
    min-height: 250px;
}

.lf-item .property-card-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    cursor: pointer;
    /* overflow: hidden; */
    /* border-style: var(--listsite-cards-border-style);
    border-width: var(--listsite-cards-border-width);
    border-color: var(--listsite-cards-border-color); */
    box-shadow: inset 0 0 0 var(--listsite-cards-border-width, 1px) var(--listsite-cards-border-color, #ccc);
    border-radius: var(--listsite-cards-border-radius);
}


.card-left-panel {
    flex: 2;
    position: relative;
    max-width: 35%;
    overflow: hidden;
    /* outline: 2px solid #fff; */
    background-color: transparent;
    border-radius:  var(--listsite-cards-border-radius) 0px 0px var(--listsite-cards-border-radius);
    /* border-radius: var(--listsite-cards-border-radius); */
    /* margin: 5px; */
}

.card-left-panel .lf-background {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.card-left-panel .lf-avatar {
    top: 10px;
}

/* .card-left-panel .certified-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 20;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.certified-badge .badge-template {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
} */
.show-more-btn {
    margin-top: 10px;
    text-align: left;
}
.show-more-btn a {
    color: var(--accent, #16a085);
    font-weight: 500;
    cursor: pointer;
}

.certified-badge {
    position: absolute;
    top: var(--listsite-explore-certified-badge-position-from-top);
    right: var(--listsite-explore-certified-badge-position-from-right);
    bottom: var(--listsite-explore-certified-badge-position-from-bottom);
    left: var(--listsite-explore-certified-badge-position-from-left);
    width: var(--listsite-explore-certified-badge-width);
    height: var(--listsite-explore-certified-badge-height);
    z-index: 30;
    overflow: hidden;
    background: transparent;
    border-radius: 6px;
}

.certified-badge .badge-template {
    width: 100%;
    height: 100%;
    transform: scale(1); /* Adjust to fit large templates */
    transform-origin: bottom left;
    pointer-events: none; /* Optional: disable links/buttons inside template */
}

/* Optional: prevent Elementor template from breaking the container */
.certified-badge .elementor {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* .certified-badge .badge-template img {
    border-radius: 50px;
} */


.property-info-container {
    padding: 1rem 1rem .5rem;
    width: 65%;
    color: #121417;
    display: flex;
    flex: 2;
    flex-direction: column;
/*    justify-content: space-between;*/
    flex-grow: 1;
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .00625rem;
    line-height: 1.25rem;
    position: relative;

}

.listing-info-header {
    display: grid;
    grid-template-columns: 1fr min-content;
    color: #121417;
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .00625rem;
    line-height: 1.25rem;
/*    padding: .5rem 1rem;*/
    position: relative;
}

.listing-info-header .property-pins {
    align-items: flex-start;
    grid-column: 2;
    grid-row-end: 3;
    grid-row-start: 1;
    margin-left: 1rem;
    position: static;
    display: inline-flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-left: 1rem;
    position: absolute;
    right: 0rem;
    top: -.4rem;
    z-index: 2;
}

.lf-head {
    margin-top: 12px;
    position: relative;
    top: 0px;
    left: 0px;
    flex-wrap: inherit;
    gap: 5px;
}

.listing-info-header .property-name {
    grid-column: 1;
    margin-top: .5rem;
    font-family: Poppins,Inter,-apple-system,BlinkMacSystemFont,sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    font-weight: 700;
    grid-column: span 2;
    letter-spacing: -.00625rem;
    line-height: 1.625rem;
    overflow: hidden;
}

.listing-info-header .property-rating .lf-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap:var(--listsite-explore-cards-rating-strings-region-gap);
    margin-bottom: 0px;
}

.property-description p {
    padding-top: var(--listsite-explore-cards-tagline-padding-top);
    padding-right: var(--listsite-explore-cards-tagline-padding-right);
    padding-bottom: var(--listsite-explore-cards-tagline-padding-bottom);
    padding-left: var(--listsite-explore-cards-tagline-padding-left);
    font-size: var(--listsite-explore-cards-tagline-font-size);
    font-weight: var(--listsite-explore-cards-tagline-font-weight);
    color: var(--listsite-explore-cards-tagline-font-color);
}


.property-accommodations {
    color: #636c7d;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: flex-end;
    /* margin-top: 1rem; */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(36, 36, 41, 0.5);
}

.pc-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.pc-slides img {
    border-radius: 0;
}

.lf-item-container .pc-slider .gallery-nav {
    top: calc(50% - 16px);
}

.gallery-nav {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.pc-slide-prev, .pc-slide-next {
    display: inline-block;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-nav ul li {
    border: none;
}

.lf-item-container .gallery-nav ul li i:hover {
    border: none;
}

.listing-preview-title {
    font-size: var(--listsite-explore-cards-title-font-size);
    font-weight: var(--listsite-explore-cards-title-font-weight);
    color: var(--listsite-explore-cards-title-font-color);
    padding-top: var(--listsite-explore-cards-title-padding-top);
    padding-right: var(--listsite-explore-cards-title-padding-right);
    padding-bottom: var(--listsite-explore-cards-title-padding-bottom);
    padding-left: var(--listsite-explore-cards-title-padding-left);
    margin: 0;
    /* display: flex; */
    align-items: center;
    /* gap: 8px; */
}

.listing-preview-title img {
    height: 20px;
    margin-left: 5px;
    margin-bottom: 3px;
    width: 20px;
}

/* .lf-contact {
    display: flex;
    gap: 40px;
    margin: 8px 0;
    list-style: none;
    padding: 0;
} */

.skipped-info-fields .lf-contact{
    display: flex;
    margin-bottom: var(--listsite-explore-cards-terms-gap);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--listsite-explore-cards-terms-gap);
}

.skipped-info-fields .lf-contact li {
    font-size: var(--listsite-explore-cards-terms-font-size);
    font-weight: var(--listsite-explore-cards-terms-font-weight);
    color: var(--listsite-explore-cards-terms-font-color);
}

.lf-contact li {
    font-size: var(--listsite-explore-cards-rating-strings-font-size);
    font-weight: var(--listsite-explore-cards-rating-strings-font-weight);
    color: var(--listsite-explore-cards-rating-strings-font-color);
    /* margin-bottom: 4px; */
    display: flex;
    align-items: center;
}

.lf-contact li span:not(.listing-rating span) {
    margin-top: 4px;
}

.lf-contact li i {
    font-size: 15px;
}

.property-rating .lf-contact li:first-child {
    gap: var(--listsite-explore-cards-rating-strings-gap);
}

.listing-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-sizing: border-box;
    vertical-align: middle;
    margin-right: 0px;
}
.rating-circle.full {
    background-color: var(--accent, #16a085);
}
.rating-circle.half {
    background: linear-gradient(90deg, var(--accent, #16a085) 50%, #fff 50%);
    border: 1px solid var(--accent, #16a085);
}
.rating-circle.empty {
    background-color: #fff;
    border: 1px solid var(--accent);
}

.lf-head-btn {
    display: inline-block;
    background: #3f51b5;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: unset;
    height: unset;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-weight: bold;
}

.price-info span {
    font-size: 1rem;
}

.listing-preview .c27-footer-section {
    border: none;
}

.listing-details-3 ul.details-list {
    justify-content: flex-end;
}

.listing-details-3 ul.details-list li {
    width: unset !important;
}
.level-promoted .listsite-badge-verified,
.level-level-normal .listsite-badge-verified,
.level-featured .listsite-badge-verified {
    background: var(--listsite-verified-badge-bg-color);
    padding-top: var(--listsite-verified-badge-padding-top-bottom);
    padding-bottom: var(--listsite-verified-badge-padding-top-bottom);
    padding-right: var(--listsite-verified-badge-padding-right-left);
    padding-left: var(--listsite-verified-badge-padding-right-left);
    font-size: var(--listsite-verified-badge-font-size);
    color: var(--listsite-verified-badge-font-color);
    font-weight: var(--listsite-verified-badge-font-weight);
    border-radius: var(--listsite-verified-badge-border-radius);
}
.level-promoted .listsite-badge-featured,
.level-level-normal .listsite-badge-featured,
.level-featured .listsite-badge-featured {
    background: var(--listsite-featured-badge-bg-color);
    padding-top: var(--listsite-featured-badge-padding-top-bottom);
    padding-bottom: var(--listsite-featured-badge-padding-top-bottom);
    padding-right: var(--listsite-featured-badge-padding-right-left);
    padding-left: var(--listsite-featured-badge-padding-right-left);
    font-size: var(--listsite-verified-badge-font-size);
    color: var(--listsite-featured-badge-font-color);
    font-weight: var(--listsite-featured-badge-font-weight);
    border-radius: var(--listsite-featured-badge-border-radius);
}
.level-promoted .listsite-badge-promoted,
.level-level-normal .listsite-badge-promoted,
.level-featured .listsite-badge-promoted {
    background: var(--listsite-promoted-badge-bg-color);
    padding-top: var(--listsite-promoted-badge-padding-top-bottom);
    padding-bottom: var(--listsite-promoted-badge-padding-top-bottom);
    padding-right: var(--listsite-promoted-badge-padding-right-left);
    padding-left: var(--listsite-promoted-badge-padding-right-left);
    font-size: var(--listsite-promoted-badge-font-size);
    color: var(--listsite-promoted-badge-font-color);
    font-weight: var(--listsite-promoted-badge-font-weight);
    border-radius: var(--listsite-promoted-badge-border-radius);
}

.dynamic-hours-message {
    padding-top: var(--listsite-explore-work-hours-text-padding-top);
    padding-right: var(--listsite-explore-work-hours-text-padding-right);
    padding-bottom: var(--listsite-explore-work-hours-text-padding-bottom);
    padding-left: var(--listsite-explore-work-hours-text-padding-left);

    font-size: 16px;
    font-weight: bold;
}

.dynamic-hours-message.closed-status {
    font-size: var(--listsite-explore-work-hours-text-close-font-size);
    font-weight: var(--listsite-explore-work-hours-text-close-font-weight);
    color: var(--listsite-explore-work-hours-text-close-font-color);
}

.dynamic-hours-message.open-status {
    font-size: var(--listsite-explore-work-hours-text-open-font-size);
    font-weight: var(--listsite-explore-work-hours-text-open-font-weight);
    color: var(--listsite-explore-work-hours-text-open-font-color);
}

.dynamic-hours-message.always-open-or-appointment {
    font-size: var(--listsite-explore-work-hours-text-appointment-font-size);
    font-weight: var(--listsite-explore-work-hours-text-appointment-font-weight);
    color: var(--listsite-explore-work-hours-text-appointment-font-color);
}


/* Limit h4 title width based on badge count */
.listing-info-header[data-badges="1"] .listing-preview-title {
    max-width: 85%;
}

.listing-info-header[data-badges="2"] .listing-preview-title {
    max-width: 67%;
}

.listing-info-header[data-badges="3"] .listing-preview-title {
    max-width: 57%;
}

.listing-info-header[data-badges="4"] .listing-preview-title {
    max-width: 50%;
}

/* .listing-info-header .listing-preview-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.property-accommodations .order-online-btn {
    /* padding: 10px; */
    padding-top :  var(--listsite-explore-preview-cards-border-online-padding-top);
    padding-right :  var(--listsite-explore-preview-cards-border-online-padding-right);
    padding-bottom :  var(--listsite-explore-preview-cards-border-online-padding-bottom);
    padding-left :  var(--listsite-explore-preview-cards-border-online-padding-left);
    border-style:  var(--listsite-explore-preview-order-online-border-style);
    border-width:  var(--listsite-explore-preview-order-online-border-width);
    border-color: var(--listsite-explore-preview-order-online-border-color);
    border-radius: var(--listsite-explore-preview-order-online-border-radius);
    background: var(--listsite-explore-preview-order-online-background-color);
    color: var(--listsite-explore-preview-order-online-font-color);
    font-size: var(--listsite-explore-preview-order-online-font-size);
    font-weight: var(--listsite-explore-preview-order-online-font-weight);
}

/* Allow scrolling inside this sidebar */
.explore-classic-sidebar {
    position: relative;
}

/* Sticky container */
.vertical-ad-wrapper {
    position: relative;
}

/* The actual sticky element */
.vertical-ad-sticky {
  position: sticky;
  z-index: 10;
  transition: all 0.2s ease;
}



