/* GSL Univers de styles — classes préfixées "gsls-".
   Polices, couleurs, boutons et cartes produit viennent de WoodMart (variables --wd-*).
   Ce fichier ne gère que la mise en page de la section et ses animations :
   aucune règle ne modifie l'intérieur des cartes produit du thème. */

@property --gsls-tone {
	syntax: '<color>';
	inherits: true;
	initial-value: #f1ece4;
}

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

.gsls {
	--gsls-ease: cubic-bezier(.22, .8, .24, 1);
	--gsls-accent: var(--wd-primary-color, #c9a227); /* jaune du thème : petites touches seulement */
	--gsls-ink: #111;                                 /* boutons et onglet actif */
	--gsls-full: calc(100vw - var(--wd-scroll-w, 0px));
	--gsls-h: 420px; /* hauteur de la bannière (réglable dans l'administration) */
	--gsls-space: clamp(20px, 2.6vw, 40px); /* marge unique : haut/bas de la bannière, entre image et texte */
	position: relative;
	isolation: isolate;
	padding: clamp(28px, 4vw, 56px) 0 0;
	transition: --gsls-tone .9s var(--gsls-ease);
}

/* ---------- En-tête (défile normalement, n'est pas fixé) ---------- */
.gsls-head {
	max-width: 720px;
	margin: 0 auto clamp(16px, 2.4vw, 28px);
	text-align: center;
}
.gsls-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--wd-title-color, var(--gsls-ink));
	opacity: .75;
}
.gsls-eyebrow::before,
.gsls-eyebrow::after {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--gsls-accent);
}
.gsls .gsls-title {
	margin: 0 0 8px;
	font-size: clamp(24px, 2.8vw, 38px);
	line-height: 1.12;
	letter-spacing: -.01em;
}
.gsls-subtitle {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	opacity: .7;
}

/* ---------- Onglets (pilule + indicateur glissant) ---------- */
.gsls-nav-wrap {
	display: flex;
	justify-content: center;
	padding-top: var(--gsls-space);
}
.gsls-nav {
	position: relative;
	display: inline-flex;
	gap: 4px;
	padding: 6px;
	border-radius: 999px;
	border: 1px solid var(--wd-form-brd-color, rgba(0, 0, 0, .1));
	background: color-mix(in srgb, var(--wd-main-bgcolor, #fff) 80%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}
.gsls-nav::-webkit-scrollbar { display: none; }

.gsls-nav-indicator {
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 0;
	width: var(--gsls-ind-w, 0);
	border-radius: 999px;
	background: var(--gsls-ink);
	transform: translateX(var(--gsls-ind-x, 0));
	transition: transform .55s var(--gsls-ease), width .55s var(--gsls-ease);
	z-index: 0;
}

.gsls .gsls-tab {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--wd-title-color, inherit);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: center;
	transition: color .4s var(--gsls-ease);
}
.gsls .gsls-tab:hover { background: transparent; color: var(--gsls-ink); }
.gsls .gsls-tab.is-active,
.gsls .gsls-tab.is-active:hover { color: #fff; }
.gsls .gsls-tab:focus-visible { outline: 2px solid var(--gsls-ink); outline-offset: 2px; }
.gsls-tab-num {
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	opacity: .55;
	transition: color .4s var(--gsls-ease), opacity .4s var(--gsls-ease);
}
/* Petite touche de jaune : le numéro de l'onglet actif. */
.gsls .gsls-tab.is-active .gsls-tab-num { color: var(--gsls-accent); opacity: 1; }
/* Sans JS : l'onglet actif reste lisible. */
.gsls:not(.gsls-js) .gsls-tab.is-active { background: var(--gsls-ink); }

/* ---------- Bannière d'ambiance (pleine largeur) ---------- */
.gsls-panel[hidden] { display: none !important; }

/* Avec JS : les styles sont superposés, le fond commun change de couleur en douceur
   et l'ancien style s'efface pendant que le nouveau arrive (jamais d'espace vide). */
.gsls-js .gsls-panels {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.gsls-js .gsls-panels::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - var(--gsls-full) / 2);
	width: var(--gsls-full);
	background: var(--gsls-tone);
	z-index: -1; /* derrière les styles, sans créer de calque : le fondu des photos (multiply) reste actif */
}
.gsls-js .gsls-panel { grid-area: 2 / 1; min-width: 0; }
.gsls-js .gsls-nav-wrap { grid-area: 1 / 1; }
.gsls-js .gsls-panel.is-leaving { pointer-events: none; }
.gsls-js .gsls-mood { background: transparent; }

.gsls-mood {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	width: var(--gsls-full);
	max-width: var(--gsls-full);
	margin-left: calc(50% - var(--gsls-full) / 2);
	margin-right: calc(50% - var(--gsls-full) / 2);
	column-gap: calc(var(--gsls-space) * 1.5);
	/* Pas de marge en haut : l'image démarre juste sous les onglets. */
	padding: 0 max(15px, calc((var(--gsls-full) - var(--wd-container-w, 1222px)) / 2 + 15px)) var(--gsls-space);
	min-height: min(var(--gsls-h), 85vh);
	overflow: hidden;
	background: var(--gsls-mood);
	color: var(--wd-text-color, inherit);
}
.gsls-mood--noimg { grid-template-columns: 1fr; }
.gsls-mood--dark { color: rgba(255, 255, 255, .82); }
.gsls-mood--dark .gsls-mood-title { color: #fff; }

/* Image entière (pas recadrée), centrée dans sa colonne. */
.gsls-mood-media {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 0;
	height: 100%;
	padding-top: 0;
}
.gsls .gsls-mood-media img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(min(var(--gsls-h), 85vh) - var(--gsls-space));
	object-fit: contain;
}
/* Fond clair : le gris/blanc des photos se fond dans la couleur d'ambiance. */
.gsls-mood:not(.gsls-mood--dark) .gsls-mood-media img { mix-blend-mode: multiply; }

.gsls-mood-body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	padding: 0;
}
.gsls-mood-num {
	position: absolute;
	top: 0;
	right: 0;
	font-family: var(--wd-title-font, inherit);
	font-size: clamp(60px, 7vw, 110px);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px currentColor;
	opacity: .14;
	pointer-events: none;
}
.gsls .gsls-mood-title {
	margin: 0;
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -.015em;
}
/* Petite description : sous le titre, juste avant le bouton. */
.gsls-mood-tagline {
	max-width: 42ch;
	margin: 12px 0 0;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.5;
	opacity: .78;
}
.gsls-mood-text {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 46ch;
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.6;
	opacity: .85;
}
.gsls-mood-actions { margin: 24px 0 0; }

.gsls .gsls-btn { display: inline-flex; align-items: center; gap: 10px; }
/* Bouton noir (fond clair) / blanc (fond sombre), forme et typo du thème conservées. */
.gsls .gsls-btn.btn-color-black { background-color: var(--gsls-ink); border-color: var(--gsls-ink); color: #fff; }
.gsls .gsls-btn.btn-color-black:hover { background-color: #000; border-color: #000; color: #fff; box-shadow: none; }
.gsls-btn-arrow { display: inline-block; transition: transform .35s var(--gsls-ease), color .35s; }
.gsls .gsls-btn:hover .gsls-btn-arrow { transform: translateX(5px); color: var(--gsls-accent); }

/* ---------- Produits : une rangée de cartes WoodMart dans la bannière ---------- */
.gsls-grid {
	width: 100%;
	margin-top: clamp(14px, 2vh, 24px);
}
.gsls-grid .wd-products-element,
.gsls-grid .wd-products,
.gsls-grid .products { margin-bottom: 0; }
.gsls .gsls-item--extra { display: none !important; }

/* ---------- Animations (actives seulement avec JS) ---------- */
.gsls-js .gsls-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--gsls-ease), transform .9s var(--gsls-ease);
}
.gsls-js.is-inview .gsls-reveal { opacity: 1; transform: none; }
.gsls-js.is-inview .gsls-nav-wrap { transition-delay: .12s; }

/* Entrée d'un style : l'image glisse dans le sens du scroll en apparaissant, le texte suit,
   pendant que le style précédent part dans l'autre sens. */
.gsls { --gsls-dir: 1; }
.gsls-js .gsls-panel.is-entering .gsls-mood-media img {
	animation: gsls-img-in .9s var(--gsls-ease) both;
}
.gsls-js .gsls-panel.is-entering .gsls-mood-body > * {
	animation: gsls-up .8s var(--gsls-ease) both;
	animation-delay: .08s;
}
.gsls-js .gsls-panel.is-entering .gsls-mood-body > :nth-child(2) { animation-delay: .14s; }
.gsls-js .gsls-panel.is-entering .gsls-mood-body > :nth-child(3) { animation-delay: .2s; }
.gsls-js .gsls-panel.is-entering .gsls-mood-body > :nth-child(4) { animation-delay: .26s; }
.gsls-js .gsls-panel.is-entering .gsls-mood-body > :nth-child(5) { animation-delay: .32s; }
.gsls-js .gsls-panel.is-entering .gsls-mood-num { animation: gsls-num 1.1s var(--gsls-ease) both; }
.gsls-js .gsls-panel.is-entering .gsls-item {
	animation: gsls-up .75s var(--gsls-ease) both;
	animation-delay: calc(.3s + var(--gsls-i, 0) * 80ms);
}

.gsls-js .gsls-panel.is-leaving .gsls-mood-media img {
	animation: gsls-img-out .7s var(--gsls-ease) both;
}
.gsls-js .gsls-panel.is-leaving .gsls-mood-body {
	animation: gsls-text-out .45s var(--gsls-ease) both;
}

@keyframes gsls-img-in {
	from { opacity: 0; transform: translateY(calc(var(--gsls-dir) * 14%)) scale(1.06); }
	to   { opacity: 1; transform: none; }
}
@keyframes gsls-img-out {
	from { opacity: 1; transform: none; }
	to   { opacity: 0; transform: translateY(calc(var(--gsls-dir) * -14%)) scale(.94); }
}
@keyframes gsls-text-out {
	from { opacity: 1; transform: none; }
	to   { opacity: 0; transform: translateY(calc(var(--gsls-dir) * -30px)); }
}
@keyframes gsls-up {
	from { opacity: 0; transform: translateY(calc(var(--gsls-dir) * 26px)); }
	to   { opacity: 1; transform: none; }
}
@keyframes gsls-num {
	from { opacity: 0; transform: translateY(calc(var(--gsls-dir) * 40px)); }
	to   { opacity: .14; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.gsls { --gsls-space: 18px; }
	.gsls-nav-wrap { justify-content: flex-start; margin-left: -15px; margin-right: -15px; padding: var(--gsls-space) 15px 0; }
	.gsls .gsls-tab { padding: 8px 14px; font-size: 13px; }
	.gsls-mood { grid-template-columns: 1fr; row-gap: var(--gsls-space); min-height: 0; padding: 0 20px calc(var(--gsls-space) + 6px); }
	.gsls .gsls-mood-media img { max-height: min(260px, var(--gsls-h)); }
	.gsls-mood-tagline { font-size: 14px; }
	.gsls-mood-text { -webkit-line-clamp: 3; }
	.gsls-mood-actions { margin-top: 18px; }
	.gsls-mood-num { font-size: 56px; top: auto; bottom: 0; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.gsls,
	.gsls *,
	.gsls *::before,
	.gsls *::after {
		animation: none !important;
		transition: none !important;
	}
	.gsls-js .gsls-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Design « Élégant » : titres serif fins, filets dorés (onglets inchangés),
   numéro « N° 01 » discret et bouton contour qui se remplit au survol.
   Uniquement des surcharges : le design classique reste intact.
   ========================================================================== */
.gsls.gsls--elegant {
	--gsls-accent: #b08d57;      /* or champagne (remplace le jaune du thème) */
	--gsls-accent-deep: #8a6a3b; /* or foncé : petits textes, meilleur contraste */
	--gsls-ink: #1d1b18;
	--gsls-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--gsls-sans: 'Jost', var(--wd-text-font, sans-serif);
}

/* ---------- En-tête ---------- */
.gsls--elegant .gsls-eyebrow {
	gap: 16px;
	margin-bottom: 14px;
	font-family: var(--gsls-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .34em;
	color: var(--gsls-accent-deep);
	opacity: 1;
}
.gsls--elegant .gsls-eyebrow::before,
.gsls--elegant .gsls-eyebrow::after { width: 40px; }

.gsls.gsls--elegant .gsls-title {
	margin: 0 0 12px;
	font-family: var(--gsls-serif);
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--gsls-ink);
}
.gsls--elegant .gsls-subtitle {
	font-family: var(--gsls-serif);
	font-size: clamp(16px, 1.3vw, 19px);
	font-style: italic;
	font-weight: 300;
	opacity: .75;
}

/* ---------- Onglets : barre éditoriale entre deux filets dorés ---------- */
.gsls--elegant .gsls-nav-wrap { padding-bottom: clamp(12px, 1.4vw, 20px); }
.gsls--elegant .gsls-nav {
	--gsls-tab-gap: clamp(22px, 3vw, 48px);
	gap: var(--gsls-tab-gap);
	padding: 0 clamp(18px, 2.4vw, 36px);
	border: 0;
	border-top: 1px solid rgba(176, 141, 87, .35);
	border-bottom: 1px solid rgba(176, 141, 87, .35);
	border-radius: 0;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
/* Indicateur : fin trait doré qui glisse sur le filet du bas. */
.gsls--elegant .gsls-nav-indicator {
	top: auto;
	bottom: -1px;
	height: 2px;
	border-radius: 0;
	background: var(--gsls-accent);
}
.gsls.gsls--elegant .gsls-tab {
	gap: 10px;
	min-height: 54px;
	padding: 0 2px;
	border-radius: 0;
	color: var(--gsls-ink);
	font-family: var(--gsls-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	opacity: .5;
	transition: opacity .45s var(--gsls-ease), color .45s var(--gsls-ease);
}
.gsls.gsls--elegant .gsls-tab:hover { color: var(--gsls-ink); opacity: .85; }
.gsls.gsls--elegant .gsls-tab.is-active,
.gsls.gsls--elegant .gsls-tab.is-active:hover { color: var(--gsls-ink); opacity: 1; }
.gsls.gsls--elegant .gsls-tab:focus-visible { outline: 1px solid var(--gsls-accent); outline-offset: 4px; }
/* Petit losange doré entre deux onglets. */
.gsls--elegant .gsls-tab + .gsls-tab::before {
	content: '';
	position: absolute;
	top: 50%;
	left: calc(var(--gsls-tab-gap) / -2 - 2px);
	width: 4px;
	height: 4px;
	background: var(--gsls-accent);
	transform: translateY(-50%) rotate(45deg);
	opacity: .7;
	pointer-events: none;
}
.gsls--elegant .gsls-tab-num {
	font-family: var(--gsls-serif);
	font-size: 15px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--gsls-accent-deep);
	opacity: 1;
}
.gsls.gsls--elegant .gsls-tab.is-active .gsls-tab-num { color: var(--gsls-accent-deep); }
/* Sans JS : pas de pilule noire, juste le trait doré. */
.gsls--elegant:not(.gsls-js) .gsls-tab.is-active {
	background: transparent;
	box-shadow: inset 0 -2px 0 var(--gsls-accent);
}
/* Fond d'ambiance sombre : onglets en clair. */
.gsls.gsls--elegant.is-dark-tone .gsls-tab,
.gsls.gsls--elegant.is-dark-tone .gsls-tab:hover,
.gsls.gsls--elegant.is-dark-tone .gsls-tab.is-active { color: #f7f4ee; }
.gsls.gsls--elegant.is-dark-tone .gsls-tab-num { color: var(--gsls-accent); }

/* ---------- Bannière ---------- */
/* Fin cadre doré intérieur, aligné sur la largeur du conteneur. */
.gsls--elegant .gsls-mood::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: calc(var(--gsls-space) * .5);
	left: max(15px, calc((var(--gsls-full) - var(--wd-container-w, 1222px)) / 2 + 15px));
	right: max(15px, calc((var(--gsls-full) - var(--wd-container-w, 1222px)) / 2 + 15px));
	border: 1px solid rgba(176, 141, 87, .35);
	pointer-events: none;
}
.gsls--elegant .gsls-mood-media { align-items: center; padding: calc(var(--gsls-space) * .5) 0; }
.gsls--elegant .gsls-mood-body {
	padding: clamp(14px, 2vw, 28px) var(--gsls-space) clamp(14px, 2vw, 28px) 0;
}

/* Numéro : « N° 01 » en italique doré, au-dessus du titre (plus de grand chiffre en contour). */
.gsls.gsls--elegant .gsls-mood-num {
	position: static;
	margin: 0 0 16px;
	font-family: var(--gsls-serif);
	font-size: 18px;
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	letter-spacing: .04em;
	color: var(--gsls-accent-deep);
	-webkit-text-stroke: 0;
	opacity: 1;
}
.gsls--elegant .gsls-mood-num::before { content: 'N° '; }

.gsls.gsls--elegant .gsls-mood-title {
	font-family: var(--gsls-serif);
	font-size: clamp(34px, 3.8vw, 58px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: 0;
	color: var(--gsls-ink);
}
/* Filet doré sous le titre */
.gsls--elegant .gsls-mood-title::after {
	content: '';
	display: block;
	width: 56px;
	height: 1px;
	margin-top: 20px;
	background: var(--gsls-accent);
}
.gsls--elegant .gsls-mood-tagline {
	margin-top: 18px;
	font-family: var(--gsls-serif);
	font-size: clamp(18px, 1.45vw, 22px);
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	opacity: .85;
}
.gsls--elegant .gsls-mood-text {
	font-family: var(--gsls-sans);
	font-size: 14px;
	line-height: 1.75;
	opacity: .72;
}
.gsls--elegant .gsls-mood-actions { margin-top: 30px; }

/* Fond sombre (ex. Luxe & Classique) : texte clair, or conservé. */
.gsls.gsls--elegant .gsls-mood--dark .gsls-mood-title { color: #f7f4ee; }
.gsls.gsls--elegant .gsls-mood--dark .gsls-mood-num { color: var(--gsls-accent); }

/* ---------- Bouton : contour fin, se remplit de gauche à droite ---------- */
.gsls.gsls--elegant .gsls-mood .gsls-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	gap: 14px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--gsls-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--gsls-ink);
	font-family: var(--gsls-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .26em;
	text-transform: uppercase;
	transition: color .5s var(--gsls-ease), border-color .5s var(--gsls-ease);
}
.gsls.gsls--elegant .gsls-mood .gsls-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gsls-ink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .55s var(--gsls-ease);
}
.gsls.gsls--elegant .gsls-mood .gsls-btn:hover,
.gsls.gsls--elegant .gsls-mood .gsls-btn:focus-visible {
	background: transparent;
	border-color: var(--gsls-ink);
	color: #f7f4ee;
	box-shadow: none;
}
.gsls.gsls--elegant .gsls-mood .gsls-btn:hover::before,
.gsls.gsls--elegant .gsls-mood .gsls-btn:focus-visible::before { transform: scaleX(1); }

/* Variante fond sombre : contour or, remplissage or. */
.gsls.gsls--elegant .gsls-mood--dark .gsls-btn { border-color: var(--gsls-accent); color: #f7f4ee; }
.gsls.gsls--elegant .gsls-mood--dark .gsls-btn::before { background: var(--gsls-accent); }
.gsls.gsls--elegant .gsls-mood--dark .gsls-btn:hover,
.gsls.gsls--elegant .gsls-mood--dark .gsls-btn:focus-visible { border-color: var(--gsls-accent); color: var(--gsls-ink); }

.gsls.gsls--elegant .gsls-btn:hover .gsls-btn-arrow { color: inherit; transform: translateX(6px); }

/* Le numéro arrive comme le reste du texte (l'animation classique le laissait à 14 % d'opacité). */
.gsls--elegant.gsls-js .gsls-panel.is-entering .gsls-mood-num {
	animation: gsls-up .8s var(--gsls-ease) both;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.gsls--elegant .gsls-mood::after { left: 12px; right: 12px; }
	.gsls--elegant .gsls-mood-body { padding: 0 8px var(--gsls-space); }
	.gsls.gsls--elegant .gsls-mood-num { font-size: 16px; }
}

/* ==========================================================================
   En-tête intégré au bloc des onglets : sur le fond d'ambiance, centré
   au-dessus du filtre (les deux designs).
   ========================================================================== */
.gsls { padding-top: 0; }
.gsls-nav-wrap {
	flex-direction: column;
	align-items: center;
	padding-top: calc(var(--gsls-space) * 1.4);
}
.gsls-nav-wrap .gsls-head {
	width: 100%;
	max-width: 720px;
	margin: 0 auto clamp(18px, 2.2vw, 28px);
	padding: 0 15px;
	text-align: center;
}
.gsls-nav-wrap .gsls-nav { flex-shrink: 0; }

/* Fond d'ambiance sombre : en-tête en clair. */
.gsls-js.is-dark-tone .gsls-head .gsls-title { color: #fff; }
.gsls-js.is-dark-tone .gsls-head .gsls-eyebrow,
.gsls-js.is-dark-tone .gsls-head .gsls-subtitle { color: rgba(255, 255, 255, .82); }
.gsls-js.gsls--elegant.is-dark-tone .gsls-head .gsls-title { color: #f7f4ee; }
.gsls-js.gsls--elegant.is-dark-tone .gsls-head .gsls-eyebrow { color: var(--gsls-accent); }

/* Sans JS, le fond d'ambiance n'est que sur la bannière : l'en-tête reste sur fond de page. */
.gsls:not(.gsls-js) .gsls-nav-wrap { padding-top: clamp(28px, 4vw, 56px); }

@media (max-width: 767px) {
	.gsls-nav-wrap { align-items: stretch; }
	.gsls-nav-wrap .gsls-nav { align-self: flex-start; }
}

/* ==========================================================================
   Version mobile (< 768 px). Le JS désactive le mode fixé : onglets
   classiques, bannière empilée (image puis texte).
   ========================================================================== */
@media (max-width: 767px) {
	/* En-tête */
	.gsls-nav-wrap {
		padding: calc(var(--gsls-space) + 10px) 15px 16px;
		margin-left: -15px;
		margin-right: -15px;
	}
	.gsls-nav-wrap .gsls-head {
		margin-bottom: 18px;
		padding: 0 5px;
	}
	.gsls .gsls-head .gsls-title { font-size: 26px; }
	.gsls-head .gsls-subtitle { font-size: 14px; }

	/* Onglets : défilement horizontal, sans dépasser l'écran, cible tactile confortable */
	.gsls-nav-wrap .gsls-nav {
		align-self: stretch;
		width: max-content;
		max-width: 100%;
		margin: 0 auto;
		-webkit-overflow-scrolling: touch;
	}
	.gsls .gsls-tab {
		min-height: 40px;
		-webkit-tap-highlight-color: transparent;
	}

	/* Bannière : image en haut, texte dessous */
	.gsls-mood {
		row-gap: 20px;
		padding: 0 20px calc(var(--gsls-space) + 10px);
	}
	.gsls .gsls-mood-media { height: auto; }
	.gsls .gsls-mood-media img { max-height: min(240px, var(--gsls-h)); }
	.gsls-mood-actions { margin-top: 20px; }

	/* ---------- Élégant : texte centré, bouton pleine largeur ---------- */
	.gsls--elegant .gsls-eyebrow {
		gap: 10px;
		margin-bottom: 10px;
		font-size: 10px;
		letter-spacing: .26em;
	}
	.gsls--elegant .gsls-eyebrow::before,
	.gsls--elegant .gsls-eyebrow::after { width: 22px; }
	.gsls.gsls--elegant .gsls-head .gsls-title { font-size: 30px; line-height: 1.1; }
	.gsls.gsls--elegant .gsls-head .gsls-subtitle { font-size: 16px; }

	.gsls--elegant .gsls-mood::after {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}
	.gsls.gsls--elegant .gsls-mood-body {
		align-items: center;
		padding: 0 6px 6px;
		text-align: center;
	}
	.gsls.gsls--elegant .gsls-mood-num { margin-bottom: 10px; font-size: 16px; }
	.gsls.gsls--elegant .gsls-mood-title { font-size: 34px; line-height: 1.05; }
	.gsls--elegant .gsls-mood-title::after {
		width: 44px;
		margin: 16px auto 0;
	}
	.gsls--elegant .gsls-mood-tagline {
		max-width: 32ch;
		margin-top: 14px;
		font-size: 17px;
	}
	.gsls--elegant .gsls-mood-text {
		max-width: 38ch;
		font-size: 13px;
		-webkit-line-clamp: 3;
	}
	.gsls--elegant .gsls-mood-actions {
		width: 100%;
		max-width: 340px;
		margin-top: 22px;
	}
	.gsls.gsls--elegant .gsls-mood .gsls-btn {
		width: 100%;
		justify-content: center;
		min-height: 50px;
		padding: 0 18px;
		letter-spacing: .22em;
	}
	/* Pas de survol au doigt : le remplissage s'affiche à l'appui. */
	.gsls.gsls--elegant .gsls-mood .gsls-btn:active::before { transform: scaleX(1); }
	.gsls.gsls--elegant .gsls-mood .gsls-btn:active { color: #f7f4ee; }
	.gsls.gsls--elegant .gsls-mood--dark .gsls-btn:active { color: var(--gsls-ink); }

	.gsls.gsls--elegant .gsls-mood-media img { max-height: min(220px, var(--gsls-h)); }
}

/* Très petits écrans */
@media (max-width: 380px) {
	.gsls .gsls-tab { padding: 8px 12px; font-size: 12px; gap: 6px; }
	.gsls.gsls--elegant .gsls-head .gsls-title { font-size: 26px; }
	.gsls.gsls--elegant .gsls-mood-title { font-size: 30px; }
	.gsls--elegant .gsls-mood-tagline { font-size: 16px; }
}

/* ==========================================================================
   Affichage « Accordéon » (par défaut) : cartes en arc de cercle, sur le fond
   de la page, dans l'ordre de la liste. Toutes les cartes ont la même taille ;
   celle du milieu est en haut de l'arc, les autres descendent et s'inclinent
   de part et d'autre. Au survol, la carte se redresse, monte et grandit ;
   elle s'incline aussi vers la souris avec un reflet. L'ordre ne change pas.
   Carte en verre : image en retrait, légende sur un verre teinté par l'image.
   Polices du thème WoodMart (noms : police des produits / catégories).
   ========================================================================== */
.gsls.gsls--accordion {
	--gsls-accent: #b08d57;
	--gsls-ink: #1d1b18;
	--gsls-r: 16px;    /* coins de la carte */
	--gsls-r-in: 11px; /* coins de l'image */
	/* Largeur d'une carte (toutes identiques) : réglage « Hauteur », bornée pour que l'arc tienne
	   dans la largeur du conteneur du thème. */
	--gsls-card-w: clamp(170px, min(var(--gsls-h) * .62, (min(100vw, var(--wd-container-w, 1222px)) - 40px) / 4.8), 290px);
	/* Arc : rayon (au centre des cartes) et angle entre deux cartes (cartes rapprochées, qui se chevauchent un peu). */
	--gsls-arc-r: calc(var(--gsls-card-w) * 7);
	--gsls-step: min(7.5deg, calc(30deg / var(--gsls-n1, 4)));
	--gsls-zoom-front: 1.16;
	position: relative;
	padding: clamp(40px, 5vw, 72px) 0;
}
.gsls.gsls--accordion.gsls--classic { --gsls-accent: var(--wd-primary-color, #b08d57); }

/* ---------- En-tête (couleurs du thème) ---------- */
.gsls-flow-head {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 15px;
	text-align: center;
}
.gsls .gsls-flow-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--wd-text-font, inherit);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--wd-title-color, #242424);
}
.gsls .gsls-flow-eyebrow::before,
.gsls .gsls-flow-eyebrow::after {
	content: '';
	width: 32px;
	height: 1px;
	background: var(--gsls-accent);
}
.gsls .gsls-flow-title {
	margin: 12px 0 8px;
	padding: 0;
	font-family: var(--wd-title-font, inherit);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: var(--wd-title-font-weight, 600);
	font-style: var(--wd-title-font-style, normal);
	line-height: 1.15;
	text-transform: var(--wd-title-transform, none);
	color: var(--wd-title-color, #242424);
}
.gsls .gsls-flow-subtitle {
	max-width: 64ch;
	margin: 0 auto;
	font-family: var(--wd-text-font, inherit);
	font-size: calc(var(--wd-text-font-size, 14px) + 1px);
	line-height: 1.65;
	color: var(--wd-text-color, #767676);
}

/* ---------- Scène ---------- */
.gsls-flow {
	position: relative;
	width: var(--gsls-full);
	margin-left: calc(50% - var(--gsls-full) / 2);
	padding: 30px 0px 40px 0px;
	overflow: hidden;
	/* Coupe seulement sur les côtés : les ombres restent entières en bas. */
	overflow-x: clip;
	overflow-y: visible;
}
/* Le jeu de cartes : zone de survol (en sortir remet toutes les cartes à la même taille). */
.gsls-deck {
	display: grid;
	grid-template-areas: 'card';
	align-items: start;
	justify-items: center;
	width: min(100%, calc(var(--gsls-card-w) * 6));
	margin: 0 auto;
}

/* ---------- Une carte, placée sur l'arc ---------- */
.gsls-fcard {
	--gsls-a: calc(var(--gsls-d, 0) * var(--gsls-step)); /* angle sur l'arc */
	--gsls-dim: 0;
	grid-area: card;
	position: relative;
	z-index: var(--gsls-z, 1);
	width: var(--gsls-card-w);
	/* Sans les fonctions trigonométriques CSS (très vieux navigateurs) : simple rangée. */
	transform: translateX(calc(var(--gsls-d, 0) * var(--gsls-card-w) * 1.06));
	transition: transform .55s var(--gsls-ease), opacity .55s var(--gsls-ease);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
@supports (top: calc(1px * sin(10deg))) {
	.gsls-fcard {
		transform:
			translate(calc(sin(var(--gsls-a)) * var(--gsls-arc-r)), calc((1 - cos(var(--gsls-a))) * var(--gsls-arc-r)))
			translateY(var(--gsls-lift, 0px))
			rotate(var(--gsls-rot, var(--gsls-a)))
			scale(var(--gsls-zoom, 1));
	}
}

/* Survol / focus / toucher : la carte se redresse, monte et grandit, devant les autres. */
.gsls-fcard.is-front {
	--gsls-rot: 0deg;
	--gsls-zoom: var(--gsls-zoom-front);
	--gsls-lift: calc(var(--gsls-card-w) * -.08);
	z-index: 40;
}
.gsls.has-front .gsls-fcard:not(.is-front) { --gsls-dim: .14; }

/* ---------- La carte ---------- */
.gsls .gsls-fcard-link {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 6px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: var(--gsls-r);
	background: var(--gsls-card-tone, #3a322a);
	box-shadow: 0 26px 44px -26px rgba(24, 16, 8, .6), 0 6px 14px -8px rgba(24, 16, 8, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
	color: #fff;
	text-decoration: none;
	/* Inclinaison vers la souris (carte survolée). */
	transform: perspective(900px) rotateX(var(--gsls-tx, 0deg)) rotateY(var(--gsls-ty, 0deg));
	transition: transform .5s var(--gsls-ease), box-shadow .5s var(--gsls-ease);
}
.gsls-fcard.is-front .gsls-fcard-link {
	box-shadow: 0 40px 60px -30px rgba(24, 16, 8, .7), 0 10px 22px -10px rgba(24, 16, 8, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.gsls-fcard.is-tilting .gsls-fcard-link { transition: transform .15s linear, box-shadow .5s var(--gsls-ease); }
.gsls .gsls-fcard-link:focus-visible { outline: 2px solid var(--gsls-accent); outline-offset: 4px; }
/* Voile léger des autres cartes pendant le survol. */
.gsls .gsls-fcard-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	background: #000;
	opacity: var(--gsls-dim);
	pointer-events: none;
	transition: opacity .5s var(--gsls-ease);
}

/* Verre : l'image floutée sous toute la carte, teinte chaude ; verre gris sur la carte survolée. */
.gsls-fcard-glass {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: var(--gsls-card-tone, #3a322a);
}
.gsls .gsls-fcard-glass img {
	position: absolute;
	top: -20%;
	left: -20%;
	width: 140%;
	height: 140%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 80%;
	filter: blur(22px) saturate(1.5);
}
.gsls-fcard-glass::before,
.gsls-fcard-glass::after {
	content: '';
	position: absolute;
	inset: 0;
	transition: opacity .5s var(--gsls-ease);
}
.gsls-fcard-glass::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .14) 100%), rgba(120, 82, 40, .26);
}
.gsls-fcard-glass::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .05) 60%), rgba(98, 94, 90, .62);
	opacity: 0;
}
.gsls-fcard.is-front .gsls-fcard-glass::after { opacity: 1; }

.gsls .gsls-fcard-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--gsls-r-in);
	background: rgba(0, 0, 0, .2);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18);
}
.gsls .gsls-fcard-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 1s var(--gsls-ease);
}
.gsls-fcard.is-front .gsls-fcard-media img { transform: none; }
/* Sans image : couleur d'ambiance et losange doré. */
.gsls-fcard--noimg .gsls-fcard-media {
	background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--gsls-card-tone) 80%, #fff), var(--gsls-card-tone));
}
.gsls-fcard-mono {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26%;
	aspect-ratio: 1;
	border: 1px solid var(--gsls-accent);
	transform: translate(-50%, -50%) rotate(45deg);
	opacity: .8;
}

/* Légende : nom + nombre de luminaires, centrés. */
.gsls .gsls-fcard-caption {
	display: block;
	padding: 10px 8px 8px;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.gsls .gsls-fcard-title,
.gsls .gsls-fcard-sub {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.gsls .gsls-fcard-title {
	font-family: var(--wd-entities-title-font, var(--wd-title-font, inherit));
	font-size: clamp(12px, calc(var(--gsls-card-w) * .078), 20px);
	font-weight: var(--wd-entities-title-font-weight, 500);
	font-style: var(--wd-entities-title-font-style, normal);
	line-height: 1.3;
	color: #fff;
}
.gsls .gsls-fcard-sub {
	margin-top: 2px;
	font-family: var(--wd-text-font, inherit);
	font-size: clamp(11px, calc(var(--gsls-card-w) * .064), 17px);
	line-height: 1.35;
	color: rgba(255, 255, 255, .74);
}

/* Reflet qui suit la souris. */
.gsls-fcard-shine {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: radial-gradient(circle at var(--gsls-gx, 50%) var(--gsls-gy, 0%), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}
.gsls-fcard.is-tilting .gsls-fcard-shine { opacity: 1; }

/* ---------- Arrivée à l'écran : l'éventail s'ouvre depuis le centre ---------- */
.gsls-js.gsls--accordion:not(.is-inview) .gsls-fcard { --gsls-a: 0deg; --gsls-lift: 40px; opacity: 0; }
.gsls-js.gsls--accordion.is-inview:not(.is-dealt) .gsls-fcard {
	transition-duration: .9s;
	transition-delay: calc(.1s + var(--gsls-ad, 0) * .1s);
}

/* ---------- Tablette : cartes plus serrées (elles se chevauchent un peu) ---------- */
@media (max-width: 1023px) {
	.gsls.gsls--accordion {
		--gsls-card-w: min((100vw - 40px) / 3.4, 240px);
		--gsls-step: min(4.5deg, calc(18deg / var(--gsls-n1, 4)));
		--gsls-zoom-front: 1.22;
	}
}

/* ---------- Mobile : éventail serré ; toucher une carte l'agrandit, second toucher = sa page ---------- */
@media (max-width: 767px) {
	.gsls.gsls--accordion {
		--gsls-card-w: min((100vw - 30px) / 2.7, 190px);
		--gsls-step: min(3.5deg, calc(14deg / var(--gsls-n1, 4)));
		--gsls-zoom-front: 1.3;
		padding: 36px 0;
	}
	.gsls .gsls-flow-title { font-size: 28px; }
	.gsls .gsls-flow-eyebrow { gap: 10px; font-size: 11px; letter-spacing: .26em; }
	.gsls .gsls-flow-eyebrow::before,
	.gsls .gsls-flow-eyebrow::after { width: 22px; }
	.gsls .gsls-fcard-link { padding: 4px; border-radius: 12px; }
	.gsls .gsls-fcard-media { border-radius: 9px; }
	.gsls .gsls-fcard-caption { padding: 7px 4px 5px; }
}
