/* Paris Affaires – en-tête 2026. Rouge #DC000C, charbon #1A1A1A. Structure : Header builder WoodMart (pa_header_2026). */
.whb-pa_header_2026 {
	--pa-red: #DC000C;
	--pa-red-dark: #B8000A;
	--pa-ink: #1A1A1A;
	--pa-muted: #6B6B70;
	--pa-line: #E9E9EB;
	--pa-field: #D6D6DA;
}

/* ---------- Rangée principale ---------- */
.whb-pa_header_2026 .whb-general-header { border-bottom: 1px solid var(--pa-line); }
.whb-pa_header_2026 .whb-general-header .whb-flex-row { gap: 32px; }
.whb-pa_header_2026 .whb-column8 { flex: 0 0 auto; }
.whb-pa_header_2026 .whb-column8 .wd-logo img { display: block; width: 148px; max-width: none !important; height: auto !important; max-height: none !important; object-fit: contain; aspect-ratio: 720 / 352; transition: width .2s ease; }
.whb-pa_header_2026.whb-sticked .whb-column8 .wd-logo img { width: 116px; }
.whb-pa_header_2026 .whb-column9 { flex: 1 1 auto; min-width: 0; }
.whb-pa_header_2026 .whb-column10 { flex: 0 0 auto; gap: 4px; }

/* Recherche */
.whb-pa_header_2026 .wd-header-search-form { width: 100%; max-width: 680px; margin-inline: auto; }
.whb-pa_header_2026 .wd-header-search-form form.searchform { --wd-form-height: 46px; --wd-form-brd-radius: 10px; }
.whb-pa_header_2026 .wd-header-search-form input[type="text"].s {
	height: 46px; padding-left: 18px; padding-right: 100px;
	border: 1px solid var(--pa-field); border-radius: 10px; background: #fff;
	font-family: Lato, sans-serif; font-size: 15px; color: var(--pa-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.whb-pa_header_2026 .wd-header-search-form input[type="text"].s::placeholder { color: #7A7A80; opacity: 1; }
.whb-pa_header_2026 .wd-header-search-form input[type="text"].s:hover { border-color: #B9B9BF; }
.whb-pa_header_2026 .wd-header-search-form input[type="text"].s:focus { border-color: var(--pa-ink); box-shadow: 0 0 0 3px rgba(26, 26, 26, .1); outline: none; }
.whb-pa_header_2026 .wd-header-search-form .searchsubmit {
	top: 4px; right: 4px; bottom: 4px; width: 54px; height: auto;
	border-radius: 7px; background: var(--pa-red); color: #fff;
	transition: background-color .15s ease;
}
.whb-pa_header_2026 .wd-header-search-form .searchsubmit:hover { background: var(--pa-red-dark); }
.whb-pa_header_2026 .wd-header-search-form .searchsubmit:focus-visible { outline: 2px solid var(--pa-ink); outline-offset: 2px; }
.whb-pa_header_2026 .wd-header-search-form .searchsubmit:before { color: #fff; }

/* Résultats de recherche AJAX : au-dessus du contenu, lisibles */
.whb-pa_header_2026 .wd-search-results-wrapper { z-index: 400; }
.whb-pa_header_2026 .wd-dropdown-results { margin-top: 6px; border: 1px solid var(--pa-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); overflow: hidden; }
.wd-dropdown-results .wd-suggestion { padding: 10px 14px; }
.wd-dropdown-results .wd-suggestion-title { font-family: Lato, sans-serif; font-size: 14px; font-weight: 700; color: var(--pa-ink); }
.wd-dropdown-results .wd-suggestion .price { font-size: 14px; color: var(--pa-ink); }
.wd-dropdown-results .wd-suggestion.wd-active, .wd-dropdown-results .wd-suggestion:hover { background: #F5F5F6; }

/* Compte et panier : icônes + libellés */
.whb-pa_header_2026 .whb-column10 .wd-tools-element > a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; border-radius: 10px; color: var(--pa-ink); transition: background-color .15s ease; }
.whb-pa_header_2026 .whb-column10 .wd-tools-element > a:hover { background: #F5F5F6; }
.whb-pa_header_2026 .whb-column10 .wd-tools-element > a:focus-visible { outline: 2px solid var(--pa-ink); outline-offset: 2px; }
.whb-pa_header_2026 .whb-column10 .wd-tools-icon { color: var(--pa-ink); }
.whb-pa_header_2026 .whb-column10 .wd-header-my-account .wd-tools-text {
	display: inline-block !important; margin: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	font-family: Poppins, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.2; text-transform: none; color: var(--pa-ink);
}
.whb-pa_header_2026 .whb-column10 .wd-header-cart .wd-tools-text { display: none !important; }
.whb-pa_header_2026 .whb-column10 .wd-header-cart > a::after { content: "Panier"; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 500; color: var(--pa-ink); }
.whb-pa_header_2026 .wd-header-cart .wd-tools-icon { position: relative; margin-right: 6px; }
.whb-pa_header_2026 .wd-cart-number {
	position: absolute; top: -7px; right: -10px; left: auto; bottom: auto; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--pa-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px;
}
@media (max-width: 1240px) {
	.whb-pa_header_2026 .whb-column10 .wd-header-my-account .wd-tools-text,
	.whb-pa_header_2026 .whb-column10 .wd-header-cart > a::after { display: none !important; }
	.whb-pa_header_2026 .whb-general-header .whb-flex-row { gap: 24px; }
}

/* ---------- Navigation catégories (rouge) ---------- */
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main { gap: 4px; flex-wrap: nowrap; }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li { margin: 0; }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a {
	position: relative; height: 46px; padding: 0 14px;
	font-family: Poppins, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap;
	color: #fff; transition: background-color .15s ease;
}
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a .nav-link-text { text-transform: none; }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
	background: #fff; transform: scaleX(0); transition: transform .2s ease;
}
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a:hover { background: rgba(0, 0, 0, .1); color: #fff; }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a:hover::after,
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li.current-menu-item > a::after,
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li.current-menu-item > a { color: #fff; font-weight: 600; }
.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
@media (max-width: 1180px) and (min-width: 1025px) {
	.whb-pa_header_2026 .whb-header-bottom .wd-nav-main > li > a { padding: 0 9px; font-size: 13px; }
}

/* ---------- Mobile et tablette (< 1025 px) ---------- */
@media (max-width: 1024px) {
	.whb-pa_header_2026 .whb-general-header { border-bottom: 0; }
	.whb-pa_header_2026 .whb-column_mobile3 .wd-logo img { display: block; width: 104px; max-width: none !important; height: auto !important; max-height: none !important; object-fit: contain; aspect-ratio: 720 / 352; }
	.whb-pa_header_2026 .whb-column_mobile2 .wd-tools-element > a,
	.whb-pa_header_2026 .whb-column_mobile4 .wd-tools-element > a { width: 44px; height: 44px; justify-content: center; }
	/* Rangée de recherche pleine largeur (sur fond blanc) */
	.whb-pa_header_2026 .whb-header-bottom { background: #fff !important; border-bottom: 1px solid var(--pa-line); }
	.whb-pa_header_2026 .whb-header-bottom .container { padding-inline: 16px; }
	.whb-pa_header_2026 .whb-column_mobile5 { flex: 1 1 auto; }
	.whb-pa_header_2026 .whb-column_mobile5 .wd-header-search-form { max-width: none; }
	.whb-pa_header_2026 .whb-column_mobile5 input[type="text"].s { height: 44px; font-size: 16px; }
	.whb-pa_header_2026 .whb-column_mobile5 .wd-search-form { position: relative; }
	.whb-pa_header_2026 .whb-column_mobile5 .wd-dropdown-results { left: 0 !important; right: 0 !important; width: auto !important; max-height: 60vh; transform: none !important; }
}

/* Menu mobile coulissant */
.pa-hdr-v2 .mobile-nav .wd-nav-mobile > li > a { min-height: 50px; font-family: Poppins, sans-serif; font-size: 15px; font-weight: 500; text-transform: none; color: #1A1A1A; }
.pa-hdr-v2 .mobile-nav .wd-nav-mobile > li.current-menu-item > a { color: #DC000C; }
.pa-hdr-v2 .mobile-nav .wd-nav-mobile > li > a:focus-visible { outline: 2px solid #1A1A1A; outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
	.whb-pa_header_2026 *, .whb-pa_header_2026 *::after { transition-duration: .01ms !important; }
}
.whb-pa_header_2026 .wd-cart-number.pa-is-empty { display: none !important; }
