/* Desktop navigation follows the compact, square category tabs of the mockup. */
:root {
  --uc-black: #111312;
  --uc-ink: #171a18;
  --uc-navy: #1c3549;
  --uc-muted: #656a66;
  --uc-line: #e7e8e5;
  --uc-paper: #fff;
  --uc-soft: #f5f5f2;
  --uc-red: #d93f45;
  --uc-red-dark: #a90e14;
  --uc-radius: 12px;
  --uc-font: Inter, "Helvetica Neue", Arial, sans-serif;
  --uc-font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --uc-menu-hairline: #eae8e2;
  --uc-menu-hover: #f7f6f2;
}

/* Largeur de page globale : 90% du viewport (plafonnée) au lieu des paliers
   Bootstrap par défaut, du header au footer en passant par le contenu. */
@media (min-width: 576px) {
  .container {
    max-width: min(90%, 1600px);
  }
}

.header.js-sticky-header {
  background: rgba(255, 255, 255, .98);
  font-family: var(--uc-font);
  transition: box-shadow .22s ease, background-color .22s ease;
}

.header.js-sticky-header.uc-header-is-scrolled {
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  background: transparent;
  box-shadow: 0 14px 40px rgba(15, 18, 16, .1);
}

.header.js-sticky-header.uc-header-is-scrolled .header-bottom.uc-header {
  background: rgba(255, 255, 255, .78);
}

.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu--desktop {
  background: rgb(28 53 73 / .8);
}

.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__desktop,
.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__tree,
.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__tree > li,
.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__tree-item-wrapper {
  background: transparent !important;
}

.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper,
.header.js-sticky-header.uc-header-is-scrolled .ps-mainmenu__tree > li.current > .ps-mainmenu__tree-item-wrapper {
  background: #fff !important;
}

@media (min-width: 1200px) {
  .header.js-sticky-header.uc-header-is-scrolled .header-bottom.uc-header {
    background: linear-gradient(to bottom, rgb(255 255 255 / .78) 116px, transparent 116px);
  }
}

.uc-utility {
  background: #e7e7e7;
  color: var(--uc-ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .005em;
}

.uc-utility__inner {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 29px;
  overflow: hidden;
  padding-inline: clamp(20px, 5vw, 92px);
}

.uc-utility__item {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.uc-utility__ticker {
  flex: 0 1 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Transparent copy (still read by screen readers) that gives the ticker the width of one message. */
.uc-utility__sizer {
  display: block;
  opacity: 0;
  padding-inline: 28px;
  pointer-events: none;
}

.uc-utility__track {
  animation: uc-utility-ticker 16s linear infinite;
  display: flex;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: max-content;
  will-change: transform;
}

.uc-utility__ticker:hover .uc-utility__track {
  animation-play-state: paused;
}

.uc-utility__group {
  display: flex;
  flex: none;
}

.uc-utility__group .uc-utility__item {
  padding-inline-end: 64px;
}

@keyframes uc-utility-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .uc-utility__track { animation: none; }
}

.uc-utility__right { align-items:center; display:flex; gap:24px; }
.uc-header__actions .uc-price-mode { align-items:center; display:flex; gap:5px; min-height:40px; padding-inline:12px; border-inline:1px solid var(--uc-line); color:var(--uc-muted); font-size:10px; white-space:nowrap; }
.uc-price-toggle { position:relative; display:flex; align-items:center; justify-content:space-between; width:74px; height:30px; padding:0 7px; border:1px solid #d2d9de; border-radius:20px; background:#edf0f2; color:#7d8991; font-size:9px; font-weight:800; cursor:pointer; overflow:hidden; }
.uc-price-toggle__label { position:absolute; z-index:2; top:0; display:flex; align-items:center; justify-content:center; width:32px; height:28px; color:#7d8991; text-align:center; transition:color .18s ease; }
.uc-price-toggle__label--ht { right:5px; }
.uc-price-toggle__label--ttc { left:5px; }
.uc-price-toggle__knob { position:absolute; z-index:1; top:3px; left:3px; width:24px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(23,53,77,.28); transition:transform .18s ease; }
.uc-price-toggle[aria-pressed="true"] { background:var(--uc-red); border-color:var(--uc-red); color:rgba(255,255,255,.78); }
.uc-price-toggle[aria-pressed="true"] .uc-price-toggle__label--ht { display:none; }
.uc-price-toggle[aria-pressed="true"] .uc-price-toggle__label--ttc { color:#fff; }
.uc-price-toggle[aria-pressed="true"] .uc-price-toggle__knob { transform:translateX(44px); }
.uc-price-toggle[aria-pressed="false"] .uc-price-toggle__label--ttc { display:none; }
.uc-price-toggle[aria-pressed="false"] .uc-price-toggle__label--ht { color:#17354d; }
.uc-price-toggle:hover { box-shadow:0 0 0 3px rgba(217,63,69,.12); }
.uc-price-toggle--locked { cursor:default; }
.uc-price-toggle--locked:hover { box-shadow:none; }

.uc-cart-dropdown .uc-price-value--ht { display:none; }
html[data-price-mode="ht"] .uc-cart-dropdown .uc-price-value--ttc { display:none; }
html[data-price-mode="ht"] .uc-cart-dropdown .uc-price-value--ht { display:inline; }
.blockcart-modal .uc-price-value--ht { display:none; }
html[data-price-mode="ht"] .blockcart-modal .uc-price-value--ttc { display:none; }
html[data-price-mode="ht"] .blockcart-modal .uc-price-value--ht { display:inline; }

.uc-shipping-threshold .uc-price-value--ht { display:none; }
html[data-price-mode="ht"] .uc-shipping-threshold .uc-price-value--ttc { display:none; }
html[data-price-mode="ht"] .uc-shipping-threshold .uc-price-value--ht { display:inline; }

a.uc-utility__item:hover {
  color: #fff;
  opacity: .78;
}

span.uc-utility__item .material-icons {
  color: var(--uc-red);
  font-size: 15px;
}

.uc-utility__item--right strong {
  font-weight: 800;
}

.uc-mobile-promise {
  align-items: center;
  background: var(--uc-navy);
  color: #fff;
  display: flex;
  font-family: var(--uc-font);
  font-size: 11px;
  font-weight: 750;
  gap: 7px;
  justify-content: center;
  min-height: 31px;
}

.uc-mobile-promise .material-icons {
  font-size: 15px;
}

.uc-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--uc-line);
}

.uc-header__container {
  max-width: none;
  padding-inline: clamp(24px, 5vw, 96px);
}

.uc-header__grid {
  align-items: center;
  display: grid;
  grid-template-columns: 190px minmax(300px, 1fr) auto;
  grid-template-rows: 96px 94px;
  column-gap: clamp(24px, 2vw, 40px);
  margin: 0;
  padding: 0;
  position: relative;
}

.uc-header__brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.uc-header__brand-heading {
  line-height: 1;
  margin: 0;
}

.uc-brand {
  display: block;
  text-decoration: none;
}

.uc-brand:hover {
  color: var(--uc-ink);
}

.uc-brand__logo {
  display: block;
  height: auto;
  width: 150px;
}

.uc-header__modules {
  display: contents;
}

.uc-header #_desktop_ps_searchbar {
  align-items: center;
  display: flex !important;
  left: 50%;
  margin: 0 !important;
  max-width: none;
  padding: 0;
  position: absolute;
  top: 48px;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 440px));
  z-index: 2;
}

.uc-header .ps-searchbar,
.uc-header .ps-searchbar__form {
  width: 100%;
}

.uc-header .ps-searchbar__form {
  align-items: center;
  display: flex;
  height: 44px;
  position: relative;
}

.uc-header .ps-searchbar__input {
  background: #fff;
  border: 1px solid #d7d9d6;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(18, 20, 18, .03);
  color: var(--uc-ink);
  font-size: 13px;
  height: 44px;
  padding: 0 64px 0 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.uc-header .ps-searchbar__input:focus {
  border-color: #8f938f;
  box-shadow: 0 0 0 4px rgba(17, 19, 18, .07);
  outline: 0;
}

.uc-header .ps-searchbar__magnifier {
  align-items: center;
  background: var(--uc-black);
  border-radius: 0 10px 10px 0;
  color: #fff;
  display: flex;
  font-size: 23px;
  height: 42px;
  justify-content: center;
  left: auto;
  pointer-events: none;
  right: 1px;
  top: 1px;
  transform: none;
  width: 54px;
  z-index: 2;
}

.uc-header .ps-searchbar__clear {
  right: 58px;
}

.uc-header .ps-searchbar__dropdown {
  border: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 42px rgba(17, 19, 18, .14);
  overflow: hidden;
}

.uc-header__advice {
  align-items: center;
  border-radius: 9px;
  box-sizing: border-box;
  color: var(--uc-ink);
  display: flex;
  gap: 10px;
  grid-column: 2;
  grid-row: 1;
  height: 52px;
  justify-self: start;
  padding: 5px 8px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
  white-space: nowrap;
}

.uc-header__advice:hover {
  background: var(--uc-soft);
  color: var(--uc-red);
}

.uc-header__advice-icon.material-icons {
  align-items: center;
  background: var(--uc-red);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 19px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.uc-header__advice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.uc-header__advice-text small {
  color: var(--uc-muted);
  font-size: 11px;
  font-weight: 600;
}

.uc-header__advice:hover .uc-header__advice-text small,
.uc-header__advice:hover .uc-header__advice-text strong {
  color: currentColor;
}

.uc-header__advice-text strong {
  color: var(--uc-ink);
  font-size: 13px;
  font-weight: 800;
}

.header-block__eyebrow {
  color: var(--uc-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

.uc-header__actions {
  align-items: center;
  display: flex;
  gap: 14px;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.uc-header__actions > div {
  display: flex;
}

.uc-header__actions #_desktop_ps_languageselector,
.uc-header__actions #_desktop_ps_currencyselector,
.uc-header__actions .language-selector,
.uc-header__actions .currency-selector {
  display: none !important;
}

.uc-header .header-block__action-btn {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px;
  color: var(--uc-ink);
  display: inline-flex;
  flex-direction: row;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  height: 56px;
  justify-content: center;
  min-width: 66px;
  padding: 5px 8px !important;
  position: relative;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

/* Connexion et Panier doivent avoir la même zone de survol. */
.uc-header__actions .header-block__action-btn {
  box-sizing: border-box;
  min-width: 120px;
  width: 120px;
}

.uc-header__actions #_desktop_ps_customersignin .header-block__action-btn {
  max-width: 150px;
}

.uc-header .header-block__action-btn:hover {
  background: var(--uc-soft) !important;
  color: var(--uc-red);
}

.uc-header .header-block__icon {
  color: currentColor;
  font-size: 25px;
  line-height: 1;
}

.uc-header .header-block__title {
  color: currentColor;
  font-size: 13px;
  gap: 2px;
  line-height: 1.15;
  white-space: nowrap;
}

.uc-header__actions #_desktop_ps_customersignin .header-block__title {
  max-width: 108px;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.uc-header__actions .header-block__badge {
  display: none;
}

.uc-header .header-block__badge {
  align-items: center;
  background: var(--uc-red);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 4px;
  position: absolute;
  right: 9px;
  top: 2px;
}

.uc-header__actions #_desktop_ps_shoppingcart,
.uc-header__actions .ps-shoppingcart,
.uc-header__actions .blockcart {
  overflow: visible;
  position: relative;
}

.uc-cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  width: 360px;
  z-index: 1080;
}

.uc-cart-dropdown::before {
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  right: 0;
  top: -18px;
}

.uc-cart-dropdown__inner {
  background: #fff;
  border: 1px solid rgba(23, 26, 24, .12);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(15, 18, 16, .16);
  margin-top: 8px;
  overflow: hidden;
}

.uc-header__actions #_desktop_ps_shoppingcart .blockcart:hover .uc-cart-dropdown,
.uc-header__actions #_desktop_ps_shoppingcart .blockcart:focus-within .uc-cart-dropdown {
  display: block;
}

.uc-cart-dropdown__items {
  max-height: 320px;
  overflow-y: auto;
}

.uc-cart-dropdown__item {
  align-items: center;
  border-bottom: 1px solid var(--uc-line);
  display: flex;
  gap: 12px;
  padding: 13px 15px;
}

.uc-cart-dropdown__item:last-child {
  border-bottom: 0;
}

.uc-cart-dropdown__item-image {
  border-radius: 8px;
  display: block;
  flex: 0 0 52px;
  height: 52px;
  overflow: hidden;
}

.uc-cart-dropdown__item-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.uc-cart-dropdown__item-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.uc-cart-dropdown__item-name {
  color: var(--uc-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.uc-cart-dropdown__item-name:hover {
  color: var(--uc-red);
}

.uc-cart-dropdown__item-meta {
  color: var(--uc-muted);
  font-size: 11px;
  font-weight: 600;
}

.uc-cart-dropdown__item-remove {
  align-items: center;
  border-radius: 999px;
  color: var(--uc-muted);
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.uc-cart-dropdown__item-remove:hover,
.uc-cart-dropdown__item-remove:focus-visible {
  background: rgba(217, 63, 69, .08);
  color: var(--uc-red);
}

.uc-cart-dropdown__item-remove .material-icons {
  font-size: 18px;
}

.uc-cart-dropdown__total {
  align-items: center;
  border-top: 1px solid var(--uc-line);
  color: var(--uc-ink);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  padding: 15px;
  text-transform: uppercase;
}

.uc-cart-dropdown__cta {
  background: var(--uc-red);
  color: #fff;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 14px 16px;
  text-align: center;
  text-transform: uppercase;
}

.uc-cart-dropdown__cta:hover,
.uc-cart-dropdown__cta:focus-visible {
  background: var(--uc-red-dark);
  color: #fff;
}

.uc-header .ps-mainmenu--desktop {
  align-self: stretch;
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  max-width: none;
  order: 0;
  padding: 0;
  min-width: 0;
  height: 94px;
  width: 100%;
}

.uc-header .ps-mainmenu__desktop {
  display: flex !important;
  height: 94px;
  min-width: 0;
  position: static !important;
  width: 100%;
}

.uc-header .ps-mainmenu__tree {
  align-items: stretch;
  background: #fff;
  border-block: 0;
  border-inline: 0;
  border-radius: 0;
  display: flex;
  flex: 1 1 auto;
  font-family: 'Manrope', Arial, sans-serif;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: center;
  margin: 0 auto;
  height: 94px;
  max-width: 100%;
  min-width: 0;
  padding: 6px 0;
  width: 100%;
}

.uc-header .ps-mainmenu__tree > li {
  align-items: stretch;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  max-width: none;
  min-width: 0;
  outline: 0 !important;
}

.uc-header .ps-mainmenu__tree-item-wrapper {
  align-items: center;
  background: none !important;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: none !important;
  display: flex;
  height: 82px;
  justify-content: center;
  min-width: 0;
  outline: 0 !important;
  overflow: hidden;
  position: relative;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  width: 100%;
}

.uc-header .ps-mainmenu__tree-item .ps-mainmenu__tree-item-wrapper {
  padding-right: 0;
}

.uc-header .ps-mainmenu__tree-link {
  align-items: flex-start;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--uc-ink);
  display: flex;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  height: 82px;
  justify-content: center;
  letter-spacing: .045em;
  line-height: 1.25;
  max-width: 132px;
  outline: 0 !important;
  padding: 18px 18px 3px !important;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease;
  white-space: normal;
  width: 100%;
  word-spacing: .08em;
}

.uc-header .ps-mainmenu__tree-link > span {
  display: inline;
}

.uc-header .ps-mainmenu__tree-item-wrapper::after {
  background: var(--uc-red);
  bottom: 4px;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: width .22s cubic-bezier(.4, 0, .2, 1);
  width: 0;
  z-index: 3;
}

.uc-header .ps-mainmenu__tree-item-wrapper::before {
  content: none;
}

.uc-header .ps-mainmenu__tree-item:hover .ps-mainmenu__tree-item-wrapper {
  background: #f6f5f1;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.uc-header .ps-mainmenu__tree-link > * {
  position: relative;
  z-index: 1;
}

.uc-header .ps-mainmenu__tree-link:hover {
  color: var(--uc-red);
}

.uc-header .ps-mainmenu__tree-item:hover .ps-mainmenu__tree-item-wrapper::after {
  width: 22px;
}

.uc-header .ps-mainmenu__tree-item.current .ps-mainmenu__tree-item-wrapper {
  background: var(--uc-navy);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.uc-header .ps-mainmenu__tree-item.current .ps-mainmenu__tree-link,
.uc-header .ps-mainmenu__tree-item.current .ps-mainmenu__tree-link::before {
  color: #fff;
}

.uc-header .ps-mainmenu__tree-item.current .ps-mainmenu__tree-item-wrapper::after {
  display: none;
}

.uc-header .ps-mainmenu__tree-dropdown-toggle {
  align-items: center;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #777c78;
  display: flex;
  flex: 0 0 18px;
  outline: 0 !important;
  padding: 0 5px 0 0 !important;
  width: 18px;
}

.uc-header .ps-mainmenu__tree-item .ps-mainmenu__tree-dropdown-toggle {
  bottom: auto;
  height: 20px;
  justify-content: center;
  padding: 0 !important;
  position: absolute;
  right: 2px;
  top: 21px;
  transform: none;
}

.uc-header .ps-mainmenu__tree-dropdown-toggle::after {
  border-width: 4px 4px 0;
  transition: transform .18s ease;
}

.uc-header .ps-mainmenu__tree-dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.uc-header .submenu {
  background: rgba(255, 255, 255, .985) !important;
  border: 1px solid var(--uc-menu-hairline) !important;
  border-top: 0 !important;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(28, 53, 73, .14) !important;
  left: 0 !important;
  max-height: none;
  overflow: visible;
  right: 0 !important;
  margin-top: 0;
  transform: none;
  width: auto;
  z-index: 1060;
}

.uc-header .submenu > .container {
  max-width: none;
  padding: 0;
}

.uc-header .submenu__row {
  --bs-gutter-x: 0;
  border-radius: 0;
  margin-inline: 0;
  min-height: 280px;
  overflow: hidden;
}

.uc-header .submenu__left {
  background: #fff;
  border-right: 1px solid var(--uc-menu-hairline);
  gap: 0;
  padding: 0;
}

.uc-header .submenu__left-item {
  align-items: center;
  border-bottom: 1px solid var(--uc-menu-hairline);
  border-radius: 0;
  color: var(--uc-navy);
  display: flex;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  justify-content: space-between;
  padding: 13px 18px;
  text-transform: uppercase;
  transition: background-color .16s ease, color .16s ease;
}

.uc-header .submenu__left-item:hover,
.uc-header .submenu__left-item.active,
.uc-header .submenu__left-item[aria-selected="true"] {
  background: var(--uc-navy);
  box-shadow: none;
  color: #fff;
  transform: none;
}

.uc-header .submenu__left-item[data-ps-has-child="true"]::after {
  color: currentColor;
  font-size: 18px;
}

.uc-header .submenu__right {
  background: #fff;
  padding: 28px 32px 32px;
}

/* Desktop mega-menu: category groups are shown directly in the main panel. */
.uc-header .submenu__left {
  display: none;
}

.uc-header .submenu__right {
  flex: 0 0 100%;
  max-width: 100%;
  column-count: 4;
  column-gap: 36px;
}

.uc-header .submenu__right-items,
.uc-header .submenu__right-items[hidden] {
  break-inside: avoid;
  display: block !important;
  margin: 0 0 18px;
}

.uc-header .uc-menu-group-title {
  align-items: center;
  color: var(--uc-red);
  display: flex;
  font-family: var(--uc-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 4px;
  padding-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

.uc-header .uc-menu-group-title::after {
  background: var(--uc-red);
  bottom: 2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 30px;
}

.uc-header .submenu__right-items ul {
  display: block;
  margin: 0;
  padding: 0;
}

.uc-header .submenu__right-items .menu-item__group--child,
.uc-header .submenu__right-items .menu-item__group--nochild {
  margin: 0;
}

.uc-header .submenu__right-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 30px;
}

.uc-header .submenu__right-items .menu-item {
  color: #555b56;
  font-family: var(--uc-font-display);
  font-size: 12px;
  line-height: 1.35;
  padding: 4px 0;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.uc-header .submenu__right-items .menu-item:hover {
  color: var(--uc-red);
  transform: translateX(2px);
}

.uc-header .submenu__right-items .menu-item__group-main-item {
  align-items: center;
  border-bottom: 0;
  color: var(--uc-navy);
  display: flex;
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none;
  margin-bottom: 8px !important;
  padding-bottom: 10px;
  position: relative;
}

.uc-header .submenu__right-items .menu-item__group-main-item::after {
  display: none;
}

/* Compact the level-three links below each level-two category. */
.uc-header .submenu__right-items .menu-item__group-main-item {
  margin-bottom: 0 !important;
  padding-bottom: 0;
}

.uc-header .submenu__right-items .menu-item__group--child,
.uc-header .submenu__right-items .menu-item__group--nochild {
  margin-bottom: 4px;
}

/* Keep the mega-menu to the first two category levels. */
.uc-header .submenu__right-items .menu-item:not(.menu-item__group-main-item) {
  display: none;
}

.uc-header .uc-all-products-menu > .container {
  padding: 24px 26px 28px;
}

.uc-header .uc-all-products-menu {
  width: min(1180px, calc(100vw - 48px));
}

.uc-all-products-menu__heading {
  align-items: flex-end;
  border-bottom: 1px solid var(--uc-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
  padding-bottom: 13px;
}

.uc-all-products-menu__heading > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uc-all-products-menu__eyebrow {
  color: var(--uc-red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.uc-all-products-menu__heading strong {
  color: var(--uc-ink);
  font-size: 20px;
  letter-spacing: -.025em;
}

.uc-all-products-menu__heading > a {
  color: var(--uc-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.uc-all-products-menu__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uc-all-products-menu__category {
  background: #f7f7f4;
  border: 1px solid #ecece8;
  border-radius: 11px;
  min-width: 0;
  padding: 13px 14px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.uc-all-products-menu__category:hover {
  border-color: #d9d9d3;
  box-shadow: 0 9px 24px rgba(17, 19, 18, .07);
  transform: translateY(-2px);
}

.uc-all-products-menu__visual {
  align-items: center;
  background: var(--uc-soft);
  border-radius: 10px;
  display: flex;
  height: 78px;
  justify-content: center;
  margin-bottom: 11px;
  overflow: hidden;
}

.uc-all-products-menu__visual img {
  height: 100%;
  object-fit: contain;
  transition: transform .22s ease;
  width: 100%;
}

.uc-all-products-menu__category:hover .uc-all-products-menu__visual img {
  transform: scale(1.045);
}

.uc-all-products-menu__title {
  color: var(--uc-ink);
  display: block;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 9px;
  padding-bottom: 8px;
  position: relative;
}

.uc-all-products-menu__title::after {
  background: var(--uc-red);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 24px;
}

.uc-all-products-menu__category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uc-all-products-menu__category li + li {
  margin-top: 4px;
}

.uc-all-products-menu__category li a {
  color: #5c625d;
  display: block;
  font-size: 11px;
  line-height: 1.25;
  transition: color .15s ease, transform .15s ease;
}

.uc-all-products-menu__category a:hover {
  color: var(--uc-red);
}

.uc-all-products-menu__category li a:hover {
  transform: translateX(2px);
}

.uc-header .ps-mainmenu__tree-link:focus-visible,
.uc-header .ps-mainmenu__tree-dropdown-toggle:focus-visible,
.uc-header .submenu a:focus-visible {
  border-radius: 5px;
  outline: 2px solid var(--uc-red);
  outline-offset: 2px;
}

.header-nav-full-width {
  background: #fff;
}

@media (max-width: 1399.98px) {
  .uc-header__grid {
    column-gap: 20px;
    grid-template-columns: 150px max-content minmax(0, 1fr) auto;
  }

  .uc-header .ps-mainmenu__tree {
    gap: 2px;
  }

  .uc-header .ps-mainmenu__tree-link {
    font-size: 14px;
    max-width: 112px;
    padding: 4px 5px !important;
  }

  .uc-header .submenu__right-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uc-header .ps-mainmenu__tree-dropdown-toggle.uc-all-products-entry__button {
    flex-basis: 158px;
    font-size: 11px;
    min-width: 158px;
    width: 158px;
  }
}

@media (max-width: 1199.98px) {
  .uc-header__container {
    padding-inline: 18px;
  }

  .uc-header__grid {
    grid-template-columns: 46px minmax(0, 1fr) 58px 40px 40px 40px;
    grid-template-rows: 64px 52px;
    column-gap: 0;
    min-height: 116px;
  }

  .uc-header__brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .uc-brand__logo {
    width: 126px;
  }

  .uc-header #_desktop_ps_searchbar,
  .uc-header__actions,
  .uc-header__advice,
  .uc-header .ps-mainmenu__desktop {
    display: none !important;
  }

  .uc-header .ps-searchbar__offcanvas .offcanvas-header > button {
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    color: var(--uc-red);
    font-size: 0;
    line-height: 1;
  }

  .uc-header .ps-searchbar__offcanvas .offcanvas-header > button::before {
    content: "×";
    display: block;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
  }

  .uc-header .ps-mainmenu--desktop {
    align-items: center;
    align-self: center;
    background: transparent !important;
    display: flex;
    grid-column: 1;
    grid-row: 2;
    width: 46px;
    margin-top: 0;
  }

  .uc-header .ps-mainmenu__mobile-toggle {
    display: flex;
  }

  .uc-header .menu-toggle {
    align-items: center;
    color: var(--uc-ink);
    display: flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  .uc-header .menu-toggle .material-icons {
    font-size: 27px;
  }

  .uc-header .ps-searchbar--mobile {
    display: flex !important;
    grid-column: 4;
    grid-row: 2;
    justify-self: center;
    margin-right: 0;
  }

  .uc-header__mobile-actions {
    align-items: center;
    display: contents !important;
    gap: 0;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile {
    display: flex;
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    align-items: center;
    margin: 0;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile .uc-price-mode__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile .uc-price-toggle {
    width: 58px;
    height: 26px;
    padding: 0 5px;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile .uc-price-toggle__label {
    width: 25px;
    height: 24px;
    font-size: 8px;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile .uc-price-toggle__knob {
    top: 2px;
    width: 20px;
    height: 20px;
  }

  .uc-header__mobile-actions .uc-price-mode--mobile .uc-price-toggle[aria-pressed="true"] .uc-price-toggle__knob {
    transform: translateX(32px);
  }

  .uc-header__mobile-actions #_mobile_ps_customersignin {
    grid-column: 5;
    grid-row: 2;
  }

  .uc-header__mobile-actions #_mobile_ps_shoppingcart {
    grid-column: 6;
    grid-row: 2;
  }

  .uc-header .header-block__action-btn {
    height: 42px;
    min-width: 40px;
    padding: 0 5px !important;
  }

  .uc-header .header-block__badge {
    right: 0;
    top: -2px;
  }

  .ps-mainmenu--mobile {
    --bs-offcanvas-width: min(92vw, 410px);
    background: #fff;
    border: 0;
    box-shadow: 28px 0 80px rgba(15, 18, 16, .22);
    font-family: var(--uc-font);
    height: 100vh;
    height: 100dvh;
    z-index: 1090;
  }

  .ps-mainmenu--mobile .offcanvas-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 83px 32px;
    row-gap: 0;
    align-content: start;
    box-sizing: border-box;
    border-bottom: 0;
    height: 119px;
    min-height: 119px;
    padding: 4px 18px 0;
  }

  .ps-mainmenu--mobile .offcanvas-header::before {
    content: none;
  }

  .ps-mainmenu--mobile .uc-mobile-menu-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    display: block;
    margin-block: 10px;
    line-height: 0;
  }

  .ps-mainmenu--mobile .uc-mobile-menu-brand img {
    display: block;
    width: 142px;
    height: auto;
  }

  .ps-mainmenu--mobile .ps-mainmenu__back-button {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    min-height: 32px;
  }

  .ps-mainmenu--mobile .ps-mainmenu__back-button,
  .ps-mainmenu--mobile .btn-close {
    position: relative;
    z-index: 1;
  }

  .ps-mainmenu--mobile .btn-close { grid-column: 2; grid-row: 1; }

  .ps-mainmenu--mobile .ps-mainmenu__back-button .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 2px 0;
    color: var(--uc-red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .ps-mainmenu--mobile .ps-mainmenu__back-button .material-icons { font-size: 18px; }

  .ps-mainmenu--mobile .ps-mainmenu__mobile {
    flex: 1 1 auto;
    height: auto;
    overflow: hidden auto;
  }

  .ps-mainmenu--mobile .menu {
    max-width: none;
    padding: 0 22px 24px;
  }

  .ps-mainmenu--mobile .menu__list {
    margin: 0;
    padding: 0;
  }

  .ps-mainmenu--mobile .menu__list > li:not(.menu__title) {
    border-bottom: 1px solid var(--uc-line);
    min-height: 50px;
  }

  .ps-mainmenu--mobile .menu__link {
    color: var(--uc-ink);
    font-size: 16px;
    font-weight: 750;
    padding: 14px 0;
  }

  .ps-mainmenu--mobile .menu[data-depth="0"] > .menu__list > li:first-child .menu__link {
    color: var(--uc-red);
  }

  .ps-mainmenu--mobile .menu__toggle-child {
    color: var(--uc-red);
    height: 42px;
    width: 42px;
  }

  .ps-mainmenu--mobile .menu__title {
    border-bottom: 2px solid var(--uc-black);
    color: var(--uc-ink);
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 2px;
    padding: 0 0 10px;
  }

  .ps-mainmenu--mobile .ps-mainmenu__additionnals {
    background: var(--uc-black);
    color: #fff;
    min-height: 78px;
    padding: 16px 22px;
  }

  .ps-mainmenu--mobile .ps-mainmenu__additionnals::before {
    content: "Service pro · conseils d'experts";
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
    width: 100%;
  }

  .ps-mainmenu--mobile .ps-mainmenu__additionnals a {
    color: #fff;
  }
}

@media (max-width: 575.98px) {
  .uc-header__container {
    padding-inline: 10px;
  }

  .uc-header__grid {
    grid-template-columns: 42px minmax(0, 1fr) 58px 36px 36px 36px;
    grid-template-rows: 58px 48px;
    min-height: 106px;
  }

  .uc-brand__logo {
    width: 108px;
  }

  .uc-header .ps-searchbar--mobile {
    margin-right: 0;
  }

  .uc-header .ps-mainmenu--desktop { margin-top: 0; }

  .uc-header .ps-searchbar--mobile .header-block__action-btn,
  .uc-header__mobile-actions .header-block__action-btn {
    min-width: 36px;
    width: 36px;
  }

  .uc-header .header-block__icon {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header.js-sticky-header,
  .uc-header *,
  .ps-mainmenu--mobile * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* -------------------------------------------------------------------------
   Autocompletion adresse (API Adresse data.gouv.fr, France uniquement).
   ------------------------------------------------------------------------- */

.at-address-autocomplete {
  position: relative;
}

.at-address-autocomplete__list {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  top: 100%;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  background: var(--uc-paper);
  border: 1px solid var(--uc-line);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(33, 25, 21, 0.12);
  max-height: 260px;
  overflow-y: auto;
}

.at-address-autocomplete__suggestion {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--uc-ink);
  font-family: var(--uc-font);
  font-size: 0.9rem;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
}

.at-address-autocomplete__suggestion:hover,
.at-address-autocomplete__suggestion:focus {
  background: var(--uc-soft);
  outline: none;
}

@media (min-width: 1200px) {
  .uc-header #_desktop_ps_searchbar {
    background: transparent;
    padding: 0;
  }

  .uc-header #_desktop_ps_searchbar .ps-searchbar__magnifier {
    background: var(--uc-navy);
  }

  /* When search is active, clear the rest of its header row and let it grow. */
  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) .uc-header__actions,
  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) .uc-header__advice,
  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) .uc-header__modules > *:not(#_desktop_ps_searchbar) {
    visibility: hidden;
  }

  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) #_desktop_ps_searchbar {
    left: max(192px, calc((100% - 1050px) / 2 + 192px));
    right: auto;
    width: min(620px, calc(100% - 620px));
    padding: 0;
    background: transparent;
  }

  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) #_desktop_ps_searchbar,
  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) .ps-searchbar,
  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) .ps-searchbar__form {
    max-width: none;
  }

  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) #_desktop_ps_searchbar .ps-searchbar__magnifier {
    background: var(--uc-navy);
  }

  .header-bottom.uc-header {
    padding-block: 0;
    border-bottom: 0;
  }

  .uc-header__grid {
    grid-template-rows: 116px minmax(65px, auto);
  }

  /* Place the first row near its top, leaving the extra space below the logo. */
  .uc-header__brand {
    align-self: center;
    margin: 0;
  }

  /* Keep search and advice in separate tracks: only search is allowed to shrink. */
  .uc-header__grid {
    grid-template-columns: 190px max-content minmax(0, 1fr) auto;
    column-gap: clamp(16px, 1.5vw, 28px);
  }

  .uc-header #_desktop_ps_searchbar {
    align-self: center;
    grid-column: 3;
    grid-row: 1;
    justify-self: stretch;
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 620px;
    margin-top: 0 !important;
  }

  .uc-header__grid:has(#_desktop_ps_searchbar:focus-within) #_desktop_ps_searchbar {
    left: auto;
    width: 100%;
    max-width: none;
  }

  .uc-header__advice {
    align-self: center;
    flex: none;
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    position: relative;
    margin-top: 0;
    z-index: 1;
  }

  .uc-header__actions {
    align-self: center;
    grid-column: 4;
    margin-top: 0;
  }

  .uc-header .ps-searchbar__form,
  .uc-header .ps-searchbar__input {
    height: 38px;
  }

  .uc-header .ps-searchbar__input {
    border-radius: 0;
    font-size: 12px;
    padding-left: 14px;
  }

  .uc-header__advice-text small {
    font-size: 12px;
  }

  .uc-header .ps-searchbar__magnifier {
    border-radius: 0;
    height: 36px;
    width: 40px;
  }

  .uc-header .ps-mainmenu--desktop,
  .uc-header .ps-mainmenu__desktop,
  .uc-header .ps-mainmenu__tree {
    height: auto;
    min-height: 65px;
  }

  /* Full-bleed top hairline reaching both viewport edges. */
  .uc-header .ps-mainmenu--desktop {
    background: var(--uc-navy);
    border-inline: 1px solid #8f969d;
    border-block: 0;
    box-sizing: border-box;
    margin-left: calc(-1 * clamp(24px, 5vw, 96px));
    position: relative;
    width: calc(100% + clamp(48px, 10vw, 192px));
  }

  .uc-header .ps-mainmenu__desktop {
    background: var(--uc-navy);
    border: 0;
    padding: 0;
  }

  .uc-header .ps-mainmenu--desktop::before {
    background: #8f969d;
    content: "";
    height: 1px;
    left: calc(50% - 50vw);
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: 0;
  }

  .uc-header .ps-mainmenu__tree {
    box-sizing: border-box;
    background: var(--uc-navy);
    border-block: 0;
    border-bottom: 0;
    gap: 0;
    margin: 0;
    padding-block: 0;
    padding-inline: 0;
  }

  .uc-header .ps-mainmenu__tree > li {
    background: var(--uc-navy);
    height: 100%;
    box-sizing: border-box;
    border-right: 1px solid #8f969d !important;
  }

  .uc-header .ps-mainmenu__tree > li:first-child {
    border-left: 0 !important;
  }

  .uc-header .ps-mainmenu__tree > li:last-child {
    border-right: 0 !important;
  }

  .uc-header .ps-mainmenu__tree > li > .ps-mainmenu__tree-item-wrapper {
    background: var(--uc-navy) !important;
    border-radius: 0;
    height: auto;
    min-height: 65px;
  }

  .uc-header .ps-mainmenu__tree > li > .ps-mainmenu__tree-item-wrapper > .ps-mainmenu__tree-link {
    align-items: center;
    color: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    letter-spacing: .02em;
    line-height: 1.25;
    max-width: none;
    text-transform: uppercase;
    min-height: 65px;
    padding: 8px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-spacing: normal;
  }

  .uc-header .ps-mainmenu__tree-item-wrapper::after {
    display: none;
  }

  .uc-header .ps-mainmenu__tree-item .ps-mainmenu__tree-dropdown-toggle {
    height: 100%;
    right: 0;
    top: 0;
  }

  .uc-header .ps-mainmenu__tree-dropdown-toggle::after {
    display: none;
  }

  /* Popup menu typography follows the same display face as the main menu. */
  .uc-header .submenu__left-item,
  .uc-header .submenu__right-items .menu-item__group-main-item,
  .uc-header .submenu__right-items .menu-item {
    font-family: var(--uc-font-display);
  }

  .uc-header .submenu__left-item,
  .uc-header .submenu__right-items .menu-item__group-main-item {
    font-weight: 700;
    letter-spacing: .02em;
  }

  .uc-header .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper,
  .uc-header .ps-mainmenu__tree > li.current > .ps-mainmenu__tree-item-wrapper {
    background: #fff !important;
  }

  .uc-header .ps-mainmenu__tree-item:hover > .ps-mainmenu__tree-item-wrapper > .ps-mainmenu__tree-link,
  .uc-header .ps-mainmenu__tree > li.current > .ps-mainmenu__tree-item-wrapper > .ps-mainmenu__tree-link {
    color: var(--uc-navy);
  }

  /* Hovered entry: fully white cell (no navy sliver above it) and a red bar under the title. */
  .uc-header .ps-mainmenu__tree > li:hover {
    background: #fff;
  }

  .uc-header .ps-mainmenu__tree > li > .ps-mainmenu__tree-item-wrapper {
    height: 100%;
  }

  /* The grey top rule is drawn by each cell instead of the full-width ::before (which sat above the
     cells), so the hovered white cell can drop it. */
  .uc-header .ps-mainmenu__tree > li > .ps-mainmenu__tree-item-wrapper {
    box-shadow: inset 0 1px 0 #8f969d !important;
  }

  .uc-header .ps-mainmenu__tree > li:hover > .ps-mainmenu__tree-item-wrapper {
    box-shadow: none !important;
  }

  /* Red bar under the title: the label width minus 5% on each side (one bar per wrapped line). */
  .uc-header .ps-mainmenu__tree-label {
    background: linear-gradient(var(--uc-red), var(--uc-red)) no-repeat center bottom / 0 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 5px;
    transition: background-size .22s cubic-bezier(.4, 0, .2, 1);
  }

  .uc-header .ps-mainmenu__tree > li:hover .ps-mainmenu__tree-label {
    background-size: 90% 2px;
  }
}
