/* ============================================================
   Barnes International — Module Collection (Isotope)
   Palette : #B4002F (crimson) · #1D1D1B (noir) · #EAE6DD (crème) · #fbd05c (or)
   Typographie : Raleway
   ============================================================ */

/* --- Utilitaires de texte --- */
.txt26 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #606060;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: transparent;
}

.bg1-pattern {
  background-color: #EAE6DD;
}

.trans-0-3 {
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
       -o-transition: all 0.3s;
          transition: all 0.3s;
}

.trans-0-4 {
  -webkit-transition: all 0.4s;
     -moz-transition: all 0.4s;
       -o-transition: all 0.4s;
          transition: all 0.4s;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

#Module_Collection_Objets {
  padding:1.5rem;
}
   
.section-gallery {
  padding-top: 80px;
}

/* ============================================================
   BARRE DE FILTRES (menu catégories)
   ============================================================ */

.wrap-label-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding: 0 30px;
}

.label-gallery {
  background: transparent;
  border: 1px solid rgba(180, 0, 47, 0.22);
  border-radius: 2px;
  padding: 9px 22px 8px;
  margin: 3px 0;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #606060;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
          transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.label-gallery:hover {
  background-color: #000;
  color: #ffffff;
  border-color: #000;
}

.label-gallery.is-actived {
  background-color: #000;
  color: #ffffff;
  border-color: #000;
}

.is-actived {
  background-color: #B4002F;
  color: #ffffff;
  border-color: #B4002F;
}

/* ============================================================
   GRILLE D'ITEMS
   ============================================================ */

.wrap-gallery {
  width: 100%;
  box-sizing: border-box;
}

.item-gallery {
  width: calc((100% - 60px) / 3);
  margin: 10px;
  position: relative;
  overflow: hidden;
}

.wrap-gallery .item-gallery-rad {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* ============================================================
   OVERLAY PHOTO — LIGHTBOX
   ============================================================ */

.overlay-item-gallery {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(180, 0, 47, 0.65);
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
          transition: opacity 0.4s ease;
}

.overlay-item-gallery:hover {
  opacity: 1;
}

/* ============================================================
   OVERLAY BAS DE CARTE — NOM + DESCRIPTION
   ============================================================ */

.wrap-gallery .wrap-gallery-overlay {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: linear-gradient(to top, rgba(29, 29, 27, 0.92) 0%, rgba(29, 29, 27, 0.55) 55%, transparent 100%);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  word-spacing: 2px;
  padding: 40px 16px 16px;
  -webkit-transition: background 0.35s ease, border 0.35s ease;
          transition: background 0.35s ease, border 0.35s ease;
}

.wrap-gallery .wrap-gallery-overlay .texte-bio p {
  width: 92%;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: none;
  letter-spacing: 0.4px;
  word-spacing: 1px;
  padding: 5px 0 0;
  line-height: 1.65;
}

.wrap-gallery .wrap-gallery-overlay .texte-bio p:hover {
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

/* État actif : item mis en surbrillance par la recherche */
.wrap-gallery .wrap-gallery-overlay.active {
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: linear-gradient(to top, rgb(58 4 18) 0, rgba(29, 29, 27, .94) 60%, rgb(170 8 50) 100%);
  padding-top: 28px;
}

.wrap-gallery .wrap-gallery-overlay.active .texte-bio p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.65;
}

.wrap-gallery .wrap-gallery-overlay.active .w-75 {
  width: 100% !important;
}

.wrap-gallery .wrap-gallery-overlay.active.animation {
  animation: wave-46 0.4s ease;
}

/* ============================================================
   OVERLAY HAUT DE CARTE — BOUTON ACHAT / CONTACT
   ============================================================ */

.wrap-gallery .wrap-gallery-overlay-shop {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 90;
}

.wrap-gallery .wrap-gallery-overlay-shop a {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(29, 29, 27, 0.4);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  padding: 7px 15px;
  border-radius: 2px;
  -webkit-transition: background-color 0.3s ease;
          transition: background-color 0.3s ease;
}

.wrap-gallery .wrap-gallery-overlay-shop a:hover {
  background-color: #B4002F;
  font-size: 10px;
  padding: 7px 15px;
  border-radius: 2px;
}

.wrap-gallery .wrap-gallery-overlay-shop .actif {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #B4002F;
  padding: 7px 15px;
  border-radius: 2px;
}

.wrap-gallery .wrap-gallery-overlay-shop .actif:hover {
  font-size: 10px;
  background-color: #8c0025;
}

/* ============================================================
   EFFET ZOOM AU SURVOL DE L'IMAGE
   ============================================================ */

.btn-show-gallery {
  font-size: 18px;
  color: #222222;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
}

.hov-img-zoom {
  display: block;
  overflow: hidden;
}

.hov-img-zoom img {
  width: 100%;
  -webkit-transition: transform 0.65s ease, filter 0.4s ease;
          transition: transform 0.65s ease, filter 0.4s ease;
}

.hov-img-zoom:hover img {
  -webkit-transform: scale(1.06);
      -ms-transform: scale(1.06);
          transform: scale(1.06);
  filter: brightness(0.96);
}

/* ============================================================
   BARRE DE RECHERCHE
   ============================================================ */

.input-search-collection {
  width: 420px;
}

.search-sidebar2 {
  position: relative;
}

.input-search-sidebar2 {
  width: 100%;
  height: 46px;
  padding: 0 56px 0 18px;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #1D1D1B;
  background-color: #ffffff;
  border: 1px solid rgba(180, 0, 47, 0.25);
  border-radius: 2px;
  outline: none;
  box-sizing: border-box;
  -webkit-transition: border-color 0.3s ease, box-shadow 0.3s ease;
          transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-search-sidebar2::-webkit-input-placeholder { color: #b0a9a9; font-weight: 300; font-style: italic; letter-spacing: 1px; }
.input-search-sidebar2::-moz-placeholder          { color: #b0a9a9; font-weight: 300; font-style: italic; letter-spacing: 1px; }
.input-search-sidebar2:-ms-input-placeholder      { color: #b0a9a9; font-weight: 300; font-style: italic; letter-spacing: 1px; }

.input-search-sidebar2:focus {
  border-color: #B4002F;
  box-shadow: 0 0 0 3px rgba(180, 0, 47, 0.1);
}

.btn-search-sidebar2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background-color: #B4002F;
  color: #ffffff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
          transition: background-color 0.3s ease;
}

.btn-search-sidebar2:hover {
  background-color: #8c0025;
}

/* ============================================================
   AUTOCOMPLETE DROPDOWN — surcharge Barnes
   ============================================================ */

.easy-autocomplete-container {
  z-index: 1000;
}

.easy-autocomplete-container ul {
  background: #ffffff;
  border: 1px solid rgba(180, 0, 47, 0.18);
  border-top: none;
  box-shadow: 0 8px 28px rgba(29, 29, 27, 0.1);
  border-radius: 0 0 2px 2px;
}

.easy-autocomplete-container ul li,
.easy-autocomplete-container ul .eac-category {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: #404040;
  border-color: rgba(180, 0, 47, 0.07);
  padding: 10px 18px;
  -webkit-transition: background-color 0.2s ease;
          transition: background-color 0.2s ease;
}

.easy-autocomplete-container ul li:last-child {
  border-radius: 0 0 2px 2px;
  border-width: 0 1px 1px;
}

.easy-autocomplete-container ul li.selected {
  background-color: rgba(180, 0, 47, 0.06);
  color: #B4002F;
  cursor: pointer;
}

.easy-autocomplete-container ul li.selected div {
  font-weight: 500;
}

.easy-autocomplete-container ul li b {
  color: #B4002F;
  font-weight: 700;
}

.easy-autocomplete-container ul .eac-category {
  font-style: italic;
  color: #ababab;
}

/* ============================================================
   FERMETURE MODALE
   ============================================================ */

.close-mo-video-01 {
  font-size: 40px;
  opacity: 0.45;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  z-index: 1250;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  color: #000;
  -webkit-transition: opacity 0.3s ease;
          transition: opacity 0.3s ease;
}

.close-mo-video-01:hover {
  cursor: pointer;
  opacity: 1;
}

/* ============================================================
   FICHE COLLECTION (contenu modal)
   ============================================================ */

.flat-account-form-collection {
  padding: 48px 40px;
}

/* ============================================================
   UTILITAIRES FLEX
   ============================================================ */

.flex-c-m {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-l-m {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-sa-m {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-around;
      -ms-flex-pack: space-around;
          justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-sb-m {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* ============================================================
   UTILITAIRES IMAGE
   ============================================================ */

.img-cover         { height:100% !important; -o-object-fit:cover; object-fit:cover; width:100% !important; }
.img-contain       { height:100%; -o-object-fit:contain; object-fit:contain; width:100%; }
.img-cover-paragraphe { height:100% !important; -o-object-fit:cover; object-fit:cover; width:100%; display:inline-block; width:200px !important; float:left; padding-right:30px; }

/* ============================================================
   ZOOM MODAL IMAGE
   ============================================================ */

figure.containerZoom {
  background-position: 50% 50%;
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
  margin: auto;
  max-width: 230px;
  height: 100%;
}

figure.containerZoom img {
  -webkit-transition: opacity 0.5s;
          transition: opacity 0.5s;
  display: block;
  width: 100%;
}

figure.containerZoom.active img {
  opacity: 0;
}

/* ============================================================
   RESPONSIVE — TABLETTE
   ============================================================ */

@media (max-width: 768px) {

  #Module_Collection_Objets {
    padding:0.8rem;
  }

  .item-gallery {
    width: calc((100% - 32px) / 2);
    margin: 8px;
  }

  .input-search-collection {
    width: 300px;
  }

  .wrap-gallery {
    padding-left: 0;
    padding-right: 0;
  }

  .wrap-gallery .wrap-gallery-overlay {
    font-size: 11px;
    padding: 28px 12px 12px;
    letter-spacing: 1.5px;
  }

  .wrap-gallery .wrap-gallery-overlay .texte-bio p {
    font-size: 11px;
    line-height: 1.55;
  }

  .section-gallery {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .wrap-label-gallery {
    gap: 6px;
    margin-bottom: 32px;
  }

  .flex-col-l-sm {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .flex-col-c-sm {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .img-cover-paragraphe {
    width: 100% !important;
    padding-right: 0 !important;
  }

  /* --- Barre de filtres : strip horizontal scrollable --- */
  .wrap-label-gallery.filter-tope-group {
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 20px 14px;
    margin-bottom: 24px;
    gap: 8px;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
            mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

  .wrap-label-gallery.filter-tope-group::-webkit-scrollbar {
    display: none;
  }

  .wrap-label-gallery.filter-tope-group .label-gallery {
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 8px 18px 7px;
    font-size: 10px;
  }

  /* Le bloc recherche partage la classe filter-tope-group mais ne doit pas
     être clippé — le dropdown autocomplete doit pouvoir déborder vers le bas */
  .wrap-label-gallery.input-search-collection {
    overflow: visible;
  }

}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 576px) {

  .item-gallery {
    width: calc(100% - 24px);
    margin: 8px 12px;
    left: 0 !important;
  }

  .wrap-gallery {
    padding-left: 0;
    padding-right: 0;
  }

  .wrap-label-gallery {
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 16px;
  }

  .input-search-collection {
    width: 100%;
    max-width: 340px;
  }

}
