font-weight: 800;
color: #1a1a2e;
margin-bottom: 10px;
}
.popup-property-details {
display: flex;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.popup-property-detail {
display: flex;
align-items: center;
gap: 5px;
font-size: 13px;
color: #666;
background: #f5f5f5;
padding: 5px 10px;
border-radius: 20px;
}
.popup-property-detail i {
color: #1a1a2e;
}
.popup-property-location {
font-size: 13px;
color: #888;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 5px;
}
.popup-property-btn {
display: block;
width: 100%;
padding: 10px;
background: #009faa;
color: #ffffff !important;
text-align: center;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
}
.popup-property-btn:hover {
background: #008890;
color: #ffffff !important;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(26, 26, 46, 0.15);
}
.popup-property-btn i {
color: #ffffff !important;
}
.popup-badge {
position: absolute;
top: 10px;
right: 10px;
padding: 4px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
z-index: 1;
}
.popup-badge-venta {
background: #1a1a2e;
color: white;
}
.popup-badge-alquiler {
background: #2d2d44;
color: white;
}
.popup-badge-categoria {
position: absolute;
top: 10px;
left: 10px;
padding: 4px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 600;
background: rgba(255,255,255,0.95);
color: #333;
z-index: 1;
}
.map-container {
display: flex;
height: calc(100vh - 80px);
gap: 20px;
padding: 20px;
background: #f5f5f5;
}
#map {
flex: 1;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
z-index: 1;
}
.filters-panel {
width: 350px;
background: white;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
overflow-y: auto;
max-height: calc(100vh - 120px);
}
.filters-title {
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: var(--dark);
}
.filter-group {
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid #e0e0e0;
}
.filter-group:last-child {
border-bottom: none;
}
.filter-label {
font-weight: 600;
color: var(--dark);
margin-bottom: 0.5rem;
display: block;
font-size: 0.95rem;
}
.filter-input {
width: 100%;
padding: 10px;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.3s;
}
.filter-input:focus {
outline: none;
border-color: var(--primary);
}
.filter-range {
display: flex;
gap: 10px;
}
.filter-range input {
flex: 1;
}
.checkbox-group {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.checkbox-item {
display: flex;
align-items: center;
gap: 8px;
}
.checkbox-item input {
width: 18px;
height: 18px;
cursor: pointer;
}
.checkbox-item label {
cursor: pointer;
flex: 1;
margin: 0;
}
.btn-filter {
width: 100%;
padding: 12px;
background: var(--primary);
color: white;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.btn-filter:hover {
background: var(--primary-dark);
transform: translateY(-2px);
}
.property-card {
background: white;
border-radius: 8px;
padding: 12px;
margin-bottom: 1rem;
cursor: pointer;
transition: all 0.3s;
border: 2px solid transparent;
}
.property-card:hover {
border-color: var(--primary);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.property-card h4 {
margin: 0 0 0.5rem 0;
font-size: 0.95rem;
color: var(--dark);
}
.property-card p {
margin: 0 0 0.3rem 0;
font-size: 0.85rem;
color: var(--gray);
}
.property-price {
font-size: 1.1rem;
font-weight: 700;
color: var(--primary);
margin-top: 0.5rem;
}
.marker-popup {
font-size: 0.9rem;
}
.marker-popup h3 {
margin: 0 0 0.5rem 0;
font-size: 1rem;
}
@media (max-width: 1024px) {
.filters-panel {
width: 280px;
}
}
@media (max-width: 768px) {
.map-container {
flex-direction: column;
height: auto;
gap: 1rem;
padding: 10px;
}
.filters-panel {
width: 100%;
max-height: none;
order: 2;
}
#map {
height: 50vh;
min-height: 350px;
width: 100%;
order: 1;
}
.popup-property-image {
height: 120px;
}
.popup-property-content {
padding: 12px;
}
.popup-property-title {
font-size: 14px;
}
.popup-property-price {
font-size: 18px;
}
.popup-property-details {
gap: 8px;
}
.popup-property-detail {
font-size: 12px;
padding: 4px 8px;
}
}
@media (max-width: 480px) {
.map-container {
padding: 8px;
}
.filters-panel {
padding: 15px;
}
.filters-title {
font-size: 1.1rem;
margin-bottom: 1rem;
}
#map {
height: 45vh;
min-height: 300px;
border-radius: 8px;
}
.popup-property-image {
height: 100px;
}
.popup-property-btn {
padding: 8px;
font-size: 13px;
}
.filter-group {
margin-bottom: 1rem;
padding-bottom: 1rem;
}
.stats-bar {
padding: 10px;
font-size: 14px;
}
}
.stats-bar {
background: white;
padding: 15px;
border-radius: 8px;
margin-bottom: 1rem;
text-align: center;
color: var(--dark);
font-weight: 600;
}
🗺️ Filtros
Cargando... propiedades