.cs-loading {
    display: none;
}

/* Reset button styling */
.cs-button-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.cs-button-outline:hover {
    background: var(--primary);
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .cs-button-outline {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
}

.cs-no-results {
    display: none;
}

.cs-lightbox-image {
    cursor: pointer;
}

.cs-social-icon.facebook {
    width: 32px !important;
    height: 27px !important;
}

.cs-social-icon.instagram {
    width: 32px !important;
    height: 32px !important;
}

.cs-moon {
    enable-background: new 0 0 480 480;
}

/* Mobile optimizations */
@media only screen and (max-width: 768px) {
    /* Center realtor section */
    .cs-realtor-image {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .cs-realtor-image img {
        margin: 0 auto !important;
    }
    
    .cs-contact-button-wrapper {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 1rem !important;
    }
    
    .cs-contact-button-wrapper .cs-button-solid {
        margin: 0 auto !important;
    }
    
    /* Make main image larger on mobile */
    .cs-main-image-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .cs-main-image-container img,
    .cs-main-image-container picture {
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }
    
    /* Remove side padding from container if it exists */
    .cs-gallery,
    .cs-gallery .cs-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}