/**
 * Header (templates/_partials/header.tpl) — utility bar, main row, mega menu bar.
 * Loaded last in <head> (stylesheets.tpl) and scoped to #header: it wins over the
 * theme's minified rules without !important where possible.
 * Static files are cached for a year: bump ?v= in stylesheets.tpl on every change.
 */

#header {
  --mh-navy: #0c193a;
  --mh-orange: #e65021;
  --mh-orange-dark: #cf4419;
  --mh-line: #eceff3;
  --mh-muted: #6b7383;
  background: #fff;
}

/* ------------------------------------------------------------------ */
/* HT / TTC switch (utility bar on desktop, contact row on phones)     */
/* ------------------------------------------------------------------ */
.mh-taxswitch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.mh-taxswitch button {
  height: 22px;
  margin: 0;
  padding: 0 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mh-taxswitch button:hover {
  color: #fff;
}

.mh-taxswitch button[aria-pressed='true'] {
  color: var(--mh-navy);
  background: #fff;
}

.mh-taxswitch button:focus-visible {
  outline: 2px solid var(--mh-orange);
  outline-offset: 1px;
}

/* Light variant (phones, on white) */
.mh-taxswitch--light {
  background: #eef0f4;
}

.mh-taxswitch--light button {
  color: var(--mh-muted);
}

.mh-taxswitch--light button:hover {
  color: var(--mh-navy);
}

.mh-taxswitch--light button[aria-pressed='true'] {
  color: #fff;
  background: var(--mh-navy);
}

/* ------------------------------------------------------------------ */
/* One price at a time, driven by the switch (html.mh-tax-incl = TTC). */
/* Listings (product miniatures) and the search panel; product pages    */
/* keep both prices. The home cards (mh-pcard) have their own rules.    */
/* ------------------------------------------------------------------ */
html:not(.mh-tax-incl) .product-miniature .gpPrice .pwt,
html:not(.mh-tax-incl) .algolia-product__price-incl {
  display: none !important;
}

html.mh-tax-incl .product-miniature .current-price-display .pwnt,
html.mh-tax-incl .product-miniature .gpPrice .price .regular,
html.mh-tax-incl .algolia-product__price-row {
  display: none !important;
}

/* The TTC line takes the place and the look of the HT price. */
html.mh-tax-incl .product-miniature .gpPrice .pwt {
  font-size: 20px;
  font-weight: 700;
  color: #e65021;
}

html.mh-tax-incl .product-miniature .gpPrice .pwt .inner {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

html.mh-tax-incl .algolia-product__price-incl {
  font-size: 16px;
  font-weight: 700;
  color: #0c193a;
}

@media (min-width: 992px) {
  /* ---------------------------------------------------------------- */
  /* 1. Utility bar                                                    */
  /* ---------------------------------------------------------------- */
  #header .header-nav {
    margin: 0;
    padding: 0 !important;
    background: var(--mh-navy);
  }

  #header .header-nav .header__container > .visible--desktop {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 38px;
  }

  #header .header-nav .small {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 22px;
    min-width: 0;
    margin: 0;
    overflow: hidden; /* never runs under the phone numbers */
    font-size: 12.5px;
  }

  .mh-usp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.86);
  }

  .mh-usp svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: #ff8a5c;
  }

  #header .header-nav__right {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
  }

  #header .header-nav .call_num {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
  }

  #header .header-nav .call_num a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
  }

  #header .header-nav .call_num a:hover {
    color: #fff;
  }

  #header .header-nav .call_num svg {
    width: 16px;
    height: 11px;
    margin: 0;
    border-radius: 2px;
  }

  #header .header-nav .lang_c {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  #header .header-nav .lang_c a {
    margin: 0;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border: 0;
    border-radius: 4px;
  }

  #header .header-nav .lang_c a::before,
  #header .header-nav .lang_c a::after {
    content: none;
  }

  #header .header-nav .lang_c a:hover {
    color: #fff;
  }

  #header .header-nav .lang_c a.is-current {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  #header .header-nav .mh-taxswitch {
    margin-left: 0;
  }

  .mh-nav-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.18);
  }

  /* ---------------------------------------------------------------- */
  /* 2. Main row: logo, search, actions                                */
  /* ---------------------------------------------------------------- */
  #header .header-top {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 88px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #header .header-top .h_logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0; /* the theme pulls the logo up by 22px */
  }

  #header .header-top .h_logo svg {
    width: 148px;
    height: auto;
  }

  #header .header__search--algolia {
    flex: 1 1 auto;
    padding: 0 !important;
  }

  #header .algolia-search {
    max-width: 720px;
    margin: 0;
  }

  #header .algolia-search .aa-Form,
  #header .algolia-search__fallback {
    height: 48px;
    background: #f4f5f8;
    border: 1px solid #f4f5f8;
    border-radius: 12px;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  #header .algolia-search .aa-Form:hover {
    border-color: #e1e5ec;
  }

  #header .algolia-search .aa-Form:focus-within {
    background: #fff;
    border-color: rgba(230, 80, 33, 0.55);
    box-shadow: 0 0 0 4px rgba(230, 80, 33, 0.1);
  }

  #header .algolia-search .aa-Input {
    font-size: 14.5px;
    color: var(--mh-navy);
    background: transparent;
  }

  #header .header__right {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
  }

  /* Ghost actions: SAV, account */
  #header .header__right .mh-hbtn,
  #header .header__right .user-info a,
  #header .header__right .user-info .qcd {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    color: var(--mh-navy);
    background: transparent;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  #header .header__right .mh-hbtn:hover,
  #header .header__right .user-info a:hover,
  #header .header__right .user-info .qcd:hover {
    color: var(--mh-navy);
    background: #f4f5f8;
  }

  #header .header__right .mh-hbtn svg,
  #header .header__right .user-info a svg,
  #header .header__right .user-info .qcd svg {
    width: 22px;
    height: 22px;
  }

  #header .header__right .user-info a svg path,
  #header .header__right .user-info .qcd svg path {
    fill: currentColor;
  }

  #header .header__right .user-info a > span,
  #header .header__right .user-info .qcd > span {
    display: inline-flex;
    align-items: center;
  }

  #header .header__right .user-info,
  #header .header__right .blockcart {
    margin: 0;
    padding: 0;
  }

  /* Cart: the only filled action */
  #header .header__right .blockcart .shopping-cart a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    height: 46px;
    margin: 0 0 0 6px;
    padding: 0 18px 0 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    color: #fff;
    background: var(--mh-orange);
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
  }

  #header .header__right .blockcart .shopping-cart a:hover {
    background: var(--mh-orange-dark);
    box-shadow: 0 8px 18px rgba(230, 80, 33, 0.25);
  }

  #header .header__right .blockcart .shopping-cart a svg {
    width: 22px;
    height: 22px;
  }

  #header .header__right .blockcart .shopping-cart a svg path {
    fill: currentColor;
  }

  #header .header__right .blockcart .shopping-cart a > span {
    display: inline-flex;
    align-items: center;
  }

  #header .header__right .blockcart .blockcart__count {
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin: 0 0 0 -2px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    color: var(--mh-orange);
    background: #fff;
    border-radius: 999px;
  }

  #header .header__right .blockcart .blockcart__count:empty {
    display: none;
  }

  /* ---------------------------------------------------------------- */
  /* 3. Mega menu bar                                                  */
  /* ---------------------------------------------------------------- */
  #header #kmm {
    background: #fff;
    border-top: 1px solid var(--mh-line);
    border-bottom: 1px solid var(--mh-line);
    box-shadow: 0 6px 16px -14px rgba(12, 25, 58, 0.35);
  }

  #header #kmm .kmm-f,
  #header #kmm .kmm-n {
    background: transparent;
  }

  #header #kmm .kmm-l {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 54px;
  }

  #header #kmm .kmm-l > li {
    display: flex;
    align-items: stretch;
    background: transparent;
  }

  #header #kmm .kmm-l > li > a.kmel {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 0 !important; /* theme: 82px */
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.035em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--mh-navy);
    background: transparent;
    transition: color 0.15s ease;
  }

  #header #kmm .kmm-l > li > a.kmel::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: -1px;
    left: 10px;
    height: 2px;
    background: var(--mh-orange);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  #header #kmm .kmm-l > li:hover > a.kmel {
    color: var(--mh-orange);
  }

  #header #kmm .kmm-l > li:hover > a.kmel::after {
    transform: scaleX(1);
  }

  /* Dropdown panels: the theme places them 82px down (old bar height). */
  #header #kmm .kmm-l > li > .kmm-me {
    top: 100% !important;
    border-top: 1px solid var(--mh-line);
    box-shadow: 0 24px 40px -24px rgba(12, 25, 58, 0.25);
  }

  /* SOLDES: an accent pill instead of a full-height orange block */
  #header #kmm .kmm-l > li:last-child {
    align-items: center;
    background: transparent !important;
  }

  #header #kmm .kmm-l > li:last-child > a.kmel {
    height: 32px !important; /* the theme forces the menu height on this entry */
    padding: 0 14px;
    color: #fff;
    background: var(--mh-orange) !important;
    border-radius: 999px;
  }

  #header #kmm .kmm-l > li:last-child > a.kmel::after {
    display: none;
  }

  #header #kmm .kmm-l > li:last-child:hover > a.kmel {
    color: #fff;
    background: var(--mh-orange-dark) !important;
  }
}

/* 1200-1365px: two arguments are enough next to the phone numbers */
@media (min-width: 1200px) and (max-width: 1365.98px) {
  #header .header-nav .small .mh-usp:nth-child(n + 3) {
    display: none;
  }
}

/* 992-1199px: ten menu entries in a 960px container */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #header .header-nav .small .mh-usp:nth-child(n + 2) {
    display: none;
  }

  #header .header-top {
    gap: 20px;
  }

  #header .header__right .mh-hbtn,
  #header .header__right .user-info a,
  #header .header__right .user-info .qcd {
    padding: 0 10px;
  }

  #header .header__right .mh-hbtn .mh-hbtn__label {
    display: none;
  }

  #header #kmm .kmm-l > li > a.kmel {
    padding: 0 6px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }
}

/* ------------------------------------------------------------------ */
/* Mega menu panels (desktop). The module nests Bootstrap rows/cols     */
/* with fixed widths (col-2, col-12…), which left big gaps and very     */
/* tall panels. The wrappers are flattened (display: contents) and the */
/* groups flow into balanced columns.                                  */
/* ------------------------------------------------------------------ */
.kmm-head {
  display: none;
}

@media (min-width: 992px) {
  #header #kmm .kmm-l > li > .kmm-me {
    padding: 0 !important;
    color: var(--mh-navy);
    background: #fff;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
  }

  #header #kmm .kmm-me .kmm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 32px;
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--mh-line);
  }

  #header #kmm .kmm-head__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--mh-navy);
  }

  #header #kmm .kmm-me .kmm-head__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--mh-orange);
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }

  #header #kmm .kmm-me .kmm-head__all:hover {
    color: var(--mh-orange-dark);
  }

  #header #kmm .kmm-me .kmm-head__all svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
  }

  #header #kmm .kmm-me .kmm-head__all:hover svg {
    transform: translateX(3px);
  }

  /* Scroll area + columns */
  #header #kmm .kmm-me > .container {
    max-width: none;
    max-height: min(64vh, 560px);
    margin: 0;
    padding: 22px 32px 10px;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  #header #kmm .kmm-me > .container > .row {
    display: block;
    margin: 0;
    columns: 190px 5;
    column-gap: 40px;
  }

  #header #kmm .kmm-me > .container > .row [class*='col-lg-']:not(.link-list),
  #header #kmm .kmm-me > .container > .row .container,
  #header #kmm .kmm-me > .container > .row .row {
    display: contents;
  }

  #header #kmm .kmm-me .link-list {
    display: block !important;
    width: auto;
    max-width: none;
    flex: none;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
    break-inside: avoid;
  }

  /* Group title */
  #header #kmm .kmm-me .link-list > a,
  #header #kmm .kmm-me .link-list > button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }

  #header #kmm .kmm-me .link-list .title {
    margin: 0 0 6px;
    padding: 0 !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mh-navy);
    transition: color 0.15s ease;
  }

  #header #kmm .kmm-me .link-list > a:hover .title,
  #header #kmm .kmm-me .link-list > button:hover .title {
    color: var(--mh-orange);
  }

  /* Links */
  #header #kmm .kmm-me .link-list ul {
    margin: 0;
    padding: 0 !important;
    list-style: none;
  }

  #header #kmm .kmm-me .link-list li {
    margin: 0;
    padding: 0;
    white-space: normal;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li a,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li button.kl,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li span.kl {
    display: block;
    width: 100%;
    margin: 0;
    padding: 3px 0;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    color: #5b6475;
    background: none;
    border: 0;
    transition: color 0.15s ease;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li a::before,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li button.kl::before,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li span.kl::before {
    content: none;
    display: none;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li a:hover,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li button.kl:hover,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .link-list li span.kl:hover {
    color: var(--mh-orange);
  }
}

/* ================================================================== */
/* Phones and tablets (< 992 px)                                      */
/* Row 1: logo · HT/TTC · phone · account                             */
/* Row 2: menu · search · cart — stays pinned while scrolling: the    */
/* header is sticky with a negative top equal to row 1, so only row 2 */
/* remains on screen (no JS, no layout jump).                         */
/* ================================================================== */
@media (max-width: 991.98px) {
  body:not(#checkout) #header {
    position: sticky;
    top: -50px;
    z-index: 1040;
    border-bottom: 1px solid var(--mh-line);
    box-shadow: 0 6px 18px rgba(12, 25, 58, 0.06);
  }

  html {
    scroll-padding-top: 66px;
  }

  #header .header-nav:not(.header-nav--checkout),
  #header #header__contact_list {
    display: none !important;
  }

  #header .header-top {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto 40px 44px;
    grid-template-areas:
      'logo logo tax tel acc'
      'menu search search search cart';
    align-items: center;
    column-gap: 6px;
    row-gap: 6px;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 6px 12px 8px !important;
  }

  #header .header-top::before,
  #header .header-top::after {
    content: none;
    display: none;
  }

  /* Logo */
  #header .header-top .h_logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-self: start;
    width: auto;
    height: 46px;
    margin: 0;
    padding: 0 0 0 2px;
  }

  #header .header-top .h_logo svg {
    display: block;
    width: auto;
    height: 36px;
  }

  /* HT / TTC */
  #header .mh-mtax {
    grid-area: tax;
    display: flex;
    align-items: center;
  }

  #header .mh-mtax .mh-taxswitch button {
    height: 26px;
    padding: 0 10px;
    line-height: 26px;
  }

  /* Icon buttons: phone, account */
  #header .mh-mtel,
  #header .header__contact.visible--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0;
  }

  #header .mh-mtel {
    grid-area: tel;
    color: var(--mh-navy);
    border-radius: 12px;
    text-decoration: none;
  }

  #header .header__contact.visible--mobile {
    grid-area: acc;
  }

  #header .header__contact .header__account-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: var(--mh-navy);
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
  }

  #header .header__contact .header__account-mobile svg {
    width: 24px;
    height: 24px;
  }

  #header .header__contact .header__account-mobile svg path {
    fill: currentColor;
  }

  #header .mh-mtel:active,
  #header .header__contact .header__account-mobile:active {
    background: #f1f3f7;
  }

  /* Menu button (opens the kixmegamenu drawer through its own toggle) */
  #header .mh-mburger {
    grid-area: menu;
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    background: #f1f3f7;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
  }

  #header .mh-mburger span,
  #header .mh-mburger span::before,
  #header .mh-mburger span::after {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background: var(--mh-navy);
    border-radius: 2px;
  }

  #header .mh-mburger span {
    top: 21px;
  }

  #header .mh-mburger span::before,
  #header .mh-mburger span::after {
    content: '';
    left: 0;
  }

  #header .mh-mburger span::before {
    top: -6px;
  }

  #header .mh-mburger span::after {
    top: 6px;
    width: 14px;
  }

  #header .mh-mburger:focus-visible,
  #header .mh-mtel:focus-visible {
    outline: 2px solid var(--mh-orange);
    outline-offset: 2px;
  }

  /* The module's own burger only serves as the close button of the open drawer. */
  body:not(.kmmactive) #header .kmm-mobile-header {
    display: none !important;
  }

  body.kmmactive #header .kmm-mobile-header {
    position: fixed;
    top: 10px;
    left: min(308px, calc(100% - 52px));
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(12, 25, 58, 0.18);
  }

  body.kmmactive #header .kmm-mobile-header .btn-burger {
    margin: 0;
    padding: 0;
    width: 44px;
    height: 44px;
  }

  body.kmmactive #header .kmm-mobile-header .btn-burger span {
    top: 21px;
    left: 11px;
  }

  body.kmmactive #header .kmm-mobile-header .btn-burger span::before,
  body.kmmactive #header .kmm-mobile-header .btn-burger span::after {
    top: 0;
    width: 22px;
    height: 2px;
    background: var(--mh-navy);
  }

  /* Search */
  #header .header__search--algolia {
    grid-area: search;
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
  }

  #header .header__search--algolia .aa-Form {
    height: 44px;
    background: #f1f3f7;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: none;
  }

  #header .header__search--algolia .aa-Form:focus-within {
    background: #fff;
    border-color: var(--mh-navy);
    box-shadow: 0 0 0 3px rgba(12, 25, 58, 0.08);
  }

  #header .header__search--algolia .aa-InputWrapperPrefix,
  #header .header__search--algolia .aa-Label,
  #header .header__search--algolia .aa-SubmitButton {
    height: 42px;
  }

  #header .header__search--algolia .aa-InputWrapperPrefix {
    padding-left: 4px;
  }

  #header .header__search--algolia .aa-SubmitButton {
    width: 34px;
    color: var(--mh-muted);
  }

  #header .header__search--algolia .aa-InputWrapper,
  #header .header__search--algolia .aa-Input {
    height: 42px;
  }

  #header .header__search--algolia .aa-Input {
    font-size: 16px;
    color: var(--mh-navy);
  }

  #header .header__search--algolia .aa-Input::placeholder {
    color: #8a91a0;
    opacity: 1;
  }

  /* Cart */
  #header .header-top .header__right {
    grid-area: cart;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 44px;
    margin: 0;
    padding: 0;
    font-variant-caps: normal;
  }

  #header .header__right .blockcart,
  #header .header__right .blockcart .shopping-cart {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
  }

  #header .header__right .blockcart .shopping-cart a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--mh-orange);
    border: 0;
    border-radius: 12px;
    text-decoration: none;
  }

  #header .header__right .blockcart .shopping-cart a > span:first-child {
    display: flex;
  }

  #header .header__right .blockcart .shopping-cart a svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  #header .header__right .blockcart .shopping-cart a svg path {
    fill: currentColor;
  }

  #header .header__right .blockcart .blockcart__count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin: 0;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: var(--mh-navy);
    border: 2px solid #fff;
    border-radius: 999px;
    box-sizing: content-box;
  }

  #header .header__right .blockcart .blockcart__count:empty {
    display: none;
  }
}

@media (max-width: 359.98px) {
  #header .header-top {
    grid-template-columns: 40px minmax(0, 1fr) auto 36px 40px;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  #header .header-top .h_logo svg {
    height: 30px;
  }

  #header .mh-mtax .mh-taxswitch button {
    padding: 0 7px;
    font-size: 10.5px;
  }
}

/* ================================================================== */
/* Mobile menu drawer (kixmegamenu, < 992 px)                          */
/* Levels: 1 = main rayons, 2 = .link-list, 3 = .link-list ul.          */
/* The module JS toggles .kmm-m-active / .kmm-m-hidden; only the look   */
/* changes here.                                                        */
/* ================================================================== */
.mh-mm-head {
  display: none !important;
}

@media (max-width: 991.98px) {
  :root {
    --mm-w: min(88vw, 380px);
    --mm-line: #eef0f4;
  }

  #header #kmm .kmm-n > .kmm-l {
    width: var(--mm-w) !important;
    margin-left: calc(-1 * var(--mm-w)) !important;
    padding: 0 0 28px !important;
    background: #fff !important;
    box-shadow: 16px 0 40px rgba(12, 25, 58, 0.18);
  }

  body.kmmactive #header #kmm .kmm-n > .kmm-l {
    margin-left: 0 !important;
  }

  #header #kmm .overlapblackbg {
    width: calc(100% - var(--mm-w)) !important;
    background: rgba(12, 25, 58, 0.45) !important;
  }

  /* Close button inside the drawer, top right */
  body.kmmactive #header .kmm-mobile-header {
    top: 10px !important;
    left: calc(var(--mm-w) - 56px) !important;
    background: #f1f3f7 !important;
    box-shadow: none !important;
  }

  /* Drawer header */
  #header #kmm .kmm-l > li.mh-mm-head {
    display: flex !important;
    align-items: center;
    height: 64px;
    margin: 0;
    padding: 0 70px 0 20px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--mh-navy);
    border-bottom: 1px solid var(--mm-line);
  }

  #header #kmm .kmm-l > li.mh-mm-head.kmm-m-hidden {
    display: none !important;
  }

  /* Level 1 rows */
  #header #kmm .kmm-n > .kmm-l > li {
    position: relative;
    background: #fff;
    border: 0;
  }

  #header #kmm .kmm-n > .kmm-l > li > a.kmel {
    display: block !important;
    min-height: 0 !important;
    padding: 16px 56px 16px 20px !important;
    font-family: inherit;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: lowercase !important;
    color: var(--mh-navy) !important;
    background: #fff !important;
    border-bottom: 1px solid var(--mm-line) !important;
    box-shadow: none !important;
  }

  #header #kmm .kmm-n > .kmm-l > li > a.kmel::first-letter {
    text-transform: uppercase;
  }

  #header #kmm .kmm-n > .kmm-l > li > a.kmel .menu-pointer {
    display: none;
  }

  /* The whole row opens the sub-menu ("Tout voir" inside links to the category) */
  #header #kmm .kmm-n > .kmm-l > li > .wsmenu-click {
    top: 0;
    right: 0;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 56px;
    background: transparent !important;
  }

  #header #kmm .kmm-l .wsmenu-click > i,
  #header #kmm .kmm-l .wssmenu2-click > i {
    position: absolute;
    top: 50%;
    right: 22px;
    float: none;
    width: 9px !important;
    height: 9px !important;
    margin: -5px 0 0 !important;
    border-right: 2px solid #9aa3b2;
    border-bottom: 2px solid #9aa3b2;
    transform: rotate(-45deg) !important;
  }

  #header #kmm .kmm-l .wsmenu-click > i::before,
  #header #kmm .kmm-l .wssmenu2-click > i::before {
    content: none !important;
    display: none !important;
  }

  /* Sales entry */
  #header #kmm .kmm-n > .kmm-l > li:last-of-type > a.kmel {
    color: var(--mh-orange) !important;
    background: #fff6f2 !important;
  }

  #header #kmm .kmm-n > .kmm-l > li:last-of-type > a.kmel::after {
    content: none !important;
  }

  /* Level 2 view: the opened rayon becomes a "back" header */
  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active > a.kmel {
    padding: 20px 70px 20px 52px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    background: #fff !important;
  }

  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active > .wsmenu-click {
    max-height: 63px;
    width: 100% !important;
  }

  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active > .wsmenu-click > i {
    right: auto;
    left: 24px;
    margin-top: -5px !important;
    border-color: var(--mh-navy);
    transform: rotate(135deg) !important;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me {
    padding: 0 !important;
    background: #fff !important;
  }

  /* "Tout voir" link of the opened rayon */
  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active .kmm-head {
    display: flex !important;
    margin: 0;
    padding: 0 20px !important;
    background: #fff;
    border-bottom: 1px solid var(--mm-line);
  }

  #header #kmm .kmm-l li.kmm-m-active .kmm-head .kmm-head__title {
    display: none;
  }

  #header #kmm .kmm-l li.kmm-m-active .kmm-head .kmm-head__all {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--mh-orange) !important;
    text-decoration: none;
  }

  #header #kmm .kmm-l li.kmm-m-active .kmm-head .kmm-head__all svg {
    width: 16px;
    height: 16px;
  }

  #header #kmm .kmm-l li.kmm-m-active.kmm-m-active-wait .kmm-head,
  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active.kmm-m-active-wait > a.kmel,
  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active.kmm-m-active-wait > .wsmenu-click {
    display: none !important;
  }

  /* Level 2 rows */
  #header #kmm .kmm-me .link-list {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--mm-line) !important;
  }

  #header #kmm .kmm-me .link-list > a,
  #header #kmm .kmm-me .link-list > a:first-of-type {
    display: block;
    padding: 0 !important;
    text-decoration: none;
  }

  #header #kmm .kmm-me .link-list > a .title {
    margin: 0 !important;
    padding: 15px 64px 15px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    color: var(--mh-navy) !important;
    background: none !important;
    border: 0 !important;
  }

  #header #kmm .kmm-me .link-list > .wssmenu2-click {
    top: 0;
    right: 0 !important;
    width: 56px !important;
    height: 100% !important;
    border-left: 1px solid var(--mm-line);
  }

  /* No children: no expander */
  #header #kmm .kmm-me .link-list:not(.kmm-has-children) > .wssmenu2-click {
    display: none;
  }

  /* Level 3 view */
  #header #kmm .kmm-me .link-list.kmm-m-active > a .title {
    height: auto !important;
    padding: 20px 20px 20px 52px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    color: var(--mh-navy) !important;
    background: #fff !important;
    border-bottom: 1px solid var(--mm-line) !important;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active > .wssmenu2-click {
    right: auto !important;
    left: 0 !important;
    width: 48px !important;
    height: 63px !important;
    border: 0;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active > .wssmenu2-click > i {
    right: auto;
    left: 24px;
    border-color: var(--mh-navy);
    transform: rotate(135deg) !important;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active ul li {
    padding: 0 !important;
    border-bottom: 1px solid var(--mm-line);
  }

  #header #kmm .kmm-me .link-list.kmm-m-active ul li a {
    display: block;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #3d4659 !important;
    text-decoration: none;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active ul li a::before {
    content: none !important;
  }

  /* Account + languages at the bottom (#min-nav-mob, built by the module JS) */
  #header #kmm #min-nav-mob {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px 20px 0;
  }

  #header #kmm #min-nav-mob .u-link-body {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    margin: 0 !important;
    padding: 0 16px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--mh-navy);
    background: #fff !important;
    border: 1px solid #d5dae3;
    border-radius: 14px !important;
  }

  #header #kmm #min-nav-mob .u-link-body span.visible--desktop {
    display: inline !important;
    padding-left: 0 !important;
    font-weight: 700 !important;
  }

  #header #kmm #min-nav-mob .u-link-body svg {
    width: 22px !important;
  }

  #header #kmm #min-nav-mob .u-link-body svg path {
    fill: var(--mh-navy);
  }

  #header #kmm #min-nav-mob .lang_c {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  #header #kmm #min-nav-mob .lang_c a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 36px;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--mh-navy) !important;
    background: #f1f3f7;
    border-radius: 999px;
  }

  #header #kmm #min-nav-mob .lang_c a::after {
    content: none !important;
  }

  #header #kmm #min-nav-mob .lang_c a.is-current {
    color: #fff !important;
    background: var(--mh-navy);
  }
}

/* ------------------------------------------------------------------ */
/* Google rating in the utility bar (desktop)                          */
/* ------------------------------------------------------------------ */
#header .header-nav a.mh-grating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff !important;
  text-decoration: none !important;
}

#header .header-nav a.mh-grating:hover .mh-grating__count {
  text-decoration: underline;
}

.mh-grating__g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
}

#header .header-nav .mh-grating__g svg {
  width: 14px;
  height: 14px;
  margin: 0;
}

.mh-grating__score {
  font-weight: 800;
  color: #fff;
}

.mh-grating__score small {
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.7;
}

/* five grey stars with a gold layer cut to the score */
.mh-grating__stars {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23ffffff' fill-opacity='.28' d='M7 .6l1.9 4 4.3.4-3.3 2.9 1 4.3L7 9.9l-3.9 2.3 1-4.3L.8 5l4.3-.4z'/%3E%3C/svg%3E") 0 0 / 14px 13px repeat-x;
}

.mh-grating__stars > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23fbbc04' d='M7 .6l1.9 4 4.3.4-3.3 2.9 1 4.3L7 9.9l-3.9 2.3 1-4.3L.8 5l4.3-.4z'/%3E%3C/svg%3E") 0 0 / 14px 13px repeat-x;
}

.mh-grating__count {
  opacity: 0.85;
}

/* ================================================================== */
/* Mega menu v3 (desktop), 2026-10-12                                  */
/* Panel as wide as the menu bar (not the window). Three zones:        */
/*   sub-categories list | links of the active one | rayon card.       */
/* The active sub-category (.link-list.is-active) is set by the script  */
/* in kixmegamenu view.tpl (hover with a short intent delay, focus).    */
/* Phones keep the drawer: everything below is desktop only.           */
/* ================================================================== */
.kmm-promo,
.kmm-thumb,
.kmm-pane__all {
  display: none !important;
}

@media (min-width: 992px) {
  #header #kmm .kmm-f > .container {
    position: relative;
  }

  #header #kmm .kmm-l > li > .kmm-me {
    right: 15px !important;
    left: 15px !important;
    width: auto !important;
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) 280px;
    grid-template-areas:
      'head head head'
      'body body promo';
    border: 1px solid var(--mh-line);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 28px 56px rgba(12, 25, 58, 0.18);
  }

  #header #kmm .kmm-me .kmm-head {
    grid-area: head;
    margin: 0 28px;
    padding: 18px 0 14px;
  }

  /* Body: list on the left, active pane positioned next to it */
  #header #kmm .kmm-me > .container {
    position: relative;
    grid-area: body;
    max-height: none;
    min-height: 360px;
    margin: 0;
    padding: 14px 0 18px 16px;
    overflow: visible;
  }

  #header #kmm .kmm-me > .container > .row {
    display: block;
    width: 284px;
    max-height: calc(100vh - 290px);
    margin: 0;
    overflow-y: auto;
    columns: auto;
    scrollbar-width: thin;
  }

  #header #kmm .kmm-me .link-list {
    position: static;
    margin: 0 0 2px !important;
    break-inside: auto;
  }

  /* List rows */
  #header #kmm .kmm-me .link-list > a,
  #header #kmm .kmm-me .link-list > button {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: 5px 34px 5px 8px !important;
    border-radius: 12px;
    transition: background-color 0.12s ease;
  }

  #header #kmm .kmm-me .link-list > a::after,
  #header #kmm .kmm-me .link-list > button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-top: 2px solid #b4bbc7;
    border-right: 2px solid #b4bbc7;
    transform: rotate(45deg);
  }

  #header #kmm .kmm-me .link-list.is-active > a,
  #header #kmm .kmm-me .link-list.is-active > button {
    background: #f3f5f9;
  }

  #header #kmm .kmm-me .link-list.is-active > a::after,
  #header #kmm .kmm-me .link-list.is-active > button::after {
    border-color: var(--mh-orange);
  }

  #header #kmm .kmm-me .link-list .title {
    margin: 0 !important;
    font-size: 14.5px;
    font-weight: 700 !important;
    color: var(--mh-navy);
  }

  #header #kmm .kmm-me .link-list.is-active .title {
    color: var(--mh-orange);
  }

  .kmm-thumb {
    display: flex !important;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
  }

  .kmm-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .kmm-thumb img:not([src]) {
    visibility: hidden;
  }

  /* Pane of the active sub-category */
  #header #kmm .kmm-me .kmm-pane {
    position: absolute;
    top: 14px;
    right: 8px;
    bottom: 18px;
    left: 318px;
    display: none;
    padding: 6px 24px 0;
    overflow-y: auto;
    border-left: 1px solid var(--mh-line);
    scrollbar-width: thin;
  }

  #header #kmm .kmm-me .link-list.is-active > .kmm-pane {
    display: block;
  }

  #header #kmm .kmm-me .kmm-pane__all {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--mh-navy);
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }

  #header #kmm .kmm-me .kmm-pane__all strong {
    font-weight: 800;
  }

  #header #kmm .kmm-me .kmm-pane__all svg {
    width: 16px;
    height: 16px;
    color: var(--mh-orange);
    transition: transform 0.15s ease;
  }

  #header #kmm .kmm-me .kmm-pane__all:hover {
    color: var(--mh-orange);
  }

  #header #kmm .kmm-me .kmm-pane__all:hover svg {
    transform: translateX(3px);
  }

  #header #kmm .kmm-me .kmm-pane ul {
    columns: 3 180px;
    column-gap: 28px;
  }

  #header #kmm .kmm-me .kmm-pane li {
    break-inside: avoid;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li a,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li button.kl {
    padding: 7px 0;
    font-size: 14px;
    color: #4b5568;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li a:hover,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li button.kl:hover {
    color: var(--mh-orange);
  }

  /* Rayon card + arguments */
  .kmm-promo {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    grid-area: promo;
    padding: 14px 22px 20px 0;
  }

  #header #kmm .kmm-promo__card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 300px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(135deg, #1b2a52, #0c193a);
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    text-decoration: none;
  }

  .kmm-promo__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .kmm-promo__card img:not([src]) {
    visibility: hidden;
  }

  #header #kmm .kmm-promo__card:hover img {
    transform: scale(1.05);
  }

  .kmm-promo__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 60px 18px 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(12, 25, 58, 0) 0%, rgba(12, 25, 58, 0.9) 62%);
  }

  .kmm-promo__kicker {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
  }

  .kmm-promo__title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .kmm-promo__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    height: 36px;
    margin-top: 10px;
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: var(--mh-orange);
    border-radius: 10px;
  }

  .kmm-promo__cta svg {
    width: 15px;
    height: 15px;
  }

  .kmm-promo__perks {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 14px 16px;
    list-style: none;
    background: #f5f7fa;
    border-radius: 14px;
  }

  .kmm-promo__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mh-navy);
  }

  .kmm-promo__perks svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--mh-orange);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #header #kmm .kmm-l > li > .kmm-me {
    grid-template-columns: 260px minmax(0, 1fr) 220px;
  }

  #header #kmm .kmm-me > .container > .row {
    width: 244px;
  }

  #header #kmm .kmm-me .kmm-pane {
    left: 278px;
  }

  #header #kmm .kmm-me .kmm-pane ul {
    columns: 2 160px;
  }
}

/* ================================================================== */
/* Mega menu v4 (desktop), 2026-10-12: faster opening, products pane   */
/* The module waited 0.3 s then faded 0.3 s (panel and grey overlay):  */
/* 0.6 s before a rayon was readable. Now ~0.15 s. Visibility is       */
/* transitioned over the same duration so it shows at once and hides   */
/* at the end of the fade.                                             */
/* ================================================================== */
.kmm-feat {
  display: none !important;
}

@media (min-width: 992px) {
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me {
    transition: opacity 0.1s ease, visibility 0.1s;
  }

  #header #kmm .kmm-n > .kmm-l > li:hover > .kmm-me {
    transition: opacity 0.14s ease 0.05s, visibility 0.14s 0.05s;
  }

  #header #kmm .overlapblackbg {
    transition: opacity 0.15s ease, visibility 0.15s;
  }

  #header #kmm .kmm-me .link-list > a,
  #header #kmm .kmm-me .link-list > button {
    transition: none;
  }

  /* In-stock Iceprod products of the active sub-category */
  #header #kmm .kmm-me .kmm-feat:not([hidden]) {
    display: block !important;
    margin: 18px 0 4px;
    padding-top: 14px;
    border-top: 1px solid var(--mh-line);
  }


  #header #kmm .kmm-feat__title {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  #header #kmm .kmm-me .kmm-feat__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    color: var(--mh-navy);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  #header #kmm .kmm-me .kmm-feat__item:hover {
    border-color: #d5dae3;
    box-shadow: 0 8px 22px rgba(12, 25, 58, 0.1);
  }

  #header #kmm .kmm-feat__img {
    display: block;
    height: 96px;
    overflow: hidden;
    border-radius: 10px;
  }

  #header #kmm .kmm-feat__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #header #kmm .kmm-feat__name {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #header #kmm .kmm-me .kmm-feat__item:hover .kmm-feat__name {
    color: var(--mh-orange);
  }

  #header #kmm .kmm-feat__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
    font-weight: 800;
  }

  #header #kmm .kmm-feat__price small {
    font-size: 11px;
    font-weight: 600;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat__price em {
    padding: 1px 6px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    color: #fff;
    background: var(--mh-orange);
    border-radius: 6px;
  }

  #header #kmm .kmm-feat [data-mh-tax='incl'],
  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='excl'] {
    display: none;
  }

  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='incl'] {
    display: inline;
  }

  #header #kmm .kmm-feat__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1f8a4c;
  }

  #header #kmm .kmm-feat__stock::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #22a55a;
    border-radius: 50%;
  }
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  #header #kmm .kmm-feat__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #header #kmm .kmm-feat__item:nth-child(n + 4) {
    display: none;
  }
}

/* ================================================================== */
/* Mega menu v6 (desktop), 2026-10-12                                  */
/*   header: rayon · arguments · tout voir                             */
/*   left: sub-categories as image tiles (3 columns)                   */
/*   pane: "tout voir" · level-3 image tiles · in-stock Iceprod        */
/*         products row (price, old price, discount)                   */
/* Left images load on the first hover of a rayon, pane images when    */
/* the pane is shown (mh-megamenu.js). Phones keep the drawer.         */
/* ================================================================== */
.kmm-head__perks,
.kmm-ithumb {
  display: none !important;
}

@media (min-width: 992px) {
  #header #kmm .kmm-l > li > .kmm-me {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'head'
      'body';
  }

  /* Header */
  #header #kmm .kmm-me .kmm-head {
    justify-content: flex-start;
  }

  #header #kmm .kmm-me .kmm-head__perks {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 6px 0 auto;
    padding: 0;
    list-style: none;
  }

  #header #kmm .kmm-head__perks li {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    margin: 0;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mh-navy);
    white-space: nowrap;
    background: #f5f7fa;
    border-radius: 999px;
  }

  #header #kmm .kmm-head__perks svg {
    width: 16px;
    height: 16px;
    color: var(--mh-orange);
  }

  #header #kmm .kmm-me .kmm-head__all {
    height: 34px;
    padding: 0 14px;
    color: #fff;
    background: var(--mh-navy);
    border-radius: 999px;
  }

  #header #kmm .kmm-me .kmm-head__all:hover {
    color: #fff;
    background: var(--mh-orange);
  }

  /* Body */
  #header #kmm .kmm-me > .container {
    min-height: min(556px, calc(100vh - 252px));
    padding: 16px 0 18px 20px;
  }

  /* Left: sub-category tiles */
  #header #kmm .kmm-me > .container > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 8px;
    width: 396px;
    max-height: calc(100vh - 300px);
    padding: 2px;
  }

  #header #kmm .kmm-me .link-list {
    margin: 0 !important;
  }

  #header #kmm .kmm-me .link-list > a,
  #header #kmm .kmm-me .link-list > button {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    height: 100%;
    min-height: 0;
    padding: 10px 6px 10px !important;
    text-align: center;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
  }

  #header #kmm .kmm-me .link-list > a::after,
  #header #kmm .kmm-me .link-list > button::after {
    content: none;
  }

  #header #kmm .kmm-me .link-list > a:hover,
  #header #kmm .kmm-me .link-list > button:hover {
    border-color: #d5dae3;
  }

  #header #kmm .kmm-me .link-list.is-active > a,
  #header #kmm .kmm-me .link-list.is-active > button {
    background: #fff8f3;
    border-color: var(--mh-orange);
    box-shadow: 0 0 0 1px var(--mh-orange);
  }

  #header #kmm .kmm-me .link-list .title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #header #kmm .kmm-me .kmm-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    background: none;
    border: 0;
    border-radius: 0;
  }

  #header #kmm .kmm-thumb img {
    mix-blend-mode: multiply;
    transition: transform 0.25s ease;
  }

  #header #kmm .kmm-me .link-list > a:hover .kmm-thumb img,
  #header #kmm .kmm-me .link-list > button:hover .kmm-thumb img,
  #header #kmm .kmm-me .link-list.is-active .kmm-thumb img {
    transform: scale(1.06);
  }

  /* Pane */
  #header #kmm .kmm-me .kmm-pane {
    top: 16px;
    left: 434px;
    padding: 0 24px 0 26px;
  }

  #header #kmm .kmm-me .link-list.is-active > .kmm-pane {
    display: flex;
    flex-direction: column;
  }

  #header #kmm .kmm-me .kmm-pane__all {
    align-self: flex-start;
    margin: 2px 0 14px;
    font-size: 16px;
  }

  /* Level-3 tiles */
  #header #kmm .kmm-me .kmm-pane ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 6px;
    margin: 0;
    columns: auto;
  }

  #header #kmm .kmm-me .kmm-pane li {
    break-inside: auto;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li a,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li button.kl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 8px 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: var(--mh-navy);
    border-radius: 12px;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li a:hover,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane li button.kl:hover {
    color: var(--mh-orange);
    background: #f5f7fa;
  }

  #header #kmm .kmm-me .kmm-ithumb {
    display: block !important;
    width: 64px;
    height: 64px;
    margin: 0;
    padding: 0;
  }

  /* the theme puts a "›" before every span of the menu links */
  #header #kmm .kmm-me .kmm-pane .kmm-ithumb::before,
  #header #kmm .kmm-me .kmm-pane .kmm-iname::before {
    content: none !important;
    display: none !important;
  }

  #header #kmm .kmm-ithumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.25s ease;
  }

  #header #kmm .kmm-ithumb img:not([src]) {
    visibility: hidden;
  }

  #header #kmm .kmm-me .kmm-pane li a:hover .kmm-ithumb img,
  #header #kmm .kmm-me .kmm-pane li button.kl:hover .kmm-ithumb img {
    transform: scale(1.08);
  }

  #header #kmm .kmm-me .kmm-pane .kmm-iname {
    display: -webkit-box;
    overflow: hidden;
    font: inherit;
    color: inherit;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  /* 15+ level-3 categories: compact rows so the products stay visible */
  #header #kmm .kmm-me .kmm-pane ul.kmm-many {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2px 8px;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane ul.kmm-many li a,
  #header #kmm .kmm-n > .kmm-l > li > .kmm-me .kmm-pane ul.kmm-many li button.kl {
    flex-direction: row;
    gap: 10px;
    padding: 4px 8px;
    text-align: left;
  }

  #header #kmm .kmm-me .kmm-pane ul.kmm-many .kmm-ithumb {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  /* Products row */
  #header #kmm .kmm-me .kmm-feat:not([hidden]) {
    display: block !important;
    width: auto;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--mh-line);
    border-left: 0;
  }

  #header #kmm .kmm-feat__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mh-navy);
  }

  #header #kmm .kmm-feat__title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22a55a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 165, 90, 0.15);
  }

  #header #kmm .kmm-feat__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  #header #kmm .kmm-me .kmm-feat__item,
  #header #kmm .kmm-me .kmm-feat__item:nth-child(n + 4) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px 12px;
    color: var(--mh-navy);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }

  #header #kmm .kmm-me .kmm-feat__item:hover {
    border-color: #d5dae3;
    box-shadow: 0 10px 24px rgba(12, 25, 58, 0.12);
    transform: translateY(-2px);
  }

  #header #kmm .kmm-feat__img {
    position: relative;
    display: block;
    width: auto;
    height: 92px;
    overflow: visible;
  }

  #header #kmm .kmm-feat__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #header #kmm .kmm-feat__badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 7px;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 800;
    color: #fff;
    background: var(--mh-orange);
    border-radius: 7px;
  }

  #header #kmm .kmm-feat__name {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #header #kmm .kmm-me .kmm-feat__item:hover .kmm-feat__name {
    color: var(--mh-orange);
  }

  #header #kmm .kmm-feat__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin-top: auto;
  }

  #header #kmm .kmm-feat__price {
    display: block;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--mh-navy);
  }

  #header #kmm .kmm-feat__price small {
    font-size: 11px;
    font-weight: 600;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat__old {
    font-size: 12px;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat [data-mh-tax='incl'],
  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='excl'] {
    display: none;
  }

  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='incl'] {
    display: inline;
  }
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  #header #kmm .kmm-me .kmm-head__perks li:nth-child(n + 2) {
    display: none;
  }

  #header #kmm .kmm-me > .container > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 270px;
  }

  #header #kmm .kmm-me .kmm-pane {
    left: 308px;
  }

  #header #kmm .kmm-feat__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #header #kmm .kmm-me .kmm-feat__item:nth-child(n + 4) {
    display: none;
  }
}

/* ================================================================== */
/* Mobile drawer v2 (< 992 px), 2026-10-12                             */
/*   rayons: image + name                                              */
/*   rayon opened: sub-categories as 2-column image tiles              */
/*   sub-category opened: "tout voir", rows with image, then a         */
/*   scrollable strip of in-stock Iceprod products                     */
/* Images and products load on tap (mh-megamenu.js).                   */
/* ================================================================== */
.kmm-rthumb {
  display: none !important;
}

/* the theme puts a "›" (16 px, light) before every span of the menu links */
#header #kmm .kmm-iname::before,
#header #kmm .kmm-ithumb::before,
#header #kmm .kmm-thumb::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 991.98px) {
  /* Rayons */
  #header #kmm .kmm-n > .kmm-l > li > .kmm-rthumb {
    position: absolute;
    top: 9px;
    left: 14px;
    z-index: 1;
    display: block !important;
    width: 42px;
    height: 42px;
    overflow: hidden;
    pointer-events: none;
    background: #f5f7fa;
    border-radius: 12px;
  }

  #header #kmm .kmm-rthumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  #header #kmm .kmm-rthumb img:not([src]) {
    visibility: hidden;
  }

  #header #kmm .kmm-n > .kmm-l > li > .kmm-rthumb ~ a.kmel {
    padding: 20px 56px 20px 70px !important;
  }

  #header #kmm .kmm-n > .kmm-l > li > .wsmenu-click {
    max-height: 60px;
  }

  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active > .kmm-rthumb {
    display: none !important;
  }

  #header #kmm .kmm-n > .kmm-l > li.kmm-m-active > .kmm-rthumb ~ a.kmel {
    padding: 20px 70px 20px 52px !important;
  }

  /* Rayon opened: sub-category tiles */
  /* One grid for all the groups: the module's column wrappers are flattened */
  #header #kmm .kmm-me > .container > .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 16px 6px !important;
  }

  #header #kmm .kmm-me > .container > .row > div:not(.link-list):not(.kmm-m-hidden),
  #header #kmm .kmm-me > .container > .row > div:not(.link-list):not(.kmm-m-hidden) > .container,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list):not(.kmm-m-hidden) > .container > .row {
    display: contents !important;
  }

  #header #kmm .kmm-me > .container > .row::before,
  #header #kmm .kmm-me > .container > .row::after,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list)::before,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list)::after,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list) > .container::before,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list) > .container::after,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list) > .container > .row::before,
  #header #kmm .kmm-me > .container > .row > div:not(.link-list) > .container > .row::after {
    content: none !important;
    display: none !important;
  }

  #header #kmm .kmm-me > .container > .row.mh-sub-open {
    display: block !important;
    padding: 0 !important;
  }

  #header #kmm .kmm-me .link-list:not(.kmm-m-active) {
    background: #fff;
    border: 1px solid var(--mm-line) !important;
    border-radius: 16px;
    overflow: hidden;
  }

  #header #kmm .kmm-me .link-list:not(.kmm-m-active) > a,
  #header #kmm .kmm-me .link-list:not(.kmm-m-active) > button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 12px 8px 12px !important;
    text-align: center;
  }

  #header #kmm .kmm-me .link-list:not(.kmm-m-active) .kmm-thumb {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
  }

  #header #kmm .kmm-me .kmm-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  #header #kmm .kmm-me .kmm-thumb img:not([src]) {
    visibility: hidden;
  }

  #header #kmm .kmm-me .link-list:not(.kmm-m-active) > a .title {
    display: -webkit-box !important;
    overflow: hidden;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  /* the whole tile opens the sub-category (its page is "tout voir" inside) */
  #header #kmm .kmm-me .link-list:not(.kmm-m-active) > .wssmenu2-click {
    top: 0 !important;
    right: 0 !important;
    bottom: 0;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
  }

  #header #kmm .kmm-me .link-list:not(.kmm-m-active) > .wssmenu2-click > i {
    display: none;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-thumb {
    display: none !important;
  }

  /* Sub-category opened */
  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-pane__all {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 15px 20px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--mh-orange) !important;
    text-decoration: none;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--mm-line);
  }

  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-pane__all strong {
    font-weight: 800;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-pane__all svg {
    width: 16px;
    height: 16px;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active ul li a,
  #header #kmm .kmm-me .link-list.kmm-m-active ul li button.kl {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 8px 20px !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: left;
    color: var(--mh-navy) !important;
    background: none;
    border: 0;
  }

  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-ithumb {
    display: block !important;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
  }

  #header #kmm .kmm-me .kmm-ithumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  #header #kmm .kmm-me .kmm-ithumb img:not([src]) {
    visibility: hidden;
  }

  #header #kmm .kmm-me .kmm-iname {
    font: inherit;
    color: inherit;
  }

  /* Products strip */
  #header #kmm .kmm-me .link-list.kmm-m-active .kmm-feat:not([hidden]) {
    display: block !important;
    padding: 18px 0 8px;
    background: #f5f7fa;
  }

  #header #kmm .kmm-feat__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mh-navy);
  }

  #header #kmm .kmm-feat__title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22a55a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 165, 90, 0.15);
  }

  #header #kmm .kmm-feat__grid {
    display: flex;
    gap: 10px;
    padding: 0 20px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }

  #header #kmm .kmm-feat__grid::-webkit-scrollbar {
    display: none;
  }

  #header #kmm .kmm-me .kmm-feat__item {
    display: flex;
    flex: 0 0 152px;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    color: var(--mh-navy);
    text-decoration: none;
    background: #fff;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  #header #kmm .kmm-feat__img {
    position: relative;
    display: block;
    height: 104px;
  }

  #header #kmm .kmm-feat__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #header #kmm .kmm-feat__badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 7px;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 800;
    color: #fff;
    background: var(--mh-orange);
    border-radius: 7px;
  }

  #header #kmm .kmm-feat__name {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #header #kmm .kmm-feat__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    margin-top: auto;
  }

  #header #kmm .kmm-feat__price {
    font-size: 15px;
    font-weight: 800;
  }

  #header #kmm .kmm-feat__price small {
    font-size: 11px;
    font-weight: 600;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat__old {
    font-size: 12px;
    color: var(--mh-muted);
  }

  #header #kmm .kmm-feat [data-mh-tax='incl'],
  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='excl'] {
    display: none;
  }

  html.mh-tax-incl #header #kmm .kmm-feat [data-mh-tax='incl'] {
    display: inline;
  }
}

/* Bouton SAV : pastille « Iris en ligne » sur l'icône (2026-10-13) */
#header .header__right .mh-hbtn .mh-hbtn__ico {
  position: relative;
  display: inline-flex;
}

#header .header__right .mh-hbtn .mh-hbtn__ico .mh-online {
  position: absolute;
  top: -2px;
  right: -3px;
}

/* ================================================================== */
/* Header collant intelligent (mh-sticky.js, 2026-10-13)               */
/* Ordinateur : header FIXE + réserve de place (.mh-hdr-ph) : en       */
/* descendant il se réduit à une ligne de 60 px (logo, recherche,      */
/* compte, panier) sans rien décaler ; en remontant, complet.          */
/* Mobile : header sticky existant (1re ligne cachée), revient à la    */
/* remontée. --mh-hdr-visible = hauteur visible, pour les éléments     */
/* collants des pages (colonne d'achat, onglets, panier…).             */
/* ================================================================== */
@media (min-width: 992px) {
  html.mh-hdr-fixed {
    --mh-hdr-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
    --mh-hdr-dur: 0.32s;
    scroll-padding-top: calc(var(--mh-hdr-visible, 0px) + 16px);
  }

  /* Header fixe (réserve de place .mh-hdr-ph) : il se transforme sans jamais changer de structure */
  html.mh-hdr-fixed body:not(#checkout) #header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
    clip-path: inset(0 0 -100vh 0);
    /* top plutôt que transform : un transform ferait du header le repère des éléments fixes qu'il contient */
    transition:
      top var(--mh-hdr-dur) var(--mh-hdr-ease),
      clip-path var(--mh-hdr-dur) var(--mh-hdr-ease),
      box-shadow 0.2s ease;
  }

  html.mh-hdr-fixed.mh-hdr-scrolled:not(.mh-hdr-compact) body:not(#checkout) #header {
    box-shadow: 0 8px 26px rgba(12, 25, 58, 0.08);
  }

  /* Ligne principale, logo, recherche et boutons : affinés en douceur */
  html.mh-hdr-fixed body:not(#checkout) #header .header-top {
    transition: height var(--mh-hdr-dur) var(--mh-hdr-ease);
  }

  html.mh-hdr-fixed body:not(#checkout) #header .header-top .h_logo svg {
    transition: width var(--mh-hdr-dur) var(--mh-hdr-ease);
  }

  html.mh-hdr-fixed body:not(#checkout) #header .algolia-search .aa-Form,
  html.mh-hdr-fixed body:not(#checkout) #header .header__right .mh-hbtn,
  html.mh-hdr-fixed body:not(#checkout) #header .header__right .user-info a,
  html.mh-hdr-fixed body:not(#checkout) #header .header__right .user-info .qcd,
  html.mh-hdr-fixed body:not(#checkout) #header .header__right .blockcart .shopping-cart a {
    transition: height var(--mh-hdr-dur) var(--mh-hdr-ease), background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  html.mh-hdr-fixed body:not(#checkout) #header #kmm {
    transition: opacity 0.18s ease;
  }

  /* Filet pleine largeur sous la barre réduite (le découpage supprime l'ombre du header) */
  html.mh-hdr-fixed body:not(#checkout) #header::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: calc(var(--mh-hdr-cut-top, 38px) + var(--mh-hdr-compact-h, 60px) - 1px);
    height: 1px;
    pointer-events: none;
    background: #e3e7ee;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  /* ── Réduit ── */
  html.mh-hdr-compact body:not(#checkout) #header {
    top: calc(-1 * var(--mh-hdr-cut-top, 38px));
    clip-path: inset(0 0 calc(100% - var(--mh-hdr-cut-top, 38px) - var(--mh-hdr-compact-h, 60px)) 0);
  }

  html.mh-hdr-compact body:not(#checkout) #header::after {
    opacity: 1;
  }

  html.mh-hdr-compact body:not(#checkout) #header #kmm {
    opacity: 0;
    pointer-events: none;
  }

  html.mh-hdr-compact body:not(#checkout) #header .header-top {
    flex-wrap: nowrap;
    align-content: center;
    height: var(--mh-hdr-compact-h, 60px);
  }

  /* Le lien du logo garde 76 px de haut : la ligne s'alignait sur 76 px et tout descendait de 8 px */
  html.mh-hdr-compact body:not(#checkout) #header .header-top .h_logo {
    height: auto;
  }

  html.mh-hdr-compact body:not(#checkout) #header .header-top .h_logo svg {
    width: 112px;
  }

  html.mh-hdr-compact body:not(#checkout) #header .algolia-search .aa-Form,
  html.mh-hdr-compact body:not(#checkout) #header .algolia-search__fallback {
    height: 40px;
  }

  html.mh-hdr-compact body:not(#checkout) #header .header__right .mh-hbtn,
  html.mh-hdr-compact body:not(#checkout) #header .header__right .user-info a,
  html.mh-hdr-compact body:not(#checkout) #header .header__right .user-info .qcd,
  html.mh-hdr-compact body:not(#checkout) #header .header__right .blockcart .shopping-cart a {
    height: 40px;
  }

  /* Voile gris du méga-menu : le module retranche le défilement (header non fixe) ; ici il part du bas du header */
  html.mh-hdr-fixed body:not(#checkout) #header #kmm .overlapblackbg {
    top: var(--mh-hdr-visible, 182px) !important;
  }
}

@media (max-width: 991.98px) {
  /* Mobile comme ordinateur : header fixe + réserve de place ; réduit = 1re ligne (logo, HT/TTC, téléphone,
     compte) glissée hors écran, barre recherche / menu / panier de 56 px (boutons 40 px, 8 px dessus et dessous) */
  html.mh-hdr-fixed body:not(#checkout) #header {
    position: fixed;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 1040;
    transition: top 0.32s cubic-bezier(0.22, 0.8, 0.24, 1);
  }

  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header {
    top: calc(-1 * var(--mh-hdr-cut-top, 50px)) !important;
  }

  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header-top .header__right,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header-top .header__right > div,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__right .blockcart,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .mh-mburger,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__search--algolia .aa-Form,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__right .blockcart .shopping-cart,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__right .blockcart .shopping-cart a {
    height: 40px;
  }

  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__search--algolia .aa-SubmitButton,
  html.mh-hdr-fixed.mh-hdr-compact body:not(.kmmactive):not(#checkout) #header .header__search--algolia .aa-Input {
    height: 38px;
  }
}

/* Éléments collants des pages : sous le header visible (et suivent sa hauteur) */
html.mh-hdr-sticky .mh-p__buy,
html.mh-hdr-sticky .mh-p__gallery,
html.mh-hdr-sticky .mh-cart__side,
html.mh-hdr-sticky .mh-acc__nav,
html.mh-hdr-sticky .mh-auth__side {
  top: calc(var(--mh-hdr-visible, 0px) + 16px) !important;
  transition: top 0.32s cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* Colonne d'achat plus haute que l'écran : top négatif posé par mh-product.js (collée par le bas) */
.mh-p__buy.is-tall,
html.mh-hdr-sticky .mh-p__buy.is-tall {
  top: var(--mh-buy-top, 16px) !important;
  transition: none;
}

html.mh-hdr-sticky .mh-p-nav {
  top: var(--mh-hdr-visible, 0px) !important;
  transition: top 0.32s cubic-bezier(0.22, 0.8, 0.24, 1);
}

html.mh-hdr-sticky .mh-rev-summary {
  top: calc(var(--mh-hdr-visible, 0px) + 80px) !important;
}

html.mh-hdr-sticky .mh-brands__az {
  top: calc(var(--mh-hdr-visible, 0px) + 8px) !important;
}

@media (prefers-reduced-motion: reduce) {
  html.mh-hdr-sticky body:not(#checkout) #header,
  html.mh-hdr-sticky body:not(#checkout) #header *,
  html.mh-hdr-sticky .mh-p__buy,
  html.mh-hdr-sticky .mh-p-nav {
    transition: none !important;
  }
}

/* Méga-menu : intention d'ouverture (mh-megamenu.js) — panneau et voile seulement quand le rayon a .mh-open */
@media (min-width: 992px) {
  #header #kmm.mh-intent .kmm-n > .kmm-l > li:not(.mh-open) > .kmm-me {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #header #kmm.mh-intent .kmm-n > .kmm-l > li.mh-open > .kmm-me {
    visibility: visible !important;
    opacity: 1 !important;
  }

  #header #kmm.mh-intent:not(.mh-any-open) .overlapblackbg {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* ================================================================== */
/* Iris ancrée à droite (html.iris-docked, fenêtre ≥ 1300 px : marge droite = --iris-dock-w, module
   assistantprestashop). Les @media voient toute la fenêtre : on adapte ici le header à la place restante
   (fenêtre − 360 à 440 px), 2026-10-15. Panier : fin de mh-cart.css. */
/* ================================================================== */
@media (min-width: 1300px) {
  /* header fixe : s'arrête au bord du panneau Iris au lieu de passer dessous */
  html.iris-docked.mh-hdr-fixed body:not(#checkout) #header,
  html.iris-docked #header {
    right: var(--iris-dock-w) !important;
  }

  /* une seule ligne : la recherche rétrécit, les boutons gardent leur place */
  html.iris-docked #header .header-top {
    flex-wrap: nowrap;
  }

  html.iris-docked #header .header__search {
    flex: 1 1 0;
    min-width: 160px;
  }

  html.iris-docked #header .header__right .account .visible--desktop {
    display: none !important;
  }

  /* bandeau du haut : avis + un argument */
  html.iris-docked #header .header-nav .small > .mh-usp:nth-child(n+3) {
    display: none;
  }
}

/* place restante < ~1 040 px : menu plus serré, bandeau réduit aux avis, bouton SAV sans libellé */
@media (min-width: 1300px) and (max-width: 1439.98px) {
  html.iris-docked nav.kmm-n a.kmel {
    padding: 0 4px !important;
    font-size: 11.5px !important;
  }

  html.iris-docked #header .header-nav .small > .mh-usp:not(.mh-grating) {
    display: none;
  }

  html.iris-docked #header .header__right .mh-hbtn__label {
    display: none;
  }
}
