/* En-tête : barre du haut sombre, ligne logo / menu en pastille / icônes, déroulants simples. Chargé en dernier. */
.mbtb-hdr { --h-blue: #2688e6; --h-blue-d: #1969b3; --h-ink: #212529; --h-soft: #eef3f9; }

/* ----- barre du haut ----- */
.mbtb-hdr__ann.dkh-top { height: auto !important; overflow: visible !important; background: #212529 !important; color: #fff !important; font-size: 13px; }
.dkh-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1320px; margin: 0 auto; padding: 7px 24px; }
.dkh-top__links { display: flex; align-items: center; gap: 12px; }
.dkh-top__links a { color: #fff; text-decoration: none; font-weight: 500; }
.dkh-top__links a:hover { text-decoration: underline; }
.dkh-top__links span { opacity: .5; }
.dkh-top__usp { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.dkh-top__usp li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.dkh-top__usp svg { opacity: .85; }
.dkh-top__lang .dkh-hl { display: flex; gap: 6px; }
.dkh-top__lang .dkh-hl__i { color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: transparent !important; }
.dkh-top__lang .dkh-hl__i.is-on { background: rgba(255,255,255,.14) !important; }
@media (max-width: 999px) { .dkh-top__usp, .dkh-top__links { display: none; } .dkh-top__in { justify-content: center; padding: 6px 12px; } }

/* ----- ligne principale ----- */
.mbtb-hdr__bar { background: #fff !important; box-shadow: 0 1px 0 #e5e9ee; }
@media (min-width: 1000px) {
  .mbtb-hdr__inner { display: flex !important; align-items: center; gap: 28px !important; max-width: 1320px; min-height: 0 !important; margin: 0 auto; padding: 14px 24px; }
  .mbtb-hdr__logo { position: static !important; transform: none !important; max-width: none !important; flex: none; }
  .mbtb-hdr__logo-text { font-family: inherit; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--h-blue-d); }
  .mbtb-hdr__nav--main { display: flex !important; flex: 1; justify-content: center; justify-self: auto; }
  .mbtb-hdr__list { display: flex; align-items: center; gap: 2px !important; padding: 6px 10px; background: var(--h-soft); border-radius: 14px; }
  .mbtb-hdr__item { position: relative; }
  .mbtb-hdr__link { display: flex !important; align-items: center; gap: 8px; padding: 10px 14px !important; border-radius: 10px; font-size: 16px !important; font-weight: 500; color: var(--h-ink) !important; white-space: nowrap; transition: background .15s, color .15s; }
  .mbtb-hdr__item:hover > .mbtb-hdr__link, .mbtb-hdr__item:focus-within > .mbtb-hdr__link { background: #fff; color: var(--h-blue-d) !important; }
  .dkh-nav__ico { flex: none; }
  .dkh-nav__chev { flex: none; opacity: .7; margin-left: -2px; }
  .mbtb-hdr__end { margin-left: auto; }
  .mbtb-hdr__tools { gap: 6px; }
  .mbtb-hdr__tool { color: var(--h-ink); }

  /* recherche : simple icône qui s'ouvre au survol ou au clic */
  .mbtb-hdr__tool--search.tk-search { width: 40px !important; min-width: 0 !important; max-width: 40px; padding: 0 !important; background: transparent !important; overflow: visible; transition: max-width .2s, width .2s; }
  .mbtb-hdr__tool--search .tk-search__input { opacity: 0; width: 0 !important; padding: 0 !important; }
  .mbtb-hdr__tool--search.tk-search:hover, .mbtb-hdr__tool--search.tk-search:focus-within { width: 280px !important; max-width: 280px; padding: 0 12px !important; background: var(--h-soft) !important; border-radius: 999px; }
  .mbtb-hdr__tool--search.tk-search:hover .tk-search__input, .mbtb-hdr__tool--search.tk-search:focus-within .tk-search__input { opacity: 1; width: 100% !important; padding: 0 8px !important; }

  /* déroulants : liste simple sous l'entrée, sans grande surface ni vignettes */
  .mbtb-hdr__nav--main .mbtb-hdr__drop.mbtb-hdr__mega { position: absolute !important; top: 100% !important; left: 0 !important; right: auto !important; width: 270px !important; min-width: 0; padding: 8px !important; background: #fff; border: 1px solid #e5e9ee; border-radius: 12px; box-shadow: 0 14px 34px rgba(33,37,41,.14); transform: none !important; }
  .mbtb-hdr__mega-in { display: block !important; padding: 0 !important; max-width: none !important; }
  .mbtb-hdr__mega-tiles, .mbtb-hdr__mega-h { display: none !important; }
  .mbtb-hdr__mega-col ul { display: block !important; }
  .mbtb-hdr__mega-col ul a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--h-ink); text-decoration: none; }
  .mbtb-hdr__mega-col ul a:hover { background: var(--h-soft); color: var(--h-blue-d); text-decoration: none; transform: none; }
  .mbtb-hdr__mega-col li { transform: none !important; }
  .mbtb-hdr__mega-all { display: block !important; margin: 4px 0 0 !important; padding: 10px 14px; border: 0 !important; border-top: 1px solid #e5e9ee !important; border-radius: 0; font-size: 14px; font-weight: 600; color: var(--h-blue-d) !important; background: none !important; }
}

/* verrouillage de la mise en page ordinateur : les anciennes feuilles imposent une grille avec des sélecteurs plus précis */
@media (min-width: 1000px) {
  html body .mbtb-hdr__inner { display: flex !important; flex-direction: row !important; align-items: center !important; grid-template-columns: none !important; grid-template-areas: none !important; max-width: 1320px !important; margin: 0 auto !important; padding: 14px 24px !important; column-gap: 28px !important; }
  html body .mbtb-hdr__logo, html body .mbtb-hdr__end { grid-area: auto !important; justify-self: auto !important; }
  html body .mbtb-hdr__end { margin-left: auto !important; }
  html body .mbtb-hdr__nav--main { display: flex !important; flex: 1 1 auto !important; grid-area: auto !important; justify-content: center !important; justify-self: auto !important; width: auto !important; max-width: none !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__list { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; gap: 2px !important; width: auto !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__item { width: auto !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__link { display: flex !important; align-items: center !important; gap: 8px !important; padding: 10px 14px !important; font-size: 16px !important; }
  html body .mbtb-hdr__burger { display: none !important; }
}

/* barre du haut : e-mail, devise et langue en menus déroulants */
.dkh-top__lang { display: flex; align-items: center; gap: 14px; }
.dkh-top__mail { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-size: 13px; opacity: .92; }
.dkh-top__mail:hover { opacity: 1; text-decoration: underline; }
.dkh-dd { position: relative; }
.dkh-dd__btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.dkh-dd__btn:hover, .dkh-dd__btn[aria-expanded="true"] { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.dkh-dd__btn svg { flex: none; }
.dkh-dd--lang .dkh-dd__btn svg:first-child { width: 20px; height: 20px; }
.dkh-dd__menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.dkh-dd__menu[hidden] { display: none; }
.dkh-dd__menu li { margin: 0; }
.dkh-dd__menu button, .dkh-dd__menu a, .dkh-dd__on { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: #212529; font: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.dkh-dd__menu button:hover, .dkh-dd__menu a:hover { background: #eef3f9; color: #1969b3; }
.dkh-dd__menu small { margin-left: auto; color: #6c757d; font-size: 12px; font-weight: 400; }
.dkh-dd__menu svg { width: 22px; height: 22px; flex: none; }
.dkh-dd__on { cursor: default; background: #f1f6fc; color: #1969b3; font-weight: 700; }
.dkh-dd__on i { margin-left: auto; font-style: normal; }
.dkh-dd__note { padding: 8px 12px 4px; border-top: 1px solid #e5e9ee; margin-top: 4px; color: #6c757d; font-size: 12px; line-height: 1.4; }
@media (max-width: 999px) { .dkh-top__mail span { display: none; } .dkh-top__in { justify-content: flex-end; } .dkh-top__lang { gap: 8px; } .dkh-dd--lang .dkh-dd__btn span { display: none; } }

/* sous-menus : ancrés à l'entrée (et non à la barre), avec un pont invisible pour ne pas perdre le survol */
@media (min-width: 1000px) {
  html body .mbtb-hdr__inner .mbtb-hdr__nav--main .mbtb-hdr__item, html body .mbtb-hdr__inner .mbtb-hdr__nav--main .mbtb-hdr__item.has-sub { position: relative !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__drop.mbtb-hdr__mega { top: calc(100% + 6px) !important; left: 0 !important; right: auto !important; transform: none !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__drop.mbtb-hdr__mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__item:hover > .mbtb-hdr__drop.mbtb-hdr__mega, html body .mbtb-hdr__nav--main .mbtb-hdr__item:focus-within > .mbtb-hdr__drop.mbtb-hdr__mega { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transition-delay: 0s !important; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__mega-col li { opacity: 1 !important; transform: none !important; }
}

/* ===== menu déroulant « grand panneau » : colonnes de produits + cartes à droite ===== */
@media (min-width: 1000px) {
  html body .mbtb-hdr__inner { position: relative !important; }
  html body .mbtb-hdr__inner .mbtb-hdr__nav--main .mbtb-hdr__item.has-sub { position: static !important; }
  html body .mbtb-hdr__nav--main .dkh-mega.mbtb-hdr__drop { position: absolute !important; top: calc(100% - 6px) !important; left: 24px !important; right: 24px !important; width: auto !important; min-width: 0 !important; padding: 0 !important; transform: none !important; background: #fff; border-radius: 18px; box-shadow: 0 22px 60px rgba(33,37,41,.20); z-index: 80; }
  html body .mbtb-hdr__nav--main .dkh-mega.mbtb-hdr__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
  html body .mbtb-hdr__nav--main .mbtb-hdr__item:hover > .dkh-mega.mbtb-hdr__drop, html body .mbtb-hdr__nav--main .mbtb-hdr__item:focus-within > .dkh-mega.mbtb-hdr__drop { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transition-delay: 0s !important; }
  .dkh-mega__in { display: flex; gap: 36px; padding: 30px 36px 28px; }
  .dkh-mega__cols { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--dkh-cols, 3), minmax(0, 1fr)); gap: 30px 40px; min-width: 0; }
  .dkh-mega__h { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: #212529; }
  .dkh-mega__h a { color: inherit; text-decoration: none; }
  .dkh-mega__h a:hover { color: #1969b3; }
  .dkh-mega__col ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
  .dkh-mega__col ul a { display: block; color: #212529; font-size: 15px; line-height: 1.35; text-decoration: none; transition: color .12s, transform .12s; }
  .dkh-mega__col ul a:hover { color: #1969b3; transform: translateX(3px); }
  .dkh-mega__all { color: #2688e6; font-size: 15px; font-weight: 600; text-decoration: none; }
  .dkh-mega__all:hover { color: #0d4a85; }
  .dkh-mega__feat { flex: none; display: flex; gap: 22px; padding-left: 30px; border-left: 1px solid #e5e9ee; }
  .dkh-mega__card { display: grid; gap: 8px; width: 150px; text-decoration: none; color: #212529; align-content: start; }
  .dkh-mega__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #f8f9fa; }
  .dkh-mega__img img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); transition: transform .3s; }
  .dkh-mega__card:hover .dkh-mega__img img { transform: scale(1.2); }
  .dkh-mega__price { justify-self: start; padding: 4px 10px; border-radius: 6px; background: #e3f6e9; color: #1e7a45; font-size: 13px; font-weight: 700; }
  .dkh-mega__name { font-size: 14px; line-height: 1.3; font-weight: 500; }
  .dkh-mega__card:hover .dkh-mega__name { color: #1969b3; }
}
@media (max-width: 999px) { .dkh-mega { display: none !important; } }
@media (min-width: 1000px) {
  .mbtb-hdr__tool--search.tk-search.is-open { width: 280px !important; max-width: 280px; padding: 0 12px !important; background: var(--h-soft) !important; border-radius: 999px; }
  .mbtb-hdr__tool--search.tk-search.is-open .tk-search__input { opacity: 1; width: 100% !important; padding: 0 8px !important; }
  .mbtb-hdr__tool--search .tk-suggest { left: auto; right: 0; width: 380px; max-width: 92vw; }
}

/* ===== recherche (ordinateur) : pastille propre, icône et champ alignés ===== */
@media (min-width: 1000px) {
  html body .mbtb-hdr__tool--search.tk-search { display: flex !important; align-items: center; justify-content: center; gap: 0; height: 44px !important; flex: none !important; margin: 0 !important; border-radius: 999px !important; color: var(--h-ink, #212529); }
  html body .mbtb-hdr__tool--search.tk-search svg { position: static !important; flex: none; width: 20px !important; height: 20px !important; color: #5b6b7d; order: 0; }
  html body .mbtb-hdr__tool--search.tk-search:hover svg, html body .mbtb-hdr__tool--search.tk-search.is-open svg, html body .mbtb-hdr__tool--search.tk-search:focus-within svg { color: #1969b3; }
  html body .mbtb-hdr__tool--search .tk-search__input { height: 44px; line-height: 44px; font-size: 15px; font-weight: 500; color: #212529; min-width: 0; }
  html body .mbtb-hdr__tool--search .tk-search__input::placeholder { color: #7b8794; opacity: 1; font-weight: 400; }
  html body .mbtb-hdr__tool--search.tk-search:hover, html body .mbtb-hdr__tool--search.tk-search.is-open, html body .mbtb-hdr__tool--search.tk-search:focus-within { width: 250px !important; max-width: 250px !important; padding: 0 14px !important; background: #fff !important; box-shadow: 0 0 0 1.5px #cfe0f3, 0 6px 18px rgba(20,60,110,.10); }
  html body .mbtb-hdr__tool--search.tk-search:focus-within { box-shadow: 0 0 0 2px #2688e6, 0 6px 18px rgba(38,136,230,.18); }
  html body .mbtb-hdr__tool--search.tk-search:hover .tk-search__input, html body .mbtb-hdr__tool--search.tk-search.is-open .tk-search__input, html body .mbtb-hdr__tool--search.tk-search:focus-within .tk-search__input { padding: 0 0 0 10px !important; }
}

/* pages catégorie / boutique */
html body .ppv2-wc .v2-crumbs { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font: 500 14px/1.4 var(--tk-font, inherit); color: #0f2a4a; margin: 0 0 14px; }
html body .ppv2-wc .v2-crumbs::-webkit-scrollbar { display: none; }
html body .ppv2-wc .v2-crumbs a { color: #64748b; font-weight: 500; text-decoration: none; flex: none; }
html body .ppv2-wc .v2-crumbs a:hover { color: #1969b3; text-decoration: underline; }
html body .ppv2-wc .v2-crumbs > span[aria-hidden] { font-size: 14px; color: #c2ccd6; margin: 0 10px; flex: none; }
