.properties-hero-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    height: 100% !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear{
    margin-top: 9px !important;
}
.properties-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.grid-layout .property-card.list-view {
    display: flex;
    height: 100%;
    flex-direction: column;
}
.grid-layout .property-divider {
    display: none;
}
.grid-layout .property-content {
    border-top: 2px solid #92857A;
}
.properties-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.properties-hero-title {
    color: #92857A;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-align: right;
    padding-right: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.properties-hero-underline {
    width: 120%;
    height: 4px;
    background-color: #92857A;
    margin: 20px auto 0;
    position: relative;
    left: -20%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.properties-search-section {
    background-color: #E6E0DA;
    padding: 40px 0;
    position: relative;
}

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

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-title {
    color: #92857A;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-form-wrapper {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.search-field-group {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.search-field-group label {
    display: block;
    color: #92857A;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    min-height: 46px;
    height: 46px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #92857A;
    box-shadow: 0 0 0 3px rgba(146, 133, 122, 0.1);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #92857A;
    border: 1px solid #92857A;
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    margin: 2px 4px 2px 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 6px;
    font-weight: bold;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
}

.select2-dropdown {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 8px;
    z-index: 9999;
}

.select2-container--default.select2-container--below .select2-selection {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.select2-container--default.select2-container--above .select2-selection {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f0ebe8;
    color: #92857A;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f0ebe8;
    color: #92857A;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 8px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #92857A;
}

.select2-results__option {
    padding: 8px 12px;
}

.select2-container--default .select2-results__option {
    color: #333;
}

.select2-container .select2-selection--multiple {
    cursor: pointer;
}

.select2-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.select2-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #92857A;
    flex-shrink: 0;
    pointer-events: none;
    border: 2px solid #D9D9D9;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    position: relative;
}

.select2-checkbox:checked {
    background-color: #92857A;
    border-color: #92857A;
}

.select2-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.select2-text {
    flex: 1;
}

.search-field-group select,
.search-field-group input[type="text"],
.search-field-group input[type="number"] {
    width: 100%;
    height: 46px;
    padding: 12px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D9D9D9' d='M6 9L2 5h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    box-sizing: border-box;
}

.search-field-group input[type="text"],
.search-field-group input[type="number"] {
    background-image: none;
}

.search-field-group select:focus,
.search-field-group input[type="text"]:focus,
.search-field-group input[type="number"]:focus {
    outline: none;
    border-color: #92857A;
    box-shadow: 0 0 0 3px rgba(146, 133, 122, 0.1);
}

.advanced-search-toggle {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6E0DA;
}

.advanced-toggle-btn {
    background: none;
    border: none;
    color: #92857A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.advanced-toggle-btn:hover {
    color: #816B63;
}

.advanced-toggle-btn::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.advanced-toggle-btn.active::after {
    transform: rotate(180deg);
}

.advanced-search-fields {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6E0DA;
    animation: slideDown 0.3s ease;
}

.advanced-search-fields.active {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

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

.search-submit-wrapper {
    flex: 0 0 auto;
    min-width: 150px;
}

.search-submit-btn {
    width: 100%;
    padding: 12px 30px;
    background-color: #92857A;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-submit-btn:hover {
    background-color: #816B63;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(146, 133, 122, 0.3);
}

.search-submit-btn::after {
    content: '→';
    font-size: 18px;
}

.properties-list-section {
    padding: 60px 0;
    background: #fff;
}

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

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E6E0DA;
}

.results-count {
    color: #92857A;
    font-size: 18px;
    font-weight: 600;
}

.results-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px;
    background: white;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: #92857A;
}

.view-btn.active {
    background-color: #92857A;
    border-color: #92857A;
    color: white;
}

.view-btn.list-view::before {
    content: "\f00b";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.view-btn.grid-view::before {
    content: "\f00a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.sort-select {
    padding: 8px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
    min-width: 150px;
}

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

.properties-grid.list-layout {
    grid-template-columns: 1fr;
}

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

.property-card {
    background: white;
    border: 1px solid #333;
    border-radius: 0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.property-card.list-view {
    display: flex;
    height: 250px;
}

.property-card.grid-view {
    display: flex;
    flex-direction: column;
}

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

.property-card.list-view .property-image {
    flex: 0 0 350px;
    height: 100%;
}

.property-card.grid-view .property-image {
    height: 250px;
}

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

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

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #92857A;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.property-divider {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #92857A 0%, #E6E0DA 100%);
}

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

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

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

.property-title a:hover {
    color: #92857A;
}

.property-address {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-address::before {
    content: "📍";
}

.property-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.property-info-item {
    font-size: 14px;
    color: #666;
}

.property-info-item strong {
    color: #333;
    font-weight: 600;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.property-pricing {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: #92857A;
}

.property-price-per-m {
    font-size: 14px;
    color: #666;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.property-id {
    font-size: 12px;
    color: #999;
}

.property-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #92857A;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.property-link:hover {
    background-color: #816B63;
    transform: translateX(5px);
}

.properties-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    border-color: #92857A;
    color: #92857A;
}

.page-numbers.current {
    background-color: #92857A;
    color: white;
    border-color: #92857A;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 10px 20px;
    background-color: #E6E0DA;
    border-color: #E6E0DA;
    color: #92857A;
    font-weight: 600;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background-color: #92857A;
    color: white;
}

.no-properties {
    text-align: center;
    padding: 80px 20px;
}

.no-properties-icon {
    font-size: 64px;
    color: #D9D9D9;
    margin-bottom: 20px;
}

.no-properties-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-properties-desc {
    color: #666;
    font-size: 16px;
}

.wwac-search-container {
    width: 100%;
}

.wwac-search-container form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wwac-search-tax-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E6E0DA;
}

.wwac-search-tax-item {
    display: flex;
    flex-direction: column;
}

.wwac-search-tax-item label {
    color: #92857A;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wwac-search-tax-item select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D9D9D9' d='M6 9L2 5h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}

.wwac-search-tax-item select:focus {
    outline: none;
    border-color: #92857A;
    box-shadow: 0 0 0 3px rgba(146, 133, 122, 0.1);
}

.wwac-search-meta-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 5px;
}

.wwac-search-meta-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wwac-search-meta-item > label {
    color: #92857A;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wwac-search-meta-item > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wwac-search-meta-item br {
    display: none;
}

.wwac-search-meta-item > div > label,
.wwac-search-meta-item > div::before {
    color: #666;
    font-size: 13px;
    font-weight: 500;
    min-width: 35px;
    text-transform: none;
    letter-spacing: normal;
}

.wwac-search-meta-item input[type="range"] {
    flex: 1;
    height: 6px;
    background: #E6E0DA;
    border-radius: 5px;
    outline: none;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.wwac-search-meta-item input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #92857A;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.wwac-search-meta-item input[type="range"]::-webkit-slider-thumb:hover {
    background: #816B63;
    transform: scale(1.15);
}

.wwac-search-meta-item input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #92857A;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: none;
    transition: all 0.3s ease;
}

.wwac-search-meta-item input[type="range"]::-moz-range-thumb:hover {
    background: #816B63;
    transform: scale(1.15);
}

.wwac-search-meta-item span[id*="value"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 85px;
    padding: 6px 10px;
    background: white;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #92857A;
    text-align: center;
    white-space: nowrap;
}

.wwac-search-meta-price,
.wwac-search-meta-area {
    position: relative;
}

.wwac-search-meta-price::before,
.wwac-search-meta-area::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 50px;
    right: 110px;
    height: 1px;
    background: linear-gradient(90deg, #E6E0DA 0%, #92857A 50%, #E6E0DA 100%);
    opacity: 0.3;
    pointer-events: none;
}

.wwac-search-submit-btn {
    align-self: center;
    padding: 12px 40px;
    background-color: #92857A;
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    min-width: 200px;
}

.wwac-search-submit-btn:hover {
    background-color: #816B63;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(146, 133, 122, 0.3);
}

.wwac-search-submit-btn:after {
    content: ' →';
    font-size: 18px;
    margin-left: 5px;
}

.wwac-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.wwac-loader .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E6E0DA;
    border-top-color: #92857A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.wwac-advanced-toggle {
    width: 100%;
    text-align: center;
    margin: 20px 0 10px 0;
}

.wwac-advanced-toggle-btn {
    background: none;
    border: none;
    color: #92857A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    padding: 10px;
}

.wwac-advanced-toggle-btn:hover {
    color: #816B63;
}

.wwac-advanced-toggle-btn::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.wwac-advanced-toggle-btn.active::after {
    transform: rotate(180deg);
}

.wwac-search-meta-group {
    display: none;
    animation: slideDown 0.3s ease;
}

.wwac-search-meta-group.active {
    display: grid;
}
.select2-container .select2-search--inline .select2-search__field {

    margin-top: 9px !important;
}
@media (max-width: 768px) {
    .property-search-form > .search-field-group {
        max-width: 100% !important;
    }
    .property-divider{
        display: none;
    }
    .property-content {
        border-top: 2px solid #92857A;
    }
    .wwac-search-tax-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wwac-search-meta-group {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }

    .wwac-search-submit-btn {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 1200px) {
    .properties-grid.grid-layout {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .properties-hero-title {
        font-size: 35px;
        letter-spacing: 3px;
    }
    
    .properties-hero-underline {
        width: 110%;
        left: -10%;
    }
}

@media (max-width: 768px) {
    .properties-hero-banner {
        height: 350px;
        padding: 0 20px;
    }

    .properties-hero-title {
        font-size: 35px;
        padding-right: 20px;
        letter-spacing: 3px;
    }

    .properties-hero-underline {
        width: 100%;
        left: 0;
        height: 3px;
    }

    .property-search-form {
        flex-direction: column;
    }

    .search-field-group {
        width: 100%;
    }

    .search-submit-wrapper {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .properties-grid.grid-layout {
        grid-template-columns: 1fr;
    }

    .property-card.list-view {
        flex-direction: column;
        height: auto;
    }

    .property-card.list-view .property-image {
        flex: none;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .properties-hero-banner {
        height: 200px;
    }

    .properties-hero-title {
        font-size: 23px;
        letter-spacing: 3px;
    }

    .properties-hero-underline {
        height: 2px;
        margin: 15px auto 0;
    }

    .search-title {
        font-size: 20px;
    }

    .property-title {
        font-size: 18px;
    }

    .property-price {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .results-controls {
        align-items: flex-start;
        flex-direction: column;
    }

}
