/* Global Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Red+Hat+Display:wght@400;500;600;700&display=swap');


/* Global Styles */
.idx {
    font-family: 'Work Sans', sans-serif;
    background-color: white;
    overflow: visible;
}



/* Extra small mobile devices - 480px and below */
@media (max-width: 480px) {
    .idx-price-history .idx-price-history-section {
        padding: 12px 8px !important;
    }
    
    .idx-price-history .idx-price-history-title {
        font-size: 20px !important;
        line-height: 26px !important;
    }
    
    .idx-price-history .idx-price-history-switch {
        min-width: 260px !important;
        height: 40px !important;
    }
    

    
    .idx-price-history .idx-price-history-row {
        padding: 10px !important;
        gap: 10px !important;
        height: 143px !important; /* Maintain exact height */
    }
    
    .idx-price-history .idx-price-history-image-cell {
        width: 100px !important;
        height: 99px !important; /* Adjusted for smaller padding */
    }
    
    .idx-price-history .idx-data-text {
        font-size: 13px !important;
        line-height: 18px !important;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    
    .idx-price-history .idx-price-history-image-cell {
        width: 110px !important;
        height: 71px !important;
    }
}



/* Global Container for Single Property Template */
.idx-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 28px;
    
    padding-bottom: 56px;
}

@media (min-width: 768px) {
    .idx-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}



/* ===== PROPERTY HEADER SECTION ===== */
.idx-property-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 60px;
}

.idx-property-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding-right: 20px;
    min-width: 0;
}

.idx-property-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    color: #293056;
    letter-spacing: -0.03em;
    margin: 0 0 12px 0;
}

.idx-property-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #293056;
    letter-spacing: -0.03em;
    text-decoration: underline;
    margin: 0;
}

.idx-actions-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.idx-share-btn,
.idx-favourite-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
    gap: 8px;
    height: 33px;
    background: white;
    border: 1px solid #717680;
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #252B37;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.idx-share-btn {
    min-width: 95px;
}

.idx-favourite-btn {
    min-width: 99px;
}

.idx-share-btn:hover,
.idx-favourite-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.idx-heart-icon {
    width: 14px;
    height: 16px;
    flex-shrink: 0;
}

.idx-share-wrapper {
    position: relative;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.idx-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 17px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== IMAGES SECTION ===== */
.idx-images-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 17px;
    width: 954px;
    height: 645px;
}

.idx-main-image-container {
    position: relative;
    width: 619px;
    height: 645px;
}

.idx-main-image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    min-height: 645px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

.idx-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    min-height: 645px;
}

.idx-main-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

/* Mobile Navigation Arrows */
.idx-mobile-nav-left,
.idx-mobile-nav-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.idx-mobile-nav-left {
    left: 16px;
}

.idx-mobile-nav-right {
    right: 16px;
}

.idx-mobile-nav-left:hover,
.idx-mobile-nav-right:hover {
    background: rgba(0, 0, 0, 0.7);
}

.idx-mobile-nav-left svg,
.idx-mobile-nav-right svg {
    width: 28px;
    height: 28px;
}

/* Mobile Image Counter */
.idx-mobile-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    z-index: 10;
    display: none !important;
}

/* Mobile Navigation Controls */
.idx-mobile-nav-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
}

.idx-mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.idx-mobile-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Small Images Column */
.idx-small-images-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    width: 318px;
    height: 645px;
}

.idx-small-image-container {
    width: 318px;
    height: 310px;
    position: relative;
}

.idx-small-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

.idx-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.idx-small-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

/* See All Photos Button */
.idx-see-all-button-container {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.idx-see-all-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 18px;
    width: 129px;
    height: 40px;
    background: #000000;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.idx-see-all-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

/* ===== PROPERTY DETAILS CARD - DESKTOP VERSION ===== */
.idx-details-card {
    display: flex;
    flex-direction: column;
    width: 309px;
    height: 645px;
    flex-shrink: 0;
}


.idx-details-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    flex: 1;
}

/* SOLD FOR Section */
.idx-sold-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.idx-sold-header {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.idx-sold-for-container,
.idx-price-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.idx-sold-for-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.idx-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.idx-sold-for-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #293056;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.idx-price-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #293056;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.idx-listed-price {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #717680;
    text-align: center;
}

.idx-divider {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    margin: 8px 0;
}

/* Properties Details Section */
.idx-properties-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.idx-properties-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #293056;
    letter-spacing: -0.03em;
    margin: 0;
    width: 100%;
}

.idx-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.idx-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
    min-height: 26px;
}

.idx-detail-row > div > span {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #252B37;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.idx-detail-row > div:last-child > span {
    text-align: right;
}

/* Call Button */
.idx-call-button-container {
    width: 100%;
}

.idx-call-button {
    width: 100%;
    height: 44px;
    background: #293056;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .idx-call-button-container {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: none;
        min-width: none;
    }
    
    .idx-call-button {
        max-width: none;
        min-width: none;
        width: 300px;
        text-align: center;
    }
    
    .idx-details-content {
        max-width: none;
        min-width: none;
        width: 100%;
    }
    
    .idx-details-card {
        max-width: none;
        min-width: none;
        width: 100%;
        height: auto;
        max-height: none;
        min-height: none;
    }
    
    .idx-details-card-inner {
        max-width: none;
        min-width: none;
        width: 100%;
        height: auto;
        max-height: none;
        min-height: none;
    }
    
    .idx-detail-row {
        max-width: none;
        min-width: none;
        width: 100%;
        min-height: auto;
    }
    
    .idx-properties-details {
        max-width: none;
        min-width: none;
        width: 100%;
    }
    
    .idx-sold-section {
        max-width: none;
        min-width: none;
        width: 100%;
    }
}

.idx-call-button:hover {
    background: #1e1f2e;
}

.idx-call-button-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    text-align: center;
}

/* ===== PHOTO MODAL ===== */
.idx-photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    overflow-y: auto;
}

.idx-modal-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.idx-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: white;
    position: relative;
    z-index: 10000;
}

.idx-modal-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.idx-property-address {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.idx-slide-counter {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #cccccc;
}

.idx-modal-actions {
    display: flex;
    gap: 12px;
}

.idx-modal-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 10001;
}

.idx-modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Image Area */
.idx-image-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    margin: 20px 0;
    min-height: 60vh;
}

.idx-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.idx-slide-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.idx-prev-btn {
    left: 20px;
}

.idx-next-btn {
    right: 20px;
}

.idx-slide-btn svg {
    width: 24px;
    height: 24px;
}

.idx-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
    max-height: 90vh;
    overflow: hidden;
}

.idx-image-slider {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.idx-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.idx-slide img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease;
    max-width: 900px !important;
}

.idx-slide img.loaded {
    opacity: 1;
}

/* Thumbnail Navigation */
.idx-thumbnail-nav {
    padding: 20px 0;
}

.idx-thumbnail-container {
    overflow: hidden;
    padding: 10px 0;
}

.idx-thumbnail-list {
    display: flex;
    gap: 12px;
    padding: 0 20px;
}

.idx-thumbnail {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.idx-thumbnail.active {
    border-color: white;
}

.idx-thumbnail img {
    width: 100%;
    height: 60px !important;
    object-fit: cover;
}

/* Image Carousel for Desktop */
.idx-image-carousel-section {
    margin-top: 20px;
    display: none; /* Hidden by default on mobile */
}

@media (min-width: 768px) {
    .idx-image-carousel-section {
        display: block; /* Show only on desktop */
    }
}

.idx-image-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
}

.idx-carousel-item {
    flex: 0 0 144px;
    height: 104px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.idx-carousel-item.active {
    border-color: #293056;
}

.idx-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1280px) {
    .idx-content {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .idx-images-section {
        width: 100%;
    }
    
    .idx-main-image-container {
        width: 60%;
    }
    
    .idx-small-images-column {
        width: 25%;
    }
    
    .idx-details-card {
        width: 25%;
    }
}

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
    .idx-details-card {
        width: 309px;
        height: 645px;
        flex-shrink: 0;
    }
    
    .idx-details-content {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .idx-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .idx-images-section {
        width: 300px;
        height: auto;
        flex-direction: column;
        gap: 12px;
    }
    
    .idx-main-image-container {
        width: 100%;
        height: 300px;
    }
    
    .idx-main-image-wrapper {
        position: relative;
        min-height: 100%;
    }
    
    .idx-main-image {
        min-height: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .idx-small-images-column {
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 12px;
    }
    
    .idx-small-image-container {
        width: calc(50% - 6px);
        height: 200px;
    }
    
    .idx-details-card {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .idx-property-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .idx-property-info {
        padding-right: 0;
        width: 100%;
    }
    
    .idx-property-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .idx-property-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
    
    .idx-actions-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .idx-share-btn,
    .idx-favourite-btn {
        font-size: 12px;
        padding: 4px 12px;
        height: 28px;
        min-width: 80px;
    }
    
    .idx-small-images-column {
        flex-direction: column;
        gap: 8px;
    }
    
    .idx-small-image-container {
        width: 100%;
        height: 150px;
    }
    
    /* Main image mobile fixes */
    .idx-main-image-container {
        width: 100%;
        height: 300px;
        position: relative;
    }
    
    .idx-main-image-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .idx-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    /* Hide small images column on mobile */
    /* Hide small images column on mobile and tablet */
    .idx-small-images-column {
        display: none !important;
    }
    
    /* Show mobile navigation on mobile and tablet */
    .idx-mobile-nav-left,
    .idx-mobile-nav-right {
        display: flex !important;
    }
    
    .idx-mobile-counter {
        display: block !important;
    }
    

    /* Modal improvements for mobile */
    .idx-image-area {
        min-height: 50vh;
        margin: 10px 0;
    }
    
    .idx-image-container {
        height: 60vh;
        max-height: 70vh;
    }
}

/* Medium mobile devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .idx-main-image-container {
        height: 450px !important;
    }
    
    .idx-main-image {
        min-height: 450px !important;
    }
}

@media (max-width: 480px) {
    .idx-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    
    .idx-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .idx-images-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        display: relative;
        gap: 12px;
    }
    
    .idx-main-image-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .idx-property-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .idx-main-image-container {
        width: 100%;
        height: 300px;
        position: relative;
    }
    
    .idx-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    .idx-small-images-column {
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 12px;
    }
    
    .idx-small-image-container {
        width: calc(50% - 6px);
        height: 200px;
    }
    
    .idx-details-card {
        width: 100%;
        height: auto;
    }
    
    /* Hide small images column on mobile */
    .idx-small-images-column {
        display: none !important;
    }
    
    /* Show mobile navigation controls on small screens */
    .idx-mobile-nav-left,
    .idx-mobile-nav-right {
        display: flex !important;
    }
    
    .idx-mobile-counter {
        display: block !important;
    }
    
    /* Enhanced mobile tab scrolling */
    .idx-property-single-tabs .idx-tabs-row {
        padding: 0 8px !important;
        gap: 8px !important;
    }
    
    .idx-property-single-tabs .idx-tab-item {
        min-width: 100px !important;
        padding: 6px 12px !important;
        height: 36px !important;
    }
    
    .idx-property-single-tabs .idx-tab-label {
        font-size: 13px !important;
        line-height: 18px !important;
    }
    
    .idx-modal-wrapper {
        padding: 10px;
    }
    
    .idx-slide-btn {
        width: 40px;
        height: 40px;
    }
    
    .idx-prev-btn {
        left: 10px;
    }
    
    .idx-next-btn {
        right: 10px;
    }
}

/* Extra small devices */
@media (max-width: 320px) {

}

/* ===== PROPERTY STATUS NAVIGATION TABS ===== */
/* Property Status and Navigation Component - Frame 1171275948 */
.idx-property-single-tabs .idx-property-status-nav {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0px;
    gap: 24px;
    
    width: 1280px;
    max-width: 100%;
    height: auto;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    
    margin: 0 auto;
    box-sizing: border-box;
}

/* Status Labels Container - Frame 1171276006 */
.idx-property-single-tabs .idx-status-labels {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 22px;
    
    width: 100%;
    height: 40px;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Status Badge Base */
.idx-property-single-tabs .idx-status-badge {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
    
    height: 40px;
    border-radius: 12px;
    
    /* Inside auto layout */
    flex: none;
    flex-grow: 0;
    box-sizing: border-box;
}

/* Primary Status Badge (Days on Market) */
.idx-property-single-tabs .idx-status-badge.idx-status-primary {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
    height: 40px;
    /* Blue gray/800 */
    background: #293056;
    border-radius: 12px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Secondary Status Badge (Sold Date) */
.idx-property-single-tabs .idx-status-badge.idx-status-secondary {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
    height: 40px;
    /* Blue gray/600 */
    background: #3E4784;
    border-radius: 12px;
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Status Text */
.idx-property-single-tabs .idx-status-text {
    height: 24px;
    
    /* Body/Xsmall-bold */
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    /* identical to box height, or 171% */
    letter-spacing: -0.03em;
    
    /* White */
    color: #FFFFFF !important;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation Tabs Section - Frame 1171275947 */
.idx-property-single-tabs .idx-navigation-tabs {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 18px;
    
    width: 1280px;
    max-width: 100%;
    height: auto;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Tabs Row - Frame 1171276314 */
.idx-property-single-tabs .idx-tabs-row {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 14px;
    
    width: auto;
    max-width: 100%;
    height: 50px;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    
    overflow-x: auto;
    flex-wrap: wrap;
}

/* Individual Tab Item */
.idx-property-single-tabs .idx-tab-item {
    box-sizing: border-box;
    
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: auto;
    min-width: 163px;
    height: 50px;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* Active Tab - Overview */
.idx-property-single-tabs .idx-tab-item.idx-tab-active {
    width: auto;
    min-width: 108px;
    /* Gray/800 */
    border-bottom: 1px solid #252B37;
    order: 0;
}

/* Other specific tab widths - now using auto width with min-width */
.idx-property-single-tabs .idx-tab-item:nth-child(1) { min-width: 108px; order: 0; }
.idx-property-single-tabs .idx-tab-item:nth-child(2) { min-width: 163px; order: 1; }
.idx-property-single-tabs .idx-tab-item:nth-child(3) { min-width: 202px; order: 2; }
.idx-property-single-tabs .idx-tab-item:nth-child(4) { min-width: 158px; order: 3; }
.idx-property-single-tabs .idx-tab-item:nth-child(5) { min-width: 112px; order: 4; }
.idx-property-single-tabs .idx-tab-item:nth-child(6) { min-width: 173px; order: 5; }

/* Tab Label Text */
.idx-property-single-tabs .idx-tab-label {
    width: auto;
    height: 30px;
    
    /* Desktop/H4 */
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    /* identical to box height, or 150% */
    display: flex;
    align-items: center;
    letter-spacing: -0.03em;
    
    /* Gray/800 */
    color: #252B37;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
}

/* Tab Hover Effects */
.idx-property-single-tabs .idx-tab-item:hover .idx-tab-label {
    color: #3E4784;
}

.idx-property-single-tabs .idx-tab-item:hover {
    border-bottom-color: #3E4784;
}

/* About Section - Frame 1171276323 */
.idx-property-single-tabs .idx-about-section {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    
    width: 1280px;
    max-width: 100%;
    height: auto;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* About Text Container */
.idx-property-single-tabs .idx-about-text {
    width: 100%;
    max-width: 1280px;
    height: auto;
    min-height: 136px;
    
    /* Body/Regular */
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    /* or 156% */
    display: block;
    letter-spacing: -0.03em;
    
    /* Gray/800 */
    color: #252B37;
    
    text-align: left;
}

/* About Heading - Bold and Inline */
.idx-property-single-tabs .idx-about-heading {
    font-weight: 700;
    margin-right: 8px;
    margin-bottom:20px;
}

/* About Content - Regular Weight and Inline */
.idx-property-single-tabs .idx-about-content {
    font-weight: 300;
    display: inline;
    font-family: 'Space Grotesk';
}

/* Remove old strong styling */
.idx-property-single-tabs .idx-about-text strong {
    font-weight: 400;
}

/* Tab Content Sections */
.idx-tab-content {
    display: none;
    width: 100%;
    margin-top: 24px;
}

.idx-tab-content.active {
    display: block;
}

/* Property Rooms Styles */
.idx-rooms .property-rooms-container {
    display: flex;
    flex-direction: column;
}
.idx-rooms .property-rooms-container *{
    font-family: 'Work Sans';
}

.idx-rooms .rooms-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.idx-rooms .title {
    font-size: 20px;
    font-weight: 700 !important;
    font-family: "Space Grotesk";
}

.idx-rooms .unit-toggle {
    display: inline-flex;
    background-color: #f3f4f6;
    color: #000;
    border-radius: 8px;
    padding: 4px;
}

.idx-rooms .unit-toggle button {
    padding: 4px 8px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.idx-rooms .unit-toggle button.active {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #000;
}

.idx-rooms .unit-toggle button:hover:not(.active) {
    background-color: #e5e7eb;
    color: #000;
}

.idx-rooms .rooms-table-container {
    background-color: white;
    border: 1px solid #D2D2D2;
    border-radius: 12px;
    overflow: hidden;
}

.idx-rooms .table-wrapper {
    overflow-x: auto;
}

.idx-rooms .rooms-table {
    min-width: 100%;
}

.idx-rooms .table-header {
    background-color: #FBF9F7;
    border-bottom: 1px solid #D2D2D2;
}

.idx-rooms .header-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 0;
}

.idx-rooms .header-cell {
    padding: 12px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #374151;
}

.idx-rooms .table-body {
    background-color: white;
}

.idx-rooms .body-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.idx-rooms .body-row:last-child {
    border-bottom: none;
}

.idx-rooms .body-cell {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
}

.idx-rooms .body-cell:nth-child(1),
.idx-rooms .body-cell:nth-child(2) {
    white-space: nowrap;
    color: #727272;
}

.idx-rooms .body-cell:nth-child(3) {
    color: #111827;
}

/* Mortgage Calculator Styles */
.idx-mortgage-calculator-wrapper {
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.5 !important;
    color: inherit !important;
    box-sizing: border-box !important;
}

.idx-mortgage-calculator-wrapper *,
.idx-mortgage-calculator-wrapper *::before,
.idx-mortgage-calculator-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
    list-style: none !important;
    outline: none !important;
}

.idx-mortgage-calculator-wrapper .mortgage-calculator-section {
    margin-bottom: 32px !important;
}

.idx-mortgage-calculator-wrapper .mortgage-calculator-container {
    background-color: white !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.idx-mortgage-calculator-wrapper .mortgage-calculator-header {
    background-color: #FBF9F7 !important;
    padding: 6px 16px !important;
    border-bottom: 1px solid #d1d5db !important;
}

.idx-mortgage-calculator-wrapper .mortgage-calculator-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    color: #000 !important;
}

.idx-mortgage-calculator-wrapper .mortgage-form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 8px 16px !important;
    gap: 12px !important;
}

.idx-mortgage-calculator-wrapper .mortgage-results-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 12px 16px 16px 16px !important;
    gap: 12px !important;
}

.idx-mortgage-calculator-wrapper .mortgage-form-field {
    display: flex !important;
    flex-direction: column !important;
}

.idx-mortgage-calculator-wrapper .mortgage-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.idx-mortgage-calculator-wrapper .mortgage-input,
.idx-mortgage-calculator-wrapper .mortgage-select {
    width: 100% !important;
    padding: 8px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background-color: white !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    color: #000 !important;
    line-height: 1.4 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.idx-mortgage-calculator-wrapper .mortgage-input:focus,
.idx-mortgage-calculator-wrapper .mortgage-select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.idx-mortgage-calculator-wrapper .input-with-icon {
    position: relative !important;
}

.idx-mortgage-calculator-wrapper .input-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6b7280 !important;
    pointer-events: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.idx-mortgage-calculator-wrapper .slider-container {
    display: flex !important;
    align-items: center !important;
    margin-top: 4px !important;
}

.idx-mortgage-calculator-wrapper .slider-percent {
    font-size: 12px !important;
    color: #6b7280 !important;
    margin-right: 8px !important;
    min-width: 30px !important;
    line-height: 1.4 !important;
}

.idx-mortgage-calculator-wrapper .mortgage-slider {
    flex: 1 !important;
    height: 4px !important;
    background-color: #d1d5db !important;
    border-radius: 4px !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: none !important;
}

.idx-mortgage-calculator-wrapper .mortgage-slider::-webkit-slider-thumb {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: #3b82f6 !important;
    cursor: pointer !important;
    border: none !important;
}

.idx-mortgage-calculator-wrapper .mortgage-slider::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: #3b82f6 !important;
    cursor: pointer !important;
    border: none !important;
}

.idx-mortgage-calculator-wrapper .mortgage-result-card {
    background-color: #f3f4f6 !important;
    padding: 16px !important;
    border-radius: 6px !important;
}

.idx-mortgage-calculator-wrapper .result-label {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    line-height: 1.4 !important;
}

.idx-mortgage-calculator-wrapper .result-value {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #d97706 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.idx-mortgage-calculator-wrapper .mortgage-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 8px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    padding-right: 32px !important;
}

/* Nearby Schools Styles */
.idx-nearby-schools-boundary {
    all: initial !important;
    display: block !important;
    position: relative !important;
    isolation: isolate !important;
    contain: layout style !important;
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: 1.5 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.idx-nearby-schools-boundary *,
.idx-nearby-schools-boundary *::before,
.idx-nearby-schools-boundary *::after {
    all: unset !important;
    display: revert !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    color: inherit !important;
}

.idx-nearby-schools-boundary .nearby-schools-container {
    display: flex !important;
    flex-direction: column !important;
}

.idx-nearby-schools-boundary .title {
    font-size: 20px !important;
    font-family: 'Space Grotesk' !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    color: inherit !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .schools-table-container {
    background-color: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.idx-nearby-schools-boundary .schools-table {
    min-width: 100% !important;
    border-collapse: collapse !important;
    width: 100% !important;
    border: none !important;
}

.idx-nearby-schools-boundary .table-header {
    background-color: #FBF9F7 !important;
    border: none !important;
}

.idx-nearby-schools-boundary .table-header th {
    padding: 12px 24px !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    color: #374151 !important;
    border: none !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .table-body {
    background-color: white !important;
}

.idx-nearby-schools-boundary .school-row {
    border-bottom: 1px solid #e5e7eb !important;
    background-color: white !important;
    background: white !important;
}

.idx-nearby-schools-boundary .school-row:hover {
    background-color: #fafbfc !important;
}

.idx-nearby-schools-boundary .table-body td {
    padding: 16px 24px !important;
    vertical-align: top !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .school-row:last-child td {
    border-bottom: none !important;
}

.idx-nearby-schools-boundary .distance-cell {
    white-space: nowrap !important;
}

.idx-nearby-schools-boundary .distance-km {
    font-size: 14px !important;
    color: #727272 !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .distance-walk {
    font-size: 14px !important;
    color: #707070 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .school-link {
    font-size: 16px !important;
    color: #263238 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .school-link:hover {
    text-decoration: underline !important;
    color: #263238 !important;
}

.idx-nearby-schools-boundary .school-details {
    font-size: 14px !important;
    color: #707070 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.idx-nearby-schools-boundary .schools-toggle-container {
    padding: 16px 24px !important;
    text-align: left !important;
}

.idx-nearby-schools-boundary .schools-toggle-button {
    background: none !important;
    border: none !important;
    color: #3b82f6 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.idx-nearby-schools-boundary .schools-toggle-button:hover {
    text-decoration: underline !important;
    color: #2563eb !important;
}

.idx-nearby-schools-boundary .schools-toggle-button:active {
    color: #1d4ed8 !important;
}

/* Amenities Styles */
.idx-property-amenities.features-amenities-container {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.idx-property-amenities.features-header {
    background-color: #FBF9F7;
    padding: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.idx-property-amenities.features-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.idx-property-amenities.features-subtitle-section {
    padding: 16px;
}

.idx-property-amenities.features-subtitle {
    color: #727272;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

.idx-property-amenities.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    padding: 16px;
}

.idx-property-amenities.amenity-item {
    display: flex;
    align-items: center;
}

.idx-property-amenities.amenity-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

.idx-property-amenities.amenity-text {
    font-size: 14px;
}

/* Responsive Design for Status Navigation */
@media (max-width: 1300px) {
    .idx-property-single-tabs .idx-property-status-nav,
    .idx-property-single-tabs .idx-navigation-tabs {
        width: 100%;
        max-width: 1280px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1024px) {
    .idx-property-single-tabs .idx-property-status-nav {
        padding: 20px 16px;
    }
    
    .idx-property-single-tabs .idx-tabs-row {
        flex-wrap: wrap;
        gap: 10px;
        height: auto;
    }
    
    .idx-property-single-tabs .idx-tab-item {
        height: 45px;
        padding: 8px;
        width: auto !important;
        min-width: 80px;
    }
    
    .idx-property-single-tabs .idx-tab-label {
        font-size: 18px;
        line-height: 28px;
    }
    
    .idx-property-single-tabs .idx-about-text {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 768px) {
    .idx-property-single-tabs .idx-status-labels {
        flex-wrap: wrap;
        gap: 12px;
        height: auto;
        justify-content: space-between;
    }
    
    .idx-property-single-tabs .idx-property-status-nav,
    .idx-property-single-tabs .idx-navigation-tabs {
        width: 100%;
        max-width: 1280px;
        padding-left: 0px;
        padding-right: 0px;
    }
    .idx-property-single-tabs .idx-status-badge {
        height: 36px;
        padding: 6px 8px;
        width: auto !important;
        min-width: 120px;
    }
    
    .idx-property-single-tabs .idx-status-text {
        font-size: 12px;
        line-height: 20px;
    }
    
    .idx-property-single-tabs .idx-tabs-row {
        flex-direction: row !important;
        align-items: center !important;
        height: 50px !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 0 4px !important;
    }
    
    .idx-property-single-tabs .idx-tabs-row::-webkit-scrollbar {
        display: none !important;
    }
    
    .idx-property-single-tabs .idx-tab-item {
        height: 40px !important;
        justify-content: center !important;
        padding: 8px 16px !important;
        width: auto !important;
        min-width: 120px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .idx-property-single-tabs .idx-tab-label {
        font-size: 14px !important;
        line-height: 20px !important;
        white-space: nowrap !important;
    }
    
    .idx-property-single-tabs .idx-about-text {
        font-size: 14px;
        line-height: 22px;
    }
    
    .idx-mortgage-calculator-wrapper .mortgage-form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 8px 16px !important;
    }
    
    .idx-mortgage-calculator-wrapper .mortgage-results-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 16px !important;
    }
    
    .idx-mortgage-calculator-wrapper .result-value {
        font-size: 20px !important;
    }
    
    .idx-property-amenities.amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .idx-mortgage-calculator-wrapper .mortgage-form-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        padding: 8px 16px !important;
    }
    
    .idx-mortgage-calculator-wrapper .mortgage-results-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        padding: 16px !important;
    }
    
    .idx-property-amenities.amenities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .idx-property-amenities.amenity-text {
        font-size: 16px;
    }
}

/* ===== UTILITY CLASSES ===== */
.weight-600 {
    font-weight: 600;
}

.weight-300 {
    font-weight: 300;
}

.text-primary {
    color: #263238;
}

.text-secondary {
    color: #707070;
}

.text-tertiary {
    color: #263238;
}

.text-gold {
    color: #B89D5A;
}

.bg-dark {
    background-color: #1A1A1A;
}

.active-tab {
    color: #B08D3D;
    border-bottom: 2px solid #B08D3D;
}

/* ===== MODAL AND OVERLAY UTILITIES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.open {
    display: flex;
}

.modal-open {
    overflow: hidden;
}

.slide-transition {
    transition: transform 0.3s ease;
}

/* ===== LEGACY COMPATIBILITY ===== */
.bg-primary { 
    background-color: white;
}

.bg-secondary { 
    background-color: #EFF7F8;
}

.bg-tertiary { 
    background-color: #F8F8F8;
}

/* ===== PRICE HISTORY COMPONENT STYLES ===== */
/* Additional spacing for component separation */
.idx-price-history .idx-price-history-section {
    margin-bottom: 80px !important;
    height: 650px !important;
    min-height: 650px !important;
    transition: height 0.4s ease-in-out !important;
    overflow: hidden !important;
}

/* Expanded state */
.idx-price-history .idx-price-history-section.expanded {
    height: auto !important;
    min-height: 650px !important;
    overflow: visible !important;
}


/* Import required fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* Enhanced Price History Section with Dynamic Height */
.idx-price-history .idx-price-history-section {
    /* Auto layout */
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 24px 48px !important;
    gap: 46px !important;
    
    width: 1280px !important;
    max-width: 100% !important;
    
    /* Dynamic height - starts collapsed */
    height: 507px !important;
    min-height: 507px !important;
    
    /* Gray/100 */
    background: #F5F5F5 !important;
    border-radius: 12px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    
    /* Smooth height transition */
    transition: height 0.4s ease-in-out !important;
    overflow: hidden !important;
}

/* Expanded state */
.idx-price-history .idx-price-history-section.expanded {
    overflow: visible !important;
}

/* Dynamic height calculations */
.idx-price-history .idx-price-history-section[data-total-cards="3"] {
    height: 698px !important;
}

.idx-price-history .idx-price-history-section[data-total-cards="4"] {
    height: 889px !important;
}

.idx-price-history .idx-price-history-section[data-total-cards="5"] {
    height: 1080px !important;
}

.idx-price-history .idx-price-history-section[data-total-cards="6"] {
    height: 1271px !important;
}

/* Add more as needed for larger datasets */
.idx-price-history .idx-price-history-section.expanded[data-total-cards="3"] {
    height: 698px !important;
}

.idx-price-history .idx-price-history-section.expanded[data-total-cards="4"] {
    height: 889px !important;
}

.idx-price-history .idx-price-history-section.expanded[data-total-cards="5"] {
    height: 1080px !important;
}

.idx-price-history .idx-price-history-section.expanded[data-total-cards="6"] {
    height: 1271px !important;
}

/* Price History Container - Frame 1171276309 */
.idx-price-history .idx-price-history-container {
    /* Auto layout */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 32px !important;
    
    margin: 0 auto !important;
    width: 1184px !important;
    max-width: 100% !important;
    height: 459px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    flex-grow: 1 !important;
    
    border: none !important;
    outline: none !important;
}

/* Header Section - Frame 1300192524 */
.idx-price-history .idx-price-history-header {
    /* Auto layout */
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 75px !important;
    
    width: 1184px !important;
    max-width: 100% !important;
    min-height: 50px !important;
    height: auto !important;
    
    /* Gray/25 */
    background: #FDFDFD !important;
    border-radius: 12px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    
    /* Force padding override for all sides */
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
}

/* Price History Title */
.idx-price-history .idx-price-history-title {
    margin: 0 auto !important;
    height: 50px !important;
    
    /* Desktop/H2 */
    font-family: 'Space Grotesk', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    line-height: 50px !important;
    /* identical to box height, or 125% */
    display: flex !important;
    align-items: center !important;
    letter-spacing: -0.03em !important;
    
    /* Blue gray/800 */
    color: #293056 !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Switch Container - Frame 1171276111 */
.idx-price-history .idx-price-history-switch-container {
    /* Auto layout */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 16px !important;
    
    width: 285px !important;
    height: 26px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
}

/* Switch Component */
.idx-price-history .idx-price-history-switch {
    /* Auto layout */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0px !important;
    
    width: 285px !important;
    height: 26px !important;
    
    /* Gray/200 */
    background: #E9EAEB !important;
    border-radius: 8px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
}

/* Switch Tab Base */
.idx-price-history .idx-switch-tab {
    /* Auto layout */
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0px !important;
    
    height: 26px !important;
    
    /* Inside auto layout */
    flex: none !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Inactive Switch Tab */
.idx-price-history .idx-switch-tab.idx-switch-inactive {
    /* Gray/200 */
    background: #E9EAEB !important;
}

/* First tab (All) */
.idx-price-history .idx-switch-tab:first-child {
    width: 84px !important;
    border-radius: 12px 0px 0px 12px !important;
    order: 0 !important;
}

/* Active Switch Tab (Sold) */
.idx-price-history .idx-switch-tab.idx-switch-active {
    width: 117px !important;
    /* Black */
    background: #000000 !important;
    border-radius: 12px !important;
    order: 1 !important;
}

/* Last tab (Rented) */
.idx-price-history .idx-switch-tab:last-child {
    width: 84px !important;
    border-radius: 0px 12px 12px 0px !important;
    order: 2 !important;
}

/* Switch Text */
.idx-price-history .idx-switch-text {
    height: 19px !important;
    
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 19px !important;
    /* identical to box height */
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Inactive text color */
.idx-price-history .idx-switch-inactive .idx-switch-text {
    /* Blue gray/800 */
    color: #293056 !important;
}

/* Active text color */
.idx-price-history .idx-switch-active .idx-switch-text {
    /* White */
    color: #FFFFFF !important;
}

/* Price History Content - Frame 1300192531 */
.idx-price-history .idx-price-history-content {
    /* Auto layout */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 8px !important;
    
    width: 1184px !important;
    max-width: 100% !important;
    height: 377px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
}

/* Table Header - Frame 2 - DESKTOP ONLY */
@media (min-width: 769px) {
    .idx-price-history .idx-price-history-table-header {
        /* Auto layout */
        display: grid !important;
        grid-template-columns: 200px 1fr 1fr 1fr 1fr !important;
        align-items: center !important;
        padding: 4px 16px !important;
        gap: 20px !important;
        
        width: 100% !important;
        height: 35px !important;
        
        /* Gray/25 */
        background: #FDFDFD !important;
        border-radius: 12px !important;
        
        /* Inside auto layout */
        flex: none !important;
        order: 0 !important;
        align-self: stretch !important;
        flex-grow: 0 !important;
        
        box-sizing: border-box !important;
        border: none !important;
        outline: none !important;
    }
}

/* Hide table header on mobile and show as flex with justify-between */
@media (max-width: 768px) {
    .idx-price-history .idx-price-history-table-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 4px 16px !important;
        gap: 8px !important;
        
        width: 100% !important;
        height: 35px !important;
        
        /* Gray/25 */
        background: #FDFDFD !important;
        border-radius: 12px !important;
        
        /* Inside auto layout */
        flex: none !important;
        order: 0 !important;
        align-self: stretch !important;
        flex-grow: 0 !important;
        
        box-sizing: border-box !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Left align title on mobile only */
    .idx-price-history .idx-price-history-title {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    /* Apply align-items: flex-start to header on mobile */
    .idx-price-history .idx-price-history-header {
        align-items: flex-start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Apply desktop switch styles with 100% width on mobile */
    .idx-price-history .idx-price-history-switch-container {
        width: 100% !important;
        height: 26px !important;
    }
    
    .idx-price-history .idx-price-history-switch {
        width: 100% !important;
        height: 26px !important;
        background: #E9EAEB !important;
        border-radius: 26px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 0px !important;
    }
    
    .idx-price-history .idx-switch-tab {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0px !important;
        height: 26px !important;
        flex: 1 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: none !important;
        outline: none !important;
        text-decoration: none !important;
    }
    
    .idx-price-history .idx-switch-tab.idx-switch-inactive {
        background: #E9EAEB !important;
    }
    
    .idx-price-history .idx-switch-tab:first-child {
        border-radius: 26px 0px 0px 26px !important;
    }
    
    .idx-price-history .idx-switch-tab.idx-switch-active {
        background: #000000 !important;
        border-radius: 26px !important;
    }
    
    .idx-price-history .idx-switch-tab:last-child {
        border-radius: 0px 26px 26px 0px !important;
    }
    
    .idx-price-history .idx-switch-text {
        height: 19px !important;
        font-family: 'Work Sans', sans-serif !important;
        font-style: normal !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        line-height: 19px !important;
        flex: none !important;
        order: 0 !important;
        flex-grow: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        text-decoration: none !important;
        background: transparent !important;
    }
    
    .idx-price-history .idx-switch-inactive .idx-switch-text {
        color: #293056 !important;
    }
    
    .idx-price-history .idx-switch-active .idx-switch-text {
        color: #FFFFFF !important;
    }
    
    /* Update mobile switch border-radius to 26px */
    .idx-price-history .idx-price-history-switch {
        border-radius: 26px !important;
    }
    
    .idx-price-history .idx-switch-tab:first-child {
        border-radius: 26px 0px 0px 26px !important;
    }
    
    .idx-price-history .idx-switch-tab.idx-switch-active {
        border-radius: 26px !important;
    }
    
    .idx-price-history .idx-switch-tab:last-child {
        border-radius: 0px 26px 26px 0px !important;
    }


}

/* Header Text Base */
.idx-price-history .idx-price-history-table-header span {
    /* Body/Xsmall-bold */
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    /* identical to box height, or 171% */
  
    letter-spacing: -0.03em !important;
    
    color: #1A1A1A !important;
    
    /* Inside auto layout */
    flex: none !important;
    flex-grow: 0 !important;
    
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Table Body */
.idx-price-history .idx-price-history-table-body {
    /* Auto layout */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 0px !important;
    
    width: 1184px !important;
    max-width: 100% !important;
    
    background: #FFFFFF !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
}

/* Price History Row */
.idx-price-history .idx-price-history-row {
    /* Auto layout */
    display: grid !important;
    grid-template-columns: 200px 1fr 1fr 1fr 1fr !important;
    align-items: center !important;
    padding: 8px !important;
    gap: 20px !important;
    
    width: 100% !important;
    height: auto !important;
    border-bottom: 1px solid #E5E7EB !important;
    
    /* Inside auto layout */
    flex: none !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    box-sizing: border-box !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    outline: none !important;
    background: white !important;

}

/* Building Image Cell */
.idx-price-history .idx-price-history-image-cell {
    height: 140px !important;
    
    /* Inside auto layout */
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    outline: none !important;

}

/* Building Image */
.idx-price-history .idx-building-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    
    background-color: #f8f9fa !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* Ensure proper positioning within the padded container */
    display: block !important;
    position: relative !important;
}

/* Price History Cell */
.idx-price-history .idx-price-history-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Inside auto layout */
    flex: none !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Data Text */
.idx-price-history .idx-data-text {
    /* Body/Xsmall-regular */
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    /* identical to box height, or 171% */
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    letter-spacing: -0.03em !important;
    
    color: #727272 !important;
    
    /* Inside auto layout */
    flex: none !important;
    flex-grow: 0 !important;
    
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Show More/Less Button Container */
.idx-price-history .idx-show-more-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px 0 !important;
    width: 100% !important;
    
    flex: none !important;
    order: 2 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    
    border: none !important;
    outline: none !important;
    background: transparent !important;
    
    /* Add margin-top for better spacing */
    margin-top: 32px !important;
}

/* Show More/Less Button */
.idx-price-history .idx-show-more-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    
    padding: 12px 24px !important;
    
    /* Button styling */
    background: #FFFFFF !important;
    border: 2px solid #E9EAEB !important;
    border-radius: 8px !important;
    
    /* Typography */
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #293056 !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    
    /* Reset button defaults */
    outline: none !important;
    text-decoration: none !important;
    
    /* Positioning */
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
}

/* Show More/Less Button Hover */
.idx-price-history .idx-show-more-btn:hover {
    background: #F5F5F5 !important;
    border-color: #D2D2D2 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Show More/Less Button Active */
.idx-price-history .idx-show-more-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Show More/Less Button Focus */
.idx-price-history .idx-show-more-btn:focus {
    box-shadow: 0 0 0 3px rgba(41, 48, 86, 0.2) !important;
}

/* Show More/Less Icon */
.idx-price-history .idx-show-more-icon {
    width: 16px !important;
    height: 16px !important;
    
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    
    transition: transform 0.3s ease !important;
    color: #293056 !important;
    
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Rotate icon when expanded */
.idx-price-history .idx-show-more-btn[aria-expanded="true"] .idx-show-more-icon {
    transform: rotate(180deg) !important;
}

/* Expandable Row Animation */
.idx-price-history .idx-expandable-row {
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s ease-in-out !important;
    transform: translateY(-10px) !important;
}

/* Expanded Row State */
.idx-price-history .idx-expandable-row.show {
    display: grid !important;
    opacity: 1 !important;
    max-height: 200px !important;
    transform: translateY(0) !important;
}

/* Always Visible Rows */
.idx-price-history .idx-always-visible-row {
    opacity: 1 !important;
    max-height: none !important;
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 1300px) {
.idx-price-history-row {
        width: 100% !important;
        max-width: 1280px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 1024px) {
    .idx-price-history .idx-price-history-section {
        padding: 20px 16px !important;
        height: auto !important;
        min-height: 507px !important;
    }
    
    .idx-price-history .idx-price-history-title {
        font-size: 32px !important;
        line-height: 40px !important;
    }
    
    .idx-price-history .idx-price-history-header {
        flex-direction: column !important;
        gap: 20px !important;
        height: auto !important;
        padding: 0 16px !important;
    }
    
    .idx-price-history .idx-price-history-row {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 16px !important;
        padding: 0px 16px !important;
    }
}

@media (max-width: 768px) {
    .idx-price-history .idx-price-history-section {
        padding: 16px 12px !important;
        background: #FFFFFF !important;
        border-radius: 0 !important;
        height: 143px !important;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-cell-flex{
        display: flex;
    }
    .idx-price-history .idx-price-history-container {
        gap: 20px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .idx-price-history .idx-price-history-header {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 16px 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .idx-price-history .idx-price-history-title {
        font-size: 24px !important;
        line-height: 30px !important;
        text-align: center !important;
        width: auto !important;
        height: auto !important;
    }
    
    .idx-price-history .idx-price-history-switch-container {
        width: 100% !important;
        height: auto !important;
    }
    


    
    .idx-price-history .idx-switch-text {
        font-size: 15px !important;
        line-height: 20px !important;
        padding: 12px 8px !important;
        height: auto !important;
    }
    
    .idx-price-history .idx-price-history-content {
        width: 100% !important;
        gap: 12px !important;
        height: auto !important;
    }
    
    .idx-price-history .idx-price-history-table-header {
        display: flex;
    }
    
    .idx-price-history .idx-price-history-table-body {
        width: 100% !important;
        gap: 12px !important;
        background: transparent !important;
        height: auto !important;
    }
    
    /* Mobile card design - MOBILE ONLY - full width, VERTICAL layout with full-width image */
    @media (max-width: 768px) {
        .idx-price-history .idx-price-history-row {
            /* Card layout - HORIZONTAL FLEX with space-between */
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 12px !important;
            gap: 8px !important;
            
            /* EXACT specifications as requested */
            width: 100% !important;
            height: auto !important;
            min-height: 143px !important;
            max-height: none !important;
            
            /* Clean card styling matching image */
            background: #FFFFFF !important;
            border: 1px solid #E5E7EB !important;
            border-radius: 12px !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
            margin-bottom: 12px !important;
            
            /* Layout properties */
            flex: none !important;
            align-self: stretch !important;
            box-sizing: border-box !important;
            
            /* Remove desktop grid layout */
            grid-template-columns: none !important;
        }
        
        /* Image container - FULL WIDTH ON MOBILE */
        .idx-price-history .idx-price-history-image-cell {
            /* Reset desktop positioning */
            position: relative !important;
            left: auto !important;
            right: auto !important;
            top: auto !important;
            bottom: auto !important;
            
            /* Mobile image dimensions - FULL WIDTH */
            width: 100% !important;
            height: 71px !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
            
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            overflow: hidden !important;
            border-radius: 8px !important;
            background-color: #F8F9FA !important;
            border: 1px solid #e9ecef !important;
        }
    }
    

    
    /* Data container - Right side of card, vertical layout */
    .idx-price-history .idx-price-history-cell {
       display: none;
    }
    
    /* Create a flex container for all data cells on mobile */
    .idx-price-history .idx-price-history-row {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
    }
    

    /* CSS support for JavaScript-created mobile data container */
    .idx-price-history .idx-mobile-data-container {
        display: flex !important;
        flex-direction: row !important;
        flex: 1 !important;
        gap: 8px !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: wrap !important;
    }
    

    
    /* Style text within mobile container cells */
    .idx-price-history .idx-mobile-data-container .idx-data-text {
        display: block !important;
        text-align: left !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 20px !important;
        font-size: 14px !important;
        color: #727272 !important;
        font-family: 'Work Sans', sans-serif !important;
        font-weight: 400 !important;
        
        /* Remove any labels/prefixes */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    
    /* Ensure no labels show in mobile container */
    .idx-price-history .idx-mobile-data-container .idx-data-text:before {
        content: none !important;
        display: none !important;
    }
    
    /* Data text styling for mobile - LEFT ALIGNED, NO LABELS */
    .idx-price-history .idx-data-text {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        line-height: 20px !important;
        font-size: 14px !important;
        display: block !important;
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        
        /* Text styling for mobile */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        
        /* Font family */
        font-family: 'Work Sans', sans-serif !important;
        font-weight: 400 !important;
        color: #727272 !important;
    }
    

    
    .idx-price-history .idx-show-more-btn {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Mobile responsive heights - all auto for vertical layout */
    .idx-price-history .idx-price-history-section[data-total-cards="3"],
    .idx-price-history .idx-price-history-section[data-total-cards="4"],
    .idx-price-history .idx-price-history-section[data-total-cards="5"],
    .idx-price-history .idx-price-history-section[data-total-cards="6"] {
        height: auto !important;
        min-height: auto !important;
    }
    

    

    /* Additional specificity to override inline styles */
    div.idx-price-history div.idx-price-history-row.idx-always-visible-row,
    div.idx-price-history div.idx-price-history-row.idx-expandable-row {
        height: 143px !important;
        max-height: 143px !important;
        padding: 12px !important;
    }
    
}

/* Switch Interaction */
.idx-price-history .idx-switch-tab:hover {
    opacity: 0.8 !important;
}

.idx-price-history .idx-switch-tab:active {
    transform: scale(0.98) !important;
}

/* Override any conflicting WordPress/theme styles */
.idx-price-history .idx-price-history-section * {
    box-sizing: border-box !important;
}

.idx-price-history .idx-price-history-section h1,
.idx-price-history .idx-price-history-section h2,
.idx-price-history .idx-price-history-section h3,
.idx-price-history .idx-price-history-section h4,
.idx-price-history .idx-price-history-section h5,
.idx-price-history .idx-price-history-section h6 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}



.idx-price-history .idx-price-history-table-body {
    gap: 4px !important;
}


/* OVERRIDE: Force content-based height for better visibility */
.idx-price-history .idx-price-history-section,
.idx-price-history .idx-price-history-container,
.idx-price-history .idx-price-history-content,
.idx-price-history .idx-price-history-table-body {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* Ensure section has minimum height but expands with content */
.idx-price-history .idx-price-history-section {
    min-height: 507px !important;
    overflow: visible !important;
}

/* Ensure show more button is always visible and accessible */
.idx-price-history .idx-show-more-container {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    clear: both !important;
    position: relative !important;
    z-index: 100 !important;
}


/* Mobile cell flex - SHOW ONLY ON MOBILE */
.mobile-cell-flex{
    display: none;
}

/* Remove min-height from mobile price history rows */
@media (max-width: 768px) {
    .idx-price-history .idx-price-history-row {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Override inline styles with maximum specificity */
    .idx-price-history .idx-price-history-row[style*="min-height: 160px"] {
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Nuclear option - override any inline min-height */
    html body .idx-price-history .idx-price-history-content .idx-price-history-table-body .idx-price-history-row[style] {
        min-height: auto !important;
        height: auto !important;
    }
    


    
    /* Override with class combinations */
    .idx-price-history-row.idx-always-visible-row,
    .idx-price-history-row.idx-expandable-row {
        min-height: auto !important;
        height: auto !important;
    }

    @keyframes mobile-height-reset {
        to {
            min-height: auto !important;
            height: auto !important;
        }
    }
}

@media (max-width: 768px) {
    .mobile-cell-flex {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 8px !important; /* Space between image and data */
    }
    
    .idx-mobile-cell {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Center align all items including the '5' */
        justify-content: center !important;
        flex: 1 !important;
        min-width: 60px !important;
        margin: 0 !important;
        padding: 2px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    .idx-mobile-cell .idx-data-text {
        font-size: 12px !important;
        line-height: 16px !important;
        color: #727272 !important;
        text-align: center !important; /* Center text including the '5' */
        font-weight: 400 !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-family: 'Work Sans', sans-serif !important;
    }
}

/* Hide idx-price-history-cell on mobile only - HIGH SPECIFICITY */
@media (max-width: 768px) {
    .idx-price-history .idx-price-history-row .idx-price-history-cell {
        display: none !important;
    }
    
    .idx-price-history .idx-price-history-table-body .idx-price-history-row .idx-price-history-cell {
        display: none !important;
    }
    
    /* Nuclear option - catch any variations */
    div.idx-price-history div.idx-price-history-cell,
    .idx-price-history-section .idx-price-history-cell,
    *[class*="idx-price-history-cell"] {
        display: none !important;
    }
    
    /* Ultimate override - maximum specificity */
    html body .idx-price-history .idx-price-history-content .idx-price-history-table-body .idx-price-history-row .idx-price-history-cell[style] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/**PRICE HISTORY **/
.idx-show-more-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 0;
}

.idx-show-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.idx-show-more-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.idx-show-more-btn:active {
    background: #f3f4f6;
    transform: translateY(0);
}

.idx-show-more-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.idx-show-more-text,
.idx-show-less-text {
    white-space: nowrap;
}

/* Ensure rows can be hidden properly */
.idx-price-history-row {
    opacity: 1;
    max-height: 200px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.idx-price-history-row.hidden {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.idx-price-history-row[style*="display: none"] {
    display: none !important;
}

.idx-price-history-row[style*="visibility: hidden"] {
    visibility: hidden !important;
}

/* =================================================
   PROPERTY TOUR SECTION STYLES
   ================================================= */

/* Reset and base styles */
.idx-main .idx-tour-section-image-match * {
    box-sizing: border-box;
}

/* =================================================
   MAIN CONTAINER
   ================================================= */
.idx-main .idx-tour-section-image-match {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    width: 1280px !important;
    height: 218px !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* =================================================
   LEFT CARD - EXACT FIGMA MATCH  
   ================================================= */
.idx-main .idx-property-card-left {
    position: relative !important;
    width: 658px !important;
    height: 218px !important;
    background: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: 0px 0px 16.3px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Property Image Container - Absolute positioned */
.idx-main .idx-property-image-container {
    position: absolute !important;
    width: 232px !important;
    height: 238px !important;
    left: 0px !important;
    top: 0px !important;
    overflow: hidden !important;
}

/* Property Image */
.idx-main .idx-property-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Property Content Container - Frame 1171275991 */
.idx-main .idx-property-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 48px !important;
    position: absolute !important;
    width: 350px !important;
    height: 185px !important;
    left: 270px !important;
    top: 16px !important;
}

/* Property Info Section - Frame 1171275990 */
.idx-main .idx-property-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 8px !important;
    margin: 0 auto !important;
    width: 350px !important;
    height: 74.4px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Property Header Container - Heading 2 → Link */
.idx-main .idx-property-header-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 3.2px 0px !important;
    width: 350px !important;
    height: 44.4px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Property Title - The Merchandise Lofts */
.idx-main .idx-property-header {
    width: 294px !important;
    height: 38px !important;
    font-family: 'Space Grotesk' !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 28px !important;
    line-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    letter-spacing: -0.03em !important;
    color: #252B37 !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Property Address - 155 Dalhousie St */
.idx-main .idx-property-address {
    width: 350px !important;
    height: 22px !important;
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    letter-spacing: -0.03em !important;
    color: #707070 !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Property Buttons Container - Frame 1171276116 */
.idx-main .idx-property-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    padding: 0px !important;
    gap: 8px !important;
    margin: 0 auto !important;
    width: 350px !important;
    height: 40px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Individual Button Containers */
.idx-main .idx-btn-container-1 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    width: 160px !important;
    height: 40px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

.idx-main .idx-btn-container-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    width: 182px !important;
    height: 40px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 1 !important;
}

/* Outline Buttons - Button Outlined */
.idx-main .idx-btn-outline {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 8px !important;
    width: 100% !important;
    height: 40px !important;
    border: 1px solid #293056 !important;
    border-radius: 100px !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 1 !important;
}

/* Desktop Tour Buttons - Show on desktop, hide on mobile */
.idx-tour-buttons-desktop {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

/* Mobile Tour Buttons - Hide on desktop, show on mobile */
.idx-tour-buttons-mobile {
    display: none !important;
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

/* State Layer */
.idx-main .idx-btn-state-layer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 24px !important;
    gap: 8px !important;
    width: 100% !important;
    height: 40px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 1 !important;
}

/* Button Text */
.idx-main .idx-btn-text {
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    letter-spacing: -0.03em !important;
    color: #293056 !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.idx-main .idx-btn-outline:hover {
    background: rgba(41, 48, 86, 0.05) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(41, 48, 86, 0.15) !important;
}

.idx-main .idx-btn-outline:active {
    transform: translateY(0) !important;
}

/* =================================================
   RIGHT CARD - TOUR SCHEDULING
   ================================================= */
.idx-main .idx-tour-scheduling-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px 0 !important;
    width: 602px !important;
    height: 218px !important;
    background: #FFFFFF !important;
    border: 1px solid #F1F1F1 !important;
    box-shadow: 0px 0px 16.3px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 1 !important;
}

/* Tour Content */
.idx-main .idx-tour-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 32px !important;
    width: 570px !important;
    height: 170px !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 1 !important;
}

/* Date and Time Section */
.idx-main .idx-date-time-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 20px !important;
    width: 302px !important;
    height: 170px !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
}

/* Date Selection */
.idx-main .idx-date-selection {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 4px !important;
    width: 302px !important;
    height: 91px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Navigation Arrows */
.idx-main .idx-nav-arrow {
    width: 24px !important;
    height: 24px !important;
    background: #FFFFFF !important;
    border: none !important;
    cursor: pointer !important;
    color: #414141 !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.idx-main .idx-nav-arrow:hover {
    background: #f8f9fa !important;
    border-radius: 4px !important;
}

.idx-main .idx-nav-arrow:last-child {
    order: 2 !important;
}

/* Date Slots Container */
.idx-main .idx-date-slots {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 8px !important;
    width: 247px !important;
    height: 91px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Date Cards */
.idx-date-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px !important;
    gap: 4px !important;
    width: 77px !important;
    height: 91px !important;
    background: #FFFFFF !important;
    border: 1px solid #999999 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: none !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

.idx-date-card.idx-selected {
    background: #FFFFFF !important;
    border: 2px solid #000000 !important;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.idx-date-card:hover:not(.idx-selected) {
    border: 1px solid #666666 !important;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Date Card Text */
.idx-main .idx-day,
.idx-main .idx-month {
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #6B7280 !important;
    flex: none !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.idx-main .idx-day {
    order: 0 !important;
    align-self: center !important;
}

.idx-main .idx-month {
    order: 2 !important;
    align-self: center !important;
}

.idx-main .idx-date {
    font-family: 'Space Grotesk' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    color: #1F2937 !important;
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Time Selection */
.idx-main .idx-time-selection {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 8px !important;
    width: 302px !important;
    height: 59px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Time Cards */
.idx-time-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 94px !important;
    height: 59px !important;
    border: 1px solid #999999 !important;
    border-radius: 5px !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: none !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    min-width: 94px !important;
    max-width: 94px !important;
}

.idx-time-card.idx-selected {
    border: 2px solid #000000 !important;
    border-radius: 5px !important;
    background: transparent !important;
}

.idx-time-card:hover:not(.idx-selected) {
    border: 1px solid #666666 !important;
}

/* Time Card Text */
.idx-main .idx-time-label {
    font-family: 'Red Hat Display' !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #263238 !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.idx-main .idx-time-range {
    font-family: 'Red Hat Display' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #263238 !important;
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Tour Info Section */
.idx-main .idx-tour-info-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 8px !important;
    width: 223px !important;
    height: 170px !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

/* Tour Header */
.idx-main .idx-tour-header {
    padding: 0px !important;
    gap: 4px !important;
    width: 154px !important;
    height: 47px !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
}

/* Tour Title */
.idx-main .idx-tour-title {
    width: 154px !important;
    height: 24px !important;
    font-family: 'Red Hat Display' !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    color: #000000 !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tour Subtitle */
.idx-main .idx-tour-subtitle {
    width: 154px !important;
    height: 19px !important;
    font-family: 'Red Hat Display' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 19px !important;
    display: flex !important;
    align-items: center !important;
    color: #263238 !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Black Button */
.idx-main .idx-black-button {
    padding: 10px 24px !important;
    gap: 8px !important;
    width: 223px !important;
    height: 44px !important;
    background: #000000 !important;
    border-radius: 100px !important;
    border: none !important;
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.idx-main .idx-black-button:hover {
    background: #333 !important;
    transform: translateY(-1px) !important;
}

/* Outline Button Tour */
.idx-main .idx-outline-button-tour {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 24px !important;
    gap: 8px !important;
    width: 223px !important;
    height: 44px !important;
    border: 1px solid #293056 !important;
    border-radius: 100px !important;
    background: transparent !important;
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center !important;
    color: #293056 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: none !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
}

.idx-main .idx-outline-button-tour:hover {
    background: #f8f9fa !important;
}

/* =================================================
   MODAL STYLES
   ================================================= */
.idx-tour-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
}

.idx-tour-modal.open {
    display: flex !important;
}

.idx-tour-modal-content {
    background-color: #FFFFFF !important;
    padding: 32px !important;
    border-radius: 12px !important;
    max-width: 512px !important;
    width: 100% !important;
    margin: 0 16px !important;
    position: relative !important;
    z-index: 999999 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.idx-tour-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.idx-tour-modal-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    letter-spacing: -0.03em !important;
    color: #293056 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

.idx-tour-modal-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    color: #6B7280 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    text-decoration: none !important;
}

.idx-tour-modal-close:hover {
    background: #F5F5F5 !important;
    color: #1A1A1A !important;
}

.idx-tour-modal-text {
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #6B7280 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

.idx-selected-datetime {
    font-weight: 600 !important;
    color: #293056 !important;
}

/* Form Styles */
.idx-tour-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.idx-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.idx-form-label {
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #374151 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    background: transparent !important;
}

.idx-form-input {
    padding: 12px 16px !important;
    width: 100% !important;
    height: 48px !important;
    background: #FFFFFF !important;
    border: 2px solid #E9EAEB !important;
    border-radius: 8px !important;
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #1A1A1A !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.idx-form-input:focus {
    outline: none !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.idx-form-textarea {
    padding: 12px 16px !important;
    width: 100% !important;
    min-height: 100px !important;
    background: #FFFFFF !important;
    border: 2px solid #E9EAEB !important;
    border-radius: 8px !important;
    font-family: 'Work Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #1A1A1A !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    resize: vertical !important;
}

.idx-form-textarea:focus {
    outline: none !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.idx-form-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    width: 100% !important;
    height: 52px !important;
    background: #000000 !important;
    border-radius: 8px !important;
    border: none !important;
    font-family: 'Red Hat Display', sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    text-decoration: none !important;
}

.idx-form-submit:hover {
    background: #374151 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* =================================================
   RESPONSIVE DESIGN - EXACT IMAGE MATCH
   ================================================= */

/* Large Mobile/Tablet Screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .idx-main .idx-tour-section-image-match {
        flex-direction: column !important;
        padding: 20px !important;
        max-width: 100% !important;
        height: auto !important;
        gap: 20px !important;
    }
    
    .idx-main .idx-property-card-left,
    .idx-main .idx-tour-scheduling-card {
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto !important;
    }
    
    .idx-main .idx-tour-content {
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .idx-main .idx-tour-info-section {
        order: 0 !important;
        text-align: center !important;
    }
    
    .idx-main .idx-date-time-section {
        order: 1 !important;
    }
}

/* Mobile Layout - Matches Images */
@media (max-width: 768px) {
    .idx-main .idx-tour-section-image-match {
        flex-direction: column !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    /* Desktop Tour Buttons - Show on desktop, hide on mobile */
    .idx-tour-buttons-desktop {
        display: none !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }

    /* Mobile Tour Buttons - Hide on desktop, show on mobile */
    .idx-tour-buttons-mobile {
        display: flex !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
    
    /* Property Card Mobile - Image 1 Style */
    .idx-main .idx-property-card-left {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid #E5E7EB !important;
        margin-bottom: 0 !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .idx-main .idx-property-image-container {
        position: relative !important;
        width: 100% !important;
        height: 240px !important;
        left: 0 !important;
        top: 0 !important;
    }
    
    .idx-main .idx-property-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .idx-main .idx-property-content {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
        gap: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    .idx-main .idx-property-info {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    .idx-main .idx-property-header-container {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .idx-main .idx-property-header {
        width: 100% !important;
        height: auto !important;
        font-size: 28px !important;
        line-height: 36px !important;
        text-align: center !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
    }
    
    .idx-main .idx-property-address {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        line-height: 24px !important;
        color: #6B7280 !important;
    }
    
    .idx-main .idx-property-buttons {
        width: 100% !important;
        height: auto !important;
        gap: 8px !important;
        margin-top: 16px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
    
    .idx-main .idx-btn-container-1 {
        width: 160px !important;
        height: 44px !important;
        flex: none !important;
    }
    
    .idx-main .idx-btn-container-2 {
        width: 187px !important;
        height: 44px !important;
        flex: none !important;
    }
    
    .idx-main .idx-btn-outline {
        width: 100% !important;
        height: 44px !important;
        font-size: 15px !important;
        border-radius: 22px !important;
        font-family: 'Work Sans', sans-serif !important;
    }

    .idx-main .idx-btn-text {
        font-family: 'Work Sans', sans-serif !important;
        font-weight: 700 !important;
    }
    
    /* Tour Scheduling Card Mobile - Image 2 Style */
    .idx-main .idx-tour-scheduling-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 24px 0px !important;
        background: #ffffff !important;
    }
    
    .idx-main .idx-tour-content {
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
    }
    
    /* Tour Info Section - Mobile First */
    .idx-main .idx-tour-info-section {
        width: 100% !important;
        height: auto !important;
        order: 0 !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .idx-main .idx-tour-header {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .idx-main .idx-tour-title {
        width: 100% !important;
        height: auto !important;
        font-size: 20px !important;
        line-height: 28px !important;
        text-align: center !important;
        justify-content: center !important;
        margin-bottom: 4px !important;
    }
    
    .idx-main .idx-tour-subtitle {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 15px !important;
        line-height: 20px !important;
        color: #6B7280 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Date and Time Section - Mobile Second */
    .idx-main .idx-date-time-section {
        width: 100% !important;
        height: auto !important;
        order: 1 !important;
        gap: 20px !important;
    }
    
    /* Date Selection Mobile */
    .idx-main .idx-date-selection {
        width: 100% !important;
        height: auto !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 0 !important;
    }
    
    .idx-main .idx-date-slots {
        width: 100% !important;
        height: auto !important;
        gap: 8px !important;
        justify-content: center !important;
        flex: 1 !important;
    }
    
    .idx-main .idx-date-card {
        width: 72px !important;
        height: 88px !important;
        padding: 8px 6px !important;
        border-radius: 8px !important;
    }
    
    .idx-main .idx-nav-arrow {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #F9FAFB !important;
        border: 1px solid #E5E7EB !important;
    }
    
    .idx-main .idx-nav-arrow:hover {
        background: #F3F4F6 !important;
    }
    
    /* Time Selection Mobile */
    .idx-main .idx-time-selection {
        width: 100% !important;
        height: auto !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .idx-main .idx-time-card {
        width: 30% !important;
        min-width: 100px !important;
        max-width: 120px !important;
        height: 60px !important;
        padding: 8px 4px !important;
        border-radius: 8px !important;
    }
    
    .idx-main .idx-time-label {
        font-size: 13px !important;
        line-height: 16px !important;
        font-weight: 600 !important;
    }
    
    .idx-main .idx-time-range {
        font-size: 11px !important;
        line-height: 14px !important;
        font-weight: 400 !important;
    }
    
    /* Modal Mobile */
    .idx-tour-modal-content {
        padding: 20px !important;
        margin: 0 16px !important;
        border-radius: 16px !important;
        max-width: calc(100% - 32px) !important;
    }
    
    .idx-tour-modal-title {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    .idx-form-input,
    .idx-form-textarea {
        font-size: 16px !important;
        padding: 14px 16px !important;
    }
    
    .idx-form-submit {
        height: 48px !important;
        font-size: 16px !important;
        border-radius: 24px !important;
    }
}

/* ===== MORE BUILDINGS BY AGENT COMPONENT STYLES ===== */
/* Extracted from more-buildings-by-agent.php template */
/* Import required fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&display=swap');

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Work Sans', sans-serif;
background: #f8f9fa;
padding: 20px;
}

/* More Buildings by Agent - Modern Design */
.more-buildings-section {
background: #F5F5F5;
border-radius: 12px;
padding: 32px 24px;
margin: 40px 0;
font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
max-width: 1280px;
}

.more-buildings-section .section-header {
margin-bottom: 24px;
}

.more-buildings-section .section-title {
font-family: 'Red Hat Display', 'Work Sans', sans-serif;
font-size: 24px;
font-weight: 700;
color: #293056;
margin: 0;
letter-spacing: -0.03em;
}

.more-buildings-section .buildings-carousel {
position: relative;
overflow: visible;
margin: 0 60px; /* Add margin for navigation buttons */
}

/* Track Container - clips to show only 4 cards */
.more-buildings-section .track-container {
width: calc(4 * 249px + 3 * 16px); /* Exact width for 4 cards + 3 gaps */
overflow: hidden;
position: relative;
}

.more-buildings-section .buildings-track {
display: flex;
gap: 16px;
transition: transform 0.3s ease;
}

.more-buildings-section .buildings-track::-webkit-scrollbar {
display: none;
}

.more-buildings-section .building-card {
flex: 0 0 249px;
background: #FFFFFF;
height: 320px;
border-radius: 12px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}

.more-buildings-section .building-card:hover {
transform: translateY(-4px);
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
}

.more-buildings-section .card-image-wrapper {
position: relative;
height: 169px;
overflow: hidden;
}

.more-buildings-section .card-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.more-buildings-section .building-card:hover .card-image {
transform: scale(1.05);
}

.more-buildings-section .status-badge {
position: absolute;
top: 12px;
left: 12px;
background: #FFFFFF;
color: #293056;
font-size: 12px;
font-weight: 600;
padding: 6px 12px;
border-radius: 20px;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.more-buildings-section .mls-badge {
position: absolute;
top: 12px;
right: 12px;
background: rgba(0, 0, 0, 0.7);
color: #FFFFFF;
font-size: 11px;
font-weight: 500;
padding: 4px 8px;
border-radius: 4px;
backdrop-filter: blur(4px);
}

.more-buildings-section .card-content {
padding: 10px;
}

.more-buildings-section .price-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

.more-buildings-section .property-price {
font-size: 20px;
font-weight: 700;
color: #293056;
}

.more-buildings-section .agent-name {
font-size: 12px;
font-weight: 500;
color: #6B7280;
background: #F3F4F6;
padding: 4px 8px;
border-radius: 6px;
}

.more-buildings-section .features-row {
display: flex;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
justify-content: space-between;
}

.more-buildings-section .feature {
font-size: 10px;
font-weight: 600;
color: #374151;
background: #F9FAFB;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid #E5E7EB;
}

.more-buildings-section .address-row {
margin-top: 8px;
}

.more-buildings-section .property-address {
font-size: 14px;
font-weight: 500;
color: #374151;
text-decoration: none;
line-height: 1.4;
display: block;
}

.more-buildings-section .property-address:hover {
color: #1D4ED8;
text-decoration: underline;
}

/* Navigation Arrows - ABSOLUTELY POSITIONED */
.more-buildings-section .nav-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 48px;
height: 48px;
background: #FFFFFF;
border: 1px solid #E5E7EB;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
z-index: 10;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.more-buildings-section .nav-arrow:hover {
background: #F9FAFB;
border-color: #D1D5DB;
transform: translateY(-50%) scale(1.05);
box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.12);
}

.more-buildings-section .nav-arrow:disabled {
opacity: 0.4;
cursor: not-allowed;
pointer-events: none;
}

.more-buildings-section .nav-prev {
left: -54px; /* Position outside the carousel container */
}

.more-buildings-section .nav-next {
right: -54px; /* Position outside the carousel container */
}

.more-buildings-section .nav-arrow svg {
color: #374151;
}

/* More Buildings Responsive Design */
@media (max-width: 1320px) {
.more-buildings-section .buildings-carousel {
margin: 0 30px; /* Smaller margin for smaller screens */
}

.more-buildings-section .nav-prev {
left: -36px;
}

.more-buildings-section .nav-next {
right: -36px;
}
}

@media (max-width: 768px) {
.more-buildings-section {
padding: 0; /* Remove padding on mobile */
margin: 24px 0;
background: transparent; /* Remove background on mobile */
border-radius: 0; /* Remove border radius on mobile */
}

.more-buildings-section .section-title {
font-size: 20px;
margin-bottom: 16px;
}

.more-buildings-section .buildings-carousel {
margin: 0; /* Remove margin on mobile */
overflow: hidden; /* Hide overflow on mobile */
}

.more-buildings-section .track-container {
width: auto; /* Allow natural width on mobile */
overflow-x: auto;
scrollbar-width: none;
-ms-overflow-style: none;
padding: 0; /* Remove horizontal padding */
}

.more-buildings-section .track-container::-webkit-scrollbar {
display: none;
}

.more-buildings-section .building-card {
flex: 0 0 249px; /* Keep same width as desktop */
}

.more-buildings-section .nav-arrow {
display: none !important; /* Force hide navigation buttons */
}
}

@media (max-width: 480px) {
.more-buildings-section .building-card {
flex: 0 0 249px; /* Keep same width as desktop */
}

.more-buildings-section .buildings-track {
gap: 16px; /* Keep same gap as desktop */
}

.more-buildings-section .features-row {
gap: 8px;
}

.more-buildings-section .feature {
font-size: 8px;
padding: 3px 6px;
}
}

/* Property Carousel - COMPLETE UPDATED STYLES */
.idx-similar-listings .idx-property-carousel-container {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 2rem 0;
    width: 100%;
    max-width: 1280px !important;
    margin: 2rem auto;
    clear: both;
    overflow: visible;
}

.idx-similar-listings .idx-property-carousel-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    clear: both;
}

/* Carousel Header */
.idx-similar-listings .idx-carousel-header {
    margin-bottom: 2rem;
    display: flex;
    width: 100%;
}
.idx-comparable-container .title,
.idx-carousel-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 2.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* Carousel with Navigation Container */
.idx-similar-listings .idx-carousel-with-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1350px;
    height: auto;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

/* Navigation Container */
.idx-similar-listings .idx-carousel-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px;
    gap: 10px;
    width: 64px;
    height: 64px;
    flex: none;
    flex-grow: 0;
}

/* Navigation Button - WITH DISABLED STATES */
.idx-similar-listings .idx-carousel-nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 10px;
    width: 56px;
    height: 56px;
    background: #93370D;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: none;
    align-self: stretch;
    flex-grow: 1;
}

.idx-similar-listings .idx-carousel-nav-btn:hover:not(.idx-nav-disabled) {
    background: #7d2f0b;
    transform: scale(1.05);
}

.idx-similar-listings .idx-carousel-nav-btn:active:not(.idx-nav-disabled) {
    transform: scale(0.95);
}

/* Disabled Navigation Button Styles */
.idx-similar-listings .idx-carousel-nav-btn.idx-nav-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.idx-similar-listings .idx-carousel-nav-btn.idx-nav-disabled:hover {
    transform: none !important;
    background: #ccc !important;
}

.idx-similar-listings .idx-carousel-nav-btn.idx-nav-disabled svg {
    fill: #888 !important;
}

/* Navigation Button Inner */
.idx-similar-listings .idx-nav-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 10px;
    width: 40px;
    height: 40px;
    flex: none;
    flex-grow: 0;
}

.idx-similar-listings .idx-nav-btn-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex: none;
    flex-grow: 0;
}

.idx-similar-listings .idx-nav-btn-inner svg {
    width: 24px !important;
    height: 24px !important;
    fill: white;
    transition: fill 0.2s ease;
}

/* Carousel Content Wrapper - OPTIMIZED FOR 3 CARDS */
.idx-similar-listings .idx-carousel-content-wrapper {
    flex: 1;
    overflow: hidden;
    width: 1280px;
    max-width: 1280px;
    display: flex;
    justify-content: center;
}

/* Owl Carousel Container */
.idx-similar-listings .owl-carousel.idx-property-carousel {
    position: relative;
    margin: 0;
    width: 100% !important;
    display: block !important;
}

/* Property Cards - RESPONSIVE SIZING */
.idx-similar-listings .idx-property-card {
    width: 360px !important;
    height: 470px !important;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    flex: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
    min-width: 360px !important;
    max-width: 360px !important;
    position: relative;
    float: none !important;
}

.idx-similar-listings .idx-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Card Image Container */
.idx-similar-listings .idx-card-image-container {
    position: relative;
    width: 100% !important;
    height: 275px !important;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.idx-similar-listings .idx-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block !important;
    opacity: 1 !important;
}

.idx-similar-listings .idx-card-image.idx-loaded {
    opacity: 1 !important;
}

.idx-similar-listings .idx-property-card:hover .idx-card-image {
    transform: scale(1.05);
}

/* Image Loader Spinner */
.idx-similar-listings .idx-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.idx-similar-listings .idx-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #93370D;
    border-radius: 50%;
    animation: idx-spin 1s linear infinite;
}

@keyframes idx-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Image Filters/Chips */
.idx-similar-listings .idx-image-filters {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 10px;
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 32px;
    z-index: 4;
}

.idx-similar-listings .idx-filter-chip {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    gap: 8px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 100px;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #293056;
    flex: none;
    box-sizing: border-box;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.idx-similar-listings .idx-filter-chip:first-child {
    min-width: 64px;
    flex-shrink: 0;
}

.idx-similar-listings .idx-filter-chip.idx-filter-price {
    min-width: 80px;
    flex-shrink: 1;
    margin-left: auto;
}

/* FOR RENT SPECIFIC STYLING */
.idx-similar-listings .idx-filter-chip.idx-for-rent {
    background: #E8F5E8 !important;
    color: #2D5016 !important;
    border: 1px solid #C3E6C3 !important;
    font-weight: 700 !important;
}

.idx-similar-listings .idx-filter-chip.idx-for-sale {
    background: #FFFFFF !important;
    color: #293056 !important;
    border: 1px solid #E5E7EB !important;
    font-weight: 700 !important;
}

/* Card Content */
.idx-similar-listings .idx-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 16px;
    gap: 10px;
    width: 100%;
    height: calc(470px - 275px);
    box-sizing: border-box;
    flex-grow: 1;
}

/* Property Type Title */
.idx-similar-listings .idx-property-type-title {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 0px 8px 0px;
    gap: 10px;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.03em;
    color: #293056 !important;
    text-align: left !important;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Property Details Container */
.idx-similar-listings .idx-property-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 100%;
    flex: 1;
    order: 1;
    align-self: stretch;
}

/* Property Address */
.idx-similar-listings .idx-property-address {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 0px 8px 0px;
    gap: 10px;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056 !important;
    text-align: left !important;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Property Features */
.idx-similar-listings .idx-property-features {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 0px 8px 0px;
    gap: 10px;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056 !important;
    text-align: left !important;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Property MLS */
.idx-similar-listings .idx-property-mls {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    gap: 10px;
    width: 100%;
    min-height: 32px;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056 !important;
    text-align: left !important;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* Property Card Link */
.idx-similar-listings .idx-property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.idx-similar-listings .idx-property-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Carousel Footer */
.idx-similar-listings .idx-carousel-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.idx-similar-listings .idx-view-all-properties-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 32px;
    gap: 8px;
    width: auto;
    height: 44px;
    background: #000000;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.idx-similar-listings .idx-view-all-properties-btn:hover {
    background: #374151;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.idx-similar-listings .idx-view-all-text {
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Owl Carousel Specific Styles */
.idx-similar-listings .owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.idx-similar-listings .owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 15px 0;
    margin: 0 auto;
    justify-content: flex-start;
    transform: translate3d(0px, 0px, 0px);
    transition: all 0.25s ease 0s;
}

.idx-similar-listings .owl-carousel .owl-item {
    height: auto;
    display: flex;
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    flex-shrink: 0;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    margin-right: 20px;
}

.idx-similar-listings .owl-carousel .owl-item:last-child {
    margin-right: 0;
}

.idx-similar-listings .owl-carousel .owl-item .idx-property-card {
    height: 470px !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: 0 auto;
}

/* Remove Owl Carousel default navigation and dots */
.idx-similar-listings .owl-carousel .owl-nav,
.idx-similar-listings .owl-carousel .owl-dots {
    display: none !important;
}

/* RESPONSIVE DESIGN - MOBILE SHOWS ONLY 1 CARD */

/* Large Desktop - 3 cards */
@media (min-width: 1024px) {
    .idx-similar-listings .idx-carousel-content-wrapper {
        width: 1280px !important;
        max-width: 1280px !important;
    }
    
    .idx-similar-listings .idx-property-carousel-container {
        max-width: 1280px !important;
    }
}

/* Medium Desktop - 2 cards */
@media (max-width: 1023px) and (min-width: 768px) {
    .idx-similar-listings .idx-carousel-content-wrapper {
        width: 740px !important;
        max-width: 740px !important;
    }
    
    .idx-similar-listings .idx-property-carousel-container {
        max-width: 900px !important;
    }
}

/* Tablets and Mobile - 1 card only, hide navigation */
@media (max-width: 767px) {
    .idx-similar-listings .idx-property-carousel-container {
        margin: 2rem 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .idx-similar-listings .idx-carousel-nav-container {
        display: none !important;
    }
    
    .idx-similar-listings .idx-carousel-with-nav {
        gap: 0px;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .idx-similar-listings .idx-carousel-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .idx-similar-listings .idx-property-card {
        width: 320px !important;
        height: 420px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-similar-listings .idx-card-image-container {
        height: 240px !important;
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
        background-color: #f5f5f5 !important;
    }
    
    .idx-similar-listings .idx-card-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .idx-similar-listings .idx-card-content {
        height: calc(420px - 240px);
    }
    
    .idx-similar-listings .owl-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .idx-similar-listings .owl-carousel .owl-item .idx-property-card {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-similar-listings .owl-carousel .owl-stage {
        padding: 15px 0 !important;
        margin: 0 !important;
    }
}

/* Small Mobile - 1 card, smaller size, no navigation */
@media (max-width: 480px) {
    .idx-similar-listings .idx-property-carousel-container {
        margin: 2rem 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .idx-similar-listings .idx-carousel-nav-container {
        display: none !important;
    }
    
    .idx-similar-listings .idx-carousel-with-nav {
        gap: 0px;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .idx-similar-listings .idx-carousel-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .idx-similar-listings .idx-property-card {
        width: 280px !important;
        height: 380px !important;
        margin: 0 auto !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .idx-similar-listings .idx-card-image-container {
        height: 210px !important;
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
        background-color: #f5f5f5 !important;
    }
    
    .idx-similar-listings .idx-card-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .idx-similar-listings .idx-card-content {
        height: calc(380px - 210px);
        padding: 12px;
    }
    
    .idx-similar-listings .idx-filter-chip {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .idx-similar-listings .owl-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .idx-similar-listings .owl-carousel .owl-item .idx-property-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .idx-similar-listings .owl-carousel .owl-stage {
        padding: 15px 0 !important;
        margin: 0 !important;
    }
}

/* Fallback layout styles */
.idx-similar-listings .owl-carousel.idx-fallback-carousel {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 15px 10px !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.idx-similar-listings .owl-carousel.idx-fallback-carousel::-webkit-scrollbar {
    display: none !important;
}

.idx-similar-listings .owl-carousel.idx-fallback-carousel .idx-property-card {
    flex-shrink: 0 !important;
}

/* Print styles */
@media print {
    .idx-similar-listings .idx-carousel-nav-container,
    .idx-similar-listings .idx-carousel-footer {
        display: none !important;
    }
    
    .idx-similar-listings .idx-image-filters {
        display: none;
    }
}

/* For Sale Property Carousel - CLEAN AND OPTIMIZED STYLES */
.idx-for-sale .idx-property-carousel-container {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 2rem auto;
    width: 100%;
    max-width: 1280px;
    clear: both;
    overflow: visible;
}

.idx-for-sale .idx-property-carousel-wrapper {
    width: 100%;
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    clear: both;
}

/* Carousel Header */
.idx-for-sale .idx-carousel-header {
    margin-bottom: 2rem;
    display: flex;
    width: 100%;
}


/* Carousel with Navigation Container */
.idx-for-sale .idx-carousel-with-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1280px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

/* Navigation Container */
.idx-for-sale .idx-carousel-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    flex: none;
}

/* Navigation Button */
.idx-for-sale .idx-carousel-nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    background: #93370D;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.idx-for-sale .idx-carousel-nav-btn:hover:not(.idx-nav-disabled) {
    background: #7d2f0b;
    transform: scale(1.05);
}

.idx-for-sale .idx-carousel-nav-btn:active:not(.idx-nav-disabled) {
    transform: scale(0.95);
}

/* Disabled Navigation Button */
.idx-for-sale .idx-carousel-nav-btn.idx-nav-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.idx-for-sale .idx-carousel-nav-btn.idx-nav-disabled:hover {
    transform: none !important;
}

.idx-for-sale .idx-carousel-nav-btn.idx-nav-disabled svg {
    fill: #888 !important;
}

.idx-for-sale .idx-carousel-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.2s ease;
}

/* Carousel Content Wrapper */
.idx-for-sale .idx-carousel-content-wrapper {
    flex: 1;
    overflow: hidden;
    width: 1280px;
    max-width: 1280px;
    display: flex;
    justify-content: center;
}

/* Owl Carousel Container */
.idx-for-sale .owl-carousel.idx-property-carousel {
    position: relative;
    margin: 0;
    width: 100% !important;
    display: block !important;
}

/* Property Cards */
.idx-for-sale .idx-property-card {
    width: 360px !important;
    height: 470px !important;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
    min-width: 360px !important;
    max-width: 360px !important;
    position: relative;
}

.idx-for-sale .idx-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Card Image Container */
.idx-for-sale .idx-card-image-container {
    position: relative;
    width: 100%;
    height: 275px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.idx-for-sale .idx-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
    display: block;
    opacity: 1;
    min-height: 275px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.idx-for-sale .idx-card-image:not([src]),
.idx-for-sale .idx-card-image[src=""],
.idx-for-sale .idx-card-image[src="#"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.idx-for-sale .idx-card-image:not([src])::after,
.idx-for-sale .idx-card-image[src=""]::after,
.idx-for-sale .idx-card-image[src="#"]::after {
    content: "🏠";
    font-size: 3rem;
    color: white;
}

.idx-for-sale .idx-property-card:hover .idx-card-image {
    transform: scale(1.05);
}

/* Image Filters/Chips */
.idx-for-sale .idx-image-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 32px;
    z-index: 4;
}

.idx-for-sale .idx-filter-chip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 100px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #293056;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.idx-for-sale .idx-filter-chip:first-child {
    min-width: 64px;
    flex-shrink: 0;
}

.idx-for-sale .idx-filter-chip.idx-filter-price {
    min-width: 80px;
    margin-left: auto;
}

/* Sale Property Styling */
.idx-for-sale .idx-filter-chip.idx-for-sale {
    background: #FFFFFF !important;
    color: #293056 !important;
    border: 1px solid #E5E7EB !important;
}

/* Card Content */
.idx-for-sale .idx-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
    width: 100%;
    height: calc(470px - 275px);
    box-sizing: border-box;
    flex-grow: 1;
}

/* Property Type Title */
.idx-for-sale .idx-property-type-title {
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

/* Property Details Container */
.idx-for-sale .idx-property-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    flex: 1;
}

/* Property Address, Features, MLS */
.idx-for-sale .idx-property-address,
.idx-for-sale .idx-property-features {
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

.idx-for-sale .idx-property-mls {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 32px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

/* Property Card Link */
.idx-for-sale .idx-property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Carousel Footer */
.idx-for-sale .idx-carousel-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.idx-for-sale .idx-view-all-properties-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 32px;
    height: 44px;
    background: #000000;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.idx-for-sale .idx-view-all-properties-btn:hover {
    background: #374151;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.idx-for-sale .idx-view-all-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Owl Carousel Specific Styles */
.idx-for-sale .owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.idx-for-sale .owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 15px 0;
    margin: 0 auto;
    justify-content: flex-start;
    transform: translate3d(0px, 0px, 0px);
    transition: all 0.25s ease 0s;
}

.idx-for-sale .owl-carousel .owl-item {
    height: auto;
    display: flex;
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    flex-shrink: 0;
    float: left;
    margin-right: 20px;
}

.idx-for-sale .owl-carousel .owl-item:last-child {
    margin-right: 0;
}

.idx-for-sale .owl-carousel .owl-item .idx-property-card {
    height: 470px !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: 0 auto;
}

/* Remove default Owl Carousel navigation and dots */
.idx-for-sale .owl-carousel .owl-nav,
.idx-for-sale .owl-carousel .owl-dots {
    display: none !important;
}

/* RESPONSIVE DESIGN */

/* Medium Desktop - 2 cards */
@media (max-width: 1023px) and (min-width: 768px) {
    .idx-for-sale .idx-carousel-content-wrapper {
        width: 740px !important;
        max-width: 740px !important;
    }
    
    .idx-for-sale .idx-property-carousel-container {
        max-width: 900px !important;
    }
}

/* Mobile - 1 card, full width, no navigation */
@media (max-width: 767px) {
    .idx-for-sale .idx-property-carousel-container {
        margin: 2rem 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .idx-for-sale .idx-carousel-nav-container {
        display: none !important;
    }
    
    .idx-for-sale .idx-carousel-with-nav {
        gap: 0;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .idx-for-sale .idx-carousel-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .idx-for-sale .idx-property-card {
        width: 320px !important;
        height: 420px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-for-sale .idx-card-image-container {
        height: 240px !important;
    }
    
    .idx-for-sale .idx-card-content {
        height: calc(420px - 240px);
    }
    
    .idx-for-sale .owl-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .idx-for-sale .owl-carousel .owl-item .idx-property-card {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-for-sale .owl-carousel .owl-stage {
        padding: 15px 0 !important;
        margin: 0 !important;
    }
}

/* Small Mobile - smaller cards */
@media (max-width: 480px) {
    .idx-for-sale .idx-property-card {
        width: 280px !important;
        height: 380px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .idx-for-sale .idx-card-image-container {
        height: 210px !important;
    }
    
    .idx-for-sale .idx-card-content {
        height: calc(380px - 210px);
        padding: 12px;
    }
    
    .idx-for-sale .idx-filter-chip {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .idx-for-sale .owl-carousel .owl-item .idx-property-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

/* Fallback layout styles */
.idx-for-sale .owl-carousel.idx-fallback-carousel {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 15px 10px !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.idx-for-sale .owl-carousel.idx-fallback-carousel::-webkit-scrollbar {
    display: none !important;
}

.idx-for-sale .owl-carousel.idx-fallback-carousel .idx-property-card {
    flex-shrink: 0 !important;
}

/* Print styles */
@media print {
    .idx-for-sale .idx-carousel-nav-container,
    .idx-for-sale .idx-carousel-footer {
        display: none !important;
    }
    
    .idx-for-sale .idx-image-filters {
        display: none;
    }
}


/* For Rent Property Carousel - CLEAN AND OPTIMIZED STYLES */
.idx-for-rent .idx-property-carousel-container {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 2rem auto;
    width: 100%;
    max-width: 1280px;
    clear: both;
    overflow: visible;
}

.idx-for-rent .idx-property-carousel-wrapper {
    width: 100%;
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    clear: both;
}

/* Carousel Header */
.idx-for-rent .idx-carousel-header {
    margin-bottom: 2rem;
    display: flex;
    width: 100%;
}

/* Carousel with Navigation Container */
.idx-for-rent .idx-carousel-with-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1280px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

/* Navigation Container */
.idx-for-rent .idx-carousel-nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    flex: none;
}

/* Navigation Button */
.idx-for-rent .idx-carousel-nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    background: #93370D;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.idx-for-rent .idx-carousel-nav-btn:hover:not(.idx-nav-disabled) {
    background: #7d2f0b;
    transform: scale(1.05);
}

.idx-for-rent .idx-carousel-nav-btn:active:not(.idx-nav-disabled) {
    transform: scale(0.95);
}

/* Disabled Navigation Button */
.idx-for-rent .idx-carousel-nav-btn.idx-nav-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.idx-for-rent .idx-carousel-nav-btn.idx-nav-disabled:hover {
    transform: none !important;
}

.idx-for-rent .idx-carousel-nav-btn.idx-nav-disabled svg {
    fill: #888 !important;
}

.idx-for-rent .idx-carousel-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.2s ease;
}

/* Carousel Content Wrapper */
.idx-for-rent .idx-carousel-content-wrapper {
    flex: 1;
    overflow: hidden;
    width: 1280px;
    max-width: 1280px;
    display: flex;
    justify-content: center;
}

/* Owl Carousel Container */
.idx-for-rent .owl-carousel.idx-property-carousel {
    position: relative;
    margin: 0;
    width: 100% !important;
    display: block !important;
}

/* Property Cards */
.idx-for-rent .idx-property-card {
    width: 360px !important;
    height: 470px !important;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
    min-width: 360px !important;
    max-width: 360px !important;
    position: relative;
    border: 1px solid #E8F5E8; /* Green border for rental properties */
}

.idx-for-rent .idx-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(45, 80, 22, 0.1);
    border-color: #C3E6C3;
}

/* Card Image Container */
.idx-for-rent .idx-card-image-container {
    position: relative;
    width: 100%;
    height: 275px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.idx-for-rent .idx-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
    display: block;
    opacity: 1;
    min-height: 275px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.idx-for-rent .idx-card-image:not([src]),
.idx-for-rent .idx-card-image[src=""],
.idx-for-rent .idx-card-image[src="#"] {
    background: linear-gradient(135deg, #E8F5E8 0%, #C3E6C3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.idx-for-rent .idx-card-image:not([src])::after,
.idx-for-rent .idx-card-image[src=""]::after,
.idx-for-rent .idx-card-image[src="#"]::after {
    content: "🏠";
    font-size: 3rem;
    color: #2D5016;
}

.idx-for-rent .idx-property-card:hover .idx-card-image {
    transform: scale(1.05);
}

/* Image Filters/Chips */
.idx-for-rent .idx-image-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 32px;
    z-index: 4;
}

.idx-for-rent .idx-filter-chip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    height: 32px;
    background: #E8F5E8;
    border: 1px solid #C3E6C3;
    border-radius: 100px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #2D5016;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.idx-for-rent .idx-filter-chip:first-child {
    min-width: 64px;
    flex-shrink: 0;
}

.idx-for-rent .idx-filter-chip.idx-filter-price {
    min-width: 80px;
    margin-left: auto;
}

/* Rent Property Styling */
.idx-for-rent .idx-filter-chip.idx-for-rent {
    background: #E8F5E8 !important;
    color: #2D5016 !important;
    border: 1px solid #C3E6C3 !important;
}

.idx-for-rent .idx-property-card:hover .idx-filter-chip.idx-for-rent {
    background: #D1F2D1 !important;
    transform: scale(1.02);
}

/* Card Content */
.idx-for-rent .idx-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
    width: 100%;
    height: calc(470px - 275px);
    box-sizing: border-box;
    flex-grow: 1;
}

/* Property Type Title */
.idx-for-rent .idx-property-type-title {
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

/* Property Details Container */
.idx-for-rent .idx-property-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    flex: 1;
}

/* Property Address, Features, MLS */
.idx-for-rent .idx-property-address,
.idx-for-rent .idx-property-features {
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    width: 100%;
    min-height: 32px;
    border-bottom: 1px solid #E9EAEB;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

.idx-for-rent .idx-property-mls {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 32px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.03em;
    color: #293056;
    text-align: left;
}

/* Property Card Link */
.idx-for-rent .idx-property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Carousel Footer */
.idx-for-rent .idx-carousel-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.idx-for-rent .idx-view-all-properties-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 32px;
    height: 44px;
    background: #000000;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.idx-for-rent .idx-view-all-properties-btn:hover {
    background: #374151;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.idx-for-rent .idx-view-all-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Owl Carousel Specific Styles */
.idx-for-rent .owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.idx-for-rent .owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 15px 0;
    margin: 0 auto;
    justify-content: flex-start;
    transform: translate3d(0px, 0px, 0px);
    transition: all 0.25s ease 0s;
}

.idx-for-rent .owl-carousel .owl-item {
    height: auto;
    display: flex;
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    flex-shrink: 0;
    float: left;
    margin-right: 20px;
}

.idx-for-rent .owl-carousel .owl-item:last-child {
    margin-right: 0;
}

.idx-for-rent .owl-carousel .owl-item .idx-property-card {
    height: 470px !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: 0 auto;
}

/* Remove default Owl Carousel navigation and dots */
.idx-for-rent .owl-carousel .owl-nav,
.idx-for-rent .owl-carousel .owl-dots {
    display: none !important;
}

/* RESPONSIVE DESIGN */

/* Medium Desktop - 2 cards */
@media (max-width: 1023px) and (min-width: 768px) {
    .idx-for-rent .idx-carousel-content-wrapper {
        width: 740px !important;
        max-width: 740px !important;
    }
    
    .idx-for-rent .idx-property-carousel-container {
        max-width: 900px !important;
    }
}

/* Mobile - 1 card, full width, no navigation */
@media (max-width: 767px) {
    .idx-for-rent .idx-property-carousel-container {
        margin: 2rem 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .idx-for-rent .idx-carousel-nav-container {
        display: none !important;
    }
    
    .idx-for-rent .idx-carousel-with-nav {
        gap: 0;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .idx-for-rent .idx-carousel-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .idx-for-rent .idx-property-card {
        width: 320px !important;
        height: 420px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-for-rent .idx-card-image-container {
        height: 240px !important;
    }
    
    .idx-for-rent .idx-card-content {
        height: calc(420px - 240px);
    }
    
    .idx-for-rent .owl-carousel .owl-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .idx-for-rent .owl-carousel .owl-item .idx-property-card {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .idx-for-rent .owl-carousel .owl-stage {
        padding: 15px 0 !important;
        margin: 0 !important;
    }
}

/* Small Mobile - smaller cards */
@media (max-width: 480px) {
    .idx-for-rent .idx-property-card {
        width: 280px !important;
        height: 380px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .idx-for-rent .idx-card-image-container {
        height: 210px !important;
    }
    
    .idx-for-rent .idx-card-content {
        height: calc(380px - 210px);
        padding: 12px;
    }
    
    .idx-for-rent .idx-filter-chip {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .idx-for-rent .owl-carousel .owl-item .idx-property-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

/* Fallback layout styles */
.idx-for-rent .owl-carousel.idx-fallback-carousel {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 15px 10px !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.idx-for-rent .owl-carousel.idx-fallback-carousel::-webkit-scrollbar {
    display: none !important;
}

.idx-for-rent .owl-carousel.idx-fallback-carousel .idx-property-card {
    flex-shrink: 0 !important;
}

/* Print styles */
@media print {
    .idx-for-rent .idx-carousel-nav-container,
    .idx-for-rent .idx-carousel-footer {
        display: none !important;
    }
    
    .idx-for-rent .idx-image-filters {
        display: none;
    }
}

       /* Reset and isolation for FAQ component */
       .accordion-section,
       .accordion-section *,
       .accordion-section *::before,
       .accordion-section *::after {
           box-sizing: border-box !important;
       }

       /* Accordion Section */
       .accordion-section {
           margin: 16px auto !important;
           padding: 0 !important;
           background: transparent !important;
           border: none !important;
           box-shadow: none !important;
           font-family: 'Work Sans' !important;
       }

       .accordion-section .accordion-title {
           font-size: 20px !important;
           font-family: "Space Grotesk" !important;
           font-weight: 700 !important;
           margin: 0 0 12px 0 !important;
           padding: 0 !important;
           color: #000000 !important;
           line-height: 1.25 !important;
           background: transparent !important;
           border: none !important;
           text-shadow: none !important;
           font-family: inherit !important;
           text-transform: none !important;
           letter-spacing: normal !important;
       }

       /* Accordion Container */
       .accordion-container {
           display: flex !important;
           flex-direction: column !important;
           gap: 16px !important;
           margin: 0 !important;
           padding: 0 !important;
           background: transparent !important;
           border: none !important;
       }

       /* Accordion Item */
       .accordion-item {
           background-color: #ffffff !important;
           border: 1px solid #d1d5db !important;
           border-radius: 8px !important;
           overflow: hidden !important;
           margin: 0 !important;
           padding: 0 !important;
           box-shadow: none !important;
       }

       /* Accordion Button */
       .accordion-button {
           display: flex !important;
           justify-content: space-between !important;
           align-items: center !important;
           width: 100% !important;
           padding: 16px !important;
           margin: 0 !important;
           text-align: left !important;
           color: #111827 !important;
           font-weight: 600 !important;
           font-size: 16px !important;
           line-height: 1.5 !important;
           background-color: transparent !important;
           border: none !important;
           cursor: pointer !important;
           transition: all 0.2s ease !important;
           outline: none !important;
           font-family: inherit !important;
           text-transform: none !important;
           letter-spacing: normal !important;
           text-decoration: none !important;
           box-shadow: none !important;
           text-shadow: none !important;
           border-radius: 0 !important;
           appearance: none !important;
           -webkit-appearance: none !important;
           -moz-appearance: none !important;
       }

       .accordion-button:hover {
           background-color: #f9fafb !important;
           color: #000000 !important;
           text-decoration: none !important;
           box-shadow: none !important;
           border: none !important;
       }

       .accordion-button:focus {
           outline: 2px solid #3b82f6 !important;
           outline-offset: -2px !important;
           background-color: #f9fafb !important;
           color: #000000 !important;
       }

       .accordion-button-text {
           flex-grow: 1 !important;
           text-align: left !important;
           margin: 0 16px 0 0 !important;
           padding: 0 !important;
           color: inherit !important;
           font-weight: inherit !important;
           font-size: inherit !important;
           line-height: inherit !important;
           background: transparent !important;
           border: none !important;
           text-decoration: none !important;
           text-transform: none !important;
           letter-spacing: normal !important;
       }

       /* Accordion Icon */
       .accordion-icon {
           width: 32px !important;
           height: 32px !important;
           color: #9ca3af !important;
           transform: rotate(0deg) !important;
           transition: transform 0.2s ease !important;
           margin: 0 0 0 auto !important;
           padding: 0 !important;
           flex-shrink: 0 !important;
           background: transparent !important;
           border: none !important;
       }

       .accordion-icon.rotated {
           transform: rotate(45deg) !important;
       }

       /* Accordion Content */
       .accordion-content {
           max-height: 0 !important;
           overflow: hidden !important;
           transition: max-height 0.2s ease-in-out !important;
           margin: 0 !important;
           padding: 0 !important;
           background: transparent !important;
           border: none !important;
       }

       .accordion-content.expanded {
           max-height: 200px !important; /* Adjust based on your content */
       }

       .accordion-text {
           padding: 16px !important;
           margin: 0 !important;
           color: #374151 !important;
           background: transparent !important;
           border: none !important;
       }

       .accordion-text p {
           margin: 0 !important;
           padding: 0 !important;
           line-height: 1.5 !important;
           color: inherit !important;
           font-size: 16px !important;
           font-weight: normal !important;
           background: transparent !important;
           border: none !important;
           text-decoration: none !important;
           font-family: inherit !important;
       }

       /* Active State */
       .accordion-item.active .accordion-button {
           background-color: #f9fafb !important;
           color: #000000 !important;
       }

       .accordion-item.active .accordion-icon {
           transform: rotate(45deg) !important;
           color: #6b7280 !important;
       }

       /* Responsive Design */
       @media (max-width: 768px) {
           .accordion-section {
               margin: 12px auto !important;
           }

           .accordion-title {
               font-size: 18px !important;
               margin-bottom: 10px !important;
           }

           .accordion-container {
               gap: 12px !important;
           }

           .accordion-button {
               padding: 14px !important;
               font-size: 15px !important;
           }

           .accordion-text {
               padding: 14px !important;
           }

           .accordion-icon {
               width: 28px !important;
               height: 28px !important;
           }

           /* Mobile truncation for question text */
           .accordion-button-text {
               overflow: hidden !important;
               text-overflow: ellipsis !important;
               white-space: nowrap !important;
               max-width: calc(100% - 44px) !important; /* Account for icon width + margin */
           }
       }

       /* Animation Enhancement */
       .accordion-content {
           transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
       }

       /* Hover Effects */
       .accordion-item:hover {
           box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
       }

       /* Override WordPress default styles */
       .accordion-section h1,
       .accordion-section h2,
       .accordion-section h3,
       .accordion-section h4,
       .accordion-section h5,
       .accordion-section h6 {
           font-family: inherit !important;
           color: #000000 !important;
           background: transparent !important;
           border: none !important;
           box-shadow: none !important;
           text-shadow: none !important;
           margin: 0 0 12px 0 !important;
           padding: 0 !important;
       }

       .accordion-section p {
           font-family: inherit !important;
           color: inherit !important;
           background: transparent !important;
           border: none !important;
           margin: 0 !important;
           padding: 0 !important;
       }

       .accordion-section button {
           font-family: inherit !important;
           appearance: none !important;
           -webkit-appearance: none !important;
           -moz-appearance: none !important;
       }

       /* Ensure hover states work properly */
       .accordion-button:hover .accordion-button-text {
           color: #000000 !important;
       }

       .accordion-item.active .accordion-button .accordion-button-text {
           color: #000000 !important;
       }


           
        /* Section Container - Matches Image Layout */
        .idx-property-description-section.idx-main-section,
        body .idx-property-description-section.idx-main-section,
        html body .idx-property-description-section.idx-main-section {
            width: 100% !important;
            background: #ffffff !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            position: relative !important;
            box-sizing: border-box !important;
        }

        /* Main Container - Centered with Max Width */
        .idx-property-description-container.idx-main-container,
        body .idx-property-description-container.idx-main-container,
        html body .idx-property-description-container.idx-main-container {
            max-width: 1280px !important;
            width: 100% !important;
            padding: 60px 0 !important;
            background: #ffffff !important;
            display: block !important;
            box-sizing: border-box !important;
            position: relative !important;
            z-index: 1 !important;
        }

        /* Wrapper for Content */
        .idx-property-description-wrapper.idx-main-wrapper,
        body .idx-property-description-wrapper.idx-main-wrapper,
        html body .idx-property-description-wrapper.idx-main-wrapper {
            width: 100% !important;
            display: block !important;
            position: relative !important;
            box-sizing: border-box !important;
        }

        /* Property Title Section */
        .idx-property-header-section,
        body .idx-property-header-section,
        html body .idx-property-header-section {
            width: 100% !important;
            text-align: center !important;
            margin-bottom: 40px !important;
            display: block !important;
            position: relative !important;
            box-sizing: border-box !important;
        }

        /* Main Title - Exact Match to Image */
        .idx-property-main-title,
        body .idx-property-main-title,
        html body .idx-property-main-title,
        .idx-property-main-title h1,
        body .idx-property-main-title h1,
        html body .idx-property-main-title h1 {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
            font-weight: 600 !important;
            font-size: 32px !important;
            line-height: 1.25 !important;
            color: #1f2937 !important;
            text-align: center !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            background: transparent !important;
            text-decoration: none !important;
            text-transform: none !important;
            letter-spacing: -0.025em !important;
            word-spacing: normal !important;
            text-shadow: none !important;
            display: block !important;
            position: relative !important;
            box-sizing: border-box !important;
            z-index: 2 !important;
        }

        /* Description Content - Exact Match to Image */
        .idx-property-description-content,
        body .idx-property-description-content,
        html body .idx-property-description-content {
            font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
            font-weight: 400 !important;
            font-size: 16px !important;
            line-height: 1.6 !important;
            color: #374151 !important;
            text-align: left !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            background: transparent !important;
            text-decoration: none !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            word-spacing: normal !important;
            text-shadow: none !important;
            display: block !important;
            position: relative !important;
            box-sizing: border-box !important;
            z-index: 2 !important;
            width: 100% !important;
            max-width: none !important;
        }

        /* Paragraph Spacing within Description */
        .idx-property-description-content p,
        body .idx-property-description-content p,
        html body .idx-property-description-content p {
            margin: 0 0 20px 0 !important;
            padding: 0 !important;
            font-family: inherit !important;
            font-size: inherit !important;
            line-height: inherit !important;
            color: inherit !important;
            font-weight: inherit !important;
        }

        .idx-property-description-content p:last-child,
        body .idx-property-description-content p:last-child,
        html body .idx-property-description-content p:last-child {
            margin-bottom: 0 !important;
        }

        /* Override any WordPress/theme interference */
        .idx-property-description-content *,
        body .idx-property-description-content *,
        html body .idx-property-description-content * {
            font-family: inherit !important;
            color: inherit !important;
            text-decoration: none !important;
            background: transparent !important;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        /* Responsive Design - Tablet */
        @media (max-width: 768px) {
            .idx-property-description-container.idx-main-container,
            body .idx-property-description-container.idx-main-container,
            html body .idx-property-description-container.idx-main-container {
                padding: 40px 20px !important;
            }
            
            .idx-property-main-title,
            body .idx-property-main-title,
            html body .idx-property-main-title,
            .idx-property-main-title h1,
            body .idx-property-main-title h1,
            html body .idx-property-main-title h1 {
                font-size: 28px !important;
                line-height: 1.3 !important;
            }
            
            .idx-property-header-section,
            body .idx-property-header-section,
            html body .idx-property-header-section {
                margin-bottom: 30px !important;
            }
            
            .idx-property-description-content,
            body .idx-property-description-content,
            html body .idx-property-description-content {
                font-size: 15px !important;
                line-height: 1.65 !important;
            }
        }

        /* Responsive Design - Mobile */
        @media (max-width: 480px) {
            .idx-property-description-container.idx-main-container,
            body .idx-property-description-container.idx-main-container,
            html body .idx-property-description-container.idx-main-container {
                padding: 30px 16px !important;
            }
            
            .idx-property-main-title,
            body .idx-property-main-title,
            html body .idx-property-main-title,
            .idx-property-main-title h1,
            body .idx-property-main-title h1,
            html body .idx-property-main-title h1 {
                font-size: 24px !important;
                line-height: 1.35 !important;
            }
            
            .idx-property-header-section,
            body .idx-property-header-section,
            html body .idx-property-header-section {
                margin-bottom: 24px !important;
            }
            
            .idx-property-description-content,
            body .idx-property-description-content,
            html body .idx-property-description-content {
                font-size: 14px !important;
                line-height: 1.7 !important;
            }
        }

        /* Focus States for Accessibility */
        .idx-property-main-title:focus,
        body .idx-property-main-title:focus,
        html body .idx-property-main-title:focus {
            outline: 2px solid #3b82f6 !important;
            outline-offset: 2px !important;
        }

        /* WordPress Theme Compatibility */
        .twentytwenty .idx-property-description-section,
        .twentytwentyone .idx-property-description-section,
        .twentytwentytwo .idx-property-description-section,
        .twentytwentythree .idx-property-description-section,
        .twentytwentyfour .idx-property-description-section {
            width: 100% !important;
            max-width: none !important;
        }

        /* Gutenberg/Block Editor Compatibility */
        .wp-block .idx-property-description-section,
        .wp-site-blocks .idx-property-description-section {
            width: 100% !important;
            max-width: none !important;
        }

        /* WordPress Admin Bar Compatibility */
        .admin-bar .idx-property-description-section {
            margin-top: 0 !important;
        }

        /* Clear any floats */
        .idx-property-description-section::before,
        .idx-property-description-section::after {
            content: "" !important;
            display: table !important;
            clear: both !important;
        }

        /* Prevent theme resets */
        .idx-property-description-section,
        .idx-property-description-section *,
        .idx-property-description-container,
        .idx-property-description-container *,
        .idx-property-description-wrapper,
        .idx-property-description-wrapper *,
        .idx-property-header-section,
        .idx-property-header-section *,
        .idx-property-main-title,
        .idx-property-main-title *,
        .idx-property-description-content,
        .idx-property-description-content * {
            box-sizing: border-box !important;
            -webkit-box-sizing: border-box !important;
            -moz-box-sizing: border-box !important;
        }

        /* Disable theme animations that might interfere */
        .idx-property-description-section *,
        .idx-property-description-container *,
        .idx-property-description-wrapper *,
        .idx-property-header-section *,
        .idx-property-main-title *,
        .idx-property-description-content * {
            -webkit-animation: none !important;
            -moz-animation: none !important;
            -o-animation: none !important;
            animation: none !important;
            -webkit-transition: none !important;
            -moz-transition: none !important;
            -o-transition: none !important;
            transition: none !important;
        }

        /* High contrast support */
        @media (prefers-contrast: high) {
            .idx-property-main-title,
            .idx-property-description-content {
                color: #000000 !important;
            }
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            .idx-property-description-section *,
            .idx-property-description-container *,
            .idx-property-description-wrapper *,
            .idx-property-header-section *,
            .idx-property-main-title *,
            .idx-property-description-content * {
                -webkit-animation: none !important;
                -moz-animation: none !important;
                -o-animation: none !important;
                animation: none !important;
                -webkit-transition: none !important;
                -moz-transition: none !important;
                -o-transition: none !important;
                transition: none !important;
            }
        }

        /* Force Critical Styles for Development */
        .idx-property-description-section {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .idx-property-main-title {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .idx-property-description-content {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }