/* CSS Properties Styles - Modern White & Blue Theme */

/* Slider Gallery Styles */
.main-image-container {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.main-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: var(--property-primary);
    opacity: 1;
}

.gallery-thumb:not(.active) {
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    color: var(--property-text);
    flex-shrink: 0;
}
:root {
    --property-primary: #007cba;
    --property-primary-dark: #005a87;
    --property-primary-light: #1e90ff;
    --property-secondary: #ffffff;
    --property-background: #f8f9fa;
    --property-text: #333333;
    --property-text-light: #666666;
    --property-border: #e1e5e9;
    --property-success: #28a745;
    --property-danger: #dc3545;
    --property-warning: #ffc107;
    --property-info: #17a2b8;
}

.property-search-form {
    background: var(--property-secondary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    align-items: end;
}

/* Style Villa-Vie.com inspiré */
.property-search-form {
    background: white;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.search__inner {
    display: flex;
    align-items: center;
    margin: 0;
}

.search__inner .select {
    flex: 1;
    min-width: 180px;
}

.search__inner .select select,
.search__inner .custom-multiselect-display {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: white;
    transition: all 0.3s ease;
    min-height: 50px;
}

.search__inner .select select:focus,
.search__inner .custom-multiselect-display:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.1);
    outline: none;
}

.search__inner .checkboxes {
    padding: 0;
    background: transparent;
    border: none;
    min-width: unset;
}

.checkboxes ul {
    display: flex;
    list-style: none;
    min-width: unset;
    flex-wrap: nowrap;
    padding: 0;
}

.search__btn {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.search__btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

form.property-search-home-form {
    display: flex;
    align-items: center;
}

h2.home-search-title {
    display: none;
}

.property-home-search {
    margin: 0;
}

/* Style responsive */
@media (max-width: 1024px) {
    .search__inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search__inner .select {
        min-width: 140px;
        flex: 1 1 calc(50% - 6px);
    }

    .search__inner .checkboxes {
        min-width: 100%;
        order: 3;
    }

    .search__btn {
        min-width: 120px;
        order: 4;
    }
}

@media (max-width: 768px) {
    .property-search-form {
        border-radius: 15px;
        padding: 15px 20px;
        margin: 15px;
    }

    .search__inner {
        flex-direction: column;
        gap: 10px;
    }

    .search__inner .select {
        width: 100%;
        min-width: auto;
    }

    .search__inner .checkboxes {
        width: 100%;
        min-width: auto;
    }

    .checkboxes ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search__btn {
        width: 100%;
        min-width: auto;
    }
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.search-field select,
.search-field input[type="number"],
.search-field input[type="text"] {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--property-primary);
    box-shadow: 0 0 0 3px rgba(22,131,174,0.1);
}

.amenities-field {
    grid-column: 1 / -1;
}

.amenities-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.amenities-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.amenities-checkboxes input[type="checkbox"] {
    margin: 0;
}

.search-advanced {
    display: none;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.search-advanced.active {
    display: block;
}

.toggle-advanced {
    background: none;
    border: none;
    color: var(--property-primary);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    margin-bottom: 20px;
}

.search-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.search-button {
    background: linear-gradient(135deg, var(--property-primary), var(--property-primary-dark));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22,131,174,0.3);
}

.reset-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-button:hover {
    background: #545b62;
}

/* Property Results */
.property-results {
    margin-top: 40px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.properties-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.properties-grid.columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.properties-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.properties-grid.columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.property-card {
    opacity: 1 !important;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 450px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card:hover .property-thumb {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.status-disponible { background: #28a745; }
.status-occupe { background: #dc3545; }
.status-reserve { background: #ffc107; color: #333; }
.status-vendu { background: #6c757d; }
.status-maintenance { background: #17a2b8; }

.category-badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.property-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}

.stars {
    color: #ffc107;
}

.property-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-header {
    margin-bottom: 15px;
}

.property-details {
    margin-bottom: 20px;
    flex: 1;
}


.property-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.property-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.property-title a:hover {
    color: var(--property-primary);
}

.property-location {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.property-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
}

.spec-item {
    background: var(--property-secondary);
    color: var(--property-text);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--property-border);
    font-weight: 500;
    white-space: nowrap;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #495057;
    border: 1px solid #e9ecef;
}

.amenity-more {
    background: #007cba;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.property-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--property-primary);
}

.property-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--property-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--property-primary-dark);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--property-primary);
    border: 2px solid var(--property-primary);
}

.btn-secondary:hover {
    background: var(--property-primary);
    color: white;
}

.no-properties,
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #666;
}

.results-summary {
    text-align: center;
    margin: 30px 0;
    color: #666;
    font-weight: 600;
}

.properties-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.properties-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.properties-pagination .page-numbers:hover,
.properties-pagination .page-numbers.current {
    background: #007cba;
    color: white;
}

/* Single Property Styles */
.property-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.property-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.property-gallery-main {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: #007cba;
}

.gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.property-info-summary {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.property-badges-single {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.property-title-single {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.property-location-single {
    font-size: 16px;
    color: #666;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-price-single {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #007cba;
}

.price-period {
    font-size: 18px;
    color: #666;
    margin-left: 8px;
}

.property-quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.info-item .icon {
    font-size: 18px;
}

.property-actions-single {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-large {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.property-content-single {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.property-main-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.property-main-content h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.description-content {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.property-amenities-full {
    margin-top: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.amenity-icon {
    font-size: 20px;
}

.amenity-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card,
.property-stats {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-card h3,
.property-stats h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.agency-info {
    margin-bottom: 30px;
}

.agency-logo {
    font-size: 24px;
    font-weight: 700;
    color: #007cba;
    margin-bottom: 15px;
}

.agency-contact p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.owner-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.owner-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.contact-form-property h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

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

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #007cba;
}

.similar-properties {
    margin-top: 80px;
    padding: 60px 0;
    background: #f8f9fa;
}

.similar-properties h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Widget Styles */
.property-recent-properties {
    margin-bottom: 20px;
}

.recent-property-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-property-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-property-thumb {
    flex-shrink: 0;
}

.recent-property-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-property-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.3;
}

.recent-property-info h4 a {
    color: #333;
    text-decoration: none;
}

.recent-property-info h4 a:hover {
    color: #007cba;
}

.recent-property-price {
    font-size: 13px;
    font-weight: 600;
    color: #007cba;
    margin-bottom: 4px;
}

.recent-property-location {
    font-size: 12px;
    color: #666;
}

.view-all-properties {
    text-align: center;
    margin-top: 20px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-search-form {
        padding: 20px;
    }

    .search-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .amenities-checkboxes {
        grid-template-columns: 1fr 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .property-actions {
        width: 100%;
        justify-content: space-between;
    }

    .property-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .property-content-single {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .property-quick-info {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        flex-wrap: wrap;
    }

    .property-actions-single {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 20px;
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }
}

@media (max-width: 480px) {
    .property-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Styles pour le shortcode de recherche compacte */
.property-search-compact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-compact-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.search-compact-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.property-search-compact-form {
    max-width: 800px;
    margin: 0 auto;
}

.search-compact-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}

.search-compact-field select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s;
}

.search-compact-field select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.search-compact-button {
    grid-column: 1 / -1;
    justify-self: center;
}

.btn-compact-search {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.btn-compact-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,124,186,0.3);
}

/* Styles pour le shortcode héro */
.property-hero-search {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 50px 0;
    border-radius: 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.property-search-hero-form {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.hero-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: center;
}

.hero-search-field select,
.hero-search-field input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.hero-search-field select:focus,
.hero-search-field input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.btn-hero-search {
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    justify-content: center;
}

.btn-hero-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,124,186,0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Amélioration des selects multiples */
.select {
    position: relative;
}

.select select[multiple] {
    background: var(--property-secondary);
    border: 2px solid var(--property-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--property-text);
    transition: all 0.3s ease;
    min-height: 45px;
    appearance: none;
    background-image: none;
}

.select select[multiple]:focus {
    outline: none;
    border-color: var(--property-primary);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.select select[multiple]:hover {
    border-color: var(--property-primary-light);
}

/* Custom multi-select avec checkboxes */
.select.multi-select-custom {
    position: relative;
}

.select.multi-select-custom .dropdown-toggle {
    background: var(--property-secondary);
    border: 2px solid var(--property-border);
    border-radius: 8px;
    padding: 12px 35px 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    transition: all 0.3s ease;
}

.select.multi-select-custom .dropdown-toggle:hover {
    border-color: var(--property-primary-light);
}

.select.multi-select-custom .dropdown-toggle::after {
    content: '▼';
    font-size: 12px;
    color: var(--property-text-light);
    transition: transform 0.3s;
}

.select.multi-select-custom.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.select.multi-select-custom .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--property-secondary);
    border: 2px solid var(--property-primary);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.select.multi-select-custom.open .dropdown-menu {
    display: block;
}

.select.multi-select-custom .dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.select.multi-select-custom .dropdown-item:hover {
    background: var(--property-background);
}

.select.multi-select-custom .dropdown-item input[type="checkbox"] {
    margin: 0;
    accent-color: var(--property-primary);
}

/* Animation pour les checkboxes dynamiques */
.checkbox {
    transition: all 0.3s ease;
}

.checkbox:hover {
    transform: translateY(-1px);
}

.checkbox input[type="checkbox"]:checked + label {
    color: var(--property-primary);
    font-weight: 700;
}

/* Responsive pour recherche compacte */
@media (max-width: 768px) {
    .property-search-compact {
        padding: 30px 20px;
    }

    .search-compact-title {
        font-size: 24px;
    }

    .search-compact-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-compact-button {
        grid-column: 1;
    }

    .btn-compact-search {
        width: 100%;
        min-width: auto;
    }
}

/* Responsive pour héro */
@media (max-width: 768px) {
    .property-hero-search {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .property-search-hero-form {
        padding: 20px;
        margin: 0 10px;
    }

    .hero-search-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* Amélioration des animations */
.property-search-compact,
.property-hero-search {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.et_pb_property_listing,
.et_pb_property_details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.et_pb_property_details .et_pb_column_2_3 {
    width: 66.66%;
    float: left;
    padding-right: 20px;
}

.et_pb_property_details .et_pb_column_1_3 {
    width: 33.33%;
    float: left;
}
/* Hover effects pour les formulaires */
.search-compact-field:hover select {
    border-color: #007cba;
}

.hero-search-field:hover select,
.hero-search-field:hover input {
    border-color: #007cba;
}

/* Styles pour les placeholders */
.hero-search-field input::placeholder {
    color: #999;
    font-style: italic;
}

/* Focus states améliorés */
.search-compact-field select:focus,
.hero-search-field select:focus,
.hero-search-field input:focus {
    transform: translateY(-1px);
}

/* Modern Form Styling for Villa Vie Property Search */
.property-home-search {
    margin: 40px 0;
    width: 100%;
}

.home-search-title {
    font-size: 32px;
    color: var(--property-text);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search.search--achat-mauricien {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(22,131,174,0.1);
    position: relative;
    overflow: hidden;
}

.search.search--achat-mauricien::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--property-primary), var(--property-primary-light));
}

.search__inner {
    gap: 25px;
    margin-bottom: 30px;
    align-items: start;
}

.select {
    position: relative;
}

.select::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22,131,174,0.05), rgba(22,131,174,0.02));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.select:hover::before {
    opacity: 1;
}

.select select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--property-border);
    border-radius: 12px;
    background: white;
    font-size: 15px;
    color: var(--property-text);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.select select:focus {
    outline: none;
    border-color: var(--property-primary);
    box-shadow: 0 0 0 4px rgba(22,131,174,0.15);
    transform: translateY(-2px);
}

.select select:hover {
    border-color: var(--property-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.checkboxes {
    grid-column: 1 / -1;
    background: var(--property-background);
    border: 1px solid var(--property-border);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
}

.checkboxes ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.checkboxes li {
    margin: 0;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: var(--property-secondary);
    border: 2px solid var(--property-border);
    cursor: pointer;
    min-width: 100px;
    justify-content: center;
    font-size: 14px;
}

.checkbox:hover {
    background: var(--property-primary-light);
    border-color: var(--property-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 124, 186, 0.3);
}

.checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--property-primary);
    margin: 0;
    border-radius: 3px;
}

.checkbox label {
    font-size: 14px;
    color: var(--property-text);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    user-select: none;
    transition: color 0.3s;
}

.checkbox:hover label {
    color: white;
}

.checkbox input[type="checkbox"]:checked {
    accent-color: white;
}

.checkbox:has(input[type="checkbox"]:checked) {
    background: var(--property-primary);
    border-color: var(--property-primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 124, 186, 0.4);
}

.checkbox:has(input[type="checkbox"]:checked) label {
    color: white;
    font-weight: 600;
}

/* Styles pour checkboxes inline compactes */
.checkboxes-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--property-border);
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

.checkbox-inline:hover {
    background: var(--property-primary-light);
    border-color: var(--property-primary);
    color: white;
    transform: translateY(-1px);
}

.checkbox-inline input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--property-primary);
    margin: 0;
    border-radius: 2px;
}

.checkbox-inline label {
    font-size: 13px;
    color: var(--property-text);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    line-height: 1;
}

.checkbox-inline:hover label {
    color: white;
}

.checkbox-inline:has(input[type="checkbox"]:checked) {
    background: var(--property-primary);
    border-color: var(--property-primary-dark);
    color: white;
}

.checkbox-inline:has(input[type="checkbox"]:checked) label {
    color: white;
    font-weight: 600;
}

.checkbox-inline:has(input[type="checkbox"]:checked) input[type="checkbox"] {
    accent-color: white;
}

/* Styles pour multi-select custom */
.custom-multiselect {
    position: relative;
    width: 100%;
}

.custom-multiselect-display {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    position: relative;
}

.custom-multiselect-display:after {
    content: '▼';
    position: absolute;
    right: 15px;
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
}

.custom-multiselect-display:hover {
    border-color: #007cba;
}

.custom-multiselect-display.has-selection {
    color: #007cba;
    font-weight: 600;
}

.custom-multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.custom-option {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: #f8f9fa;
}

.custom-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #007cba;
    transform: scale(1.1);
}

.custom-option label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin: 0;
    flex: 1;
}

.custom-option:hover label {
    color: #007cba;
}
 .search__inner {
      display: flex;
      align-items: center;
      margin: 0;
  }

  Checkboxes optimisées :

  .checkboxes ul {
      display: flex;
      list-style: none;
      min-width: unset;
      flex-wrap: nowrap;
      padding: 0;
  }

  Titre masqué :

  h2.home-search-title {
      display: none;
  }

  .property-home-search {
      margin: 0;
  }

.property-search-form {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Animation pour l'ouverture du dropdown */
.custom-multiselect-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .custom-multiselect-display {
        padding: 12px 15px;
        min-height: 45px;
        font-size: 14px;
    }

    .custom-option {
        padding: 10px 12px;
    }

    .custom-option label {
        font-size: 13px;
    }
}

.select.focused select {
    border-color: var(--property-primary);
    box-shadow: 0 0 0 4px rgba(22,131,174,0.15);
    transform: translateY(-2px);
}

.search__btn {
    background: linear-gradient(135deg, var(--property-primary), var(--property-primary-dark));
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
    display: block;
    min-width: 200px;
    box-shadow: 0 6px 20px rgba(22,131,174,0.3);
    position: relative;
    overflow: hidden;
}

.search__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.search__btn:hover {
    background: linear-gradient(135deg, var(--property-primary-dark), var(--property-primary));
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(22,131,174,0.4);
}

.search__btn:hover::before {
    left: 100%;
}

.search__btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22,131,174,0.3);
}
.search__inner{
    display: flex !important;
}
.search__inner {
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 !important;
    max-width: 100%;
}

.checkboxes ul {
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
    gap: 20px;
}

.property-home-search {
    width: 100%;
    max-width: 100%;
}

.search__inner .checkboxes {
    width: 100%;
    display: flex;
    max-width: 100%;
    min-width: auto !important;
}

.search__btn {
    position: relative;
}
/* Responsive pour la recherche accueil */
@media (max-width: 768px) {
    .search.search--achat-mauricien {
        padding: 20px;
        margin: 0 15px;
    }

    .search__inner {
        gap: 15px;
    }

    .checkboxes ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .checkbox {
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .home-search-title {
        font-size: 20px;
    }

    .search__btn {
        width: 100%;
        padding: 18px;
        font-size: 18px;
    }
}
.search.search--achat-mauricien {
    max-width: 100% !important;
    box-shadow: unset;
    border: unset;
    padding: 0;
    background: transparent;
    padding-bottom: 30px;
}

.property-archive-container {
    max-width: 100% !important;
}

form.property-search-form {
    max-width: 100%;
    width: fit-content;
}

.search.search--achat-mauricien:before {
    display: none;
}

.archive-results-section {
    max-width: 1360px;
    margin: auto;
}
.checkboxes ul {
    list-style: none !important;
}
.search.search--achat-mauricien {
    overflow: visible;
}
.et_pb_section_video:not(.et_pb_section--with-menu) {
    overflow: visible !important;
}
button.btn.btn-secondary.contact-btn {
    display: none;
}
img.property-thumb.wp-post-image {
    height: auto;
    transform: unset !important;
}
.properties-archive-grid.list-view .property-image {
    width: 100% !important;
}
.search__inner .select select, .search__inner .custom-multiselect-display {
    min-height: auto !important;
    padding: 10px 20px;
}

.search__inner {
    gap: 10px;
}

#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul {
    gap: 10px;
    padding: 0 !important;
}

.search__inner .checkboxes {
    margin: 0;
}


.search__btn {
    font-size: 15px;
    padding: 0 !important;
}
@media(max-width:1260px){
form.property-search-home-form {
    flex-wrap: wrap;
    gap: 30px;
}

.search__inner {max-width: fit-content;margin: auto !important;}
}
@media(max-width:960px){
    .search__inner {
    flex-wrap: wrap;
}

.search__inner .checkboxes {
    display: flex;
    justify-content: center;
}
}

@media(max-width:1560px){
    form.property-search-form {
    flex-direction: column;
}
}
@media(max-width:1320px){
   form.property-search-form .search__inner {
    flex-wrap: wrap;
justify-content:center;
}

form.property-search-form .search__inner .checkboxes {
    width: fit-content;
}
}
@media(max-width:768px){
    form.property-search-form {
        width: 100% !important;
    }
    .search__inner {
        max-width: 100%;
    }
}
.view-toggle {
    display: none !important;
}

.archive-view-options {
    justify-content: flex-end !important;
}
.properties-archive-grid .property-card{
    max-width: 436px;
}
.property-archive-container ,.property-single-container {
    margin-top: 50px !important;
}