/* Menu mobile CKWash v2 : barre d'action fixe, vignettes produits, langue en un bouton, acces pro en retrait.
   Tout est conditionne a la classe .ckm2 posee par menu.js : sans le script, le menu d'origine reste intact. */
@media (max-width: 992px) {
	/* Langue : un bouton dans l'en-tete, les six choix dans un bandeau repliable. */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm-head { gap: 8px !important; padding-right: 14px !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm-head-logo { flex: 1 1 auto; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-btn { flex: 0 0 auto; height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #dbe6ee; border-radius: 20px; background: #fff; color: #001a48; font-weight: 700 !important; font-size: 13px !important; line-height: 1 !important; cursor: pointer; white-space: nowrap; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-btn img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; display: block; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-btn i { width: 6px; height: 6px; margin: -3px 2px 0 0; border-right: 2px solid #5b7486; border-bottom: 2px solid #5b7486; transform: rotate(45deg); }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-btn[aria-expanded="true"] { border-color: #3399ff; background: #e6f0ff; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm2-lang-sheet { display: block !important; flex: 0 0 auto !important; width: 100% !important; margin: 0 !important; padding: 10px 16px 12px !important; background: #f4f8fb !important; border-bottom: 1px solid rgba(0, 26, 72, .08) !important; list-style: none; opacity: 1 !important; transform: none !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm2-lang-sheet[hidden] { display: none !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-sheet .ckm-langs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-sheet .ckm-langs-label { display: none; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-sheet .ckm-lang { min-width: 0; min-height: 52px; padding: 7px 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; font-size: 11.5px; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-sheet .ckm-lang img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; display: block; }

	/* Navigation : chevron sur les liens simples. */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > .ck-nav-item:not(.has-children) > .ck-nav-link { justify-content: space-between !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > .ck-nav-item:not(.has-children) > .ck-nav-link::after { content: "" !important; display: block !important; position: static !important; width: 8px; height: 8px; margin-right: 6px; flex: 0 0 auto; background: none !important; border-right: 2px solid #a9bfcd; border-top: 2px solid #a9bfcd; transform: rotate(45deg); }

	/* Vignettes des familles de produits a la place des pictogrammes. */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ck-dropdown li a[data-preview-img] { min-height: 60px !important; padding: 8px 20px 8px 20px !important; font-weight: 600 !important; color: #001a48 !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ck-dropdown li a[data-preview-img] > i { display: none !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-thumb { width: 44px; height: 44px; margin-right: 12px; flex: 0 0 auto; object-fit: contain; padding: 3px; background: #fff; border: 1px solid #e3ebf1; border-radius: 10px; }

	/* Telephone : ligne simple (l'appel se fait depuis la barre du bas). */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm-utils { border-bottom: 0 !important; }

	/* Acces pro : dans le defilement, en retrait. */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.cksquare-mobile-pro-access { position: static !important; bottom: auto !important; margin-top: 0 !important; padding: 14px 20px 18px !important; gap: 10px !important; border-top: 1px solid rgba(0, 26, 72, .08) !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-pro-title { grid-column: 1 / -1; font-weight: 700 !important; font-size: 11px !important; line-height: 1 !important; letter-spacing: .08em; text-transform: uppercase; color: #7185a3; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .cksquare-mobile-pro-access .cksquare-pro-link { height: auto !important; min-height: 42px !important; padding: 8px 10px !important; border-radius: 12px !important; background: #f4f8fb !important; border-color: transparent !important; box-shadow: none !important; color: #0c5895 !important; font-size: 13.5px !important; line-height: 1.15 !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .cksquare-mobile-pro-access .cksquare-pro-label { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; text-align: center; line-height: 1.15 !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ck-widget-mobile-container { display: none !important; }

	/* Barre d'action fixe en bas. */
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm2-actions { position: sticky !important; bottom: 0 !important; z-index: 6 !important; margin: auto 0 0 !important; flex: 0 0 auto !important; width: 100% !important; box-sizing: border-box; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)) !important; background: #fff !important; border-top: 1px solid rgba(0, 26, 72, .08) !important; box-shadow: 0 -8px 20px rgba(0, 26, 72, .08) !important; list-style: none; opacity: 1 !important; transform: none !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions #callback-btn-mobile { display: grid !important; grid-template-columns: auto 1fr; column-gap: 12px !important; row-gap: 2px; align-items: center; justify-content: stretch !important; text-align: left !important; justify-items: start; width: 100% !important; height: auto !important; min-height: 58px !important; margin: 0 !important; padding: 9px 14px !important; border: 0 !important; border-radius: 16px !important; background: linear-gradient(120deg, #0c5895 0%, #1f8fd0 60%, #33a7dd 100%) !important; box-shadow: 0 6px 16px rgba(12, 88, 149, .22) !important; color: #fff !important; font-size: 15.5px !important; font-weight: 700 !important; line-height: 1.2 !important; white-space: normal !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions #callback-btn-mobile img { grid-row: 1 / 3; width: 22px !important; height: 22px !important; padding: 9px; box-sizing: content-box; background: rgba(255, 255, 255, .16); border-radius: 11px; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions .ckm2-cb-sub { font-size: 12px; font-weight: 400; opacity: .9; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-call { display: flex; align-items: center; gap: 8px; padding: 0 18px; border: 1.5px solid #0c5895; border-radius: 16px; background: #fff; color: #0c5895; font-weight: 700 !important; font-size: 15px !important; line-height: 1 !important; text-decoration: none; white-space: nowrap; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-call svg { width: 18px; height: 18px; color: #0c5895; flex: 0 0 18px; }
}

/* Tres petits telephones (moins de 360 px) : barre du bas sur une seule ligne. */
@media (max-width: 359px) {
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm-head { padding-left: 14px !important; padding-right: 8px !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm-head-logo img { height: 32px !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-lang-btn { height: 36px; padding: 0 9px; gap: 6px; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 > li.ckm2-actions { padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important; gap: 8px; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions #callback-btn-mobile { padding: 8px 10px !important; column-gap: 9px !important; font-size: 14.5px !important; min-height: 52px !important; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions #callback-btn-mobile img { padding: 7px; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-actions .ckm2-cb-sub { display: none; }
	html body #ck-custom-header-wrapper .ck-nav-menu.ckm2 .ckm2-call { padding: 0 12px; font-size: 14px !important; gap: 6px; }
}

/* Sur ordinateur, le menu partage la meme liste que le menu mobile : rien de ce que le script ajoute ne doit s'y voir. */
@media (min-width: 993px) {
	#navMenu .ckm2-actions,
	#navMenu .ckm2-lang-sheet,
	#navMenu .ckm2-lang-btn,
	#navMenu .ckm2-thumb,
	#navMenu .ckm2-pro-title,
	#navMenu .ckm2-cb-sub,
	#navMenu .ckm2-call { display: none !important; }
}
