/* Riwaq — bouton « Réserver » dans les menus (classe de menu : rq-menu-cta). Chargé partout, très léger.
   Le bouton prend la taille de son texte (avec de l'air), centré, en pilule. */
.menu-item.rq-menu-cta { width: auto !important; align-self: center; flex: none !important; }
/* Le thème met chaque élément du menu en colonne étirée : on centre, le bouton garde la taille de son texte. */
.menu-item.rq-menu-cta, .ct-panel .menu-item.rq-menu-cta { align-items: center !important; }
.menu-item.rq-menu-cta > a,
.menu-item.rq-menu-cta > .ct-menu-link {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: auto !important;
	min-height: 44px; padding: 0 26px !important; border-radius: 999px;
	background: #111c18; color: #fff !important; font-weight: 600; letter-spacing: .01em;
	box-shadow: 0 6px 18px rgba(17, 28, 24, .14);
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
/* Même icône que « Réserver » au centre de la barre du téléphone (22/11/2026) : à la place de la flèche. */
.menu-item.rq-menu-cta > a::before,
.menu-item.rq-menu-cta > .ct-menu-link::before { content: ""; flex: none; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='3'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M12 13v5M9.5 15.5h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='3'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M12 13v5M9.5 15.5h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu-item.rq-menu-cta > a:active,
.menu-item.rq-menu-cta > .ct-menu-link:active { transform: scale(0.97); }
.menu-item.rq-menu-cta > a:focus-visible { outline: 2px solid #bc9b6a; outline-offset: 3px; }

/* Dans le menu hamburger (panneau) : or, centré, un peu plus grand. */
.ct-panel .menu-item.rq-menu-cta { display: flex !important; justify-content: center; margin: 6px auto 14px !important; }
.ct-panel .menu-item.rq-menu-cta > a,
.ct-panel .menu-item.rq-menu-cta > .ct-menu-link { background: #bc9b6a; color: #111c18 !important; min-height: 50px; padding: 0 30px !important; font-size: 1.05em; box-shadow: none; }

/* Le panneau : tout est centré dans la hauteur, plus de bloc collé en haut d'un grand écran. */
#offcanvas .ct-panel-content[data-device="mobile"] { display: flex; flex-direction: column; }
#offcanvas .ct-panel-content[data-device="mobile"] .ct-panel-content-inner { flex: 1 0 auto; justify-content: safe center !important; gap: clamp(18px, 3.2vh, 32px) !important; padding: clamp(24px, 4vh, 48px) 24px !important; }
#offcanvas .ct-panel-content-inner .site-logo-container img, #offcanvas .ct-panel-content-inner .site-logo-container svg { max-height: clamp(56px, 9vh, 84px); width: auto; }
#offcanvas .mobile-menu > ul { display: flex; flex-direction: column; align-items: center; gap: clamp(2px, .6vh, 8px); }
#offcanvas .mobile-menu .menu-item:not(.rq-menu-cta) > .ct-menu-link, #offcanvas .mobile-menu .menu-item:not(.rq-menu-cta) > a { display: inline-flex; min-height: 44px; padding: 4px 10px !important; font-size: clamp(21px, 2.6vh, 27px); font-weight: 500; line-height: 1.2; transition: color 160ms ease; }
#offcanvas .ct-social-box a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; }

/* En-tête : moins haut, logo proportionné à l'écran. --rq-h évite un saut avant que front.js mesure. */
:root { --rq-h: 100px; }
#header [data-row*="middle"] { --height: 100px; }
#header [data-id="logo"] .site-logo-container { --logo-max-height: 76px; }
@media (max-width: 999.98px) {
	:root { --rq-h: 90px; }
	#header [data-row*="middle"] { --height: 90px; }
	#header [data-id="logo"] .site-logo-container { --logo-max-height: 68px; }
	/* Icônes de 24 px, zone de toucher de 44 px. */
	#header .ct-header-trigger, #header .ct-header-search, #header .ct-cart-item, #header .ct-account-item { position: relative; }
	#header .ct-header-trigger::after, #header .ct-header-search::after, #header .ct-cart-item::after, #header .ct-account-item::after { content: ""; position: absolute; inset: -10px; }
	#header .ct-header-search, #header .ct-account-item { margin-inline-start: 10px !important; } /* 20 px entre deux icônes : les zones ne se chevauchent pas. */
}
@media (max-width: 689.98px) {
	:root { --rq-h: 76px; }
	#header [data-row*="middle"] { --height: 76px; }
	#header [data-id="logo"] .site-logo-container { --logo-max-height: 56px; }
}

@media (hover: hover) and (pointer: fine) {
	.menu-item.rq-menu-cta > a:hover, .menu-item.rq-menu-cta > .ct-menu-link:hover { background: #bc9b6a; color: #111c18 !important; box-shadow: 0 10px 24px rgba(188, 155, 106, .30); }
	.ct-panel .menu-item.rq-menu-cta > a:hover, .ct-panel .menu-item.rq-menu-cta > .ct-menu-link:hover { background: #111c18; color: #fff !important; box-shadow: none; }
	#offcanvas .mobile-menu .menu-item:not(.rq-menu-cta) > a:hover { color: #9a7b4d; }
	.menu-item.rq-menu-cta > a:hover::after, .menu-item.rq-menu-cta > .ct-menu-link:hover::after { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
	.menu-item.rq-menu-cta > a, .menu-item.rq-menu-cta > .ct-menu-link, .menu-item.rq-menu-cta > a::after { transition: background-color 180ms ease; }
}

/* Header : même schéma partout. Sur ordinateur, trois pages et le bouton en plus (class-header.php). */
/* Pas de trait sous le header (le même rendu sur téléphone et ordinateur). Il reste en haut quand on fait défiler,
   avec une ombre légère seulement à ce moment-là (classe is-scrolled, posée par un petit script en pied de page). */
header#header.ct-header { position: sticky; top: 0; z-index: 60; }
#header [data-row="middle"] { transition: box-shadow 220ms ease; }
/* L'ombre sous la bande blanche elle-même : sur mobile, le thème réserve plus de hauteur que la bande visible. */
#header.is-scrolled [data-row="middle"] { box-shadow: 0 6px 20px rgba(17, 28, 24, .08); }
body.admin-bar header#header.ct-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header#header.ct-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header#header.ct-header { top: 0; } }
#header .entry-content { padding: 0 !important; margin: 0 !important; }
#header [data-id="logo"] { justify-content: flex-start; }
#header [data-device="mobile"] [data-column="middle"], #header [data-device="mobile"] .ct-header-text { display: flex; align-items: center; align-self: stretch; height: 100%; margin: 0; }
#header [data-device="mobile"] [data-column="end"] [data-items] { gap: 20px; }
#header [data-device="mobile"] [data-column="end"] [data-items] > * { margin: 0 !important; }
#header [data-device="mobile"] [data-column="start"] [data-id="logo"] { transform: translateY(-5px); }
#header .rq-head-nav { display: flex; align-items: center; gap: 3px; padding: 4px; background: #f3ece0; border-radius: 999px; }
#header .rq-head-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; font-size: 15px; color: #111c18; text-decoration: none; border-radius: 999px; transition: background-color 160ms ease, color 160ms ease; }
#header .rq-head-nav a[aria-current] { color: #faf6ef; background: #111c18; }
#header [data-id="button"] .ct-button, #header [data-id="button"] a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; color: #faf6ef; background: #111c18; border: 1px solid #bc9b6a; border-radius: 999px; box-shadow: none; transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	#header .rq-head-nav a:not([aria-current]):hover { background: #e9dfcb; }
	#header [data-id="button"] .ct-button:hover, #header [data-id="button"] a:hover { color: #111c18; background: #bc9b6a; }
}
@media (max-width: 999.98px) {
	#header .ct-header-text, #header [data-id="button"] { display: none !important; }
	#header [data-device="mobile"] [data-column="start"] [data-id="logo"] { transform: translateY(-3px); }
}
/* Recherche en haut du menu. */
.rq-menu-search { width: min(100%, 320px); margin: 0 auto 10px; list-style: none; }
.rq-menu-search form { display: flex; gap: 6px; padding: 5px; background: #faf6ef; border: 1px solid #e9dfcb; border-radius: 999px; }
.rq-menu-search input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; font: inherit; font-size: 16px; color: #111c18; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: 0; }
.rq-menu-search button { flex: none; min-height: 40px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600; color: #faf6ef; background: #111c18; border: 0; border-radius: 999px; cursor: pointer; }

/* ================================================================ Bouton d'action : un seul style partout
   Vert nuit, fin filet or, or au survol. Les pastilles, onglets et boutons secondaires n'en font pas partie. */
html body .menu-item.rq-menu-cta > a,
html body .menu-item.rq-menu-cta > .ct-menu-link,
html body .ct-panel .menu-item.rq-menu-cta > a,
html body .ct-panel .menu-item.rq-menu-cta > .ct-menu-link,
html body #header [data-id="button"] .ct-button,
html body .rq-cta.is-primary,
html body .rq-cta.is-small,
html body .rqw-btn.rqw-primary:not([disabled]),
html body .wc-proceed-to-checkout .checkout-button,
html body #place_order,
html body .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout,
html body .rq-go-space,
html body.rq-fiche .riwaq-cta a.button,
html body.rq-fiche .riwaq-cta-button,
html body .riwaq-btn-dark .wp-block-button__link,
html body .rq-menu-search button,
html body .riwaq-space .rq-btn.rq-primary,
html body .rq-404 button,
html body .woocommerce-cart .return-to-shop .button {
	color: #faf6ef !important; font-weight: 600; background: #111c18 !important; border: 1px solid #bc9b6a !important; border-radius: 999px !important;
	box-shadow: 0 8px 20px rgba(17, 28, 24, .16); transition: background-color 160ms ease, color 160ms ease;
}
html body .menu-item.rq-menu-cta > a::after, html body .menu-item.rq-menu-cta > .ct-menu-link::after { content: none; }
@media (hover: hover) and (pointer: fine) {
	html body .menu-item.rq-menu-cta > a:hover,
	html body .menu-item.rq-menu-cta > .ct-menu-link:hover,
	html body .ct-panel .menu-item.rq-menu-cta > a:hover,
	html body .ct-panel .menu-item.rq-menu-cta > .ct-menu-link:hover,
	html body #header [data-id="button"] .ct-button:hover,
	html body .rq-cta.is-primary:hover,
	html body .rq-cta.is-small:hover,
	html body .rqw-btn.rqw-primary:not([disabled]):hover,
	html body .wc-proceed-to-checkout .checkout-button:hover,
	html body #place_order:hover,
	html body .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout:hover,
	html body .rq-go-space:hover,
	html body.rq-fiche .riwaq-cta a.button:hover,
	html body.rq-fiche .riwaq-cta-button:hover,
	html body .riwaq-btn-dark .wp-block-button__link:hover,
	html body .rq-menu-search button:hover,
	html body .riwaq-space .rq-btn.rq-primary:hover,
	html body .rq-404 button:hover,
	html body .woocommerce-cart .return-to-shop .button:hover { color: #e2c999 !important; background: #1f2f29 !important; border-color: #e2c999 !important; box-shadow: 0 8px 20px rgba(17, 28, 24, .16) !important; transform: none !important; }
}

/* Survol : le bouton reste dans sa famille de couleur. Vert nuit éclairci et or clair, ou sable pour les boutons clairs. */
@media (hover: hover) and (pointer: fine) {
	html body .rq-cta.is-ghost:hover,
	html body.rq-fiche .single_add_to_cart_button:not(.disabled):hover,
	html body .woocommerce-cart-form .coupon .button:hover,
	html body form.checkout_coupon .button:hover,
	html body .ct-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
	html body .riwaq-space .rq-btn:not(.rq-danger):not(.rq-sp-gold):not(.rq-sp-ghost):not(.rq-primary):not(.is-on):hover { color: #111c18 !important; background: #f3ece0 !important; border-color: #bc9b6a !important; transform: none !important; }
}

/* Fiche : deux actions, même forme. Réserver est le bouton sombre, Ajouter au panier le bouton clair. */
html body.rq-fiche form.cart .single_add_to_cart_button, html body.rq-fiche .riwaq-cta-button { min-height: 58px; font-size: 17px !important; font-weight: 600; border-radius: 999px !important; }
html body.rq-fiche form.cart .single_add_to_cart_button:not(.disabled) { color: #111c18 !important; background: #fff !important; border: 1px solid #bc9b6a !important; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
	html body.rq-fiche form.cart .single_add_to_cart_button:not(.disabled):hover { color: #111c18 !important; background: #f3ece0 !important; border-color: #bc9b6a !important; transform: none !important; }
}

/* Recensement du 07/11 : mêmes boutons partout. Sombre pour l'action, clair à filet or pour le second choix. */
html body .wp-block-button:not(.riwaq-btn-gold) .wp-block-button__link,
html body .ct-load-more,
html body .wpforms-submit,
html body .rqw-btn,
html body .rqw-next:not([disabled]),
html body .return-to-shop .button,
html body .wc-backward {
	color: #faf6ef !important; font-weight: 600; background: #111c18 !important; border: 1px solid #bc9b6a !important; border-radius: 999px !important;
	box-shadow: 0 8px 20px rgba(17, 28, 24, .16); transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
html body .riwaq-btn-gold .wp-block-button__link,
html body .rq-filter-btn:not(.is-active) {
	color: #111c18 !important; font-weight: 600; background: #fff !important; border: 1px solid #bc9b6a !important; border-radius: 999px !important;
	box-shadow: none; transition: background-color 160ms ease;
}
html body .rq-filter-btn.is-active, html body .rq-pdf-btn { border-radius: 999px !important; }
/* Sur fond sombre, le bouton d'action reste or. */
html body .riwaq-sec-dark .wp-block-button__link { color: #111c18 !important; background: #bc9b6a !important; border-color: #bc9b6a !important; }
@media (hover: hover) and (pointer: fine) {
	html body .wp-block-button:not(.riwaq-btn-gold) .wp-block-button__link:hover,
	html body .ct-load-more:hover,
	html body .wpforms-submit:hover,
	html body .rqw-btn:hover,
	html body .rqw-next:not([disabled]):hover,
	html body .return-to-shop .button:hover,
	html body .wc-backward:hover { color: #e2c999 !important; background: #1f2f29 !important; border-color: #e2c999 !important; transform: none !important; }
	html body .wp-block-button.riwaq-btn-gold .wp-block-button__link.wp-element-button:hover,
	html body .rq-filter-btn:not(.is-active):hover { color: #111c18 !important; background: #f3ece0 !important; transform: none !important; }
	html body .rq-signs .rq-cta.is-primary:hover, html body .riwaq-sec-dark .wp-block-button__link:hover { color: #111c18 !important; background: #e2c999 !important; border-color: #e2c999 !important; transform: none !important; }
}

/* Numéro WhatsApp des formulaires : indicatif à gauche (notre liste, pas celle du système), numéro à droite (tel.js). */
.rq-tel { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.rq-tel-code { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; font: inherit; color: #111c18; background: #faf6ef; border: 1px solid #e6dccb; border-radius: 12px; cursor: pointer; white-space: nowrap; }
.rq-tel-code span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: #6f6f6a; }
.rq-tel-code i { font-style: normal; color: #8a6d3f; }
.rq-tel-num { width: 100%; min-width: 0; }
.rq-tel-pop { position: absolute; z-index: 80; top: calc(100% + 6px); left: 0; right: 0; }
.rq-tel-veil { display: none; }
.rq-tel-card { display: flex; flex-direction: column; max-height: 340px; background: #fff; border: 1px solid #e6dccb; border-radius: 16px; box-shadow: 0 18px 40px rgba(17, 28, 24, .16); overflow: hidden; }
.rq-tel-head { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid #efe7da; }
.rq-tel-head input { flex: 1; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 16px; background: #faf6ef; border: 1px solid #e6dccb; border-radius: 12px; }
.rq-tel-head button { width: 42px; font-size: 22px; color: #6f6f6a; background: none; border: 0; cursor: pointer; }
.rq-tel-list { overflow-y: auto; padding: 6px; }
.rq-tel-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 8px 12px; font: inherit; text-align: left; color: #111c18; background: none; border: 0; border-radius: 10px; cursor: pointer; }
.rq-tel-opt b { min-width: 52px; font-variant-numeric: tabular-nums; color: #8a6d3f; }
.rq-tel-opt:hover { background: #faf6ef; }
.rq-tel-opt.is-on { color: #faf6ef; background: #111c18; }
.rq-tel-opt.is-on b { color: #e2c799; }
.rq-tel-none { margin: 10px; color: #6f6f6a; }
.rq-tel-title { display: none; }
@media (max-width: 760px) {
	.rq-tel-code span { display: none; }
	.rq-tel-pop { position: fixed; inset: 0; z-index: 100001; } /* Au-dessus de la barre du bas et de la bulle WhatsApp. */
	.rq-tel-veil { display: block; position: absolute; inset: 0; background: rgba(17, 28, 24, .35); }
	.rq-tel-card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 78vh; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
	.rq-tel-opt { min-height: 50px; font-size: 16px; }
	.rq-tel-card .rq-tel-title { display: block; margin: 0; padding: 14px 16px 2px; font-weight: 600; color: #111c18; }
	.rq-tel-title::before { content: ""; display: block; width: 40px; height: 4px; margin: -4px auto 12px; background: #e6dccb; border-radius: 4px; }
}

/* Vérification WhatsApp des formulaires (essai, fatwa) : carte claire, icône, bouton, état « vérifié ». */
.rq-wv {
	margin: 0 0 18px;
	padding: 16px;
	background: #faf6ef;
	border: 1px solid #e6dccb;
	border-radius: 14px;
	transition: border-color 200ms ease, background-color 200ms ease;
}
.rq-wv-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.rq-wv-ico {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #25d366;
}
.rq-wv-head strong { display: block; margin-bottom: 2px; color: var(--theme-palette-color-1, #111c18); font-size: 1em; }
.rq-wv-head p { margin: 0; color: #5c5c57; font-size: .92em; line-height: 1.45; }
.rq-wv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; font: inherit; font-weight: 600; font-size: .95em;
	color: #faf6ef; background: var(--theme-palette-color-1, #111c18);
	border: 1px solid var(--theme-palette-color-1, #111c18); border-radius: 999px; cursor: pointer;
	transition: transform 120ms ease, background-color 200ms ease, color 200ms ease;
}
.rq-wv-btn:hover { background: #25352e; }
.rq-wv-btn:active { transform: scale(.98); }
.rq-wv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rq-wv-msg { margin: 10px 0 0; font-size: .9em; color: #5c5c57; }
.rq-wv-msg:empty { display: none; }
.rq-wv-msg.is-bad { color: #a23b2a; }
.rq-wv-check {
	display: flex !important; align-items: center; gap: 10px; margin: 0 !important;
	font-weight: 400 !important; font-size: .92em; color: #5c5c57 !important; cursor: pointer;
}
.rq-wv-check input {
	appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
	background: #fff; border: 1.5px solid #cbbd9f; border-radius: 6px; cursor: pointer; position: relative;
}
.rq-wv-check input:checked { background: #1f8a55; border-color: #1f8a55; }
.rq-wv-check input:checked::after {
	content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.rq-wv-check input:focus-visible { outline: 2px solid #bc9b6a; outline-offset: 2px; }
/* Vérifié : la carte passe au vert doux, le bouton devient discret. */
.rq-wv.is-ok { background: #eef7f1; border-color: #b7dcc5; }
.rq-wv.is-ok .rq-wv-btn { color: #1f6b44; background: #fff; border-color: #b7dcc5; }
.rq-wv.is-ok .rq-wv-check { color: #1f6b44 !important; }
@media (max-width: 600px) {
	.rq-wv { padding: 14px; }
	.rq-wv-row { flex-direction: column; align-items: stretch; gap: 12px; }
	.rq-wv-btn { width: 100%; }
}

/* Champ fichier des formulaires (pièce jointe de la fatwa) : zone claire, nom du fichier, « Retirer ». */
form .rq-file-title, .rq-file-title { display: block; margin-bottom: 6px; font-weight: 600; color: var(--theme-palette-color-1, #111c18); }
.rq-file-title small { font-weight: 400; color: #8a8a84; }
form label.rq-file, .rq-file { position: relative; display: flex; margin: 0; align-items: center; gap: 12px; padding: 14px 16px; background: #faf6ef; border: 1.5px dashed #d8c9ad; border-radius: 14px; cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; }
.rq-file:hover { border-color: #bc9b6a; }
.rq-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rq-file:focus-within { outline: 2px solid #bc9b6a; outline-offset: 2px; }
.rq-file-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #8a6d3f; background: #fff; border: 1px solid #e6dccb; border-radius: 50%; }
.rq-file-txt { display: flex; flex-direction: column; min-width: 0; }
.rq-file-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #111c18; font-weight: 600; }
.rq-file-txt small { color: #6f6f6a; font-size: .88em; line-height: 1.4; }
.rq-file.is-on { background: #eef7f1; border-style: solid; border-color: #b7dcc5; }
.rq-file.is-on .rq-file-ico { color: #1f6b44; border-color: #b7dcc5; }
.rq-file-x { margin-top: 8px; padding: 0; font: inherit; font-size: .9em; color: #a23b2a; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.rq-file-msg { margin: 8px 0 0; font-size: .9em; color: #6f6f6a; }
.rq-file-msg:empty { display: none; }
.rq-file-msg.is-bad { color: #a23b2a; }

@media (max-width: 600px) {
	.rq-wv { padding: 14px; }
	.rq-wv-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.rq-wv-ico { width: 32px; height: 32px; }
}

/* Bouton « Réserver un cours » de l'en-tête (thème) : la même icône que « Réserver » sur téléphone (22/11/2026).
   Sur ::after placé en premier (order) : le fond du bouton est imposé par la règle commune ci-dessus. */
html body #header [data-id="button"] .ct-button::after { content: ""; order: -1; position: static !important; flex: none; width: 18px; height: 18px; margin-inline-end: 8px; opacity: 1 !important; transform: none !important; background-color: currentColor !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='3'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M12 13v5M9.5 15.5h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='3'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M12 13v5M9.5 15.5h5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Écran de 1000 à 1199 px : le menu centré et le bouton se chevauchaient (remarque du propriétaire, 23/11/2026).
   Le bouton ne garde que l'icône calendrier, dans un rond, comme au centre de la barre du téléphone. Le mot reste
   pour les lecteurs d'écran (taille 0). Dès 1200 px : icône et texte. */
@media (min-width: 1000px) and (max-width: 1199.98px) {
	html body #header [data-id="button"] .ct-button { font-size: 0 !important; gap: 0 !important; width: 44px; min-width: 44px; padding: 0 !important; justify-content: center; }
	html body #header [data-id="button"] .ct-button::after { margin: 0 !important; width: 20px; height: 20px; }
}
