* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

/* Panneau de recherche */
.search-panel {
    position: absolute;
    top: 60px;
    left: 100px;
    bottom: 60px;
    width: 400px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-header {
    padding: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
}

.search-header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.search-bar {
    padding: 10px 30px 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: 1px solid rgba(221, 221, 221, 0.5);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.search-bar input::placeholder {
    color: rgba(102, 102, 102, 0.6);
    font-weight: 400;
}

.search-bar input:focus,
.search-bar input:not(:placeholder-shown) {
    font-weight: 700;
    color: rgba(51, 51, 51, 1);
}

.search-bar input:focus {
    border-color: #8b5cf6;
}

.search-btn {
    position: absolute;
    right: 30px;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.search-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.location-toggle {
    margin: 0 30px 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(5px);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #8b5cf6;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.location-toggle span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.category-filters {
    padding: 0 30px 30px;
    display: flex;
    gap: 8px; /* Réduire l'espacement entre les boutons */
}

.filter-btn {
    flex: 1;
    padding: 12px 16px; /* Augmenter le padding pour plus d'espace */
    border: none;
    border-radius: 12px;
    font-size: 11px; /* Réduire la taille de police */
    font-weight: 400; /* Réduire le gras */
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    text-align: center;
    white-space: nowrap; /* Empêcher le retour à la ligne */
    min-width: 0; /* Permettre la compression */
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex; /* Pour centrer le contenu */
    align-items: center; /* Centrer verticalement */
    justify-content: center; /* Centrer horizontalement */
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Couleurs spécifiques pour chaque catégorie */
.filter-btn[data-category="boucheries"].active {
    background: linear-gradient(135deg, #a865a1 0%, #c084fc 100%);
}

.filter-btn[data-category="restaurants"].active {
    background: linear-gradient(135deg, #7782d0 0%, #93c5fd 100%);
}

.filter-btn[data-category="fournisseurs"].active {
    background: linear-gradient(135deg, #51be6a 0%, #86efac 100%);
}

/* Texte des filtres */
.filter-text {
    font-weight: 400; /* Réduire le gras pour la cohérence */
    letter-spacing: 0.2px; /* Réduire légèrement l'espacement des lettres */
    text-align: center;
}

/* (supprimé) styles de .share-btn */



.establishments-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px 30px;
    transition: all 0.3s ease;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 80%, transparent 100%);
}

/* Personnalisation de la barre de scroll */
.establishments-list::-webkit-scrollbar {
    width: 8px;
}

.establishments-list::-webkit-scrollbar-track {
    background: transparent;
}

.establishments-list::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.2);
    border-radius: 4px;
}

.establishments-list::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.3);
}

.establishment-item {
    padding: 20px;
    border: 1px solid rgba(238, 238, 238, 0.5);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
}

.establishment-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.establishment-item.selected {
    border-color: #8b5cf6;
    background: #f8f7ff;
}



.establishment-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.establishment-type.boucheries {
    color: #a865a1;
}

.establishment-type.restaurants {
    color: #7782d0;
}

.establishment-type.fournisseurs {
    color: #51BE6A;
}

.establishment-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.establishment-item[data-category="boucheries"] .establishment-name {
    color: #A865A1 !important;
}

.establishment-item[data-category="restaurants"] .establishment-name {
    color: #7782D0 !important;
}

.establishment-item[data-category="fournisseurs"] .establishment-name {
    color: #51BE6A !important;
}

.establishment-address {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.establishment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.establishment-distance {
    font-size: 12px;
    color: #666;
}

.establishment-status {
    color: #10b981;
    font-size: 12px;
}

/* Carte */
.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
}

#map {
    width: 100%;
    height: 100%;
}

/* Réduire l'opacité de la carte de base uniquement */
.leaflet-tile-pane {
    opacity: 1;
    filter: hue-rotate(60deg) saturate(1.5);
}



/* Marqueurs SVG personnalisés */
.leaflet-marker-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Clusters personnalisés */
.custom-cluster-icon {
    background: transparent !important;
    border: none !important;
}

.custom-cluster-icon div {
    transition: all 0.3s ease;
}

/* Popups personnalisés */
.establishment-popup-container .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    overflow: hidden;
    transform: translateX(30%);
}

.establishment-popup-container .leaflet-popup-content {
    margin: 0;
    padding: 0;
    min-width: 320px;
    max-width: 380px;
}

.establishment-popup-container .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.establishment-popup {
    display: flex;
    flex-direction: column;
}

/* Section image */
.popup-image-section {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
}

/* Styles spécifiques par catégorie pour les popups */
.popup-boucheries .popup-image-section {
    background: linear-gradient(135deg, #A865A1 0%, #8B5A8B 100%);
}

.popup-restaurants .popup-image-section {
    background: linear-gradient(135deg, #7782D0 0%, #5A6BC7 100%);
}

.popup-fournisseurs .popup-image-section {
    background: linear-gradient(135deg, #51BE6A 0%, #3A9D4A 100%);
}

.popup-boucheries .popup-category {
    color: #A865A1;
}

.popup-restaurants .popup-category {
    color: #7782D0;
}

.popup-fournisseurs .popup-category {
    color: #51BE6A;
}

.popup-boucheries .popup-name {
    color: #A865A1;
}

.popup-restaurants .popup-name {
    color: #7782D0;
}

.popup-fournisseurs .popup-name {
    color: #51BE6A;
}

.popup-image-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.popup-image-header {
    color: white;
    width: 100%;
}

.popup-image-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.popup-image-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section détails */
.popup-details-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.popup-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #a865a1;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.popup-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.popup-address {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.popup-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-phone-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-phone-icon {
    font-size: 16px;
    color: #51BE6A;
}

.popup-phone {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.popup-buttons {
    display: flex;
    gap: 8px;
}

.popup-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #007bff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.popup-btn:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.popup-btn:hover svg path,
.popup-btn:hover svg rect {
    stroke: white;
}

.popup-btn-route {
    background: #EFF6FF;
    color: #3B82F6;
}

.popup-btn-call {
    background: #F0F9FF;
    color: #3B82F6;
}

.popup-btn-copy {
    background: #F0F9FF;
    color: #3B82F6;
}

.custom-cluster-icon:hover div {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

/* Indicateur de chargement */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
    min-height: 200px;
}

.loading-indicator p {
    margin: 10px 0;
    font-weight: 500;
}

.loading-indicator .error-details {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 0;
        overflow: visible;
    }
    
    .search-panel {
        position: relative;
        top: 0;
        left: 0;
        bottom: auto;
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        margin: 0;
        background: white;
        backdrop-filter: none;
        z-index: 2;
        order: 1;
        overflow-y: visible;
    }
    
    .map-container {
        display: none; /* Masquer complètement la carte sur mobile */
    }
    

    
    /* Ajuster les popups pour mobile */
    .establishment-popup-container .leaflet-popup-content {
        min-width: 280px;
        max-width: 320px;
    }
    
    .popup-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .popup-buttons {
        justify-content: center;
    }
    
    /* Ajuster la hauteur de la liste des établissements */
    .establishments-list {
        max-height: none;
        overflow-y: visible;
        flex: 1;
        padding: 20px;
        mask-image: linear-gradient(to bottom, transparent 0%, black 0.5%, black 99%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 0.5%, black 99%, transparent 100%);
    }
    
    /* Améliorer l'espace de recherche sur mobile */
    .search-header {
        padding: 25px 20px 15px;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        border-radius: 0 0 20px 20px;
        margin-bottom: 20px;
    }
    
    .search-header h1 {
        font-size: 18px;
        color: white;
        margin-bottom: 10px;
    }
    
    .search-bar {
        padding: 0 20px 20px;
    }
    
    .search-bar input {
        padding: 20px 60px 20px 25px;
        font-size: 16px;
        border-radius: 25px;
        border: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        background: white;
    }
    
    .location-toggle {
        margin: 0 20px 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        color: white;
    }
    
    .category-filters {
        margin: 0 20px 20px;
        gap: 0; /* Supprimer l'espacement entre les lignes */
        justify-content: flex-start; /* Aligner à gauche */
        flex-direction: column; /* Disposition en colonne */
        flex-wrap: nowrap; /* Pas de retour à la ligne */
    }
    
    .filter-btn {
        width: 100%;
        padding: 16px 20px;
        margin-bottom: 10px;
        border: none;
        border-radius: 16px;
        background: #f8fafc;
        color: #64748b;
        font-size: 13px; /* Réduire légèrement */
        font-weight: 400; /* Réduire le gras */
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center; /* Centrer le texte */
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .filter-btn:last-child {
        margin-bottom: 0;
    }
    
    .share-btn {
        height: 28px;
        margin-bottom: 0;
        font-size: 11px;
    }
    
    .filter-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .filter-btn.active {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* Couleurs spécifiques pour chaque catégorie */
    .filter-btn[data-category="boucheries"].active {
        background: linear-gradient(135deg, #a865a1 0%, #c084fc 100%);
    }
    
    .filter-btn[data-category="restaurants"].active {
        background: linear-gradient(135deg, #7782d0 0%, #93c5fd 100%);
    }
    
    .filter-btn[data-category="fournisseurs"].active {
        background: linear-gradient(135deg, #51be6a 0%, #86efac 100%);
    }
    
    /* Texte des filtres */
    .filter-text {
        font-weight: 600;
        letter-spacing: 0.3px;
        text-align: center;
    }
    
    /* Indicateur d'état actif */
    .filter-btn.active::after {
        content: "✓";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        font-weight: bold;
        opacity: 0.9;
    }
    

    
    /* Améliorer l'affichage des résultats sur mobile */
    .establishment-item {
        margin-bottom: 15px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    
    .establishment-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .establishment-item.selected {
        border-color: #6366f1;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    }
    
    .establishment-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }
    
    .establishment-address {
        font-size: 14px;
        color: #666;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .establishment-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
    }
    
    .establishment-distance {
        color: #6366f1;
        font-weight: 500;
    }
    
    .establishment-status {
        color: #10b981;
        font-weight: 500;
    }
    
    /* Popup mobile pour les détails */
    .mobile-detail-popup {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .mobile-detail-popup.active {
        display: flex;
    }
    
    .mobile-detail-content {
        background: white;
        border-radius: 20px;
        padding: 25px;
        width: 100%;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-detail-close {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #999;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-detail-close:hover {
        background: #f5f5f5;
        color: #666;
    }
    
    .mobile-detail-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-detail-title {
        font-size: 20px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }
    
    .mobile-detail-type {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-detail-type.boucheries {
        background: rgba(168, 101, 161, 0.1);
        color: #a865a1;
    }
    
    .mobile-detail-type.restaurants {
        background: rgba(119, 130, 208, 0.1);
        color: #7782d0;
    }
    
    .mobile-detail-type.fournisseurs {
        background: rgba(81, 190, 106, 0.1);
        color: #51BE6A;
    }
    
    .mobile-detail-info {
        margin-bottom: 25px;
    }
    
    .mobile-detail-info p {
        margin-bottom: 12px;
        font-size: 14px;
        color: #666;
        line-height: 1.5;
    }
    
    .mobile-detail-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 15px 20px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: white;
        color: #3b82f6;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .mobile-action-btn:hover {
        background: #f8fafc;
        border-color: #3b82f6;
        transform: translateY(-1px);
    }
    
    .mobile-action-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Améliorations supplémentaires pour mobile */
@media (max-width: 768px) {
    /* Améliorer l'espacement des éléments de recherche */
    .search-panel > * {
        margin-bottom: 15px;
    }
    
    /* Améliorer la lisibilité des filtres */
    .filter-btn.active {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    }
    
    /* Améliorer l'apparence des éléments de la liste */
    .establishment-item:last-child {
        margin-bottom: 0;
    }
    
    /* Animation d'apparition pour les éléments */
    .establishment-item {
        animation: slideInUp 0.3s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Améliorer l'indicateur de chargement */
    .loading-indicator {
        padding: 40px 20px;
        text-align: center;
    }
    
    .spinner {
        margin: 0 auto 20px;
    }
    
    /* Améliorer la popup mobile */
    .mobile-detail-popup {
        backdrop-filter: blur(5px);
    }
    
    .mobile-detail-content {
        animation: popupSlideIn 0.3s ease-out;
    }
    
    @keyframes popupSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
} 

/* Optimisations pour très petits écrans */
@media (max-width: 480px) {
    .category-filters {
        margin: 0 15px 15px;
        gap: 0;
    }
    
    .filter-btn {
        padding: 14px 18px;
        margin-bottom: 8px;
        font-size: 12px; /* Réduire encore plus */
        font-weight: 400; /* Maintenir le gras réduit */
    }
}

/* Optimisations pour écrans moyens */
@media (min-width: 481px) and (max-width: 768px) {
    .category-filters {
        margin: 0 20px 20px;
        gap: 0;
    }
    
    .filter-btn {
        padding: 16px 20px;
        margin-bottom: 10px;
        font-size: 13px; /* Maintenir la cohérence */
        font-weight: 400; /* Maintenir le gras réduit */
    }
} 

/* Support RTL pour l'arabe */
.rtl {
    direction: rtl;
    text-align: right;
}

/* Garder la police système pour tous les éléments */
.rtl * {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Garder la mise en page normale, seulement le texte en RTL */
.rtl .search-panel {
    left: 100px !important; /* Garder exactement la même marge que les autres langues */
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

.rtl .map-container {
    left: 0;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

/* Seulement inverser la direction du texte, pas la mise en page */
.rtl .establishment-item {
    text-align: right;
}

.rtl .establishment-footer {
    flex-direction: row-reverse;
}

.rtl .popup-details-section {
    text-align: right;
}

.rtl .popup-actions {
    flex-direction: row-reverse;
}

.rtl .popup-phone-section {
    flex-direction: row-reverse;
}

.rtl .popup-buttons {
    justify-content: flex-end;
}

.rtl .mobile-detail-content {
    text-align: right;
}

.rtl .mobile-detail-close {
    left: 15px;
    right: auto;
}

.rtl .mobile-detail-actions {
    flex-direction: row-reverse;
}

/* Responsive RTL */
@media (max-width: 768px) {
    .rtl .search-panel {
        left: 0;
        right: 0;
        transform: translateX(0);
    }
    
    .rtl .map-container {
        left: 0;
        right: 0;
        transform: translateX(0);
    }
} 

 