/* =============================================================
   MOTORACINGPARTS.BE — CUSTOM CSS UNIFIÉ
   PrestaShop 8 / LeoElements Dashboard
   Version : 4.0 — nettoyé & numéroté
   ─────────────────────────────────────────────────────────────
   Header + Footer → dark #0a0a0a
   Body + Cards + Listing → light #f5f5f5 / #ffffff
   Accents, prix, boutons → rouge #e30613
   Typo → ClashGrotesk (Regular / Medium / Semibold)
   ─────────────────────────────────────────────────────────────
    1.  VARIABLES GLOBALES
    2.  BODY & PAGE — LIGHT
    3.  HEADER DARK
    4.  FOOTER DARK
    5.  MENU VERTICAL
    6.  MENU HORIZONTAL — LIENS PRINCIPAUX
    7.  MENU HORIZONTAL — DROPDOWN
    8.  MENU HORIZONTAL — WIDGET IMAGE PROMO
    9.  MENU HORIZONTAL — OVERFLOW / ALIGNEMENT
   10.  ICÔNES MENU HORIZONTAL
   11.  GRILLE PRODUITS
   12.  CARDS PRODUIT — LIGHT
   13.  BADGES / FLAGS
   14.  LISTING — FILTRES & TRI
   15.  FICHE PRODUIT — GALERIE & LAYOUT
   16.  FICHE PRODUIT — PRIX
   17.  FICHE PRODUIT — DESCRIPTION COURTE
   18.  FICHE PRODUIT — DESCRIPTION LONGUE
   19.  FICHE PRODUIT — RÉASSURANCE
   20.  FICHE PRODUIT — ONGLETS
   21.  FICHE PRODUIT — ATTRIBUTS & QUANTITÉ
   22.  FICHE PRODUIT — BOUTON PANIER
   23.  FICHE PRODUIT — PARTAGE SOCIAL
   24.  BOUTONS GLOBAUX
   25.  TITRES DE SECTIONS
   26.  BRAND CTA
   27.  PANIER / CHECKOUT
   28.  INPUTS & FORMULAIRES
   29.  PAGINATION
   30.  CAROUSEL — MEILLEURS CHOIX (elementor-element-179a6c1)
   31.  CAROUSEL — VOUS POURRIEZ AIMER / MÊME CATÉGORIE
   32.  ÉTOILES CARDS — leofeature
   33.  ÉTOILES CARDS — productcomments
   34.  ÉTOILES CARDS — mrp module FA5
   35.  TOPNAV & HEADER MIDDLE — couleurs
   36.  MENU VERTICAL — RECHERCHE PAR CATÉGORIES
   37.  MEGA MENU HORIZONTAL — NOS CATÉGORIES / TOP RACING
   38.  CATÉGORIE & RECHERCHE — boutons fonctionnels
   39.  DIVERS — modale panier, mon compte, newsletter
   40.  MOBILE & SCROLLBAR
   ============================================================= */


/* =============================================================
   1. VARIABLES GLOBALES
   ============================================================= */

:root {
  --mrp-red:         #e30613;
  --mrp-red-dark:    #b8000e;
  --mrp-black:       #0a0a0a;
  --mrp-dark:        #111111;
  --mrp-dark-2:      #1a1a1a;
  --mrp-dark-3:      #222222;
  --mrp-border-dark: #2a2a2a;
  --mrp-bg-light:    #f5f5f5;
  --mrp-white:       #ffffff;
  --mrp-border:      #e8e8e8;
  --mrp-text:        #1a1a1a;
  --mrp-text-muted:  #666666;
  --mrp-radius:      6px;
  --mrp-radius-lg:   10px;
  --mrp-transition:  0.22s ease;

  --theme-color-default:      #e30613 !important;
  --price-color:               #e30613 !important;
  --btn-bg:                    #e30613 !important;
  --btn-bg-hover:              #b8000e !important;
  --product-name-color-hover:  #e30613 !important;
  --product-price-color:       #e30613 !important;
  --product-button-bg-hover:   #e30613 !important;
  --sale-badge-background:     #e30613 !important;
  --on-sale-badge-color:       #e30613 !important;
  --link-color-hover:          #e30613 !important;
  --block-link-color-hover:    #e30613 !important;
}


/* =============================================================
   2. BODY & PAGE — LIGHT
   ============================================================= */

body,
#main,
#wrapper,
.page-wrapper,
#content-wrapper,
#content,
#left-column,
#right-column {
  background-color: var(--mrp-bg-light) !important;
  color: var(--mrp-text) !important;
}

body { font-weight: 500; }

.breadcrumb {
  background: transparent !important;
  padding: 10px 0 !important;
}
.breadcrumb, .breadcrumb a, .breadcrumb li,
.breadcrumb-item, .breadcrumb-item a {
  font-family: 'ClashGroteskRegular', sans-serif !important;
  font-size: 0.78rem !important;
  color: #888888 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}
.breadcrumb-item a:hover { color: #e30613 !important; }
.breadcrumb-item.active,
.breadcrumb-item:last-child a {
  color: #e30613 !important;
  font-family: 'ClashGroteskMedium', sans-serif !important;
  font-weight: 500 !important;
}
.breadcrumb-item + .breadcrumb-item::before { color: #bbbbbb !important; }

h1, h2, h3, h4, h5, h6,
.page-header h1 { color: #1a1a1a !important; }


/* =============================================================
   3. HEADER DARK
   ============================================================= */

.header-banner { background: #e30613 !important; }
.header-banner .inner, .header-banner p,
.header-banner a, .header-banner span {
  color: #ffffff !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

#header,
#header .header-top,
#header > div,
#header .col-header-left,
#header .col-header-right,
#header .col-header-center,
#header .header-nav,
.header-nav,
nav.main-header-nav {
  background: #0a0a0a !important;
  color: #cccccc !important;
}

#header .header-nav,
.header-nav { border-bottom: 2px solid #e30613 !important; }

#header input[type="search"],
#header .search-widget input {
  background: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  color: #cccccc !important;
  border-radius: 4px !important;
}

#header .material-icons,
#header i.material-icons { color: #cccccc !important; }

.material-icons { height: auto !important; }


/* =============================================================
   4. FOOTER DARK
   ============================================================= */

#footer, .footer-container, .footer-before, footer {
  color: #b0b0b0 !important;
}
#footer a, .footer-container a { color: #b0b0b0 !important; }
#footer a:hover, .footer-container a:hover { color: #e30613 !important; }
#footer h3, #footer h4,
.footer-container h3, .footer-container h4 { color: #f5f5f5 !important; }


/* =============================================================
   5. MENU VERTICAL
   ============================================================= */

.ApMegamenu .verticalmenu li > a {
  display: flex; align-items: center; padding-right: 30px;
}
.ApMegamenu .verticalmenu li { position: relative; }

.menu-icon {
  width: 22px; height: 22px; min-width: 22px;
  flex-shrink: 0; margin-right: 12px;
  display: inline-block; object-fit: contain;
  filter: grayscale(100%) brightness(0.5);
  transition: all 0.2s ease;
}
.ApMegamenu .verticalmenu li:hover .menu-icon { filter: none; transform: scale(1.05); }
.ApMegamenu .verticalmenu li:has(ul) > a:after,
.ApMegamenu .verticalmenu li:has(.dropdown-menu) > a:after {
  content: "›"; position: absolute; right: 5px; top: 50%;
  transform: translateY(-50%); font-size: 14px; color: #333; transition: 0.2s ease;
}
.ApMegamenu .verticalmenu li:hover > a:after {
  transform: translateY(-50%) translateX(4px); color: #e30613;
}
.ApMegamenu .verticalmenu li:hover > a { color: #e30613; }


/* =============================================================
   6. MENU HORIZONTAL — LIENS PRINCIPAUX
   ============================================================= */

.ApMegamenu .leo-top-menu .megamenu.horizontal > li > a {
  font-weight: 700; text-transform: uppercase;
  transition: color 0.25s ease; position: relative;
  padding-left: 14px; padding-right: 14px;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal > li > a:after { content: none !important; }
.ApMegamenu .leo-top-menu .megamenu.horizontal > li:hover > a,
.ApMegamenu .leo-top-menu .megamenu.horizontal > li.active > a { color: #e30613 !important; }
.ApMegamenu .leo-top-menu .megamenu.horizontal > li { padding-bottom: 6px; }
.lang-en .ApMegamenu .leo-top-menu .megamenu.horizontal > li > a {
  padding-left: 12px; padding-right: 12px;
}
.lang-en .ApMegamenu .leo-top-menu .megamenu.horizontal > li > a .menu-title {
  font-size: 14px; white-space: nowrap;
}


/* =============================================================
   7. MENU HORIZONTAL — DROPDOWN
   ============================================================= */

.ApMegamenu .leo-top-menu .megamenu.horizontal > li > .dropdown-sub,
.ApMegamenu .leo-top-menu .megamenu.horizontal > li > .dropdown-menu,
.ApMegamenu .leo-top-menu .dropdown-menu {
  background: linear-gradient(to bottom, #ffffff, #f7f7f7) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-radius: 6px; border-top: 3px solid #e30613;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner > .row {
  display: flex !important; flex-wrap: nowrap !important;
  margin-left: 0 !important; margin-right: 0 !important;
  align-items: flex-start !important; margin-bottom: 0 !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner > .row > .mega-col {
  flex: 1 1 0 !important; max-width: none !important; width: auto !important;
  padding-left: 20px !important; padding-right: 20px !important;
  padding-top: 5px !important; padding-bottom: 5px !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner {
  padding-top: 2px !important; padding-bottom: 2px !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .mega-col {
  border-right: 1px solid #eee; transition: background 0.2s ease;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .mega-col:last-child { border-right: none; }
.ApMegamenu .mega-col:hover,
.ApMegamenu .leo-top-menu .megamenu.horizontal .mega-col:hover {
  background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .mega-col-inner,
.mega-col-inner { padding-left: 0 !important; padding-right: 10px; }
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories .widget-inner,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner { padding: 12px 15px !important; }
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget,
.ApMegamenu .leo-top-menu .megamenu.horizontal .leo-widget { margin-bottom: 14px !important; }

.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories .menu-title,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner > .menu-title,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget .menu-title,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget .widget-title {
  position: relative !important; padding-left: 14px !important;
  margin-top: 0 !important; margin-bottom: 8px !important; line-height: 1.2 !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories .menu-title:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner > .menu-title:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget .menu-title:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget .widget-title:before {
  content: "" !important; position: absolute !important;
  left: 0 !important; top: 2px !important; bottom: 2px !important;
  width: 4px !important; background: #e30613 !important; border-radius: 2px !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories .menu-title a,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner > .menu-title a,
.ApMegamenu .leo-top-menu .megamenu.horizontal .menu-title a {
  font-size: 16px !important; font-weight: 800 !important;
  text-transform: uppercase !important; color: #111 !important;
  letter-spacing: 0.3px !important; display: inline-block !important;
  transition: color 0.2s ease !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories .menu-title a:hover,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner > .menu-title a:hover,
.ApMegamenu .leo-top-menu .megamenu.horizontal .menu-title a:hover { color: #e30613 !important; }
.ApMegamenu .leo-top-menu .megamenu.horizontal > li > a .menu-title:before {
  content: none !important; display: none !important;
}

.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul {
  margin: 0 !important; padding: 0 !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul li,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul li,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul li {
  margin-bottom: 3px !important; line-height: 1.25 !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul li a,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul li a,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul li a {
  position: relative !important; padding: 2px 0 2px 15px !important;
  font-size: 16px !important; color: #555 !important;
  display: block !important; line-height: 1.2 !important; transition: all 0.2s ease !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul li a:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul li a:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul li a:before {
  content: "" !important; position: absolute !important;
  left: 0 !important; top: 50% !important;
  width: 7px !important; height: 7px !important;
  background: #e30613 !important; border-radius: 50% !important;
  transform: translateY(-50%) !important; opacity: 0.75 !important; transition: all 0.2s ease !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul li a:hover,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul li a:hover,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul li a:hover {
  color: #e30613 !important; transform: translateX(5px) !important;
}
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-subcategories ul li a:hover:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .widget-inner ul li a:hover:before,
.ApMegamenu .leo-top-menu .megamenu.horizontal .dropdown-menu-inner .leo-widget ul li a:hover:before {
  opacity: 1 !important; transform: translateY(-50%) scale(1.2) !important;
}


/* =============================================================
   8. MENU HORIZONTAL — WIDGET IMAGE PROMO
   ============================================================= */

.menu-promo { max-width: 220px; margin: 0; text-align: left; }
.menu-promo img { width: 100%; height: auto; display: block; border-radius: 6px; transition: transform 0.3s; }
.menu-promo img:hover { transform: scale(1.05); }
.mega-col .menu-promo { margin-left: 0 !important; }
.menu-promo .link-fr, .menu-promo .link-en { display: none; }
.lang-fr .menu-promo .link-fr { display: block; }
.lang-en .menu-promo .link-en { display: block; }
.menu-promo.overlay { position: relative; max-width: 220px; overflow: hidden; border-radius: 8px; }
.menu-promo.overlay img { width: 100%; display: block; transition: transform 0.4s ease; }
.menu-promo.overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}
.menu-promo.overlay .promo-content {
  position: absolute; bottom: 15px; left: 15px; right: 15px; z-index: 2; color: #fff;
}
.menu-promo.overlay .promo-title { display: block; font-size: 14px; font-weight: 100; margin-bottom: 8px; }
.menu-promo.overlay .promo-btn {
  display: inline-block; font-size: 12px; padding: 6px 12px;
  background: #e30613; border-radius: 20px; color: #fff;
}
.menu-promo.overlay:hover img { transform: scale(1.08); }


/* =============================================================
   9. MENU HORIZONTAL — OVERFLOW / ALIGNEMENT
   ============================================================= */

.ApMegamenu, .ApMegamenu .leo-megamenu,
.ApMegamenu .leo-top-menu,
.ApMegamenu .leo-top-menu .megamenu.horizontal { overflow: visible !important; }
.ApMegamenu .leo-top-menu .megamenu.horizontal > li.parent.aligned-fullwidth > .dropdown-sub,
.ApMegamenu .leo-top-menu .megamenu.horizontal > li.parent.aligned-fullwidth > .dropdown-menu {
  min-width: 100% !important;
}


/* =============================================================
   10. ICÔNES MENU HORIZONTAL
   ============================================================= */

.leo-megamenu i.fa { width: 20px; text-align: center; margin-right: 6px; }
.leo-megamenu .fa-envelope, .leo-megamenu .fa-cogs,
.leo-megamenu .fa-tags, .leo-megamenu .fa-bolt { transition: 0.3s; }
.leo-megamenu li:hover .fa-envelope, .leo-megamenu li:hover .fa-cogs,
.leo-megamenu li:hover .fa-tags, .leo-megamenu li:hover .fa-bolt {
  transform: scale(1.2); color: #e30613;
}
.leo-megamenu .fa-briefcase { font-size: 18px; transition: 0.3s; }
.leo-megamenu li:hover .fa-briefcase { transform: scale(1.2); color: #e30613; }


/* =============================================================
   11. GRILLE PRODUITS
   ============================================================= */

.products { display: flex; flex-wrap: wrap; }
.products .product-miniature { display: flex; }
.products .product-miniature .product-container { display: flex; flex-direction: column; height: 100%; }
.products .product-description { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.products .product-title { min-height: 40px; }

#products, .products-grid, .products-list,
#js-product-list, .product-miniature,
section.featured-products, .featured-products,
.product-accessories { background-color: var(--mrp-bg-light) !important; }

.product-accessories .products,
.product-accessories .products .slick-row { display: block !important; width: 100% !important; }


/* =============================================================
   12. CARDS PRODUIT — LIGHT
   ============================================================= */

.thumbnail-container {
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: var(--mrp-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  transition: border-color var(--mrp-transition), box-shadow var(--mrp-transition), transform var(--mrp-transition) !important;
  position: relative !important;
}

.thumbnail-container:hover {
  border-color: #e30613 !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 0 0 1px #e30613 !important;
  transform: translateY(-3px) !important;
}

.thumbnail-container .product-image,
.thumbnail-container .thumbnail-top {
  background: #f9f9f9 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.thumbnail-container .product-image img,
.thumbnail-container .product-thumbnail img {
  mix-blend-mode: multiply !important;
  transition: transform 0.4s ease !important;
}
.thumbnail-container:hover .product-image img { transform: scale(1.04) !important; }

.thumbnail-container .product-meta { padding: 10px 14px 0px !important; background: #ffffff !important; }

.thumbnail-container .product-title,
.thumbnail-container .product-title a,
.product-miniature .product-title a,
.product-miniature h3 a,
.product-title a {
  color: #1a1a1a !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 1.0rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  transition: color var(--mrp-transition) !important;
  text-align: center !important;
}
.thumbnail-container .product-title { margin-bottom: 0px; }
.thumbnail-container:hover .product-title a,
.product-miniature .product-title a:hover { color: #e30613 !important; }

.thumbnail-container .product-title a {
  display: -webkit-inline-box !important;
  display: inline-flex !important;
  -webkit-box-orient: horizontal !important;
  white-space: break-spaces;
}

.thumbnail-container .product-description > div:first-child,
.product-miniature .category-name {
  color: #888888 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.thumbnail-container .price,
.price, .product-price, .current-price, span.price,
.product-price-and-shipping .price,
.product-miniature .price {
  color: #e30613 !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}
.thumbnail-container .regular-price, .regular-price {
  color: #999999 !important; font-size: 16px !important;
  text-decoration: line-through !important; font-weight: 500 !important;
}
.thumbnail-container .discount-percentage,
.thumbnail-container .discount-amount {
  background: #e30613 !important; color: #fff !important;
  font-size: 0.7rem !important; font-family: 'ClashGroteskSemibold', sans-serif !important;
  padding: 2px 6px !important; border-radius: 3px !important; font-weight: 500 !important;
}

.thumbnail-container .functional-buttons {
  background: rgba(255,255,255,0.96) !important;
  border-top: 1px solid #f0f0f0 !important;
  gap: 2px !important; padding: 6px !important;
  display: flex !important; justify-content: center !important; align-items: center !important;
  opacity: 0 !important; transform: translateY(6px) !important;
  transition: opacity var(--mrp-transition), transform var(--mrp-transition) !important;
  position: absolute !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
}
.thumbnail-container:hover .functional-buttons { opacity: 1 !important; transform: translateY(0) !important; }

.thumbnail-container .btn-product.add-to-cart,
.thumbnail-container .btn.add-to-cart {
  background: #e30613 !important; border: none !important;
  border-radius: var(--mrp-radius) !important; color: #fff !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.0rem !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; padding: 13px !important;
  transition: background var(--mrp-transition) !important; flex: 1 !important;
}
.thumbnail-container .btn-product.add-to-cart:hover { background: #b8000e !important; }
.thumbnail-container .name-btn-product { display: none !important; }

/* Masquer déclinaisons couleur dans les carousels */
#category-products2 .thumbnail-container .variant-links,
#category-products .thumbnail-container .variant-links,
.product-accessories .thumbnail-container .variant-links { display: none !important; }

/* Centrage contenu cards */
.product-miniature .category-default,
.product-miniature .pro-info,
.product-miniature .product-price-and-shipping {
  text-align: center !important;
  justify-content: center !important;
}
.product-miniature .product-price-and-shipping { justify-content: center !important; }
.product-miniature .mrp-grade-stars { justify-content: center !important; }

.category-default {
  font-size: 17px !important;
  line-height: 15px !important;
  margin-top: 6px !important;
}

.product-list-reviews { display: contents; }

/* Cacher badges discount dupliqués */
.product-flag.discount-percentage { display: none !important; }
span.discount-percentage.discount-product { display: none !important; }


/* =============================================================
   13. BADGES / FLAGS
   ============================================================= */

.product-flags {
  top: 10px !important; left: 10px !important; z-index: 5 !important;
  display: flex !important; flex-direction: column !important; gap: 4px !important;
}
.product-flags .product-flag {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.65rem !important; font-weight: 500 !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important;
  padding: 3px 8px !important; border-radius: 3px !important;
  border: none !important; line-height: 1.5 !important;
}
.product-flags .product-flag.discount,
.product-flags .product-flag.on-sale,
.discount-flag, .new-flag, .on-sale-flag, .pack-flag { background: #e30613 !important; color: #fff !important; }
.product-flags .product-flag.new { background: #0a7c3e !important; color: #fff !important; }
.product-flags .product-flag.out_of_stock {
  background: #f0f0f0 !important; color: #888888 !important; border: 1px solid #e0e0e0 !important;
}


/* =============================================================
   14. LISTING — FILTRES & TRI
   ============================================================= */

#search_filters, #js-product-list-filters,
#left-column .block, #left-column .card {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important; padding: 18px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important; color: #1a1a1a !important;
}
#search_filters .facet {
  border-bottom: 1px solid #f0f0f0 !important;
  padding-bottom: 14px !important; margin-bottom: 14px !important;
}
#search_filters .facet:last-child { border-bottom: none !important; margin-bottom: 0 !important; }

#search_filters .facet-title, #search_filters p.h6,
.facet-title, .filter-title, #search_filters .h6, #search_filters h6 {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.78rem !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; color: #1a1a1a !important;
  margin-bottom: 10px !important; font-weight: 500 !important;
}

#search_filters .facet-label, .facet-label {
  display: flex !important; align-items: center !important; gap: 8px !important;
  font-family: 'ClashGroteskRegular', sans-serif !important;
  font-size: 0.8rem !important; color: #444444 !important;
  padding: 4px 0 !important; cursor: pointer !important; transition: color 0.18s !important;
}
#search_filters .facet-label:hover, #search_filters .facet-label.active,
.facet-label a:hover, .facets-enumeration a:hover { color: #e30613 !important; }
.facet-label a, .facets-enumeration a { color: #444444 !important; }

#search_filters .custom-checkbox input[type="checkbox"],
.custom-checkbox input[type="checkbox"] {
  appearance: none !important; -webkit-appearance: none !important;
  width: 14px !important; height: 14px !important;
  border: 1px solid #cccccc !important; border-radius: 3px !important;
  background: #ffffff !important; cursor: pointer !important; flex-shrink: 0 !important;
  transition: background 0.18s, border-color 0.18s !important; position: relative !important;
}
#search_filters .custom-checkbox input[type="checkbox"]:checked,
.custom-checkbox input[type="checkbox"]:checked { background: #e30613 !important; border-color: #e30613 !important; }
.custom-checkbox input[type="checkbox"]:checked ~ span { background-color: #e30613 !important; border-color: #e30613 !important; }
#search_filters .magnitude { color: #aaaaaa !important; font-size: 0.72rem !important; margin-left: auto !important; }

.active_filters .filter-block {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  background: #fff5f5 !important; border: 1px solid #e30613 !important;
  border-radius: 4px !important; padding: 3px 8px !important;
  font-size: 0.72rem !important; color: #e30613 !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  text-transform: uppercase !important; letter-spacing: 0.05em !important; margin: 3px !important;
}

#js-product-list-top, .products-selection,
.products-sort-order, #js-product-list-top .row,
.js-search-filters-sort-order {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important; padding: 10px 16px !important;
  margin-bottom: 20px !important; box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important; color: #1a1a1a !important;
}
.total-products p {
  font-family: 'ClashGroteskRegular', sans-serif !important;
  font-size: 0.78rem !important; color: #888888 !important; margin: 0 !important;
}
#js-product-list-top select, #js-product-list-top .select-title,
.sort-by-row .select-title, .sort-orders .select-title, .products-sort-order .select-title {
  background: #f5f5f5 !important; border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important; color: #1a1a1a !important;
  font-family: 'ClashGroteskRegular', sans-serif !important;
  font-size: 0.78rem !important; padding: 6px 12px !important;
}
.sort-orders .dropdown-menu, .sort-by-row .dropdown-menu {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important;
  border-radius: 6px !important; padding: 6px 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
.sort-orders .select-list, .sort-by-row .select-list {
  display: block !important; padding: 7px 14px !important;
  font-size: 0.78rem !important; color: #444444 !important;
}
.sort-orders .select-list:hover { background: #f5f5f5 !important; color: #e30613 !important; }


/* =============================================================
   15. FICHE PRODUIT — GALERIE & LAYOUT
   ============================================================= */

#product, .page-product #content, .page-product #wrapper { background-color: #f5f5f5 !important; }

.images-container, .product-cover, .js-images-container {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important; border-radius: 8px !important;
}
.product-cover img, .js-qv-product-cover { mix-blend-mode: multiply !important; }
.js-thumb, .thumb-container, .product-images li img {
  background: #f9f9f9 !important; border: 1px solid #e8e8e8 !important;
  border-radius: 4px !important; transition: border-color 0.2s !important;
}
.js-thumb.selected, .js-thumb:hover { border-color: #e30613 !important; }

.product-information, #product-description-short,
.product-variants, .product-add-to-cart,
.product-additional-info { color: #1a1a1a !important; }

#product-details .brand-logo img,
#product-details .manufacturer-logo img,
#product-details img[alt] {
  width: 120px !important; height: auto !important;
  margin-bottom: 8px !important; mix-blend-mode: multiply !important;
}

#product-availability {
  display: inline-flex !important; align-items: center !important;
  gap: 8px !important;
  font-family: 'ClashGroteskMedium', sans-serif !important;
  font-size: 13px !important; font-weight: 500 !important;
  color: #1a7a3f !important; background: #f0faf4 !important;
  border: 1px solid #b6e8c8 !important; border-radius: 6px !important;
  padding: 6px 12px !important; margin-bottom: 8px !important;
}

/* Galerie — bordure */
.product-cover,
.images-container {
  border: 1px solid #DBDFE1 !important;
  border-radius: 10px !important;
}


/* =============================================================
   16. FICHE PRODUIT — PRIX
   ============================================================= */

.product-prices {
  padding: 14px 0 !important;
  border-top: 1px solid #e8e8e8 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  margin: 14px 0 16px !important; line-height: 1 !important;
}
.product-prices .current-price {
  display: flex !important; align-items: center !important;
  flex-wrap: wrap !important; gap: 6px !important; margin-bottom: 6px !important;
}
.product-prices .current-price .price, .product-price span.price {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 28px !important; font-weight: 800 !important; color: #e30613 !important;
}
.product-prices .product-discount .regular-price,
.product-prices .regular-price {
  font-size: 18px !important; color: #555555 !important;
  text-decoration: line-through !important; font-weight: 500 !important;
  margin-right: 10px !important; opacity: 1 !important;
  background: transparent !important; padding: 0 !important;
  border-radius: 0 !important; display: inline !important;
}
.product-prices .discount-percentage, .product-prices .discount-amount,
span.discount-percentage, span.discount-amount {
  display: inline-block !important; background: #e30613 !important;
  color: #ffffff !important; font-size: 12px !important; font-weight: 500 !important;
  padding: 4px 10px !important; border-radius: 4px !important;
  margin-left: 8px !important; vertical-align: middle !important;
  text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important;
}
.product-prices p {
  font-size: 12px !important; color: #888888 !important; font-weight: 400 !important;
  font-family: 'ClashGroteskRegular', sans-serif !important;
  line-height: 1.5 !important; margin-top: 6px !important;
}
.price-tax-label { font-size: 20px; margin-left: 2px; font-weight: 500; opacity: 0.8; }
.product-prices .tax-shipping-delivery-label { display: none; }


/* =============================================================
   17. FICHE PRODUIT — DESCRIPTION COURTE
   ============================================================= */

.description-short, .description-short p, .description-short li,
.description-short span, .page-product .description-short,
.page-product .description-short p, .page-product .description-short li {
  font-family: 'ClashGroteskMedium', sans-serif !important;
  font-size: 14px !important; font-weight: 400 !important;
  line-height: 1.8 !important; color: #222222 !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  text-rendering: optimizeLegibility !important;
}
.description-short strong, .description-short b {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-weight: 500 !important; color: #0a0a0a !important;
}
.description-short ul { list-style: none !important; padding: 0 !important; margin: 6px 0 10px !important; }
.description-short ul li { position: relative !important; padding-left: 16px !important; margin-bottom: 4px !important; }
.description-short ul li::before {
  content: '' !important; position: absolute !important;
  left: 0 !important; top: 8px !important;
  width: 6px !important; height: 6px !important;
  background: #e30613 !important; border-radius: 50% !important;
}


/* =============================================================
   18. FICHE PRODUIT — DESCRIPTION LONGUE
   ============================================================= */

#description .page-cms, .tabs-content #description {
  font-size: 14px !important; color: #333333 !important; line-height: 1.8 !important;
}
#description strong, #description b { color: #0a0a0a !important; font-weight: 500 !important; }
#description ul { list-style: none !important; padding: 0 !important; margin: 8px 0 16px !important; }
#description ul li {
  position: relative !important; padding-left: 18px !important; margin-bottom: 6px !important;
  font-size: 14px !important; color: #333333 !important; line-height: 1.6 !important;
}
#description ul li::before {
  content: '' !important; position: absolute !important;
  left: 0 !important; top: 8px !important;
  width: 6px !important; height: 6px !important;
  background: #e30613 !important; border-radius: 50% !important;
}


/* =============================================================
   19. FICHE PRODUIT — RÉASSURANCE
   ============================================================= */

#block-reassurance {
  border-top: 1px solid #eeeeee !important;
  padding-top: 16px !important; margin-top: 8px !important;
}
#block-reassurance ul {
  display: grid !important; grid-template-columns: 1fr !important;
  gap: 8px !important; list-style: none !important; padding: 0 !important; margin: 0 !important;
}
#block-reassurance ul li {
  padding: 0 !important; border: none !important;
  background: transparent !important; margin: 0 !important;
}
#block-reassurance .block-reassurance-item {
  display: flex !important; align-items: center !important; gap: 10px !important;
  background: #f8f8f8 !important; border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important; padding: 10px 12px !important;
  height: 100% !important; box-sizing: border-box !important;
}
#block-reassurance .block-reassurance-item img {
  width: 28px !important; height: 28px !important; object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: invert(10%) sepia(90%) saturate(700%) hue-rotate(340deg) brightness(85%) !important;
}
#block-reassurance .reas-title {
  display: block !important; font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-weight: 500 !important; color: #0a0a0a !important; font-size: 14px !important;
}
#block-reassurance .reas-desc {
  display: block !important; font-weight: 400 !important;
  color: #555555 !important; font-size: 13px !important; margin-top: 2px !important;
}
#block-reassurance .block-reassurance-item span.h6 {
  font-size: 13px !important; font-weight: 400 !important; color: #333333 !important;
  line-height: 1.35 !important; margin: 0 !important;
  text-transform: none !important; letter-spacing: 0 !important;
}


/* =============================================================
   20. FICHE PRODUIT — ONGLETS
   ============================================================= */

.page-product .nav-tabs { display: none !important; }
.page-product .tab-pane { display: block !important; opacity: 1 !important; visibility: visible !important; }

.mrp-section-title {
  font-family: 'ClashGroteskSemibold', sans-serif;
  font-size: 1.05rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.1em; color: #0a0a0a;
  padding: 24px 0 16px; border-top: 2px solid #e8e8e8; margin-top: 8px;
}
.mrp-section-title span { border-left: 3px solid #e30613; padding-left: 12px; }

.tabs .nav-tabs .nav-link, #product .nav-tabs .nav-link,
.tabs .nav-link, .product-tabs .nav-link, .nav-tabs .nav-link {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.8rem !important; text-transform: uppercase !important;
  letter-spacing: 0.08em !important; color: #888888 !important;
  border: none !important; border-bottom: 3px solid transparent !important;
  background: transparent !important; padding: 12px 20px !important;
  transition: color 0.2s, border-color 0.2s !important;
}
.tabs .nav-tabs .nav-link.active, #product .nav-tabs .nav-link.active,
.tabs .nav-link.active, .product-tabs .nav-link.active, .nav-tabs .nav-link.active {
  color: #e30613 !important; border-bottom: 3px solid #e30613 !important;
  background: transparent !important; font-weight: 500 !important;
}


/* =============================================================
   21. FICHE PRODUIT — ATTRIBUTS & QUANTITÉ
   ============================================================= */

.product-variants-item label, .product-variants label, label.control-label {
  font-family: 'ClashGroteskRegular', sans-serif !important;
  font-weight: 400 !important; font-size: 12px !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
.product-quantity .qty .form-control,
#product .input-group input[type="number"] {
  background: #ffffff !important; border: 1px solid #cccccc !important;
  color: #1a1a1a !important; text-align: center !important;
}
.product-quantity .qty .input-group-btn button,
#product .input-group-btn .btn {
  background: #f5f5f5 !important; border: 1px solid #cccccc !important; color: #555555 !important;
}
.product-quantity .qty .input-group-btn button:hover {
  background: #e30613 !important; color: #fff !important; border-color: #e30613 !important;
}


/* =============================================================
   22. FICHE PRODUIT — BOUTON PANIER
   ============================================================= */

.product-add-to-cart .add-to-cart, #product .add-to-cart,
.add-to-cart.btn, .btn-add-to-cart, button.add-to-cart {
  background: #e30613 !important; border: none !important;
  border-radius: 6px !important; color: #ffffff !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.82rem !important; font-weight: 500 !important;
  text-transform: uppercase !important; letter-spacing: 0.08em !important;
  padding: 12px 28px !important; transition: background 0.2s, transform 0.15s !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
.product-add-to-cart .add-to-cart:hover,
button.add-to-cart:hover, .add-to-cart.btn:hover {
  background: #b8000e !important; transform: translateY(-1px) !important;
}
.btn.btn-product.add-to-cart { display: flex !important; align-items: center !important; justify-content: center !important; }
.leo-bt-cart-content { display: flex !important; align-items: center !important; gap: 8px; }
.leo-bt-cart-content i { order: 0 !important; margin-right: 6px; }
.leo-bt-cart-content .name-btn-product { order: 1 !important; }

.elementor-LeoProductCarousel .icon-cart::before,
.ApSlick .icon-cart::before {
  content: "\f07a" !important;
  font-size: 16px !important;
}


/* =============================================================
   23. FICHE PRODUIT — PARTAGE SOCIAL
   ============================================================= */

.social-sharing ul li { display: inline-flex !important; float: none !important; width: auto !important; }
.social-sharing li a {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 32px !important; height: 32px !important;
  background: #f5f5f5 !important; border: 1px solid #e0e0e0 !important;
  border-radius: 50% !important; color: #888888 !important;
  transition: background 0.18s, border-color 0.18s, color 0.18s !important;
}
.social-sharing li a:hover {
  background: #e30613 !important; border-color: #e30613 !important; color: #fff !important;
}


/* =============================================================
   24. BOUTONS GLOBAUX
   ============================================================= */

.btn-primary, .btn.btn-primary, a.btn-primary {
  background: #e30613 !important; border: 1px solid #e30613 !important; color: #fff !important;
  font-family: 'ClashGroteskSemibold', sans-serif !important; font-size: 0.78rem !important;
  text-transform: uppercase !important; letter-spacing: 0.08em !important;
  border-radius: var(--mrp-radius) !important; padding: 9px 20px !important;
  transition: background var(--mrp-transition), transform var(--mrp-transition) !important;
}
.btn-primary:hover { background: #b8000e !important; border-color: #b8000e !important; transform: translateY(-1px) !important; }
.btn-secondary, .btn.btn-secondary, .btn-outline-secondary {
  background: transparent !important; border: 1px solid #cccccc !important;
  color: #1a1a1a !important; font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 0.78rem !important; text-transform: uppercase !important;
  border-radius: var(--mrp-radius) !important;
}
.btn-secondary:hover, .btn-outline-secondary:hover { border-color: #e30613 !important; color: #e30613 !important; }
.owl-prev, .owl-next {
  background: #ffffff !important; border: 1px solid #e0e0e0 !important;
  color: #555555 !important; border-radius: 50% !important;
  width: 36px !important; height: 36px !important; box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}
.owl-prev:hover, .owl-next:hover { background: #e30613 !important; border-color: #e30613 !important; color: #fff !important; }

.block_newsletter form .btn::after { font-size: 15px !important; }


/* =============================================================
   25. TITRES DE SECTIONS
   ============================================================= */

.block-title, .block-title h2, .block-title h3,
h2.title_block, h3.title_block,
.leo-widget > .title_block, .leo-widget .h3.title_block,
.products-section-title {
  font-family: 'ClashGroteskSemibold', sans-serif !important;
  font-size: 1.05rem !important; text-transform: uppercase !important;
  letter-spacing: 0.1em !important; color: #1a1a1a !important;
  border-left: 3px solid #e30613 !important;
  padding-left: 12px !important; margin-bottom: 20px !important; background: none !important;
}

/* Trait rouge sous titres de section home */
.elementor-widget-heading h2.elementor-heading-title {
  display: inline-block !important;
  border-bottom: 3px solid #e30613 !important;
  padding-bottom: 6px !important;
}
/* Exclusions - titres sur fond sombre */
.elementor-element-120d7b2 h2.elementor-heading-title,
.elementor-element-b165fd3 h2.elementor-heading-title {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}


/* =============================================================
   26. BRAND CTA
   ============================================================= */

.brand-cta { text-align: center; padding: 30px; }
.brand-cta a { background: #999; color: white; padding: 12px 25px; text-decoration: none; border-radius: 5px; }
.brand-cta a:hover { background: #e30613; }


/* =============================================================
   27. PANIER / CHECKOUT
   ============================================================= */

.cart-summary, .cart-items, .cart-item,
.checkout-step, .checkout-step .content {
  background-color: #ffffff !important; border-color: #e8e8e8 !important; color: #1a1a1a !important;
}
.cart-summary-line.cart-total .value, .cart-total .value { color: #e30613 !important; font-weight: 500 !important; }


/* =============================================================
   28. INPUTS & FORMULAIRES
   ============================================================= */

input[type="text"], input[type="email"], input[type="search"],
input[type="number"], textarea, select {
  background-color: #ffffff !important; border: 1px solid #cccccc !important;
  color: #1a1a1a !important; border-radius: 4px !important;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus,
textarea:focus, select:focus {
  border-color: #e30613 !important;
  box-shadow: 0 0 0 2px rgba(227,6,19,0.15) !important; outline: none !important;
}


/* =============================================================
   29. PAGINATION
   ============================================================= */

.pagination .page-link {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important;
  color: #1a1a1a !important; border-radius: 4px !important;
  margin: 0 2px !important; padding: 6px 12px !important;
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link { background: #e30613 !important; border-color: #e30613 !important; color: #fff !important; }


/* =============================================================
   30. CAROUSEL — MEILLEURS CHOIX (elementor-element-179a6c1)
   ============================================================= */

.elementor-element-179a6c1 .functional-buttons.clearfix {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  /*display: grid!important;*/
  grid-template-columns: 44px 1fr 44px 44px !important;
  align-items: center !important;
  gap: 4px !important; margin-top: 2px !important;
  width: 100% !important; visibility: visible !important; opacity: 1 !important;
}

.elementor-element-179a6c1 .functional-buttons.clearfix > div {
  position: relative !important; height: 44px !important;
}

.elementor-element-179a6c1 .functional-buttons.clearfix .quickview {
  grid-column: 1 !important; width: 44px !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .quickview .quick-view {
  position: static !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important;
}

.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart {
  grid-column: 2 !important; min-width: 0 !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart form,
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart .btn-product {
  position: static !important; width: 100% !important; height: 44px !important;
  display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart .name-btn-product {
  display: none !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart .icon-cart {
  font-size: 0 !important; font-family: "Font Awesome 5 Pro" !important;
  width: inherit !important; height: inherit !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart .icon-cart::before {
  content: "\f07a" !important; font-family: "Font Awesome 5 Pro" !important;
  font-size: 18px !important; font-weight: 400 !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .button-container.cart .icon-cart::after {
  content: none !important;
}

.elementor-element-179a6c1 .functional-buttons.clearfix .wishlist {
  grid-column: 3 !important; width: 44px !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .compare {
  grid-column: 4 !important; width: 44px !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .wishlist .btn-product,
.elementor-element-179a6c1 .functional-buttons.clearfix .compare .btn-product {
  position: static !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important;
}
.elementor-element-179a6c1 .functional-buttons.clearfix .wishlist .name-btn-product,
.elementor-element-179a6c1 .functional-buttons.clearfix .compare .name-btn-product {
  display: none !important;
}

.elementor-element-179a6c1 .thumbnail-container {
  display: flex !important; flex-direction: column !important; height: 100% !important;
}
.elementor-element-179a6c1 .product-meta {
  display: flex !important; flex-direction: column !important; flex-grow: 1 !important;
}
.elementor-element-179a6c1 .product-price-and-shipping { margin-top: auto !important; }
.elementor-element-179a6c1 .star_content { display: flex !important; }
.elementor-element-179a6c1 .slick-slide > div {
  padding-top: 8px !important; padding-bottom: 8px !important;
}
.elementor-element-179a6c1 .product-miniature:hover,
.elementor-element-179a6c1 .thumbnail-container:hover {
  transform: none !important; box-shadow: none !important;
}
.elementor-element-179a6c1 .product-title,
.elementor-element-179a6c1 .leo-list-product-reviews,
.elementor-element-179a6c1 .star_content,
.elementor-element-179a6c1 .product-price-and-shipping {
  text-align: center !important; justify-content: center !important;
}


/* =============================================================
   31. CAROUSEL — VOUS POURRIEZ AIMER / MÊME CATÉGORIE
   ============================================================= */

/* Carousel générique */
.elementor-LeoProductCarousel .functional-buttons,
.ApSlick .functional-buttons {
  display: flex !important; align-items: center !important;
  justify-content: center !important; gap: 8px !important;
}
.elementor-LeoProductCarousel .functional-buttons .btn-product,
.ApSlick .functional-buttons .btn-product {
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important;
  width: 36px !important; height: 36px !important; padding: 0 !important;
}
.elementor-LeoProductCarousel .name-btn-product,
.elementor-LeoProductCarousel .text-add,
.elementor-LeoProductCarousel .text-remove,
.elementor-LeoProductCarousel .leo-compare-bt-loading,
.elementor-LeoProductCarousel .leo-wishlist-bt-loading,
.ApSlick .name-btn-product,
.ApSlick .text-add,
.ApSlick .text-remove,
.ApSlick .leo-compare-bt-loading,
.ApSlick .leo-wishlist-bt-loading { display: none !important; }

.elementor-LeoProductCarousel .leo-compare-bt-content,
.elementor-LeoProductCarousel .leo-wishlist-bt-content,
.ApSlick .leo-compare-bt-content,
.ApSlick .leo-wishlist-bt-content {
  display: flex !important; align-items: center !important; justify-content: center !important;
}

/* Hauteur uniforme carousel */
.elementor-LeoProductCarousel .slick-track,
.ApSlick .slick-track { display: flex !important; }
.elementor-LeoProductCarousel .slick-slide,
.ApSlick .slick-slide { height: auto !important; display: flex !important; flex-direction: column !important; }
.elementor-LeoProductCarousel .slick-slide > div,
.ApSlick .slick-slide > div { height: 100% !important; display: flex !important; flex-direction: column !important; }
.elementor-LeoProductCarousel .product-miniature,
.ApSlick .product-miniature { height: 100% !important; display: flex !important; flex-direction: column !important; }
.elementor-LeoProductCarousel .thumbnail-container,
.ApSlick .thumbnail-container { flex: 1 !important; display: flex !important; flex-direction: column !important; }
.elementor-LeoProductCarousel .product-meta,
.ApSlick .product-meta { flex: 1 !important; display: flex !important; flex-direction: column !important; }
.elementor-LeoProductCarousel .button-container.cart,
.ApSlick .button-container.cart { margin-top: auto !important; }

/* Contour hover carousel */
.elementor-LeoProductCarousel .product-miniature:hover,
.ApSlick .product-miniature:hover {
  border: 2px solid #e30613 !important;
  border-radius: var(--mrp-radius-lg) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12) !important;
}
.elementor-LeoProductCarousel .thumbnail-container:hover,
.ApSlick .thumbnail-container:hover {
  border-color: #e8e8e8 !important; box-shadow: none !important; transform: none !important;
}

/* Masquer éléments parasites carousel */
.elementor-LeoProductCarousel .discount-percentage,
.elementor-LeoProductCarousel .highlighted-informations,
.elementor-LeoProductCarousel .variant-links,
.ApSlick .discount-percentage,
.ApSlick .highlighted-informations,
.ApSlick .variant-links { display: none !important; }

/* Masquer tooltip boutons carousel */
.elementor-LeoProductCarousel .functional-buttons .btn-product span span,
.ApSlick .functional-buttons .btn-product span span { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.slick-track .leo-bt-cart-content > span.name-btn-product,
.slick-list .leo-bt-cart-content > span.name-btn-product {
  display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important; font-size: 0 !important;
}

/* Espace blanc supprimé */
.elementor-LeoProductCarousel .thumbnail-container,
.ApSlick .thumbnail-container,
.leo-plist-style-9-1 .thumbnail-container { margin-bottom: 0 !important; margin: 0 !important; }

/* Fix espacement #category-products2 */
#category-products2 .slick-track { margin-left: 0 !important; }
#category-products2 .slick-slide:first-child { margin-left: 0 !important; padding-left: 0 !important; }
#category-products2 .slick-list { padding-left: 15px !important; }

/* Fix largeur carousel accessories */
.product-accessories .slick-list { overflow: hidden !important; }
.product-accessories #category-products2,
.product-accessories .products { overflow: visible !important; }
.product-accessories { padding-left: 0px !important; }

/* Étoiles carousel - alignement gauche */
#category-products2 .star_content,
.product-accessories .star_content,
.elementor-LeoProductCarousel .star_content,
.ApSlick .star_content { justify-content: flex-start !important; text-align: left !important; }
#category-products2 .star_content .star,
.product-accessories .star_content .star,
.elementor-LeoProductCarousel .star_content .star,
.ApSlick .star_content .star { width: 20px !important; height: 20px !important; font-size: 20px !important; }


/* =============================================================
   32. ÉTOILES CARDS — leofeature
   ============================================================= */

.leo-list-product-reviews { margin: 4px 0 6px 0; }
.leo-list-product-reviews .star_content { display: flex; gap: 2px; align-items: center; }

.product-miniature .leo-list-product-reviews .star::before {
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
  content: "\f005" !important; font-weight: 300 !important; font-size: 14px !important;
  color: #ccc !important; position: static !important; top: auto !important; left: auto !important;
  line-height: normal !important; display: block !important;
}
.product-miniature .leo-list-product-reviews .star.star_on::before {
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
  content: "\f005" !important; font-weight: 900 !important; font-size: 14px !important;
  color: #f5a623 !important; position: static !important; top: auto !important; left: auto !important;
  line-height: normal !important; display: block !important;
}
.leo-list-product-reviews .nb-revews { font-size: 11px; color: #888; margin-left: 4px; }


/* =============================================================
   33. ÉTOILES CARDS — productcomments
   ============================================================= */

.product-miniature .product-list-reviews { margin: 4px 0 6px 0; }
.product-miniature .grade-stars { overflow: visible !important; }
.product-miniature .grade-stars .star-content { display: flex !important; gap: 2px !important; align-items: center !important; }
.product-miniature .grade-stars .star-content.star-empty .star { visibility: visible !important; }

.product-miniature .grade-stars div.star,
.product-miniature .grade-stars div.star-on {
  background-image: none !important; background: transparent !important;
  width: 16px !important; height: 16px !important; position: relative !important; overflow: visible !important;
}
.product-miniature .grade-stars div.star::before {
  font-family: "FontAwesome" !important; content: "\f005" !important;
  position: absolute !important; top: 0 !important; left: 0 !important;
  font-size: 16px !important; line-height: 1 !important; color: #dddddd !important;
}
.product-miniature .grade-stars div.star-on::before {
  font-family: "FontAwesome" !important; content: "\f005" !important;
  position: absolute !important; top: 0 !important; left: 0 !important;
  font-size: 16px !important; line-height: 1 !important; color: #f5a623 !important;
}
.product-miniature .star-content {
  overflow: visible !important; display: flex !important; align-items: center !important; gap: 2px !important;
}
.product-miniature .comments-nb { font-size: 11px; color: #888; margin-top: 2px; }
.product-miniature .product-comments-additional-info { display: none !important; }
.product-reviews-block .social-sharing { display: none !important; }

/* Étoiles fiche produit */
.product-comments-additional-info div.star {
  background-image: none !important; background: transparent !important;
  width: 22px !important; height: 22px !important; position: relative !important; overflow: visible !important;
}
.product-comments-additional-info div.star::before {
  font-family: "FontAwesome" !important; content: "\f005" !important;
  position: absolute !important; top: 2px !important; left: 0 !important;
  font-size: 22px !important; line-height: 1 !important; color: #dddddd !important;
}
.product-comments-additional-info div.star-on {
  background-image: none !important; background: transparent !important;
  width: 22px !important; height: 22px !important; position: relative !important; overflow: visible !important;
}
.product-comments-additional-info div.star-on::before,
.product-comments-additional-info div.star-hover::before {
  font-family: "FontAwesome" !important; content: "\f005" !important;
  position: absolute !important; top: 2px !important; left: 0 !important;
  font-size: 22px !important; line-height: 1 !important; color: #f5a623 !important;
}
.product-comments-additional-info .star-content {
  overflow: visible !important; display: flex !important; align-items: center !important; gap: 2px !important;
}
.product-comments-additional-info div.star[style*="width: 5px"] { width: 22px !important; }
.product-comments-additional-info div.star[style*="width: 5px"]::before { content: "\f089" !important; color: #f5a623 !important; }
.product-comments-additional-info div.star[style*="width: 15px"] { width: 22px !important; }
.product-comments-additional-info div.star[style*="width: 15px"]::before { content: "\f005" !important; color: #f5a623 !important; }


/* =============================================================
   34. ÉTOILES CARDS — mrp module FA5
   ============================================================= */

.mrp-stars { display: contents; margin: 4px 0 6px 0; }

.mrp-grade-stars {
  display: flex; gap: 3px; align-items: center;
  min-height: 20px; margin: 2px 0 10px 0;
}
.mrp-grade-stars .mrp-star { font-size: 13px; color: #ccc; }
.mrp-grade-stars .fas.fa-star,
.mrp-grade-stars .fas.fa-star-half-alt { color: #f5a623; }

.mrp-comments-nb {
  display: none !important;
  height: 0 !important; margin: 0 !important; padding: 0 !important;
}

/* Fix icônes compare/wishlist FA5 */
.thumbnail-container .leo-compare-bt-content i::before {
  content: "\f0c5" !important; font-size: 15px !important;
  font-family: "Font Awesome 5 Pro" !important; font-weight: 900 !important;
}
.thumbnail-container .leo-wishlist-bt-content i::before {
  content: "\f004" !important; font-size: 15px !important;
  font-family: "Font Awesome 5 Pro" !important; font-weight: 400 !important;
}


/* =============================================================
   35. TOPNAV & HEADER MIDDLE — couleurs
   ============================================================= */

/* Topnav liens supérieurs */
.elementor-1 .elementor-element.elementor-element-e094872 .linklist-menu,
.elementor-1 .elementor-element.elementor-element-e094872 .linklist-menu * {
  color: #2c2c2c !important; font-weight: 500 !important; font-size: 14px !important;
}
.elementor-1 .elementor-element.elementor-element-e094872 .linklist-menu:hover,
.elementor-1 .elementor-element.elementor-element-e094872 .linklist-menu *:hover { color: #e30613 !important; }
.elementor-1 .elementor-element.elementor-element-e094872 .linklist-menu li:not(:last-child):after { border-color: #bbbbbb !important; }

/* Topnav droite - Langue + Devise */
.elementor-1 .elementor-element.elementor-element-7a2c725 .expand-more,
.elementor-1 .elementor-element.elementor-element-7a2c725 .fal,
.elementor-1 .elementor-element.elementor-element-7a2c725 .popup-title { color: #2c2c2c !important; font-weight: 600 !important; }
.elementor-1 .elementor-element.elementor-element-94466f9 .expand-more,
.elementor-1 .elementor-element.elementor-element-94466f9 ._gray-darker,
.elementor-1 .elementor-element.elementor-element-94466f9 .popup-title { color: #2c2c2c !important; font-weight: 600 !important; }
.elementor-1 .elementor-element.elementor-element-7413e09 .elementor-divider-separator { border-color: #bbbbbb !important; }

/* Header middle - Connexion, Wishlist, Panier */
#header .userinfo-selector .popup-title span,
#header .userinfo-selector .popup-title i { color: #ffffff !important; font-weight: 600 !important; }
#header .userinfo-selector a span { color: #ffffff !important; font-weight: 600 !important; }

#_desktop_user_info a,
#_desktop_cart a { color: #ffffff !important; }

.elementor-9 .elementor-element.elementor-element-f1a3afe .ap-btn-wishlist i { color: #ffffff !important; font-size: 1.1em !important; }
.elementor-9 .elementor-element.elementor-element-8581209 .blockcart .header i,
.elementor-9 .elementor-element.elementor-element-8581209 .blockcart .cart-products-count { color: #ffffff !important; font-weight: 600 !important; }

/* Popup connexion */
@media (min-width: 992px) {
  .userinfo-selector .popup-content::before { color: #ffffff !important; }
  .userinfo-selector .popup-content li a:first-child::after { color: #fff; }
}

/* Barre menu bas - Langue + Devise + Expert */
.elementor-9 .elementor-element.elementor-element-a097062 .expand-more,
.elementor-9 .elementor-element.elementor-element-a097062 .popup-title { color: #3a3a3a !important; font-weight: 600 !important; }
.elementor-9 .elementor-element.elementor-element-66f0f08 .expand-more,
.elementor-9 .elementor-element.elementor-element-66f0f08 ._gray-darker,
.elementor-9 .elementor-element.elementor-element-66f0f08 .popup-title { color: #3a3a3a !important; font-weight: 600 !important; }
.elementor-9 .elementor-element.elementor-element-faccb28 .elementor-divider-separator { border-color: #cccccc !important; }
.elementor-9 .elementor-element.elementor-element-2c055b1 .elementor-heading-title { color: #2c2c2c !important; font-weight: 600 !important; }
.elementor-9 .elementor-element.elementor-element-2c055b1 .elementor-heading-title a { color: #999999 !important; font-weight: 400 !important; }

/* Barre menu - items navigation */
.elementor-9 .elementor-element.elementor-element-ded54a8 .nav-link,
.elementor-9 .elementor-element.elementor-element-ded54a8 .menu-title {
  color: #3a3a3a !important; font-weight: 600 !important;
  font-family: "ClashGroteskSemibold", sans-serif !important;
  letter-spacing: 0.02em !important; font-size: 16px !important;
}
.elementor-9 .elementor-element.elementor-element-ded54a8 .nav-link i { color: #e30613 !important; }
.elementor-9 .elementor-element.elementor-element-ded54a8 .nav-item:hover > .nav-link .menu-title,
.elementor-9 .elementor-element.elementor-element-ded54a8 .nav-link:hover .menu-title { color: #e30613 !important; }


/* =============================================================
   36. MENU VERTICAL — RECHERCHE PAR CATÉGORIES
   ============================================================= */

.leo-verticalmenu .verticalmenu-button {
  background: #e30613 !important; color: #ffffff !important;
  font-family: "ClashGroteskSemibold", sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important;
  padding: 12px 18px !important; margin: 0 !important; border-radius: 0 !important;
  display: flex !important; align-items: center !important; gap: 10px !important;
}

#header .leo-verticalmenu .verticalmenu-button,
.header-top .leo-verticalmenu .verticalmenu-button,
.elementor-widget-LeoBootstrapmenu .leo-verticalmenu .verticalmenu-button {
  background-color: #b8030d !important; color: #ffffff !important;
  font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0.06em !important;
}
#header .leo-verticalmenu .verticalmenu-button *,
.header-top .leo-verticalmenu .verticalmenu-button * { color: #ffffff !important; }
.leo-verticalmenu .verticalmenu-button i { color: #ffffff !important; }

.leo-verticalmenu .box-content {
  background: #ffffff !important; border: 1px solid #e8e8e8 !important;
  border-top: 3px solid #e30613 !important; box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
  border-radius: 0 0 4px 4px !important;
}

/* Items niveau 1 */
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link {
  display: flex !important; align-items: center !important; gap: 10px !important;
  padding: 9px 16px !important; color: #2c2c2c !important;
  font-size: 13px !important; font-weight: 500 !important;
  font-family: "ClashGroteskMedium", sans-serif !important;
  border-bottom: 1px solid #f0f0f0 !important;
  transition: background 0.18s, color 0.18s, padding-left 0.18s !important;
}
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link i.fas,
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link i.fa {
  color: #e30613 !important; font-size: 14px !important; width: 18px !important; text-align: center !important; flex-shrink: 0 !important;
}
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link .menu-title { color: #2c2c2c !important; font-weight: 500 !important; }
.leo-verticalmenu .megamenu.vertical > li.nav-item:hover > a.nav-link,
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link:hover {
  background: #fdf1f2 !important; padding-left: 22px !important; color: #e30613 !important;
}
.leo-verticalmenu .megamenu.vertical > li.nav-item:hover > a.nav-link .menu-title,
.leo-verticalmenu .megamenu.vertical > li.nav-item > a.nav-link:hover .menu-title { color: #e30613 !important; }
.leo-verticalmenu .megamenu.vertical > li.nav-item > b.caret { color: #aaaaaa !important; right: 12px !important; }
.leo-verticalmenu .megamenu.vertical > li.nav-item:hover > b.caret { color: #e30613 !important; }

/* Dropdown niveau 1 */
.leo-verticalmenu .dropdown-sub.dropdown-menu {
  background: #ffffff !important; border: 1px solid #cccccc !important;
  border-left: 1px solid #cccccc !important; border-top: 2px solid #e30613 !important;
  box-shadow: 4px 8px 20px rgba(0,0,0,0.10) !important;
  border-radius: 0 4px 4px 0 !important; padding: 12px 0 !important; min-width: 220px !important;
}

/* Titre section menu vertical */
#header .leo-verticalmenu .widget-subcategories .menu-title a,
.header-top .leo-verticalmenu .widget-subcategories .menu-title a,
.leo-verticalmenu .dropdown-sub .widget-subcategories .menu-title a,
.leo-verticalmenu .dropdown-menu .widget-subcategories .menu-title a,
.leo-verticalmenu .widget-subcategories .widget-inner .menu-title a {
  color: #1a1a1a !important; font-family: "ClashGroteskSemibold", sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.06em !important;
}
.leo-verticalmenu .widget-subcategories .menu-title { padding: 6px 16px 10px !important; margin-bottom: 4px !important; border-bottom: 2px solid #e30613 !important; }

/* Niveau 2 */
#header .leo-verticalmenu .widget-subcategories ul li.level2 > a,
.header-top .leo-verticalmenu .widget-subcategories ul li.level2 > a,
.leo-verticalmenu .dropdown-sub .widget-subcategories ul li.level2 > a {
  color: #1a1a1a !important; font-size: 15px !important; font-weight: 500 !important;
  padding: 9px 16px 9px 20px !important; display: block !important;
  font-family: "ClashGroteskMedium", sans-serif !important;
  border-bottom: 1px solid #f5f5f5 !important;
  transition: background 0.15s, color 0.15s, padding-left 0.15s !important; position: relative !important;
}
.leo-verticalmenu .widget-subcategories ul > li.level2 > a::before {
  content: "" !important; position: absolute !important;
  left: 10px !important; top: 50% !important; transform: translateY(-50%) !important;
  width: 4px !important; height: 4px !important; background: #555555 !important; border-radius: 50% !important;
}
.leo-verticalmenu .widget-subcategories ul > li.level2:hover > a::before { background: #e30613 !important; }
#header .leo-verticalmenu .widget-subcategories ul li.level2 > a:hover,
.header-top .leo-verticalmenu .widget-subcategories ul li.level2 > a:hover {
  color: #e30613 !important; background: #fdf1f2 !important;
}
.leo-verticalmenu .widget-subcategories ul > li.level2 > b.caret { color: #bbbbbb !important; }
.leo-verticalmenu .widget-subcategories ul > li.level2:hover > b.caret { color: #e30613 !important; }

/* Sous-dropdown niveau 3 */
.leo-verticalmenu .widget-subcategories .dropdown-sub.dropdown-menu {
  border-left: 1px solid #dddddd !important; border-top: 1px solid #eeeeee !important;
  background: #ffffff !important; box-shadow: 4px 6px 16px rgba(0,0,0,0.08) !important;
  padding: 8px 0 !important; min-width: 200px !important; border-radius: 0 4px 4px 0 !important;
}
#header .leo-verticalmenu .widget-subcategories ul li.level3 > a,
.header-top .leo-verticalmenu .widget-subcategories ul li.level3 > a,
.leo-verticalmenu .dropdown-sub .widget-subcategories ul li.level3 > a {
  color: #2c2c2c !important; font-size: 14px !important; font-weight: 400 !important;
  padding: 7px 16px 7px 30px !important; display: block !important;
  font-family: "ClashGroteskRegular", sans-serif !important;
  border-bottom: 1px solid #f8f8f8 !important;
  transition: background 0.15s, color 0.15s !important; position: relative !important;
}
.leo-verticalmenu .widget-subcategories ul > li.level3 > a::before {
  content: "—" !important; position: absolute !important;
  left: 8px !important; color: #dddddd !important; font-size: 10px !important;
}
#header .leo-verticalmenu .widget-subcategories ul li.level3 > a:hover,
.header-top .leo-verticalmenu .widget-subcategories ul li.level3 > a:hover {
  color: #e30613 !important; background: #fdf1f2 !important;
}


/* =============================================================
   37. MEGA MENU HORIZONTAL — NOS CATÉGORIES / TOP RACING
   ============================================================= */

/* Conteneur dropdown */
.leo-megamenu .dropdown-sub.dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important; border-top: 3px solid #e30613 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10) !important;
  border-radius: 0 0 6px 6px !important; padding: 20px 10px !important;
}

/* Padding dropdown */
.ApMegamenu .leo-top-menu li.aligned-fullwidth:nth-child(2) > .dropdown-sub { padding-top: 0 !important; }
.ApMegamenu .leo-top-menu li.aligned-fullwidth:nth-child(3) > .dropdown-sub { padding-top: 12px !important; }

/* Widget subcategories - Nos Catégories */
.leo-megamenu .widget-subcategories .menu-title {
  border-bottom: none !important; border-left: none !important;
  padding: 0 0 0 10px !important; margin-bottom: 10px !important;
  position: relative !important; display: block !important;
}
.leo-megamenu .widget-subcategories .menu-title::before {
  content: '' !important; position: absolute !important;
  left: 0 !important; top: 0 !important; bottom: 0 !important;
  width: 3px !important; background-color: #e30613 !important; border-radius: 2px !important;
}
.leo-megamenu .widget-subcategories .menu-title a {
  display: inline !important; padding-bottom: 3px !important;
  border-bottom: 2px solid #e30613 !important;
  font-size: 13px !important; font-weight: 800 !important; color: #111 !important;
  letter-spacing: 0.05em !important; text-transform: uppercase !important;
}
.leo-megamenu .widget-subcategories .menu-title a::before { display: none !important; content: none !important; }
.leo-megamenu .widget-subcategories .menu-title a:hover { color: #e30613 !important; }

.leo-megamenu .widget-subcategories ul li a {
  font-size: 13px !important; color: #1a1a1a !important;
  padding: 3px 0 !important; display: block !important; line-height: 1.5 !important;
  border-bottom: none !important; border-top: none !important;
}
.leo-megamenu .widget-subcategories ul li a:hover { color: #e30613 !important; }
.leo-megamenu .widget-subcategories ul li { border-bottom: none !important; border-top: none !important; }

/* Pastilles megamenu */
.leo-megamenu .widget-subcategories ul > li > a::before,
.leo-megamenu .widget-links .nav-links li a::before {
  content: "" !important; position: absolute !important;
  left: 4px !important; top: 50% !important; transform: translateY(-50%) !important;
  width: 3px !important; height: 3px !important; background: #888888 !important; border-radius: 50% !important;
}
.leo-megamenu .widget-subcategories ul > li:hover > a::before,
.leo-megamenu .widget-links .nav-links li:hover a::before { background: #e30613 !important; }

/* Widget links - Top Racing */
.leo-megamenu .widget-links { padding-left: 10px !important; position: relative !important; }
.leo-megamenu .widget-links::before {
  content: '' !important; position: absolute !important;
  left: 0 !important; top: 2px !important; height: 1.3em !important;
  width: 3px !important; background-color: #e30613 !important; border-radius: 2px !important;
}
.leo-megamenu .widget-links .menu-title {
  display: inline-block !important; padding: 0 0 3px 0 !important; margin: 0 0 10px 0 !important;
  border-bottom: 2px solid #e30613 !important; border-left: none !important;
  font-size: 13px !important; font-weight: 800 !important; color: #111 !important;
  letter-spacing: 0.05em !important; text-transform: uppercase !important; position: static !important;
}
.leo-megamenu .widget-links .menu-title::before { display: none !important; content: none !important; }
.leo-megamenu .widget-links .nav-links { list-style: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.leo-megamenu .widget-links .nav-links li { list-style: none !important; border-bottom: none !important; border-top: none !important; padding-left: 0 !important; position: relative !important; }
.leo-megamenu .widget-links .nav-links li::before { display: none !important; content: none !important; }
.leo-megamenu .widget-links .nav-links li a {
  font-size: 13px !important; color: #1a1a1a !important;
  padding: 3px 0 !important; display: block !important; line-height: 1.5 !important;
  border-bottom: none !important; border-top: none !important;
}
.leo-megamenu .widget-links .nav-links li a:hover { color: #e30613 !important; }
.leo-megamenu .menu-promo { border-radius: 4px !important; overflow: hidden !important; }


/* =============================================================
   38. CATÉGORIE & RECHERCHE — boutons fonctionnels
   ============================================================= */

/* Catégorie - functional-buttons visible */
#category .thumbnail-container .functional-buttons {
  position: static !important; bottom: auto !important; left: auto !important;
  right: auto !important; opacity: 1 !important; visibility: visible !important;
  transform: none !important; display: flex !important;
  justify-content: center !important; align-items: center !important;
  gap: 6px !important; background: transparent !important;
  border-top: none !important; padding: 6px 0 !important;
}

/* Catégorie - alignement compare/wishlist */
#category .functional-buttons .compare,
#category .functional-buttons .wishlist {
  display: flex !important; align-items: center !important; justify-content: center !important;
}
#category .functional-buttons .compare a,
#category .functional-buttons .wishlist a {
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 !important; margin: 0 !important;
}
#category .functional-buttons .compare .leo-compare-bt-content i,
#category .functional-buttons .wishlist .leo-wishlist-bt-content i { color: #ffffff !important; }
#category .functional-buttons .compare i,
#category .functional-buttons .wishlist i { line-height: 1 !important; vertical-align: middle !important; }
#category .functional-buttons .compare a:hover .leo-compare-bt-content i,
#category .functional-buttons .wishlist a:hover .leo-wishlist-bt-content i { color: #000000 !important; }
#category .functional-buttons .compare .name-btn-product,
#category .functional-buttons .wishlist .name-btn-product { display: none !important; }
#category .functional-buttons .btn-product,
#category .functional-buttons .quick-view { margin: 0 !important; }

/* Catégorie - hauteur uniforme cards */
#category .products .product-miniature {
  display: flex !important; flex-direction: column !important; height: 100% !important;
}
#category .products .thumbnail-container {
  display: flex !important; flex-direction: column !important; height: 100% !important; flex: 1 !important;
}
#category .products .product-meta {
  display: flex !important; flex-direction: column !important; flex: 1 !important;
}
#category .products .button-container.cart { margin-top: auto !important; }

/* Recherche - functional-buttons */
#search .thumbnail-container .functional-buttons {
  position: static !important; opacity: 1 !important; visibility: visible !important;
  transform: none !important; display: flex !important;
  justify-content: center !important; align-items: center !important;
  gap: 6px !important; background: transparent !important;
  border-top: none !important; padding: 6px 0 !important;
}
#search .functional-buttons .compare,
#search .functional-buttons .wishlist {
  display: flex !important; align-items: center !important; justify-content: center !important;
}
#search .functional-buttons .compare a,
#search .functional-buttons .wishlist a {
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 !important; margin: 0 !important;
}
#search .functional-buttons .compare .btn-product,
#search .functional-buttons .wishlist .btn-product,
#search .functional-buttons .btn-product,
#search .functional-buttons .quick-view {
  margin: 0 !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
}
#search .functional-buttons .compare .name-btn-product,
#search .functional-buttons .wishlist .name-btn-product { display: none !important; }

/* Fix global leo-plist-style (catégorie + recherche) */
.leo-plist-style .thumbnail-container .functional-buttons .compare .btn-product {
  display: flex !important; align-items: center !important; justify-content: center !important;
  color: #ffffff !important; margin: 0 !important;
}
.leo-plist-style .thumbnail-container .functional-buttons .wishlist .btn-product {
  display: flex !important; align-items: center !important; justify-content: center !important;
  margin: 0 !important; padding: 0 !important; height: 35px !important; width: 35px !important;
}
.leo-plist-style .thumbnail-container .functional-buttons .quickview .quick-view {
  display: flex !important; align-items: center !important; justify-content: center !important;
  margin: 0 !important; padding: 0 !important; height: 35px !important; width: 35px !important;
}
.leo-plist-style .thumbnail-container .functional-buttons .btn-product i { color: #ffffff !important; }


/* =============================================================
   39. DIVERS — modale panier, mon compte, newsletter
   ============================================================= */

/* Mon compte - footer transparent */
.page-my-account footer.page-footer,
#my-account footer.page-footer { background-color: transparent !important; }

/* Modale panier */
#blockcart-modal .cart-products-count { color: #1a1a1a; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
#blockcart-modal .cart-content,
#blockcart-modal .cart-content p,
#blockcart-modal .cart-content span,
#blockcart-modal .product-name,
#blockcart-modal .product-price,
#blockcart-modal .product-quantity { font-family: inherit; }
#blockcart-modal .cart-content p { margin-bottom: 12px; font-size: 15px; }
#blockcart-modal .product-total { font-size: 17px; border-top: 1px solid #e0e0e0; padding-top: 10px; margin-top: 8px; }


/* =============================================================
   40. MOBILE & SCROLLBAR
   ============================================================= */

@media (max-width: 767px) {
  .thumbnail-container { border-radius: var(--mrp-radius) !important; }
  .thumbnail-container .functional-buttons {
    opacity: 1 !important; transform: translateY(0) !important;
    position: static !important; border-top: 1px solid #f0f0f0 !important;
  }
  .product-flags { top: 6px !important; left: 6px !important; }
  .product-flags .product-flag { font-size: 0.6rem !important; padding: 2px 6px !important; }
}

/* ============================================
   Section 41 — Footer : surlignage titres colonnes
   ============================================ */

.footer-center .links_block h3,
.footer-center .links_block .title_block {
    color: #ffffff;
    font-family: 'ClashGroteskSemibold', sans-serif;
    font-size: 18px;
    line-height: 1.3em;
    margin-bottom: 19px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e30613;
    display: inline-block;
}

.elementor-slick-slider .slick-prev,
.elementor-slick-slider .slick-next {
  top: 52% !important;
}

@media (min-width: 1200px) {
  .col-xl-12 {
    width: 102% !important;
  }
}
/* ============================================
   XX. DisplayNav2 - fond sombre
   ============================================ */
.elementor-element-XXXXXX {
  background: #141414 !important;
  border-bottom: 2px solid #e30613; /* garde le liseré rouge si tu veux */
}

/* Réduction de la hauteur des blocs avis Home */
.mrp-home-rating,
.mrp-home-random-reviews {
  width: 100% !important;
  height: 470px !important;
  min-height: 470px !important;
  max-height: 470px !important;
  padding: 24px 28px !important;
  align-self: flex-start !important;
  box-sizing: border-box !important;
}

/* Contenu intérieur */
.mrp-home-rating-link,
.mrp-home-reviews-link {
  height: 100% !important;
  min-height: 0 !important;
  justify-content: center !important;
}

/* Réduction des espaces du bloc rouge */
.mrp-home-rating-stars {
  height: 37px !important;
  font-size: 33px !important;
  line-height: 37px !important;
}

.mrp-home-rating-score {
  margin-top: 5px !important;
}

.mrp-home-score-value {
  font-size: 66px !important;
  line-height: 1 !important;
}

.mrp-home-rating-title {
  margin-top: 10px !important;
  font-size: 29px !important;
}

.mrp-home-rating-based {
  margin-top: 14px !important;
  padding: 8px 17px !important;
}

.mrp-home-rating-cta {
  margin-top: 20px !important;
}

/* Réduction et centrage du bloc commentaire */
.mrp-home-reviews-header {
  margin-bottom: 15px !important;
}

.mrp-home-reviews-stage {
  min-height: 190px !important;
  flex: 0 0 190px !important;
}

.mrp-home-review-text {
  margin: 14px 0 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.mrp-home-reviews-bottom {
  margin-top: 10px !important;
  padding-top: 11px !important;
}

/* Tablettes */
@media (max-width: 991px) {
  .mrp-home-rating,
  .mrp-home-random-reviews {
    height: 440px !important;
    min-height: 440px !important;
    max-height: 440px !important;
    padding: 22px !important;
  }
}

/* Mobiles : hauteur automatique */
@media (max-width: 767px) {
  .mrp-home-rating,
  .mrp-home-random-reviews {
    height: auto !important;
    min-height: 390px !important;
    max-height: none !important;
  }
}

/* ============================================
   Checkout - Fix checkbox CGV cliquable
   ============================================ */
#checkout .custom-checkbox {
    position: relative;
    display: inline-block;
}
#checkout .custom-checkbox input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 2;
}

/* ============================================
   Checkout - Checkbox CGV : zone de clic calée
   sur le carré visuel
   ============================================ */
#checkout .custom-checkbox {
    position: relative;
    display: inline-block;
}
#checkout .custom-checkbox input[type="checkbox"] {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

/* --- FIX leogallery/lightSlider : hauteur 0 quand image par défaut --- */
.images-container #lightSlider {
  height: auto !important;
  min-height: 400px;
}
.images-container #lightSlider .lslide {
  height: auto !important;
}
.images-container #lightSlider .lslide img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width:767px){
  /* Bouton CATÉGORIES plus étroit */
  .elementor-9 .elementor-element-134feaa{width:60%!important}
  .elementor-9 .elementor-element-134feaa .verticalmenu-button{
    font-size:13px;
    padding:12px 10px;
  }

  /* Colonne recherche prend le reste */
  .elementor-9 .elementor-element-504f068{width:40%!important}
  .elementor-9 .elementor-element-504f068 .elementor-column-wrap{
    display:block!important;
  }

  #leo_search_block_top{
    display:block!important;
    width:100%!important;
  }
  #leo_search_block_top .title_block{display:none!important}

  #leo_search_block_top form{
    display:flex!important;
    width:100%!important;
  }
  #leo_search_block_top .block_content{
    display:flex!important;
    width:100%!important;
  }

  #leo_search_block_top .leoproductsearch-result{
    position:relative!important;
    flex:1!important;
    min-width:0!important;
  }
  #leo_search_block_top .leoproductsearch-loading{
    display:none!important;
  }
  #leo_search_block_top .ac_results{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:1000!important;
    background:#fff!important;
    box-shadow:0 4px 12px rgba(0,0,0,.15)!important;
    border-radius:4px!important;
  }

  #leo_search_block_top .search_query{
    display:block!important;
    width:100%!important;
    height:36px!important;
    font-size:13px;
    padding:8px 10px;
    box-sizing:border-box!important;
    border:1px solid #ccc!important;
    border-radius:4px 0 0 4px!important;
    outline:none!important;
  }
  #leo_search_block_top #leo_search_top_button{
    flex-shrink:0!important;
    width:36px!important;
    padding:0!important;
    border-radius:0 4px 4px 0!important;
    border:1px solid #ccc!important;
    border-left:none!important;
  }
}

@media (max-width: 767px) {

  /* ── LAYOUT CARDS : image au-dessus, texte en-dessous ── */
  body.page-productsearch article.product-miniature{
    display:block!important;
    height:100%!important;
    flex:1!important;
  }
  body.page-productsearch .thumbnail-container,
  body.page-productsearch .product-meta{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    clear:both!important;
  }
  body.page-productsearch .product-meta{
    padding:0!important;
  }

  @media (max-width: 767px) {

  /* ── CARDS RÉSULTATS RECHERCHE — layout + hauteur égale ── */
  body.page-productsearch .leo-product-ajax{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
  }
  body.page-productsearch .ajax_block_product{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.page-productsearch article.product-miniature{
    display:block!important;
    flex:1 1 auto!important;
    min-height:100%!important;
  }
  body.page-productsearch .thumbnail-container,
  body.page-productsearch .product-meta{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    clear:both!important;
  }
  body.page-productsearch .product-meta{
    padding:0!important;
  }
  body.page-productsearch .button-container.cart{
    margin-top:auto!important;
  }

}
}
/* Aligner le caret avec le lien catégorie */
.leo-verticalmenu .nav.megamenu.vertical > li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.leo-verticalmenu .nav.megamenu.vertical > li > a {
  flex: 1;
}

.leo-verticalmenu .nav.megamenu.vertical > li > b.caret {
  flex-shrink: 0;
}

/* Le sous-menu prend toute la largeur en dessous */
.leo-verticalmenu .nav.megamenu.vertical > li > .dropdown-sub {
  flex-basis: 100%;
}

.leo-verticalmenu .nav.megamenu.vertical > li > a.nav-link {
  flex: 1 1 0% !important;
  width: auto !important;
  min-width: 0;
}

@media (max-width: 991px) {
  .mrp-nav-based {
    display: inline !important;
  }
}

/* Aligner le caret avec le lien catégorie */
.leo-verticalmenu .nav.megamenu.vertical > li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.leo-verticalmenu .nav.megamenu.vertical > li > a.nav-link {
  flex: 1 1 0% !important;
  width: auto !important;
  min-width: 0;
}

.leo-verticalmenu .nav.megamenu.vertical > li > b.caret {
  flex-shrink: 0;
}

.leo-verticalmenu .nav.megamenu.vertical > li > .dropdown-sub {
  flex-basis: 100%;
}
/* =============================================================
   FIN — custom_clean.css v4.0
   motoracingparts.be / PrestaShop 8 / LeoElements
   ============================================================= */
