/* ==========================================================================
   Riad Lucia — room detail page (light) + booking forms
   --------------------------------------------------------------------------
   DELIBERATE APPROACH: no CSS custom-property overrides and no reuse of
   template class names (.widget, .room-card, …). Everything below is either
   an `rl-`prefixed class we own, or an explicit `body.single-chambre X`
   selector. Nothing here can leak into the footer, header or other pages.
   ========================================================================== */

/* ---------- 1. Hero booking bar (dark pages: home, etc.) ----------
   Sits on the page background: no card, no radius, no shadow. Fields are
   outlined in the accent colour; only the submit button keeps the site-wide
   pill shape (48px radius, terracotta) used by every other CTA. */
.rl-bookbar {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	max-width: 1080px;
	margin: 34px auto 0;
}
.rl-bookbar form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
}
.rl-bookbar .rl-bb-field { flex: 1 1 170px; min-width: 150px; }
.rl-bookbar label {
	display: block;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
	margin-bottom: 7px;
}
.rl-bookbar select,
.rl-bookbar input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--theme-color);
	border-radius: 0;
	background: transparent;
	color: #F5EFE7;
	font-size: 14px;
	font-family: inherit;
	color-scheme: dark; /* native date picker renders light on the dark field */
}
.rl-bookbar select option { background: #14140F; color: #F5EFE7; }
.rl-bookbar input::placeholder { color: rgba(245, 239, 231, .45); }
.rl-bookbar select:focus,
.rl-bookbar input:focus {
	outline: none;
	border-color: #E0855C;
	box-shadow: 0 0 0 1px #E0855C inset;
}
/* the button keeps the site's pill look */
.rl-bookbar button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 48px;
	background: var(--theme-color);
	color: #fff;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	transition: filter .25s ease;
}
.rl-bookbar button:hover { filter: brightness(1.08); }

/* ---------- 2. Room detail page — light canvas ---------- */
/* Direct background/color declarations (NOT variable overrides) so nothing
   inherits into components that compute their own colours from vars. */
body.single-chambre { background-color: #FAF6EF; }
body.single-chambre .th-header,
body.single-chambre .th-header .menu-area,
body.single-chambre .sticky-wrapper,
body.single-chambre .sticky-wrapper.sticky .menu-area { background-color: #FFFDF8; }
body.single-chambre .th-header .header-top { background-color: #2E241E; }
body.single-chambre .main-menu > ul > li > a { color: #2E241E; }
body.single-chambre .main-menu > ul > li > a:hover { color: var(--theme-color); }
body.single-chambre .menu-expand { color: #2E241E; }
body.single-chambre .preloader { background-color: #FAF6EF; }

/* banner: scrim so the white title stays readable over the photo */
body.single-chambre .breadcumb-wrapper { position: relative; }
body.single-chambre .breadcumb-wrapper::before {
	content: ""; position: absolute; inset: 0;
	background: rgba(23, 15, 10, .42);
}
body.single-chambre .breadcumb-wrapper .container { position: relative; z-index: 1; }

/* ---------- 3. Room content blocks (all rl-owned) ---------- */
.rl-room { padding: 60px 0 80px; }
.rl-room-head { margin-bottom: 26px; }
.rl-room-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(197, 104, 67, .12);
	color: var(--theme-color);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.rl-room-title {
	font-family: var(--title-font);
	font-size: 40px;
	line-height: 1.15;
	color: #2E241E;
	margin: 0 0 10px;
}
.rl-room-sub { color: #6E6259; font-size: 16px; margin: 0; }

.rl-room-img { border-radius: 18px; overflow: hidden; margin-bottom: 34px; }
.rl-room-img img { width: 100%; height: auto; display: block; }

/* key facts strip */
.rl-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	padding: 22px;
	margin-bottom: 34px;
	background: #fff;
	border: 1px solid rgba(46, 36, 30, .08);
	border-radius: 14px;
}
.rl-fact { display: flex; align-items: center; gap: 12px; }
.rl-fact i { color: var(--theme-color); font-size: 20px; width: 22px; text-align: center; }
.rl-fact-l { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9C8E82; }
.rl-fact-v { display: block; color: #2E241E; font-size: 15px; }

.rl-sec { margin-bottom: 38px; }
.rl-sec-title {
	font-family: var(--title-font);
	font-size: 24px;
	color: #2E241E;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(46, 36, 30, .1);
}
.rl-sec p { color: #6E6259; font-size: 16px; line-height: 1.75; margin: 0 0 14px; }

/* amenities grid (Airbnb-style) */
.rl-amen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 26px; }
.rl-amen li { display: flex; align-items: flex-start; gap: 12px; color: #4A4038; font-size: 15px; line-height: 1.5; }
.rl-amen li i { color: var(--theme-color); margin-top: 3px; }

/* practical info */
.rl-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.rl-info div {
	background: #fff;
	border: 1px solid rgba(46, 36, 30, .08);
	border-radius: 12px;
	padding: 18px;
}
.rl-info h4 { font-size: 15px; color: #2E241E; margin: 0 0 6px; }
.rl-info p { font-size: 14px; color: #6E6259; margin: 0; line-height: 1.6; }

/* ---------- 4. Sticky booking form (room page) ---------- */
.rl-book {
	position: sticky;
	top: 110px;
	background: #fff;
	border: 1px solid rgba(46, 36, 30, .1);
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(46, 36, 30, .1);
	padding: 26px;
}
.rl-book h3 {
	font-family: var(--title-font);
	font-size: 21px;
	color: #2E241E;
	margin: 0 0 4px;
}
.rl-book .rl-book-note { font-size: 13px; color: #8A7C70; margin: 0 0 18px; }
.rl-book label {
	display: block;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8A7C70;
	margin-bottom: 5px;
}
.rl-book input,
.rl-book select,
.rl-book textarea {
	width: 100%;
	padding: 11px 12px;
	margin-bottom: 13px;
	border: 1px solid rgba(46, 36, 30, .18);
	border-radius: 8px;
	background: #FDFBF7;
	color: #2E241E;
	font-size: 14px;
	font-family: inherit;
}
.rl-book textarea { min-height: 84px; resize: vertical; }
.rl-book input:focus,
.rl-book select:focus,
.rl-book textarea:focus { outline: 2px solid var(--theme-color); outline-offset: -1px; }
.rl-book .rl-row { display: flex; gap: 12px; }
.rl-book .rl-row > div { flex: 1; }
.rl-book button {
	width: 100%;
	padding: 14px;
	border: 0;
	border-radius: 8px;
	background: var(--theme-color);
	color: #fff;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter .25s ease;
}
.rl-book button:hover { filter: brightness(1.08); }
.rl-book .rl-perks {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(46, 36, 30, .1);
	list-style: none;
}
.rl-book .rl-perks li {
	display: flex; gap: 9px; align-items: flex-start;
	font-size: 13px; color: #6E6259; line-height: 1.5; margin-bottom: 8px;
}
.rl-book .rl-perks i { color: var(--theme-color); margin-top: 3px; }

.rl-ok {
	background: #EDF7EE;
	border: 1px solid #BFE0C4;
	color: #2C5F35;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 14px;
}

/* ---------- 5. "Other rooms" cards on the room page ---------- */
.rl-other { background: #fff; border: 1px solid rgba(46,36,30,.08); border-radius: 14px; overflow: hidden; height: 100%; }
.rl-other img { width: 100%; height: 240px; object-fit: cover; display: block; }
.rl-other-body { padding: 18px; }
.rl-other-body h4 { font-size: 18px; margin: 0 0 4px; }
.rl-other-body h4 a { color: #2E241E; }
.rl-other-body h4 a:hover { color: var(--theme-color); }
.rl-other-body span { font-size: 12px; color: #9C8E82; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- 6. Room cards: type badge + facts (archive + home) ---------- */
.rl-card-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(197, 104, 67, .12);
	color: var(--theme-color);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 9px;
}
.rl-card-facts { list-style: none; margin: 0 0 14px; padding: 0; }
.rl-card-facts li { display: flex; gap: 9px; align-items: center; font-size: 13px; color: inherit; opacity: .85; margin-bottom: 5px; }
.rl-card-facts i { color: var(--theme-color); width: 15px; text-align: center; }

@media (max-width: 991px) {
	.rl-book { position: static; }
	.rl-room-title { font-size: 32px; }
}
