/* FIX FOUC HEADER MOBILE */
#header {
  visibility: hidden;
}

/* =========================================================
   0) BASE GLOBALE
========================================================= */

html,
body {
  overflow-x: hidden;
}

#wrapper {
  background: #dddddd;
}

a,
button,
.btn,
.btn-primary,
.btn-secondary,
input[type="submit"],
input[type="button"],
.button,
.top-menu a,
.dropdown-item,
.page-link,
.product-miniature a,
.custom-checkbox label,
.block-category a {
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    opacity .22s ease,
    transform .22s ease;
}

a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #c59a3d;
  text-decoration: none;
}

a:active {
  color: #a67c22;
  text-decoration: none;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #c59a3d;
  transition: width .25s ease;
}

a:hover::after {
  width: 100%;
}

a:focus,
button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 2px;
}

::selection {
  background: rgba(197, 154, 61, .22);
  color: #111;
}

/* pas d’underline sur liens avec image */
a:has(img)::after,
a:has(picture)::after,
a:has(svg)::after {
  display: none !important;
  content: none !important;
}

a:has(img),
a:has(picture),
a:has(svg) {
  text-decoration: none !important;
  background-image: none !important;
}

/* =========================================
   FICHE PRODUIT — LISTES DESCRIPTION
   même couleur que les paragraphes + puces
========================================= */

body#product #description .product-description ul {
  list-style: disc outside !important;
  padding-left: 22px !important;
  margin: 8px 0 18px 0 !important;
}

body#product #description .product-description ul li {
  display: list-item !important;
  list-style: disc outside !important;
  color: #7a7a7a !important;
  margin: 4px 0 !important;
  padding-left: 2px !important;
}

body#product #description .product-description ul li::marker {
  color: #7a7a7a !important;
}

/* =========================================================
   1) BOUTONS GLOBAUX
========================================================= */

.btn,
.btn-primary,
.btn-secondary,
button:not(.wishlist-button-add),
input[type="submit"],
input[type="button"],
.button {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
button:not(.wishlist-button-add):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
  background: #c59a3d !important;
  color: #111 !important;
  border-color: #c59a3d !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
button:not(.wishlist-button-add):active,
input[type="submit"]:active,
input[type="button"]:active,
.button:active {
  background: #a67c22 !important;
  color: #111 !important;
  border-color: #a67c22 !important;
  transform: translateY(1px);
}

.btn:disabled,
button:not(.wishlist-button-add):disabled,
input:disabled {
  background: #ccc !important;
  border-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  opacity: .55;
  transform: none !important;
  box-shadow: none !important;
}

.btn-outline-primary {
  border: 1px solid #111 !important;
  color: #111 !important;
}

.btn-outline-primary:hover {
  background: #c59a3d !important;
  border-color: #c59a3d !important;
  color: #111 !important;
}

/* =========================================================
   2) LAYOUT 1 COLONNE / PAGES LISTING
========================================================= */

body#category #right-column,
body#prices-drop #left-column,
body#prices-drop #right-column,
body#new-products #left-column,
body#new-products #right-column,
body#best-sales #left-column,
body#best-sales #right-column {
  display: none !important;
}

body#prices-drop #content-wrapper,
body#new-products #content-wrapper,
body#best-sales #content-wrapper {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

body#category #columns {
  display: block !important;
}

body#category #wrapper .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#index #wrapper {
  padding-top: 0 !important;
}

/* =========================================================
   3) CARTES PRODUITS — VERSION CONSOLIDÉE
========================================================= */

#products .products > div,
.featured-products .products > div,
.product-accessories .products > div,
section.products > div,
body#category #js-product-list .products > .product,
body#category #js-product-list .products > div {
  display: flex;
}

.product-miniature {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
  background: #fff;
  border: none !important;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.product-miniature .thumbnail-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
}

.product-miniature .thumbnail-top {
  flex: 0 0 auto;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.product-miniature a.thumbnail.product-thumbnail {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

.product-miniature a.thumbnail.product-thumbnail picture,
.product-miniature a.thumbnail.product-thumbnail img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-miniature a.thumbnail.product-thumbnail img {
  height: auto !important;
  border-radius: 0;
  transition: transform .35s ease;
}

.product-miniature:hover img {
  transform: scale(1.03);
}

.product-miniature .product-description {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 16px 18px;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.product-miniature .product-title {
  margin: 0 0 12px;
  line-height: 1.35;
}

.product-miniature .product-title a {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  color: #5f5f5f;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal !important;
  text-decoration: none;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  line-clamp: unset !important;
}

.product-miniature .product-title a:hover,
.product-miniature a:hover .product-title,
.product-miniature a:hover .product-title a,
.product-title a:hover {
  color: #c59a3d !important;
}

.product-miniature .product-price-and-shipping {
  margin-top: auto;
}

.product-miniature .price,
.product-miniature .product-price,
.product-price span.current-price-value {
  display: inline-block;
  color: #c59a3d !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.05;
  letter-spacing: -0.6px;
}

.product-miniature .regular-price {
  display: inline-block;
  margin-right: 8px;
  color: #8b8b8b;
  font-size: 14px;
}

.product-miniature .discount-percentage {
  font-size: 13px;
  font-weight: 700;
}

/* flags + radius */
.product-miniature .product-flags,
.product-container .on-sale {
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 3;
}

.product-miniature .product-flag {
  position: relative;
  z-index: 3;
}

/* =========================================
   PAGE RECHERCHE — ESPACEMENT CARTES PRODUITS
========================================= */

body#search #js-product-list .products {
  row-gap: 24px !important;
}

body#search #js-product-list .product-miniature {
  margin-bottom: 24px !important;
}

/* Sécurité si les cartes sont gérées en colonnes Bootstrap */
body#search #js-product-list .products > article {
  margin-bottom: 24px !important;
}

/* =========================================================
   4) WISHLIST — BOUTON COEUR
========================================================= */

.wishlist-button-add {
  top: 10px;
  right: 10px;
  transform: scale(.9);
  background: rgba(255, 255, 255, 0.7) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  opacity: 1 !important;
  z-index: 4;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.wishlist-button-add:hover,
.wishlist-button-add:focus:hover {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow:
    inset 0 0 0 999px #fff,
    0 6px 16px rgba(0, 0, 0, 0.14) !important;
  transform: scale(1.05);
  border: none !important;
}

.wishlist-button-add:focus,
.wishlist-button-add:active,
.wishlist-button-add:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.45) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
  border: none !important;
}

.wishlist-button-add i.material-icons {
  color: #8f8f8f;
  transition: color .2s ease, transform .22s ease, text-shadow .22s ease;
}

.wishlist-button-add.is-wishlist-active i.material-icons {
  color: #e11d2e !important;
  text-shadow: 0 4px 10px rgba(225, 29, 46, 0.22);
}

.wishlist-button-add.is-animating i.material-icons {
  animation: wishlist-pop .34s ease;
}

@keyframes wishlist-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* =========================================================
   5) HEADER — BASE
========================================================= */

#header {
  position: relative;
  z-index: 5000 !important;
  overflow: visible;
  border-bottom: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

#header .header-top {
  padding: 5px 0;
  overflow: visible;
}

#header .header-nav {
  position: relative;
  z-index: 10;
  padding: 0 0 6px;
  overflow: visible;
  background: #111 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* neutralisation bootstrap / classic */
#header .header-top .col-md-3,
#header .header-top .col-md-4,
#header .header-top .col-md-5 {
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
}

#header .header-top .user-info,
#header .header-top .user-info a,
#header .header-top #_desktop_cart,
#header .header-top #_desktop_cart .blockcart {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  transform: none !important;
}

.header-top .row > [class*="col-"] {
  min-width: 0;
}

#header,
#header .header-top,
#header .header-top .container,
#header .header-top .row,
#header .header-top .col-md-4,
#header .header-top .text-end,
#header .header-top .user-info {
  overflow: visible !important;
}

#header,
#header .header-top,
#header .header-nav {
  position: relative;
}

#header .header-nav,
#header .header-nav .top-menu {
  z-index: 1000 !important;
}

/* =========================================================
   6) HEADER — LOGO / SEARCH
========================================================= */

#_desktop_logo {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#header .logo {
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: 81px;
}

#header .search-widget input[type="text"],
#header .search-widget input[type="search"] {
  padding: 12px 16px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 18px;
}

#header .search-widget form button {
  border-radius: 18px;
}

/* pas d’underline sur logo / compte / panier */
#_desktop_logo a::after,
#_desktop_user_info > a::after,
#_desktop_cart > a::after,
#_desktop_user_info a::after,
#_desktop_cart a::after {
  content: none !important;
  display: none !important;
}

/* hover compte / panier */
#_desktop_user_info a:hover,
#_desktop_cart a:hover,
#_desktop_user_info a:hover i,
#_desktop_cart a:hover i {
  color: #c59a3d !important;
}

/* =========================================================
   7) HEADER — GRILLE RESPONSIVE
========================================================= */

/* ===============================
   DESKTOP — À PARTIR DE 992px
================================ */

@media (min-width: 992px) {

  #header .header-top > .container > .row {
    display: grid !important;
    grid-template-columns: 1.6fr 1.4fr 1fr;
    align-items: center;
    gap: 5px;
  }

  #_desktop_search {
    display: flex !important;
    justify-content: center;
  }

  #header .search-widget {
    width: 100%;
    max-width: 400px;
  }

  #header .header-top .text-end {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  #header .header-top .user-info,
  #header .header-top #_desktop_cart {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    white-space: nowrap;
  }
}

/* ===============================
   PETIT DESKTOP — 992px à 1200px
================================ */

@media (min-width: 992px) and (max-width: 1200px) {

  #header .header-top > .container > .row {
    grid-template-columns: 2fr .8fr 1.2fr !important;
    gap: 12px !important;
  }

  #header .header-top .text-end {
    gap: 12px !important;
  }

  #header .header-top .user-info a span,
  #header .header-top .user-info a .account,
  #header .header-top .user-info a .hidden-sm-down {
    display: none !important;
  }

  #header .header-top #_desktop_cart .cart-preview span {
    display: none !important;
  }

  #header .header-top #_desktop_cart .cart-preview .cart-products-count {
    display: inline-block !important;
  }
}

/* ===============================
   TABLETTE / MOBILE — JUSQU’À 991.98px
   On garde le vrai header mobile
================================ */

@media (max-width: 991.98px) {

  /* On désactive le header desktop */
  #header .header-top,
  #header .header-banner,
  #_desktop_logo,
  #_desktop_search,
  #_desktop_user_info,
  #_desktop_cart {
    display: none !important;
  }

  /* Base header mobile */
  #header,
  #header .header-nav {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  #header .header-nav {
    display: block !important;
  }

  #header .header-nav .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #header .header-nav .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Logo mobile */
  #header .logo {
    max-width: 260px !important;
    max-height: 60px !important;
    height: auto !important;
  }

  /* Recherche mobile */
  #_mobile_search {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  #_mobile_search .search-widget,
  #_mobile_search .search-widget form,
  #_mobile_search .search-widget .input-group,
  #_mobile_search .search-widget input[type="text"],
  #_mobile_search .search-widget input[type="search"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* ===============================
   TRÈS PETIT MOBILE
================================ */

@media (max-width: 400px) {

  #header .logo {
    max-width: 220px !important;
    max-height: 55px !important;
  }
}
/* =========================================================
   8) MENU PRINCIPAL
========================================================= */

#_desktop_top_menu {
  flex: 1 1 auto;
  min-width: 0;
}

#_desktop_top_menu > .top-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

#_desktop_top_menu > .top-menu > li {
  margin-right: 8px;
}

#_desktop_top_menu > .top-menu > li > a {
  position: relative;
  padding: 12px 10px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-decoration: none !important;
}

#_desktop_top_menu > .top-menu > li > a:hover {
  color: #c59a3d !important;
}

#_desktop_top_menu > .top-menu > li > a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 6px;
  left: 10px;
  height: 2px;
  background: #c59a3d;
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity .15s ease, transform .15s ease;
}

#_desktop_top_menu > .top-menu > li > a:hover::after {
  opacity: .35;
  transform: scaleX(1);
}

/* =========================================================
   9) SOUS-MENUS DESKTOP
========================================================= */

#_desktop_top_menu .sub-menu {
  background: #fff !important;
}

#_desktop_top_menu .sub-menu a {
  color: #333 !important;
  text-decoration: none !important;
}

#_desktop_top_menu .sub-menu a:hover {
  color: #c59a3d !important;
  background: rgba(197, 154, 61, .06);
}

@media (min-width: 992px) {
  #_desktop_top_menu,
  #_desktop_top_menu .top-menu,
  #_desktop_top_menu .top-menu li {
    position: relative;
  }

  #_desktop_top_menu .top-menu > li > .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0 !important;
    right: auto !important;
    z-index: 50;
    width: 210px;
    max-width: calc(100vw - 30px);
    margin-left: 0 !important;
    padding: 6px 0;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    overflow: hidden;
  }

  #_desktop_top_menu .top-menu > li:hover > .sub-menu,
  #_desktop_top_menu .top-menu > li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  #_desktop_top_menu .top-menu > li:last-child > .sub-menu {
    right: 0 !important;
    left: auto !important;
  }

  #_desktop_top_menu .sub-menu ul,
  #_desktop_top_menu .sub-menu .row,
  #_desktop_top_menu .sub-menu [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  #_desktop_top_menu .sub-menu li {
    position: relative;
    display: block;
    width: 100%;
  }

  #_desktop_top_menu .sub-menu a {
    display: block;
    padding: 8px 10px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
  }

  #_desktop_top_menu .sub-menu li > .collapse {
    position: absolute;
    top: 0;
    left: calc(100% - 2px);
    z-index: 60;
    display: none;
    min-width: 150px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  }

  #_desktop_top_menu .sub-menu li:hover > .collapse,
  #_desktop_top_menu .sub-menu li:focus-within > .collapse {
    display: block;
  }

  #_desktop_top_menu .sub-menu .top-menu[data-depth="2"] {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #_desktop_top_menu .sub-menu .top-menu[data-depth="2"] li a {
    display: block;
    padding: 8px 12px;
    color: #555;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
  }

  #_desktop_top_menu .sub-menu .top-menu[data-depth="2"] li a:hover {
    background: #f5f5f5;
    color: #222;
  }
}

/* =========================================================
   10) MEGA MENU E-LIQUIDES
========================================================= */

@media (min-width: 992px) {
  #_desktop_top_menu .top-menu > li:first-child > .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0 !important;
    z-index: 4000;
    width: 680px;
    padding: 14px 14px 14px 28px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  #_desktop_top_menu .top-menu > li:first-child:hover > .sub-menu,
  #_desktop_top_menu .top-menu > li:first-child:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start !important;
    column-gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) {
    grid-column: 1;
    margin: 0;
    padding: 0;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) > a {
    display: block;
    padding: 10px 0;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    border-bottom: 1px solid #f1f1f1;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) > a:hover {
    padding-left: 4px;
    color: #c59a3d;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) > .collapse,
  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) > .sub-menu {
    display: none !important;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1 / span 20;
    align-self: start !important;
    min-height: 292px;
    margin: 0;
    padding: 12px 20px 18px;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child::before {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 12px;
    content: "Notre marque";
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child::after {
    display: block;
    width: 100%;
    height: 110px;
    margin-top: auto;
    background: url('/c/368-category_default/occi-vape.jpg') no-repeat center center;
    background-size: contain;
    content: "";
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child > a {
    display: block;
    margin: 0 0 8px;
    padding: 10px 0;
    color: #c59a3d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f1f1;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child > .collapse {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child .top-menu[data-depth="2"] {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child .top-menu[data-depth="2"] > li > a {
    position: relative;
    display: block !important;
    padding: 10px 0 10px 14px !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    background: transparent !important;
    border-bottom: 1px solid #f1f1f1 !important;
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child .top-menu[data-depth="2"] > li > a::before {
    position: absolute;
    left: 0;
    color: #c59a3d;
    font-weight: 600;
    content: "›";
  }

  #_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child .top-menu[data-depth="2"] > li > a:hover {
    padding-left: 18px !important;
    color: #c59a3d !important;
  }
}

/* =========================================================
   11) DROPDOWN MON COMPTE
========================================================= */

#header #_desktop_user_info.user-info-dropdown {
  position: relative !important;
  z-index: 10000 !important;
  display: inline-block !important;
  overflow: visible !important;
}

#header #_desktop_user_info.user-info-dropdown > a.user-dropdown-toggle {
  position: relative;
  z-index: 10001;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}

#header #_desktop_user_info.user-info-dropdown::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 20px;
  content: "";
}

#header #_desktop_user_info.user-info-dropdown > .user-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  right: 0 !important;
  z-index: 11000 !important;
  display: block !important;
  min-width: 260px !important;
  padding: 10px 0 !important;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}

#header #_desktop_user_info.user-info-dropdown:hover > .user-dropdown-menu,
#header #_desktop_user_info.user-info-dropdown:focus-within > .user-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#header #_desktop_user_info.user-info-dropdown > .user-dropdown-menu::before {
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  transform: rotate(45deg);
  content: "";
}

#header #_desktop_user_info.user-info-dropdown > .user-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 11px 16px !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  background: transparent !important;
}

#header #_desktop_user_info.user-info-dropdown > .user-dropdown-menu a:hover {
  color: #c59a3d !important;
  background: #f7f7f7 !important;
}

#header #_desktop_user_info .user-dropdown-menu a i.material-icons {
  width: 20px;
  color: #777;
  font-size: 18px;
  text-align: center;
  opacity: .8;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

#header #_desktop_user_info .user-dropdown-menu a:hover i.material-icons {
  color: #c59a3d;
  opacity: 1;
  transform: translateX(2px);
}

#header #_desktop_user_info.user-info-dropdown .user-dropdown-separator {
  height: 1px !important;
  margin: 8px 0 !important;
  background: #ececec !important;
}

#header #_desktop_user_info.user-info-dropdown .logout-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 12px 0 !important;
  padding: 10px 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  background: #fafafa !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 8px !important;
}

#header #_desktop_user_info.user-info-dropdown .logout-link:hover {
  color: #fff !important;
  background: #111 !important;
  border-color: #111 !important;
}

/* =========================================================
   12) DROPDOWN CONNEXION NON CONNECTÉ
========================================================= */

#header #_desktop_user_info.user-info-login-dropdown {
  position: relative !important;
  z-index: 10000 !important;
  display: inline-block !important;
  overflow: visible !important;
}

#header #_desktop_user_info.user-info-login-dropdown > a.user-login-toggle {
  position: relative;
  z-index: 10001;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}

#header #_desktop_user_info.user-info-login-dropdown::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 20px;
  content: "";
}

#header #_desktop_user_info.user-info-login-dropdown > .user-login-menu {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  right: 0 !important;
  z-index: 11000 !important;
  display: block !important;
  width: 300px !important;
  padding: 16px !important;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}

#header #_desktop_user_info.user-info-login-dropdown:hover > .user-login-menu,
#header #_desktop_user_info.user-info-login-dropdown:focus-within > .user-login-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#header #_desktop_user_info.user-info-login-dropdown > .user-login-menu::before {
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  transform: rotate(45deg);
  content: "";
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-title {
  margin-bottom: 12px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-field {
  margin-bottom: 10px;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-field input {
  width: 100% !important;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: none;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-field input:focus {
  outline: none;
  border-color: #c59a3d;
  box-shadow: 0 0 0 2px rgba(197, 154, 61, 0.12);
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-btn {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 11px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #111;
  border: 1px solid #111;
  border-radius: 8px;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-btn:hover {
  color: #111;
  background: #c59a3d;
  border-color: #c59a3d;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-links a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
}

#header #_desktop_user_info.user-info-login-dropdown .login-dropdown-links a:hover {
  color: #c59a3d;
}

/* =========================================================
   13) HEADER CATÉGORIE
========================================================= */

#js-product-list-header .block-category {
  margin-bottom: 8px;
  border-radius: 12px;
}

.category-header-custom {
  padding: 0;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: none;
}

.category-header-custom .category-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
}

.category-header-custom .category-header-content {
  flex: 1 1 auto;
  min-width: 0;
}

.category-header-custom .category-title {
  margin: 0 0 10px;
  color: #1f1f1f;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-header-custom .category-description {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.category-header-custom .category-description p:last-child {
  margin-bottom: 0;
}

.category-header-custom .category-header-image {
  flex: 0 0 250px;
  max-width: 250px;
  margin: 0;
  text-align: center;
}

.category-header-custom .category-header-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 125px;
  object-fit: contain;
}

.block-category .block-category-inner,
.block-category .category-cover {
  display: block;
  float: none;
}

.block-category.card-block {
  min-height: auto;
}

@media (max-width: 767px) {
  .category-header-custom .category-header-inner {
    gap: 14px;
    padding: 18px 16px;
  }

  .category-header-custom .category-title {
    font-size: 26px;
  }

  .category-header-custom .category-header-image {
    flex: 0 0 52px;
    max-width: 52px;
  }

  .category-header-custom .category-header-image img {
    max-height: 52px;
  }
}

/* =========================================================
   14) SOUS-CATÉGORIES COMPACTES
========================================================= */

#subcategories.subcategories-compact {
  padding: 18px 22px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: none;
  border-radius: 12px;
}

#subcategories.subcategories-compact .subcategory-heading {
  margin: 0 0 10px;
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 700;
}

#subcategories.subcategories-compact .subcategories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#subcategories.subcategories-compact .subcategories-list li {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left;
}

#subcategories.subcategories-compact .subcategory-name {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: #7a7a7a;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
}

#subcategories.subcategories-compact .subcategory-name:hover {
  color: #fff;
  background: #7a7a7a;
  border-color: #111;
}

/* pas d’underline doré ici */
#subcategories .subcategory-name::after,
#subcategories .subcategory-name:hover::after,
#subcategories .subcategory-name:focus::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   15) PAGE CATÉGORIE — LAYOUT AVEC COLONNE GAUCHE
========================================================= */

body#category #left-column {
  padding-left: 0 !important;
  padding-right: 12px !important;
  z-index: 5;
}

body#category #content-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-width: 0 !important;
  z-index: 1;
}

body#category #products,
body#category #js-product-list,
body#category #js-product-list .products {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 0 !important;
}

/* grille listing */
body#category #js-product-list .products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

body#category #js-product-list .products > .product,
body#category #js-product-list .products > div {
  flex: 0 0 calc((100% - 32px) / 3) !important;
  width: calc((100% - 32px) / 3) !important;
  max-width: calc((100% - 32px) / 3) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 1199.98px) {
  body#category #js-product-list .products > .product,
  body#category #js-product-list .products > div {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
  }
}

@media (max-width: 991.98px) {
  body#category #left-column,
body#category #content-wrapper {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

body#category #left-column {
  position: static !important;
  top: auto !important;
  padding-right: 0 !important;
  margin-bottom: 24px;
}

  body#category #js-product-list .products {
    gap: 12px !important;
  }
}
@media (max-width: 767.98px) {
  body#category #js-product-list .products > .product,
  body#category #js-product-list .products > div {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   16) FACETTED FILTERS
========================================================= */

#search_filters {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

#search_filters .facet {
  border: none;
  border-bottom: 1px solid #ececec;
  margin-bottom: 0;
  box-shadow: none;
  padding: 12px 14px;
  border-radius: 0;
}

#search_filters .facet:last-child {
  border-bottom: none;
}

#search_filters .facet-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.3 !important;
}

#search_filters .facet-label,
#search_filters label,
#search_filters .search-link,
#search_filters .facet-label a,
#search_filters .facet-label span,
#search_filters ul li,
#search_filters ul li a,
#search_filters ul li label {
  font-size: 10px !important;
  line-height: 1.35 !important;
}

#search_filters .search-link,
#search_filters .facet-label a {
  color: #555 !important;
  text-decoration: none !important;
}

#search_filters .magnitude {
  font-size: 9px !important;
  opacity: .7;
}

#search_filters .facet-slider,
#search_filters [id^="facet_label_"] {
  font-size: 10px !important;
  line-height: 1.3 !important;
  color: #777 !important;
}

#search_filters a:hover,
#search_filters label:hover {
  color: #c59a3d;
}

@media (min-width: 992px) {
  body#category #left-column {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #search_filters {
    max-height: none !important;
    overflow: visible !important;
    padding: 14px;
    box-sizing: border-box;
  }

  #search_filters .facet {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 16px 18px;
  }

  #search_filters .facet:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 991.98px) {

  #search_filters {
    padding: 14px !important;
	margin-bottom: 0 !important;
  }

  #search_filters .facet {
    padding: 10px 14px !important;
  }

  #search_filters .facet-title {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  #search_filters .h6 {
    margin-bottom: 8px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }
}

/* =========================================================
   17) PAGINATION
========================================================= */

.pagination {
  position: relative;
}

.pagination a,
.page-list a {
  text-decoration: none !important;
  color: #111 !important;
  letter-spacing: -.5px !important;
}

.pagination a::after,
.page-list a::after {
  display: none !important;
  content: none !important;
}

.pagination a:hover,
.page-list a:hover {
  color: #c59a3d !important;
  text-decoration: none !important;
}

.pagination .current a,
.page-list .current a {
  color: #c59a3d !important;
  font-weight: 700;
}

.pagination ul,
.page-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination .previous {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.pagination .next {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.pagination .page-list {
  text-align: center;
  padding: 10px 24px;
  border-radius: 8px;
}

.page-link {
  color: #111 !important;
  background: #fff !important;
  border-color: #e5e5e5 !important;
}

.page-link:hover {
  color: #c59a3d !important;
  background: #fff !important;
  border-color: #c59a3d !important;
}

.page-item.active .page-link {
  color: #c59a3d !important;
  background: #fff !important;
  border-color: #c59a3d !important;
  font-weight: 700;
}

/* =========================================================
   18) PAGE PRODUIT — BASE
========================================================= */

#product .tax-shipping-delivery-label,
#product #product-availability {
  display: none !important;
}

#product .product-description {
  font-size: .95rem;
  line-height: 1.6;
}

#product .product-description img {
  float: right;
  width: auto;
  height: auto;
  max-width: 300px;
  margin: 0 0 15px 20px;
}

#product .product-description ul {
  margin-bottom: 18px;
  padding-left: 18px;
}

#product .product-description li {
  margin-bottom: 6px;
}

#product .product-description strong {
  font-weight: 600;
}

/* =========================================================
   19) VARIANTES PRODUIT
========================================================= */

#product .product-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  column-gap: 30px;
  row-gap: 6px;
  padding: 15px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

#product .product-variants-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

#product .product-variants-item label,
#product .control-label {
  margin-bottom: 6px;
  font-weight: 600;
}

#product .product-variants-item select {
  width: 100%;
}

#product .control-label span.selected-color {
  font-weight: 400;
  opacity: .8;
}

.product-variants-item .input-color:hover + span.color,
.product-variants-item .input-color:focus + span.color,
.product-miniature .variant-links .color:hover,
.product-miniature .variant-links a.color:hover,
.product-miniature .variant-links .color.active {
  border: 2px solid #c59a3d !important;
}

.product-miniature .variant-links .color {
  transition: border-color .2s ease;
}

.product-customization .product-customization-item,
.product-variants > .product-variants-item {
  margin: 0;
}

/* =========================================================
   20) FIX BORDER RADIUS / BANDEAU PROMO
========================================================= */

#product #content.page-content {
  border-radius: 16px;
  overflow: hidden;
}

#product #content.page-content .product-flags {
  border-radius: 0;
}

#product #content.page-content .product-cover img {
  display: block;
}

/* =========================================================
   21) IMAGE PRODUIT — ZOOM CLEAN
========================================================= */

.product-cover,
.modal-body figure {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-cover picture,
.modal-body figure picture {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

.product-cover img,
.modal-body figure img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform .4s ease;
}

.product-cover:hover,
.modal-body figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.product-cover:hover img,
.modal-body figure:hover img {
  transform: scale(1.04);
}

.product-cover .layer {
  background: none;
}

/* =========================================================
   22) BLOCK REASSURANCE PRODUIT
========================================================= */

.blockreassurance_product {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 22px 24px;
  background: #dddddd;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.blockreassurance_product .reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 16px;
  margin: 0;
  position: relative;
  text-decoration: none !important;
  box-shadow: none !important;
}

.blockreassurance_product .reassurance-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: rgba(0, 0, 0, 0.08);
}

.blockreassurance_product .item-product {
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  line-height: 1;
  margin-top: 1px;
}

.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
  width: 28px !important;
  height: 28px !important;
  display: block;
  object-fit: contain;
}

.blockreassurance_product .item-product svg *,
.blockreassurance_product .item-product svg path {
  fill: #c59a3d !important;
  stroke: #c59a3d !important;
}

.blockreassurance_product .item-product img {
  filter: brightness(0) saturate(100%)
          invert(67%) sepia(37%) saturate(640%)
          hue-rotate(6deg) brightness(95%) contrast(90%) !important;
}

.blockreassurance_product .reassurance-text {
  flex: 1 1 auto;
  min-width: 0;
}

.blockreassurance_product .block-title {
  margin: 0 0 3px !important;
  font-size: .92rem !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  color: #666 !important;
}

.blockreassurance_product p {
  margin: 0 !important;
  font-size: .78rem !important;
  line-height: 1.28 !important;
  font-weight: 400 !important;
  color: #666 !important;
}

.blockreassurance_product,
.blockreassurance_product * {
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .blockreassurance_product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .blockreassurance_product .reassurance-item::after {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .blockreassurance_product {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    border-radius: 12px;
    row-gap: 16px;
  }

  .blockreassurance_product .reassurance-item {
    padding: 0;
  }
}

/* =========================================================
   23) LOYALTY + TABS DESCRIPTION
========================================================= */

#product .alert.alert-loyalty {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.alert.alert-loyalty img {
  width: 18px;
  margin-top: 2px;
}

.tabs {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  padding: 20px;
  margin-top: 20px;
  overflow: hidden;
}

.tabs .nav-tabs {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.tabs .nav-tabs .nav-link {
  border: none;
  font-weight: 500;
  color: #666;
}

.tabs .nav-tabs .nav-link.active {
  color: #c59a3d;
  border-bottom: 2px solid #c59a3d;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  border-bottom: none;
  background-color: transparent;
}

/* =========================================================
   24) MODALES — BASE
========================================================= */

.modal-backdrop {
  z-index: 20000 !important;
}

.modal,
.modal.show,
#blockcart-modal,
#blockcart-modal .modal,
#blockcart-modal .modal-dialog,
#blockcart-modal .modal-content {
  z-index: 20001 !important;
}

.modal .close,
.modal button.close,
.modal .modal-header .close {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #888 !important;
  font-size: 26px;
  font-weight: 300;
  opacity: 1;
  padding: 0;
}

.modal .close:hover,
.modal button.close:hover {
  color: #111 !important;
  background: transparent !important;
}

.modal .close::before,
.modal .close::after {
  display: none !important;
}

/* =========================================================
   25) MODALE AJOUT PANIER
========================================================= */

#blockcart-modal .product-name,
#blockcart-modal .product-name a {
  color: #1f1f1f !important;
  font-weight: 600;
  letter-spacing: .2px;
}

#blockcart-modal .product-name a:hover {
  color: #c59a3d !important;
}

/* =========================================================
   26) MODALE IMAGE PRODUIT
========================================================= */

#product-modal {
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#product-modal .modal-content .modal-body {
  margin-left: 0 !important;
}

#product-modal .modal-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#product-modal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

#product-modal .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 5px 0;
}

#product-modal .modal-body > figure {
  order: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 10px);
  max-height: calc(100vh - 170px);
}

#product-modal .modal-body > figure img,
#product-modal .js-modal-product-cover {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: calc(100vw - 10px);
  max-height: calc(100vh - 170px);
  object-fit: contain;
}

/* =========================================================
   27) MINIATURES MODALE
========================================================= */

#product-modal #thumbnails {
  order: 2;
  position: relative;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

#product-modal #thumbnails .js-modal-mask {
  position: relative;
  display: inline-block;
  width: 732px;
  max-width: calc(100vw - 140px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  vertical-align: top;
}

#product-modal #thumbnails .js-modal-mask::-webkit-scrollbar {
  display: none;
}

#product-modal #thumbnails .product-images {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

#product-modal #thumbnails .thumb-container {
  flex: 0 0 112px;
  width: 112px;
  margin: 0;
}

#product-modal #thumbnails .thumb-container img {
  display: block;
  width: 112px;
  height: auto;
}

/* =========================================================
   28) FLÈCHES MODALE
========================================================= */

#product-modal #thumbnails .arrows.js-modal-arrows {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 732px !important;
  max-width: calc(100vw - 140px) !important;
  height: 0 !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20 !important;
  pointer-events: none !important;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down {
  position: absolute !important;
  top: 0 !important;
  margin: 0 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, .72) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: all !important;
  z-index: 25 !important;
  font-family: "Material Icons" !important;
  font-size: 24px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  transition: transform .15s ease, background .25s ease, box-shadow .25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up {
  left: -44px !important;
  transform: rotate(-90deg) !important;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down {
  right: -44px !important;
  transform: rotate(-90deg) !important;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up::before,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up::after,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down::before,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down::after {
  content: none !important;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up:hover,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down:hover {
  background: #c59a3d !important;
  transform: scale(1.1) rotate(-90deg);
  box-shadow: 0 4px 12px rgba(197, 154, 61, .35);
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up.is-pressed,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down.is-pressed {
  transform: scale(.92) rotate(-90deg) !important;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up.is-disabled,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down.is-disabled {
  background: rgba(255, 255, 255, .18) !important;
  color: rgba(255, 255, 255, .45) !important;
  box-shadow: none !important;
  cursor: default !important;
  opacity: .65;
}

#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up.is-disabled:hover,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down.is-disabled:hover,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-up.is-disabled.is-pressed,
#product-modal #thumbnails .js-modal-arrows .js-modal-arrow-down.is-disabled.is-pressed {
  background: rgba(255, 255, 255, .18) !important;
  transform: rotate(-90deg) !important;
  box-shadow: none !important;
}

/* =========================================================
   29) FLÈCHES GALERIE PRODUIT
========================================================= */

#product .scroll-box-arrows .left,
#product .scroll-box-arrows .right {
  width: 34px;
  height: 34px;
  margin-bottom: 35px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, background .25s ease, box-shadow .25s ease;
  outline: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#product .scroll-box-arrows .left:hover,
#product .scroll-box-arrows .right:hover {
  background: #c59a3d !important;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(197, 154, 61, .35);
}

#product .scroll-box-arrows .left.is-pressed,
#product .scroll-box-arrows .right.is-pressed {
  transform: scale(.92) !important;
}

#product .scroll-box-arrows .left:focus,
#product .scroll-box-arrows .right:focus,
#product .scroll-box-arrows .left:focus-visible,
#product .scroll-box-arrows .right:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================================================
   30) QUICKVIEW — ALIGNEMENT + FLÈCHES
========================================================= */

[id^="quickview-modal-"] .modal-footer > .product-additional-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
}

[id^="quickview-modal-"] .modal-footer > .product-additional-info .social-sharing {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 !important;
}

[id^="quickview-modal-"] .modal-footer > .product-additional-info .loyalty-block {
  order: 2 !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

[id^="quickview-modal-"] .modal-footer > .product-additional-info .loyalty-block .alert,
[id^="quickview-modal-"] .modal-footer > .product-additional-info .loyalty-block .alert-loyalty {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

[id^="quickview-modal-"] .modal-footer {
  text-align: initial !important;
}

/* flèches quickview */
div[id^="quickview-modal-"].quickview .arrows {
  right: 3rem;
  pointer-events: none !important;
  margin-top: 12px !important;
}

div[id^="quickview-modal-"].quickview .arrows .arrow-down {
  right: 0;
  bottom: -1.6rem;
}

div[id^="quickview-modal-"].quickview .arrows .arrow-up,
div[id^="quickview-modal-"].quickview .arrows .arrow-down {
  pointer-events: auto !important;
}

div[id^="quickview-modal-"].quickview .images-container .js-qv-mask {
  margin-top: 12px !important;
}

/* padding quickview */
.quickview .modal-body {
  padding-top: 0;
}

.quickview .modal .close,
.quickview .modal button.close,
.quickview .modal .modal-header .close {
  padding: 10px 0;
}

/* =========================================================
   31) PANIER
========================================================= */

#cart .alert.alert-loyalty,
#checkout .alert.alert-loyalty {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .075);
}

#cart .cart-container .alert.alert-loyalty {
  border-radius: 0;
  box-shadow: none;
}

#cart .product-line-info .price {
  color: #c59a3d !important;
  font-weight: 700;
}

#cart .product-line-grid-right .price,
#cart .cart-summary .value {
  color: #1f1f1f !important;
}

#cart .cart-summary .cart-total:last-child .value {
  color: #c59a3d !important;
  font-weight: 800;
  font-size: 22px;
}

#cart .cart-summary .block-promo li,
#checkout #js-checkout-summary .block-promo li {
  padding: 10px 12px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 8px;
}

#cart .cart-summary .block-promo .cart-summary-line {
  padding: 10px;
}

#cart .cart-summary .block-promo .value,
.block-promo .promo-name .cart-summary-line span {
  color: #c59a3d;
  font-weight: 600;
}

.has-discount .discount {
  display: inline-block;
  padding: .3125rem .625rem;
  margin-left: .625rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  background: #c59a3d;
}

.cart-grid-body a:hover,
.cart-summary .promo-code a:hover {
  color: #c59a3d !important;
  text-decoration: none !important;
}

.cart-summary .promo-code a {
  color: #1f1f1f !important;
}

div.promo-code form button {
  margin-left: 10px !important;
}

.cart-detailed-actions a::after,
.cart-detailed-actions a:hover::after,
.cart-detailed-actions a:focus::after {
  display: none !important;
  content: none !important;
}

.block-promo {
  text-align: center;
}

.block-promo .collapse-button {
  display: inline-block !important;
  width: auto !important;
  margin: 0 auto;
}

/* Images produits panier */
#cart .cart-items .product-image img,
#cart .cart-item .product-image img,
#cart .cart-item img {
  border-radius: 6px;
}

/* Séparation légère entre les produits du panier */
#cart .cart-items .cart-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

/* =========================================================
   32) PAGES MON COMPTE
========================================================= */

.page-my-account a::after,
.page-my-account #content .links a::after {
  display: none !important;
}

.page-my-account .links a,
.page-my-account .links a i,
.page-my-account #content .links a i.material-icons {
  transition: all .2s ease;
}

.page-my-account #content .links a i.material-icons {
  color: #232323 !important;
}

.page-my-account .links a:hover,
.page-my-account #content .links a:hover span {
  transform: translateY(-3px);
}

.page-my-account .links a:hover i,
.page-my-account #content .links a:hover i.material-icons,
.page-my-account #content .links a:hover .link-item {
  color: #c59a3d !important;
  transform: translateY(-2px);
}

.page-my-account #content .links > a span {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

/* bouton déconnexion page compte */
.page-footer .text-sm-center a[href*="mylogout"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  text-align: center;
  background: #111;
  color: #fff !important;
  border: 1px solid #111;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
}

.page-footer .text-sm-center a[href*="mylogout"]:hover {
  background: #c59a3d;
  color: #111 !important;
  border-color: #c59a3d;
}

.page-footer .text-sm-center a[href*="mylogout"]::after {
  display: none !important;
}

/* =========================================================
   33) WISHLIST — PAGE LISTES
========================================================= */

#module-blockwishlist-lists #main .page-content a::after {
  background: none !important;
}

#module-blockwishlist-lists #main .page-content li {
  border-bottom: none !important;
}

#module-blockwishlist-lists #main a.text-primary {
  color: #333 !important;
}

#module-blockwishlist-lists #main a.text-primary:hover {
  color: #c59a3d !important;
}

.wishlist-list-item-title {
  position: relative;
  color: #111;
  text-decoration: none;
}

.wishlist-list-item-title:hover,
.wishlist-list-item-link:hover,
.wishlist-list-item-link:hover .wishlist-list-item-title {
  color: #c59a3d !important;
}

.wishlist-list-item-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #c59a3d;
  transition: width .25s ease;
}

.wishlist-list-item-title:hover::after {
  width: 100%;
}

#module-blockwishlist-lists #main .page-content button {
  background: none !important;
  border: 1px solid #dcdcdc !important;
}

#module-blockwishlist-lists #main .page-content button:hover {
  background: #f7f7f7 !important;
  border: 1px solid #111 !important;
}

#module-blockwishlist-lists #main .page-content button .material-icons {
  color: #777;
}

#module-blockwishlist-lists #main .page-content button .material-icons:hover {
  color: #c59a3d;
}

/* dropdown wishlist */
#module-blockwishlist-lists #main .wishlist-list-item .dropdown-menu {
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 12px !important;
  padding: 8px !important;
  min-width: 180px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

#module-blockwishlist-lists #main .wishlist-list-item .dropdown-menu button {
  display: block !important;
  width: 100% !important;
  background: #fafafa !important;
  color: #777 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  margin: 0 0 6px 0 !important;
  text-align: left !important;
  box-shadow: none !important;
  transition: all .2s ease !important;
}

#module-blockwishlist-lists #main .wishlist-list-item .dropdown-menu button:focus {
  box-shadow: none !important;
}

#module-blockwishlist-lists #main .wishlist-list-item .dropdown-menu button:last-child {
  margin-bottom: 0 !important;
}

#module-blockwishlist-lists #main .wishlist-list-item .dropdown-menu button:hover {
  color: #c59a3d !important;
  background: #f7f7f7 !important;
}

/* Images produits dans une liste d'envies */
#view .wishlist-product-image {
  border-radius: 8px !important;
  overflow: hidden !important;
}

#view .wishlist-product-image img {
  border-radius: 8px !important;
}

/* =========================================================
   34) GDPR / EXPORT
========================================================= */

#module-psgdpr-gdpr a#exportDataToPdf,
#module-psgdpr-gdpr a#exportDataToCsv,
#module-psgdpr-gdpr a#exportDataToPdf:hover,
#module-psgdpr-gdpr a#exportDataToCsv:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

#module-psgdpr-gdpr a#exportDataToPdf::after,
#module-psgdpr-gdpr a#exportDataToCsv::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   35) FORMULAIRES / INPUTS
========================================================= */

.form-control:focus {
  border-color: #c59a3d;
  outline: 0;
}

.input-group.focus {
  outline: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select,
textarea {
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    background-color .22s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
  border-color: #c59a3d;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="number"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: #c59a3d !important;
  box-shadow: 0 0 0 3px rgba(197, 154, 61, .18) !important;
}

.custom-radio input[type=radio]:checked + span {
  background-color: #c59a3d;
}

.custom-checkbox input[type="checkbox"]:focus-visible + span,
.custom-radio input[type="radio"]:focus-visible + span {
  outline: 2px solid #c59a3d;
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   36) FOOTER + REASSURANCE FOOTER
========================================================= */

#footer {
  padding-top: 10px;
}

.footer a,
#footer a {
  color: #aaa;
}

.footer a:hover,
#footer a:hover {
  color: #c59a3d;
}

#footer .blockreassurance {
  margin: 15px 0 45px 0;
  padding: 0;
  text-align: center;
}

#footer .blockreassurance > .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

#footer .blockreassurance > .row > [class*="col-"] {
  float: none !important;
  clear: none !important;
  display: block !important;
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 16px !important;
  position: relative;
  box-sizing: border-box !important;
  text-align: center;
}

#footer .blockreassurance > .row > [class*="col-"]:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: 0;
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.08);
}

#footer .blockreassurance .block-icon {
  margin: 0 0 10px;
  line-height: 1;
  height: auto;
}

#footer .blockreassurance .block-icon svg {
  width: 48px !important;
  height: 48px !important;
  display: block;
  margin: 0 auto;
}

#footer .blockreassurance .block-title {
  margin: 0 0 4px;
  font-size: .92rem;
  line-height: 1.18;
  font-weight: 700;
  color: #666 !important;
}

#footer .blockreassurance p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.28;
  color: #666 !important;
}

#footer .blockreassurance svg * {
  fill: #c59a3d !important;
  stroke: #c59a3d !important;
}

#footer .blockreassurance > .row::before,
#footer .blockreassurance > .row::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 991px) {
  #footer .blockreassurance > .row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 22px 0 !important;
  }

  #footer .blockreassurance > .row > [class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  #footer .blockreassurance > .row > [class*="col-"]::after {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #footer .blockreassurance > .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* =========================================================
   37) BORDER RADIUS GÉNÉRAL
========================================================= */

#identity #main .page-content,
#history #main .page-content,
#order-slip #main .page-content,
#discount #main .page-content,
#module-blockwishlist-lists #main .page-content,
#main .wishlist-products-container .page-content,
#module-psgdpr-gdpr #main .page-content,
#module-loyaltyeditpoints-points #main .page-content,
#cart #main .cart-container,
#cart #main .cart-summary,
.modal-content,
.modal-footer .alert-loyalty,
#addresses #main .address,
#address #main .page-content,
#cms #main .page-content,
#contact #main .page-content,
#sitemap #main .container-fluid,
#stores #main .store-item,
#wrapper #main .page-not-found,
#order-confirmation #content-hook_order_confirmation,
#order-confirmation #content,
#order-confirmation #content-hook_payment_return{
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

#module-loyaltyeditpoints-points #main .page-content .box {
  border-radius: 12px;
  box-shadow: none !important;
  background: #f5f5f5 !important;
}

#module-psgdpr-gdpr #main .page-content .psgdprinfo17 {
  border-radius: 12px;
}

/* =========================================================
   38) HEADERS PAGES
========================================================= */

#wrapper #main .page-header h1,
#wrapper #main h1#js-product-list-header,
#module-blockwishlist-lists #main .wishlist-container-header h1,
#view #main .wishlist-products-container-header h1,
#manufacturer #wrapper #main h1 {
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
  padding: 30px;
  background: #fff;
  color: #1f1f1f;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}


#manufacturer #wrapper #main .manufacturer-header-content h1 {
  border-radius: none !important;
  box-shadow: none !important;
}

#product #main h1,
.modal-content .modal-body h1,
#cart #main .cart-container h1 {
  color: #1f1f1f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.sitemap-title,
#cart #main .cart-container li.cart-item a.label {
  text-transform: uppercase;
}

#cart #main .cart-container li.cart-item a:focus {
  color: #1f1f1f;
  text-decoration: none;
}

#contact #main .contact-form h3 {
  color: #1f1f1f;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

/* =========================================================
   39) SITEMAP
========================================================= */

#sitemap #main .container-fluid .row {
  padding: 30px;
}

#sitemap #main .container-fluid {
  background: #f5f5f5;
}

/* =========================================================
   40) DÉSACTIVÉS / FOCUS / LIENS IMAGE
========================================================= */

.btn:disabled,
button:disabled,
input:disabled,
.page-link.disabled,
.disabled .page-link {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* =========================================================
   PATCH PAGE D’ACCUEIL — RESTAURATION
========================================================= */

/* =========================================
   1) SLIDER HOME
========================================= */

@media (min-width: 992px) {
  #carousel {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    overflow: hidden;
    padding: 0;
  }

  #carousel .carousel-inner,
  #carousel .carousel-item,
  #carousel .carousel-item.active,
  #carousel .carousel-item img {
    width: 100%;
  }

  #carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
  }

  #carousel .carousel-item figure {
    position: relative;
    margin: 0;
    width: 100%;
  }

  #carousel .carousel-item figcaption.caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5%;
    width: 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    right: auto !important;
    margin: 0;
    padding: 0;
    z-index: 2;
  }

  #carousel .carousel-item figcaption.caption h2,
  #carousel .carousel-item figcaption.caption .caption-description {
    margin: 0;
  }

  #carousel .carousel-item figcaption.caption .caption-description {
    margin-top: 12px;
  }
}

@media (max-width: 991.98px) {

  #carousel {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
    background: #ddd;
  }

  #carousel .carousel-inner,
  #carousel .carousel-item,
  #carousel .carousel-item.active,
  #carousel .carousel-item figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  #carousel .carousel-item img {
    display: block;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    object-position: center;
  }

  #carousel .carousel-item figure figcaption.caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8%;
    right: 8%;
    width: auto !important;
    max-width: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  #carousel .carousel-item figure figcaption.caption h2 {
    font-size: 24px;
    line-height: 1.05;
    margin: 0 0 8px 0;
  }

  #carousel .carousel-item figure figcaption.caption .caption-description {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
  }
  
  /* Texte général */
  #carousel .carousel-item figure figcaption.caption {
    color: #fff !important;
  }

  /* Titre */
  #carousel .carousel-item figure figcaption.caption h2 {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px #000000;
  }

  /* Description */
  #carousel .carousel-item figure figcaption.caption .caption-description p {
    color: #ffffff !important;
    font-weight: 400;
    text-shadow: 0 1px 8px #000000;
  }
  
  #carousel .carousel-item figure {
    position: relative !important;
  }

  #carousel .carousel-item figure figcaption.caption {
    position: absolute !important;
    inset: 0 8% !important;
    height: 100% !important;
    min-height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  #carousel {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
	margin-bottom: 25px !important;
    border-radius: 0 !important;
  }
}

/* =========================================
   2) BLOC CATÉGORIES HOME
========================================= */

.home-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 20px 0;
}

.home-cat {
  position: relative;
  overflow: hidden;
}

.home-cat a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.home-cat img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform .3s ease;
}

.home-cat span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 0 10px;
  color: #fff !important;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  pointer-events: none;
}

.home-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.25);
  transition: background .3s ease;
  pointer-events: none;
}

.home-cat:hover img {
  transform: scale(1.05);
}

.home-cat:hover::after {
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 991.98px) {
  .home-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 !important;
  }

  .home-cat span {
    font-size: 18px;
    bottom: 14px;
    padding: 0 8px;
  }
}

/* =========================================
   3) ESPACEMENT SECTIONS HOME
========================================= */

section.featured-products,
section.product-accessories,
section.products {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

#index .products-section-title,
#index .h2.products-section-title,
#index .section-title {
  margin-bottom: 24px;
  text-align: center;
}

#index .products .product,
#index .products > div {
  margin-bottom: 24px;
}

/* on évite qu’une règle trop large casse la home */
#index section.products > div,
#index .featured-products .products > div,
#index .product-accessories .products > div {
  display: block;
}

/* =========================================
   4) BLOCK REASSURANCE DU MILIEU
========================================= */

#block-reassurance {
  margin: 18px 0 38px;
  padding: 22px 26px;
  background: #dddddd;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

#block-reassurance ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#block-reassurance ul li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 18px !important;
  position: relative;
  text-align: center;
  border: none !important;
}

#block-reassurance ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 0;
  width: 1px;
  height: 38px;
  background: rgba(0, 0, 0, 0.08);
}

#block-reassurance .block-reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

#block-reassurance .block-reassurance-item img,
#block-reassurance .block-reassurance-item svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
  margin: 0 auto 12px !important;
  object-fit: contain;
}

#block-reassurance .block-reassurance-item svg *,
#block-reassurance .block-reassurance-item svg path {
  fill: #c59a3d !important;
  stroke: #c59a3d !important;
}

#block-reassurance .block-reassurance-item img {
  filter: brightness(0) saturate(100%)
          invert(67%) sepia(37%) saturate(640%)
          hue-rotate(6deg) brightness(95%) contrast(90%) !important;
}

#block-reassurance .block-reassurance-item .block-title,
#block-reassurance .block-reassurance-item .h6,
#block-reassurance .block-reassurance-item span.h6 {
  display: block;
  margin: 0 0 4px !important;
  font-size: .92rem !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  color: #666 !important;
  text-align: center !important;
}

#block-reassurance .block-reassurance-item p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.28;
  font-weight: 400;
  color: #666 !important;
  text-align: center;
}

@media (max-width: 991px) {
  #block-reassurance {
    padding: 20px 18px;
  }

  #block-reassurance ul {
    flex-wrap: wrap !important;
    row-gap: 22px !important;
  }

  #block-reassurance ul li {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  #block-reassurance ul li::after {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #block-reassurance {
    padding: 18px 16px;
    border-radius: 12px;
  }

  #block-reassurance ul li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* =========================================
   5) MEGA MENU — MARGES / ESPACEMENT
========================================= */

#_desktop_top_menu .top-menu > li:first-child > .sub-menu {
  padding: 14px 14px 14px 28px !important;
}

#_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul {
  column-gap: 30px !important;
}

#_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:not(:first-child) > a {
  padding: 10px 0 !important;
}

#_desktop_top_menu .top-menu > li:first-child > .sub-menu > ul > li:first-child {
  padding: 12px 20px 18px !important;
}

/* sous-menu simple : on évite le bloc trop serré */
#_desktop_top_menu .sub-menu {
  padding-top: 6px !important;
  padding-bottom: 18px !important;
}

/* =========================================
   6) PETIT CORRECTIF CARTES HOME
========================================= */

#index .product-miniature {
  margin-bottom: 0;
}

#index .product-miniature .thumbnail-container {
  height: 100%;
}

/* =========================================
   SUPPRESSION CONTAINER AUTOUR CATÉGORIES HOME
========================================= */

/* le bloc parent */
#index #custom-text {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 16px;
}

/* border-radius menu images */
#index .home-categories {
	border-radius: 16px;
	overflow: hidden;
}

/* =========================================
   RESET LIENS GLOBAL (ANTI BLEU PRESTASHOP)
========================================= */

a {
  color: inherit !important;
  text-decoration: none !important;
}

/* hover */
a:hover {
  color: #c59a3d !important;
  text-decoration: none !important;
}

/* liens dans contenus */
p a,
span a,
.product-description a,
.product-title a {
  color: inherit !important;
}

/* hover spécifique contenu */
p a:hover,
span a:hover,
.product-description a:hover,
.product-title a:hover {
  color: #c59a3d !important;
}

/* thumbnail sélectionnée */
.product-cover .layer {
  border-color: #c59a3d !important;
}

.js-qv-mask img.selected,
.product-images img.selected {
  border: 3px solid #c59a3d !important;
}

.modal-dialog .js-qv-mask img:hover,
.modal-dialog .product-images img:hover {
  border: 3px solid #1f1f1f !important;
}

/* on enlève le clipping global */
#product #content.page-content {
  border-radius: 0 !important;
  overflow: visible !important;
}

/* on garde le radius là où il faut vraiment */
#product .product-cover,
#product .product-variants,
#product .tabs,
#product .alert.alert-loyalty,
#product .blockreassurance_product {
  border-radius: 14px;
}

/* =========================================
   CHECKOUT
========================================= */

/* On laisse la search exister pour garder le layout */
#checkout #search_widget {
  display: block;
}

#checkout #_desktop_top_menu > .top-menu > li > a {
  padding: 8px 10px !important;
}

#checkout .footer-container ul li a{
	color: #232323 !important;
}

#checkout #wrapper {
	padding-bottom: 20px;
}

#checkout #wrapper .cart-grid-body,
#checkout #wrapper #js-checkout-summary {
	padding: 0;
	border-radius: 16px;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

#checkout #content .row .cart-grid-body .content {
	padding-bottom: 20px;
}
/* Header checkout — desktop */
@media (min-width: 992px) {
  #checkout #header .header-nav {
    padding: 4px 0 !important;
  }
}

/* Header checkout — tablette / mobile */
@media (max-width: 991.98px) {
  #checkout #header .header-nav {
    padding: 0 !important;
  }
}

/* =========================================
   CARTES PRODUITS PROMOTIONS NOUVEAUX PRODUITS MEILLEURES VENTES
========================================= */

#prices-drop #content-wrapper #js-product-list .js-product,
#new-products #content-wrapper #js-product-list .js-product,
#best-sales #content-wrapper #js-product-list .js-product,
#manufacturer #content-wrapper #js-product-list .js-product {
	margin-bottom: 25px;
}

/* =========================================
   ORDER DETAILS
========================================= */

#order-detail #content .box {
	border-radius: 16px;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.12);	
}

/* =========================================
   SELECTS DECLINAISONS
========================================= */

.pdf-custom-select {
  display: none !important;
}

select.form-control {
  display: block !important;
}

/* =========================================
   SOCIAL SHARING
========================================= */

.social-sharing {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.social-sharing ul {
  margin: 0;
  padding: 0;
}

/* =========================================
   BLOCK BANNER
========================================= */

#index #main a.banner img{
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

/* =========================================
   COPYRIGHT FOOTER
========================================= */

.footer-copyright{
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-size: 0.825rem;
}

/* =========================================================
   FLAGS DANS IMAGE — VERSION PROPRE
========================================================= */

.product-cover {
  position: relative;
}

.product-cover .product-flags {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  pointer-events: none;
}

/* Bandeau PROMO plein largeur */
.product-cover .product-flag.on-sale {
  width: 100%;
  margin: 0;
  text-align: center;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* Badge réduction */
.product-cover .product-flag.discount {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 11;
}

/* =========================================================
   HEADER MOBILE
========================================================= */
@media (max-width: 991.98px) {

  /* masquer le header desktop */
  #header .header-top,
  #header .header-banner,
  #_desktop_logo,
  #_desktop_search,
  #_desktop_user_info,
  #_desktop_cart,
  #header .header-nav .clearfix {
    display: none !important;
  }

  /* base */
  #header,
  #header .header-nav {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
	max-height: 100px;
  }

  #header .header-nav .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* grille mobile */
  #header .header-nav .hidden-md-up.text-sm-center.mobile {
    display: grid !important;
    grid-template-columns: 52px 1fr 44px 54px !important;
    grid-template-areas:
      "menu logo account cart"
      "search search search search" !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* neutraliser les vieux floats */
  #header .header-nav .hidden-md-up.text-sm-center.mobile > div {
    float: none !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* ligne haute */
  #menu-icon,
  #_mobile_logo,
  #_mobile_user_info,
  #_mobile_cart {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* burger */
  #menu-icon {
    grid-area: menu !important;
    justify-content: center !important;
    background: #fff !important;
  }

  #menu-icon i,
  #menu-icon .material-icons,
  #header .header-nav #menu-icon i,
  #header .header-nav #menu-icon .material-icons {
    display: block !important;
    color: #111 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    height: auto !important;
    vertical-align: middle !important;
    transform: translateY(1px) !important;
  }

  /* logo */
  #_mobile_logo {
    grid-area: logo !important;
    justify-content: center !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #_mobile_logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  #_mobile_logo img,
  #_mobile_logo .logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 235px !important;
    max-height: 60px !important;
    margin: 0 auto !important;
  }

/* compte */
#_mobile_user_info {
  grid-area: account !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  background: #fff !important;
  margin-right: 0 !important;
}

#header .header-nav .hidden-md-up.text-sm-center.mobile {
  column-gap: 6px !important;
}

/* on masque les menus déroulants desktop en mobile/tablette */
#_mobile_user_info .user-dropdown-menu,
#_mobile_user_info .user-login-menu {
  display: none !important;
}

/* lien compte — connecté ou non connecté */
#_mobile_user_info > a.account.user-dropdown-toggle,
#_mobile_user_info > a.account.user-login-toggle,
#_mobile_user_info > a.user-dropdown-toggle,
#_mobile_user_info > a.user-login-toggle {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* icône compte */
#_mobile_user_info > a.account.user-dropdown-toggle::before,
#_mobile_user_info > a.account.user-login-toggle::before,
#_mobile_user_info > a.user-dropdown-toggle::before,
#_mobile_user_info > a.user-login-toggle::before {
  content: "\e7fd";
  font-family: "Material Icons" !important;
  font-size: 21px !important;
  line-height: 1 !important;
  color: #777 !important;
  display: block !important;
}

/* on masque le contenu natif éventuel du lien */
#_mobile_user_info > a.account.user-dropdown-toggle > span,
#_mobile_user_info > a.account.user-dropdown-toggle > i,
#_mobile_user_info > a.account.user-login-toggle > span,
#_mobile_user_info > a.account.user-login-toggle > i,
#_mobile_user_info > a.user-dropdown-toggle > span,
#_mobile_user_info > a.user-dropdown-toggle > i,
#_mobile_user_info > a.user-login-toggle > span,
#_mobile_user_info > a.user-login-toggle > i {
  display: none !important;
}

/* panier */
#_mobile_cart {
  grid-area: cart !important;
  justify-content: center !important;
  background: #fff !important;
  padding-right: 10px !important;
}

#_mobile_cart .blockcart,
#_mobile_cart .header,
#_mobile_cart .cart-preview {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 46px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 3px !important;
  background: transparent !important;
  color: #777 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

#_mobile_cart .hidden-sm-down {
  display: none !important;
}

#_mobile_cart .cart-preview i,
#_mobile_cart .cart-preview .material-icons {
  font-size: 22px !important;
  line-height: 1 !important;
  color: #777 !important;
  margin: 0 !important;
}

#_mobile_cart .cart-products-count {
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: #777 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

  /* recherche */
  #_mobile_search {
    grid-area: search !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    background: #111 !important;
  }

  #search_widget,
  #_mobile_search .search-widget,
  #_mobile_search form,
  #_mobile_search .input-group,
  #_mobile_search input[type="text"],
  #_mobile_search input[type="search"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #search_widget {
    margin-bottom: 0 !important;
  }

  #_mobile_search input[type="text"],
  #_mobile_search input[type="search"] {
    height: 42px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 16px !important;
  }

  #_mobile_search input::placeholder {
    color: #888 !important;
  }
}

  /* -----------------------------------------
     2) FOOTER MOBILE
  ----------------------------------------- */

@media (max-width: 767.98px) {
	
  #footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  #footer .block_newsletter form {
    width: 100% !important;
  }

  #footer .block_newsletter .input-wrapper {
    width: 100% !important;
  }

  #footer .block_newsletter input[type="email"] {
    min-width: 0 !important;
  }

  .footer-copyright {
    text-align: center;
  }
}

/* -----------------------------------------
   BURGER MOBILE
----------------------------------------- */

@media (max-width: 991.98px) {

  #header .hidden-md-up.text-sm-center.mobile {
    border-radius: 0 !important;
    overflow: visible !important;
  }

  #mobile_top_menu_wrapper {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 0;
    opacity: 0;
    padding: 0 !important;
	border-radius: 0 0 14px 14px;
    overflow: hidden;
    transform: translateY(-6px) translateZ(0);
    pointer-events: none;
    backface-visibility: hidden;
    will-change: max-height, opacity, transform;
    transition:
      max-height .35s ease,
      opacity .22s ease,
      transform .22s ease;
  }

  #mobile_top_menu_wrapper #_mobile_top_menu {
    padding: 15px !important;
    background: #fff;
    border-radius: 0 0 14px 14px;
	overflow: hidden; /* important pour clip les sous-menus */
  }

  #header.is-open #mobile_top_menu_wrapper {
    max-height: 700px;
    opacity: 1;
    transform: translateY(0) translateZ(0);
    pointer-events: auto;
  }

  #mobile_top_menu_wrapper #_mobile_top_menu,
  #mobile_top_menu_wrapper #top-menu,
  #mobile_top_menu_wrapper #top-menu > li,
  #mobile_top_menu_wrapper #top-menu > li > a {
    width: 100% !important;
    max-width: 100% !important;
  }

  #wrapper,
  #footer {
    display: block !important;
  }

  #mobile_top_menu_wrapper .top-menu[data-depth="1"] {
    padding-left: 24px !important;
  }

  #mobile_top_menu_wrapper .top-menu[data-depth="2"] {
    padding-left: 32px !important;
  }

  #mobile_top_menu_wrapper .top-menu[data-depth="3"] {
    padding-left: 48px !important;
  }

  #mobile_top_menu_wrapper .top-menu[data-depth="1"] > li > a {
    font-size: 13px;
    font-weight: 500;
    color: #555;
  }

  #mobile_top_menu_wrapper .top-menu[data-depth="2"] > li > a {
    font-size: 13px;
    font-weight: 400;
    color: #777;
  }
  
  /* état normal */
  #menu-icon i.material-icons {
    transition: transform .3s ease, opacity .2s ease;
  }

  /* état ouvert → on remplace le transform EXISTANT */
  #header.is-open #menu-icon i.material-icons {
    transform: translateY(1px) rotate(90deg) scale(0.85) !important;
    opacity: 0.7;
  }
}

/* -----------------------------------------
   MISE EN PAGE HEADER SEARCH
----------------------------------------- */

@media (max-width: 991.98px) {

  /* Fix positionnement du search */
  #_mobile_search {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  /* Empêche tout débordement */
  #search_widget {
    position: relative;
    z-index: 1;
  }

  /* Le header doit contenir correctement */
  #header .hidden-md-up.text-sm-center.mobile {
    overflow: visible !important;
  }
  #header {
    overflow: hidden;
	height: auto !important;
  }
  
  #header,
  #header .header-nav,
  #header .header-nav .container,
  #header .header-nav .hidden-md-up.text-sm-center.mobile {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #_mobile_search {
    position: static !important;
    display: block !important;
  }
  
  #header .header-nav .container .hidden-md-up.text-sm-center.mobile {
    position: relative !important;
  }

  #header .header-nav .container .hidden-md-up.text-sm-center.mobile > #mobile_top_menu_wrapper {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;

    border-radius: 0 0 14px 14px !important;
    overflow: hidden !important;
  }
 
}

/* -----------------------------------------
   CHAMP RECHERCHE MOBILE
----------------------------------------- */

@media (max-width: 991.98px) {

  #_mobile_search form {
    display: flex;
    align-items: center;
    position: relative;
  }

  #_mobile_search .material-icons.search {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    font-size: 18px !important;
    line-height: 1 !important;
    height: 18px !important;
    width: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #999 !important;
    pointer-events: none;
  }

  #_mobile_search input[type="text"] {
    padding-left: 38px !important;
  }
  
  /* INPUT BASE */
  #_mobile_search input[type="text"] {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: all .25s ease;
  }

  /* FOCUS → effet premium */
  #_mobile_search input[type="text"]:focus {
    border: 1px solid #c59a3d !important;
    box-shadow:
      0 0 0 2px rgba(197,154,61,.20),
      inset 0 1px 3px rgba(0,0,0,.05) !important;
    outline: none !important;
  }

  /* LOUPE BASE */
  #_mobile_search .material-icons.search {
    transition: all .25s ease;
  }

  /* LOUPE → DORÉ AU FOCUS */
  #_mobile_search input[type="text"]:focus + .material-icons.clear,
  #_mobile_search input[type="text"]:focus ~ .material-icons.search {
    color: #c59a3d !important;
  }
  
  #_mobile_search form:focus-within .material-icons.search {
    color: #c59a3d !important;
  }

  /* OPTION : placeholder plus clean */
  #_mobile_search input::placeholder {
    color: #aaa;
    transition: color .2s ease;
  }

  #_mobile_search input:focus::placeholder {
    color: #ccc;
  }
}

/* =========================================================
   TABLETTE — CONTENU PRINCIPAL PLUS LARGE ET BIEN CENTRÉ
   768px à 991.98px
========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

  /* Le container prend toute la largeur, avec des marges propres */
  #wrapper > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* On laisse Bootstrap gérer correctement la row */
  #wrapper > .container > .row {
    width: auto !important;
    max-width: none !important;
  }

  /* Le contenu principal peut exploiter toute la place disponible */
  #content-wrapper,
  #main {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   FACETTES TABLETTE / MOBILE — FLÈCHES ACCORDÉON PROPRES
========================================================= */

@media (max-width: 991.98px) {

  #search_filters .facet-title {
    position: relative;
    padding-right: 30px !important;
    cursor: pointer;
  }

  #search_filters .facet-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;

    width: 7px;
    height: 7px;

    border-right: 1.5px solid #777;
    border-bottom: 1.5px solid #777;

    transform: translateY(-50%) rotate(45deg);
    transform-origin: center center;
    transition: transform .22s ease;
  }

  #search_filters .facet.is-open .facet-title::after {
    transform: translateY(-50%) rotate(225deg);
  }
}

/* =========================================================
   FACETTES VRAI MOBILE — UNE SEULE LIGNE DE TITRE
========================================================= */

@media (max-width: 767.98px) {

  /* On garde uniquement le titre mobile natif de PrestaShop */
  #search_filters .facet > .facet-title.hidden-sm-down {
    display: none !important;
  }

  #search_filters .facet .facet-title.hidden-md-up {
    display: block !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-right: 30px !important;
    text-align: left !important;
    cursor: pointer;
  }

  /* On masque les chevrons natifs PrestaShop */
  #search_filters .facet .collapse-icons,
  #search_filters .facet .navbar-toggler {
    display: none !important;
  }

  /* Notre chevron propre sur le vrai titre mobile */
  #search_filters .facet .facet-title.hidden-md-up::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #777;
    border-bottom: 1.5px solid #777;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center center;
    transition: transform .22s ease;
  }

  #search_filters .facet.is-open .facet-title::after {
    transform: translateY(-50%) rotate(225deg);
  }
}

/* =========================================================
   FACETTES VRAI MOBILE — VERSION PLUS COMPACTE
========================================================= */

@media (max-width: 767.98px) {

  #search_filters {
    padding: 10px 14px !important;
  }

  #search_filters .facet {
    padding: 0 14px !important;
  }

  #search_filters .facet-title {
    margin: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 0 !important;
  }

  #search_filters .facet ul,
  #search_filters .facet .facet-slider,
  #search_filters .facet p[id^="facet_label_"],
  #search_filters .facet div[id^="slider-range_"] {
    margin-top: 4px !important;
    margin-bottom: 10px !important;
  }

  #search_filters .facet ul li {
    margin-bottom: 6px !important;
	padding: 4px 0 !important;
  }
}

/* Rotation des chevrons — tablette + vrai mobile */
@media (max-width: 991.98px) {

  /* Tablette : notre accordéon JS */
  #search_filters .facet.is-open .facet-title::after {
    transform: translateY(-50%) rotate(225deg) !important;
  }

  /* Mobile < 768px : accordéon natif PrestaShop */
  #search_filters .facet .title.hidden-md-up[aria-expanded="true"] .facet-title::after {
    transform: translateY(-50%) rotate(225deg) !important;
  }
}

/* =========================================================
   MODALE AJOUT PANIER — BORDER RADIUS
========================================================= */

#blockcart-modal .modal-content {
  border-radius: 14px !important;
  overflow: hidden !important;
}

/* =========================================================
   PANIER MOBILE — RESTAURATION DU FOND BLANC
========================================================= */

@media (max-width: 767.98px) {

  #cart #main .cart-container {
    background: #fff !important;
  }
}

/* =========================================
   CHECKOUT — ALIGNEMENT BLOC ÉTAPES / RÉCAP
========================================= */

@media (max-width: 991.98px) {
  #checkout #wrapper .cart-grid-right {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #checkout #wrapper #js-checkout-summary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* =========================================
   CHECKOUT — DÉTAILS COMMANDE PLUS AÉRÉS
========================================= */

#checkout #js-checkout-summary .cart-summary-products .media-list {
  margin-top: 12px !important;
}

#checkout #js-checkout-summary .cart-summary-products .media {
  align-items: flex-start;
  padding: 10px 0 !important;
}

#checkout #js-checkout-summary .cart-summary-products .media:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#checkout #js-checkout-summary .cart-summary-products img {
  border-radius: 6px;
}

#checkout #js-checkout-summary .cart-summary-products .product-price,
#checkout #js-checkout-summary .cart-summary-products .price,
#checkout #js-checkout-summary .cart-summary-products .float-xs-right {
  color: #c59a3d !important;
  font-weight: 700 !important;
}

/* =========================================
   CHECKOUT — CARTES ADRESSES
========================================= */

#checkout .address-item {
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

/* Adresse sélectionnée : contour doré au lieu du bleu */
#checkout .address-item.selected {
  border-color: #c59a3d !important;
  box-shadow: 0 0 0 1px #c59a3d !important;
}

/* Radio sélectionné */
#checkout .address-item.selected .custom-radio input[type="radio"]:checked + span {
  background-color: #c59a3d !important;
}

/* =========================================
   CHECKOUT — ÉTAPE PAIEMENT / RÉCAP FINAL
========================================= */

/* Blocs livraison + articles commande */
#checkout #payment-confirmation .card,
#checkout #checkout-payment-step .card,
#checkout .order-confirmation-table,
#checkout .cart-summary-products {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Images produits du récap final */
#checkout .order-confirmation-table img,
#checkout #checkout-payment-step img {
  border-radius: 6px !important;
}

/* Lignes produits plus aérées */
#checkout .order-confirmation-table .order-line,
#checkout .order-confirmation-table .order-line-row,
#checkout #checkout-payment-step .product-line-info,
#checkout #checkout-payment-step .row.product-line-info {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Séparation très légère entre les produits */
#checkout .order-confirmation-table .order-line:not(:last-child),
#checkout .order-confirmation-table .order-line-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Bloc mode de livraison — récap paiement */
#checkout #order-summary-content .summary-selected-carrier {
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Lien CGV visible dans l'étape paiement */
#checkout #conditions-to-approve a {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

#checkout #conditions-to-approve a:hover {
  color: #c59a3d !important;
}

#authentication #content,
#registration #content {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

/* =========================================
   CONTACT — BASE DESKTOP
========================================= */

/* Évite les coupures forcées dans le bloc infos */
#contact .contact-rich .data {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Adresse e-mail lisible */
#contact .contact-rich .block a[href^="mailto:"] {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* Supprime le décalage haut natif de l'adresse e-mail */
#contact .contact-rich .block:last-of-type a[href^="mailto:"] {
  margin-top: 0 !important;
}

/* =========================================
   CONTACT — TABLETTE / MOBILE
========================================= */

@media (max-width: 991.98px) {

  /* Colonnes en pleine largeur */
  #contact #left-column,
  #contact #content-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #contact #left-column {
    margin-bottom: 26px !important;
  }

  #contact #main .page-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Carte informations */
  #contact .contact-rich {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 26px !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10) !important;
    box-sizing: border-box !important;
  }

  #contact .contact-rich h4 {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  /* Suppression des séparateurs natifs */
  #contact .contact-rich hr {
    display: none !important;
  }

  /* Blocs infos sur une ligne en tablette */
  #contact .contact-rich .block {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }

  #contact .contact-rich .block:first-of-type {
    padding-left: 0 !important;
  }

  #contact .contact-rich .block:last-of-type {
    padding-right: 0 !important;
  }

  #contact .contact-rich .block:not(:last-of-type) {
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  #contact .contact-rich .icon {
    flex: 0 0 auto !important;
    color: #777 !important;
  }

  #contact .contact-rich .data {
    min-width: 0 !important;
  }

  /* Bloc e-mail : icône + texte, puis adresse centrée dessous */
  #contact .contact-rich .block:last-of-type {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
    align-items: start !important;
  }

  #contact .contact-rich .block:last-of-type .icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-top: 0 !important;
  }

  #contact .contact-rich .block:last-of-type .data.email {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  #contact .contact-rich .block:last-of-type a[href^="mailto:"] {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}

/* =========================================
   CONTACT — TABLETTE COMPACTE
========================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

  #contact .contact-rich {
    min-height: 172px !important;
  }
}

/* =========================================
   CONTACT — MOBILE
========================================= */

@media (max-width: 767.98px) {

  #contact .contact-rich {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding: 20px 18px !important;
  }

  #contact .contact-rich h4 {
    margin-bottom: 14px !important;
  }

  #contact .contact-rich .block {
    flex: 0 0 auto !important;
    width: 100% !important;
    padding: 14px 0 !important;
    border-right: 0 !important;
  }

  #contact .contact-rich .block:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  #contact .contact-rich .block:last-of-type {
    padding-bottom: 0 !important;
  }
}

/* =========================================================
   SLIDER HOME — FLÈCHES CLEAN
========================================================= */

/* Suppression du soulignement global sur les flèches */
#carousel .carousel-control::after,
#carousel .carousel-control:hover::after,
#carousel .carousel-control:focus::after,
#carousel .carousel-control:active::after,
#carousel .carousel-control .icon-prev::after,
#carousel .carousel-control .icon-next::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Lien flèche : pas de bleu, pas de soulignement */
#carousel .carousel-control,
#carousel .carousel-control:hover,
#carousel .carousel-control:focus,
#carousel .carousel-control:active {
  color: #fff !important;
  text-decoration: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Icône flèche : on écrase le bleu natif du thème */
#carousel .carousel-control .icon-prev,
#carousel .carousel-control .icon-next,
#carousel .carousel-control .icon-prev:hover,
#carousel .carousel-control .icon-next:hover,
#carousel .carousel-control:hover .icon-prev,
#carousel .carousel-control:hover .icon-next,
#carousel .carousel-control .material-icons,
#carousel .carousel-control:hover .material-icons {
  color: #fff !important;
  text-decoration: none !important;
}

/* Variante premium : doré au survol, sans soulignement */
#carousel .carousel-control:hover .icon-prev,
#carousel .carousel-control:hover .icon-next,
#carousel .carousel-control:hover .material-icons {
  color: #c59a3d !important;
}

/* =========================================================
   FICHE PRODUIT — THUMBNAILS IMAGE : HOVER / ACTIVE
========================================================= */

body#product .product-images li.thumb-container .thumb {
  border: 3px solid transparent !important;
  border-radius: 4px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

body#product .product-images li.thumb-container .thumb:hover,
body#product .product-images li.thumb-container .thumb.selected {
  border-color: #c59a3d !important;
  opacity: 1;
}

/* =========================================================
   PAGE MARQUES — CARTES UNIFORMES
========================================================= */

#manufacturer #main ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px !important;
  padding: 0 !important;
  margin: 20px 0 !important;
  list-style: none !important;
  align-items: stretch !important;
}

#manufacturer #main ul .brand {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 18px 14px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#manufacturer #main ul .brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

/* Image marque */
#manufacturer #main ul .brand .brand-img {
  height: 95px;
  width: 100%;
  margin-bottom: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
}

#manufacturer #main ul .brand .brand-img img {
  max-width: 120px;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Texte */
#manufacturer #main ul .brand .brand-infos {
  flex: 1 1 auto;
  width: 100%;
  text-align: center;
  color: #7a7a7a;
}

#manufacturer #main ul .brand .brand-infos a,
#manufacturer #main ul .brand .brand-infos h3,
#manufacturer #main ul .brand .brand-infos .h3 {
  display: block;
  margin-bottom: 10px;
  color: #555;
  font-weight: 600;
  text-decoration: none;
}

#manufacturer #main ul .brand .brand-infos a:hover {
  color: #c59a3d;
}

/* Bloc produits éventuel en bas */
#manufacturer #main ul .brand .brand-products {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: #7a7a7a;
}

/* Responsive */
@media (max-width: 1199.98px) {
  #manufacturer #main ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  #manufacturer #main ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  #manufacturer #main ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
  }

  #manufacturer #main ul .brand {
    padding: 16px 12px !important;
  }
}

@media (max-width: 480px) {
  #manufacturer #main ul {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAGE MARQUE — HEADER COMME CATÉGORIE
========================================================= */

#manufacturer .manufacturer-header-custom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;

  margin-bottom: 24px !important;
  padding: 28px 30px !important;

  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
}

#manufacturer .manufacturer-header-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#manufacturer .manufacturer-header-custom h1 {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;

  color: #111 !important;
  font-size: 38px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.03em !important;

  background: transparent !important;
  border: 0 !important;
}

#manufacturer .manufacturer-description {
  max-width: 820px !important;

  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

#manufacturer .manufacturer-description p {
  margin: 0 !important;
}

#manufacturer .manufacturer-header-image {
  flex: 0 0 220px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#manufacturer .manufacturer-header-image img {
  max-width: 180px !important;
  max-height: 110px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Mobile */
@media (max-width: 767.98px) {
  #manufacturer .manufacturer-header-custom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;

    padding: 22px 18px !important;
    margin-bottom: 20px !important;
  }

  #manufacturer .manufacturer-header-custom h1 {
    font-size: 28px !important;
  }

  #manufacturer .manufacturer-description {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  #manufacturer .manufacturer-header-image {
    width: 100% !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
  }

  #manufacturer .manufacturer-header-image img {
    max-width: 150px !important;
    max-height: 90px !important;
  }
}

/* =========================================
   CONFIRMATION COMMANDE — PRODUITS SUGGÉRÉS
========================================= */

#order-confirmation .featured-products,
#order-confirmation .product-accessories,
#order-confirmation .crossselling-products {
  margin-top: 34px;
}

#order-confirmation .featured-products .products,
#order-confirmation .product-accessories .products,
#order-confirmation .crossselling-products .products {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 30px;
  justify-content: center;
}

#order-confirmation .featured-products .product-miniature,
#order-confirmation .product-accessories .product-miniature,
#order-confirmation .crossselling-products .product-miniature {
  margin-bottom: 0 !important;
}

#order-confirmation .featured-products .product-miniature .thumbnail-container,
#order-confirmation .product-accessories .product-miniature .thumbnail-container,
#order-confirmation .crossselling-products .product-miniature .thumbnail-container {
  height: 100%;
}


/* HEADER visible une fois chargé */
body.ready #header {
  visibility: visible;
}