/* Scoped reset to reduce theme interference */ .ctpl-property-listings-container, .ctpl-city-stats { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.5; color: #2b2b2b; } .ctpl-property-listings-container *, .ctpl-city-stats * { box-sizing: inherit; } .ctpl-property-listings-container h1, .ctpl-property-listings-container h2, .ctpl-property-listings-container h3, .ctpl-property-listings-container h4, .ctpl-property-listings-container h5, .ctpl-property-listings-container h6, .ctpl-property-listings-container p, .ctpl-property-listings-container ul, .ctpl-property-listings-container ol, .ctpl-property-listings-container dl, .ctpl-property-listings-container dt, .ctpl-property-listings-container dd, .ctpl-city-stats h1, .ctpl-city-stats h2, .ctpl-city-stats h3, .ctpl-city-stats h4, .ctpl-city-stats h5, .ctpl-city-stats h6, .ctpl-city-stats p, .ctpl-city-stats ul, .ctpl-city-stats ol, .ctpl-city-stats dl, .ctpl-city-stats dt, .ctpl-city-stats dd { margin: 0; padding: 0; } .ctpl-property-listings-container a, .ctpl-city-stats a { color: inherit; text-decoration: none; } .ctpl-property-listings-container button, .ctpl-property-listings-container input, .ctpl-property-listings-container select, .ctpl-city-stats button, .ctpl-city-stats input, .ctpl-city-stats select { font: inherit; color: inherit; } /* Property Listings Container */ .ctpl-property-listings-container { margin: 0; width: 100%; } .ctpl-property-listings-header { padding: 24px 20px 12px; } .ctpl-property-listings-title { font-size: 28px; font-weight: 700; margin: 0 0 10px; color: #2b2b2b; } .ctpl-property-listings-summary { font-size: 17px; line-height: 1.5; margin: 0 0 6px; color: #4a4a4a; } .ctpl-property-listings-context { font-size: 14px; margin: 0; color: #7a7a7a; } /* Filters Header Section */ .ctpl-filters-header { display: flex; gap: 15px; padding: 20px; border-bottom: 1px solid #eee; } .search-bar-container { flex-grow: 1; position: relative; } .search-input { width: calc(100% - 40px); padding-left: 40px; /* Space for search icon */ height: 50px; border-radius: 8px; border: 1px solid #e0e0e0; font-size: 16px; background-color: white; } .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #999; /* Gray */ } .map-view-btn { padding: 12px 20px; border-radius: 8px; border: 1px solid #e0e0e0; background-color: white; display: flex; align-items: center; gap: 8px; font-size: 16px; color: #333; } /* Filter Buttons Row */ .ctpl-filter-buttons { display: flex; gap: 10px; margin-top: 20px; padding-left: 15px; /* Align with search bar left edge */ } .ctpl-filter-submit { margin-top: 12px; padding: 0 15px 20px; } .filter-btn, .filter-deal-btn { padding: 12px 16px; border-radius: 8px; border: 1px solid #e0e0e0; background-color: white; font-size: 14px; display: flex; align-items: center; gap: 6px; color: #333; } .save-search-btn { padding: 12px 20px; border-radius: 8px; background-color: #2c5aa0; /* Dark blue */ color: white; font-weight: bold; } .ctpl-results-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background-color: #fbfaf5; margin-top: 20px; } .ctpl-sort { position: relative; } .ctpl-sort-toggle { display: inline-flex; align-items: center; gap: 10px; border: none; background: transparent; font-size: 18px; font-weight: 600; color: #333; cursor: pointer; padding: 4px 0; } .ctpl-sort-menu { position: absolute; top: calc(100% + 12px); left: 0; width: 260px; background-color: #fff; border: 1px solid #d8d8d8; border-radius: 10px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); overflow: hidden; z-index: 20; } .ctpl-sort-option { width: 100%; text-align: left; border: none; background: #fff; padding: 12px 16px; font-size: 16px; color: #222; cursor: pointer; } .ctpl-sort-option.is-active, .ctpl-sort-option:hover { background-color: #2c5aa0; color: #111; } .ctpl-results-count { font-size: 16px; color: #666; font-weight: 600; } .ctpl-beds-baths { position: relative; } .ctpl-beds-baths-toggle { min-width: 160px; justify-content: space-between; border-color: #2c5aa0; } .ctpl-beds-baths-label { font-weight: 600; } .ctpl-beds-baths-value { color: #666; font-weight: 500; font-size: 12px; } .ctpl-chevron { width: 8px; height: 8px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: rotate(45deg); margin-left: 6px; } .ctpl-beds-baths-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 540px; max-width: 90vw; background-color: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); border: 1px solid #f0f0f0; padding: 20px 24px; z-index: 20; } .ctpl-beds-baths-section + .ctpl-beds-baths-section { margin-top: 18px; } .ctpl-beds-baths-title { display: flex; gap: 16px; align-items: baseline; font-size: 16px; font-weight: 700; color: #333; margin-bottom: 12px; } .ctpl-beds-baths-hint { font-size: 12px; color: #8a8a8a; font-weight: 500; } .ctpl-beds-baths-options { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; } .ctpl-beds-baths-option { border-radius: 10px; border: 1px solid #e6e6e6; background-color: #fff; padding: 12px 10px; font-weight: 600; color: #333; cursor: pointer; } .ctpl-beds-baths-option.is-active { border-color: #2c5aa0; box-shadow: inset 0 0 0 1px #2c5aa0; color: #333; } .ctpl-beds-baths-actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 20px; } .ctpl-beds-baths-clear { background: transparent; border: none; font-weight: 700; color: #333; cursor: pointer; letter-spacing: 0.5px; } .ctpl-beds-baths-apply { background-color: #2b2b2b; color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 700; cursor: pointer; } .ctpl-property-type { position: relative; } .ctpl-property-type-toggle { min-width: 170px; justify-content: space-between; border-color: #2c5aa0; } .ctpl-property-type-value { color: #666; font-weight: 500; font-size: 12px; } .ctpl-property-type-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 480px; max-width: 90vw; background-color: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); border: 1px solid #f0f0f0; padding: 20px 24px; z-index: 20; } .ctpl-property-type-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; } .ctpl-property-type-option { border-radius: 12px; border: 1px solid #e6e6e6; background-color: #fff; padding: 16px 10px; font-weight: 600; color: #333; cursor: pointer; text-align: center; } .ctpl-property-type-option.is-active { border-color: #2c5aa0; box-shadow: inset 0 0 0 1px #2c5aa0; } .ctpl-property-type-actions { display: flex; justify-content: flex-end; gap: 16px; } .ctpl-property-type-clear { background: transparent; border: none; font-weight: 700; color: #333; cursor: pointer; letter-spacing: 0.5px; } .ctpl-property-type-apply { background-color: #2b2b2b; color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 700; cursor: pointer; } .ctpl-price { position: relative; } .ctpl-price-toggle { min-width: 140px; justify-content: space-between; border-color: #2c5aa0; } .ctpl-price-value { color: #666; font-weight: 500; font-size: 12px; } .ctpl-price-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 460px; max-width: 90vw; background-color: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); border: 1px solid #f0f0f0; padding: 20px 24px; z-index: 20; } .ctpl-price-fields { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; } .ctpl-price-field { display: flex; flex-direction: column; gap: 8px; flex: 1; } .ctpl-price-field-label { font-size: 12px; color: #8a8a8a; font-weight: 600; } .ctpl-price-input { border: 1px solid #e6e6e6; border-radius: 10px; padding: 12px 14px; font-size: 16px; } .ctpl-price-separator { font-size: 18px; color: #bbb; margin-top: 18px; } .ctpl-price-slider { position: relative; height: 36px; margin-bottom: 20px; } .ctpl-price-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background-color: #f0f0f0; border-radius: 999px; transform: translateY(-50%); } .ctpl-price-track-fill { position: absolute; height: 100%; background-color: #2c5aa0; border-radius: 999px; } .ctpl-price-range { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-50%); background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; height: 24px; } .ctpl-price-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #2c5aa0; background-color: #fff; cursor: pointer; pointer-events: auto; } .ctpl-price-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #2c5aa0; background-color: #fff; cursor: pointer; pointer-events: auto; } .ctpl-price-actions { display: flex; justify-content: flex-end; gap: 16px; } .ctpl-price-clear { background: transparent; border: none; font-weight: 700; color: #333; cursor: pointer; letter-spacing: 0.5px; } .ctpl-price-apply { background-color: #2b2b2b; color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 700; cursor: pointer; } .ctpl-city-stats { padding: 40px 20px; background-color: #fbfaf5; border-radius: 16px; color: #333; } .ctpl-city-stats-empty { padding: 24px; background-color: #fbfaf5; border-radius: 12px; color: #666; } .ctpl-city-stats-title { font-size: 28px; font-weight: 700; margin: 0 0 12px; } .ctpl-city-stats-summary { font-size: 18px; line-height: 1.6; margin: 0; color: #4a4a4a; } .ctpl-city-stats-meta { font-size: 14px; color: #6a6a6a; margin: 12px 0 0; } .ctpl-city-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; margin-top: 32px; } .ctpl-city-stats-pricing { margin-top: 28px; } .ctpl-city-stats-item { display: flex; flex-direction: column; gap: 6px; } .ctpl-city-stats-label { font-size: 14px; font-weight: 600; color: #5d5d5d; } .ctpl-city-stats-value { font-size: 26px; font-weight: 700; color: #2b2b2b; } .ctpl-city-stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; } .ctpl-city-stats-card-link { text-decoration: none; } .ctpl-city-stats-card { background-color: #fff; border: 1px solid #e7e5dc; border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05); } .ctpl-city-stats-card-text { display: flex; flex-direction: column; gap: 8px; } .ctpl-city-stats-card-title { font-size: 16px; font-weight: 700; color: #3a3a3a; } .ctpl-city-stats-card-meta { font-size: 14px; color: #2c5aa0; font-weight: 600; } .ctpl-city-stats-card-value { font-size: 22px; font-weight: 700; color: #2b2b2b; white-space: nowrap; } @media (max-width: 900px) { .ctpl-filter-buttons { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 3px !important; -webkit-overflow-scrolling: touch; } .ctpl-filters-header { padding: 20px 0 !important; max-width: 100%; position: relative; display: block; gap: 5px; } .search-bar-container { width: 70% !important; float: left } .search-input { width: 80%; min-width: 200px; } .ctpl-filter-group { flex: 0 0; } .ctpl-filter-group .filter-deal-btn { width: 30%; justify-content: space-between; } .ctpl-filter-group .filter-btn { width: 100%; justify-content: space-between; } .ctpl-filter-submit .save-search-btn { width: 100%; justify-content: center; } .ctpl-beds-baths-panel { width: 100%; } .ctpl-beds-baths-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ctpl-property-type-panel { width: 100%; } .ctpl-property-type-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ctpl-price-panel { width: 100%; } .ctpl-results-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; } .ctpl-city-stats { padding: 28px 16px; } .ctpl-city-stats-title { font-size: 24px; } .ctpl-city-stats-summary { font-size: 16px; } .ctpl-property-listings-header { padding: 20px 16px 10px; } .ctpl-property-listings-title { font-size: 24px; } .ctpl-city-stats-value { font-size: 22px; } .ctpl-city-stats-card { flex-direction: column; align-items: flex-start; } } /* Separator Line */ hr.ctpl-separator { height: 1px; background-color: #eee; margin: 25px 0; } /* Featured Section */ .featured-section { display: flex; justify-content: space-between; align-items: center; padding-left: 15px; /* Align with previous sections */ font-size: 16px; color: #666; } /* Loading Indicator */ .ctpl-loading-indicator { padding: 20px; text-align: center; background: #f9f9f9; border-radius: 5px; margin-bottom: 20px; } /* Property Grid Container */ .ctpl-property-grid-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: stretch; grid-auto-rows: 1fr; } /* Single Property Card - Replaces the old card style */ .ctpl-single-property-card { display: flex; border-radius: 8px; /* Rounded corners matching the design */ overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Subtle shadow effect */ background-color: #fff; height: 100%; } .ctpl-single-property-card > a { display: flex; width: 100%; height: 100%; color: inherit; text-decoration: none; } .property-image-section { width: 50%; /* Image takes half of card width */ position: relative; /* For absolute positioning of button */ height: 100%; overflow: hidden; } .property-info-section { width: 50%; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; } .property-image-section img { width: 100%; height: 100%; display: block; object-fit: cover; } @media (max-width: 768px) { .ctpl-single-property-card > a { flex-direction: column; } .property-image-section, .property-info-section { width: 100%; } .property-image-section { height: auto; aspect-ratio: 4 / 3; } .property-image-section img { height: 100%; } } /* Listing age tag - Positioned on top-left of the image */ .ctpl-listing-tag { position: absolute; top: 15px; left: 15px; background-color: #fff; color: #2c5aa0; /* Match the blue from your existing theme */ border: 1px solid #2c5aa0; padding: 6px 12px; border-radius: 4px; font-weight: 600; font-size: 12px; } /* Property Details Section - Inside the right panel of .ctpl-single-property-card */ .property-price { font-size: 2em; color: #2c5aa0; margin-bottom: 10px; font-weight: bold; } .property-address { font-size: 1.1em; color: #333; margin-bottom: 8px; } .property-specs { font-size: 1em; color: #555; margin-bottom: 6px; } .property-type { font-size: 0.9em; color: #777; margin-bottom: 15px; } /* Separator between property details and agent info */ .info-divider { border-top: 1px solid #eee; margin: 10px 0; } /* Agent Information Section - Inside the right panel of .ctpl-single-property-card */ .agent-info { display: flex; align-items: center; gap: 12px; } .agent-photo { width: 50px; height: 50px; border-radius: 50%; /* Circular photo matching the design */ object-fit: cover; } .agent-details .agent-name { font-size: 1em; color: #333; margin-bottom: 2px; } .agent-details .agent-title { font-size: 0.9em; color: #777; } /* Pagination Section - Replaces the old pagination style */ .ctpl-load-more { text-align: center; margin-bottom: 20px; /* Space between load more and pagination controls */ margin-top: 20px; } .ctpl-load-more-btn { padding: 12px 24px; background-color: #2c3e50; /* Dark blue/black background */ color: white; border: none; border-radius: 5px; font-size: 1.1em; cursor: pointer; transition: background-color 0.3s ease; } .ctpl-load-more-btn:hover { background-color: #34495e; /* Slightly lighter on hover */ } /* Standard Pagination Controls - Below the "Load More" button */ .ctpl-standard-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; /* Space below load more button if needed */ } .ctpl-page-btn { padding: 8px 12px; background-color: #f0f0f0; border: none; border-radius: 3px; cursor: pointer; font-size: 1em; } .ctpl-page-btn:hover { background-color: #e0e0f0; } /* Style for the currently selected page button */ .ctpl-page-btn.current { /* Change from blue to orange border */ border: 2px solid #34495e; /* Orange color for the selected page button */ background-color: transparent; color: #333; } /* Style for previous/next and ellipsis buttons as text */ .ctpl-page-btn.prev-next, .ctpl-page-btn.dots { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 1.2em; }