.header-section {
	margin-bottom: 0 !important;	
	background: url('../img/pdv.webp') center center / cover no-repeat;
	padding: 1.5rem 0 1rem 0;
}
/* ========================================
   STYLES SPÉCIFIQUES - POINTS DE VENTE
   ======================================== */
.leaflet-control-attribution.leaflet-control{
	display: none;
}
/* ========================================
   STYLES LEAFLET (CARTE INTERACTIVE)
   ======================================== */
.leaflet-popup-content { 
    margin: 0 !important; 
}
#carte{
	z-index: 5;
	scroll-margin-top: 0px;
}
@media (min-width: 992px) {
	#carte{
		scroll-margin-top: 95px;
	}
}
.popup-img { 
    object-fit: cover; 
    height: 120px; 
    width: 100%; 
    border-radius: .375rem 0 0 .375rem; 
    display: block;
}
.leaflet-popup-content-wrapper {
    border-radius: 15px;
}
.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.2s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background-color: var(--primary-light);
    color: white;
}
/* Styles pour la carte */
.map-container {
    position: relative;
    transition: all 0.3s ease;
}

#carte-miniature {
    height: 180px !important;
    width: 100%;
    border-radius: 5px;
    transition: height 0.3s ease;
}

.map-container.activated #carte-miniature {
    height: 250px !important;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

#verrouillerCarteBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

#verrouillerCarteBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
}

/* Styles pour les cartes */
.carte {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles pour les images */
.img-restaurant {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.img-menu {
    max-width: 100%;
    height: auto;
}

/* Styles pour les étoiles */
.etoiles {
    color: #FFD700;
}

/* Styles pour les boutons */
.btn-filtre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
    margin: 0.25rem;
    cursor: pointer;
}

.btn-filtre:hover {
    background-color: #e9ecef;
}

.btn-filtre.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Styles pour les filtres */
.filtres {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

/* ========================================
   CARTES DE RESTAURANT - STYLE FAVORIS
   ======================================== */
.restaurant-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	border: none;
	transition: transform 0.2s ease;
	height: 200px;
	position: relative;
}

.restaurant-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.card-img-top {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0,0,0,0.2) 20%,
		rgba(0,0,0,0.6) 60%,
		rgba(0,0,0,0.85) 100%
	);
	color: white;
	padding: 1.5rem;
}

.card-title {
	font-weight: 600;
	color: white;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.card-subtitle {
	color: rgba(255,255,255,0.9);
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
}

.badge {
	font-size: 0.65rem;
	padding: 0.2rem 0.4rem;
	border-radius: 12px;
	margin-right: 0.25rem;
	margin-bottom: 0.25rem;
}

.heart-btn {
	color: #dc3545;
	cursor: pointer;
	font-size: 1.2rem;
	transition: all 0.2s ease;
	background: rgba(128, 128, 128, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	position: absolute;
	top: 8px;
	right: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.heart-btn:hover {
	transform: scale(1.1);
	background: rgba(128, 128, 128, 0.7);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.stars {
	color: #ffc107;
	font-size: 0.8rem;
}

.section-title {
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	background: white;
	border-radius: 15px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.empty-state i {
	font-size: 3rem;
	color: #6c757d;
	margin-bottom: 1rem;
}

/* Style pour les alertes de filtrage */
.alert-warning.d-flex.flex-column.align-items-center {
	background: white !important;
	border: none !important;
	border-radius: 15px !important;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
	padding: 3rem 1rem !important;
	color: #6c757d !important;
}

.alert-warning.d-flex.flex-column.align-items-center p {
	color: #6c757d !important;
	font-size: 1.1rem;
	margin-bottom: 1.5rem !important;
}

.alert-warning.d-flex.flex-column.align-items-center .btn {
	border-radius: 25px !important;
	padding: 0.75rem 2rem !important;
	font-weight: 500;
	background-color: #6c757d !important;
	border-color: #6c757d !important;
	color: white !important;
}

.alert-warning.d-flex.flex-column.align-items-center .btn:hover {
	background-color: #5a6268 !important;
	border-color: #5a6268 !important;
	color: white !important;
}

/* Styles pour les badges */
.badge-custom {
    background-color: #6c757d;
    color: white;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    border-radius: 0.25rem;
}

/* Styles pour les popups Leaflet - supprimé pour éviter la duplication */

.parc-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.parc-card .col-5 {
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Styles pour le bouton de retour en haut */
.scrolltop {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #901E3E;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.scrolltop:hover {
    background-color: #6d1730;
    color: white;
}

.scrolltop.visible {
    opacity: 1;
}

/* Style pour les images zoomées */
.zoomed-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}


/* ========================================
   MARQUEURS ET ÉMOJIS
   ======================================== */
.emoji-marker {
    font-size: 24px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.emoji-marker:hover {
    transform: scale(1.3);
}
.custom-marker {
    width: 30px;
    height: 30px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.custom-marker img {
    width: 16px;
    height: 16px;
}

.photo-hover-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.photo-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.2rem;
    font-weight: bold;
}

.photo-hover-wrapper:hover .photo-hover-overlay {
    opacity: 1;
}

.modal-body img:hover {
    cursor: zoom-in;
}

/* ========================================
   STYLES POUR LES ÉTOILES
   ======================================== */
#note-stars {
    font-size: 1.5rem;
    color: #ddd;
}

#note-stars i {
    cursor: pointer;
    transition: color 0.2s;
}

/* ========================================
   STYLES POUR LE ZOOM D'IMAGES
   ======================================== */
#zoomedImage {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Styles pour la modale de signalement SweetAlert2 */
.swal2-popup .form-check {
	display: flex !important;
	align-items: center !important;
	margin-bottom: 0.5rem !important;
}

.swal2-popup .form-check-input {
	margin-top: 0 !important;
	margin-right: 0.5rem !important;
	flex-shrink: 0 !important;
}

.swal2-popup .form-check-label {
	margin-bottom: 0 !important;
	line-height: 1.4 !important;
}

/* Bouton bleu pour la modale de signalement */
.swal2-confirm {
	background-color: #007bff !important;
	border-color: #007bff !important;
}

.swal2-confirm:hover,
.swal2-confirm:focus {
	background-color: #0056b3 !important;
	border-color: #0056b3 !important;
} .filter-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}
.filter-container .form-select,
.filter-container .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    color: #495057;
    transition: all 0.2s ease;
}
.filter-container .form-select:focus,
.filter-container .form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
    background-color: white;
}
.filter-container .form-select:hover,
.filter-container .form-control:hover {
    border-color: #adb5bd;
    background-color: white;
}
.btn-reset-filtre-recherche,
.btn-reset-filtre-type,
.btn-reset-filtre-nourriture {
    background: #242424;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    transition: background 0.2s, color 0.2s;
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
}
.btn-reset-filtre-recherche:hover, .btn-reset-filtre-recherche:focus,
.btn-reset-filtre-type:hover, .btn-reset-filtre-type:focus,
.btn-reset-filtre-nourriture:hover, .btn-reset-filtre-nourriture:focus {
    background: #000;
    color: #fff;
}
.btn-reset-filtre-recherche i,
.btn-reset-filtre-type i,
.btn-reset-filtre-nourriture i {
    font-size: 1.5rem;
    line-height: 1;
}
.form-check-input {
    cursor: pointer;
    width: 3.5em;
    height: 1.5em;
    background-color: #e9ecef;
    border-color: #e9ecef;
}
.form-check-input:checked {
    background-color: #6c757d;
    border-color: #6c757d;
}
.form-check-input:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}
.form-check-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.3rem;
}
.form-check {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
}
.form-check:hover {
    border-color: #adb5bd;
    background-color: white;
}

/* Styles pour les popups restaurant */
.popup-restaurant .leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.popup-restaurant .leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 200px !important;
}

.popup-restaurant-link:hover .popup-restaurant-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
    transition: all 0.3s ease;
}

.popup-restaurant-card {
    transition: all 0.3s ease;
}

#carte-miniature,
.leaflet-container,
.leaflet-pane,
.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-popup-pane {
    z-index: 0.5 !important;
}

.navbar, .desktop-nav-container {
    z-index: 1000 !important;
    position: relative;
}