/* ============================================================
   Header Didatec
   ============================================================ */

.wp-block-acf-didatec-header,
.wp-block-acf-didatec-header.alignfull {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.didatec-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	background: #fff;
	box-shadow: none;
}

/* --- Topbar / barre d'annonce --- */
.didatec-header__topbar {
	background: #06053C;
	border-radius: 0 0 8px 8px;
}

.didatec-header__topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
	padding: 8px 60px 8px 32px;
	min-height: 42px;
}

.didatec-header__announcement {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
	justify-content: center;
}

.didatec-header__announcement-text {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.didatec-header__announcement-link {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #4d9fff;
	text-decoration: underline;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.didatec-header__announcement-link:hover {
	opacity: 0.8;
}

.didatec-header__lang {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border-radius: 4px 4px 0 0;
	padding: 4px 12px 10px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	margin-bottom: -10px;
}

.didatec-header__lang-flag {
	font-size: 14px;
	line-height: 1;
}

.didatec-header__lang-code {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #06053C;
	font-weight: 400;
}

.didatec-header__lang-arrow {
	flex-shrink: 0;
}

/* --- Nav principale --- */
.didatec-header__nav-wrapper {
	background: #fff;
}

.didatec-header__nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 32px;
	gap: 32px;
}

/* Sur desktop : burger caché */
.didatec-header__burger {
	display: none;
}

/* Logo + nav gauche */
.didatec-header__logo-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-shrink: 0;
}

.didatec-header__logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Sur desktop le logo est dans le flux normal */
@media (min-width: 1025px) {
	.didatec-header__logo-link {
		margin-right: 0;
	}
}

.didatec-header__logo-img {
	height: 42px;
	width: auto;
	max-width: 210px;
	object-fit: contain;
}

/* Menu */
.didatec-header__menu-list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.didatec-header__menu-item {
	position: relative;
}

.didatec-header__menu-link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #06053C;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	transition: none;
}

/* Pseudo-élément invisible qui réserve la largeur du texte en bold */
.didatec-header__menu-link > span::after {
	content: attr(data-text);
	display: block;
	font-weight: 700;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
}

.didatec-header__menu-link:hover {
	font-weight: 700;
}

.didatec-header__menu-arrow {
	flex-shrink: 0;
	transition: transform 0.2s;
}

.didatec-header__menu-item.has-dropdown.is-open > a > .didatec-header__menu-arrow {
	transform: rotate(180deg);
}

/* Dropdown */
.didatec-header__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	padding: 8px 0 4px;
	background: #fff;
	border: 1px solid rgba(6, 5, 60, 0.1);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(6, 5, 60, 0.12);
	list-style: none;
	margin: 0;
	z-index: 200;
	min-width: 220px;
}

.didatec-header__menu-item.has-dropdown.is-open .didatec-header__dropdown {
	display: block;
}

.didatec-header__dropdown-item {
	padding: 0;
	margin: 0;
	list-style: none;
}

.didatec-header__dropdown-link {
	display: block;
	padding: 10px 20px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #06053C;
	text-decoration: none;
	white-space: nowrap;
}

.didatec-header__dropdown-link:hover {
	background: rgba(6, 5, 60, 0.07);
	color: #06053C;
}

.didatec-header__dropdown-link.is-current {
	color: #06053C;
	font-weight: 600;
}

.didatec-header__menu-item.is-ancestor > .didatec-header__menu-link,
.didatec-header__menu-item.is-current > .didatec-header__menu-link {
	font-weight: 700;
}

/* Dropdown item avec sous-menu */
.didatec-header__dropdown-item.has-submenu {
	position: relative;
}

.didatec-header__dropdown-item.has-submenu > .didatec-header__dropdown-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

/* Pont invisible entre le <li> et le sous-menu pour que le hover ne se coupe pas */
.didatec-header__dropdown-item.has-submenu::after {
	content: '';
	position: absolute;
	top: 0;
	left: 100%;
	width: 8px;
	height: 100%;
}

.didatec-header__submenu-arrow {
	flex-shrink: 0;
	opacity: 0.45;
	display: inline-flex;
	align-items: center;
	transition: transform 0.2s;
}

.didatec-header__submenu-arrow svg {
	width: 6px;
	height: 10px;
	transform: rotate(0deg);
}

.didatec-header__dropdown-item.has-submenu.is-open .didatec-header__submenu-arrow {
	opacity: 1;
}

/* Sous-menu (niveau 3) */
.didatec-header__submenu {
	display: none;
	position: absolute;
	top: -8px;
	left: calc(100% + 8px);
	padding: 8px 0 4px;
	background: #fff;
	border: 1px solid rgba(6, 5, 60, 0.1);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(6, 5, 60, 0.12);
	list-style: none;
	z-index: 300;
	min-width: 220px;
}

.didatec-header__dropdown-item.has-submenu.is-open > .didatec-header__submenu {
	display: block;
}

.didatec-header__submenu-item {
	padding: 0;
	margin: 0;
	list-style: none;
}

.didatec-header__submenu-link {
	display: block;
	padding: 10px 20px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #06053C;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s;
}

.didatec-header__submenu-link:hover {
	background: rgba(6, 5, 60, 0.07);
}

.didatec-header__submenu-link.is-current {
	font-weight: 600;
	color: #E2221B;
}

/* Actions droite */
.didatec-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

/* Barre de recherche */
.didatec-header__search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(6, 5, 60, 0.05);
	backdrop-filter: blur(6px);
	border-radius: 8px;
	padding: 0 12px;
	height: 33px;
	width: 284px;
	gap: 8px;
}

.didatec-header__search-input {
	flex: 1;
	border: none;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: rgba(6, 5, 60, 0.5);
	outline: none;
	min-width: 0;
}

.didatec-header__search-input::placeholder {
	color: rgba(6, 5, 60, 0.5);
}

.didatec-header__search-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.didatec-header__search-btn svg {
	width: 16px;
	height: 16px;
}

/* Bouton contact */
.didatec-header__contact-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 8px;
	background: radial-gradient(ellipse at 10% 10%, #E2221B 0%, #B41A15 100%);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.didatec-header__contact-btn:hover {
	opacity: 0.9;
	color: #fff;
}

.didatec-header__contact-btn svg {
	flex-shrink: 0;
	width: 17px;
	height: 17px;
}

/* Séparateur */
.didatec-header__sep {
	width: 1px;
	height: 20px;
	background: rgba(6, 5, 60, 0.2);
	flex-shrink: 0;
}

/* Icônes */
.didatec-header__icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #06053C;
	text-decoration: none;
	transition: opacity 0.2s;
	position: relative;
}

.didatec-header__icon-btn:hover {
	opacity: 0.7;
}

.didatec-header__icon-btn svg {
	width: 16px;
	height: 16px;
}

.didatec-header__sep {
	display: flex;
	align-items: center;
}

.didatec-header__sep svg {
	width: 1px;
	height: 12px;
}

.didatec-header__menu-arrow {
	display: inline-flex;
	align-items: center;
}

.didatec-header__menu-arrow svg {
	width: 6px;
	height: 10px;
	transform: rotate(90deg);
}

.didatec-header__lang-arrow svg {
	width: 6px;
	height: 10px;
	transform: rotate(90deg);
}

.didatec-header__lang-flag-img {
	width: 20px;
	height: 14px;
	object-fit: contain;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1200px) {
	.didatec-header__search {
		width: 200px;
	}
}

/* ── Burger ───────────────────────────────────────────────── */

.didatec-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	flex-shrink: 0;
}

.didatec-header__burger svg {
	width: 22px;
	height: 22px;
}


/* Barre recherche mobile — cachée par défaut */
.didatec-header__search-mobile {
	display: none;
}

@media (max-width: 1024px) {
	.didatec-header__menu,
	.didatec-header__search,
	.didatec-header__sep--desktop {
		display: none;
	}

	.didatec-header__burger {
		display: flex;
	}

	.didatec-header__logo-img {
		height: 28px;
		max-width: 140px;
	}

	/* Layout mobile : burger | [logo centré] | actions */
	.didatec-header__nav-inner {
		position: relative;
		justify-content: space-between;
		padding: 10px 16px;
		gap: 0;
	}

	.didatec-header__logo-link {
		position: static;
		transform: none;
		margin: 0 auto;
	}

	.didatec-header__burger {
		flex: 0 0 44px;
		justify-content: flex-start;
	}

	.didatec-header__actions {
		flex: 0 0 auto;
		justify-content: flex-end;
		gap: 2px;
	}

	/* Barre recherche sous le header */
	.didatec-header__search-mobile {
		display: block;
		padding: 0 16px 10px;
		border-top: 1px solid rgba(6,5,60,0.06);
	}

	.didatec-header__search-mobile form {
		display: flex;
		align-items: center;
		background: rgba(6,5,60,0.05);
		border-radius: 8px;
		padding: 0 12px;
		height: 36px;
		gap: 8px;
	}

	.didatec-header__search-mobile input {
		flex: 1;
		border: none;
		background: transparent;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		color: rgba(6,5,60,0.5);
		outline: none;
	}

	.didatec-header__search-mobile input::placeholder {
		color: rgba(6,5,60,0.4);
	}

	.didatec-header__search-mobile button {
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
		display: flex;
		align-items: center;
		color: rgba(6,5,60,0.5);
	}

	/* Actions droite compactes */
	.didatec-header__actions {
		gap: 4px;
		z-index: 1;
		overflow: visible;
		flex-shrink: 0;
	}

	.didatec-header__selection-btn {
		display: flex !important;
	}

	/* Bouton contact : fond rouge, icône seule */
	.didatec-header__contact-btn {
		background: #e2221b;
		color: #fff;
		border-radius: 8px;
		padding: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
	}

	.didatec-header__contact-btn span {
		display: none;
	}

	.didatec-header__contact-btn svg * {
		stroke: #fff;
	}

	/* Icônes user et sélection */
	.didatec-header__icon-btn {
		width: 32px;
		height: 32px;
	}

	/* Bouton contact plus compact */
	.didatec-header__contact-btn {
		width: 32px;
		height: 32px;
		padding: 6px;
	}
}

@media (max-width: 480px) {
	/* Sur très petit écran : cacher user, garder contact + sélection */
	a.didatec-header__icon-btn[aria-label="Mon compte"] {
		display: none;
	}
}

/* ── hc-offcanvas-nav — thème Didatec blanc pleine page ────── */

.hc-offcanvas-nav,
.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav .nav-container {
	background: #fff !important;
}

/* Empêche le nav offcanvas de créer une scrollbar horizontale */
.hc-offcanvas-nav .nav-container {
	max-width: 100vw !important;
	overflow-x: hidden !important;
}

/* Bouton fermer natif — caché, remplacé par notre bouton ← Retour manuel */
.hc-offcanvas-nav .nav-close {
	display: none !important;
}

/* Items */
.hc-offcanvas-nav ul {
	padding: 0 !important;
	margin: 0 !important;
}

.hc-offcanvas-nav li {
	border-bottom: none !important;
	margin: 0 !important;
}

.hc-offcanvas-nav .nav-item-wrapper {
	min-height: 0 !important;
}

.hc-offcanvas-nav li a,
.hc-offcanvas-nav li span.nav-item,
.hc-offcanvas-nav .nav-item-link {
	color: #06053c !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	padding: 12px 24px !important;
	border-bottom: none !important;
	min-height: 0 !important;
	height: auto !important;
	line-height: 1.3 !important;
	box-sizing: border-box !important;
}

/* Wrapper interne — pas de hauteur fixe */
.hc-offcanvas-nav .nav-item-wrapper {
	min-height: 0 !important;
	height: auto !important;
	overflow: hidden !important;
}

/* Sous-panneaux imbriqués — height 0 tant que non ouverts (mode overlap) */
.hc-offcanvas-nav li .nav-wrapper {
	height: 0 !important;
	overflow: hidden !important;
}

.hc-offcanvas-nav li.level-open > .nav-wrapper {
	height: 100% !important;
	overflow: visible !important;
}


.hc-offcanvas-nav li a:hover,
.hc-offcanvas-nav li span.nav-item:hover {
	background: rgba(6,5,60,0.03) !important;
	color: #06053c !important;
}

/* Séparateur léger entre items */
.hc-offcanvas-nav li + li {
	border-top: 1px solid rgba(6,5,60,0.07) !important;
}

/* Pas de double séparateur sur le bouton retour */
.hc-offcanvas-nav .nav-back + li {
	border-top: none !important;
}

/* Bouton retour — div.nav-back inséré dans .nav-content (mode overlap) */
.hc-offcanvas-nav div.nav-back,
.hc-offcanvas-nav li.nav-back {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	background: rgba(6,5,60,0.04) !important;
	border-bottom: 1px solid rgba(6,5,60,0.08) !important;
	overflow: visible !important;
	height: auto !important;
	min-height: 0 !important;
}

.hc-offcanvas-nav div.nav-back .nav-item-wrapper,
.hc-offcanvas-nav li.nav-back .nav-item-wrapper {
	visibility: visible !important;
	display: block !important;
	height: auto !important;
	overflow: visible !important;
}

.hc-offcanvas-nav div.nav-back a,
.hc-offcanvas-nav li.nav-back a,
.hc-offcanvas-nav a.nav-back {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center !important;
	color: #06053c !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	padding: 13px 24px !important;
	border-bottom: none !important;
	height: auto !important;
	min-height: 0 !important;
	background: none !important;
	overflow: visible !important;
	clip-path: none !important;
	pointer-events: auto !important;
	text-indent: 0 !important;
	letter-spacing: normal !important;
}

.hc-offcanvas-nav div.nav-back a:hover,
.hc-offcanvas-nav a.nav-back:hover {
	background: rgba(6,5,60,0.06) !important;
}

/* Flèche niveau suivant — sur la même ligne que le lien */
.hc-offcanvas-nav li.nav-parent > .nav-item-wrapper {
	display: flex !important;
	align-items: stretch !important;
	position: relative !important;
}

/* Lien texte — flex 1, z-index normal */
.hc-offcanvas-nav li.nav-parent > .nav-item-wrapper > a.nav-item-link,
.hc-offcanvas-nav li.nav-parent > .nav-item-wrapper > span.nav-item {
	flex: 1 1 auto !important;
	position: relative !important;
	z-index: 1 !important;
}

/* Flèche — cliquable, ouvre le sous-menu via la lib */
.hc-offcanvas-nav a.nav-next {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 44px !important;
	width: 44px !important;
	padding: 0 !important;
	border-left: none !important;
	background: none !important;
	color: rgba(6,5,60,0.35) !important;
	position: relative !important;
	z-index: 12 !important;
	height: auto !important;
	min-height: 0 !important;
	pointer-events: auto !important;
}

.hc-offcanvas-nav a.nav-next > span {
	display: none !important;
}

.hc-offcanvas-nav a.nav-next::after {
	content: '›' !important;
	font-size: 32px !important;
	line-height: 1 !important;
	font-weight: 300 !important;
}

.hc-offcanvas-nav li.nav-parent:hover > .nav-item-wrapper > a.nav-next {
	color: #06053c !important;
}

/* Item actif / sélectionné */
.hc-offcanvas-nav li.nav-item-active > a,
.hc-offcanvas-nav li.nav-item-highlight > a {
	color: #e2221b !important;
	font-weight: 600 !important;
}

/* Item parent quand son sous-menu est ouvert → fond bleu marqué */
.hc-offcanvas-nav li.level-open > a,
.hc-offcanvas-nav li.level-open > span.nav-item {
	background: #06053c !important;
	color: #fff !important;
	font-weight: 700 !important;
	border-left: 4px solid #e2221b !important;
	padding-left: 20px !important;
}

/* Titre du sous-niveau (header du panneau enfant) */
.hc-offcanvas-nav h2 {
	font-family: 'Inter', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: rgba(6,5,60,0.4) !important;
	padding: 18px 24px 14px !important;
	margin: 0 !important;
	border-bottom: 1px solid rgba(6,5,60,0.07) !important;
	background: #fff !important;
}

@media (max-width: 768px) {
	.didatec-header__topbar-inner {
		padding: 8px 16px;
	}
	.didatec-header__announcement-text {
		display: none;
	}
	.didatec-header__nav-inner {
		padding: 12px 16px;
		gap: 12px;
	}
	.didatec-header__actions {
		gap: 8px;
	}
	.didatec-header__contact-btn span {
		display: none;
	}
}

@media (max-width: 480px) {
	.didatec-selection-drawer {
		width: 100%;
	}
}

/* ============================================================
   Sélection — bouton + badge
   ============================================================ */

.didatec-header__selection-btn {
	position: relative;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #06053c;
}

.didatec-header__selection-count {
	position: absolute;
	top: 4px;
	right: 4px;
	background: #e2221b;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 9px;
	font-weight: 700;
	min-width: 15px;
	height: 15px;
	border-radius: 10px;
	padding: 0 3px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
}

/* ============================================================
   Overlay
   ============================================================ */

.didatec-selection-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6,5,60,0.35);
	z-index: 1998;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s;
}

.didatec-selection-overlay.is-open {
	opacity: 1;
	pointer-events: all;
}

/* ============================================================
   Drawer
   ============================================================ */

.didatec-selection-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 400px;
	max-width: 100vw;
	height: 100dvh;
	background: #fff;
	z-index: 1999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
	box-shadow: -2px 0 32px rgba(6,5,60,0.14);
}

.didatec-selection-drawer.is-open {
	transform: translateX(0);
}

/* Header drawer */
.didatec-selection-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid rgba(6,5,60,0.08);
	flex-shrink: 0;
}

.didatec-selection-drawer__titre {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(6,5,60,0.45);
	margin: 0;
}

.didatec-selection-drawer__count-label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #06053c;
	font-weight: 600;
}

.didatec-selection-drawer__header-left {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.didatec-selection-drawer__close {
	background: rgba(6,5,60,0.06);
	border: none;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #06053c;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	flex-shrink: 0;
}

.didatec-selection-drawer__close:hover {
	background: rgba(6,5,60,0.12);
}

/* Body drawer */
.didatec-selection-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(6,5,60,0.12) transparent;
}

.didatec-selection-drawer__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1;
	color: rgba(6,5,60,0.35);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	text-align: center;
	padding: 48px 24px;
	margin: 0;
}

/* Item machine */
.didatec-selection-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(6,5,60,0.02);
	border: 1px solid rgba(6,5,60,0.07);
	transition: border-color 0.15s;
}

.didatec-selection-item:hover {
	border-color: rgba(6,5,60,0.14);
}

.didatec-selection-item__img-wrap {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: #f3f3f8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.didatec-selection-item__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
	box-sizing: border-box;
}

.didatec-selection-item__info {
	flex: 1;
	min-width: 0;
}

.didatec-selection-item__ref {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #e2221b;
	display: block;
	margin-bottom: 2px;
}

.didatec-selection-item__nom {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #06053c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.didatec-selection-item__link {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	color: rgba(6,5,60,0.45);
	text-decoration: none;
	display: block;
	margin-top: 2px;
	transition: color 0.15s;
}

.didatec-selection-item__link:hover {
	color: #06053c;
}

.didatec-selection-item__remove {
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(6,5,60,0.3);
	padding: 6px;
	flex-shrink: 0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s, background 0.2s;
}

.didatec-selection-item__remove:hover {
	color: #e2221b;
	background: rgba(226,34,27,0.08);
}

/* Footer */
.didatec-selection-drawer__footer {
	padding: 16px 16px 20px;
	border-top: 1px solid rgba(6,5,60,0.08);
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}

.didatec-selection-drawer__btn-devis {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	background: radial-gradient(ellipse at 10% 10%, #e2221b 0%, #b41a15 100%);
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 10px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.didatec-selection-drawer__btn-devis:hover {
	opacity: 0.9;
	color: #fff;
}

.didatec-selection-drawer__btn-clear {
	background: none;
	border: none;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: rgba(6,5,60,0.4);
	text-align: center;
	padding: 6px;
	transition: color 0.2s;
	text-decoration: none;
}

.didatec-selection-drawer__btn-clear:hover {
	color: rgba(6,5,60,0.7);
}
