/* ========================================
   Single Property Banner Slider
======================================== */
.property-banner-slider .vs-slider-nav:hover {
  background: var(--e-global-color-secondary) !important;
}
.property-banner-slider .vs-slider-nav:focus {
  background: var(--e-global-color-secondary) !important;
}
.property-banner-slider .vs-slider-item {
  position: relative;
}
.property-banner-slider .vs-slider-item .property-bnr-slider-meta {
  background: #231f20a6;
  position: absolute;
  bottom: 0;
  left: 5rem;
}
.single-propert-brand-name {
  font-size: 1.5rem;
  line-height: 2rem;
  text-transform: uppercase;
  color: #fff;
  font-family: "TerminaDemi", Sans-serif;
}
.property-banner-slider .vs-slider-item .property-bnr-slider-meta {
  padding: 2.5rem;
}
.property-banner-slider
  .vs-slider-item
  .property-bnr-slider-meta
  .vs-slide-title {
  font-size: 3rem;
  line-height: 1.1;
  color: #acd58c;
  font-family: "TerminaDemi", Sans-serif;
  text-transform: uppercase;
}
.property-banner-slider .vs-slider-item .property-place-info,
.property-banner-slider .vs-slider-item .property-address-info {
  color: #fff;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  margin-bottom: 8px;
}
/* ------ Overview section ------*/
section.pm-property-overview-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.pm-overview-title {
  font-size: 2.75rem;
  color: #2c6a3d;
  line-height: 2.5rem;
  margin: 0px 0px 24px 0px;
}
.pm-overview-description {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: #000;
}
.property-overview-slider .vs-slider-dots {
  display: none;
}
/* --------- nearby location -------- */
.pm-nearby-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 0px 32px 0px;
}
.pm-nearby-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pm-nearby-header .pm-nearby-title {
  font-size: 2.5rem;
  line-height: 2.5rem;
  color: #2c6a3d;
}
.pm-nearby-description {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: #000;
}

.pm-nearby-locations-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5f6f6;
    gap: 30px;
    align-items: start;
}
.pm-nearby-map-container {
  height: 500px;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}
.pm-nearby-location-item {
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
.pm-location-title{
    font-size: 1.25rem;
    font-weight: 600;
}
.pm-nearby-location-item:hover {
  border-color: #2c6a3d;
}
.pm-nearby-location-item.active {
  border-color: #2c6a3d;
  background: #f0f8f0;
}
.pm-location-image img {
  max-width: 48px;
  height: auto;
  width: 100%;
}
.pm-location-title {
    margin: 10px 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-family: "Roboto", sans-serif !important;
}
.pm-location-description ul{
    padding-left: 23px;
}

/* ========================================
   Floor Plans Tabbed Section
======================================== */
.pm-floor-plans-section .pm-tab-panel{
    display: none;
    padding-bottom: 40px;
}
.pm-floor-plans-section .pm-tab-panel.active{
    display: block !important;
}
.pm-plan-content-title{
    font-size: 40px;
    color: #2c6a3d;
    margin: 0;
}
.pm-plan-content-description{
    font-size: 18px;
}
.pm-plan-content-description p{
    margin-bottom: 0;
}
.pm-plan-content{
    flex-direction: row;
    align-items: center;
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.floor-tab-container{
    grid-template-columns: minmax(380px, 380px) 1fr;
    display: grid;
}
.floor-tab-container .pm-tabs-nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 36px;
}
.floor-tab-container .pm-tabs-nav button{
    font-size: 1.25rem;
    line-height: 1.75rem;
    border: 2px solid #47a448;
    padding: .75rem .5rem;
    text-transform: uppercase;
    color: #2c6a3d;
    width: 224px;
    font-weight: 500;
}
.floor-tab-container .pm-tabs-nav button.active ,.floor-tab-container .pm-tabs-nav button:hover{
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}
.floor-tab-container .pm-tab-panel .vs-slider-dots{
    bottom: 9px !important;
}
.floor-tab-container .pm-tab-panel .vs-slider-dots .vs-slider-dot {
    background: #e5e7eb;
    opacity: 1;
    height: .2rem;
    width: 2rem;
    border-radius: 0;
}
.floor-tab-container .pm-tab-panel .vs-slider-dots .vs-slider-dot.active{
    background: #2c6a3d;
}
.pm-floor-plan-slider{
    padding-bottom: 30px;
}
.pm-plan-title{
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    text-align: end;
}
.pm-floor-plan-slider .vs-slider-nav:focus,.pm-floor-plan-slider .vs-slider-nav:hover {
    background: #2c6a3d !important;
}
/* --------- Amenities Section ---------- */
.pm-amenities-section{
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(500px, 500px) 1fr;
    align-items: center;
}
.pm-amenities-header .pm-amenities-title {
    font-size: 2.8rem;
    line-height: 1;
    color: #acd58c;
}
.pm-amenities-description p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #fff;
    font-weight: 500;
}

.pm-amenities-section .pm-amenities-slider .vs-slider-nav{
    background: #2c6a3d !important;
}
.pm-amenities-section .pm-amenities-slider .vs-slider-item{
    padding: 0px 10px;
}
.pm-amenities-section .pm-amenities-slider .vs-slider-dots{
    display: none;
}
/* --------- Gallery Section ---------- */
.pm-gallery-section {
    display: grid;
    grid-template-columns:1fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.pm-gallery-title-wrapper {
    position: relative;
    padding-right: 50px;
}
.pm-gallery-section .gallery-section-title{
    border-top: 2px solid !important;
    border-bottom: 2px solid !important;
    border-color: #47a448;
    color: #216622;
    margin-bottom: 1.25rem;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "TerminaDemi", Sans-serif;
}
.pm-gallery-title {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.25rem;
}

.pm-gallery-title.active {
    opacity: 1;
}
.pm-signature-section {
    background-position: center;
    padding: 60px 40px;
    min-height: 100vh;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    background-size: 100% 100%;
}
.pm-video-section {
    border: 4px solid #2c6a3d;
    margin: 0px 2px;
}
.pm-signature-title {
    text-shadow: 3px 4px 8px #000;
    font-size: 2.5rem !important;
    text-transform: uppercase;
    line-height: 1;
    color: #fff !important;
}
.pm-notifications-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.pm-notifications-table{
    margin-bottom: 0px;
}
.pm-notifications-section table thead{
    background: #2c6a3d;
    color: #fff;
    text-align: left;
}
.pm-notifications-section table tbody>tr:nth-child(odd)>td, .pm-notifications-section table tbody>tr:nth-child(odd)>th{
    background: transparent !important;
}
.pm-notifications-section table th, .pm-notifications-section table td{
    font-weight: 700;
    font-size: 16px;
}
.pm-notifications-section table td a{
    color: #2c6a3d;
}
.notification-sec-main-title{
    font-size: 2.5rem;
    color: #2c6a3d;
    letter-spacing: -2px;
}
.pm-notifications-section {
    border: 1px solid;
    padding: 16px;
}
.pm-summary-content{
    font-size: 16px;
    color: #000;
    font-family: "Roboto", sans-serif;
}
/* single property enquiry form */
.pm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pm-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 24px;
    border-radius: 8px;
    max-width: 592px;
    width: 100%;
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pm-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.pm-modal-close:hover,
.pm-modal-close:focus {
    color: #000;
}

.pm-modal-content h2 {
    font-size: 2.5rem !important;
    color: #47a448;
    text-align: center;
    margin: 0px 0px 30px 0px;
}

.pm-modal-content p {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    margin-bottom: 12px !important;
}

/* Button Styling */
.schedule-details {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.schedule-btn,
.pdf-btn {
    padding: 12px 30px;
    border: 2px solid #fff !important;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 15rem;
    justify-content: center;
    margin-right: 0;
    margin-left: auto;
}
.schedule-btn:focus,
.pdf-btn:focus {
    background: #231f20a6;
    border:2px solid transparent !important;
}

.schedule-btn:hover,
.pdf-btn:hover {
    background: #231f20a6;
    border:2px solid transparent !important;
}

.pdf-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 767px) {
    .schedule-details {
        flex-direction: column;
    }
    
    .pm-modal-content {
        padding: 20px;
        margin: 10% auto;
    }
    .vs-slider-item img{
        min-height: 320px;
        object-fit: cover;
    }
    .property-banner-slider .vs-slider-item .property-bnr-slider-meta{
        background: #2c6a3d;
    }
    #pm-video-slider-2180 .vs-slider-dots{
        margin-top: 0 !important;
        padding-left: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    #pm-video-slider-2180 .vs-slider-dot{
        padding: 12px !important;
        background: rgb(0 0 0 / 80%) !important;
    }
    #pm-video-slider-2180 .vs-slider-dot.active{
        background: #2c6a3d !important;
    }
    .property-banner-slider .vs-slider-item .property-bnr-slider-meta .vs-slide-title{
        font-size: 30px;
    }
    .pm-location-description{
        font-size: 12px !important;
    }
    .pm-location-image img{
        max-width: 38px !important;
    }
    .pm-plan-content{
        flex-direction: column !important;
        align-items: start !important;
        gap: 1rem;
    }
    .floor-tab-container .pm-tabs-nav button{
        padding: .75rem .5rem !important;
        font-size: 1rem !important;
        width: 155px !important;
        line-height: 1.2rem !important;
    }
    .pm-tabs-nav{
        display: block !important;
        width: max-content !important;
    }
    .pm-tab-panel img{
        width: 100% !important;
    }
    .single-propert-brand-name{
        font-size: 1.2rem;
    }
    .pm-gallery-title,.pm-plan-title{
        font-size: 1rem !important;
    }
    .pm-plan-title{
        text-align: center !important;
    }
    section.pm-property-overview-section ,section.pm-property-overview-section ,.pm-signature-section ,.pm-nearby-locations-wrapper ,.pm-amenities-section,.pm-nearby-header,.pm-nearby-locations-grid ,.pm-gallery-section{
        grid-template-columns: 1fr !important;
    }
    .floor-tab-container{
        display: block !important;
    }
    .floor-tab-container .pm-tabs-nav{
        margin-bottom: 20px !important;
    }
    .floor-tab-container .pm-tab-panel .vs-slider-dots .vs-slider-dot{
        width: 1rem !important;
    }
    .pm-testimonial-thumb img{
        width: 100% !important;
        min-height: 100% !important;
    }
    .pm-testimonial-name{
        font-size: 1rem !important;
        line-height: 1.2rem !important;
        padding-top: 14px !important;
        margin-bottom: 18px !important;
    }
    .pm-testimonial-card{
        margin: 0px !important;
    }
    .schedule-btn, .pdf-btn{
        margin: auto !important;
        padding: 12px 30px !important;
        width: 12rem !important;
        background: #2c6a3d !important;
    }
    .pm-signature-section{
        padding: 30px 20px !important;
    }
    .pm-overview-title ,.pm-nearby-header .pm-nearby-title ,.pm-plan-content-title ,.pm-amenities-header .pm-amenities-title ,.pm-gallery-section .gallery-section-title ,.pm-signature-title ,.notification-sec-main-title{
        font-size: 1.5rem !important;
        line-height: 1.8rem;
    }
    .property-banner-slider .vs-slider-item .property-bnr-slider-meta{
        padding: 2rem !important;
    }
    .property-banner-slider .vs-slider-item .property-bnr-slider-meta{
        position: relative;
        left: 0;
    }
    .pm-notifications-section table th, .pm-notifications-section table td{
        font-size: 12px !important;
    }
    .pm-signature-section{
        background-size: cover !important;
        min-height: auto !important;
    }

    .pm-amenities-section .pm-amenities-slider .vs-slider-item{
        padding: 0px !important;
    }
    .pm-amenities-section{
        gap: 1.5rem !important;
    }
    .pm-modal-content h2{
        font-size: 1.2rem !important;
        margin: 0px 0px 18px 0px !important;
    }
     .custom-location-sec.e-con.e-flex{
        flex-wrap: unset !important;
    }
    .pm-gallery-slider{
        margin-top: 30px;
    }
}

@media (min-width:768px) and (max-width:1200px) {
.property-banner-slider .vs-slider-item .property-bnr-slider-meta .vs-slide-title{
    font-size: 30px;
}
.single-propert-brand-name{
    font-size: 1.2rem;
}
section.pm-property-overview-section ,section.pm-property-overview-section ,.pm-signature-section ,.pm-nearby-locations-wrapper ,.pm-amenities-section ,.pm-nearby-header ,.floor-tab-container{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}
.schedule-btn, .pdf-btn{
    margin: auto !important;
}
.pm-overview-title ,.pm-nearby-header .pm-nearby-title ,.pm-plan-content-title ,.pm-amenities-header .pm-amenities-title ,.pm-gallery-section .gallery-section-title ,.pm-signature-title ,.notification-sec-main-title{
    font-size: 1.75rem !important;
    line-height: 2rem;
}
.floor-tab-container{
    
}
}
@media (max-width: 1023px) {

}


/* Hide amenities section if it has no content */
.hide-if-empty-amenities:empty {
    display: none !important;
}

/* Alternative: Hide if only whitespace */
.hide-if-empty-amenities:not(:has(*)) {
    display: none !important;
}

/* Hide testimonials section if it has no content */
.hide-if-empty-testimonials:empty {
    display: none !important;
}

/* Alternative: Hide if only whitespace */
.hide-if-empty-testimonials:not(:has(*)) {
    display: none !important;
}

/* If you want to hide sections with only empty child elements */
.hide-if-empty-amenities:not(:has(> *:not(:empty))),
.hide-if-empty-testimonials:not(:has(> *:not(:empty))) {
    display: none !important;
}