.listing-archive-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
}
.listing-archive-header {
text-align: center;
margin-bottom: 3rem;
}
.listing-archive-header h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #333;
}
.listing-count {
font-size: 1.1rem;
color: #666;
margin-bottom: 1.5rem;
} .listing-content-wrapper {
display: flex;
gap: 2rem;
align-items: flex-start;
}
.listing-main-content {
flex: 1;
min-width: 0; }
.listing-filters-sidebar {
flex: 0 0 300px; background: #fff;
border: 1px solid #e1e1e1;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
top: 2rem; max-height: calc(100vh - 4rem);
overflow-y: auto;
order: 2; align-self: flex-start;
} .filter-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid #eee;
}
.filter-header h3 {
margin: 0;
font-size: 1.2rem;
color: #333;
}
.clear-filters {
color: #719430;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
}
.clear-filters:hover {
text-decoration: underline;
}
.filters-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.filter-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.filter-group label {
font-weight: 600;
color: #333;
font-size: 0.9rem;
}
.filter-group input[type="text"],
.filter-group select {
padding: 0.7rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 0.9rem;
background: #fff;
transition: border-color 0.3s ease;
}
.filter-group input[type="text"]:focus,
.filter-group select:focus {
outline: none;
border-color: #719430;
box-shadow: 0 0 0 2px rgba(113, 148, 48, 0.1);
} .price-range-inputs {
display: flex;
gap: 0.5rem;
}
.price-range-inputs select {
flex: 1;
} .property-specific-filters {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding-top: 1rem;
border-top: 1px solid #eee;
} .filter-submit {
margin-top: 1rem;
padding-top: 1rem;
}
.filter-submit-btn {
width: 100%;
padding: 0.8rem 1.5rem;
background-color: #719430;
color: white;
border: none;
border-radius: 4px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}
.filter-submit-btn:hover {
background-color: #5a7628;
} .listing-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.listing-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
max-width: 320px;
margin: 0 auto;
}
.listing-card:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.listing-image {
position: relative;
padding-top: 75%; overflow: hidden;
background: #f5f5f5;
}
.listing-image a {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
}
.listing-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.listing-image.no-image {
display: flex;
align-items: center;
justify-content: center;
}
.listing-image.no-image i {
font-size: 3rem;
color: #ccc;
}
.listing-content {
padding: 1.25rem;
}
.listing-title {
margin: 0 0 0.75rem;
font-size: 1.1rem;
}
.listing-title a {
color: #333;
text-decoration: none;
transition: color 0.3s ease;
}
.listing-title a:hover {
color: #719430;
}
.listing-meta {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 0.75rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid #eee;
}
.listing-type,
.listing-region {
display: flex;
align-items: center;
gap: 0.3rem;
font-size: 0.85rem;
color: #666;
}
.listing-type i,
.listing-region i {
font-size: 0.8rem;
color: #719430;
}
.listing-type span {
background: #f0f6e8;
color: #719430;
padding: 0.2rem 0.5rem;
border-radius: 12px;
font-weight: 500;
font-size: 0.75rem;
} .listing-price {
font-size: 1.5rem;
font-weight: bold;
color: #719430;
text-align: right;
} .listing-price-desktop {
display: none; } .listing-price-mobile {
display: none; } @media (min-width: 769px) {
.listing-archive-container .list-view .listing-content {
flex-direction: column;
justify-content: space-between;
padding: 1.5rem;
}
.listing-archive-container .list-view .listing-price {
display: block !important;
font-size: 1.5rem !important;
}
.listing-archive-container .list-view .listing-price-desktop {
display: none !important; } .listing-archive-container .listing-price-mobile {
display: none !important;
}
}
@media (max-width: 768px) {
.listing-archive-container {
padding: 0.75rem;
}
.listing-archive-container .listing-archive-header h1 {
font-size: 2rem;
} .listing-content-wrapper {
flex-direction: column;
gap: 1.5rem;
}
.listing-filters-sidebar {
order: 1; flex: none;
width: 100% !important; position: static;
max-height: none;
padding: 0.25rem !important; margin: 0 0 0.5rem 0 !important; }
.listing-main-content {
order: 2;
} .mobile-filter-toggle {
display: block !important;
margin-top: 0.2rem; padding-top: 0.2rem; } .additional-filters {
display: none;
margin-top: 0.3rem; } .listing-filters-sidebar.expanded .additional-filters {
display: flex;
} .listing-archive-container .view-toggle {
display: none;
} .listing-filters-sidebar .filter-header {
margin-bottom: 0.5rem !important; padding-bottom: 0.3rem !important; }
.listing-filters-sidebar .filters-form {
gap: 0.5rem !important; }
.listing-filters-sidebar .additional-filters {
gap: 0.5rem !important; }
.listing-filters-sidebar .filter-group {
gap: 0.2rem !important; } .listing-filters-sidebar .filter-group label {
font-size: 0.8rem !important;
margin-bottom: 0.1rem !important;
} .filter-group input[type="text"],
.filter-group select {
padding: 0.4rem !important; font-size: 16px !important; } .filter-group select option {
font-size: 16px !important; padding: 0.5rem !important; } .listing-filters-sidebar select {
font-size: 16px !important;
line-height: 1.4 !important;
-webkit-appearance: menulist !important;
-moz-appearance: menulist !important;
appearance: menulist !important;
} .listing-filters-sidebar select,
.listing-filters-sidebar select option {
font-size: 16px !important;
min-height: 44px !important; } .price-range-inputs {
flex-direction: column;
gap: 0.3rem; } .listing-archive-container .listing-grid,
.listing-archive-container .listing-grid.list-view {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
} .listing-archive-container .list-view .listing-card,
.listing-archive-container .listing-card {
display: block;
flex-direction: column;
min-height: auto;
max-width: none;
margin: 0 auto;
} .listing-archive-container .list-view .listing-image,
.listing-archive-container .listing-image {
width: 100%;
flex: none;
position: relative;
padding-top: 60%;
overflow: hidden;
}
.listing-archive-container .list-view .listing-content,
.listing-archive-container .listing-content {
width: 100%;
flex: 1;
padding: 1rem;
} .listing-archive-container .listing-features {
flex-wrap: wrap;
gap: 0.5rem;
}
.listing-archive-container .listing-meta-row {
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}
.listing-archive-container .listing-type-region {
flex-direction: column;
gap: 0.3rem;
align-items: flex-start;
}
.listing-archive-container .listing-location {
margin: 0.5rem 0;
}
.listing-archive-container .listing-details-row {
flex-direction: column;
gap: 0.3rem;
align-items: flex-start;
margin: 0.5rem 0;
}
.listing-archive-container .listing-content {
padding: 1rem;
}
.listing-archive-container .listing-price {
font-size: 1.3rem;
margin: 0.5rem 0;
text-align: left;
}
.listing-archive-container .listing-bottom-row {
flex-direction: column;
gap: 0.8rem;
align-items: stretch;
}
.listing-archive-container .listing-view-more {
align-self: stretch;
text-align: center;
}
.listing-archive-container .listing-price-desktop {
display: none !important;
}
} @media (max-width: 1024px) and (min-width: 769px) {
.listing-filters-sidebar {
flex: 0 0 250px; }
.listing-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}
.listing-location {
color: #666;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.listing-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
gap: 1rem;
margin: 1rem 0;
padding: 1rem 0;
}
.listing-feature {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.listing-feature i {
font-size: 1.3rem;
color: #719430;
margin-bottom: 0.5rem;
}
.listing-feature span {
font-size: 1rem;
font-weight: 500;
color: #333;
margin-bottom: 0.25rem;
}
.listing-feature small {
font-size: 0.75rem;
color: #666;
}
.listing-view-more {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
background: #fff;
color: #719430;
text-decoration: none;
border: 2px solid #719430;
border-radius: 4px;
transition: all 0.3s ease;
font-weight: 500;
white-space: nowrap;
flex-shrink: 0;
}
.listing-view-more:hover {
background: #719430;
color: #fff;
}
.listing-pagination {
display: flex;
justify-content: center;
margin-top: 3rem;
} .listing-pagination .pagination-wrapper {
display: flex;
justify-content: center;
gap: 0.5rem; align-items: center;
margin: 0;
padding: 0;
}
.listing-pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
padding: 0 8px;
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
color: #333;
text-decoration: none;
transition: all 0.3s ease;
line-height: 1;
margin: 0;
box-sizing: border-box;
font-size: 14px;
}
.listing-pagination .page-numbers.current {
background: #719430;
color: #fff;
border-color: #719430;
}
.listing-pagination .page-numbers:hover:not(.current) {
background: #f5f5f5;
border-color: #719430;
} .listing-pagination .page-numbers.dots {
background: transparent;
border: none;
cursor: default;
}
.listing-pagination .page-numbers.dots:hover {
background: transparent;
border: none;
} .listing-pagination .prev,
.listing-pagination .next {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
padding: 0 8px;
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
color: #333;
text-decoration: none;
transition: all 0.3s ease;
line-height: 1;
margin: 0;
font-size: 28px;
font-weight: bold;
}
.listing-pagination .prev:hover,
.listing-pagination .next:hover {
background: #f5f5f5;
border-color: #719430;
}
.no-listings {
text-align: center;
padding: 3rem;
background: #f9f9f9;
border-radius: 8px;
}
.no-listings p {
margin-bottom: 1rem;
color: #666;
}
.reset-search {
display: inline-block;
padding: 0.75rem 1.5rem;
background: #719430;
color: #fff;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s ease;
}
.reset-search:hover {
background: #5a7a26;
} .listing-grid.list-view {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.list-view .listing-card {
display: flex;
max-width: none;
margin: 0;
min-height: 200px;
}
.list-view .listing-image {
width: 400px;
padding-top: 300px;
flex-shrink: 0;
border-radius: 8px 0 0 8px;
}
.list-view .listing-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 1.5rem;
} .listing-meta-row {
display: flex;
justify-content: flex-start;
align-items: flex-start;
margin-bottom: 1rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid #eee;
}
.listing-type-region {
display: flex;
gap: 1.5rem;
align-items: center;
}
.listing-type,
.listing-region {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
color: #666;
}
.listing-type .detail-icon,
.listing-region .detail-icon {
font-size: 1rem;
}
.listing-type span:last-child {
background: #f0f6e8;
color: #719430;
padding: 0.25rem 0.75rem;
border-radius: 12px;
font-weight: 500;
font-size: 0.8rem;
}
.listing-location {
display: flex;
align-items: center;
gap: 0.5rem;
color: #666;
margin-bottom: 1rem;
font-size: 0.95rem;
}
.listing-location .detail-icon {
font-size: 1rem;
}
.listing-details-row {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
margin: 1rem 0;
padding: 0.75rem 0;
}
.listing-detail {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
color: #555;
padding: 0.25rem 0;
}
.listing-detail .detail-icon {
font-size: 1rem;
}
.list-view .listing-view-more {
width: auto;
align-self: flex-start;
margin-top: auto;
padding: 0.6rem 1.25rem;
font-size: 0.95rem;
} .list-view .listing-bottom-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
gap: 1rem;
} .listing-grid:not(.list-view) .listing-bottom-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
gap: 1rem;
} .listing-bottom-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
gap: 1rem;
} .view-toggle {
display: flex;
gap: 0.5rem;
justify-content: center;
margin-bottom: 0;
}
.view-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: #fff;
color: #666;
text-decoration: none;
border: 1px solid #ddd;
border-radius: 4px;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.view-button:hover {
background: #f5f5f5;
border-color: #719430;
color: #719430;
}
.view-button.active {
background: #719430;
color: #fff;
border-color: #719430;
}
.view-button i {
font-size: 0.8rem;
}
.listing-pagination {
margin-top: 2rem;
}
.listing-pagination .pagination-wrapper {
gap: 0.0625rem;
}
.listing-pagination .page-numbers {
min-width: 35px;
height: 35px;
padding: 0 6px;
font-size: 13px; }
.listing-pagination .prev,
.listing-pagination .next {
min-width: 35px;
height: 35px;
padding: 0 6px;
font-size: 20px; font-weight: bold;
} .listing-archive-container .listing-pagination {
margin-top: 2rem;
}
.listing-archive-container .listing-pagination .pagination-wrapper {
gap: 0.0625rem;
}
.listing-archive-container .listing-pagination .page-numbers {
min-width: 35px;
height: 35px;
padding: 0 6px;
font-size: 13px; }
.listing-archive-container .listing-pagination .prev,
.listing-archive-container .listing-pagination .next {
min-width: 35px !important;
height: 35px !important;
padding: 0 6px !important;
font-size: 20px !important; font-weight: bold !important;
} @media (min-width: 769px) {
.listing-archive-container .listing-pagination .page-numbers {
font-size: 14px; }
.listing-archive-container .listing-pagination .prev,
.listing-archive-container .listing-pagination .next {
font-size: 28px !important; }
}
.listing-archive-container .listing-price-desktop {
display: none !important;
} .mobile-filter-toggle {
display: none;
text-align: center;
margin-top: 0.2rem;
padding-top: 0.2rem;
}
.expand-filters-text {
color: #719430;
font-weight: 600;
font-size: 0.75rem; position: relative;
display: inline-block;
padding: 0.1rem 0.3rem; cursor: pointer;
border-radius: 3px;
background: #f8f9fa;
border: 1px solid #e1e1e1;
touch-action: manipulation; user-select: none; }
.expand-filters-text::after {
content: '▼';
margin-left: 0.25rem;
font-size: 0.65rem;
transition: transform 0.3s ease;
}
.listing-filters-sidebar.expanded .expand-filters-text::after {
transform: rotate(180deg);
} .additional-filters {
display: flex;
flex-direction: column;
gap: 1rem;
} .search-always-visible {
display: flex;
flex-direction: column;
gap: 0.5rem;
} .energy-label {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-weight: bold;
font-size: 0.75rem;
text-align: center;
min-width: 24px;
color: white;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
border: 1px solid transparent;
line-height: 1.2;
} .energy-label-aplus3,
.energy-label-aplusplusplus {
background: linear-gradient(135deg, #00a651, #228B22);
border-color: #006633;
}
.energy-label-aplus2,
.energy-label-aplusplus {
background: linear-gradient(135deg, #4CBB17, #32CD32);
border-color: #228B22;
}
.energy-label-aplus,
.energy-label-aplus {
background: linear-gradient(135deg, #9ACD32, #7CFC00);
border-color: #6B8E23;
color: #333;
text-shadow: none;
}
.energy-label-a {
background: linear-gradient(135deg, #ADFF2F, #9ACD32);
border-color: #7CFC00;
color: #333;
text-shadow: none;
}
.energy-label-b {
background: linear-gradient(135deg, #FFD700, #FFA500);
border-color: #DAA520;
color: #333;
text-shadow: none;
}
.energy-label-c {
background: linear-gradient(135deg, #FFA500, #FF8C00);
border-color: #FF8C00;
}
.energy-label-d {
background: linear-gradient(135deg, #FF6347, #FF4500);
border-color: #DC143C;
}
.energy-label-e {
background: linear-gradient(135deg, #FF4500, #FF0000);
border-color: #B22222;
}
.energy-label-f {
background: linear-gradient(135deg, #DC143C, #8B0000);
border-color: #8B0000;
}
.energy-label-g {
background: linear-gradient(135deg, #8B0000, #4B0000);
border-color: #4B0000;
} .energy-label-detail {
align-items: center !important;
}
.energy-label-detail .detail-icon {
color: #719430 !important;
}