/* ==========================================================================
   Lightweight Header + Footer
   Self-contained CSS — no Elementor dependency.
   Dark navy (#1e3750) header, gold (#b99d75) accents.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens (standalone — not dependent on theme CSS vars)
   -------------------------------------------------------------------------- */
:root {
	--lw-navy:        #1e3750;
	--lw-navy-dark:   #152840;
	--lw-navy-deeper: #0f1e2e;
	--lw-gold:        #b99d75;
	--lw-gold-light:  #c4a680;

	/* Play buttons. Red is what every visitor reads as "film", whichever host
	   actually serves it — the residence's own films sit on Cloudflare Stream. */
	--lw-video-red:      #ff0000;
	--lw-video-red-deep: #cc0000;
	--btn-bg:         #b99d75;
	--lw-gold-muted:  #c4a87a;
	--lw-white:       #ffffff;
	--lw-white-80:    rgba(255, 255, 255, 0.80);
	--lw-white-60:    rgba(255, 255, 255, 0.60);
	--lw-white-15:    rgba(255, 255, 255, 0.15);
	--lw-white-10:    rgba(255, 255, 255, 0.10);

	/* Text color for buttons on gold background — navy by default (dark mode), white in light mode. */
	--lw-btn-on-gold: var(--lw-navy);

	--lw-header-height:        80px;
	--lw-header-height-sticky: 60px;
	--lw-header-z:             1000;
	--lw-mobile-menu-z:        1100;

	--lw-font-body:    'Josefin Sans', 'Jost', sans-serif;
	--lw-font-heading: 'Cinzel', 'Marcellus', Georgia, serif;

	--lw-transition: 0.25s ease;
	--lw-radius-sm:  6px;
	--lw-radius-md:  10px;

	--lw-container-max: 1280px;
	--lw-container-pad: 24px;

	/* Shared spacing scale — CLAUDE.md: headings breathe >= 16-20 px */
	--lw-space-heading: 1rem;

	/* Body / light-bg text */
	--lw-body-text:      #1a1b1a;
	--lw-text-dark:      #222;
	--lw-text-heading:   #333;
	--lw-text-secondary: #555;
	--lw-text-muted:     #666;
	--lw-text-hint:      #717171;
	--lw-text-dates:     #444;

	/* Light-background borders & surfaces */
	--lw-input-border:   #ccc;
	--lw-border-medium:  #ddd;
	--lw-border-light:   #eee;
	--lw-border-warm:    #e8e4df;
	--lw-bg-hover:       #f0f0f0;
	--lw-bg-warm:        #faf7f3;
	--lw-bg-empty-hero:  #2a2520;

	/* Gold variants */
	--lw-gold-15:        rgba(185, 157, 117, 0.15);
	--lw-gold-dark:      #8a7348;
	--lw-gold-wcag:      #6b5a36;
	/* Same gold, but never remapped: --lw-gold-wcag becomes the pale
	   --lw-gold-muted under body.lw-page because it is a TEXT colour there.
	   Surfaces that stay white in both themes (the availability search card)
	   need a gold dark enough to carry white text: 6.55:1 either way. */
	--lw-gold-solid:     #6b5a36;
	--lw-gold-hover:     #c9b28a;
	--lw-gold-dark-hover:#a38b63;
	--lw-gold-accent:    #d4a76a;
	--lw-gold-a11y-dark: #d0b486;

	/* Badge (gold pill) — text must pass WCAG AA on gold bg (#b99d75) */
	--lw-badge-text:     #1a1a1a;

	/* Availability chips (empty-state villa cards) — WCAG AA on navy;
	   remapped for light under body[data-pp-theme="light"]. */
	--lw-avail-green:     #34d399;
	--lw-avail-green-rgb: 16, 185, 129;
	--lw-avail-gold:      var(--lw-gold-a11y-dark);
	--lw-avail-gold-rgb:  185, 157, 117;

	/* Google Reviews widget */
	--lw-gr-star:        #f4b400;
	--lw-gr-star-empty:  #dadce0;
	--lw-gr-count:       #70757a;
	--lw-gr-text:        #3c4043;

	/* Loading / spinner */
	--lw-spinner-track:  #e5e7eb;
	--lw-spinner-accent: #2563eb;
	--lw-spinner-text:   #6b7280;

	/* White overlays (on dark backgrounds) */
	--lw-white-08:       rgba(255, 255, 255, 0.08);
	--lw-white-20:       rgba(255, 255, 255, 0.2);
	--lw-white-18:       rgba(255, 255, 255, 0.18);
	--lw-white-30:       rgba(255, 255, 255, 0.3);
	--lw-white-40:       rgba(255, 255, 255, 0.4);
	--lw-white-45:       rgba(255, 255, 255, 0.45);
	--lw-white-70:       rgba(255, 255, 255, 0.7);
	--lw-white-90:       rgba(255, 255, 255, 0.9);

	/* Semantic colors */
	--lw-success:        #22c55e;
	--lw-success-soft:   rgba(34, 197, 94, 0.15);
	--lw-error:          #f87171;
	--lw-error-soft:     rgba(248, 113, 113, 0.12);
	--lw-warning:        #fbbf24;
	--lw-warning-soft:   rgba(217, 119, 6, 0.15);
	--lw-info:           #60a5fa;
	--lw-info-soft:      rgba(37, 99, 235, 0.15);

	/* Homepage section theme — dark by default, swap for light toggle */
	--lw-section-bg:         var(--lw-navy-dark);
	--lw-section-bg-alt:     var(--lw-navy);
	--lw-section-text:       rgba(255, 255, 255, 0.85);
	--lw-section-heading:    #fff;
	--lw-section-muted:      rgba(255, 255, 255, 0.75);
	--lw-section-border:     rgba(255, 255, 255, 0.1);
	--lw-card-bg:            rgba(255, 255, 255, 0.06);
	--lw-card-bg-hover:      rgba(255, 255, 255, 0.1);
	--lw-card-border:        rgba(255, 255, 255, 0.1);
	--lw-card-shadow:        0 4px 20px rgba(0, 0, 0, 0.2);
	/* WhatsApp brand green — the one colour the brand does not get to choose.
	   Tokenised so the sticky bar's circle and the floating button cannot drift. */
	--lw-wa-green:           #25d366;
}

/* Light theme overrides for design tokens.
 * Use literal #fff (not var(--lw-white)) — the early light-mode JS in
 * functions.php remaps --lw-white to navy #1e3750, which would make
 * gold-bg button text invisible. */
body[data-pp-theme="light"] {
	--lw-btn-on-gold: #fff;
	--lw-avail-green:     #047857;
	--lw-avail-green-rgb: 4, 120, 87;
	--lw-avail-gold:      var(--lw-gold-wcag);
	--lw-avail-gold-rgb:  107, 90, 54;
}

/* ==========================================================================
   BUTTON SYSTEM — single source of truth (3 tiers + utility exceptions).
   Tier 1 (primary, filled gold): hero CTA, form submits, mobile booking bar.
   Tier 2 (secondary, outline gold): section CTAs (welcome, blog, FAQ).
   Tier 3 (tertiary, text link): in-card 'En savoir plus / Lire'.
   Theme-safe via --lw-gold-wcag (light) and --lw-gold-a11y-dark (dark).
   Exceptions (NOT this system): WhatsApp green, lang switcher, services
   pastille, theme toggle, +/− steppers, social icon-circles.
   ========================================================================== */

.lw-btn,
button.lw-btn,
a.lw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 14px 28px;
	font-family: var(--lw-font-body);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lw-btn--primary,
body.lw-page .lw-btn--primary {
	background: var(--lw-gold-wcag);
	color: #ffffff !important;
	border-color: var(--lw-gold-wcag);
}
.lw-btn--primary:hover,
.lw-btn--primary:focus-visible {
	background: #836f53;
	border-color: #836f53;
	outline: none;
}
[data-pp-theme="dark"] .lw-btn--primary,
body.lw-page[data-pp-theme="dark"] .lw-btn--primary {
	background: var(--lw-gold);
	color: var(--lw-navy-dark) !important;
	border-color: var(--lw-gold);
}
[data-pp-theme="dark"] .lw-btn--primary:hover,
[data-pp-theme="dark"] .lw-btn--primary:focus-visible {
	background: var(--lw-gold-light);
	border-color: var(--lw-gold-light);
}

.lw-btn--secondary,
body.lw-page .lw-btn--secondary {
	background: transparent;
	color: var(--lw-gold-wcag) !important;
	border-color: var(--lw-gold-wcag);
}
.lw-btn--secondary:hover,
.lw-btn--secondary:focus-visible,
body.lw-page .lw-btn--secondary:hover,
body.lw-page .lw-btn--secondary:focus-visible {
	background: var(--lw-gold-wcag);
	color: #ffffff !important;
	outline: none;
}
[data-pp-theme="dark"] .lw-btn--secondary,
body.lw-page[data-pp-theme="dark"] .lw-btn--secondary {
	color: var(--lw-gold-a11y-dark) !important;
	border-color: var(--lw-gold-a11y-dark);
}
body.lw-page[data-pp-theme="dark"] .lw-btn--secondary:hover,
body.lw-page[data-pp-theme="dark"] .lw-btn--secondary:focus-visible {
	background: var(--lw-gold-a11y-dark);
	color: #1e3750 !important;
}


.lw-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.lw-btn[disabled],
.lw-btn--primary[disabled],
.lw-btn--secondary[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

/* ==========================================================================
   BASE RESET — standalone theme (no parent theme CSS)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--lw-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--lw-body-text);
	background: var(--lw-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lw-font-heading);
	line-height: 1.2;
	margin: 0 0 var(--lw-space-heading);
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
p { margin: 0 0 1em; }

/* Form elements baseline */
input, select, textarea, button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], select, textarea {
	padding: 10px 14px;
	border: 1px solid var(--lw-input-border);
	border-radius: var(--lw-radius-sm);
	background: var(--lw-white);
}

button, input[type="submit"] {
	cursor: pointer;
}

/* Vertical dividers — handled in hero section only, not generic */
.mphb_sc_search-form .cs-daterange {
	position: relative;
}
.mphb_sc_search-form .mphb_sc_search-adults { position: relative; }


/* ==========================================================================
   HEADER
   ========================================================================== */

.lw-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--lw-header-z);
	height: var(--lw-header-height);
	background: linear-gradient(to bottom, rgba(10, 18, 36, 0.7) 0%, transparent 100%);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background var(--lw-transition), height var(--lw-transition),
	            box-shadow var(--lw-transition), backdrop-filter var(--lw-transition);
}

/* Solid background for pages without hero (villa detail, blog, etc.) */
.lw-header--solid {
	position: relative;
	background: var(--lw-navy-dark);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Remove white gap above solid header */
.lw-page {
	margin-top: 0;
	padding-top: 0;
}

body.lw-page {
	background: var(--lw-navy-dark);
	color: var(--lw-section-text);

	/* Override light-bg variables for dark theme */
	--lw-body-text:      rgba(255, 255, 255, 0.85);
	--lw-text-dark:      #fff;
	--lw-text-heading:   #fff;
	--lw-text-secondary: rgba(255, 255, 255, 0.7);
	--lw-text-muted:     rgba(255, 255, 255, 0.5);
	--lw-text-hint:      rgba(255, 255, 255, 0.4);
	--lw-text-dates:     rgba(255, 255, 255, 0.7);
	--lw-input-border:   rgba(255, 255, 255, 0.15);
	--lw-border-medium:  rgba(255, 255, 255, 0.1);
	--lw-border-light:   rgba(255, 255, 255, 0.06);
	--lw-border-warm:    rgba(255, 255, 255, 0.08);
	--lw-bg-hover:       rgba(255, 255, 255, 0.08);
	--lw-bg-warm:        rgba(255, 255, 255, 0.04);
	--lw-gr-count:       rgba(255, 255, 255, 0.75);
	--lw-gr-text:        rgba(255, 255, 255, 0.85);
	--lw-gr-star-empty:  rgba(255, 255, 255, 0.15);
	--lw-spinner-track:  rgba(255, 255, 255, 0.1);
	--lw-spinner-text:   rgba(255, 255, 255, 0.5);
	--lw-gold-dark:      var(--lw-gold-muted);
	--lw-gold-wcag:      var(--lw-gold-muted);
}
body.lw-page h1, body.lw-page h2, body.lw-page h3,
body.lw-page h4, body.lw-page h5, body.lw-page h6 {
	color: var(--lw-white);
}
body.lw-page a {
	color: var(--lw-gold);
}
body.lw-page a:hover {
	color: var(--lw-white);
}

/* Admin bar offset */
.admin-bar .lw-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .lw-header {
		top: 46px;
	}
}

/* Inner layout: 3-column grid (logo | nav | right) */
.lw-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "logo nav right";
	align-items: center;
	column-gap: 32px;
	height: 100%;
	max-width: var(--lw-container-max);
	margin: 0 auto;
	padding: 8px var(--lw-container-pad);
	position: relative; /* for mega menu positioning */
}

/* --------------------------------------------------------------------------
   Logo (top-left)
   -------------------------------------------------------------------------- */
.lw-header__logo {
	grid-area: logo;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.lw-header__logo a {
	display: block;
	line-height: 0;
	text-decoration: none;
}
.lw-header__logo-img {
	width: auto;
	height: calc(var(--lw-header-height) - 16px);
	display: block;
}

/* --------------------------------------------------------------------------
   Logo SVG entrance animation
   -------------------------------------------------------------------------- */
.evd-logo .logo-sun,
.evd-logo .logo-symbol,
.evd-logo .logo-arabic,
.evd-logo .logo-text {
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.evd-logo .logo-sun {
	opacity: 0;
	transform-origin: 46.7px 22px;
	animation: evd-sun-rise 2s 0.2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes evd-sun-rise {
	0%   { opacity: 0; transform: translateY(18px) scale(0.4); }
	35%  { opacity: 1; transform: translateY(-3px) scale(1.2); }
	55%  { transform: translateY(1px) scale(1.05); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

.evd-logo .logo-rays .ray {
	stroke: var(--lw-gold);
	stroke-width: 1.2;
	stroke-linecap: round;
	transform-origin: 46.7px 22px;
	will-change: opacity, transform;
	animation: evd-rays-grow 5s 3s infinite ease-in-out;
}
@keyframes evd-rays-grow {
	0%, 100% { opacity: 0; transform: scaleY(0); }
	10%      { opacity: 0.8; }
	25%      { opacity: 1; transform: scaleY(1); }
	40%      { opacity: 0.7; transform: scaleY(1); }
	55%      { opacity: 0; transform: scaleY(0); }
}

.evd-logo .logo-symbol {
	opacity: 0;
	animation: evd-symbol-in 1.4s 0.6s forwards cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes evd-symbol-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.evd-logo .logo-arabic {
	opacity: 0;
	animation: evd-arabic-write 2s 1.4s forwards cubic-bezier(0.25, 0.1, 0.25, 1);
}
@keyframes evd-arabic-write {
	0%   { opacity: 1; clip-path: inset(0 100% 0 0); }
	100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

.evd-logo .logo-text-ethic {
	opacity: 0;
	animation: evd-text-in 1.2s 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.evd-logo .logo-text-village {
	opacity: 0;
	animation: evd-text-in 1.2s 1.6s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes evd-text-in {
	from { opacity: 0; transform: translateX(8px); }
	to   { opacity: 1; transform: translateX(0); }
}


@media (prefers-reduced-motion: reduce) {
	.evd-logo .logo-sun,
	.evd-logo .logo-symbol,
	.evd-logo .logo-arabic,
	.evd-logo .logo-text {
		opacity: 1 !important;
		animation: none !important;
		clip-path: none !important;
		filter: none !important;
		transform: none !important;
	}
}

/* --------------------------------------------------------------------------
   Desktop Nav (left)
   -------------------------------------------------------------------------- */
.lw-nav--desktop {
	grid-area: nav;
	position: static; /* mega menu positioning */
}

.lw-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lw-nav__item {
	position: relative;
}

.lw-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	font-family: var(--lw-font-heading);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--lw-white-80);
	text-decoration: none;
	border-radius: 0;
	transition: color var(--lw-transition);
	white-space: nowrap;
	position: relative;
}

.lw-nav__link::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 50%;
	width: 0;
	height: 1.5px;
	background: var(--lw-gold);
	transition: width var(--lw-transition), left var(--lw-transition);
}

.lw-nav__link:hover,
.lw-nav__item--open > .lw-nav__link {
	color: var(--lw-gold);
	background: transparent;
}

.lw-nav__link:hover::after,
.lw-nav__item--open > .lw-nav__link::after {
	width: 60%;
	left: 20%;
}

.lw-nav__chevron {
	flex-shrink: 0;
	width: 8px;
	height: 5px;
	opacity: 0.5;
	transition: transform var(--lw-transition), opacity var(--lw-transition);
}

.lw-nav__link:hover .lw-nav__chevron {
	opacity: 0.8;
}

.lw-nav__item--current > .lw-nav__link::after {
	width: 60%;
	left: 20%;
}

.lw-nav__item--open > .lw-nav__link .lw-nav__chevron {
	transform: rotate(180deg);
}

/* ── Services item — gold hairline frame ───────────────────────────────── */

.lw-nav__item--services > .lw-nav__link {
	position: relative;
	border: 1px solid var(--lw-gold);
	border-radius: 3px;
	padding-left: 14px;
	padding-right: 14px;
	transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* Soft inner glow at rest — gives the frame a slight shine without animation */
.lw-nav__item--services > .lw-nav__link {
	box-shadow: 0 0 0 0 rgba(185,157,117,0);
}

.lw-nav__item--services > .lw-nav__link:hover,
.lw-nav__item--services.lw-nav__item--open > .lw-nav__link {
	background: rgba(185,157,117,0.10);
	border-color: var(--lw-gold-light);
	box-shadow: 0 0 12px -2px rgba(185,157,117,0.35);
}

/* Light theme — solid header uses gold-dark for contrast on cream bg */
body[data-pp-theme="light"] .lw-header--solid .lw-nav__item--services > .lw-nav__link {
	border-color: var(--lw-gold-dark);
}
body[data-pp-theme="light"] .lw-header--solid .lw-nav__item--services > .lw-nav__link:hover,
body[data-pp-theme="light"] .lw-header--solid .lw-nav__item--services.lw-nav__item--open > .lw-nav__link {
	background: rgba(138,115,72,0.10);
	border-color: var(--lw-gold-dark);
	box-shadow: 0 0 12px -2px rgba(138,115,72,0.30);
}

/* Mobile: keep gold left stripe (frame would compete with the row layout) */
.lw-mobile-nav__item--services > .lw-mobile-nav__toggle,
.lw-mobile-nav__item--services > .lw-mobile-nav__link {
	border-left: 2px solid var(--lw-gold);
	padding-left: 14px;
}

/* Accessibility — no animation here, but honour the directive in case future passes add motion */
@media (prefers-reduced-motion: reduce) {
	.lw-nav__item--services > .lw-nav__link {
		transition: none;
	}
}
/* ── End Services pastille ────────────────────────────────────────────── */

.lw-nav__item--has-mega {
	position: static;
}

/* Simple text dropdown (Séjours / Stays) */
.lw-nav__item--has-dropdown {
	position: relative;
}
.lw-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--lw-navy-dark);
	border: 1px solid var(--lw-white-15);
	border-radius: var(--lw-radius-sm);
	padding: 8px 0;
	min-width: 220px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	z-index: 100;
}
.lw-nav__item--has-dropdown:hover .lw-dropdown,
.lw-nav__item--has-dropdown.lw-nav__item--open .lw-dropdown {
	opacity: 1;
	visibility: visible;
}
.lw-dropdown__link {
	display: block;
	padding: 10px 20px;
	color: var(--lw-white-80);
	text-decoration: none;
	font-family: var(--lw-font-body);
	font-size: 13px;
	letter-spacing: 0.05em;
	transition: color 0.15s, background 0.15s;
}
.lw-dropdown__link:hover {
	color: var(--lw-gold);
	background: var(--lw-white-08);
}

.lw-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--lw-navy-dark);
	border: 1px solid var(--lw-white-15);
	border-radius: var(--lw-radius-md);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	padding: 20px 24px;
	z-index: 10;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s;
}

/* Invisible bridge: extends upward to cover the full gap between
   the nav item and the mega menu (half the header height). */
.lw-mega::before {
	content: "";
	position: absolute;
	top: calc(var(--lw-header-height) * -0.5);
	left: 0;
	right: 0;
	height: calc(var(--lw-header-height) * 0.5);
}

.lw-nav__item--has-mega:hover .lw-mega,
.lw-nav__item--has-mega.lw-nav__item--open .lw-mega {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.lw-mega__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.lw-mega__card {
	display: block;
	text-decoration: none;
	color: var(--lw-white);
	border-radius: var(--lw-radius-sm);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lw-mega__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lw-mega__card-img {
	width: 100%;
	height: 0;
	padding-bottom: 66.67%; /* 3:2 ratio via padding hack (works in hidden containers) */
	overflow: hidden;
	border-radius: var(--lw-radius-sm);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s ease;
}

.lw-mega__card:hover .lw-mega__card-img {
	transform: scale(1.05);
}

.lw-mega__card-body {
	padding: 10px 4px 4px;
	text-align: center;
}

.lw-mega__card-title {
	display: block;
	font-family: var(--lw-font-heading);
	font-size: 15px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lw-white);
	margin-bottom: 4px;
}

.lw-mega__card-specs {
	display: block;
	font-family: var(--lw-font-body);
	font-size: 11px;
	color: var(--lw-white-60);
	letter-spacing: 0.02em;
}

.lw-mega__footer {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 12px 16px;
	border-top: 1px solid var(--lw-white-10);
	margin-top: 4px;
}

.lw-mega__footer-link {
	font-family: var(--lw-font-body);
	font-size: 13px;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: color 0.2s;
}

.lw-mega__footer-link:hover {
	color: var(--lw-gold);
}

.lw-mega__footer-link--primary {
	color: var(--lw-gold);
	font-weight: 600;
}

.lw-mega__footer-link--primary:hover {
	color: var(--lw-white);
}

/* --------------------------------------------------------------------------
   Right side: lang switcher + WhatsApp
   -------------------------------------------------------------------------- */
.lw-header__right {
	grid-area: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

/* Language switcher */
.lw-lang-switcher {
	display: flex;
	align-items: center;
	gap: 4px;
}


/* Dropdown variant — compact button + collapsible menu pour accueillir
   3+ langues sans saturer la barre desktop. Le rendu inline (FR EN
   séparés) restera lisible pour 2 langues mais devient illisible dès 3. */
.lw-lang-switcher--dropdown {
	position: relative;
}

.lw-lang-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--lw-white-60);
	font-family: var(--lw-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	border-radius: var(--lw-radius-sm);
	cursor: pointer;
	transition: color var(--lw-transition), background var(--lw-transition), border-color var(--lw-transition);
}

.lw-lang-switcher__toggle:hover,
.lw-lang-switcher__toggle[aria-expanded="true"] {
	color: var(--lw-white);
	background: var(--lw-white-10);
	border-color: var(--lw-white-15);
}

.lw-lang-switcher__current {
	display: inline-block;
	min-width: 18px;
	text-align: center;
}

.lw-lang-switcher__chevron {
	display: inline-flex;
	align-items: center;
	transition: transform var(--lw-transition);
}

.lw-lang-switcher__toggle[aria-expanded="true"] .lw-lang-switcher__chevron {
	transform: rotate(180deg);
}

.lw-lang-switcher__menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 160px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--lw-navy-dark, #152840);
	border: 1px solid var(--lw-white-15, rgba(255, 255, 255, 0.15));
	border-radius: var(--lw-radius-sm);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	z-index: 80;
}

.lw-lang-switcher__menu[hidden] {
	display: none;
}

.lw-lang-switcher__option {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 4px;
	color: var(--lw-white-85, rgba(255, 255, 255, 0.85));
	text-decoration: none;
	font-family: var(--lw-font-body);
	font-size: 13px;
	transition: background var(--lw-transition), color var(--lw-transition);
}

.lw-lang-switcher__option:hover,
.lw-lang-switcher__option:focus-visible {
	background: var(--lw-white-10);
	color: var(--lw-white);
}

.lw-lang-switcher__option--active {
	color: var(--lw-gold);
}

.lw-lang-switcher__option-code {
	flex: 0 0 24px;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.05em;
}

.lw-lang-switcher__option-name {
	flex: 1;
	white-space: nowrap;
}


/* WhatsApp icon-only button in header */
.lw-header__wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 36px;
	height: 36px;
	color: #25d366;
	text-decoration: none;
	border: none;
	border-radius: 0;
	background: transparent;
	transition: color var(--lw-transition), transform var(--lw-transition);
}

.lw-header__wa-btn:hover {
	color: #1ebe5c;
}

.lw-header__wa-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.lw-header__wa-label {
	display: none;
}

/* Mail icon — matches WA pattern, gold accent */
.lw-header__mail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 36px;
	height: 36px;
	color: var(--lw-gold);
	text-decoration: none;
	border: none;
	background: transparent;
	transition: color var(--lw-transition), transform var(--lw-transition);
}

.lw-header__mail-btn:hover {
	color: var(--lw-gold-light);
}

.lw-header__mail-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

/* Social profile icons (Instagram, Facebook…) — same icon-only treatment, gold accent */
.lw-header__social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 36px;
	height: 36px;
	color: var(--lw-gold);
	text-decoration: none;
	border: none;
	background: transparent;
	transition: color var(--lw-transition), transform var(--lw-transition);
}

.lw-header__social-btn:hover,
.lw-header__social-btn:focus-visible {
	color: var(--lw-gold-light);
}
.lw-header__wa-btn:focus-visible,
.lw-header__mail-btn:focus-visible,
.lw-header__social-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 3px;
}

.lw-header__social-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

/* 992–1139px: the desktop nav and every right-hand control need up to
   1118px (measured, widest language). The social icons step aside there —
   they stay in the footer — instead of pushing the header past the viewport. */
@media (min-width: 992px) and (max-width: 1139px) {
	.lw-header__right .lw-header__social-btn {
		display: none;
	}
}

/* Theme toggle (admin only) */
.lw-theme-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: none;
	cursor: pointer;
	color: var(--lw-gold);
	transition: color var(--lw-transition);
	padding: 0;
}
.lw-theme-toggle:hover,
.lw-theme-toggle:focus-visible {
	color: var(--lw-gold-light);
	outline: none;
}

/* Hamburger (hidden on desktop) */
.lw-hamburger {
	display: none;
}

/* --------------------------------------------------------------------------
   Mobile breakpoint (≤ 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.lw-nav--desktop {
		display: none;
	}

	/* On mobile: hamburger left, logo center, WhatsApp right */
	.lw-header__inner {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "hamburger logo right";
		column-gap: 4px;
		align-items: center;
	}

	.lw-header__logo {
		justify-self: center;
	}

	/* Hide mail / social icons / theme toggle in the header on mobile — they're inside the menu drawer */
	.lw-header__right .lw-header__mail-btn,
	.lw-header__right .lw-header__social-btn,
	.lw-header__right .lw-theme-toggle {
		display: none;
	}

	/* Show right slot on mobile but hide lang switcher */
	.lw-header__right {
		display: flex;
		justify-content: flex-end;
	}

	.lw-lang-switcher {
		display: none;
	}

	/* WA button: icon-only on mobile, no circle border. 44px hit area, 28px visual icon. */
	.lw-header__wa-btn {
		padding: 0;
		width: 44px;
		height: 44px;
		border: none !important;
		border-radius: 0;
		background: none !important;
		color: #25d366 !important;
		justify-content: center;
		gap: 0;
	}

	.lw-header__wa-btn:hover {
		background: none !important;
		box-shadow: none !important;
		transform: none;
		color: #1ebe5c !important;
	}

	.lw-header__wa-icon {
		width: 28px;
		height: 28px;
	}

	/* Mail / social icons / theme-toggle: 44x44 hit area on mobile */
	.lw-header__mail-btn,
	.lw-header__social-btn,
	.lw-theme-toggle {
		width: 44px;
		height: 44px;
	}

	.lw-header__wa-label {
		display: none;
	}

	.lw-hamburger {
		grid-area: hamburger;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 8px;
		background: none;
		border: none;
		cursor: pointer;
		border-radius: var(--lw-radius-sm);
		transition: background var(--lw-transition);
	}

	.lw-hamburger:hover {
		background: var(--lw-white-10);
	}

	.lw-hamburger__bar {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--lw-white);
		border-radius: 2px;
		transition: transform var(--lw-transition), opacity var(--lw-transition);
	}

	.lw-header__logo {
		grid-area: logo;
	}


	/* WhatsApp icon-only on mobile (injected via grid area "wa") */
	/* We reuse the desktop right slot but limit to WA only by hiding lang */
	/* Actually on mobile we show WA in the right area via a separate element */
}


/* ==========================================================================
   MOBILE MENU (fullscreen overlay)
   ========================================================================== */

.lw-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--lw-navy-dark);
	z-index: var(--lw-mobile-menu-z);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	opacity: 0;
	transform: translateX(-100%);
	transition: opacity var(--lw-transition), transform var(--lw-transition);
}

.lw-mobile-menu[hidden] {
	display: none;
}

.lw-mobile-menu--open {
	opacity: 1;
	transform: translateX(0);
}

/* Top bar: logo + close */
.lw-mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--lw-white-15);
	flex-shrink: 0;
}

.lw-mobile-menu__logo-link {
	display: block;
	line-height: 0;
}

.lw-mobile-menu__logo-img {
	width: 140px;
	height: auto;
	display: block;
}

.lw-mobile-menu__close {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--lw-white-10);
	border: none;
	border-radius: 50%;
	font-size: 0;
	padding: 0;
	color: var(--lw-white);
	cursor: pointer;
	transition: background var(--lw-transition);
}
.lw-mobile-menu__close::before,
.lw-mobile-menu__close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}
.lw-mobile-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lw-mobile-menu__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.lw-mobile-menu__close:hover {
	background: var(--lw-white-15);
}

/* Mobile nav list */
.lw-mobile-nav {
	list-style: none;
	margin: 0;
	padding: 16px 0;
	flex: 1;
}

.lw-mobile-nav__item + .lw-mobile-nav__item {
	border-top: 1px solid var(--lw-white-10);
}

.lw-mobile-nav__link,
.lw-mobile-nav__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 24px;
	font-family: var(--lw-font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lw-white-80);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: color var(--lw-transition), background var(--lw-transition);
}

.lw-mobile-nav__link:hover,
.lw-mobile-nav__toggle:hover {
	color: var(--lw-gold);
	background: var(--lw-white-10);
}

.lw-mobile-nav__toggle--open {
	color: var(--lw-gold);
}

/* Active page in mobile menu: gold text, others stay white */
.lw-mobile-nav__item.is-current > .lw-mobile-nav__link,
.lw-mobile-nav__item.is-current > .lw-mobile-nav__toggle,
.lw-mobile-nav__link[aria-current="page"],
.lw-mobile-nav__toggle[aria-current="page"] {
	color: var(--lw-gold);
}

.lw-mobile-nav__chevron {
	flex-shrink: 0;
	transition: transform var(--lw-transition);
}

.lw-mobile-nav__toggle--open .lw-mobile-nav__chevron {
	transform: rotate(180deg);
}

/* Sub-menu */
.lw-mobile-nav__sub {
	list-style: none;
	margin: 0;
	padding: 0 0 8px 0;
	background: var(--lw-navy-deeper);
}

.lw-mobile-nav__sub-link {
	display: block;
	padding: 12px 24px 12px 36px;
	font-family: var(--lw-font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: color var(--lw-transition), background var(--lw-transition);
}

.lw-mobile-nav__sub-link:hover {
	color: var(--lw-gold);
	background: var(--lw-white-10);
}

/* Mobile menu footer */
.lw-mobile-menu__footer {
	padding: 20px 24px;
	border-top: 1px solid var(--lw-white-10);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* Icon row inside menu drawer (mail / social icons / theme toggle) */
.lw-mobile-menu__icons {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
	justify-content: center;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--lw-white-10);
}
.lw-mobile-menu__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--lw-gold);
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: color var(--lw-transition), background var(--lw-transition);
}
.lw-mobile-menu__icon-btn:hover,
.lw-mobile-menu__icon-btn:focus-visible {
	color: var(--lw-gold-light, #d9c19a);
	background: var(--lw-white-10);
	outline: none;
}

.lw-mobile-lang {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lw-mobile-lang__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--lw-font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: color var(--lw-transition);
}

.lw-mobile-lang__link:hover,
.lw-mobile-lang__link--active {
	color: var(--lw-gold);
}


.lw-mobile-lang__sep {
	color: var(--lw-white-15);
	font-size: 12px;
}

/* Selector intentionally compounded to beat `body.lw-page a { color: var(--lw-gold) }`
   from the global anchor style — without that bump the WhatsApp glyph
   inherits gold and is nearly invisible on the green circle. */
.lw-mobile-menu .lw-mobile-menu__wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 50%;
	background: #25d366;
	transition: background var(--lw-transition), transform var(--lw-transition);
}
.lw-mobile-menu .lw-mobile-menu__wa svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}
.lw-mobile-menu .lw-mobile-menu__wa svg path {
	fill: #fff;
}
.lw-mobile-menu__wa-text {
	display: none;
}

.lw-mobile-menu .lw-mobile-menu__wa:hover,
.lw-mobile-menu .lw-mobile-menu__wa:focus-visible {
	background: #1ebe5d;
	color: #fff;
	transform: scale(1.05);
	outline: none;
}

/* Overlay backdrop */
.lw-mobile-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: calc(var(--lw-mobile-menu-z) - 1);
}

.lw-mobile-overlay--visible {
	display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.lw-footer {
	background: var(--lw-navy-dark);
	color: var(--lw-white-80);
	font-family: var(--lw-font-body);
}

.lw-footer__container {
	max-width: var(--lw-container-max);
	margin: 0 auto;
	padding: 0 var(--lw-container-pad);
}

/* --------------------------------------------------------------------------
   Row 1: Newsletter
   -------------------------------------------------------------------------- */
.lw-footer__newsletter {
	background: var(--lw-navy);
	padding: 56px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid var(--lw-white-10);
}

.lw-footer__newsletter-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.lw-footer__newsletter-form {
	justify-self: center;
	align-self: center;
	width: 100%;
	max-width: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.lw-footer__newsletter-title {
	font-family: var(--lw-font-heading);
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 400;
	color: var(--lw-white);
	margin: 0 0 10px;
	line-height: 1.3;
}

.lw-footer__newsletter-subtitle {
	font-size: 14px;
	color: var(--lw-white-60);
	margin: 0;
	line-height: 1.6;
}

/* Reset Email Subscribers plugin wrapper */
.lw-footer__newsletter-form .es_form_wrapper {
	max-width: 100% !important;
}

.lw-footer__newsletter-form .es_subscription_form,
.lw-footer__newsletter-form form {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 auto !important;
	border-radius: 0 !important;
	display: flex !important;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	width: 100%;
}

.lw-footer__newsletter-form .es-field-wrap {
	flex: 1 1 auto;
	min-width: 200px;
}

.lw-footer__newsletter-form .es-field-wrap.es-submit-container {
	flex: 0 0 auto;
	display: flex !important;
}

.lw-footer__newsletter-form .es-field-label {
	color: var(--lw-white-80) !important;
	font-size: 13px;
	font-weight: 500;
	display: block;
	margin-bottom: 6px;
}

/* Email Subscribers injects an extra, unclassed <label> hidden via left:-9999px.
   Harmless in LTR, but in RTL (Arabic) that -9999px offset becomes scrollable
   content and creates ~10000px of horizontal page scroll on mobile. Re-hide it
   with a clip-based sr-only technique (no horizontal offset → RTL-safe). Scoped
   to exclude the visible .es-field-label and the theme's own hidden label. */
.lw-footer__newsletter-form label:not(.es-field-label):not(.evd-newsletter-form__label) {
	position: absolute !important;
	left: auto !important;
	right: auto !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

/* Email input */
.lw-footer__newsletter-form input[type="email"] {
	width: 100% !important;
	height: 48px;
	padding: 10px 16px;
	background: var(--lw-white-08);
	border: 1px solid var(--lw-white-15);
	border-radius: 0;
	color: var(--lw-white);
	font-family: var(--lw-font-body);
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.lw-footer__newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: var(--lw-gold);
}

.lw-footer__newsletter-form input[type="email"]::placeholder {
	color: var(--lw-white-60);
}

/* Subscribe button — override plugin's paper-plane icon style */
.lw-footer__newsletter-form input[type="submit"],
.lw-footer__newsletter-form button[type="submit"],
.lw-footer__newsletter-form .es-subscribe-btn,
.lw-footer__newsletter-form .es-custom-button {
	height: 48px !important;
	width: auto !important;
	padding: 10px 28px !important;
	background: var(--lw-gold) !important;
	background-image: none !important;
	color: var(--lw-btn-on-gold) !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--lw-font-body) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	opacity: 1 !important;
}

.lw-footer__newsletter-form input[type="submit"]:hover,
.lw-footer__newsletter-form button[type="submit"]:hover,
.lw-footer__newsletter-form .es-subscribe-btn:hover,
.lw-footer__newsletter-form input[type="submit"]:focus,
.lw-footer__newsletter-form button[type="submit"]:focus,
.lw-footer__newsletter-form .es-subscribe-btn:focus,
.evd-newsletter-form__btn:hover,
.evd-newsletter-form__btn:focus,
.evd-newsletter-form__btn:active {
	background: var(--lw-gold-light) !important;
	background-color: var(--lw-gold-light) !important;
	color: var(--lw-btn-on-gold) !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Light mode only: newsletter button — gold tint default + hover, white text.
 * Default bg #6b5a42 (dark brown gold), hover #836f53 (slight lift).
 * Hardcoded because --lw-gold-light is globally remapped to navy in light mode. */
body[data-pp-theme="light"] .lw-footer__newsletter-form input[type="submit"],
body[data-pp-theme="light"] .lw-footer__newsletter-form button[type="submit"],
body[data-pp-theme="light"] .lw-footer__newsletter-form .es-subscribe-btn,
body[data-pp-theme="light"] .lw-footer__newsletter-form .es-custom-button,
body[data-pp-theme="light"] .evd-newsletter-form__btn {
	background: #6b5a42 !important;
	color: #fff !important;
}
body[data-pp-theme="light"] .lw-footer__newsletter-form input[type="submit"]:hover,
body[data-pp-theme="light"] .lw-footer__newsletter-form button[type="submit"]:hover,
body[data-pp-theme="light"] .lw-footer__newsletter-form .es-subscribe-btn:hover,
body[data-pp-theme="light"] .lw-footer__newsletter-form input[type="submit"]:focus,
body[data-pp-theme="light"] .lw-footer__newsletter-form button[type="submit"]:focus,
body[data-pp-theme="light"] .lw-footer__newsletter-form .es-subscribe-btn:focus,
body[data-pp-theme="light"] .evd-newsletter-form__btn:hover,
body[data-pp-theme="light"] .evd-newsletter-form__btn:focus,
body[data-pp-theme="light"] .evd-newsletter-form__btn:active {
	background: #836f53 !important;
	color: #fff !important;
}

/* --------------------------------------------------------------------------
   Row 2: Contact columns
   -------------------------------------------------------------------------- */
.lw-footer__info {
	padding: 56px 0;
	border-bottom: 1px solid var(--lw-white-10);
}

.lw-footer__cols {
	display: grid;
	grid-template-columns: auto 1fr 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.lw-footer__logo {
	display: block;
	width: 160px;
	height: auto;
	opacity: 0.9;
	transition: opacity var(--lw-transition);
}

.lw-footer__logo:hover {
	opacity: 1;
}

.lw-footer__col-title {
	font-family: var(--lw-font-heading);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lw-gold);
	margin: 0 0 14px;
}

/* Footer tagline + Google rating */
.lw-footer__tagline {
	font-size: 13px;
	color: var(--lw-white-60);
	line-height: 1.5;
	margin: 12px 0 8px;
}
.lw-footer__ratings {
	margin-top: 12px;
}
.lw-footer__rating-line {
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	line-height: 1.8;
}
.lw-footer__rating-line svg {
	flex-shrink: 0;
}
/* Keep "— 47 guest reviews" / "— 54 reviews" on one piece so it doesn't break between number and "reviews". */
.lw-footer__rating-line a > span {
	white-space: nowrap;
}
.lw-footer__rating-line a {
	flex-wrap: wrap;
	row-gap: 2px;
}

/* Footer nav lists (villas + informations) */
.lw-footer__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.lw-footer__nav-list li {
	margin-bottom: 8px;
}
.lw-footer__nav-list a {
	font-size: 13px;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: color var(--lw-transition);
}
.lw-footer__nav-list a:hover {
	color: var(--lw-gold);
}

.lw-footer__contact-link {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--lw-white-60);
	text-decoration: none;
	line-height: 1.5;
	margin-bottom: 10px;
	transition: color var(--lw-transition);
	/* Without min-width:0, the flex item's min-content is its longest unbreakable
	   token (e.g. "hello@ethicvillagedjerba.com") and pushes the column past its
	   grid track on narrow viewports — causing a page-wide horizontal scrollbar. */
	min-width: 0;
	overflow-wrap: anywhere;
}

.lw-footer__contact-link:hover {
	color: var(--lw-gold);
}

.lw-footer__contact-link:last-child {
	margin-bottom: 0;
}

.lw-footer__contact-icon {
	flex-shrink: 0;
	margin-top: 2px;
}

/* Social icons */
.lw-footer__socials {
	display: flex;
	gap: 12px;
	align-items: center;
}

.lw-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--lw-white-10);
	border-radius: 50%;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: background var(--lw-transition), color var(--lw-transition);
}

.lw-footer__social-link:hover {
	background: var(--lw-gold-wcag);
	color: #ffffff;
}

/* --------------------------------------------------------------------------
   Row 3: Copyright + legal
   -------------------------------------------------------------------------- */
.lw-footer__bottom {
	padding: 20px 0;
}

.lw-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.lw-footer__copyright {
	font-size: 13px;
	color: var(--lw-white-60);
	margin: 0;
}

.lw-footer__legal-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.lw-footer__legal-link {
	font-size: 12px;
	color: var(--lw-white-60);
	text-decoration: none;
	transition: color var(--lw-transition);
	padding: 8px 4px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.lw-footer__legal-link:hover {
	color: var(--lw-gold);
}

.lw-footer__legal-sep {
	color: var(--lw-white-15);
	font-size: 12px;
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.lw-footer__cols {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.lw-footer__col--brand {
		grid-column: 1 / -1;
	}

	.lw-footer__newsletter-content {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}

	.lw-footer__newsletter-form {
		max-width: 400px;
		margin: 0 auto;
	}
}

/* ==========================================================================
   RESPONSIVE — Mobile (≤ 767px)
   ========================================================================== */
@media (max-width: 767px) {
	:root {
		--lw-header-height: 64px;
		--lw-header-height-sticky: 54px;
	}


	.lw-footer__newsletter {
		padding: 40px 0;
	}

	.lw-footer__newsletter-form {
		justify-self: center;
		max-width: 320px;
		width: 100%;
		margin: 0 auto;
	}
	.lw-footer__newsletter-form .es_subscription_form,
	.lw-footer__newsletter-form .evd-newsletter-form,
	.lw-footer__newsletter-form form {
		align-items: center;
		justify-content: center;
		margin: 0 auto;
	}
	.lw-footer__newsletter-form input[type="email"],
	.lw-footer__newsletter-form .es-field-wrap,
	.lw-footer__newsletter-form input[type="submit"],
	.lw-footer__newsletter-form button[type="submit"] {
		width: 100%;
	}

	.lw-footer__info {
		padding: 40px 0;
	}

	.lw-footer__cols {
		display: grid;
		/* minmax(0, 1fr) prevents the column from growing past 1fr when an
		   unbreakable nav item ("Restauration à domicile") forces min-content
		   wider than the track — which used to push the body past the viewport
		   and create a horizontal scrollbar on mobile. */
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"brand social"
			"address contact";
		gap: 20px;
		align-items: start;
	}
	.lw-footer__col--brand { grid-area: brand; }
	.lw-footer__col:nth-child(2) { grid-area: address; }
	.lw-footer__col:nth-child(3) { grid-area: contact; }
	.lw-footer__col:nth-child(4) { grid-area: social; text-align: center; }
	.lw-footer__col:nth-child(4) .lw-footer__socials { justify-content: center; }

	.lw-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.lw-footer__legal-nav {
		gap: 4px;
	}
}

/* ==========================================================================
   WP Emoji fix — WP converts emoji to <img class="emoji"> which collapses
   to 0x0 in flex containers. Restore natural inline size for flag emoji.
   ========================================================================== */


/* ==========================================================================
   UTILITY: Page body offset for fixed header
   ========================================================================== */

/* Pages using this header need top padding so content isn't hidden under it.
   Add class .lw-page-has-header to <body> or the content wrapper. */


/* Admin bar adjustments */


/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */

.lw-main {
	padding-top: calc(var(--lw-header-height) + 32px);
	min-height: 60vh;
}

/* Solid header is position:relative — already in flow, so less padding needed */
.lw-header--solid ~ .lw-main {
	padding-top: 24px;
}

.lw-main--has-hero {
	padding-top: 0 !important;
}

.admin-bar .lw-main {
	padding-top: calc(var(--lw-header-height) + 32px + 32px);
}

.admin-bar .lw-header--solid ~ .lw-main {
	padding-top: 56px;
}

.admin-bar .lw-main--has-hero {
	padding-top: 0 !important;
}

.lw-container,
.container {
	max-width: var(--lw-container-max);
	margin: 0 auto;
	padding: 0 var(--lw-container-pad);
	box-sizing: border-box;
}

/* Default page hero — dark band matching Contact/Blog heroes */
.lw-default-hero {
	background: var(--lw-navy-dark);
	padding: 24px 0 16px;
	text-align: center;
}

.admin-bar .lw-default-hero {
	padding-top: 56px;
}

.lw-default-hero__subtitle {
	font-family: var(--lw-font-body);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--lw-gold);
	margin: 0 0 12px;
}

.lw-default-hero__title {
	font-family: var(--lw-font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 400;
	color: var(--lw-white);
	margin: 0 auto 16px;
	max-width: 800px;
}

.lw-default-hero__desc {
	font-size: 16px;
	color: var(--lw-white-60);
	margin: 0 auto;
	max-width: 800px;
}


.lw-article {
	max-width: 800px;
	margin: 0 auto;
}

/* Checkout has its own max-width (1100px) — don't constrain it */
.lw-article:has(.cs-checkout-redesign) {
	max-width: none;
}

.lw-article .entry-content {
	font-family: var(--lw-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--lw-section-text);
}

.lw-article .entry-content a {
	color: var(--lw-gold-muted);
	text-decoration: underline;
	text-decoration-color: var(--lw-gold-light);
	text-underline-offset: 2px;
}

/* Gutenberg button block (`[[button]]`) — mid-article CTA card.
 * Theme's own gold link styling (above) would otherwise flatten these to
 * underlined text. Force a real button visual, using our gold + navy pair. */
.lw-article .entry-content .wp-block-buttons {
	margin: 32px 0;
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}
.lw-article .entry-content .wp-block-button__link,
.lw-article .entry-content a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px 12px; /* Josefin optical recentre */
	background: var(--lw-gold);
	color: #14202e; /* literal — --lw-* remap trap */
	border: 0;
	border-radius: 999px;
	font-family: var(--lw-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(185, 157, 117, 0.28);
	transition: background-color .2s, transform .2s, box-shadow .2s;
}
body[data-pp-theme="light"] .lw-article .entry-content .wp-block-button__link,
body[data-pp-theme="light"] .lw-article .entry-content a.wp-block-button__link {
	color: #fff;}
body[data-pp-theme="light"] .lw-article .entry-content .wp-block-button__link:hover,
body[data-pp-theme="light"] .lw-article .entry-content a.wp-block-button__link:hover {
	color: #fff;
}
.lw-article .entry-content .wp-block-button__link:hover,
.lw-article .entry-content .wp-block-button__link:focus-visible,
.lw-article .entry-content a.wp-block-button__link:hover,
.lw-article .entry-content a.wp-block-button__link:focus-visible {
	background: var(--lw-gold-hover);
	color: #14202e;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(185, 157, 117, 0.35);
	text-decoration: none;
	outline: none;
}
.lw-article .entry-content .wp-block-button__link::after {
	content: " →";
	letter-spacing: 0;
}
.lw-article .entry-content .wp-block-button__link:hover::after {
	transform: translateX(2px);
}

.lw-article .entry-content a:hover {
	color: var(--lw-white);
}

/* Native contact form (replaces CF7) */
.evd-contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}


/* Pagination */
/* Accessibility helper — hide screen-reader-only headings (the WP
   `the_posts_pagination()` h2 was rendering as a visible "Posts pagination"
   block because no `.screen-reader-text` rule existed on the theme). */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	border: 0;
	white-space: nowrap;
}

/* Numbered, centered pagination for default WP archives (blog, category,
   author, etc.). Mirrors the layout of `.lw-blog-pagination` so the legacy
   blog template and the default index template look identical. */
.evd-pagination {
	display: flex;
	justify-content: center;
	margin-top: 48px;
	margin-bottom: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--lw-white-15);
}

.evd-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.evd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--lw-radius-sm);
	font-size: 14px;
	color: var(--lw-white-70);
	text-decoration: none;
	transition: all 0.2s;
	border: 1px solid transparent;
}

.evd-pagination .page-numbers:hover {
	border-color: var(--lw-white-15);
	color: var(--lw-white);
}

.evd-pagination .page-numbers.current {
	background: var(--lw-gold);
	color: var(--lw-navy);
	font-weight: 600;
	border-color: var(--lw-gold);
}


/* Mobile — stack everything, respect vertical spacing */


.lw-post-article .entry-content a {
	color: var(--lw-gold-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}.lw-article .entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--lw-radius-md);
	overflow: hidden;
	border: 1px solid var(--lw-white-15);
	margin: 1.5em 0;
	font-size: 0.92rem;
}.lw-article .entry-content thead {
	background: var(--lw-white-10);
}.lw-article .entry-content th {
	padding: 12px 16px;
	font-weight: 600;
	color: var(--lw-white);
	text-align: left;
	border-bottom: 2px solid var(--lw-white-15);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.lw-post-article .entry-content td,
.lw-article .entry-content td {
	padding: 10px 16px;
	color: var(--lw-white-80);
	border-bottom: 1px solid var(--lw-white-08);
}.lw-article .entry-content tbody tr:last-child td {
	border-bottom: none;
}.lw-article .entry-content tbody tr:hover {
	background: var(--lw-white-08);
}.lw-article .entry-content tfoot td {
	font-weight: 700;
	color: var(--lw-white);
}

/* Responsive table wrapper */
@media (max-width: 600px) {.lw-article .entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		font-size: 0.82rem;
	}.lw-article .entry-content th,
.lw-article .entry-content td {
		padding: 8px 10px;
		white-space: nowrap;
	}
}.lw-article .entry-content blockquote {
	margin: 1.5em 0;
	padding: 20px 24px;
	background: var(--lw-white-08);
	border-left: 4px solid var(--lw-gold);
	border-radius: 0 var(--lw-radius-sm) var(--lw-radius-sm) 0;
	font-style: italic;
	color: var(--lw-white-80);
}.lw-article .entry-content blockquote p:last-child {
	margin-bottom: 0;
}.lw-article .entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	font-size: 0.85rem;
	font-style: normal;
	font-weight: 600;
	color: var(--lw-gold-muted);
}.lw-article .entry-content .wp-block-quote {
	margin: 1.5em 0;
	padding: 20px 24px;
	background: var(--lw-white-08);
	border-left: 4px solid var(--lw-gold);
	border-radius: 0 var(--lw-radius-sm) var(--lw-radius-sm) 0;
}.lw-article .entry-content .wp-block-quote p {
	font-style: italic;
	color: var(--lw-white-80);
}.lw-article .entry-content figure {
	margin: 1.5em 0;
}.lw-article .entry-content figcaption {
	font-size: 0.82rem;
	color: var(--lw-white-60);
	text-align: center;
	margin-top: 8px;
	font-style: italic;
}.lw-article .entry-content hr {
	border: none;
	border-top: 1px solid var(--lw-white-15);
	margin: 2em 0;
}.lw-article .entry-content ul,
.lw-article .entry-content ol {
	margin: 1em 0;
	padding-left: 1.5em;
	color: var(--lw-white-80);
}.lw-article .entry-content li {
	margin-bottom: 0.4em;
	line-height: 1.6;
}

.lw-post-article .entry-content li::marker,
.lw-article .entry-content li::marker {
	color: var(--lw-gold-muted);
}.lw-article .entry-content code {
	background: var(--lw-white-10);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.88em;
	color: var(--lw-gold-light);
}.lw-article .entry-content pre {
	background: var(--lw-white-08);
	border: 1px solid var(--lw-white-15);
	border-radius: var(--lw-radius-sm);
	padding: 16px;
	overflow-x: auto;
	margin: 1.5em 0;
}.lw-article .entry-content pre code {
	background: none;
	padding: 0;
}.lw-article .entry-content strong {
	color: var(--lw-white);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.lw-breadcrumbs {
	padding: 12px 0;
	font-size: 0.82rem;
	max-width: 800px;
	margin: 0 auto;
}

.lw-breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.lw-breadcrumbs__list li {
	color: var(--lw-white-60);
}

.lw-breadcrumbs__list li::after {
	content: "›";
	margin: 0 8px;
	color: var(--lw-white-30);
}

.lw-breadcrumbs__list li:last-child::after {
	display: none;
}

.lw-breadcrumbs__list li:last-child {
	color: var(--lw-white-80);
}

.lw-breadcrumbs__list a {
	color: var(--lw-white-60);
	text-decoration: none;
}

.lw-breadcrumbs__list a:hover {
	color: var(--lw-gold);
}

.lw-post-toc__list a {
	color: var(--lw-white-70);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.15s;
}

.lw-post-toc__list a:hover {
	color: var(--lw-gold);
}


/* ---- Light theme: calendar ---- */
body[data-pp-theme="light"] .datepick,
body[data-pp-theme="light"] .mphb-datepick { background: #fff !important; color: #333 !important; border-color: #c9c3b8 !important; border-radius: 10px; }
body[data-pp-theme="light"] .datepick-nav { background: #f0ede8 !important; color: #1e3750 !important; border-color: #ddd8d0 !important; }
body[data-pp-theme="light"] .datepick-month-header { color: #1e3750 !important; background: #f0ede8 !important; }
body[data-pp-theme="light"] .datepick-month-year { color: #1e3750 !important; background: #fff !important; border-color: #c9c3b8 !important; }
body[data-pp-theme="light"] .datepick-cmd { color: #1e3750 !important; }
body[data-pp-theme="light"] .datepick th { color: #555 !important; }
body[data-pp-theme="light"] .datepick td,
body[data-pp-theme="light"] .datepick td a,
body[data-pp-theme="light"] .datepick td span { color: #333 !important; }
body[data-pp-theme="light"] .datepick-month { border-color: #ddd8d0 !important; }


body[data-pp-theme="light"] .mphb-available-date:not(.mphb-booked-date):not(.mphb-past-date) { background: rgba(76,175,80,0.15) !important; color: #2e7d32 !important; }
body[data-pp-theme="light"] .mphb-booked-date:not(.mphb-available-date) { background: rgba(239,83,80,0.15) !important; color: #c62828 !important; }
body[data-pp-theme="light"] .mphb-past-date { color: #aaa !important; }
body[data-pp-theme="light"] .datepick select { background: #fff !important; color: #1e3750 !important; border: 1px solid #c9c3b8 !important; }
body[data-pp-theme="light"] .datepick select option { background: #fff !important; color: #1e3750 !important; }
body[data-pp-theme="light"] .datepick select option:checked { background: #f0ede8 !important; }
body[data-pp-theme="light"] .datepick-cmd:hover { background: #f0ede8 !important; color: #1e3750 !important; }
body[data-pp-theme="light"] .datepick td a:hover,
body[data-pp-theme="light"] .datepick td span:hover { background: #f0ede8 !important; }
body[data-pp-theme="light"] .datepick-cmd[title] { color: #1e3750 !important; }
body[data-pp-theme="light"] [class*="datepick"] [title] { color: #1e3750 !important; background: #f0ede8 !important; }
body[data-pp-theme="light"] .datepick .datepick-month-row { background: #fff !important; }
body[data-pp-theme="light"] .datepick .datepick-today { background: #e8e4dd !important; }body[data-pp-theme="light"] .lw-default-hero { background: #f0ede8 !important; }body[data-pp-theme="light"] .lw-default-hero__title { color: #1e3750 !important; }body[data-pp-theme="light"] .lw-default-hero__subtitle { color: #6b5a42 !important; }body[data-pp-theme="light"] .lw-default-hero__desc { color: #555 !important; }
/* Old oblique bg container (cs_villas_hero_inject — not used by lightweight template) */
body[data-pp-theme="light"] .cs-villas-hero-bg { display: none !important; }

/* Nav links: bolder + darker in light mode (solid header only) */
body[data-pp-theme="light"] .lw-header--solid .lw-nav__link { color: #1e3750 !important; font-weight: 600 !important; }
body[data-pp-theme="light"] .lw-header--solid .lw-nav__link:hover { color: #6b5a42 !important; }
body[data-pp-theme="light"] .lw-header--solid .lw-nav__chevron { color: #1e3750 !important; }
/* Transparent header over hero: keep white nav in light mode */
body[data-pp-theme="light"] .lw-header:not(.lw-header--solid) .lw-nav__link { color: #fff !important; }
body[data-pp-theme="light"] .lw-header:not(.lw-header--solid) .lw-nav__link:hover { color: #c4a680 !important; }
body[data-pp-theme="light"] .lw-header:not(.lw-header--solid) .lw-nav__chevron { color: rgba(255,255,255,0.7) !important; }
/* Dropdown links */
body[data-pp-theme="light"] .lw-dropdown__link { color: #333 !important; font-weight: 500 !important; }
body[data-pp-theme="light"] .lw-dropdown__link:hover { color: #1e3750 !important; background: #f0ede8 !important; }

/* Fix accessibility: past dates contrast (WCAG AA 4.5:1) */


/* Fix accessibility: datepick nav links contrast + touch target */


/* Datepicker nav/select dark styling */


/* CTA section */


/* All homepage sections are now dark — headings white */
body.lw-page .lw-home-section-heading {
	color: var(--lw-section-heading);
}


/* Light mode: keep hover on gold tint (not navy). The early light-mode JS
 * remaps --lw-gold-light to navy globally for "switch to navy bg" effects,
 * which is wrong for THIS button — we want a slight gold variation. */


body.lw-page .evd-gr-readmore {
	color: var(--lw-section-muted);
}
body.lw-page .evd-gr-readmore:hover {
	color: var(--lw-section-heading);
}

/* CozyStay layout classes — needed for search results + MPHB pages */
.lw-page .container,
.lw-page .search-rooms-wrapper {
	max-width: var(--lw-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--lw-container-pad);
	padding-right: var(--lw-container-pad);
}

.lw-page .main {
	min-height: 50vh;
}

.lw-page--manager .container {
	max-width: 1200px;
	padding-left: 0;
	padding-right: 0;
}

.lw-page--manager .content-area {
	float: none;
	width: 100%;
}

/* Search header text */


.lw-page .cs-split-stay,
.lw-page .cs-multi-villa {
	max-width: var(--lw-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--lw-container-pad);
	padding-right: var(--lw-container-pad);
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared section header
   -------------------------------------------------------------------------- */
.lw-home-section-header {
	text-align: center;
	margin-bottom: 48px;
}

/* Generic slider arrow button — used across reviews, gallery, pillars, inspirations, blog */
.lw-slider-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--lw-white-30);
	background: transparent;
	color: var(--lw-white);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
	flex-shrink: 0;
}
.lw-slider-arrow:hover,
.lw-slider-arrow:focus-visible {
	background: var(--lw-white-10);
	border-color: var(--lw-white);
	color: var(--lw-gold);
	outline: none;
}
.lw-slider-arrow:active {
	transform: scale(0.95);
}
/* Light-bg sections (e.g. blog): darker outline + nav color.
 * Pillars + inspirations sit on --lw-section-bg (always navy-dark) — keep
 * the default white-outlined style there, regardless of body theme. */
body[data-pp-theme="light"] .lw-slider-arrow {
	border-color: rgba(30, 55, 80, 0.2);
	/* --lw-navy is remapped to a light surface in this theme; the heading
	   token is the one that stays navy on beige. */
	color: var(--lw-section-heading, #1e3750);
}
body[data-pp-theme="light"] .lw-slider-arrow:hover {
	background: rgba(30, 55, 80, 0.06);
	border-color: rgba(30, 55, 80, 0.5);
	color: #836f53;
}
body[data-pp-theme="light"] .lw-pillars-section .lw-slider-arrow,
body[data-pp-theme="light"] .lw-inspirations .lw-slider-arrow {
	border-color: var(--lw-white-30);
	color: var(--lw-white);
}
body[data-pp-theme="light"] .lw-pillars-section .lw-slider-arrow:hover {
	background: var(--lw-white-10);
	border-color: var(--lw-white);
	color: var(--lw-gold);
}

.lw-home-section-eyebrow {
	font-family: var(--lw-font-body);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--lw-gold-a11y-dark);
	margin: 0 0 10px;
}

.lw-home-section-heading {
	font-family: var(--lw-font-heading);
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	font-weight: 400;
	color: var(--lw-navy);
	margin: 0 0 12px;
}


/* Shared CTA buttons */


/* --------------------------------------------------------------------------
   Section 1: Hero
   -------------------------------------------------------------------------- */

/* Keyframes — 4 slides, each visible 25% of a 20s cycle */
@keyframes lw-slide-1 {
	0%       { opacity: 1; }
	20%      { opacity: 1; }
	25%      { opacity: 0; }
	95%      { opacity: 0; }
	100%     { opacity: 1; }
}
@keyframes lw-slide-2 {
	0%       { opacity: 0; }
	20%      { opacity: 0; }
	25%      { opacity: 1; }
	45%      { opacity: 1; }
	50%      { opacity: 0; }
	100%     { opacity: 0; }
}
@keyframes lw-slide-3 {
	0%       { opacity: 0; }
	45%      { opacity: 0; }
	50%      { opacity: 1; }
	70%      { opacity: 1; }
	75%      { opacity: 0; }
	100%     { opacity: 0; }
}
@keyframes lw-slide-4 {
	0%       { opacity: 0; }
	70%      { opacity: 0; }
	75%      { opacity: 1; }
	95%      { opacity: 1; }
	100%     { opacity: 0; }
}.mphb-confirm-reservation,
.mphb-reserve-btn {
	display: inline-block !important;
	padding: 14px 40px !important;
	background: var(--lw-gold) !important;
	color: var(--lw-navy) !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: var(--lw-font-body) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}.mphb-reserve-btn:hover {
	background: var(--lw-gold-hover) !important;
	transform: translateY(-1px);
}

/* Hide stray parent theme slider arrows — but NOT Google Reviews carousel */
.lw-page .flex-direction-nav {
	display: none !important;
}

.lw-home-hero {
	position: relative;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 32px;
	overflow: hidden;
	color: var(--lw-white);
}

/* Admin bar offset */
.admin-bar .lw-home-hero {
	min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
	.admin-bar .lw-home-hero {
		min-height: calc(100vh - 46px);
	}
}

/* Smooth in-page scrolling for the hero copy → #pillars jump. Scoped via
   :has() to the home hero so other pages keep instant anchor jumps, and
   disabled for users who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	html:has(.lw-home-hero) {
		scroll-behavior: smooth;
	}
}

/* Hero CTA — Tier 1 Primary on photo bg (extra box-shadow for legibility).
   Inherit .lw-btn .lw-btn--primary visuals via class composition where
   the markup carries those classes; this rule keeps the photo-bg shadow. */


/* Datepicker themed via evd/assets/css/datepick-themes/mphb-datepicker-evd.css (loaded after MPHB base) */
.datepick-popup {
	z-index: 9999 !important;
}


/* Stats box */


/* --------------------------------------------------------------------------
   Section 3: Villa cards
   -------------------------------------------------------------------------- */


/* Tablet: 2 cards visible */

/* Mobile (≤640px): horizontal scroll-snap slider — preserves vertical space */


/* --------------------------------------------------------------------------
   Mobile (≤768px): stack the search-form fields vertically so the
   travelers + submit don't overflow / get clipped by overflow:hidden.
   Applies to BOTH variants: in-hero (.lw-home-hero__search) and
   standalone section (.lw-home-search-section__form).
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Section 4: Services
   -------------------------------------------------------------------------- */


/* Service blocks — 3 category groups */


/* --------------------------------------------------------------------------
   Section 6: Google Reviews
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Admin bar adjustments for hero padding
   -------------------------------------------------------------------------- */
/* Admin bar no longer offsets hero since header is not fixed */

/* --------------------------------------------------------------------------
   Responsive: tablet (≤ 1024px)
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Responsive: mobile (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	/* Anchor hero content just below the header instead of centering it in 100vh — kills the big empty gap users see between the header and the eyebrow. */
	.lw-home-hero {
		justify-content: flex-start;
		gap: 16px;
	}

	

	

	

	

	
	.evd-google-reviews {
		flex-direction: column;
		align-items: center;
	}
	.evd-gr-summary {
		flex: none;
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Responsive: small mobile (≤ 480px)
   -------------------------------------------------------------------------- */

@keyframes lw-spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================================
   GOOGLE REVIEWS WIDGET (ported from legacy style.css)
   ========================================================================== */

/* Google Reviews: 3-column layout (summary | review | review) */
.evd-google-reviews {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.evd-gr-summary {
	flex: 0 0 220px;
	text-align: center;
	padding-top: 12px;
}

.evd-gr-label {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 6px;
	color: var(--lw-text-heading);
}

.evd-gr-stars-large {
	font-size: 28px;
	color: var(--lw-gr-star);
	letter-spacing: 2px;
	margin-bottom: 8px;
}

.evd-gr-count {
	font-size: 14px;
	color: var(--lw-gr-count);
	margin-bottom: 14px;
}

.evd-gr-google-logo {
	display: flex;
	justify-content: center;
}

.evd-gr-google-logo svg {
	width: 120px;
	height: auto;
}

.evd-gr-carousel-wrap {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	position: relative;
	padding-top: 48px;
}

/* CSS scroll-snap carousel (no jQuery/slick) */
.evd-gr-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 4px 0;
}
.evd-gr-carousel::-webkit-scrollbar {
	display: none;
}

.evd-gr-card {
	background: var(--lw-card-bg);
	border: 1px solid var(--lw-card-border);
	border-radius: 12px;
	padding: 16px 20px;
	flex: 0 0 calc(50% - 8px);
	max-width: calc(50% - 8px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
}

/* Vanilla JS arrows */
/* Arrows positioned top-right above the carousel cards */
.evd-gr-arrow {
	position: absolute;
	top: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: transparent;
	border: 1.5px solid var(--lw-white-30);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	color: var(--lw-white-80);
	transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.evd-gr-arrow:hover {
	border-color: var(--lw-white);
	color: var(--lw-white);
}
.evd-gr-arrow--prev { right: 56px; }
.evd-gr-arrow--next { right: 0; }

.evd-gr-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2px;
	min-height: 36px;
}

.evd-gr-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lw-white);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	object-fit: cover;
}

img.evd-gr-avatar {
	display: block;
}

.evd-gr-meta {
	flex: 1;
	min-width: 0;
}

.evd-gr-name {
	font-weight: 600;
	font-size: 14px;
	color: var(--lw-text-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.evd-gr-date {
	font-size: 12px;
	color: var(--lw-section-muted);
}

.evd-gr-google-g {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.evd-gr-stars {
	display: flex;
	align-items: center;
	gap: 1px;
	margin-bottom: 4px;
}

.evd-gr-star {
	font-size: 16px;
	color: var(--lw-gr-star-empty);
}

.evd-gr-star.filled {
	color: var(--lw-gr-star);
}

.evd-gr-verified {
	margin-left: 4px;
	flex-shrink: 0;
}

.evd-gr-text {
	font-size: 13px;
	line-height: 1.55;
	color: var(--lw-gr-text);
	display: -webkit-box !important;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.evd-gr-text.evd-gr-expanded {
	display: block !important;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.evd-gr-readmore {
	font-size: 13px;
	color: var(--lw-section-muted);
	text-decoration: none;
	margin-top: 6px;
	cursor: pointer;
	display: inline-block;
}

.evd-gr-readmore:hover {
	color: var(--lw-section-heading);
	text-decoration: underline;
}

/* Responsive: stack on mobile, single card scroll */
@media (max-width: 768px) {
	.evd-google-reviews {
		flex-direction: column;
		gap: 16px;
	}
	.evd-gr-summary {
		flex: none;
		padding-top: 0;
	}
	.evd-gr-carousel-wrap {
		padding-top: 0;
		width: 100%;
	}
	.evd-gr-card {
		flex: 0 0 80vw;
		max-width: 80vw;
	}
	.evd-gr-arrow {
		display: none;
	}
}

/* ==========================================================================
   Custom newsletter form (evd-newsletter-form)
   ========================================================================== */

.evd-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative; /* anchor for the absolute msg slot */
}

/* Hide label visually — placeholder + heading provide context */
.evd-newsletter-form__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Input + button inline row */
.evd-newsletter-form__row {
	display: flex;
	border-radius: var(--lw-radius-sm);
	overflow: hidden;
	border: 1px solid var(--lw-white-15);
	transition: border-color 0.2s;
}

.evd-newsletter-form__row:focus-within {
	border-color: var(--lw-gold);
}

.evd-newsletter-form__input {
	flex: 1;
	height: 48px;
	padding: 10px 16px;
	background: var(--lw-white-08);
	border: none;
	color: var(--lw-white);
	font-family: var(--lw-font-body);
	font-size: 15px;
	outline: none;
	min-width: 0;
}

.evd-newsletter-form__input::placeholder {
	color: var(--lw-white-60);
}

.evd-newsletter-form__btn {
	flex-shrink: 0;
	height: 48px;
	padding: 10px 28px;
	background: var(--lw-gold);
	color: var(--lw-btn-on-gold);
	border: none;
	font-family: var(--lw-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}

.evd-newsletter-form__btn:hover {
	background: var(--lw-gold-light);
}

/* Status message — positioned absolutely so it never shifts the
   form's vertical position within its section. */
.evd-newsletter-form__msg {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}
.evd-newsletter-form__msg:empty {
	display: none;
}

@media (max-width: 600px) {
	.evd-newsletter-form__row {
		flex-direction: column;
		border-radius: var(--lw-radius-sm);
	}
	.evd-newsletter-form__input {
		border-radius: var(--lw-radius-sm) var(--lw-radius-sm) 0 0;
	}
	.evd-newsletter-form__btn {
		border-radius: 0 0 var(--lw-radius-sm) var(--lw-radius-sm);
	}
}

/* ==========================================================================
   NEWSLETTER FORM (Email Subscribers plugin overrides)
   ========================================================================== */

body form.es_subscription_form.es_subscription_form[data-form-id].wysiwyg-form {
	background: transparent !important;
	padding: 0 !important;
	max-width: 420px;
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-end !important;
	gap: 0 !important;
}

body form.es_subscription_form.es_subscription_form[data-form-id] .es-field-label font {
	display: none;
}

/* Email field takes remaining space */
body form.es_subscription_form.es_subscription_form[data-form-id] .es-field-wrap.ig-es-form-field {
	flex: 1 1 0% !important;
	min-width: 0 !important;
}

/* Subscribe button flush right, same height as input */
body form.es_subscription_form.es_subscription_form[data-form-id] .es-submit-container {
	margin: 0 !important;
	position: static !important;
	flex: 0 0 auto !important;
	width: auto !important;
	height: auto !important;
}

/* Input: remove right border-radius so it connects with button */
body form.es_subscription_form.es_subscription_form[data-form-id] input[type="email"] {
	border-radius: 8px 0 0 8px !important;
}

/* Button matches input height and connects visually */
body form.es_subscription_form.es_subscription_form[data-form-id] .es-subscribe-btn {
	width: auto;
	height: 48px !important;
	padding: 10px 28px !important;
	background: var(--btn-bg) !important;
	background-image: none !important;
	border: none !important;
	border-radius: 0 8px 8px 0 !important;
	color: var(--lw-navy) !important;
	font-family: var(--lw-font-body);
	font-size: 14px !important;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: none;
	margin: 0 !important;
	opacity: 1;
	cursor: pointer;
	transition: background .2s;
}

body form.es_subscription_form.es_subscription_form[data-form-id] .es-subscribe-btn:hover {
	opacity: 1;
	background: var(--lw-gold-light) !important;
}

a.cs-room-rating:hover {
    text-decoration: underline;
}


/* Search results: full width on mobile */


/* Villa badge sticker — shared across search results + villa detail */
.cs-villa-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--lw-gold);
    color: var(--lw-badge-text);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cs-villa-badge::before {
    content: "\2726";
}

body.lw-page .cs-villa-badge {
    color: var(--lw-gold-a11y-dark);
    background: none;
    border: none;
    padding: 0;
}


/* ==========================================================================
   Direct-booking guarantee badge — shared component.
   "Meilleur prix garanti — réservation directe, sans commission" and its
   compact variant, reused on the villa page, search-result cards and the
   home hero. Reuses the already theme-audited --lw-avail-gold token (same
   pair backing .cs-empty-state__villa-avail--none) so both themes stay
   WCAG AA without introducing any new literal colors.
   ========================================================================== */
.cs-direct-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(var(--lw-avail-gold-rgb), 0.10);
    border: 1px solid rgba(var(--lw-avail-gold-rgb), 0.32);
    border-radius: 999px;
    color: var(--lw-avail-gold);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.cs-direct-badge__icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    stroke: currentColor;
}


.cs-empty-state__calendar .mphb-group-availability-calendar-room-types a,
.lw-villas-calendars--matrix .mphb-group-availability-calendar-room-types a {
    color: var(--lw-gold) !important;
}

.cs-empty-state__search-again a {
    font-size: 0.875rem;
    color: var(--lw-text-hint) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.cs-empty-state__search-again a:hover {
    color: var(--lw-gold) !important;
}


/* Total: 124 search result rules extracted */

/* ============================================================
 * Payment-failed page (slug: echec-du-paiement)
 * Card-centered recovery layout. Reuses .lw-btn--primary / --secondary
 * so dark/light theme overrides already apply.
 * ============================================================ */

/* Hide the default page hero (H1 "Echec du paiement") — the card has
 * its own H1 "Le paiement n'a pas abouti" / "Paiement réussi" / etc. */
body:has(.lw-payment-failed) .lw-default-hero {
	display: none !important;
}
body:has(.lw-payment-failed) .lw-main--has-hero {
	padding-top: calc( var( --lw-header-height, 80px ) + 24px );
}

/* .lw-main enforces min-height: 60vh site-wide; on short card states that
 * slack piles up as a dead band between card and footer (the card sits in
 * nested content wrappers, so it cannot flex-absorb it). Cancel the
 * min-height on this page — the footer follows the card directly. */
body:has(.lw-payment-failed) .lw-main {
	min-height: 0;
}

.lw-payment-failed {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 48px 16px;
}

.lw-payment-failed__card {
	width: 100%;
	max-width: 560px;
	padding: 32px;
	border-radius: 12px;
	background: var(--lw-navy-dark);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	text-align: center;
	border: 1px solid rgba(185, 157, 117, 0.15);
}

body[data-pp-theme="light"] .lw-payment-failed__card {
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(15, 30, 46, 0.12);
	border: 1px solid rgba(15, 30, 46, 0.08);
}

.lw-payment-failed__icon {
	color: var(--lw-gold-light);
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

body[data-pp-theme="light"] .lw-payment-failed__icon {
	color: #836f53;
}

/* Success green works on both themes — sufficient contrast on both white and navy backgrounds. */
.lw-payment-failed__icon--success {
	color: #4caf80;
}

.lw-payment-failed__title {
	font-family: var(--lw-font-heading);
	font-size: 1.75rem;
	line-height: 1.2;
	margin: 0 0 8px;
	color: #ffffff;
}

body[data-pp-theme="light"] .lw-payment-failed__title {
	color: #152840;
}

.lw-payment-failed__subtitle {
	font-family: var(--lw-font-body);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.80);
}

body[data-pp-theme="light"] .lw-payment-failed__subtitle {
	color: rgba(15, 30, 46, 0.7);
}

.lw-payment-failed__recap {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(185, 157, 117, 0.18);
	border-radius: 8px;
	padding: 16px 20px;
	margin: 0 0 24px;
	text-align: left;
}

body[data-pp-theme="light"] .lw-payment-failed__recap {
	background: rgba(15, 30, 46, 0.04);
	border-color: rgba(15, 30, 46, 0.10);
}

.lw-payment-failed__recap-villa {
	font-family: var(--lw-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--lw-gold-light);
	margin: 0 0 6px;
}

body[data-pp-theme="light"] .lw-payment-failed__recap-villa {
	color: #836f53;
}

.lw-payment-failed__recap-line {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.80);
	margin: 0 0 4px;
}

body[data-pp-theme="light"] .lw-payment-failed__recap-line {
	color: rgba(15, 30, 46, 0.75);
}

.lw-payment-failed__recap-total {
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	margin: 8px 0 0;
}

body[data-pp-theme="light"] .lw-payment-failed__recap-total {
	color: #152840;
}

.lw-payment-failed__recap-id {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.60);
	margin: 4px 0 0;
	letter-spacing: 0.02em;
}

body[data-pp-theme="light"] .lw-payment-failed__recap-id {
	color: rgba(15, 30, 46, 0.7);
}

.lw-payment-failed__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 20px;
}

.lw-payment-failed__cta {
	width: 100%;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lw-payment-failed__support {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.60);
}

body[data-pp-theme="light"] .lw-payment-failed__support {
	border-top-color: rgba(15, 30, 46, 0.08);
	color: rgba(15, 30, 46, 0.7);
}

.lw-payment-failed__support-label {
	font-weight: 500;
}

.lw-payment-failed__support-link,
.lw-article .entry-content a.lw-payment-failed__support-link {
	color: var(--lw-gold-light);
	text-decoration: underline;
	text-decoration-color: rgba(185, 157, 117, 0.4);
	text-underline-offset: 3px;
	border-bottom: none;
	transition: text-decoration-color var(--lw-transition);
}

.lw-payment-failed__support-link:hover,
.lw-article .entry-content a.lw-payment-failed__support-link:hover {
	text-decoration-color: var(--lw-gold-light);
}

body[data-pp-theme="light"] .lw-payment-failed__support-link,
body[data-pp-theme="light"] .lw-article .entry-content a.lw-payment-failed__support-link {
	color: #836f53;
	text-decoration-color: rgba(131, 111, 83, 0.4);
}

body[data-pp-theme="light"] .lw-payment-failed__support-link:hover,
body[data-pp-theme="light"] .lw-article .entry-content a.lw-payment-failed__support-link:hover {
	text-decoration-color: #836f53;
}

.lw-payment-failed__support-sep {
	color: rgba(255, 255, 255, 0.60);
}

body[data-pp-theme="light"] .lw-payment-failed__support-sep {
	color: rgba(15, 30, 46, 0.55);
}

.lw-payment-failed__manual-redirect {
	color: var(--lw-gold-light);
	text-decoration: underline;
}

body[data-pp-theme="light"] .lw-payment-failed__manual-redirect {
	color: #836f53;
}

@media (max-width: 768px) {
	.lw-payment-failed {
		padding: 32px 12px;
	}
	.lw-payment-failed__card {
		padding: 24px;
	}
	.lw-payment-failed__title {
		font-size: 1.5rem;
	}
}


/* Manager portal — Mon portail Loge launcher (icon-only FAB in app-bar) */
.mgr-app-bar__loge {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(184, 152, 95, 0.16);
	border: 1px solid rgba(184, 152, 95, 0.35);
	color: #b8985f;
	text-decoration: none;
	transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
	flex-shrink: 0;
}
.mgr-app-bar__loge:hover,
.mgr-app-bar__loge:focus {
	background: rgba(184, 152, 95, 0.28);
	border-color: rgba(184, 152, 95, 0.55);
	color: #b8985f;
	text-decoration: none;
	transform: scale(1.04);
}
.mgr-app-bar__loge:focus-visible {
	outline: 2px solid #b8985f;
	outline-offset: 2px;
}
.mgr-app-bar__loge svg {
	display: block;
}

/* Light mode override — same gold but with a slightly stronger tint */
body[data-pp-theme="light"] .mgr-app-bar__loge {
	background: rgba(131, 111, 83, 0.12);
	border-color: rgba(131, 111, 83, 0.35);
	color: #836f53;
}
body[data-pp-theme="light"] .mgr-app-bar__loge:hover,
body[data-pp-theme="light"] .mgr-app-bar__loge:focus {
	background: rgba(131, 111, 83, 0.22);
	border-color: rgba(131, 111, 83, 0.55);
	color: #836f53;
}

/* ============================================================
 * WhatsApp chat button (floating pill on desktop, circle FAB on mobile).
 * ============================================================ */

a.lw-whatsapp-fab,
a.lw-whatsapp-fab:link,
a.lw-whatsapp-fab:visited,
a.lw-whatsapp-fab:hover,
a.lw-whatsapp-fab:active,
a.lw-whatsapp-fab:focus,
a.lw-whatsapp-fab:focus-visible {
	color: #fff;
	text-decoration: none;
}

/* Hide the floating FAB while the mobile menu is open — the drawer already
   shows its own WhatsApp button, two green circles overlap and look broken. */
body:has(.lw-mobile-menu--open) .lw-whatsapp-fab {
	display: none;
}

.lw-whatsapp-fab {
	position: fixed;
	bottom: var(--lw-wa-bottom, 24px);
	right: max(var(--lw-container-pad, 24px), calc((100vw - var(--lw-container-max, 1280px)) / 2 + var(--lw-container-pad, 24px)));
	z-index: 9999;
	/* Icon-only circle — like a native app FAB. */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	background: #25D366;
	line-height: 1;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
	transition: transform 200ms ease, box-shadow 200ms ease;
}

/* Screen-reader-only helper (kept even if theme doesn't define it globally). */
.lw-whatsapp-fab .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Checkout: lift FAB to mid-viewport so it doesn't cover the sticky CTA
 * "Continuer / Payer l'acompte de X €" at the bottom of the sidebar/mobile
 * bar. Ahmed 2026-07-08: client couldn't reach the CTA on split-stay
 * checkout because the WhatsApp bubble sat on top of it. */
body.mphb-checkout-page .lw-whatsapp-fab,
body.woocommerce-checkout .lw-whatsapp-fab,
body:has(.cs-checkout-redesign) .lw-whatsapp-fab {
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
}

/* Icon color — dark green so the WA glyph reads on the light-green pill.
 * Uses fill (not stroke) since we swapped in the solid glyph. */
.lw-whatsapp-fab__icon {
	fill: #0a3015;
}

.lw-whatsapp-fab:hover,
.lw-whatsapp-fab:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
	outline: none;
}

.lw-whatsapp-fab:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.lw-whatsapp-fab {
		width: 48px;
		height: 48px;
		/* Tuck the FAB into the corner (plus iOS safe areas) so it overlaps
		 * card content as little as possible on small screens. */
		right: calc(12px + env(safe-area-inset-right, 0px));
		bottom: calc(var(--lw-wa-bottom, 16px) + env(safe-area-inset-bottom, 0px));
	}
	.lw-whatsapp-fab__icon {
		width: 24px;
		height: 24px;
	}
	body.lw-has-mobile-booking-bar .lw-whatsapp-fab {
		--lw-wa-bottom: 106px;
	}
	html.has-lang-bar body.lw-has-mobile-booking-bar .lw-whatsapp-fab {
		--lw-wa-bottom: calc(106px + var(--evd-lang-bar-h, 56px));
	}
	/* The sticky booking bar carries its own WhatsApp circle: two green entry
	   points stacked on top of each other is one too many. The villa detail
	   page keeps the FAB lifted to 106px (rule above) because its bar has no
	   WhatsApp circle; the listing page hides the FAB while the bar is shown. */
	body.lw-mobile-bar-shown .lw-whatsapp-fab {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   RTL support for AR locale (minimal baseline — added 2026-06-15)
   Targets body.rtl (WordPress core) + body.pll-ar (Polylang).
   -------------------------------------------------------------------------- */
body.rtl,
body.pll-ar {
	direction: rtl;
}

/* Arabic webfont fallback — guarantees consistent rendering on platforms
   that may not have Tahoma/Segoe UI Arabic (Linux clients, headless tests). */
@font-face {
	font-family: 'Noto Sans Arabic';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('https://fonts.gstatic.com/s/notosansarabic/v18/nwpxtLGrOAZMl5nJ_wfgRg3DrWFZWsnVBJ_sS6tlqHHFlhQ5l3sQWIHPqzCfyG2vu3CBFQLaig.woff2') format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

body.rtl,
body.pll-ar,
body.rtl *,
body.pll-ar * {
	font-family: 'Noto Sans Arabic', 'Tahoma', 'Segoe UI Arabic', 'Geeza Pro', 'Arial', sans-serif;
}body.rtl .entry-content,
body.pll-ar .entry-content {
	direction: rtl;
	text-align: right;
}

/* Lists: flip indent side */
body.rtl .entry-content ul,
body.rtl .entry-content ol,
body.pll-ar .entry-content ul,
body.pll-ar .entry-content ol {
	padding-right: 1.5em;
	padding-left: 0;
}

/* Blockquotes: flip border-left to border-right */
body.rtl .entry-content blockquote,
body.pll-ar .entry-content blockquote {
	border-left: none;
	border-right: 3px solid var(--lw-gold);
	padding-right: 1.25rem;
	padding-left: 0;
}

/* Tables: keep LTR for numeric data but allow text alignment */
body.rtl .entry-content table th,
body.rtl .entry-content table td,
body.pll-ar .entry-content table th,
body.pll-ar .entry-content table td {
	text-align: right;
}

/* FAQ schema-marked blocks */
body.rtl .entry-content h2,
body.rtl .entry-content h3,
body.rtl .entry-content h4,
body.pll-ar .entry-content h2,
body.pll-ar .entry-content h3,
body.pll-ar .entry-content h4 {
	text-align: right;
}

/* ---------- FAQ item (accordion unit) ---------- */

.lw-faq-item {
	border-bottom: 1px solid var(--lw-border, rgba(255, 255, 255, 0.08));
}

.lw-faq-item:first-of-type {
	border-top: 1px solid var(--lw-border, rgba(255, 255, 255, 0.08));
}

body[data-pp-theme="light"] .lw-faq-item {
	border-bottom-color: rgba(21, 40, 64, 0.12);
}

body[data-pp-theme="light"] .lw-faq-item:first-of-type {
	border-top-color: rgba(21, 40, 64, 0.12);
}


/* ---------- Responsive ---------- */


/* Villa comparison table — AEO/GEO extractable facts (normal flow, theme-adaptive). */
.lw-villas-compare { padding: 0 0 48px; }


