/***** gestion des cookies : bandeau, préférences, cartes en attente d'accord *****/

/* bouton « Cookies » du pied de page : même aspect que les liens voisins */
.rgpdOpenCookieSettingsBtn 			{ padding: 0; border: 0; background: none; font: inherit; color: rgba(251,248,243,0.72); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;}
.rgpdOpenCookieSettingsBtn:hover 	{ color: var(--bgColorLight);}

/* bandeau (bas de page) */
.cookie_banner 						{ position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: 1100px; margin: 0 auto; padding: 22px 28px; border: 1px solid var(--borderColor); border-radius: var(--imgRadius); background: var(--bgColorLight); color: var(--textColor); box-shadow: 0 12px 40px rgba(36,29,66,0.22);}
.cookie_banner .cb_txt 				{ flex: 1 1 380px; min-width: 0;}
.cookie_banner h2 					{ font: 600 22px/26px var(--fontTitle); color: var(--mainColor1);}
.cookie_banner p 					{ margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--textSoft);}
.cookie_banner a 					{ color: var(--mainColor2); text-decoration: underline;}
.cookie_banner .cb_actions 			{ display: flex; flex-wrap: wrap; gap: 10px;}
.cookie_banner .link 				{ min-height: 46px; padding: 0 18px; font-size: 15px;}

/* fenêtre de préférences */
.cookie_prefs 						{ width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 32px; border: 0; border-radius: var(--imgRadius); background: var(--bgColorLight); color: var(--textColor); overflow-y: auto; box-sizing: border-box;}
.cookie_prefs *, .cookie_prefs *:before, .cookie_prefs *:after { box-sizing: border-box;}
.cookie_prefs::backdrop 			{ background: rgba(36,29,66,0.42);}
.cookie_prefs h2 					{ padding-right: 40px; font: 600 30px/34px var(--fontTitle); color: var(--mainColor1);}
.cookie_prefs .cp_close 			{ position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--borderColor); border-radius: var(--linkRadius); background: var(--bgColorLight); color: var(--textColor); font-size: 26px; line-height: 1; cursor: pointer;}
.cookie_prefs .cp_intro 			{ margin-top: 10px; font-size: 15px; line-height: 23px; color: var(--textSoft);}
.cookie_prefs .cp_item 				{ display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--borderColor);}
.cookie_prefs .cp_item h3 			{ font: 600 17px/24px var(--fontBody); color: var(--textColor);}
.cookie_prefs .cp_item h3 label 	{ cursor: pointer;}
.cookie_prefs .cp_item p 			{ margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--textMuted);}
.cookie_prefs .cp_fixed 			{ flex: none; font-size: 13px; line-height: 24px; font-weight: 500; color: var(--mainColor1);}
.cookie_prefs input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--mainColor1); cursor: pointer;}
.cookie_prefs .cp_actions 			{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;}
.cookie_prefs .cp_actions .link 	{ min-height: 46px; padding: 0 18px; font-size: 15px;}
.cookie_prefs .cp_more 				{ margin-top: 20px; font-size: 13px;}
.cookie_prefs .cp_more a 			{ color: var(--mainColor2); text-decoration: underline;}

/* cartes Google Maps : espace réservé tant que le visiteur n'a pas donné son accord */
.map .map_consent 					{ position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; background: var(--bgColorAlt);}
.map .map_consent p 				{ display: block; margin: 0; max-width: 420px; font-size: 14px; line-height: 21px; color: var(--textSoft);}
.map .map_consent p b 				{ font: 600 20px/24px var(--fontTitle); color: var(--mainColor1);}
.map .map_consent .link 			{ margin-top: 6px; min-height: 46px;}
.map .map_always 					{ padding: 8px; border: 0; background: none; font: 400 14px/20px var(--fontBody); color: var(--mainColor2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;}

@media (max-width:700px) {
.cookie_banner 						{ left: 8px; right: 8px; bottom: 8px; padding: 18px 16px;}
.cookie_banner .cb_actions 			{ flex-direction: column; width: 100%;}
.cookie_banner .link 				{ width: 100%;}
.cookie_prefs 						{ padding: 24px 20px;}
.cookie_prefs .cp_actions .link 	{ width: 100%;}
}
