/* Property Exclusive Offers Page Styles */

/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1308px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.page-template-property-exclusive-offers .ekit-template-content-markup >div >div {
    background-color: black;
    margin-bottom: 0;
    padding-bottom: 80px;
}
/* Header section */
.page-header {
    padding: 100px 0 0;
    background-color: transparent;
}

.breadcrumbs {
    color: #4C4B42;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #4C4B42;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #EA682F;
}

.breadcrumbs .separator {
    color: #EA682F;
}

body .page-title h1 {
    font-family: 'Onest', sans-serif;
    font-size: 63px;
    font-weight: 500;
    color: rgb(76, 75, 66);
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.page-subtitle {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 40px;
}

/* Quick filters section */
.quick-filters-section {
    padding: 10px 0; 
    border-bottom: 1px solid #eee;
}

.quick-filters-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.quick-filters-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-search-container {
    margin-left: auto;
}

.quick-filters-arrow {
    color: #4C4B42;
    font-size: 14px;
    margin-right: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: inline-block;
    will-change: transform;
}

.quick-filters-arrow.rotated {
    transform: rotate(180deg);
}

/* Ensure smooth animation on hover states */
.quick-filters-header:hover .quick-filters-arrow {
    color: #EA682F;
}

.quick-filters-label {
    color: #4C4B42;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.quick-filters-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.quick-filters-content.collapsed {
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    .quick-filter-btn {
        color: white;
        &:hover {
            color: #EA682F;
        }
    }
}

.quick-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    background: #EA682F;
    border: 2px solid transparent;
    border-radius: 2px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.quick-filter-btn:hover {
    background: transparent;
    border-color: #EA682F;
    color: #4C4B42;
}

.quick-filter-btn.active {
    background: #EA682F;
    border-color: transparent;
    color: white;
}

.quick-filter-btn::before {
    content: "/ ";
    margin-right: 5px;
    font-weight: 300;
}

.quick-filter-btn:not(.active)::before {
    color: white;
}
.quick-filter-btn:hover::before {
    color: #EA682F;
}

/* Map search button styles moved to inline styles in HTML */

/* Results section */
.results-section {
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.results-count {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: rgb(119, 119, 119);
    margin-bottom: 30px;
}

/* Property grid */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0;
}

.property-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.property-card:nth-child(even) {
    grid-template-columns: 1fr 2fr;
}

.property-card:nth-child(even) .property-image {
    order: 2;
}

.property-card:nth-child(even) .property-content {
    order: 1;
}

.property-image {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-image::before {
    content: "📷";
    font-size: 24px;
    margin-bottom: 5px;
}

/* Property type badge removed as requested */

.property-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.property-location {
    color: rgb(119, 119, 119);
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom:3px;
}

.property-price {
    color: rgb(76, 75, 66);
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.2;
    
}

.property-title {
    font-size: 30px;
    font-weight: 600;
    color: rgb(76,75,66);
    margin-bottom:0;
    line-height: 1.3;
}

.property-description {
    color: rgb(128, 128, 128);
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-features {
    margin-bottom: 25px;
}

.rs-row {
    display: flex;
    flex-direction: column;
}

.rs-display-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.rs-display-container:last-child {
    border-bottom: none;
}

.rs-display-left {
    font-size: 13px;
    font-weight: 400;
    color: rgb(76, 75, 66);
}

.rs-display-right {
    font-size: 13px;
    font-weight: 400;
    color: rgb(76, 75, 66);
    text-transform: uppercase;
}

.property-footer {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.learn-more-btn {
    background: #EA682F;
    color: white!important;
    padding: 12px 24px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    &:hover {
        background: var(--e-global-color-e062515)!important;
    }
}


/* Loading states */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #EA682F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.error-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    .results-section {
        padding: 30px 0;
    }
    
    .property-card {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    .property-card:nth-child(even) .property-image,
    .property-card:nth-child(even) .property-content {
        order: initial;
    }
    
    .property-image {
        min-height: 250px;
        order: 1;
    }
    
    .property-content {
        order: 2;
        min-height: auto;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    .page-title h1 {
        font-size: 36px;
        line-height: 1.1;
    }
    
    .page-subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    /* Responsive font size for bottom section heading */
    section h2[style*="font-size: 63px"] {
        font-size: 42px !important;
        line-height: 1.1 !important;
    }
    
    .quick-filters-section {
        padding: 20px 0;
    }
    
    .quick-filters-top-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .map-search-container {
        margin-left: 0;
        width: 100%;
    }
    
    .quick-filters-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .quick-filter-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .properties-grid {
        gap: 20px;
    }
    
    .property-image {
        min-height: 220px;
    }
    
    .property-content {
        padding: 20px;
    }
    
    .property-price {
        font-size: 24px;
    }
    
    .property-title {
        font-size: 16px;
    }
    
    .property-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .rs-display-container {
        padding: 6px 0;
    }
    
    .rs-display-left,
    .rs-display-right {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    .page-title h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .page-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    /* Even smaller font size for very small screens */
    section h2[style*="font-size: 63px"] {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
    
    .quick-filters-section {
        padding: 15px 0;
    }
    
    .quick-filters-row {
        grid-template-columns: 1fr;
    }
    
    .quick-filter-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .properties-grid {
        gap: 15px;
    }
    
    .property-image {
        min-height: 200px;
    }
    
    .property-content {
        padding: 15px;
    }
    
    .property-location {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .property-price {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .property-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .property-description {
        font-size: 11px;
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
    }
    
    .rs-display-container {
        padding: 4px 0;
    }
    
    .rs-display-left {
        font-size: 11px;
    }
    
    .rs-display-right {
        font-size: 10px;
    }
    
    .learn-more-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
} 