/* ==========================================================================
   Les Love Rooms — fiche logement
   Toutes les couleurs se règlent dans :root ci-dessous.
   ========================================================================== */

:root {
	--llr-accent: #b3264f;        /* framboise : boutons, notes */
	--llr-accent-dark: #8e1c3e;
	--llr-accent-soft: #f8e7ec;
	--llr-ink: #211a1d;
	--llr-muted: #7a6f73;
	--llr-line: #ece4e1;
	--llr-bg-soft: #fbf6f3;       /* crème chaud */
	--llr-card: #ffffff;
	--llr-radius: 14px;
	--llr-radius-sm: 8px;
	--llr-shadow: 0 10px 30px rgba(33, 26, 29, .08);
	--llr-max: 1180px;
}

/* Astra : la fiche gère sa propre largeur */
.llr-room-fiche #primary,
.llr-room-fiche .site-content > .ast-container { display: block; max-width: none; padding: 0; margin: 0; width: 100%; }
.llr-room-fiche .site-content #primary { margin: 0; }

.llrf {
	max-width: var(--llr-max);
	margin: 0 auto;
	padding: 24px 20px 64px;
	color: var(--llr-ink);
	line-height: 1.6;
}
.llrf *, .llrf *::before, .llrf *::after { box-sizing: border-box; }
.llrf h1, .llrf h2 { color: var(--llr-ink); letter-spacing: -.01em; }
.llrf a { color: inherit; }
.llrf__muted { color: var(--llr-muted); font-weight: 400; }
.llrf__accent { color: var(--llr-accent); }

/* ---------- Fil d'Ariane ---------- */
.llrf__crumb ol {
	display: flex; flex-wrap: wrap; gap: 4px;
	list-style: none; margin: 0 0 18px; padding: 0;
	font-size: .85rem; color: var(--llr-muted);
}
.llrf__crumb li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.llrf__crumb a { text-decoration: none; }
.llrf__crumb a:hover { color: var(--llr-accent); text-decoration: underline; }
.llrf__crumb [aria-current] { color: var(--llr-ink); }

/* ---------- En-tête ---------- */
.llrf__head {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 24px; margin-bottom: 20px;
}
.llrf__types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.llrf__type {
	font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
	color: var(--llr-accent); background: var(--llr-accent-soft);
	padding: 3px 10px; border-radius: 999px;
}
.llrf__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 10px; }
.llrf__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.llrf__loc { display: inline-flex; align-items: center; gap: 5px; color: var(--llr-muted); }
.llrf__note { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .95rem; }
.llrf__note:hover .llrf__note-txt { text-decoration: underline; }
.llrf__note-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 32px; padding: 0 8px;
	background: var(--llr-accent); color: #fff; font-weight: 700; font-size: .95rem;
	border-radius: 8px 8px 8px 2px;
}
.llrf__price { text-align: right; white-space: nowrap; }
.llrf__price-from, .llrf__price-unit { display: block; font-size: .85rem; color: var(--llr-muted); }
.llrf__price-unit { display: inline; }
.llrf__price-val { font-size: 1.9rem; font-weight: 700; color: var(--llr-accent); }

/* ---------- Galerie ---------- */
.llrf__gallery {
	display: grid; gap: 8px; margin-bottom: 36px;
	border-radius: var(--llr-radius); overflow: hidden;
	height: clamp(300px, 46vw, 500px);
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.llrf__gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.llrf__gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.llrf__gallery--3 { grid-template-columns: 2fr 1fr; }
.llrf__gallery--4 .llrf__shot:last-of-type { grid-column: span 2; }
.llrf__shot {
	position: relative; display: block; padding: 0; margin: 0; border: 0;
	background: var(--llr-bg-soft); cursor: zoom-in; overflow: hidden; min-height: 0;
}
.llrf__shot--main { grid-row: 1 / -1; }
.llrf__shot img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .5s ease;
}
.llrf__shot:hover img { transform: scale(1.04); }
.llrf__shot:focus-visible { outline: 3px solid var(--llr-accent); outline-offset: -3px; }
.llrf__more {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(33, 26, 29, .5); color: #fff; font-weight: 600; font-size: 1.05rem;
}

/* ---------- Grille contenu / encart ---------- */
.llrf__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start;
}
.llrf__grid:not(:has(.llrf__side)) { grid-template-columns: 1fr; }
.llrf__section { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--llr-line); }
.llrf__section:last-child { border-bottom: 0; margin-bottom: 0; }
.llrf__section h2 { font-size: 1.35rem; margin: 0 0 16px; }
.llrf__section h2 small { font-size: .9rem; }

.llrf__equip {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.llrf__equip li {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px; background: var(--llr-bg-soft);
	border-radius: var(--llr-radius-sm); font-weight: 500;
}
.llrf__equip li span { font-size: 1.25rem; line-height: 1; }

/* Degré coquin */
.llrf__coquin {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	margin-top: 14px; padding: 14px 16px;
	background: var(--llr-accent-soft); border-radius: var(--llr-radius-sm);
}
.llrf__coquin-l { font-weight: 600; }
.llrf__coquin-pips { display: inline-flex; gap: 5px; }
.llrf__coquin-pips i {
	width: 22px; height: 22px; display: block;
	background: currentColor; color: var(--llr-line);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.1 0 3.6 1.2 4.4 2.5.8-1.3 2.3-2.5 4.4-2.5 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.1 0 3.6 1.2 4.4 2.5.8-1.3 2.3-2.5 4.4-2.5 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.llrf__coquin-pips i.on { color: var(--llr-accent); }
.llrf__coquin-v { color: var(--llr-accent-dark); font-weight: 600; font-size: .92rem; }

.llrf__desc p { margin: 0 0 1em; }
.llrf__desc p:last-child { margin-bottom: 0; }

/* ---------- Avis ---------- */
.llrf__cats {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-bottom: 24px;
}
.llrf__cat { display: grid; grid-template-columns: 1fr 34px; grid-template-rows: auto 6px; gap: 4px 10px; align-items: center; font-size: .92rem; }
.llrf__cat-l { grid-column: 1; }
.llrf__cat-v { grid-column: 2; grid-row: 1; text-align: right; font-weight: 600; }
.llrf__cat-bar { grid-column: 1 / -1; height: 6px; background: var(--llr-line); border-radius: 99px; overflow: hidden; }
.llrf__cat-bar i { display: block; height: 100%; background: var(--llr-accent); border-radius: 99px; }

.llrf__reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.llrf__review {
	position: relative; margin: 0; padding: 18px 18px 16px;
	background: var(--llr-card); border: 1px solid var(--llr-line); border-radius: var(--llr-radius);
}
.llrf__review blockquote { margin: 0; padding: 0; border: 0; font-style: normal; font-size: .95rem; }
.llrf__review blockquote p { margin: 0 0 .6em; }
.llrf__review-note {
	float: right; margin: 0 0 6px 10px; padding: 2px 8px;
	background: var(--llr-accent-soft); color: var(--llr-accent); font-weight: 700; font-size: .85rem; border-radius: 6px;
}
.llrf__review figcaption { font-size: .82rem; color: var(--llr-muted); }

/* ---------- Proximité & carte ---------- */
.llrf__proxi { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.llrf__proxi li { padding: 6px 0 6px 20px; position: relative; break-inside: avoid; }
.llrf__proxi li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--llr-accent); }
.llrf__addr { margin: 0 0 12px; color: var(--llr-muted); }
.llrf__map { border-radius: var(--llr-radius); overflow: hidden; background: var(--llr-bg-soft); aspect-ratio: 16 / 8; }
.llrf__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.llrf__link { display: inline-block; margin-top: 10px; color: var(--llr-accent); font-weight: 600; text-decoration: none; }
.llrf__link:hover { text-decoration: underline; }

/* ---------- Encart réservation ---------- */
.llrf__side { position: sticky; top: 110px; }
.llrf__cta {
	padding: 24px; background: var(--llr-card);
	border: 1px solid var(--llr-line); border-radius: var(--llr-radius); box-shadow: var(--llr-shadow);
}
.llrf__cta-name { font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; }
.llrf__cta-price { margin: 0 0 10px; color: var(--llr-muted); }
.llrf__cta-price strong { font-size: 1.8rem; color: var(--llr-ink); }
.llrf__cta-note { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 600; }
.llrf__cta-small { margin: 12px 0 0; font-size: .8rem; color: var(--llr-muted); text-align: center; }
.llrf__btn {
	display: block; width: 100%; padding: 14px 20px; text-align: center;
	background: var(--llr-accent); color: #fff !important; font-weight: 700; text-decoration: none;
	border-radius: 999px; transition: background .2s ease, transform .2s ease;
}
.llrf__btn:hover { background: var(--llr-accent-dark); transform: translateY(-1px); }

/* ---------- Suggestions ---------- */
.llrf-sugg { margin-top: 56px; }
.llrf-sugg__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.llrf-sugg__head h2 { font-size: 1.35rem; margin: 0; }
.llrf-sugg__nav { display: flex; gap: 8px; }
.llrf-sugg__btn {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--llr-line);
	background: var(--llr-card); color: var(--llr-ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.llrf-sugg__btn:hover { border-color: var(--llr-accent); color: var(--llr-accent); }
.llrf-sugg__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 24%);
	gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-bottom: 8px; scrollbar-width: thin;
}
.llrf-card {
	scroll-snap-align: start; display: block; text-decoration: none;
	background: var(--llr-card); border: 1px solid var(--llr-line); border-radius: var(--llr-radius);
	overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.llrf-card:hover { box-shadow: var(--llr-shadow); transform: translateY(-2px); }
.llrf-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--llr-bg-soft); }
.llrf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.llrf-card__note {
	position: absolute; top: 10px; left: 10px; padding: 2px 8px;
	background: var(--llr-accent); color: #fff; font-weight: 700; font-size: .8rem; border-radius: 6px;
}
.llrf-card__body { display: block; padding: 12px 14px 14px; }
.llrf-card__name { display: block; font-weight: 700; line-height: 1.3; }
.llrf-card__meta { display: block; font-size: .85rem; color: var(--llr-muted); margin-top: 2px; }

/* ---------- Barre mobile ---------- */
.llrf__bar { display: none; }

/* ---------- Lightbox ---------- */
.llrf-lb {
	position: fixed; inset: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center;
	background: rgba(15, 11, 13, .94);
}
.llrf-lb[hidden] { display: none; }
.llrf-lb__img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.llrf-lb button {
	position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
	width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.llrf-lb button:hover { background: rgba(255, 255, 255, .25); }
.llrf-lb__close { top: 18px; right: 18px; }
.llrf-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.llrf-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.llrf-lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; opacity: .8; }
body.llr-lb-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.llrf__grid { grid-template-columns: 1fr; gap: 0; }
	.llrf__side { display: none; }
	.llrf-sugg__track { grid-auto-columns: minmax(220px, 40%); }
	.llrf { padding-bottom: 96px; }
	.llrf__bar {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--llr-card); border-top: 1px solid var(--llr-line);
		box-shadow: 0 -6px 20px rgba(33, 26, 29, .08);
	}
	.llrf__bar-txt strong { font-size: 1.2rem; }
	.llrf__bar-txt span { color: var(--llr-muted); font-size: .85rem; }
	.llrf__bar .llrf__btn { width: auto; padding: 12px 22px; }
}

@media (max-width: 767px) {
	.llrf { padding: 16px 16px 96px; }
	.llrf__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.llrf__price { text-align: left; }
	.llrf__price-from { display: inline; }
	.llrf__gallery {
		display: flex; height: auto; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
		margin: 0 -16px 28px; padding: 0 16px; border-radius: 0;
	}
	.llrf__shot { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: var(--llr-radius-sm); }
	.llrf__more { display: none; }
	.llrf__cats { grid-template-columns: 1fr; }
	.llrf__proxi { columns: 1; }
	.llrf__map { aspect-ratio: 4 / 3; }
	.llrf-sugg__nav { display: none; }
	.llrf-sugg__track { grid-auto-columns: 72%; }
}

@media (prefers-reduced-motion: reduce) {
	.llrf *, .llrf-sugg__track { transition: none !important; scroll-behavior: auto !important; }
}
