.bles-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    font-size: 16px;
    color: #121310;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgb(0 0 0 / 16%);
    padding: 44px 22px;
}

.table-header, 
.table-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid rgb(112 112 112 / 31%);
  box-sizing: border-box;
}

.table-header {
  font-weight: bold;
}

.cell {
    border-right: 1px dashed rgb(112 112 112 / 31%);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.asterix::before {
    content: '✹';
    color: #EBAF00;
    display: block;
    margin-left: 5px;
}
.cell-head {
    color: #82705E;
    font-size: 15px;
    padding-top: 3px;
    font-weight: bold;
    align-items: flex-start;
}
.cell:nth-child(1),
.cell:nth-child(2),
.cell:nth-child(3) {
    flex: 1.5 1 0;
    text-align: left;
    padding-left: 16px;
}
.cell:nth-child(3) {
    justify-content: center;
}
.cell:nth-child(2) {
    width: 108px;
    flex: 0 0 108px;
    justify-content: center;
}
.cell-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  border-right: 1px dashed rgb(112 112 112 / 31%);
  box-sizing: border-box;
}
.cell-group-title {
  font-size: 15px;
  text-align: center;
  padding: 6px 4px;
}
.cell-subgroup {
  display: flex;
  justify-content: space-between;
  height: 100%;
}
.subcell {
  flex: 1 1 0;
  border: none;
  padding: 6px 4px;
  margin: 2px;
  text-align: center;
  font-size: 12px;
  box-sizing: border-box;
  font-weight: normal;
  text-transform: uppercase;
}
.cell-subgroup .subcell {
  font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.cell-subgroup .subcell span {
    margin-left: 2px;
}
.subcell:first-child {
  border-left: none;
}
.cell-group:last-child {
  border-right: none;
}
.table-row:last-child {
  border-bottom: none;
}
.table-row .cell:nth-child(2) {
    text-align: right;
    justify-content: flex-end;
}
.subcell:nth-child(1),
.subcell:nth-child(1) .sous_var {
    color:#4292A5;
}
.subcell:nth-child(2) {
    color:#EBAF00;
    background-color: #f0f1f3;
}
.subcell:nth-child(2) .sous_var {
    color:#EBAF00;
}
.subcell:nth-child(3),
.subcell:nth-child(3) .sous_var {
    color:#82705E;
}
.sous_var {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 1px 5px;
        align-items: center;
    justify-content: center;
}
.design_circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: auto;
}
.sous_var.bleu {
    background-color: #4292A5; /* bleu */
    color: white !important;
}
.sous_var.orange {
    background-color: #EBAF00; /* orange */
    color: white !important;
}

.sous_var.marron {
    background-color: #82705E; /* marron */
    color: white !important;
}

.post-type-archive-ml_bles .page-header-outer {
    max-width: 100%;
    margin: 3rem auto;
}
@media (min-width:1199px) and (max-width: 1833px) {
  .page-header {
    grid-template-columns: calc((100vw - 90%));
    grid-gap: 25px;
  }
  /* .page-header-droite {
    width: 90%;
    padding-left: 10%;
    padding-right: 10%;
  }
  .page-header-droite:has( img)::before {
    inset: 0px 50px auto auto;
  } */
  .page-header-droite:has( img)::before {
        transform-origin: center;
        transform: scaleX(-1);
        right: auto;
        left: -30px;
    }
}
@media (max-width: 991px) {
  .cell {
    word-break: break-word;
  }
  .table-header {
    display: none;
  }
  .table-row {
    display: block;
  }
  .cell, .cell-group {
    border-right: none !important;
    width: 100%;
  }
  .cell-group-title {
    text-align: left;
  }
  .cell-group::before {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    flex: 0 0 40%;
  }
  .cell-group:nth-child(4):before {
    content: 'Panifiables';
  }
  .cell-group:nth-child(5):before {
    content: 'BAF';
  }
  .cell-group:nth-child(6):before {
    content: 'Correcteurs';
  }
  .cell-group:nth-child(7):before {
    content: 'Biscuitiers';
  }
  .cell-subgroup {
    justify-content: flex-start;
    flex: 1;
  }
  .cell-subgroup .subcell::before {
    display: block;
    font-size: 12px;
  }
  .cell-subgroup .subcell:nth-child(1)::before {
    content: 'VRM';
    color: #4292A5;
  }
  .cell-subgroup .subcell:nth-child(2)::before {
    content: 'BPMF';
    color: #EBAF00;
  }
  .cell-subgroup .subcell:nth-child(3)::before {
    content: 'VO';
    color: #82705E ;
  }
  .cell-subgroup .subcell {
    height: 37px;
    display: block;
  }
  .subcell {
    flex: none;
    width: 33%;
    border-left: none;
    border-bottom: none;
  }
  .bles-grid {
    padding: 22px 12px;
  }

  .table-header .cell-head {
    font-size: 14px;
    padding: 4px 8px;
    text-align: left;
  }

  .table-row {
    margin-bottom: 12px;
    overflow: hidden;
  }

  .table-row .cell {
    padding: 8px 10px;
  }

  .table-row .cell:nth-child(1)::before {
    content: "Variété : ";
    font-weight: bold;
    color: #82705E;
    text-align: left;
  }

  .table-row .cell:nth-child(2)::before {
    content: "Inscription : ";
    font-weight: bold;
    color: #82705E;
    text-align: left;
  }

  .table-row .cell:nth-child(3)::before {
    content: "Représentant : ";
    font-weight: bold;
    color: #82705E;
    text-align: left;
  }

  .table-row .cell:nth-child(1),
  .table-row .cell:nth-child(2),
  .table-row .cell:nth-child(3) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 0;
    width: 100%;
    text-align: right;
  }
  .cell-group {
    margin: 15px 0;
    flex-direction: row;
  }
  .cell-group-title {
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
  }

  .subcell {
    font-size: 11px;
    margin: 1px 4px;
    padding: 4px;
  }

  .subcell span {
    font-size: 10px;
  }
}

/*
Filter
*/
@media(min-width:1025px) {
  .sidebar_filter {
      background-color: white;
      box-shadow: 0 3px 8px rgb(0 0 0 / 16%);
      position: fixed;
      height: 100%;
      top: 0;
      left: 0;
      width: 300px;
      z-index: 99;
  }
}
.sidebar_filter-container {
    padding: 20px;
    height: 100%;
}
.title_search {
    font-size: 18px;
    color: #82705e;
    font-weight: bold;
    margin-bottom: 16px;
}
.sidebar_filter-container > p {
    font-weight: 600;
}
.txt_orange,
.sidebar_filter-container > p span {
    color: #ebaf00;
}

.sidebar_filter-inner {
  height: 80%;
  overflow-y: auto;
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}
@media (min-width: 1800px) {
  .sidebar_filter-inner {
    height: 85%;
  }
}
.sidebar_filter-inner::-webkit-scrollbar {
  display: none; 
}
.sidebar-item {
    background-color: #F8F9FA;
    margin: 15px 0;
    padding: 7px 15px;
    border-radius: 21px;
}
.sidebar-item:has(.search-filter-field--input-type-text) {
    background-color: transparent;
}
.sidebar-item .search-filter-label {
    color: #82705E;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}
.sidebar-item:has(.search-filter-field--input-type-text) .search-filter-label {
   color: black;
}
.sidebar-item .search-filter-input-checkbox__label,
.searchCheckbox__label {
    font-size: 14px;
    font-weight: 300;
}
.searchCheckbox__label {
    padding-left: 10px;
    width: 100%;
    display: flex
;
    justify-content: var(--search-filter-count-justification);
}
.sidebar-item .search-filter-component-combobox-base,
.sidebar-item  .search-filter-component-combobox-base--focused {
    border-color: transparent;
}
.sidebar-item .search-filter-field__input {
    margin-top: 10px;
}
.search-filter-field__popup {
    border-color: transparent;
    box-shadow: 0px 2px 4px #dddddd;
}
.search-filter-component-combobox-base__listbox-option {
    font-weight: 300;
    font-size: 14px;
}
.search-filter-input-checkbox__control {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #707070;
}
.search-filter-input-checkbox__control::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ebaf00;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.search-filter-input-checkbox--is-active .search-filter-input-checkbox__control::before {
  opacity: 1;
  visibility: visible;
}
.search-filter-component-combobox-base__listbox-option--selected,
.search-filter-component-combobox-base__listbox-option--active:hover, 
.search-filter-component-combobox-base__listbox-option--active,
.search-filter-component-combobox-base__listbox-option--active.search-filter-component-combobox-base__listbox-option--selected {
    background-color: #ebaf00;
}
.search-filter-input-checkbox--is-active .search-filter-input-checkbox__control {
  border-color: #ebaf00;
}
.search-filter-component-combobox:not(.search-filter-component-combobox--focused).search-filter-component-combobox--mode-single .search-filter-component-combobox__selection span {
    font-size: 12px;
}
.sidebar-item .search-filter-input-checkbox__control>svg {
    display: none;
}
.search-filter-icon__svg {
    fill: #ebaf00;
    color: #ebaf00;
}
.sidebar-item .search-filter-input-text {
    border: 0;
    background-color: transparent;
    font-size: 14px;
    padding: 0;
}
.sidebar-item .search-filter-input-text input[type=text]::placeholder {
  font-weight: 300;
  font-style: normal;
    font-size: 14px;
}
.sidebar-item  .search-filter-input-text input[type=text].search-filter-input-text__input {
  border-bottom: 1px solid;
  border-radius: 0;
}
.sidebar-item  .search-filter-input-checkbox {
    padding: 2px 0;
}
.button_search {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.button_search .search-filter-input-button.search-filter-field__input {
    border-radius: 999px;
    font-weight: 300;
    text-transform: uppercase;
    background-color: #ebaf00;
    border: 0;
    color: white;
    padding: 10px 15px;
    transition: all .3s ease;
}
.button_search .btn-reset .search-filter-input-button {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    border: 1px solid #EBAF00;
    background-color: transparent;
    padding: 0;
    display:flex;
    align-items: center;
    justify-content: center;
}
.button_search .btn-reset .search-filter-input-button::before {
    content: "";
    background-image: url("../design/reset.svg");
    transition: transform 0.4s ease;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 24px;
    height: 24px;
}
.button_search .search-filter-input-button.search-filter-field__input:hover {
    background-color: #82705e;
    color: white;
}
.button_search .btn-reset .search-filter-input-button:hover {
    background-color: transparent;
    border-color: #EBAF00;
    color: white;
}
.button_search .btn-reset .search-filter-input-button:hover::before {
  transform: rotate(360deg);
}

@media (min-width: 1025px) and (max-width: 1833px) {
  .sidebar_filter {
    width: 250px;
  }
  .post-type-archive-ml_bles #page.site {
    padding-left: 250px;
  }
  .post-type-archive-ml_bles .bordert {
    width: calc(100% - 250px);
  }
  .button_search .btn-reset .search-filter-input-button {
    width: 39px;
    height: 39px;
  }
  .button_search .btn-reset .search-filter-input-button::before {
      width: 20px;
      height: 20px;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .page-header-droite-outer {
    display: none;
  }
  .page-header {
    display: block;
    margin: 0 0 0 15px;
  }
}
@media (max-width: 1199px) {
  .page-header-droite-outer {
    display: none;
  }
}
@media (max-width: 1025px) {
  .post-type-archive-ml_bles .page-header-gauche h1 strong {
    line-height: 120%;
    display: inline-block;
  }
}
@media (max-width: 991px) {
  .container-bles {
    width: 90%;
  }
}
.legende-flitre { 
  margin-top: 50px;
}
.post-type-archive-ml_bles .page-header-gauche h1 {
    font-size: 86px;
}
.post-type-archive-ml_bles .page-header-gauche h1 strong {
  color: inherit;
  font-size: 36px;
  font-weight: 300;
}
/* @media (max-width: 1024px) {
  .page-header-gauche-outer .introBlock {
    display: none;
  }
  #LegendeMobile {
    display: block;
  }
} */
.post-type-archive-ml_bles .entry-header-classic {
    margin: 5rem auto 0;
    max-width: var(--largeur);
    padding-left: 5rem;
}
@media (max-width: 991px) {
  .post-type-archive-ml_bles .entry-header-classic {
    max-width: 89%;
    margin-bottom: 35px;
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .post-type-archive-ml_bles .entry-header-classic h1,
  .post-type-archive-ml_bles .page-header-gauche h1 {
    font-size: 46px;
    margin-top: 0;
  }
  .post-type-archive-ml_bles .entry-header-classic h1 strong,
  .post-type-archive-ml_bles .page-header-gauche h1 strong {
    font-size: 25px;
  }
  .post-type-archive-ml_bles .entry-header-classic {
    padding-left: 0;
  }
}
.post-type-archive-ml_bles .page-header-gauche .bouton {
    margin-top: 2rem;
}
.title_base {
  margin-left: 4rem;
}
@media(max-width:767px) {
  .container-bles .title_base {
    margin-top: 0;
    margin-left: 9px;
    font-size: 24px;
  }
}

/*
Legende
*/
p.legende {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    font-weight: normal;
}
.color_leg {
    width: 27px;
    flex: 0 0 27px;
    font-size: 14px;
}
.carre_bleu,
.carre_orange,
.carre_marron {
    width: 27px;
    height: 21px;
    background-color: #4292a5;
}

.carre_orange {
  background-color: #EBAF00;
}
.carre_marron {
    background-color: #82705e;
}
.txt_bleu {
  color: #4292A5;
}
.txt_marron {
  color: #82705e;
}
.fitre-vide {
    text-align: center;
    font-weight: bold;
}

/*
Filtres mobile
*/
.bloc-filtres-mobile {
  display: none;
}
.bloc-filtres-mobile.filtre-absolute {
  position: absolute;
  width: 100%;
  z-index: 999;
}

.bloc-filtres-mobile .filtres-mobile-container {
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0 3px 8px rgb(0 0 0 / 16%);
  border-radius: 15px;
  margin: 0 15px;
}
.bloc-filtres-mobile .sidebar_filter-container {
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 15px;
  border-top: 1px solid #82705e;
}
.bloc-filtres-mobile .title_search {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bloc-filtres-mobile .title_search::after {
  content: "";
  display: inline-block;
  width: 30px;    
  height: 30px;
  background-image: url("../design/icon-filtre.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.bloc-filtres-mobile .title_search.open-filtre::after {
  background-image: url("../design/icon-close.svg");
}
.bloc-filtres-mobile .sidebar_filter {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.bloc-filtres-mobile .sidebar_filter.open {
  max-height: 1000px;
}

@media(max-width:1024px) {
  .bloc-filtres-mobile {
    display: block;
  }
  .sidebar_filter .title_search {
    display: none;
  }
}