/* UX-ENTETE-01 — c7-fresh, lgdv0 / Hummingbird 2.1.2.
 * Tous les styles restent limités à l'en-tête. Aucun asset distant. */
.lgd-header {
  background: #fff;
  color: #252b30;
  padding: 0;
}
.lgd-header__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  row-gap: 16px;
  padding-top: 16px;
}
.lgd-header__brand {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 16px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.lgd-header__brand:hover { color: inherit; }
.lgd-header__logo {
  display: block;
  width: 76px;
  height: auto;
  flex: 0 0 auto;
}
.lgd-header__name {
  font-size: clamp(1.375rem, 5.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.lgd-header__search {
  grid-row: 2;
  min-width: 0;
  width: 100%;
}
.lgd-header .ps-searchbar {
  position: relative;
  min-width: 0;
  width: 100%;
  margin: 0;
  overflow: visible;
}
.lgd-header .ps-searchbar__input {
  min-height: 52px;
  background: #f4f5f5;
  border: 1px solid #8b969d;
  border-radius: 28px;
  color: #252b30;
  padding: 12px 48px;
  font-size: 1rem;
}
.lgd-header .ps-searchbar__input::placeholder { color: #56616a; opacity: 1; }
.lgd-header .ps-searchbar__input:focus {
  background: #fff;
  border-color: #304f60;
  outline: 2px solid #304f60;
  outline-offset: 2px;
  box-shadow: none;
}
.lgd-header .ps-searchbar__magnifier { left: 16px; }
.lgd-header .ps-searchbar__clear {
  right: 8px;
  width: 40px;
  height: 40px;
}
.lgd-header .ps-searchbar__dropdown {
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  width: 100%;
  max-width: none;
  border-radius: 8px;
  z-index: 1020;
}
.lgd-header .ps-searchbar__results {
  max-height: min(21rem, 50dvh);
  padding: 8px;
  gap: 8px;
}
.lgd-header .ps-searchbar__result-name {
  padding: 8px 12px;
  overflow-wrap: anywhere;
}
.lgd-header .ps-searchbar__result-link { min-height: 48px; }
.lgd-header .ps-mainmenu--desktop {
  grid-row: 3;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  border-top: 1px solid #e4e7e9;
}
.lgd-header .ps-mainmenu__tree { gap: 24px; margin: 0; }
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__tree-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 8px;
  color: #303d45;
  font-weight: 600;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__tree-link:hover,
.lgd-header .ps-mainmenu.ps-mainmenu--desktop li.current .ps-mainmenu__tree-link {
  color: #304f60;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.lgd-header .ps-mainmenu__mobile-toggle .menu-toggle { min-width: 48px; min-height: 48px; }
.lgd-header .ps-mainmenu__mobile-toggle .menu-toggle::after {
  content: "Menu";
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.lgd-header .lgd-header__brand:focus-visible,
.lgd-header .menu-toggle:focus-visible,
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .ps-mainmenu__tree-link:focus-visible {
  outline: 2px solid #304f60;
  outline-offset: 3px;
  border-radius: 4px;
}
@media (min-width: 1200px) {
  .lgd-header__layout {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 48px;
    row-gap: 20px;
    padding-top: 24px;
  }
  .lgd-header__logo { width: 116px; }
  .lgd-header__name { font-size: 1.875rem; }
  .lgd-header__brand { gap: 20px; }
  .lgd-header__search {
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
    max-width: 640px;
  }
  .lgd-header .ps-mainmenu--desktop { grid-row: 2; }
}

/* UX-ACCUEIL-02 BEGIN — ajout limité au contenu du module éditorial de l'accueil. */
body#index .ps-customtext {
  margin: 0;
  padding: 24px 0 48px;
}
body#index .ps-customtext .lgd-home {
  color: #25343c;
  text-align: left;
}
body#index .ps-customtext .lgd-home__welcome {
  padding: clamp(24px, 4.5vw, 64px);
  background: #f3f2ed;
  border: 1px solid #e5e4de;
  border-radius: 12px;
}
body#index .ps-customtext .lgd-home h1 {
  max-width: 800px;
  margin: 0 0 20px;
  color: #25343c;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.035em;
  text-transform: none;
}
body#index .ps-customtext .lgd-home__intro {
  max-width: 660px;
  margin: 0;
  color: #48565d;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}
body#index .ps-customtext .lgd-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
body#index .ps-customtext .lgd-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid #304f60;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
body#index .ps-customtext .lgd-home__button--primary {
  background: #304f60;
  color: #fff;
}
body#index .ps-customtext .lgd-home__button--primary:hover {
  background: #233d4a;
  border-color: #233d4a;
}
body#index .ps-customtext .lgd-home__button--secondary {
  background: transparent;
  color: #304f60;
}
body#index .ps-customtext .lgd-home__button--secondary:hover {
  background: #fff;
}
body#index .ps-customtext .lgd-home__access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
body#index .ps-customtext .lgd-home__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #dce1e3;
  border-radius: 12px;
  background: #fff;
  color: #25343c;
  text-decoration: none;
}
body#index .ps-customtext .lgd-home__card h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}
body#index .ps-customtext .lgd-home__card p {
  margin: 0 0 8px;
  color: #48565d;
  font-size: 1rem;
  line-height: 1.6;
}
body#index .ps-customtext .lgd-home__card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  min-height: 44px;
  color: #304f60;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body#index .ps-customtext .lgd-home__card:hover {
  border-color: #304f60;
  background: #f8fafb;
}
body#index .ps-customtext .lgd-home__card:hover .lgd-home__card-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
body#index .ps-customtext .lgd-home a:focus-visible {
  outline: 3px solid #304f60;
  outline-offset: 4px;
}
@media (max-width: 575.98px) {
  body#index .ps-customtext { padding: 20px 0 32px; }
  body#index .ps-customtext .lgd-home__access { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
  body#index .ps-customtext .lgd-home__actions { flex-direction: column; }
  body#index .ps-customtext .lgd-home__button { width: 100%; padding-inline: 12px; }
}
/* UX-ACCUEIL-02 END */

/* UX-MENU-PRODUITS-01 BEGIN — navigation uniquement, Hummingbird 2.1.2. */
.lgd-header .ps-mainmenu.ps-mainmenu--desktop { position: relative; }
.lgd-header .lgd-menu-products > .ps-mainmenu__tree-item-wrapper {
  margin: 4px 0;
  background: #304f60;
  border-radius: 6px;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .ps-mainmenu__tree-link {
  min-height: 48px;
  padding: 12px 16px;
  color: #fff;
}
.lgd-header .lgd-menu-products .ps-mainmenu__tree-dropdown-toggle {
  align-self: stretch;
  width: 44px;
  min-height: 48px;
  margin: 0;
  padding: 8px;
  color: #fff;
  border: 0;
  border-left: 1px solid #8197a3;
  border-radius: 0 6px 6px 0;
  background: transparent;
}
.lgd-header .lgd-menu-products > .ps-mainmenu__tree-item-wrapper:hover { background: #233d4a; }
.lgd-header .lgd-menu-products .ps-mainmenu__tree-dropdown-toggle:focus-visible {
  outline: 2px solid #304f60;
  outline-offset: 3px;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products > .submenu {
  left: 0;
  right: auto;
  width: min(880px, 100%);
  border: 1px solid #dce1e3;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 26px rgb(37 52 60 / 16%);
  z-index: 1040;
}
.lgd-header .lgd-menu-products > .submenu > .container {
  width: 100%;
  max-width: none;
  padding: 0 20px;
}
.lgd-header .lgd-menu-products .submenu__row { flex-wrap: nowrap; }
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left {
  flex: 0 0 42%;
  width: 42%;
  max-height: min(440px, calc(100dvh - 250px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 12px;
  scrollbar-gutter: stable;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left-item {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 12px;
  font-size: .9375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left-item.active {
  background: #edf2f4;
  color: #233d4a;
}
.lgd-header .lgd-menu-products .submenu__right {
  flex: 1 1 58%;
  width: 58%;
  min-width: 0;
  max-height: min(440px, calc(100dvh - 250px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
}
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__right-items {
  grid-template-columns: minmax(0, 1fr);
}
.lgd-header .lgd-menu-products .lgd-menu-branch {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lgd-header .lgd-menu-products .lgd-menu-branch .lgd-menu-branch {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #dce1e3;
}
.lgd-header .lgd-menu-products .lgd-menu-branch .menu-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 8px;
  color: #304f60;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.lgd-header .lgd-menu-products .submenu__right-items > .lgd-menu-branch > li > a { font-weight: 600; }
.lgd-header .lgd-menu-products .lgd-menu-branch a:focus-visible {
  outline: 2px solid #304f60;
  outline-offset: 1px;
}
#mobileMenu .menu__toggle-child { min-width: 44px; min-height: 44px; }
#mobileMenu .menu__link { min-height: 44px; overflow-wrap: anywhere; }
/* UX-MENU-PRODUITS-01 END */

/* UX-NAV-CATALOGUE-02 BEGIN — corrections ciblées, sans changement de navigation. */
/* Priorité sur les états du parent et sur li.current de UX-ENTETE-01. */
.lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products > .ps-mainmenu__tree-item-wrapper > :is(.ps-mainmenu__tree-link, .ps-mainmenu__tree-dropdown-toggle) {
  color: #fff;
}

/* Univers produits seulement ; les autres pages catégories gardent ce bloc natif. */
body#category.lgd-catalogue-root #js-product-list-header .subcategory {
  display: none;
}
/* Complément tri autorisé par JC après les essais navigateur. */
body#category.lgd-catalogue-root .products__sort-dropdown .dropdown-menu {
  max-height: min(20rem, 40dvh);
  max-width: calc(100vw - 24px);
  overflow-y: auto;
}
body#category.lgd-catalogue-root .products__sort-dropdown .dropdown-item {
  white-space: normal;
}
body#category.lgd-catalogue-root .products__sort-dropdown {
  min-width: 0;
  max-width: 100%;
}
body#category.lgd-catalogue-root #sort_dropdown_button {
  white-space: normal;
  text-align: left;
}
/* UX-NAV-CATALOGUE-02 END */





/* UX-ACTUALITES-02 : rubrique et seuls articles de démonstration du lot. */
.lgd-news, .lgd-news-article { color: #25343c; }
.lgd-news__intro { max-width: 48rem; margin-bottom: 1rem; font-size: 1.125rem; line-height: 1.6; }
.lgd-news__notice, .lgd-news-article__notice {
  padding: 1rem 1.25rem; margin-bottom: 2rem; border-left: 3px solid #7c939d;
  background: #f2f5f6; font-size: .9375rem; line-height: 1.6;
}
.lgd-news__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 0; margin: 0 0 2rem; list-style: none; }
.lgd-news__card {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 14rem;
  padding: 1.5rem; border: 1px solid #cbd5d9; border-radius: 8px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lgd-news__label { margin-bottom: 1rem; font-size: .8125rem; color: #49545c; }
.lgd-news__title { margin: 0 0 1.5rem; font-size: 1.375rem; line-height: 1.4; overflow-wrap: anywhere; }
.lgd-news__title a { color: #25343c; text-decoration: none; }
.lgd-news__title a::after { position: absolute; content: ''; inset: 0; border-radius: 8px; }
.lgd-news__read { margin-top: auto; color: #304f60; font-weight: 600; }
.lgd-news__card:focus-within { outline: 3px solid #304f60; outline-offset: 4px; }
.lgd-news__title a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .2em; }
.lgd-news-article { max-width: 48rem; line-height: 1.7; overflow-wrap: anywhere; }
.lgd-news-article h2 { font-size: 1.375rem; line-height: 1.4; margin-top: 2rem; }
.lgd-news-article__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; color: #304f60; text-decoration: underline; text-underline-offset: .2em; }
.lgd-news-article__back:focus-visible { outline: 3px solid #304f60; outline-offset: 4px; }
@media (hover: hover) {
  .lgd-news__card:hover { border-color: #7c939d; box-shadow: 0 4px 14px rgb(37 52 60 / 8%); }
  .lgd-news__card:hover .lgd-news__title a { text-decoration: underline; text-underline-offset: .2em; }
}
@media (min-width: 768px) { .lgd-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lgd-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .lgd-news__card { transition: none; } }

/* UX-ANIMATION-01 : état de rubrique CMS dans le seul menu mobile. */
#mobileMenu .menu__list > .lgd-cms-current > .menu__link {
  color: #304f60;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* UX-FILTRES-CATALOGUE-02 : présentation des composants natifs, pages catégorie. */
body#category .lgd-category-panel,
body#category #search_filters_wrapper {
  border: 1px solid #deded7;
  border-radius: .5rem;
  padding: 1rem;
  background: #fff;
}
body#category .lgd-category-panel summary { cursor: pointer; font-size: 1rem; }
body#category .lgd-category-panel nav { max-height: 22rem; overflow-y: auto; }
body#category .lgd-category-list { list-style: none; padding-left: .65rem; margin: 0; }
body#category .lgd-category-list:first-of-type { padding-left: 0; }
body#category .lgd-category-row { display: flex; align-items: center; gap: .25rem; }
body#category .lgd-category-row a { flex: 1; min-width: 0; padding: .45rem .2rem; overflow-wrap: anywhere; }
body#category .lgd-category-row .accordion-button { flex: 0 0 2.75rem; width: 2.75rem; min-height: 2.75rem; padding: .75rem; background: transparent; }
body#category .lgd-category-root, body#category .lgd-category-parent { display: block; padding: .5rem 0; }
body#category .lgd-category-parent { font-size: .875rem; }
body#category .lgd-category-panel [aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
body#category #offcanvas-faceted { --bs-offcanvas-width: min(24rem, 100vw); }
body#category #offcanvas-faceted .offcanvas-body { overscroll-behavior: contain; }
body#category #offcanvas-faceted .lgd-category-panel { margin-top: 1rem; }
body#category #offcanvas-faceted .facet-label { min-height: 2.75rem; align-items: center; }
body#category #offcanvas-faceted .btn-close { min-width: 2rem; min-height: 2rem; }
@media (max-width: 767.98px) {
  body#category .lgd-category-panel nav { max-height: none; }
  body#category #_desktop_lgd_categories:empty { display: none; }
}

/* UX-HIERARCHIE-CATALOGUE-01 BEGIN — données et interactions natives conservées. */
@media (min-width: 1200px) {
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products > .submenu {
    width: min(1000px, 100%);
  }
  .lgd-header .lgd-menu-products > .submenu > .container { padding: 0; }
  .lgd-header .lgd-menu-products .submenu__row {
    margin: 0;
    max-height: min(32rem, calc(100dvh - 250px));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left {
    flex: 0 0 34%;
    width: 34%;
    max-height: none;
    overflow: visible;
    padding: 12px;
    scrollbar-gutter: auto;
    background: #f6f7f5;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left-item {
    gap: 12px;
    color: #293b42;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-radius: 4px;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left-item.active {
    color: #203d49;
    background: #e2eae9;
    border-left-color: #304f60;
    font-weight: 700;
  }
  .lgd-header .lgd-menu-products .submenu__right {
    flex: 1 1 66%;
    width: 66%;
    max-height: none;
    overflow: visible;
    position: sticky;
    top: 0;
    align-self: flex-start;
    padding: 20px 24px;
    border-left: 1px solid #e1e5e2;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__right-items > .lgd-menu-branch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
  }
  .lgd-header .lgd-menu-products .submenu__right-items > .lgd-menu-branch > li > a {
    margin-bottom: 8px;
    padding: 10px 0;
    font-size: 1.0625rem;
    font-weight: 700;
    border-bottom: 1px solid #dce1de;
  }
  .lgd-header .lgd-menu-products .lgd-menu-branch .lgd-menu-branch {
    margin: 0;
    padding-left: 12px;
    border-left: 2px solid #e0e5e2;
  }
  .lgd-header .lgd-menu-products .lgd-menu-branch .lgd-menu-branch a {
    color: #4b5659;
    font-weight: 400;
    font-size: .9375rem;
  }
  .lgd-header .lgd-menu-products .lgd-menu-label { display: block; text-transform: lowercase; }
  .lgd-header .lgd-menu-products .lgd-menu-label::first-letter { text-transform: uppercase; }
  .lgd-header .lgd-menu-products a:hover .lgd-menu-label { text-decoration: underline; text-underline-offset: .2em; }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products > .submenu:has(.submenu__left-item.active[data-ps-has-child="false"]) {
    width: min(340px, 100%);
  }
  .lgd-header .lgd-menu-products .submenu__row:has(.submenu__left-item.active[data-ps-has-child="false"]) .submenu__left { flex-basis: 100%; width: 100%; }
  .lgd-header .lgd-menu-products .submenu__row:has(.submenu__left-item.active[data-ps-has-child="false"]) .submenu__right { display: none; }
}
body#category .lgd-category-panel { padding: 1rem .8rem; }
body#category .lgd-category-panel summary { font-size: .9375rem; font-weight: 700; }
body#category .lgd-category-context { margin: .75rem 0; padding: .75rem; background: #edf2ef; border-left: 3px solid #304f60; }
body#category .lgd-category-context small { display: block; color: #52605b; font-size: .75rem; }
body#category .lgd-category-context strong { display: block; margin-top: .25rem; line-height: 1.4; text-transform: lowercase; }
body#category .lgd-category-context strong::first-letter { text-transform: uppercase; }
body#category .lgd-category-parent { color: #40564f; text-decoration: underline; line-height: 1.4; margin-bottom: .5rem; }
body#category .lgd-category-panel nav { max-height: 30rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
body#category .lgd-category-list { padding: 0; margin: 0; }
body#category .lgd-category-list .lgd-category-list { margin-left: .45rem; padding-left: .5rem; border-left: 1px solid #d7dfdb; }
body#category .lgd-category-list[data-depth="1"] { margin-left: 0; padding-left: 0; border-left: 0; }
body#category .lgd-category-row { gap: 0; align-items: stretch; }
body#category .lgd-category-row a {
  display: block;
  align-content: center;
  min-height: 44px;
  padding: .6rem .3rem;
  color: #47534e;
  font-size: .875rem;
  line-height: 1.4;
  text-transform: lowercase;
  border-left: 3px solid transparent;
}
body#category .lgd-category-row a::first-letter { text-transform: uppercase; }
body#category .lgd-category-list[data-depth="1"] > li > .lgd-category-row > a { font-weight: 650; color: #273c33; font-size: .9375rem; }
body#category .lgd-category-list[data-depth="2"] > li > .lgd-category-row > a { font-weight: 500; }
body#category .lgd-category-list[data-depth="0"] > li > .lgd-category-row > a { font-weight: 700; color: #344c41; }
body#category .lgd-category-root { color: #59645e; font-size: .8125rem; padding: .4rem .3rem; }
body#category .lgd-category-row .accordion-button { padding: .9rem; color: #40564f; }
body#category .lgd-category-row:has([aria-current="page"]) { background: #e5eee8; border-radius: 4px; }
body#category .lgd-category-row [aria-current="page"] { border-left-color: #304f60; color: #243e2f; font-weight: 700 !important; }
body#category .lgd-category-panel a:hover { text-decoration: underline; text-underline-offset: .2em; }
body#category .lgd-category-panel :is(a,button,summary):focus-visible { outline: 2px solid #304f60; outline-offset: -2px; }
body#category .lgd-filter-heading { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
/* Les utilitaires Bootstrap importants sont dans cette couche Hummingbird. */
@layer utilities {
  body#category #search-filters > .left-block__title { display: none !important; }
  body#category #search_filters_wrapper:not(:has(#search-filters)) { display: none !important; }
}
body#category #_mobile_faceted:not(:has(#search-filters)) > .lgd-filter-heading { display: none; }
body#category #offcanvas-faceted .lgd-category-panel { margin-top: 1.5rem; border-top: 1px solid #d7dfdb; padding-top: 1rem; }
@media (max-width: 767.98px) {
  body#category .lgd-category-panel nav { max-height: none; overflow: visible; scrollbar-gutter: auto; }
}
/* UX-HIERARCHIE-CATALOGUE-01 END */

/* UX-HIERARCHIE-CATALOGUE-02 BEGIN — uniquement la colonne des catégories. */
body#category .lgd-context-navigation,
body#category #search_filters_wrapper.lgd-context-facets {
  padding: .75rem .5rem;
  margin-bottom: .75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body#category .lgd-refine-heading {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}
body#category .lgd-context-navigation nav { max-height: 22rem; }
body#category .lgd-context-navigation .lgd-category-list[data-depth="0"] > li > .lgd-category-row > a {
  font-weight: 650;
  font-size: .9375rem;
  color: #273c33;
}
body#category .lgd-context-navigation .lgd-category-list .lgd-category-list {
  margin-left: .45rem;
  padding-left: .5rem;
  border-left: 1px solid #d7dfdb;
}
body#category .lgd-context-navigation .lgd-category-list[data-depth="1"] > li > .lgd-category-row > a {
  font-weight: 500;
  font-size: .875rem;
  color: #47534e;
}
body#category .lgd-context-navigation .lgd-category-list[data-depth="2"] > li > .lgd-category-row > a { font-weight: 400; }
body#category #left-column:has(.lgd-context-navigation) #search_filters_wrapper.lgd-context-facets {
  border-top: 1px solid #d7dfdb;
  padding-top: 1rem;
}
body#category #offcanvas-faceted .lgd-context-navigation {
  margin: 0 0 .75rem;
  padding: 0;
  border: 0;
}
body#category #offcanvas-faceted .offcanvas-body:has(.lgd-context-navigation) #_mobile_faceted:has(#search-filters) {
  border-top: 1px solid #d7dfdb;
  padding-top: 1rem;
}
@media (max-width: 767.98px) {
  body#category .lgd-context-navigation nav { max-height: none; overflow: visible; }
}
/* UX-HIERARCHIE-CATALOGUE-02 END */

/* UX-MEGAMENU-SCROLL-01 BEGIN — deux zones sœurs, défilement natif. */
@media (min-width: 1200px) {
  .lgd-header .lgd-menu-products > .submenu {
    --lgd-menu-height: min(32rem, var(--lgd-menu-available-height, calc(100dvh - 250px)));
  }
  .lgd-header .lgd-menu-products .submenu__row {
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
    align-items: flex-start;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__left {
    flex: 0 0 21rem;
    width: 21rem;
    max-width: 100%;
    max-height: var(--lgd-menu-height);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scroll-padding-block: 12px;
  }
  .lgd-header .lgd-menu-products .submenu__right {
    position: static;
    flex: 1 1 0;
    width: auto;
    max-height: var(--lgd-menu-height);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 20px;
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products > .submenu:has(.submenu__right-items.active > .lgd-menu-branch > li:only-child) {
    width: min(760px, 100%);
  }
  .lgd-header .ps-mainmenu.ps-mainmenu--desktop .lgd-menu-products .submenu__right-items > .lgd-menu-branch:has(> li:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1199.98px) {
  #mobileMenu .ps-mainmenu__mobile {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
/* UX-MEGAMENU-SCROLL-01 END */


/* UX-CARROUSEL-01 BEGIN — affiches intégrales, commandes hors du visuel. */
body#index .lgd-poster-slider { margin-block: 1rem 2rem; }
body#index .lgd-poster-slider .carousel {
  display: grid; grid-template-columns: 3rem 1fr 3rem; gap: .5rem;
  padding: 1rem; border: 1px solid #dedbd4; border-radius: .5rem; background: #f6f3ed;
}
body#index .lgd-poster-slider .carousel-inner { grid-column: 1 / -1; }
body#index .lgd-poster-slider .ps-imageslider__figure {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .75fr);
  align-items: center; gap: 2rem; height: auto; margin: 0;
}
body#index .lgd-poster-slider .ps-imageslider__figure img {
  display: block; width: 100%; height: 25rem; object-fit: contain; object-position: center;
}
body#index .lgd-poster-slider .ps-imageslider__figcaption {
  position: static; padding: 1rem 0; color: #273940; text-align: left; font-size: 1rem;
  background: transparent; box-shadow: none;
}
body#index .lgd-poster-slider .ps-imageslider__figcaption h2 { font-size: clamp(1.4rem, 2.1vw, 2rem); }
body#index .lgd-poster-slider .lgd-poster-demo { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
body#index .lgd-poster-slider .lgd-poster-full { display: inline-block; margin-top: .5rem; text-decoration: underline; color: #324c58; }
body#index .lgd-poster-slider .carousel-indicators {
  position: static; grid-row: 2; grid-column: 2; align-self: center; margin: 0; gap: .35rem;
}
body#index .lgd-poster-slider .carousel-indicators button {
  width: 2rem; height: 1.5rem; margin: 0; border: 0; background: transparent; opacity: 1;
}
body#index .lgd-poster-slider .carousel-indicators button::after {
  content: ''; display: block; width: .5rem; height: .5rem; border-radius: 50%; margin: auto;
  background: #fff; border: 1px solid #324c58;
}
body#index .lgd-poster-slider .carousel-indicators button.active::after { background: #324c58; }
body#index .lgd-poster-slider .carousel-control-prev,
body#index .lgd-poster-slider .carousel-control-next {
  position: static; grid-row: 2; width: 3rem; height: 2.75rem; padding: .6rem;
  background: #324c58; color: #fff; border-radius: .25rem; opacity: 1;
}
body#index .lgd-poster-slider .carousel-control-prev { grid-column: 1; }
body#index .lgd-poster-slider .carousel-control-next { grid-column: 3; }
body#index .lgd-poster-slider :focus-visible { outline: 3px solid #82541d; outline-offset: 3px; }
@media (max-width: 767.98px) {
  body#index .lgd-poster-slider .carousel { padding: .6rem; }
  body#index .lgd-poster-slider .ps-imageslider__figure { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  body#index .lgd-poster-slider .ps-imageslider__figure img { height: auto; aspect-ratio: 1; }
  body#index .lgd-poster-slider .ps-imageslider__figcaption { padding: .6rem .2rem 0; }
  body#index .lgd-poster-slider .ps-imageslider__figcaption p { margin-bottom: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  body#index .lgd-poster-slider .carousel-item { transition: none; }
}
/* UX-CARROUSEL-01 END */

/* UX-CARROUSEL-02 BEGIN — commandes discrètes et visionneuse de l'accueil. */
body#index .lgd-poster-slider .carousel-control-prev,
body#index .lgd-poster-slider .carousel-control-next {
  background: transparent; color: #273940; border: 0; box-shadow: none;
  border-radius: .2rem; width: 3rem; height: 2.75rem; opacity: 1;
  transition: color .15s ease, background-color .15s ease;
}
body#index .lgd-poster-slider .carousel-control-prev:hover,
body#index .lgd-poster-slider .carousel-control-next:hover { background: rgba(39, 57, 64, .06); }
body#index .lgd-poster-slider .carousel-control-prev-icon,
body#index .lgd-poster-slider .carousel-control-next-icon {
  display: block; width: .7rem; height: .7rem; padding: 0;
  background: none; box-shadow: none; filter: none; border-radius: 0;
  border: solid currentColor; border-width: 0 2px 2px 0;
}
body#index .lgd-poster-slider .carousel-control-prev-icon { transform: rotate(135deg); }
body#index .lgd-poster-slider .carousel-control-next-icon { transform: rotate(-45deg); }
body#index .lgd-poster-slider .carousel-control-prev-icon::before,
body#index .lgd-poster-slider .carousel-control-prev-icon::after,
body#index .lgd-poster-slider .carousel-control-next-icon::before,
body#index .lgd-poster-slider .carousel-control-next-icon::after { content: none; }
body#index .lgd-poster-slider .carousel-indicators { flex-wrap: wrap; gap: 0; }
body#index .lgd-poster-slider .carousel-indicators button { width: 2.75rem; height: 2.75rem; }
body#index .lgd-poster-slider .carousel-item { transition: transform .45s ease-in-out; }
body#index .lgd-poster-slider .lgd-poster-rotation {
  grid-row: 3; grid-column: 1 / -1; justify-self: center;
  min-height: 2.75rem; padding: .4rem .8rem; border: 0; border-radius: .2rem;
  background: transparent; color: #324c58; text-decoration: underline; font: inherit;
}
body#index .lgd-poster-slider .lgd-poster-rotation:hover { background: rgba(39, 57, 64, .06); }
body#index .lgd-poster-slider .lgd-poster-rotation:disabled { opacity: .7; cursor: default; text-decoration: none; }
body#index .lgd-poster-slider button.lgd-poster-full {
  background: transparent; border: 0; padding: .4rem 0; min-height: 2.75rem;
  text-align: left; font: inherit;
}
body#index .lgd-poster-slider :focus-visible { outline: 3px solid #82541d; outline-offset: 3px; }
html.lgd-poster-viewer-open { overflow: hidden; }
body#index .lgd-poster-viewer {
  width: min(72rem, calc(100vw - 2rem)); max-width: none;
  max-height: calc(100dvh - 2rem); margin: auto; padding: 1rem;
  border: 0; border-radius: .5rem; background: #f6f3ed; color: #273940;
  overflow: auto;
}
body#index .lgd-poster-viewer::backdrop { background: rgba(20, 28, 32, .8); }
body#index .lgd-poster-viewer__header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .75rem;
}
body#index .lgd-poster-viewer__header h2 { font-size: 1.15rem; margin: 0; flex: 1 1 12rem; }
body#index .lgd-poster-viewer__header button {
  font: inherit; min-height: 2.75rem; padding: .4rem .7rem;
  border: 1px solid #324c58; border-radius: .25rem; background: transparent; color: #273940;
}
body#index .lgd-poster-viewer__header [data-lgd-close] { order: 1; }
body#index .lgd-poster-viewer__stage { overflow: auto; max-height: calc(100dvh - 11rem); }
body#index .lgd-poster-viewer__stage img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 11rem);
  object-fit: contain; margin: auto;
}
body#index .lgd-poster-viewer--zoom .lgd-poster-viewer__stage img { max-width: none; max-height: none; margin: 0; }
@media (max-width: 575.98px) {
  body#index .lgd-poster-viewer { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); padding: .6rem; }
  body#index .lgd-poster-viewer__header h2 { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body#index .lgd-poster-slider .carousel-item,
  body#index .lgd-poster-slider .carousel-control-prev,
  body#index .lgd-poster-slider .carousel-control-next { transition: none; }
}
/* UX-CARROUSEL-02 END */


/* UX-PIED-PAGE-02 BEGIN — grille compacte, uniquement dans le footer. */
#footer .footer__main {
  padding: 20px 0 12px;
  border-top: 1px solid #dedfda;
  background: #f3f2ed;
  color: #25343c;
}
#footer .lgd-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: start;
}
#footer .lgd-footer__identity,
#footer .lgd-footer__links,
#footer .lgd-footer__pending { min-width: 0; }
#footer .lgd-footer__identity,
#footer .lgd-footer__links { grid-column: 1 / -1; }
#footer .lgd-footer__links .lgd-footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
#footer .lgd-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
#footer .lgd-footer__logo {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: auto;
}
#footer .lgd-footer__name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}
#footer .lgd-footer__title {
  margin: 0 0 4px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  text-transform: none;
}
#footer .lgd-footer__list { margin: 0; padding: 0; list-style: none; }
#footer .lgd-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  padding: 5px 0;
  color: inherit;
  font-size: .875rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
#footer .lgd-footer__list a:hover { color: #304f60; }
#footer .lgd-footer__brand:focus-visible,
#footer .lgd-footer__list a:focus-visible {
  outline: 3px solid #304f60;
  outline-offset: 3px;
  border-radius: 2px;
}
#footer .lgd-footer__note {
  margin: 0 0 4px;
  font-size: .75rem;
  line-height: 1.5;
  color: #56616a;
}
#footer .lgd-footer__placeholder {
  display: block;
  padding: 3px 0;
  font-size: .875rem;
  line-height: 1.45;
  color: #56616a;
}
@media (min-width: 768px) {
  #footer .lgd-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #footer .lgd-footer__links { grid-column: auto; }
  #footer .lgd-footer__links .lgd-footer__list { display: block; }
}
@media (min-width: 992px) {
  #footer .lgd-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
  #footer .lgd-footer__identity { grid-column: auto; }
}
@media (max-width: 767.98px), (any-pointer: coarse) {
  #footer .lgd-footer__list a { min-height: 44px; }
}
/* UX-PIED-PAGE-02 END */


/* UX-MAGASINS-CARTES-02 BEGIN — répertoire CMS 7 exclusivement. */
body#cms .lgd-stores__intro {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
body#cms .lgd-stores__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body#cms .lgd-stores__card {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}
body#cms .lgd-stores__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  min-height: 44px;
  padding: 1.25rem;
  border: 1px solid #dde3e5;
  border-radius: 12px;
  background: #fff;
  color: #304f60;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body#cms .lgd-stores__name {
  display: block;
  font-weight: 600;
  margin: 0;
  color: #304f60;
  font-size: 1.25rem;
  line-height: 1.3;
}
body#cms .lgd-stores__address {
  margin: 0;
  color: #49545c;
  font-size: 1rem;
  line-height: 1.6;
}
body#cms .lgd-stores__street,
body#cms .lgd-stores__city { display: block; }
body#cms .lgd-stores__link:focus-visible {
  outline: 3px solid #304f60;
  outline-offset: 4px;
  border-color: #7c939d;
}
@media (hover: hover) {
  body#cms .lgd-stores__link:hover {
    border-color: #7c939d;
    box-shadow: 0 6px 18px rgba(48, 79, 96, .08);
  }
}
@media (min-width: 768px) {
  body#cms .lgd-stores__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  body#cms .lgd-stores__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  body#cms .lgd-stores__link {
    transition: none;
  }
}
/* UX-MAGASINS-CARTES-02 END */

/* V1 : le thème possède la mise en page ; le module possède les contrôles magasin. */
.lgd-header__layout { grid-template-columns: minmax(0, 1fr) auto; }
.lgd-brand-context { min-width: 0; grid-column: 1; grid-row: 1; }
.lgd-header__search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
.lgd-header .ps-mainmenu--desktop { grid-column: 2; grid-row: 1; }
.lgd-header__logo { width: 64px; }
.lgd-header__name { font-size: clamp(1.2rem, 3vw, 2rem); }
.lgd-context-row { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
.lgd-context-row .lgd-store { margin: 0; }
.lgd-context-row .lgd-store__identity,
.lgd-context-row .lgd-store__address { display: inline; margin-right: .6rem; }
.lgd-context-row .lgd-general,
.lgd-context-row .lgd-udl { display: inline-block; margin-right: 1rem; }
.lgd-context-row details[open] { position: relative; z-index: 5; }
.lgd-stores__grid { list-style: none; }
@media (min-width: 1200px) {
  .lgd-header__layout { grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.4fr); }
  .lgd-header__search { grid-column: 2; grid-row: 1; max-width: 640px; }
  .lgd-header .ps-mainmenu--desktop { grid-column: 1 / -1; grid-row: 3; }
  .lgd-context-row { grid-row: 2; }
}
@media (max-width: 767px) {
  .lgd-header__logo { width: 52px; }
  .lgd-header__brand { gap: .65rem; }
  .lgd-context-row .lgd-store__address { display: block; }
}
