/*
 * Habillage de la bannière Complianz aux couleurs du site Nora Filali.
 * Chargé uniquement si Complianz est actif. Aucune modification des fichiers de Complianz :
 * surcharge de ses variables CSS documentées et de ses classes publiques.
 */
.cmplz-cookiebanner.cmplz-cookiebanner,
#cmplz-manage-consent {
	--cmplz_banner_background_color: #f8f3ec;
	--cmplz_banner_border_color: #e6ddd0;
	--cmplz_banner_border_width: 1px;
	--cmplz_banner_border_radius: 18px;
	--cmplz_text_color: #22342a;
	--cmplz_hyperlink_color: #4c5d39;
	--cmplz_text_font_size: 15px;
	--cmplz_title_font_size: 20px;
	--cmplz_link_font_size: 14px;
	--cmplz_category_body_font_size: 14px;
	--cmplz_button_border_radius: 12px;
	--cmplz_button_font_size: 15px;
	--cmplz_button_accept_background_color: #5e7148;
	--cmplz_button_accept_border_color: #5e7148;
	--cmplz_button_accept_text_color: #ffffff;
	--cmplz_button_deny_background_color: #f8f3ec;
	--cmplz_button_deny_border_color: #5e7148;
	--cmplz_button_deny_text_color: #183b2b;
	--cmplz_button_settings_background_color: #f8f3ec;
	--cmplz_button_settings_border_color: #5e7148;
	--cmplz_button_settings_text_color: #183b2b;
	--cmplz_button_revoke_background_color: #f8f3ec;
	--cmplz_button_revoke_border_color: #5e7148;
	--cmplz_button_revoke_text_color: #183b2b;
	--cmplz_category_header_always_active_color: #5e7148;
	--cmplz_category_header_title_font_size: 15px;
	--cmplz_category_header_active_font_size: 13px;
	--cmplz_slider_active_color: #5e7148;
	--cmplz_slider_inactive_color: #c9d3b4;
	--cmplz_slider_bullet_color: #ffffff;
	--cmplz_category_open_icon_color: #183b2b;
}

.cmplz-cookiebanner.cmplz-cookiebanner {
	font-family: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif !important;
	box-shadow: 0 18px 40px -26px rgba(24, 59, 43, .45) !important;
	padding: 22px 24px !important;
	color: #22342a;
}
.cmplz-cookiebanner .cmplz-title {
	font-family: 'NF Serif', 'NF Serif Fallback', Georgia, serif !important;
	font-weight: 560 !important;
	color: #183b2b !important;
	letter-spacing: -.01em;
}
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-message p { color: #22342a !important; line-height: 1.55 !important; }
.cmplz-cookiebanner .cmplz-buttons { gap: 10px !important; }
.cmplz-cookiebanner .cmplz-btn {
	font-family: inherit !important;
	font-weight: 600 !important;
	min-height: 46px !important;
	border-width: 1.5px !important;
	box-shadow: none !important;
	transition: background-color .2s, color .2s;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background-color: #4c5d39 !important; border-color: #4c5d39 !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover { background-color: #e7ead8 !important; }
.cmplz-cookiebanner .cmplz-btn:focus-visible,
.cmplz-cookiebanner a:focus-visible,
.cmplz-cookiebanner .cmplz-close:focus-visible { outline: 3px solid #183b2b !important; outline-offset: 2px !important; }
.cmplz-cookiebanner .cmplz-categories .cmplz-category {
	background: #fbf8f3 !important;
	border: 1px solid #e6ddd0 !important;
	border-radius: 10px !important;
}
.cmplz-cookiebanner .cmplz-links .cmplz-link { color: #4c5d39 !important; text-underline-offset: .2em; }
.cmplz-cookiebanner .cmplz-close { color: #183b2b !important; }

#cmplz-manage-consent .cmplz-manage-consent {
	font-family: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif !important;
	border-radius: 12px 12px 0 0 !important;
	box-shadow: none !important;
}

/* Le bouton WhatsApp flottant reste sous la bannière et ne la masque jamais. */
body:has(.cmplz-cookiebanner.cmplz-show) .nf-float-wa { visibility: hidden !important; opacity: 0 !important; }

@media (max-width: 640px) {
	.cmplz-cookiebanner.cmplz-cookiebanner { border-radius: 18px 18px 0 0 !important; padding: 18px !important; }
}
