/* ==========================================================================
   1. VARIABLES ET STYLES GÉNÉRAUX
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
}



:root {
	--pink: #c84156;
}

.container-fluid {
	max-width: 1920px;
}

.title-color {
	color: var(--pink) !important;
}

.btn-outline-danger {
	border-color: var(--pink);
	color: var(--pink);
}

.btn-outline-danger:hover {
	color: white;
	background-color: var(--pink);
	border-color: var(--pink);
}

.kapakana {
	font-family: "Kapakana", cursive;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

/* ==========================================================================
   2. HEADER ET NAVIGATION
   ========================================================================== */
.banner {
	height: 300px;
	background-size: cover;
	background-position: center;
	color: white;
}

.logo-img {
	max-height: 300px;
}

.subtitle {
	color: #f8cc2e;
}

.nav-bg {
	background-color: var(--pink) !important;
	--bs-gutter-x: 0;
}

.nav-link {
	color: white !important;
}

.nav-link:hover {
	text-decoration: underline;
	text-underline-offset: 8px;
}

.cart-icon {
	width: 50px;
}

.dropdown-item:hover {
	background-color: var(--pink);
	text-decoration: underline;
	text-underline-offset: 8px;
}

/* Quick Search */
.quick-search-div {
	border: 1px solid var(--pink);
	background-color: #ffffff !important;
}

.quick-search {
	color: var(--pink);
	width: fit-content;
}

.date-label {
	font-weight: bold;
	align-self: center;
}

/* ==========================================================================
   3. PAGE D'ACCUEIL ET PAGE EDEN
   ========================================================================== */
.home-img {
	width: 100%;
	height: 700px;
	object-fit: cover;
}

.h-500 {
	height: 700px;
	padding-bottom: 1.5rem;
	/* On garde l'espace en bas */
	overflow: hidden;
}

.h-500 p {
	margin-bottom: 0;
}

/* ==========================================================================
   4. PAGE COTTAGE
   ========================================================================== */
.cottage-subtitle {
	font-weight: bold;
	border-bottom: var(--pink) 1px solid;
	padding-bottom: 8px;
}

.feature {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* --- Formulaire de réservation --- */
.booking {
	border: 1px solid var(--pink);
	border-radius: 10px;
	padding: 15px;
	margin: auto;
	position: sticky;
	top: 90px;
	background-color: white !important;
}

.bookingDate {
	width: 135px;
}

/* --- Calendrier --- */

/* Le conteneur principal devient le référent pour le positionnement */
.calendar-wrapper {
	position: relative;
	padding: 0 50px;
	/* Espace sur les côtés pour les flèches */
}

/* Style et positionnement des flèches */
.nav-arrow {
	background-color: transparent;
	border: 1px solid #ccc;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	font-size: 1.2rem;
	transition: background-color 0.2s ease-in-out;
	position: absolute;
	top: 10px;
	/* Distance depuis le haut, à ajuster */
	transform: translateY(-50%);
}

.nav-arrow:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}

#nav-prev {
	left: 0;
}

#nav-next {
	right: 0;
}

/* Le conteneur qui met les deux mois côte à côte */
.months-container {
	display: flex;
	gap: 25px;
}

/* Chaque calendrier individuel */
.php-calendar-container {
	flex: 1;
	min-width: 0;
}

.php-calendar-container h2 {
	font-size: 1.25rem;
	text-align: center;
	margin-bottom: 1rem;
}

/* Le tableau du calendrier */
.php-calendar-container .table {
	table-layout: fixed;
	border: none !important;
}

.php-calendar-container .table th,
.php-calendar-container .table td {
	border: none !important;
}

.php-calendar-container .table thead {
	border-bottom: 1px solid #dee2e6;
}

.php-calendar-container td {
	height: 60px;
	vertical-align: top;
	padding: 6px;
	text-align: center;
}

.php-calendar-container tr.empty-week {
	visibility: hidden;
}

.php-calendar-container td.available {
	cursor: pointer;
}

.php-calendar-container td.available:hover {
	background-color: #f5f5f5;
}

.php-calendar-container td.booked {
	background-color: #f8f9fa;
	color: #ced4da;
	text-decoration: line-through;
}

.php-calendar-container td.selected {
	background-color: #ffe8e7;
}

.php-calendar-container td.range-start {
	background-color: #d9534f;
	color: white;
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
}

.php-calendar-container td.range-end {
	background-color: #d9534f;
	color: white;
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
}

.php-calendar-container td.range-start.range-end {
	border-radius: 50px;
}

.day-number {
	font-weight: bold;
}

.day-price {
	font-size: 0.75em;
	color: #6c757d;
}

.php-calendar-container tr.empty-week {
	visibility: hidden;
}

.php-calendar-container tr.empty-week td {
	border: none;
}

.php-calendar-container td.disabled {
	background-color: #f8f9fa;
	color: #ced4da;
	cursor: not-allowed;
}

.material-symbols-rounded {
	font-size: 30px;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.copyright {
	width: fit-content;
}

/* ==========================================================================
   6. STYLES RESPONSIVES (MOBILES)
   ========================================================================== */
@media (max-width: 1280px) {
	.bookingDate {
		width: 50%;
	}
}

@media (max-width: 767px) {
	.months-container {
		flex-direction: column;
	}

	.months-container .php-calendar-container:last-child {
		display: none;
	}

	.nav-arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		font-size: 1.8rem;
		padding: 0;
	}

	.calendar-wrapper {
		padding: 0 15px;
	}

	#nav-prev,
	#nav-next {
		top: 10px;
	}

	.h-500 {
		height: 100%;
	}
}

/* ==========================================================================
   7. PAGE AVIS (CARROUSEL)
   ========================================================================== */

.history-img {
	width: 100%;
	height: 500px;
	object-fit: cover;
}

.review-card {
	background-color: #f8f9fa;
	border-radius: 10px;
	padding: 1.5em;
	min-height: 270px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	margin: 0 0.5rem;
	height: 100%;
}

/* --- Styles pour le texte tronqué --- */
.review-text-container {
	/* On transforme le conteneur en flexbox vertical */
	display: flex;
	flex-direction: column;
	/* On le fait grandir pour qu'il prenne toute la place restante dans la carte */
	flex-grow: 1;
}

.review-text {
	position: relative;
	overflow: hidden;

}

.read-more {
	font-weight: bold;
	color: var(--pink);
	cursor: pointer;
	text-decoration: none;
}

.read-more:hover {
	text-decoration: underline;
}


/* --- Responsive mobile --- */
@media (max-width: 767px) {

	.review-card {
		margin: 0;
		min-height: 350px;
	}
}

/* ==========================================================================
   7. COOKIES
   ========================================================================== */

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #212529;
	/* Couleur sombre Bootstrap */
	color: white;
	padding: 1rem;
	z-index: 1050;
	/* Pour s'afficher au-dessus de tout */
	display: none;
	/* Caché par défaut, le JS le montrera */
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
	margin: 0;
	font-size: 0.9rem;
}

.cookie-banner a {
	color: #fff;
	text-decoration: underline;
}

/* ==========================================================================
   8. STYLES POUR LES NOUVELLES CARTES D'AVIS (Page Histoire) - CORRECTION
   ========================================================================== */

/* On force les cartes à s'étirer sur la même hauteur */
.lornepark-avis-card {
	border-radius: 12px;
	transition: all 0.3s ease;
	border: 1px solid #eee;
	/* h-100 (ajouté en HTML) s'occupe de la hauteur */
}

.lornepark-avis-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.lornepark-avis-card .card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* <- ALIGNEMENT CORRIGÉ */
}


/* Styles pour le contenu (logos, notes...) */
.lornepark-avis-card .review-logo {
	height: 30px;
	width: auto;
	margin-bottom: 1rem;
	align-self: center;
}

.lornepark-avis-card .review-logo.google {
	height: 30px;
}

.lornepark-avis-card .review-logo.airbnb {
	height: 32px;
}

.lornepark-avis-card .review-rating-main {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	color: #222;
}

.lornepark-avis-card .review-rating-main .star {
	color: #FF385C;
	/* Rouge Airbnb */
	font-size: 2.8rem;
	vertical-align: baseline;
}

.lornepark-avis-card .review-count {
	font-size: 1.2rem;
	color: #717171;
	margin: 0;
}



#googleReviewsCarousel {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}

#googleReviewsCarousel .carousel-control-prev,
#googleReviewsCarousel .carousel-control-next {
	width: 1%;
	/* <- C'EST LA CORRECTION */
}

/* 1. On applique le style rose de la Section 7
      aux flèches du nouvel ID */
#googleReviewsCarousel .carousel-control-prev-icon,
#googleReviewsCarousel .carousel-control-next-icon {
	background-color: var(--pink);
	/* Votre rose */
	border-radius: 5px;
	/* Vos coins carrés */
	padding: 1.2em;
	/* Votre grand padding */
}

/* 2. On enlève le padding du carrousel interne */
#googleReviewsCarousel .carousel-inner {
	padding: 0;
	order: 1;
}

/* 3. On force les indicateurs (points) en bas */
#googleReviewsCarousel .carousel-indicators {
	position: relative;
	bottom: 0;
	margin-bottom: 0;
	margin-top: 1rem;
	order: 2;
}

/* 4. On garde le style rose pour les indicateurs */
#googleReviewsCarousel .carousel-indicators [data-bs-target] {
	background-color: var(--pink);
}

/* 3. On force les indicateurs (points) en bas */
#googleReviewsCarousel .carousel-indicators {
	margin-top: 1rem;
	/* Espace */
}

/* 4. On remet vos styles roses sur les indicateurs */
#googleReviewsCarousel .carousel-indicators [data-bs-target] {
	background-color: var(--pink);
}

/* Lodgify Booking Box */

#lodgify-book-now-box>div>div {
	background-color: white !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

#lodgify-book-now-box span[data-testid="book-now-box.date-picker.trigger.section1"] {
	padding-left: 15px !important;
}

#lodgify-book-now-box span[data-testid="book-now-box.date-picker.trigger.section2"] {
	padding-left: 15px !important;
}

/* --- BOUTON PRINCIPAL LODGIFY (Style Bootstrap Outline) --- */

/* 1. État normal (Bordure colorée, fond transparent) */
#lodgify-book-now-box a[data-testid="book-now-box.cta-button"] {
	background-color: transparent !important;
	color: var(--pink) !important;
	/* Remplacez par le code couleur exact de votre thème */
	border: 1px solid var(--pink) !important;
	border-radius: 6px !important;
	/* L'arrondi classique de Bootstrap */
	font-weight: 400 !important;
	/* Rend le texte un peu plus lisible */
	transition: all 0.3s ease-in-out !important;
	/* L'animation douce de Bootstrap */
	font-family: var(--bs-body-font-family) !important;
}

/* 2. État au survol (Fond plein, texte blanc) */
#lodgify-book-now-box a[data-testid="book-now-box.cta-button"]:hover {
	background-color: var(--pink) !important;
	/* Votre couleur de thème */
	color: #ffffff !important;
	cursor: pointer !important;
}

/* Lodgify Search Bar */
/* On cible la section principale de la barre */
#portable-search-bar {
	background-color: transparent !important;
	box-shadow: none !important;
	/* DÉCISIF : Enlève l'ombre portée */
	border: none !important;
}

/* Par sécurité, on s'assure que la div injectée juste au-dessus est aussi transparente */
#lodgify-search-bar>div {
	background-color: transparent !important;
	box-shadow: none !important;
}

/* --- BOUTON DE RECHERCHE LODGIFY (Style Bootstrap Outline) --- */

/* 1. État normal (Bordure colorée, fond transparent) */
#portable-search-bar a[data-testid="button"] {
	background-color: transparent !important;
	color: var(--pink) !important;
	/* Remplacez par le code couleur exact de votre thème */
	border: 1px solid var(--pink) !important;
	border-radius: 6px !important;
	font-weight: 500 !important;
	transition: all 0.3s ease-in-out !important;
	display: flex !important;
	/* Garde l'alignement de l'icône loupe et du texte */
	justify-content: center !important;
	align-items: center !important;
}

/* 2. État au survol (Fond plein, texte blanc) */
#portable-search-bar a[data-testid="button"]:hover {
	background-color: var(--pink) !important;
	/* Votre couleur de thème */
	color: #ffffff !important;
	cursor: pointer !important;
}

/* 3. Forcer la couleur de l'icône "loupe" (SVG) pour qu'elle suive le texte */
#portable-search-bar a[data-testid="button"] svg {
	fill: currentColor !important;
	margin-right: 7px !important;
}