/* Page Parrainer — intégration campagne */

/* Filet de sécurité si le header thème s’affiche encore */
body.klay-qh-map-page .header.header--page {
	display: none !important;
}

body.klay-qh-map-page .page__main {
	padding-top: 0;
}

/*
 * Le header press fixe laisse un filet blanc (~body padding > hauteur visible).
 * On remonte le bloc campagne pour coller le hero sous la nav.
 */
body.klay-qh-map-page .page-page__wrapper {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.klay-qh-page {
	/* Branding Quart d’heure (bleu), pas le rouge CHA du thème. */
	--klay-qh-accent: #3655bb;
	--klay-qh-accent-dark: #1e347f;
	--klay-qh-ink: #1a1a1a;
	--klay-qh-muted: #5c5c5c;
	--klay-qh-surface: #f7f4f2;
	--klay-qh-max: 1312px;
	--klay-qh-gutter: 1.25rem;
	--klay-qh-gold: #c9a45c;
	--klay-qh-display: "Playfair Display", "Times New Roman", Georgia, serif;
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1.25rem 0 3rem;
	background: #fff;
}

.klay-qh-intro {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--klay-qh-max);
	margin: 0 auto 1.75rem;
	padding: 0.35rem var(--klay-qh-gutter) 0;
	box-sizing: border-box;
}

.klay-qh-intro__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--klay-qh-accent);
}

.klay-qh-intro__eyebrow::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 1px;
	margin-top: 0.55rem;
	background: linear-gradient(90deg, var(--klay-qh-gold), transparent);
	opacity: 0.85;
}

.klay-qh-intro__title {
	margin: 0 0 0.75rem;
	max-width: 22ch;
	font-family: var(--klay-qh-display);
	font-size: clamp(1.55rem, 2.7vw, 2.25rem);
	line-height: 1.18;
	color: var(--klay-qh-accent-dark);
	font-weight: 700;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.klay-qh-intro__text {
	margin: 0 0 1.35rem;
	max-width: 38rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--klay-qh-muted);
}

.klay-qh-region-note {
	margin: 0 0 1.25rem;
	max-width: 40rem;
	padding: 0.95rem 1.1rem;
	background: #f5f7fd;
	border-left: 3px solid var(--klay-qh-accent);
	box-sizing: border-box;
}

.klay-qh-region-note__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--klay-qh-ink);
}

.klay-qh-region-note__actions {
	margin: 0.75rem 0 0;
}

.klay-qh-intro__toolbar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	width: 100%;
}

.klay-qh-intro__actions,
.klay-qh-about__actions,
.klay-qh-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
}

.klay-qh-intro__toolbar > .klay-qh-intro__actions > .klay-qh-btn--primary,
.klay-qh-intro__toolbar > .klay-qh-intro__actions > .klay-qh-btn--secondary {
	align-self: flex-start;
	border-radius: 0;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.84rem;
}

.klay-qh-intro__toolbar > .klay-qh-intro__actions > .klay-qh-btn--primary {
	box-shadow: 0 8px 20px rgba(54, 85, 187, 0.22);
}

.klay-qh-intro__toolbar > .klay-qh-btn--primary {
	align-self: flex-start;
	border-radius: 0;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.84rem;
	box-shadow: 0 8px 20px rgba(54, 85, 187, 0.22);
}

.klay-qh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.15rem;
	border-radius: 2px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.klay-qh-btn--primary {
	background: var(--klay-qh-accent);
	color: #fff;
}

.klay-qh-btn--primary:hover,
.klay-qh-btn--primary:focus {
	background: var(--klay-qh-accent-dark);
	color: #fff;
}

.klay-qh-btn--secondary {
	background: #fff;
	color: var(--klay-qh-accent);
	border-color: var(--klay-qh-accent);
}

.klay-qh-btn--secondary:hover,
.klay-qh-btn--secondary:focus {
	background: var(--klay-qh-accent);
	color: #fff;
}

.klay-qh-btn--ghost {
	background: transparent;
	color: var(--klay-qh-ink);
	border-color: #d4d0cc;
}

.klay-qh-btn--ghost:hover,
.klay-qh-btn--ghost:focus {
	border-color: var(--klay-qh-accent);
	color: var(--klay-qh-accent);
}

/* Réassurance — pas un CTA plein : lien discret, contraste texte/fond OK */
.klay-qh-btn--edition {
	background: transparent;
	color: var(--klay-qh-accent-dark);
	border-color: transparent;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	padding: 0.25rem 0;
	min-height: 0;
	box-shadow: none;
}

.klay-qh-btn--edition:hover,
.klay-qh-btn--edition:focus {
	background: transparent;
	border-color: transparent;
	color: var(--klay-qh-accent);
	text-decoration-thickness: 2px;
}

/* Bloc « Feuilleter l’édition » — réassurance (modale = lien seul) */
.klay-qh-edition {
	width: 100%;
	max-width: 38rem;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.klay-qh-edition--modal {
	margin: 0.85rem 0 0.15rem;
	padding: 0.75rem 0 0;
	border-top: 1px solid #e8e4e0;
}

.klay-qh-edition--modal .klay-qh-btn--edition {
	width: auto;
	min-width: 0;
}

.klay-qh-intro__accordions {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.klay-qh-intro__accordions .klay-qh-about + .klay-qh-about .klay-qh-about__summary {
	border-top: 0;
}

.klay-qh-about .klay-qh-btn--edition {
	margin-top: 0.15rem;
}

/* Carte : même colonne que l’intro */
.klay-qh-map {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--klay-qh-max);
	margin: 0 auto 2.5rem;
	padding: 0 var(--klay-qh-gutter);
	box-sizing: border-box;
}

.klay-qh-map .qua-map {
	max-width: none !important;
	margin: 0;
	border: 0;
	box-shadow: none;
}

.klay-qh-map .qua-map__layout {
	--qua-map-stage-h: min(72vh, 820px);
	min-height: var(--qua-map-stage-h);
	height: var(--qua-map-stage-h);
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
	border: 1px solid #e8e4e0;
}

.klay-qh-map .qua-map__canvas-wrap,
.klay-qh-map .qua-map__list {
	height: 100%;
	max-height: none;
}

/* Légende : toujours ancrée dans le canvas, jamais hors cadre */
.klay-qh-map .qua-map__canvas-wrap {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.klay-qh-map .qua-map__legend {
	position: absolute;
	left: 12px;
	right: auto;
	bottom: 12px;
	top: auto;
	z-index: 800;
	max-width: min(15.5rem, calc(100% - 24px));
	max-height: calc(100% - 24px);
	overflow: auto;
	box-sizing: border-box;
	padding: 0.4rem 0.6rem;
	font-size: 0.72rem;
	line-height: 1.35;
	pointer-events: none;
}

.klay-qh-map .qua-map__legend-item {
	gap: 0.35rem;
}

.klay-qh-map .qua-map__legend-swatch--gradient {
	width: 28px;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.klay-qh-map .qua-map__legend {
		left: 8px;
		bottom: 8px;
		max-width: calc(100% - 16px);
		max-height: calc(100% - 16px);
		font-size: 0.68rem;
		padding: 0.35rem 0.5rem;
	}
}

/* CTA lots / don sous la carte — titre commun + 2 cartes */
.klay-qh-alt-cta {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	width: 100%;
	max-width: var(--klay-qh-max);
	margin: 0 auto 2.75rem;
	padding: 0 var(--klay-qh-gutter);
	box-sizing: border-box;
}

.klay-qh-alt-cta__header {
	margin: 0;
	padding: 0;
}

.klay-qh-alt-cta__heading {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--klay-qh-accent);
	line-height: 1.3;
}

.klay-qh-alt-cta__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.klay-qh-alt-cta__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.klay-qh-lots-cta {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.klay-qh-lots-cta__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.35rem 1.5rem 1.5rem;
	background:
		linear-gradient(135deg, rgba(201, 164, 92, 0.06) 0%, transparent 42%),
		#f5f7fd;
	border-left: 4px solid var(--klay-qh-accent);
	box-sizing: border-box;
}

.klay-qh-lots-cta--don .klay-qh-lots-cta__inner {
	background:
		linear-gradient(135deg, rgba(54, 85, 187, 0.05) 0%, transparent 42%),
		#f7f8fb;
}

.klay-qh-lots-cta__title {
	margin: 0 0 0.45rem;
	font-size: 1.2rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--klay-qh-ink);
}

.klay-qh-lots-cta__text {
	margin: 0;
	max-width: 40rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--klay-qh-muted);
}

.klay-qh-lots-cta__actions {
	display: flex;
	margin: 0;
	padding-top: 1.15rem;
	margin-top: auto;
}

.klay-qh-lots-cta__actions .klay-qh-btn {
	min-width: 11.5rem;
	justify-content: center;
	text-align: center;
}

@media (max-width: 640px) {
	.klay-qh-lots-cta__inner {
		padding: 1.15rem 1.1rem 1.25rem;
	}

	.klay-qh-lots-cta__title {
		font-size: 1.05rem;
	}
}

@media (min-width: 1101px) {
	.klay-qh-map .qua-map__layout {
		--qua-map-stage-h: min(78vh, 900px);
	}
}

/* Aligner sur le breakpoint wrap de la carte (1100px) — sinon hauteur fixe + overflow coupe la légende */
@media (max-width: 1100px) {
	.klay-qh-map .qua-map__layout {
		--qua-map-stage-h: auto;
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	.klay-qh-map .qua-map__canvas-wrap {
		height: min(58vh, 520px);
		min-height: 320px;
		overflow: hidden;
	}

	.klay-qh-map .qua-map__list {
		height: auto;
		max-height: 45vh;
	}
}

@media (max-width: 768px) {
	.klay-qh-map .qua-map__canvas-wrap {
		height: 55vh;
		min-height: 320px;
	}
}

.klay-qh-about {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.klay-qh-about__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
	list-style: none;
	cursor: pointer;
	background: transparent;
	border: 0;
	border-top: 1px solid #e8e4e0;
	border-bottom: 1px solid #e8e4e0;
	border-radius: 0;
	color: var(--klay-qh-ink);
	line-height: 1.35;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.klay-qh-about__summary::-webkit-details-marker {
	display: none;
}

.klay-qh-about__summary::marker {
	content: "";
}

.klay-qh-about__summary:hover,
.klay-qh-about__summary:focus-visible {
	color: var(--klay-qh-accent);
	border-color: #ddd7d2;
	outline: none;
}

.klay-qh-about__summary:hover .klay-qh-about__summary-icon,
.klay-qh-about__summary:focus-visible .klay-qh-about__summary-icon {
	border-color: var(--klay-qh-accent);
	color: var(--klay-qh-accent);
}

.klay-qh-about[open] .klay-qh-about__summary {
	border-bottom-color: transparent;
	color: var(--klay-qh-ink);
}

.klay-qh-about__summary-copy {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}

.klay-qh-about__summary-kicker {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--klay-qh-accent);
}

.klay-qh-about__summary-label {
	font-size: 1.02rem;
	font-weight: 700;
}

.klay-qh-about__summary-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #d9d3ce;
	border-radius: 999px;
	color: var(--klay-qh-ink);
	transition: transform 0.2s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.klay-qh-about[open] .klay-qh-about__summary-icon {
	transform: rotate(180deg);
	border-color: var(--klay-qh-accent);
	color: var(--klay-qh-accent);
	background: rgba(224, 0, 15, 0.04);
}

.klay-qh-about__panel {
	padding: 0.35rem 0 1.35rem;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #e8e4e0;
	border-radius: 0;
	animation: klay-qh-about-in 0.22s ease;
}

.klay-qh-about__body {
	max-width: none;
	width: 100%;
	padding: 0.35rem 0 0;
	border-left: 3px solid var(--klay-qh-accent);
	padding-left: 1rem;
	box-sizing: border-box;
}

.klay-qh-about__body p {
	margin: 0 0 0.95rem;
	max-width: none;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--klay-qh-muted);
}

.klay-qh-about__body p:last-child {
	margin-bottom: 0;
}

.klay-qh-about__footer {
	margin-top: 1.15rem;
	padding-left: calc(1rem + 3px);
}

.klay-qh-about__actions {
	margin-top: 0;
}

.klay-qh-about__actions--trio {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

@keyframes klay-qh-about-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.klay-qh-about__summary-icon,
	.klay-qh-about__panel {
		transition: none;
		animation: none;
	}
}

/* Pastille sticky bas-droite — couleurs Quart d’heure */
.klay-qh-banner {
	--klay-qh-accent: #3655bb;
	--klay-qh-accent-dark: #253ea7;
	position: fixed;
	right: 1rem;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	z-index: 100020;
	width: min(20.5rem, calc(100vw - 2rem));
	font-family: inherit;
}

.klay-qh-banner__panel {
	position: relative;
	padding: 0.95rem 1rem 1rem;
	background: #fff;
	border: 1px solid #d9e2f5;
	border-radius: 10px;
	box-shadow: 0 10px 32px rgba(37, 62, 167, 0.18);
	overflow: hidden;
}

.klay-qh-banner__panel::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #3655bb, #253ea7);
}

.klay-qh-banner__collapse {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	appearance: none;
	border: 0;
	background: #eef2ff;
	color: #253ea7;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.klay-qh-banner__collapse:hover,
.klay-qh-banner__collapse:focus {
	background: #3655bb;
	color: #fff;
}

.klay-qh-banner__kicker {
	margin: 0 1.5rem 0.2rem 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #3655bb;
}

.klay-qh-banner__title {
	margin: 0 1.5rem 0.35rem 0;
	font-size: 0.98rem;
	line-height: 1.3;
	font-weight: 700;
	color: #1a1a1a;
}

.klay-qh-banner__text {
	margin: 0 0 0.85rem;
	font-size: 0.84rem;
	line-height: 1.4;
	color: #5c5c5c;
}

.klay-qh-banner__actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.klay-qh-banner__link {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.8rem;
	background: #3655bb;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
}

.klay-qh-banner__link:hover,
.klay-qh-banner__link:focus {
	background: #253ea7;
	color: #fff;
}

.klay-qh-banner__link--secondary {
	background: #fff;
	color: #253ea7;
	border: 1px solid #c5d0ea;
}

.klay-qh-banner__link--secondary:hover,
.klay-qh-banner__link--secondary:focus {
	background: #eef2ff;
	color: #253ea7;
	border-color: #3655bb;
}

.klay-qh-banner__more {
	appearance: none;
	border: 1px solid #c5d0ea;
	background: #fff;
	color: #253ea7;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	cursor: pointer;
}

.klay-qh-banner__more:hover,
.klay-qh-banner__more:focus {
	border-color: #3655bb;
	background: #eef2ff;
}

.klay-qh-banner__pill {
	appearance: none;
	border: 1px solid #3655bb;
	display: none;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 1rem 0.5rem 0.55rem;
	background: #fff;
	color: #253ea7;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(37, 62, 167, 0.16);
	cursor: pointer;
	text-align: left;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.klay-qh-banner__pill:hover,
.klay-qh-banner__pill:focus {
	background: #eef2ff;
	border-color: #253ea7;
	color: #253ea7;
	box-shadow: 0 8px 22px rgba(37, 62, 167, 0.22);
}

.klay-qh-banner__pill-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: #eef2ff;
	color: #3655bb;
	flex: 0 0 auto;
}

.klay-qh-banner__pill:hover .klay-qh-banner__pill-mark,
.klay-qh-banner__pill:focus .klay-qh-banner__pill-mark {
	background: #dfe6fb;
	color: #253ea7;
}

.klay-qh-banner__pill-mark svg {
	display: block;
}

.klay-qh-banner__pill-copy {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.klay-qh-banner__pill-label {
	display: block;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: inherit;
}

.klay-qh-banner__pill-sub {
	display: block;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: #6b7eb5;
}

.klay-qh-banner.is-collapsed {
	width: auto;
}

.klay-qh-banner.is-collapsed .klay-qh-banner__panel {
	display: none;
}

.klay-qh-banner.is-collapsed .klay-qh-banner__pill {
	display: inline-flex;
}

.klay-qh-banner.is-collapsed .klay-qh-banner__pill[hidden] {
	display: inline-flex !important;
}

/* Modal — couleurs Quart d’heure */
.klay-qh-modal[hidden] {
	display: none !important;
}

.klay-qh-modal {
	--klay-qh-accent: #3655bb;
	--klay-qh-accent-dark: #253ea7;
	--klay-qh-ink: #1a1a1a;
	--klay-qh-muted: #5c5c5c;
	position: fixed;
	inset: 0;
	z-index: 100030;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.klay-qh-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 32, 64, 0.58);
	backdrop-filter: blur(2px);
}

.klay-qh-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(100%, 36rem);
	height: auto;
	max-height: min(92vh, 42rem);
	max-height: min(92dvh, 42rem);
	overflow: hidden;
	background:
		linear-gradient(180deg, #f5f7fd 0%, #ffffff 42%),
		#fff;
	padding: 0;
	box-shadow: 0 28px 70px rgba(37, 62, 167, 0.28);
	border-radius: 4px;
	border: 1px solid #d9e2f5;
}

.klay-qh-modal__header {
	flex: 0 0 auto;
	padding: 1.65rem 1.65rem 0;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(54, 85, 187, 0.12), transparent 55%);
}

.klay-qh-modal__close {
	position: absolute;
	top: 0.7rem;
	right: 0.8rem;
	z-index: 2;
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-size: 1.35rem;
	line-height: 1;
	color: #555;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(37, 62, 167, 0.1);
}

.klay-qh-modal__close:hover {
	color: var(--klay-qh-accent);
	background: #eef2ff;
}

.klay-qh-modal__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--klay-qh-accent);
}

.klay-qh-modal__title {
	margin: 0;
	padding-right: 1.75rem;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	line-height: 1.22;
	color: var(--klay-qh-ink);
	font-weight: 700;
}

.klay-qh-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
	padding: 1.15rem 1.65rem 0.25rem;
}

.klay-qh-modal__body p {
	margin: 0 0 0.95rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--klay-qh-muted);
}

.klay-qh-modal__lead {
	font-size: 1.05rem !important;
	color: var(--klay-qh-ink) !important;
	font-weight: 500;
}

.klay-qh-modal__body a {
	color: var(--klay-qh-accent);
	font-weight: 600;
	text-underline-offset: 2px;
}

.klay-qh-modal__actions {
	display: flex;
	flex-wrap: wrap;
	flex: 0 0 auto;
	gap: 0.6rem;
	margin: 0;
	padding: 1rem 1.65rem 1.55rem;
	background: linear-gradient(180deg, transparent, rgba(54, 85, 187, 0.05));
	border-top: 1px solid #e4eaf7;
}

.klay-qh-modal .klay-qh-btn {
	min-height: 2.6rem;
}

.klay-qh-modal .klay-qh-btn--primary {
	background: #3655bb;
	color: #fff;
}

.klay-qh-modal .klay-qh-btn--primary:hover,
.klay-qh-modal .klay-qh-btn--primary:focus {
	background: #253ea7;
	color: #fff;
}

.klay-qh-modal .klay-qh-btn--secondary {
	background: #fff;
	color: #3655bb;
	border-color: #3655bb;
}

.klay-qh-modal .klay-qh-btn--secondary:hover,
.klay-qh-modal .klay-qh-btn--secondary:focus {
	background: #3655bb;
	color: #fff;
}

.klay-qh-modal .klay-qh-btn--ghost {
	border-color: #c5d0ea;
	color: #253ea7;
	background: #fff;
}

.klay-qh-modal .klay-qh-btn--ghost:hover,
.klay-qh-modal .klay-qh-btn--ghost:focus {
	border-color: #3655bb;
	color: #3655bb;
	background: #eef2ff;
}

.klay-qh-modal .klay-qh-btn--edition {
	background: transparent;
	border-color: transparent;
	color: #1e347f;
	min-height: 0;
	padding: 0.2rem 0;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.klay-qh-modal .klay-qh-btn--edition:hover,
.klay-qh-modal .klay-qh-btn--edition:focus {
	background: transparent;
	border-color: transparent;
	color: #3655bb;
}

.klay-qh-modal .klay-qh-edition--modal {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

body.klay-qh-modal-open {
	overflow: hidden;
	touch-action: none;
}

@media (max-width: 640px) {
	.klay-qh-modal {
		padding: max(0.4rem, env(safe-area-inset-top, 0px)) 0.65rem max(0.4rem, env(safe-area-inset-bottom, 0px));
		align-items: center;
	}

	.klay-qh-modal__dialog {
		width: 100%;
		height: auto;
		max-height: min(90dvh, 40rem);
	}

	.klay-qh-modal__header,
	.klay-qh-modal__body,
	.klay-qh-modal__actions {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
	}

	.klay-qh-modal__body {
		/* Android Chrome : force une zone scrollable réelle si le contenu dépasse */
		overflow-y: auto;
		flex: 1 1 auto;
		min-height: 0;
	}

	.klay-qh-modal__actions {
		padding-bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
	}

	.klay-qh-banner {
		right: 0.75rem;
		bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
		width: min(18.5rem, calc(100vw - 1.5rem));
	}
}

/* ——— Hub boutique : carte Quart d’heure (même style que les autres, branding bleu) ——— */
.subscription-choice-card--qh .subscription-choice-card__title {
	color: #3655bb !important;
}

.subscription-choice-card--qh .subscription-choice-card__actions {
	grid-row: 4;
	grid-column: 1;
	align-self: end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.subscription-choice-card--qh .subscription-choice-card__actions .subscription-choice-card__btn {
	margin-top: 0;
}

.subscription-choice-card--qh .button--primary .wp-block-button__link {
	background-color: #3655bb !important;
	border-color: #3655bb !important;
	color: #fff !important;
}

.subscription-choice-card--qh .button--primary .wp-block-button__link:hover,
.subscription-choice-card--qh .button--primary .wp-block-button__link:focus {
	background-color: #253ea7 !important;
	border-color: #253ea7 !important;
	color: #fff !important;
}

.subscription-choice-card--qh .button--secondary .wp-block-button__link {
	color: #253ea7 !important;
	border-color: #3655bb !important;
}

.subscription-choice-card--qh .button--secondary .wp-block-button__link:hover,
.subscription-choice-card--qh .button--secondary .wp-block-button__link:focus {
	background-color: #eef2ff !important;
	color: #253ea7 !important;
	border-color: #253ea7 !important;
}

@media (min-width: 1024px) {
	.subscription-choice-card--qh .subscription-choice-card__actions {
		margin-top: 32px;
	}
}

/* ——— Onglets boutique QA (Parrainer + Achats par lots) ——— */
.shop-section-nav__item--brand-qh .shop-section-nav__link {
	color: #3655bb;
}

.shop-section-nav__item--brand-qh .shop-section-nav__link::after {
	background-color: #3655bb !important;
}

.shop-section-nav__item--brand-qh .shop-section-nav__link.is-active {
	color: #3655bb;
	font-weight: 700;
}

.shop-section-nav__item--brand-qh .shop-section-nav__link.is-active::after {
	opacity: 1;
	background-color: #3655bb !important;
}

@media (max-width: 767px) {
	.shop-section-nav__item--brand-qh .shop-section-nav__link.is-active {
		border-color: #3655bb !important;
		color: #3655bb !important;
	}
}

/*
 * Page Achats par lots — forcer le bleu QA.
 * Les règles CHA (.theme-cha.has-press-layout) ont une spécificité plus haute
 * sur les variables --press-* ; on les écrase + boutons en !important.
 */
body.theme-cha.has-press-layout.klay-qh-lots-page,
body.theme-cha.has-press-header.klay-qh-lots-page,
body.theme-cha.has-press-layout.term-achats-par-lots,
body.theme-cha.has-press-header.term-achats-par-lots,
body.klay-qh-lots-page,
body.term-achats-par-lots {
	--press-accent: #3655bb !important;
	--press-accent-hover: #253ea7 !important;
	--press-accent-hover-strong: #1f3490 !important;
	--press-cta-bg: #3655bb !important;
	--press-cta-hover: #253ea7 !important;
}

body.klay-qh-lots-page .header--shop .header__title::after,
body.klay-qh-lots-page .header__title::after,
body.term-achats-par-lots .header--shop .header__title::after,
body.term-achats-par-lots .header__title::after {
	background-color: #3655bb !important;
}

body.klay-qh-lots-page .breadcrumbs .breadcrumb_last,
body.klay-qh-lots-page .woocommerce-breadcrumb .breadcrumb_last,
body.term-achats-par-lots .breadcrumbs .breadcrumb_last,
body.term-achats-par-lots .woocommerce-breadcrumb .breadcrumb_last {
	color: #3655bb !important;
}

body.klay-qh-lots-page .wp-block-button.button--primary .wp-block-button__link,
body.klay-qh-lots-page .wp-block-button .wp-block-button__link.add_to_cart_button,
body.klay-qh-lots-page .card-product .wp-block-button__link,
body.klay-qh-lots-page a.add_to_cart_button,
body.term-achats-par-lots .wp-block-button.button--primary .wp-block-button__link,
body.term-achats-par-lots .wp-block-button .wp-block-button__link.add_to_cart_button,
body.term-achats-par-lots .card-product .wp-block-button__link,
body.term-achats-par-lots a.add_to_cart_button,
body.theme-cha.klay-qh-lots-page .wp-block-button.button--primary .wp-block-button__link,
body.theme-cha.term-achats-par-lots .wp-block-button.button--primary .wp-block-button__link,
body.theme-cha.has-press-layout.klay-qh-lots-page .wp-block-button .wp-block-button__link,
body.theme-cha.has-press-layout.term-achats-par-lots .wp-block-button .wp-block-button__link {
	background-color: #3655bb !important;
	border-color: #3655bb !important;
	color: #fff !important;
}

body.klay-qh-lots-page .wp-block-button.button--primary .wp-block-button__link:hover,
body.klay-qh-lots-page .wp-block-button.button--primary .wp-block-button__link:focus,
body.klay-qh-lots-page .wp-block-button .wp-block-button__link.add_to_cart_button:hover,
body.klay-qh-lots-page .wp-block-button .wp-block-button__link.add_to_cart_button:focus,
body.klay-qh-lots-page a.add_to_cart_button:hover,
body.klay-qh-lots-page a.add_to_cart_button:focus,
body.term-achats-par-lots .wp-block-button.button--primary .wp-block-button__link:hover,
body.term-achats-par-lots .wp-block-button.button--primary .wp-block-button__link:focus,
body.term-achats-par-lots .wp-block-button .wp-block-button__link.add_to_cart_button:hover,
body.term-achats-par-lots .wp-block-button .wp-block-button__link.add_to_cart_button:focus,
body.term-achats-par-lots a.add_to_cart_button:hover,
body.term-achats-par-lots a.add_to_cart_button:focus,
body.theme-cha.has-press-layout.klay-qh-lots-page .wp-block-button .wp-block-button__link:hover,
body.theme-cha.has-press-layout.klay-qh-lots-page .wp-block-button .wp-block-button__link:focus,
body.theme-cha.has-press-layout.term-achats-par-lots .wp-block-button .wp-block-button__link:hover,
body.theme-cha.has-press-layout.term-achats-par-lots .wp-block-button .wp-block-button__link:focus {
	background-color: #253ea7 !important;
	border-color: #253ea7 !important;
	color: #fff !important;
}

/* ——— Page /parrainer/ hors campagne live ——— */
.klay-qh-inactive {
	--klay-qh-accent: #3655bb;
	--klay-qh-ink: #1a1a1a;
	--klay-qh-muted: #5c5c5c;
	--klay-qh-surface: #f7f4f2;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 3rem 1.25rem 4rem;
	box-sizing: border-box;
	background:
		radial-gradient(120% 80% at 10% 0%, rgba(54, 85, 187, 0.12), transparent 55%),
		linear-gradient(180deg, #f7f4f2 0%, #fff 100%);
}

.klay-qh-inactive__inner {
	max-width: 40rem;
	margin: 0 auto;
	text-align: center;
}

.klay-qh-inactive__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--klay-qh-accent);
}

.klay-qh-inactive__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.25;
	color: var(--klay-qh-ink);
}

.klay-qh-inactive__detail {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.5;
	color: var(--klay-qh-muted);
}

/* ——— Menu top : Quart d’heure en bleu QA ——— */
.site-navigation-categories__link.klay-qh-nav-item,
.site-navigation__press-mega-link.klay-qh-nav-item,
.site-navigation a.klay-qh-nav-item {
	color: #3655bb !important;
}

.site-navigation-categories__link.klay-qh-nav-item:hover,
.site-navigation-categories__link.klay-qh-nav-item:focus,
.site-navigation__press-mega-link.klay-qh-nav-item:hover,
.site-navigation__press-mega-link.klay-qh-nav-item:focus,
.site-navigation a.klay-qh-nav-item:hover,
.site-navigation a.klay-qh-nav-item:focus {
	color: #253ea7 !important;
	opacity: 1;
}

.site-navigation-categories__link.klay-qh-nav-item.current-menu-item::after,
.site-navigation-categories__link.klay-qh-nav-item[aria-current="page"]::after {
	background-color: #3655bb !important;
}

/* ——— Home : autopubs campagne ——— */
.page--press-layout__qh-promo {
	margin: 0 0 1.5rem;
}

.page--press-layout__body--with-rail {
	display: block;
}

@media (min-width: 1024px) {
	.page--press-layout__body--with-rail {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 1.5rem;
		align-items: start;
	}

	.page--press-layout__qh-rail {
		position: sticky;
		top: 6.5rem;
	}
}

@media (max-width: 1023px) {
	.page--press-layout__qh-rail {
		display: none;
	}
}

.klay-qh-home-promo {
	--klay-qh-accent: #3655bb;
	--klay-qh-accent-dark: #1e347f;
	--klay-qh-ink: #14203f;
	--klay-qh-muted: #3d4a66;
	--klay-qh-display: "Playfair Display", "Times New Roman", Georgia, serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	border-left: 4px solid var(--klay-qh-accent);
	background: #eef3fb;
	box-shadow: 0 10px 28px rgba(20, 32, 63, 0.08);
}

.klay-qh-home-promo__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.klay-qh-home-promo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Asset is authored with the clock center on the vertical midline. */
	object-position: 50% 50%;
	transform: scale(1.02);
	transition: transform 0.7s ease;
}

.klay-qh-home-promo:hover .klay-qh-home-promo__img {
	transform: scale(1.05);
}

.klay-qh-home-promo__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(250, 251, 253, 0.72) 0%,
			rgba(250, 251, 253, 0.38) 28%,
			rgba(250, 251, 253, 0.05) 52%,
			rgba(250, 251, 253, 0.1) 78%,
			rgba(250, 251, 253, 0.32) 100%
		);
}

.klay-qh-home-promo__content {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 0.4rem 1.35rem;
	padding: 1.35rem 1.45rem 1.45rem;
}

.klay-qh-home-promo__eyebrow {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--klay-qh-accent);
}

.klay-qh-home-promo__title {
	margin: 0;
	max-width: 34rem;
	font-family: var(--klay-qh-display);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--klay-qh-accent-dark);
	text-wrap: balance;
}

.klay-qh-home-promo__text {
	margin: 0;
	max-width: 36rem;
	font-size: 0.95rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--klay-qh-muted);
	text-wrap: pretty;
}

.klay-qh-home-promo__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.65rem;
}

.klay-qh-home-promo .klay-qh-btn {
	border-radius: 0;
	min-height: 2.65rem;
	padding: 0.75rem 1.25rem;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: none;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

/* Primaire : fond bleu, texte blanc — contraste élevé sur le fond photo */
.klay-qh-home-promo .klay-qh-btn--primary {
	background: var(--klay-qh-accent);
	color: #fff;
	border-color: var(--klay-qh-accent);
	box-shadow: 0 8px 20px rgba(54, 85, 187, 0.28);
}

/* Secondaire + ghost : même outline (blanc opaque, filet et texte bleu foncé) */
.klay-qh-home-promo .klay-qh-btn--secondary,
.klay-qh-home-promo .klay-qh-btn--ghost {
	background: #fff;
	color: var(--klay-qh-accent-dark);
	border-color: var(--klay-qh-accent);
}

.klay-qh-home-promo .klay-qh-btn--primary:hover,
.klay-qh-home-promo .klay-qh-btn--primary:focus {
	background: var(--klay-qh-accent-dark);
	border-color: var(--klay-qh-accent-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(30, 52, 127, 0.38);
}

.klay-qh-home-promo .klay-qh-btn--secondary:hover,
.klay-qh-home-promo .klay-qh-btn--secondary:focus,
.klay-qh-home-promo .klay-qh-btn--ghost:hover,
.klay-qh-home-promo .klay-qh-btn--ghost:focus {
	background: var(--klay-qh-accent);
	border-color: var(--klay-qh-accent);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(54, 85, 187, 0.28);
}

.klay-qh-home-promo--banner {
	min-height: 188px;
}

.klay-qh-home-promo--banner .klay-qh-home-promo__img {
	object-position: 52% 50%;
}

@media (min-width: 768px) {
	.klay-qh-home-promo--banner {
		min-height: 228px;
	}

	.klay-qh-home-promo--banner .klay-qh-home-promo__content {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"eyebrow actions"
			"title actions"
			"text actions";
		align-items: center;
		column-gap: 1.75rem;
		padding: 1.35rem 1.55rem 1.4rem 1.6rem;
		min-height: 228px;
	}

	.klay-qh-home-promo--banner .klay-qh-home-promo__eyebrow { grid-area: eyebrow; }
	.klay-qh-home-promo--banner .klay-qh-home-promo__title { grid-area: title; }
	.klay-qh-home-promo--banner .klay-qh-home-promo__text { grid-area: text; }
	.klay-qh-home-promo--banner .klay-qh-home-promo__actions {
		grid-area: actions;
		margin-top: 0;
		flex-direction: column;
		align-items: stretch;
		min-width: 10rem;
		gap: 0.55rem;
	}

	.klay-qh-home-promo--banner .klay-qh-home-promo__actions .klay-qh-btn {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.klay-qh-home-promo--banner .klay-qh-home-promo__scrim {
		background:
			linear-gradient(
				180deg,
				rgba(250, 251, 253, 0.94) 0%,
				rgba(250, 251, 253, 0.86) 55%,
				rgba(250, 251, 253, 0.62) 100%
			);
	}

	.klay-qh-home-promo--banner .klay-qh-home-promo__img {
		object-position: 58% 50%;
		opacity: 0.97;
	}

	.klay-qh-home-promo--banner .klay-qh-home-promo__title {
		font-size: clamp(1.35rem, 6vw, 1.7rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.klay-qh-home-promo__img,
	.klay-qh-home-promo .klay-qh-btn {
		transition: none;
	}

	.klay-qh-home-promo:hover .klay-qh-home-promo__img {
		transform: none;
	}

	.klay-qh-home-promo .klay-qh-btn--primary:hover,
	.klay-qh-home-promo .klay-qh-btn--primary:focus,
	.klay-qh-home-promo .klay-qh-btn--secondary:hover,
	.klay-qh-home-promo .klay-qh-btn--secondary:focus,
	.klay-qh-home-promo .klay-qh-btn--ghost:hover,
	.klay-qh-home-promo .klay-qh-btn--ghost:focus {
		transform: none;
	}
}

.klay-qh-home-promo--rail {
	min-height: 280px;
	border-left-width: 3px;
	box-shadow: 0 6px 18px rgba(20, 32, 63, 0.05);
}

.klay-qh-home-promo--rail .klay-qh-home-promo__img {
	object-position: center 72%;
	transform: none;
	opacity: 0.85;
}

.klay-qh-home-promo--rail:hover .klay-qh-home-promo__img {
	transform: none;
	opacity: 0.92;
}

.klay-qh-home-promo--rail .klay-qh-home-promo__scrim {
	background:
		linear-gradient(
			180deg,
			rgba(252, 253, 255, 0.96) 0%,
			rgba(252, 253, 255, 0.88) 38%,
			rgba(252, 253, 255, 0.35) 72%,
			rgba(252, 253, 255, 0.55) 100%
		);
}

.klay-qh-home-promo--rail .klay-qh-home-promo__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 280px;
	padding: 1.05rem 0.95rem 1.1rem;
	gap: 0.3rem;
}

.klay-qh-home-promo--rail .klay-qh-home-promo__eyebrow {
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-wrap: balance;
}

.klay-qh-home-promo--rail .klay-qh-home-promo__title {
	font-size: 1.2rem;
	line-height: 1.2;
	max-width: none;
}

.klay-qh-home-promo--rail .klay-qh-home-promo__text {
	max-width: none;
	font-size: 0.88rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--klay-qh-muted);
}

.klay-qh-home-promo--rail .klay-qh-home-promo__actions {
	flex-direction: column;
	align-items: stretch;
	margin-top: auto;
	padding-top: 0.85rem;
	gap: 0.45rem;
}

.klay-qh-home-promo--rail .klay-qh-btn {
	justify-content: center;
	text-align: center;
	min-height: 2.35rem;
	padding: 0.55rem 0.9rem;
	font-size: 0.78rem;
	box-shadow: none;
}

.klay-qh-home-promo--rail .klay-qh-btn--primary {
	box-shadow: none;
}

.klay-qh-home-promo--rail .klay-qh-btn--primary:hover,
.klay-qh-home-promo--rail .klay-qh-btn--primary:focus,
.klay-qh-home-promo--rail .klay-qh-btn--secondary:hover,
.klay-qh-home-promo--rail .klay-qh-btn--secondary:focus,
.klay-qh-home-promo--rail .klay-qh-btn--ghost:hover,
.klay-qh-home-promo--rail .klay-qh-btn--ghost:focus {
	transform: none;
	box-shadow: none;
}

.klay-qh-home-promo__more {
	appearance: none;
	margin: 0.15rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--klay-qh-accent);
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.klay-qh-home-promo__more:hover,
.klay-qh-home-promo__more:focus {
	color: var(--klay-qh-accent-dark);
}

/* Alerte livraison décembre (boutique lots) */
.klay-qh-lots-disclaimer {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	background: #fff8e8;
	border-left: 4px solid #c9891a;
}

.klay-qh-lots-disclaimer__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #4a3a14;
}

.klay-qh-lots-disclaimer--shop {
	max-width: none;
}

/*
 * Largeur = zone contenu (.content-wrapper a déjà max-width + marges via @mixin grid).
 * Span 12 dans cette grille, pas full-viewport hors wrapper.
 */
.woocommerce .content-wrapper > .klay-qh-lots-disclaimer,
.woocommerce .content-wrapper > .klay-qh-lots-disclaimer-banner,
.woocommerce .content-wrapper > .woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer),
.page-shop .content-wrapper > .klay-qh-lots-disclaimer,
.page-shop .content-wrapper > .klay-qh-lots-disclaimer-banner,
.page-shop .content-wrapper > .woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer),
.page-archive-product .content-wrapper > .klay-qh-lots-disclaimer,
.page-archive-product .content-wrapper > .klay-qh-lots-disclaimer-banner,
.page-archive-product .content-wrapper > .woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer),
body.term-achats-par-lots .content-wrapper > .klay-qh-lots-disclaimer,
body.term-achats-par-lots .content-wrapper > .klay-qh-lots-disclaimer-banner,
body.term-achats-par-lots .content-wrapper > .woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer),
body.klay-qh-lots-page .content-wrapper > .klay-qh-lots-disclaimer,
body.klay-qh-lots-page .content-wrapper > .klay-qh-lots-disclaimer-banner,
body.klay-qh-lots-page .content-wrapper > .woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) {
	grid-column: 1 / span 12 !important;
	grid-column-start: 1 !important;
	grid-column-end: span 12 !important;
	grid-row: 1 !important;
	width: auto !important;
	max-width: none !important;
	justify-self: stretch;
	box-sizing: border-box;
}

body.term-achats-par-lots .content-wrapper > .products-wrapper,
body.klay-qh-lots-page .content-wrapper > .products-wrapper {
	grid-row: 2 !important;
}

/* Notice WC qui encapsule l’alerte (fallback sans page.lots_disclaimer) */
.woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) .woocommerce-info,
.woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) .woocommerce-message,
body.klay-qh-lots-page .woocommerce-notices-wrapper .woocommerce-info:has(.klay-qh-lots-disclaimer),
body.klay-qh-lots-page .woocommerce-notices-wrapper .woocommerce-message:has(.klay-qh-lots-disclaimer),
body.term-achats-par-lots .woocommerce-notices-wrapper .woocommerce-info:has(.klay-qh-lots-disclaimer),
body.term-achats-par-lots .woocommerce-notices-wrapper .woocommerce-message:has(.klay-qh-lots-disclaimer) {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 1.25rem !important;
	list-style: none !important;
	color: inherit !important;
	width: 100% !important;
	max-width: none !important;
}

.woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) .woocommerce-info::before,
.woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) .woocommerce-message::before {
	display: none !important;
}

.woocommerce-notices-wrapper:has(.klay-qh-lots-disclaimer) li {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}
