body { font-family: 'Poppins', sans-serif; background: var(--primary-dark); color: var(--text-white); }
a { text-decoration: none; color: inherit; }

.carte-page { padding-top: 70px; height: 100vh; display: grid; grid-template-columns: 350px 1fr; }
.carte-sidebar { background: var(--secondary-dark); padding: 1.5rem; overflow-y: auto; border-right: 1px solid var(--border-color); }
.carte-sidebar h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.filters { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1rem; border-radius: 50px; background: var(--tertiary-dark); color: var(--text-gray); border: none; cursor: pointer; font-family: inherit; transition: var(--transition); }
.filter-btn:hover { color: var(--text-white); }
.filter-btn.active { background: var(--accent-blue); color: white; }
.listing-count { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.listing-list { display: flex; flex-direction: column; gap: 0.75rem; }
.listing-item { display: flex; gap: 1rem; padding: 1rem; background: var(--tertiary-dark); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); border-left: 3px solid transparent; }
.listing-item:hover { background: #1e2d47; border-left-color: var(--accent-blue); }
.listing-item img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.listing-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; line-height: 1.3; }
.listing-item .price { color: var(--accent-cyan); font-weight: 700; font-size: 0.95rem; }
.listing-item .location { font-size: 0.8rem; color: var(--text-gray); }
#map { height: 100%; width: 100%; }
.custom-marker { background: transparent !important; border: none !important; }

/* Mobile carte toggle */
.carte-mobile-toggle { display: none; position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 500; padding: 0.75rem 1.5rem; background: var(--accent-blue); color: white; border: none; border-radius: 50px; font-weight: 600; font-family: inherit; cursor: pointer; box-shadow: 0 4px 20px rgba(0,119,255,0.4); }

@media (max-width: 992px) {
    .carte-page { grid-template-columns: 1fr; height: auto; }
    .carte-sidebar { max-height: 45vh; border-right: none; border-bottom: 1px solid var(--border-color); }
    #map { height: 55vh; }
    .carte-mobile-toggle { display: block; }
}
@media (max-width: 576px) {
    .carte-sidebar { padding: 1rem; max-height: 40vh; }
    .carte-sidebar h2 { font-size: 1.2rem; margin-bottom: 1rem; }
    .listing-item img { width: 60px; height: 60px; }
    .listing-item h4 { font-size: 0.85rem; }
}
