/* Header B — widget cwb-header-b */
.cwb-hb {
	--cream: #FBF7F2;
	--cream-deep: #F3EDE4;
	--ink: #3A2F28;
	--ink-soft: #5C5047;
	--muted: #8A7E74;
	--sage: #6E7F6B;
	--sage-deep: #556352;
	--line: rgba(58, 47, 40, 0.12);
	font-family: "Outfit", system-ui, sans-serif;
	color: var(--ink);
	background: #fff;
	position: relative;
	z-index: 100;
}
.cwb-hb *,
.cwb-hb-search * {
	box-sizing: border-box;
}
html body .cwb-hb a {
	text-decoration: none;
	color: inherit;
}
.cwb-hb__trust-desktop {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 9px 28px;
	background: var(--cream-deep);
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	color: var(--ink-soft);
	white-space: nowrap;
}
.cwb-hb__trust-desktop span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 1;
	justify-content: center;
}
.cwb-hb__rotator {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 6px 0 8px;
	background: var(--cream-deep);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.cwb-hb__rotator-track {
	position: relative;
	width: 100%;
	height: 24px;
}
.cwb-hb__rotator-track span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 16px;
	font-size: 12.5px;
	color: var(--ink-soft);
	white-space: nowrap;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.45s ease, transform 0.45s ease;
	pointer-events: none;
}
.cwb-hb__rotator-track span.is-active {
	opacity: 1;
	transform: translateY(0);
}
.cwb-hb__dots {
	display: flex;
	gap: 5px;
	margin-top: 2px;
	height: 6px;
	align-items: center;
}
.cwb-hb__dots i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(58, 47, 40, 0.22);
	display: block;
	transition: 0.25s;
}
.cwb-hb__dots i.is-on {
	background: var(--sage-deep);
	transform: scale(1.25);
}
.cwb-hb__main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 14px 28px 16px;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 3;
}
.cwb-hb__nav {
	display: flex;
	align-items: center;
	gap: 26px;
}
.cwb-hb__nav--left {
	justify-content: flex-end;
	padding-right: 36px;
}
.cwb-hb__nav--right {
	justify-content: flex-start;
	padding-left: 36px;
	flex: 1;
}
.cwb-hb__item {
	position: relative;
}
html body .cwb-hb__nav > a,
html body .cwb-hb__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 4px;
	font-size: var(--cwb-hb-nav-size, 16px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--sage-deep);
}
html body .cwb-hb__nav > a:hover,
html body .cwb-hb__nav > a:focus,
html body .cwb-hb__link:hover,
html body .cwb-hb__link:focus {
	color: var(--ink);
}
.cwb-hb__nav > a::after,
.cwb-hb__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.cwb-hb__nav > a:hover::after,
.cwb-hb__nav > a[aria-current="page"]::after,
.cwb-hb__link:hover::after,
.cwb-hb__link[aria-current="page"]::after {
	transform: scaleX(1);
}
.cwb-hb__chevron {
	flex: 0 0 auto;
	display: block;
	color: currentColor;
	opacity: 0.72;
	transition: transform 0.2s ease;
}
.cwb-hb__item:hover > .cwb-hb__link .cwb-hb__chevron,
.cwb-hb__item:focus-within > .cwb-hb__link .cwb-hb__chevron {
	transform: rotate(180deg);
}
.cwb-hb__submenu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 220px;
	padding: 10px 0;
	background: #fff;
	border: 1px solid var(--line, #E8D5C4);
	border-radius: 10px;
	box-shadow: 0 14px 36px rgba(58, 47, 40, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 40;
}
.cwb-hb__item:hover > .cwb-hb__submenu,
.cwb-hb__item:focus-within > .cwb-hb__submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
html body .cwb-hb__submenu a {
	display: block;
	padding: 10px 18px;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: none;
	font-weight: 500;
	color: var(--ink, #3A2F28);
	white-space: nowrap;
}
html body .cwb-hb__submenu a:hover,
html body .cwb-hb__submenu a:focus,
html body .cwb-hb__submenu a[aria-current="page"] {
	color: var(--cwb-accent, #C28B6B);
	background: rgba(194, 139, 107, 0.08);
}
.cwb-hb__submenu a::after {
	display: none;
}
.cwb-hb__brand {
	display: grid;
	place-items: center;
}
.cwb-hb__brand img {
	width: 88px;
	height: auto;
	display: block;
}
.cwb-hb__brand small {
	margin-top: 2px;
	font-family: "Ysabeau Infant", Georgia, serif;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}
.cwb-hb__right {
	display: flex;
	align-items: center;
	width: 100%;
}
.cwb-hb__utils {
	display: flex;
	gap: 4px;
	margin-left: auto;
	align-items: center;
}
.cwb-hb__icon {
	--cwb-hb-icon-size: 28px;
	width: calc(var(--cwb-hb-icon-size) + 12px);
	height: calc(var(--cwb-hb-icon-size) + 12px);
	display: inline-grid;
	place-items: center;
	color: var(--sage-deep);
	/* Neutralise Hello Elementor button:hover { background:#c36 } */
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 8px;
	box-shadow: none !important;
	cursor: pointer;
	position: relative;
	padding: 0;
	line-height: 1;
	text-decoration: none !important;
	transition: color 0.18s ease, background-color 0.18s ease;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
}
.cwb-hb__icon:hover,
.cwb-hb__icon:focus,
.cwb-hb__icon:focus-visible,
.cwb-hb__icon:active {
	/* Défaut : pas de fond rose #c36 — le widget Elementor peut surcharger */
	background-color: transparent !important;
	background-image: none !important;
	color: #C28B6B !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none;
}
.cwb-hb__icon svg {
	width: var(--cwb-hb-icon-size, 28px);
	height: var(--cwb-hb-icon-size, 28px);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}
.cwb-hb__icon .e-font-icon-svg,
.cwb-hb__icon svg:not([viewBox="0 0 24 24"]) {
	fill: currentColor;
	stroke: none;
}
.cwb-hb__icon i,
.cwb-hb__icon .cwb-hb__icon-fa {
	font-size: var(--cwb-hb-icon-size, 28px);
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cwb-hb__burger {
	display: none;
}
.cwb-hb__drawer-wrap {
	display: none;
	position: relative;
	z-index: 2;
}
.cwb-hb.is-menu-open .cwb-hb__drawer-wrap {
	display: block;
}
.cwb-hb__menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
	animation: cwbHbFade 0.22s ease;
}
.cwb-hb__drawer {
	position: relative;
	z-index: 2;
	background: var(--cream);
	border-top: 1px solid var(--line);
	padding: 8px 18px 18px;
	box-shadow: 0 18px 40px rgba(58, 47, 40, 0.18);
}
html body .cwb-hb__drawer > a,
html body .cwb-hb__drawer-row > a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--cwb-hb-nav-size, 16px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.cwb-hb__drawer > a:last-child {
	border-bottom: 0;
}
.cwb-hb__drawer-item {
	border-bottom: 1px solid var(--line);
}
.cwb-hb__drawer-item:last-child {
	border-bottom: 0;
}
.cwb-hb__drawer-row {
	display: flex;
	align-items: center;
	gap: 4px;
}
.cwb-hb__drawer-row > a {
	flex: 1 1 auto;
	border-bottom: 0;
	min-width: 0;
}
.cwb-hb__drawer-toggle {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--ink-soft);
	cursor: pointer;
	padding: 0;
}
.cwb-hb__drawer-toggle .cwb-hb__chevron {
	transition: transform 0.2s ease;
}
.cwb-hb__drawer-item.is-open > .cwb-hb__drawer-row .cwb-hb__chevron {
	transform: rotate(180deg);
}
.cwb-hb__drawer-sub {
	display: flex;
	flex-direction: column;
	padding: 0 0 10px 10px;
}
.cwb-hb__drawer-sub[hidden] {
	display: none;
}
html body .cwb-hb__drawer-sub a {
	display: block;
	padding: 10px 0;
	border-bottom: 0;
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: none;
	font-weight: 500;
	color: var(--ink, #3A2F28);
}
html body .cwb-hb__drawer-sub a:hover,
html body .cwb-hb__drawer-sub a:focus,
html body .cwb-hb__drawer-sub a[aria-current="page"] {
	color: var(--cwb-accent, #C28B6B);
}
.cwb-hb__note {
	display: none;
	padding: 8px 16px;
	background: #3A2F28;
	color: rgba(251, 247, 242, 0.92);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}
.cwb-hb__badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #C28B6B;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	pointer-events: none;
}
.cwb-hb__badge:empty,
.cwb-hb__badge[data-count="0"],
.cwb-hb__badge[hidden] {
	display: none !important;
}

/* Search modal */
.cwb-hb-search {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 10vh 18px 28px;
}
.cwb-hb-search.is-open {
	display: flex;
}
.cwb-hb-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	animation: cwbHbFade 0.22s ease;
}
.cwb-hb-search__panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	background:
		linear-gradient(180deg, rgba(251, 247, 242, 0.55) 0%, rgba(255, 255, 255, 0.96) 42%),
		#fff;
	border: 1px solid var(--line);
	box-shadow: 0 28px 64px rgba(58, 47, 40, 0.2);
	padding: 22px 22px 18px;
	animation: cwbHbUp 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cwb-hb-search__title {
	margin: 0 0 14px;
	font-family: "Ysabeau Infant", Georgia, serif;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 500;
}
.cwb-hb-search__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	background: var(--cream);
	border: 1px solid var(--line);
}
.cwb-hb-search__row > svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	stroke: var(--sage-deep);
	fill: none;
	stroke-width: 1.5;
}
.cwb-hb-search__input {
	flex: 1;
	border: 0;
	outline: 0;
	font: 500 17px/1.35 "Outfit", system-ui, sans-serif;
	color: var(--ink);
	background: transparent;
	min-width: 0;
}
.cwb-hb-search__input::placeholder {
	color: var(--muted);
	font-weight: 400;
}
.cwb-hb-search__close {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--ink-soft);
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
}
.cwb-hb-search__close svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
}
.cwb-hb-search__hint {
	margin: 14px 0 6px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--muted);
}
.cwb-hb-search__results {
	margin-top: 4px;
	max-height: min(52vh, 440px);
	overflow: auto;
}
.cwb-hb-search__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 8px;
	border-bottom: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
}
.cwb-hb-search__item:last-child {
	border-bottom: 0;
}
.cwb-hb-search__item:hover {
	background: rgba(243, 237, 228, 0.55);
}
.cwb-hb-search__thumb {
	width: 56px;
	height: 56px;
	object-fit: cover;
	flex: 0 0 auto;
	background: var(--cream-deep);
	border: 1px solid var(--line);
}
.cwb-hb-search__meta {
	min-width: 0;
	display: grid;
	gap: 5px;
}
.cwb-hb-search__name {
	font-family: "Ysabeau Infant", Georgia, serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cwb-hb-search__price {
	font-family: "Outfit", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #111;
	letter-spacing: 0.01em;
}
.cwb-hb-search__empty,
.cwb-hb-search__loading {
	padding: 18px 8px;
	font-size: 13px;
	color: var(--muted);
}
@keyframes cwbHbFade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes cwbHbUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
	.cwb-hb__trust-desktop {
		display: none;
	}
	.cwb-hb__rotator {
		display: flex;
	}
	.cwb-hb__main {
		grid-template-columns: 40px 1fr auto;
		padding: 12px 16px;
		gap: 8px;
	}
	.cwb-hb__nav,
	.cwb-hb__brand small {
		display: none;
	}
	.cwb-hb__burger {
		display: inline-grid;
	}
	.cwb-hb__brand {
		justify-self: center;
	}
	.cwb-hb__brand img {
		width: 64px;
	}
	.cwb-hb__right {
		width: auto;
	}
	.cwb-hb__nav--right {
		display: none;
	}
	.cwb-hb__note.is-visible {
		display: block;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cwb-hb__rotator-track span,
	.cwb-hb-search__panel,
	.cwb-hb-search__backdrop,
	.cwb-hb__menu-backdrop {
		animation: none;
		transition: none;
	}
}
body.cwb-hb-lock {
	overflow: hidden;
}

/* Mini-panier Elementor hors écran (toggle) — lightbox libre */
.cwb-hb-cart-host {
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	min-height: 0 !important;
}
.cwb-hb-cart-host .elementor-menu-cart__toggle {
	position: fixed !important;
	left: -10000px !important;
	top: 0 !important;
	width: 44px !important;
	height: 44px !important;
	opacity: 0.01 !important;
	z-index: 1 !important;
	margin: 0 !important;
}
.cwb-hb-cart-host .elementor-menu-cart__container {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 2147483600 !important;
	overflow: visible !important;
	opacity: 1 !important;
}
