/*
Theme Name: MB BaitBoat
Template: storefront
Version: 17.0.0
Description: MB BaitBoat — Agence Cresvo
Author: Agence Cresvo
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:      #FFFFFF;
  --bg2:     #F7F7F5;
  --bg3:     #EFEFEC;
  --dark:    #111111;
  --dark2:   #222222;
  --dark3:   #444444;
  --gray:    #888888;
  --gray2:   #BBBBBB;
  --green:   #4A6741;
  --green2:  #5A7D50;
  --green3:  #6B9460;
  --border:  #E0E0DC;
  --border2: #D0D0CB;
  --danger:  #C0392B;
  --r:       2px;
  --t:       0.18s ease;
  --shadow:  0 2px 16px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

body {
  font-family: 'Inter', sans-serif !important;
  background: var(--bg) !important;
  color: var(--dark) !important;
  -webkit-font-smoothing: antialiased;
  font-size: 14px !important;
  overflow-x: hidden !important;
  max-width: 100% !important;
  position: relative !important;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a { color: var(--green); transition: color var(--t); }
a:hover { color: var(--green2); }

/* ============================================================
   LAYOUT PLEINE LARGEUR
   ============================================================ */
.page .entry-header,
.page .entry-title,
h1.entry-title { display: none !important; }

.page .entry-content,
.hentry,
.entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-main,
.site-main > article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

#primary,
.site-content .col-full,
.col-full {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Supprimer barre blanche entre header et contenu */
.site-content { padding-top: 0 !important; margin-top: 0 !important; }
#content { padding-top: 0 !important; }
.page-header { display: none !important; }

/* Supprimer sidebar */
#secondary, .widget-area, .storefront-sidebar { display: none !important; }

/* ============================================================
   HEADER — LOGO CENTRÉ + NAV UNIFIÉE
   ============================================================ */

/* Tout le header = fond sombre, sticky */
.site-header,
.storefront-primary-navigation {
  background: #111111 !important;
  position: sticky !important;
  z-index: 1000 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-header {
  top: 0 !important;
  border-top: 3px solid var(--green) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2) !important;
}
/* Bloc nav : séparé sous le logo, même fond sombre */
.storefront-primary-navigation {
  top: 90px !important; /* colle sous le branding */
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.storefront-primary-navigation > .col-full {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  min-height: 48px !important;
  padding: 0 48px !important;
  max-width: 100% !important;
  background: #111111 !important;
}

/* Nav centrée */
.main-navigation {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 2 !important;
}

.main-navigation ul {
  display: flex !important;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

.main-navigation a {
  color: rgba(255,255,255,0.55) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: 8px 14px !important;
  border-radius: var(--r) !important;
  transition: all var(--t) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}

/* Panier à droite */
.site-header-cart {
  margin-left: auto !important;
  position: relative !important;
  z-index: 2 !important;
}

.site-header-cart .cart-contents {
  color: rgba(255,255,255,0.55) !important;
  font-size: 11px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.site-header-cart .cart-contents:hover { color: #fff !important; }

.site-header-cart .cart-contents .count {
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: var(--r) !important;
  padding: 2px 6px !important;
  font-size: 10px !important;
}

/* Recherche cachée dans header */
.site-search { display: none !important; }

/* ============================================================
   TICKER
   ============================================================ */
.mb-ticker {
  background: var(--green);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.mb-ticker-inner { display: inline-block; animation: ticker 35s linear infinite; }
@keyframes ticker { 0%{transform:translateX(100vw)}100%{transform:translateX(-100%)} }

/* ============================================================
   BOUTIQUE — 4 colonnes avec espaces
   ============================================================ */
.woocommerce-shop #primary,
.tax-product_cat #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.woocommerce-shop .site-main,
.tax-product_cat .site-main {
  padding: 40px !important;
}

.woocommerce ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  list-style: none !important;
}

.woocommerce ul.products li.product {
  flex: 0 0 calc(25% - 18px) !important;
  max-width: calc(25% - 18px) !important;
  width: auto !important;
}

.woocommerce ul.products li.product {
  background: var(--bg) !important;
  border-radius: 4px !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition: box-shadow var(--t), transform var(--t) !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  width: auto !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Le lien produit doit rester visible pour ne jamais couper le bouton */
.woocommerce ul.products li.product > a:first-child,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  overflow: visible !important;
  display: block !important;
}
/* Border-radius appliqué directement sur l'image (pas besoin d'overflow:hidden sur le parent) */
.woocommerce ul.products li.product > a:first-child img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
  border-radius: 4px 4px 0 0 !important;
  display: block !important;
}

.woocommerce ul.products li.product:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.09) !important; transform: translateY(-2px) !important; }

.woocommerce ul.products li.product:hover a img { opacity: 0.92 !important; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--dark) !important;
  padding: 0 16px 4px !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  flex-grow: 1 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--green) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  padding: 4px 16px 10px !important;
  display: block !important;
}

.woocommerce ul.products li.product .button {
  display: block !important;
  margin: 0 16px !important;
  background: #F0F0EC !important;
  color: #111111 !important;
  border-radius: var(--r) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: 10px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--t) !important;
  text-align: center !important;
}

.woocommerce ul.products li.product .button:hover {
  background: #4A6741 !important;
  color: #ffffff !important;
}

/* Wishlist */
.mb-wishlist-btn {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 30px; height: 30px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: all var(--t); z-index: 10; color: var(--gray);
}
.mb-wishlist-btn:hover { background: var(--bg2); }
.mb-wishlist-btn.active { background: var(--danger); color: #fff; border-color: var(--danger); }

.woocommerce-products-header { display: none !important; }

.woocommerce .woocommerce-result-count {
  color: var(--gray) !important;
  font-size: 11px !important;
  font-family: 'Inter', sans-serif !important;
  padding: 16px 0 !important;
  margin: 0 !important;
}

.woocommerce .woocommerce-ordering { padding: 12px 0 !important; margin: 0 !important; }
.woocommerce .woocommerce-ordering select {
  background: var(--bg) !important;
  border: 1px solid var(--border2) !important;
  color: var(--dark2) !important;
  border-radius: var(--r) !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  font-family: 'Inter', sans-serif !important;
}

.woocommerce-breadcrumb { display: none !important; }

.woocommerce nav.woocommerce-pagination ul {
  border: none !important; display: flex !important;
  gap: 4px !important; padding: 24px 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--bg2) !important; border: 1px solid var(--border2) !important;
  color: var(--dark2) !important; border-radius: var(--r) !important;
  padding: 8px 14px !important; font-size: 12px !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green) !important; border-color: var(--green) !important; color: #fff !important;
}

/* ============================================================
   PAGE PRODUIT
   ============================================================ */
.woocommerce div.product {
  background: var(--bg) !important;
  border: none !important; padding: 40px !important; margin: 0 !important;
}

.woocommerce div.product .product_title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(28px,4vw,44px) !important;
  font-weight: 800 !important; color: var(--dark) !important;
  text-transform: uppercase !important; margin-bottom: 14px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--green) !important;
  font-size: 26px !important; font-weight: 600 !important;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px !important; color: var(--dark3) !important; line-height: 1.75 !important;
}

.woocommerce div.product .variations select {
  background: var(--bg2) !important; border: 1px solid var(--border2) !important;
  border-radius: var(--r) !important; color: var(--dark) !important;
  padding: 10px 14px !important; font-size: 13px !important; width: 100% !important;
}
.woocommerce div.product .variations select:focus { border-color: var(--green) !important; outline: none !important; }

.woocommerce .quantity .qty {
  background: var(--bg2) !important; border: 1px solid var(--border2) !important;
  border-radius: var(--r) !important; color: var(--dark) !important;
  padding: 10px 12px !important; font-size: 15px !important; width: 70px !important; text-align: center !important;
}

.woocommerce div.product .single_add_to_cart_button {
  background: var(--dark) !important; color: #fff !important;
  border: none !important; border-radius: var(--r) !important;
  font-family: 'Inter', sans-serif !important; font-size: 12px !important;
  font-weight: 600 !important; text-transform: uppercase !important;
  letter-spacing: 1.5px !important; padding: 14px 40px !important;
  cursor: pointer !important; transition: background var(--t) !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--green) !important; }

/* ============================================================
   BOUTONS
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--bg2) !important; color: var(--dark2) !important;
  border-radius: var(--r) !important; font-family: 'Inter', sans-serif !important;
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase !important;
  padding: 12px 24px !important; border: 1px solid var(--border2) !important;
  transition: all var(--t) !important; cursor: pointer !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--green) !important; color: #fff !important; border-color: var(--green) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.wc-variation-selection-needed {
  background: #F0F0EC !important; color: #111111 !important; border-color: #F0F0EC !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: var(--green) !important; color: #fff !important; border-color: var(--green) !important; }

/* ============================================================
   FORMULAIRES
   ============================================================ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg2) !important; border: 1px solid var(--border2) !important;
  border-radius: var(--r) !important; color: var(--dark) !important;
  padding: 10px 14px !important; font-size: 13px !important;
  font-family: 'Inter', sans-serif !important; width: 100% !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--green) !important; outline: none !important;
}
.woocommerce form .form-row label {
  font-size: 11px !important; font-weight: 600 !important;
  color: var(--dark3) !important; letter-spacing: 1px !important;
  text-transform: uppercase !important; margin-bottom: 6px !important;
  font-family: 'Inter', sans-serif !important; display: block !important;
}

/* ============================================================
   PANIER & CHECKOUT
   ============================================================ */
.woocommerce-cart table.cart { background: var(--bg) !important; }
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  border-color: var(--border) !important; padding: 16px !important;
  color: var(--dark) !important; font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart .cart_totals {
  background: var(--bg2) !important; border: 1px solid var(--border) !important;
  border-radius: var(--r) !important; padding: 24px !important;
}
.woocommerce-checkout #payment { background: var(--bg2) !important; border: 1px solid var(--border) !important; border-radius: var(--r) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--bg3) !important; color: var(--dark3) !important; }

/* ============================================================
   MESSAGES
   ============================================================ */
.woocommerce-message,
.woocommerce-info {
  background: #f0f7ee !important; border-top-color: var(--green) !important; color: var(--dark) !important;
}
.woocommerce-error { background: #fdf0ee !important; border-top-color: var(--danger) !important; color: var(--dark) !important; }
.woocommerce span.onsale {
  background: var(--green) !important; border-radius: var(--r) !important;
  font-size: 10px !important; font-weight: 600 !important; font-family: 'Inter', sans-serif !important;
  min-width: auto !important; min-height: auto !important;
  padding: 4px 8px !important; text-transform: uppercase !important; color: #fff !important;
}

/* ============================================================
   HUB CATÉGORIES
   ============================================================ */
.mb-cat-hub {
  padding: 48px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.mb-cat-hub-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 4px;
}

.mb-cat-hub-sub {
  font-size: 13px;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.mb-hub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mb-hub-breadcrumb a {
  font-size: 12px; font-weight: 500; color: var(--green);
  text-decoration: none; font-family: 'Inter', sans-serif;
}
.mb-hub-breadcrumb a:hover { text-decoration: underline; }
.mb-hub-breadcrumb span { font-size: 12px; color: var(--gray2); font-family: 'Inter', sans-serif; }

.mb-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
}

.mb-cat-card {
  display: block;
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  width: 100%;
  max-width: 360px;
}

.mb-cat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  color: inherit;
}

.mb-cat-card-img {
  height: 180px; background: var(--bg3); overflow: hidden;
}
.mb-cat-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s; display: block;
}
.mb-cat-card:hover .mb-cat-card-img img { transform: scale(1.05); }

.mb-cat-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
}
.mb-cat-card-img-placeholder span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px; font-weight: 900;
  color: var(--border2); text-transform: uppercase;
}

.mb-cat-card-body { padding: 20px 22px 22px; }
.mb-cat-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; color: var(--dark);
  margin-bottom: 6px; line-height: 1.1;
}
.mb-cat-card-count { font-size: 11px; color: var(--gray); font-family: 'Inter', sans-serif; }
.mb-cat-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--green); font-family: 'Inter', sans-serif;
  transition: gap .18s;
}
.mb-cat-card:hover .mb-cat-card-arrow { gap: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark) !important;
  border-top: 3px solid var(--green) !important;
  padding: 0 !important;
}
.site-footer .col-full { padding: 0 48px !important; }
.site-footer a { color: rgba(255,255,255,0.35) !important; }
.site-footer a:hover { color: rgba(255,255,255,0.8) !important; }

.site-info, .storefront-info-wrapper, p.site-info { display: none !important; }

/* ============================================================
   COMPTE CLIENT
   ============================================================ */
.woocommerce-MyAccount-navigation {
  background: var(--bg2) !important; border: 1px solid var(--border) !important;
  border-radius: var(--r) !important; padding: 8px !important;
}
.woocommerce-MyAccount-navigation ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-MyAccount-navigation ul li a {
  display: block !important; padding: 10px 14px !important;
  border-radius: var(--r) !important; font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 1px !important; text-transform: uppercase !important;
  color: var(--dark3) !important; transition: all var(--t) !important;
  font-family: 'Inter', sans-serif !important;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--green) !important; color: #fff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .woocommerce ul.products li.product { flex: 0 0 calc(33.333% - 16px) !important; max-width: calc(33.333% - 16px) !important; }
}
@media (max-width: 768px) {
  .storefront-primary-navigation > .col-full { padding: 0 20px !important; min-height: 56px !important; }
  /* Sur mobile, laisser Storefront gérer son burger — on remet le nav en position normale */
  .main-navigation {
    position: static !important;
    transform: none !important;
    left: auto !important;
  }
  /* Masquer le menu desktop, Storefront injecte son burger via JS */
  .main-navigation > ul { display: none !important; }
  .woocommerce-shop .site-main, .tax-product_cat .site-main { padding: 0 !important; }
  .woocommerce ul.products { gap: 12px !important; padding: 0 12px !important; }
  .woocommerce ul.products li.product { flex: 0 0 calc(50% - 6px) !important; max-width: calc(50% - 6px) !important; }
  .woocommerce ul.products li.product a img { height: 160px !important; }
  .woocommerce div.product { padding: 16px !important; }
  .mb-cat-hub { padding: 32px 16px 60px !important; }
  .site-header .site-title a { width: 160px !important; height: 52px !important; }
  .storefront-primary-navigation { top: 56px !important; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { gap: 12px !important; }
  .woocommerce ul.products li.product { flex: 0 0 calc(50% - 6px) !important; max-width: calc(50% - 6px) !important; }
}

/* ============================================================
   HERO VIDÉO — overlay moins sombre, vidéo plus visible
   ============================================================ */
.mbh-video-wrap video {
  filter: brightness(0.55) !important;
}

.mbh-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%) !important;
}

/* ============================================================
   CORRECTIONS PRIORITAIRES — v21
   ============================================================ */

/* 1. Vidéo hero — moins sombre */
.mbh-video-wrap video {
  filter: brightness(0.72) !important;
}
.mbh-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%) !important;
}

/* 2. Barre blanche — cibler le div Storefront entre header et contenu */
/* Storefront génère : <header> puis <div class="storefront-primary-navigation">
   puis un div#content ou .site-content avec padding-top calculé par JS */
body.home .site-content,
body.page .site-content,
body.woocommerce .site-content,
body .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Le div blanc vient du padding-top injecté sur #page ou body par le JS Storefront sticky */
#page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ============================================================
   BOUTIQUE — MEGA-MENU CATÉGORIES
   ============================================================ */

/* Masquer TOUT le contenu WooCommerce natif sur la boutique principale
   (produits, catégories natives, compteur, tri, pagination)
   → seuls le message d'accueil et le mega-menu custom restent visibles */
.woocommerce-shop ul.products,
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop .woocommerce-pagination,
.woocommerce-shop .wc-block-grid {
  display: none !important;
}
.woocommerce-shop #secondary,
.tax-product_cat #secondary,
.woocommerce-shop .widget-area,
.tax-product_cat .widget-area {
  display: none !important;
}

.woocommerce-shop #primary,
.tax-product_cat #primary {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-shop .site-main,
.tax-product_cat .site-main {
  padding: 32px 48px 60px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.woocommerce-shop .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ── HERO VIDÉO PAGES INTERNES (Notices, Bateaux d'occasion) ── */
.mb-page-hero {
  position: relative !important;
  width: 100% !important;
  height: 52vh !important;
  min-height: 320px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}
.mb-page-hero-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.mb-page-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.72) 100%) !important;
}
.mb-page-hero-content {
  position: relative !important;
  z-index: 2 !important;
  text-align: center !important;
  padding: 0 24px 48px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
.mb-page-hero-eyebrow {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
}
.mb-page-hero-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(36px, 5vw, 64px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.mb-page-hero-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
}
/* Masquer breadcrumb sur ces pages */
.tax-product_cat .storefront-breadcrumb,
.tax-product_cat-bateaux-doccasion .storefront-breadcrumb,
.page-template-page-notices .storefront-breadcrumb { display: none !important; }

/* Zone blanche sous la vidéo boutique — masquer le wrapper WooCommerce vide */
.woocommerce-shop .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-shop .woocommerce-info,
.woocommerce-shop #content .col-full { min-height: 0 !important; }
.woocommerce-shop .woocommerce { padding: 0 !important; margin: 0 !important; }

/* Hero notices pleine hauteur */
.page-template-page-notices .mb-page-hero {
  height: 100vh !important;
  min-height: 100vh !important;
}

/* ── HERO VIDÉO BOUTIQUE ── */

.woocommerce-shop .site-main,
.woocommerce-shop #primary,
.woocommerce-shop .woocommerce {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Supprimer la barre blanche Storefront au-dessus du hero */
.woocommerce-shop #content,
.woocommerce-shop .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.mb-shop-hero {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: stretch !important;
}

.mb-shop-hero-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.mb-shop-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.65) 60%,
    rgba(0,0,0,0.82) 100%
  ) !important;
}

/* Contenu par-dessus : logo + texte + mega-menu */
.mb-shop-hero-inner {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 0 !important;
  flex: 1 !important;
}

/* Zone logo + texte */
.mb-shop-hero-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex: 1 !important;
  padding: 40px 24px 60px !important;
  gap: 16px !important;
}

.mb-shop-hero-logo {
  width: 160px !important;
  height: auto !important;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.5)) !important;
}

.mb-shop-hero-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.7 !important;
  max-width: 400px !important;
  margin: 0 !important;
  letter-spacing: 0.3px !important;
}

/* Mega-menu dans le hero : styles overrides pour fond sombre */
.mb-shop-hero .mb-megamenu-wrap {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  margin-top: 60px !important;
  padding: 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 100px !important;
  overflow: visible !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: none !important;
  align-self: center !important;
  position: relative !important;
}

/* Bubble Glass via pseudo-élément — ne bloque pas le backdrop des enfants */
.mb-shop-hero .mb-megamenu-wrap::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 100px !important;
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  -webkit-backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 12px 80px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1), inset 0 1.5px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(255,255,255,0.08), inset 1px 0 0 rgba(255,255,255,0.08), inset -1px 0 0 rgba(255,255,255,0.08) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.mb-shop-hero .mb-megamenu-bar {
  position: relative !important;
  z-index: 1 !important;
  justify-content: center !important;
  padding: 0 8px !important;
}

/* Panel — positionné sous la catégorie parent (absolute par rapport au item-wrap) */
.mb-shop-hero .mb-megamenu-item-wrap {
  position: relative !important;
}

.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
}

.mb-shop-hero .mb-megamenu-item {
  color: rgba(255,255,255,0.82) !important;
  border-bottom-color: transparent !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  padding: 16px 20px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}

.mb-shop-hero .mb-megamenu-item:hover,
.mb-shop-hero .mb-megamenu-item-wrap:hover > .mb-megamenu-item,
.mb-shop-hero .mb-megamenu-item-wrap.mb-megamenu-active > .mb-megamenu-item,
.mb-shop-hero .mb-megamenu-item.mb-megamenu-item-active {
  color: #fff !important;
  border-bottom-color: #4A6741 !important;
}

.mb-shop-hero .mb-megamenu-item .mb-megamenu-chevron {
  opacity: 0.45 !important;
}
.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-chevron {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .mb-shop-hero-top { padding: 60px 20px 36px !important; }
  .mb-shop-hero-logo { width: 120px !important; }
  .mb-shop-hero .mb-megamenu-wrap { padding: 0 20px !important; }
  .mb-shop-hero-inner { padding-bottom: 36px !important; }
}
/* ============================================================
   MEGA-MENU — Design premium
   ============================================================ */

/* Wrap commun */
.mb-megamenu-wrap {
  position: relative !important;
  background: rgba(10,10,10,0.97) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 !important;
  z-index: 200 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  margin-bottom: 0 !important;
}

/* Pages catégories + single product */
.tax-product_cat .mb-megamenu-wrap,
.single-product .mb-megamenu-wrap {
  margin-bottom: 32px !important;
}

/* Barre L1 — centrée */
.mb-megamenu-bar {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 0 !important;
}

/* Wrapper item avec dropdown */
.mb-megamenu-item-wrap {
  position: relative !important;
}

/* Item L1 */
.mb-megamenu-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 14px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  position: relative !important;
  transition: color 0.2s !important;
  white-space: nowrap !important;
  border: none !important;
  background: none !important;
}

/* Underline animé */
.mb-megamenu-item::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 80% !important;
  height: 2px !important;
  background: #4A6741 !important;
  border-radius: 2px 2px 0 0 !important;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1) !important;
}

.mb-megamenu-item-wrap:hover > .mb-megamenu-item,
.mb-megamenu-item.mb-megamenu-item-active,
.mb-megamenu-item-wrap.mb-megamenu-active > .mb-megamenu-item {
  color: #fff !important;
}

.mb-megamenu-item-wrap:hover > .mb-megamenu-item::after,
.mb-megamenu-item.mb-megamenu-item-active::after,
.mb-megamenu-item-wrap.mb-megamenu-active > .mb-megamenu-item::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* Chevron */
.mb-megamenu-chevron {
  font-size: 11px !important;
  opacity: 0.4 !important;
  transition: transform 0.2s, opacity 0.2s !important;
  display: inline-block !important;
}

.mb-megamenu-item-wrap:hover .mb-megamenu-chevron {
  transform: rotate(90deg) !important;
  opacity: 0.8 !important;
}

/* Panneau dropdown */
.mb-megamenu-panel {
  display: none !important;
  position: absolute !important;
  left: 50% !important;
  top: 100% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: none !important;
  padding: 28px 32px 32px !important;
  z-index: 9999 !important;
}

/* Bubble Glass via pseudo-élément */
.mb-megamenu-panel::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 0 0 24px 24px !important;
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  -webkit-backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-top: none !important;
  box-shadow: 0 12px 80px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1), inset 0 -1.5px 0 rgba(255,255,255,0.35), inset 0 1px 0 rgba(255,255,255,0.08), inset 1px 0 0 rgba(255,255,255,0.08), inset -1px 0 0 rgba(255,255,255,0.08) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.mb-megamenu-panel > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Panel téléporté depuis le hero boutique — fond très opaque pour éviter
   que les couleurs vives de la vidéo ne saignent à travers le verre */
body > .mb-megamenu-panel--hero::before {
  background: rgba(12,12,12,0.60) !important;
  backdrop-filter: blur(40px) saturate(20%) brightness(0.45) !important;
  -webkit-backdrop-filter: blur(40px) saturate(20%) brightness(0.45) !important;
}

/* Textes dans le panel — lisibles sur verre */
.mb-megamenu-col-title {
  color: rgba(255,255,255,0.5) !important;
}
.mb-megamenu-col-link {
  color: rgba(255,255,255,0.85) !important;
}
.mb-megamenu-col-link:hover {
  color: #fff !important;
}

@keyframes mbPanelIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  display: block !important;
}

/* Colonnes */
.mb-megamenu-cols {
  display: flex !important;
  gap: 32px !important;
  flex-wrap: wrap !important;
}

.mb-megamenu-col {
  min-width: 120px !important;
}

/* Titre colonne L2 */
.mb-megamenu-col-title {
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(74,103,65,0.5) !important;
  transition: color 0.15s !important;
  cursor: pointer !important;
}

.mb-megamenu-col-title:hover,
.mb-megamenu-col-title.mb-megamenu-col-active {
  color: #7ab86e !important;
}

/* Liste L3 */
.mb-megamenu-col-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mb-megamenu-col-list li {
  margin-bottom: 2px !important;
}

.mb-megamenu-col-link {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.42) !important;
  text-decoration: none !important;
  padding: 4px 0 !important;
  transition: color 0.15s, gap 0.15s !important;
}

.mb-megamenu-col-link::after {
  content: '→' !important;
  font-size: 11px !important;
  color: #4A6741 !important;
  opacity: 0 !important;
  transform: translateX(-4px) !important;
  transition: opacity 0.15s, transform 0.15s !important;
  margin-left: 0 !important;
}

.mb-megamenu-col-link:hover {
  color: rgba(255,255,255,0.85) !important;
  gap: 6px !important;
}

.mb-megamenu-col-link:hover::after {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.mb-megamenu-col-link.mb-megamenu-col-link-active {
  color: #7ab86e !important;
  font-weight: 600 !important;
}

/* Séparateur vertical */
.mb-megamenu-sep {
  display: inline-block !important;
  width: 1px !important;
  background: rgba(255,255,255,0.08) !important;
  margin: 8px 6px !important;
  align-self: stretch !important;
}

/* Hero boutique — overrides fond sombre */
.mb-shop-hero .mb-megamenu-wrap {
  background: rgba(255,255,255,0.02) !important;
  backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  -webkit-backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  border-bottom: 1px solid rgba(255,255,255,0.28) !important;
  border-radius: 100px !important;
  box-shadow: 0 16px 100px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08), inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(255,255,255,0.1), inset 1px 0 0 rgba(255,255,255,0.1), inset -1px 0 0 rgba(255,255,255,0.1) !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

/* Texture de bruit organique sur la bulle */
.mb-shop-hero .mb-megamenu-wrap::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 100px !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.06 !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important;
  background-size: 200px 64px !important;
  mix-blend-mode: overlay !important;
}

/* Reflet irrégulier en haut — pas parfaitement centré */
.mb-shop-hero .mb-megamenu-wrap::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 8% !important;
  right: 12% !important;
  height: 1.5px !important;
  border-radius: 100px !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 20%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.3) 80%, transparent 100%) !important;
  filter: blur(0.5px) !important;
}

.mb-shop-hero .mb-megamenu-bar {
  position: relative !important;
  z-index: 1 !important;
  justify-content: center !important;
}

/* Logo boutique */
.mb-shop-hero-logo {
  width: 220px !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .mb-megamenu-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .mb-megamenu-wrap::-webkit-scrollbar { display: none !important; }
  .mb-megamenu-bar {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 0 12px !important;
  }
  .mb-megamenu-item {
    font-size: 9.5px !important;
    padding: 10px 12px !important;
    letter-spacing: 0.8px !important;
  }
  .mb-megamenu-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    transform: none !important;
    animation: none !important;
  }
  .mb-megamenu-cols { gap: 20px !important; flex-wrap: wrap !important; }
  .mb-megamenu-sep { margin: 4px !important; }
}

/* Sidebar — style catégories */
.woocommerce-shop .widget_product_categories,
.tax-product_cat .widget_product_categories {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.woocommerce-shop .widget_product_categories .widget-title,
.tax-product_cat .widget_product_categories .widget-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--gray) !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--border) !important;
}

.woocommerce-shop .product-categories,
.tax-product_cat .product-categories {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-shop .product-categories li,
.tax-product_cat .product-categories li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

.woocommerce-shop .product-categories li a,
.tax-product_cat .product-categories li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--dark2) !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
  transition: color var(--t), background var(--t) !important;
  border-radius: var(--r) !important;
}

.woocommerce-shop .product-categories li a:hover,
.tax-product_cat .product-categories li a:hover,
.woocommerce-shop .product-categories li.current-cat > a,
.tax-product_cat .product-categories li.current-cat > a {
  color: var(--green) !important;
  background: rgba(74, 103, 65, 0.06) !important;
}

.woocommerce-shop .product-categories .count,
.tax-product_cat .product-categories .count {
  font-size: 10px !important;
  color: var(--gray2) !important;
  background: var(--bg2) !important;
  padding: 2px 6px !important;
  border-radius: 10px !important;
}

/* Sous-catégories indentées */
.woocommerce-shop .product-categories .children,
.tax-product_cat .product-categories .children {
  list-style: none !important;
  padding-left: 16px !important;
  margin: 0 !important;
  border-top: 1px solid var(--border) !important;
}

/* ============================================================
   PAGE PRODUIT — REDESIGN BEIGE MODERNE
   v22
   ============================================================ */

/* Fond sombre sur la page produit */
.single-product #page,
.single-product body,
body.single-product {
  background: #141414 !important;
}

/* Zone produit */
.single-product .woocommerce div.product {
  background: transparent !important;
  padding: 48px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Titre produit — visible et grand */
.single-product h1.product_title,
.single-product .product_title {
  display: block !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(28px, 3.5vw, 48px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  letter-spacing: -0.5px !important;
  line-height: 1.05 !important;
  margin: 0 0 12px !important;
}

/* Prix produit */
.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--green) !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  margin: 0 0 20px !important;
}

/* Catégorie produit sous le titre */
.single-product .posted_in {
  font-size: 11px !important;
  color: var(--gray) !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  display: block !important;
}
.single-product .posted_in a {
  color: var(--green) !important;
  font-weight: 600 !important;
}

/* Image produit — fond blanc propre sur beige */
/* ============================================================
   IMAGES PRODUITS — centrage et remplissage du cadre
   ============================================================ */

/* Grille : conteneur image avec ratio fixe */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  transition: opacity var(--t) !important;
}

/* Wrapper image grille — évite les débordements */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 4px 4px 0 0 !important;
}

/* Fiche produit — image principale centrée */
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .wp-post-image {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  background: #1E1E1E !important;
}

/* Thumbnails galerie produit — ratio carré */
.single-product .woocommerce-product-gallery__image--placeholder,
.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100% !important;
  height: 80px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ============================================================
   NAVIGATION FICHE PRODUIT — forcer l'affichage
   ============================================================ */

/* Le sticky nav disparaît sur single product — on force son affichage */
.single-product .site-header,
.single-product .storefront-primary-navigation {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

/* S'assurer que le contenu produit ne masque pas le header */
.single-product #page {
  position: relative !important;
  z-index: 1 !important;
}

.single-product .woocommerce-product-gallery {
  background: #1E1E1E !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Résumé produit — fond sombre */
.single-product .summary {
  background: #1E1E1E !important;
  border-radius: 8px !important;
  padding: 36px !important;
  box-shadow: none !important;
}

/* Bouton ajouter au panier — pleine largeur */
.single-product div.product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}
/* Variations table + variation wrap prennent chacun toute la largeur */
.single-product div.product form.cart table.variations,
.single-product div.product form.cart .single_variation_wrap {
  flex-basis: 100% !important;
  flex-shrink: 0 !important;
}
/* Conteneur quantité + bouton (produits variables) */
.single-product div.product .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}
/* Quantité : taille fixe */
.single-product div.product form.cart .quantity {
  flex-shrink: 0 !important;
}
/* Bouton principal */
.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 !important;
  min-width: 120px !important;
  background: #F0F0EC !important;
  color: #111111 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--r) !important;
  padding: 16px 32px !important;
  transition: background var(--t) !important;
  cursor: pointer !important;
  text-align: center !important;
}
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--green) !important;
  color: #fff !important;
}

/* Masquer boutons express (Apple Pay, Google Pay, Amazon Pay, Link)
   uniquement sur la page produit — ils restent au checkout/panier */
.single-product .wc-block-components-express-payment,
.single-product .woocommerce-product-add-to-cart .woocommerce-PaymentRequest-button,
.single-product #payment .payment_method_stripe_googlepay,
.single-product #payment .payment_method_stripe_applepay,
.single-product .wp-block-woocommerce-cart-express-payment-options,
.single-product .wcpay-express-checkout-wrapper,
.single-product .stripe-express-checkout-element,
.single-product .wc_ppec_cart_buttons_separator,
.single-product [class*="express-payment"],
.single-product [class*="applepay"],
.single-product [class*="googlepay"],
.single-product [class*="amazonpay"],
.single-product [class*="apple-pay"],
.single-product [class*="google-pay"] {
  display: none !important;
}

/* Description produit — fond sombre */
.single-product .woocommerce-tabs {
  background: #1E1E1E !important;
  border-radius: 8px !important;
  padding: 32px !important;
  box-shadow: none !important;
  margin-top: 32px !important;
}

.single-product .woocommerce-tabs .tabs li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--gray) !important;
}

.single-product .woocommerce-tabs .tabs li.active a {
  color: var(--dark) !important;
}

/* Produits similaires */
.single-product .up-sells,
.single-product .related {
  padding: 0 48px 48px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.single-product .related h2,
.single-product .up-sells h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  margin-bottom: 24px !important;
}

/* UGS + catégorie en bas — discret */
.single-product .product_meta {
  font-size: 11px !important;
  color: var(--gray) !important;
  font-family: 'Inter', sans-serif !important;
  margin-top: 24px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--border) !important;
}

/* Lien "Modifier" admin — discret */
.single-product .product_meta .edit-link {
  display: none !important;
}


/* ============================================================
   BOUTIQUE — MESSAGE ACCUEIL + FIX CASES VIDES
   v26b
   ============================================================ */

/* Message d'accueil boutique */
.mb-shop-welcome {
  padding: 40px 48px 0 !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}
.mb-shop-welcome-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  margin: 0 0 8px !important;
}
.mb-shop-welcome-sub {
  font-size: 14px !important;
  color: var(--gray) !important;
  font-family: 'Inter', sans-serif !important;
  margin: 0 !important;
}

/* Fix cases vides dans la grille produits */
.woocommerce ul.products li.product:empty,
.woocommerce ul.products li.product-category:empty {
  display: none !important;
}

/* Fix barre bleue gauche mobile — div#page doit occuper toute la largeur */
#page,
#page.hfeed,
#page.site,
.hfeed.site,
.site {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  left: 0 !important;
  position: relative !important;
  overflow-x: hidden !important;
}

/* Barre mobile Storefront en bas — masquée */
.storefront-handheld-footer-bar {
  display: none !important;
}

/* Fond bleu parasite sur .site-content */
#content.site-content,
.site-content {
  background: transparent !important;
}

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

@media (max-width: 768px) {

  /* ── Boutique hero ── */
  .mb-shop-hero {
    min-height: 100vh !important;
  }
  .mb-shop-hero-logo {
    width: 140px !important;
  }
  .mb-shop-hero-sub {
    font-size: 12px !important;
    padding: 0 16px !important;
  }
  .mb-shop-hero .mb-megamenu-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .mb-shop-hero .mb-megamenu-wrap::-webkit-scrollbar { display: none !important; }
  .mb-shop-hero .mb-megamenu-bar {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 0 16px !important;
  }

  /* ── Mega-menu sur pages catégories ── */
  .mb-megamenu-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .mb-megamenu-wrap::-webkit-scrollbar { display: none !important; }
  .mb-megamenu-bar {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  .mb-megamenu-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
  }
  .mb-megamenu-cols {
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 4px 0 !important;
  }
  .mb-megamenu-col {
    min-width: 140px !important;
  }

  /* ── Pages catégories — layout ── */
  .woocommerce-shop .site-main,
  .tax-product_cat .site-main {
    padding: 0 0 40px !important;
  }
  .woocommerce-shop .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 12px !important;
  }

  /* ── Hero pages internes (notices, bateaux d'occasion) ── */
  .mb-page-hero {
    height: 60vh !important;
    min-height: 320px !important;
  }
  .mb-notices-hero-wrap {
    height: 60vh !important;
    min-height: 320px !important;
  }
  .mb-page-hero-title {
    font-size: clamp(28px, 8vw, 48px) !important;
  }

  /* ── Notices grid ── */
  .notices-wrap {
    padding: 32px 16px 60px !important;
  }
  .notices-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Produit single ── */
  .single-product div.product {
    flex-direction: column !important;
  }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary {
    width: 100% !important;
    float: none !important;
  }
}

@media (max-width: 480px) {
  /* ── Grille produits 1 colonne sur très petit écran ── */
  .woocommerce-shop .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
  .mb-megamenu-item {
    font-size: 9px !important;
    padding: 6px 8px !important;
    letter-spacing: 0.5px !important;
  }
}

/* ── Thème sombre — pages boutique / catégories / produits ── */
.woocommerce-shop,
.tax-product_cat,
.single-product {
  --bg:      #141414;
  --bg2:     #1E1E1E;
  --bg3:     #252525;
  --dark:    #F0F0EC;
  --dark2:   #D0D0C8;
  --dark3:   #A0A09A;
  --gray:    #707070;
  --border:  #2E2E2E;
  --border2: #383838;
}

/* Fond sombre sur body pour ces pages */
.woocommerce-shop body,
.tax-product_cat body,
.single-product body,
body.woocommerce-shop,
body.tax-product_cat,
body.single-product {
  background: #141414 !important;
}

/* Fond page lui-même */
.woocommerce-shop #page,
.tax-product_cat #page,
.single-product #page {
  background: #141414 !important;
}

/* Texte adapté */
.woocommerce-shop .site-content,
.tax-product_cat .site-content,
.single-product .site-content {
  background: #141414 !important;
  color: #D0D0C8 !important;
}

/* Cartes produits */
.woocommerce-shop .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.single-product .woocommerce ul.products li.product {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

.woocommerce-shop .woocommerce ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #F0F0EC !important;
}

.woocommerce-shop .woocommerce ul.products li.product .price,
.tax-product_cat .woocommerce ul.products li.product .price {
  color: #4A6741 !important;
}

/* Fiche produit */
.single-product div.product .product_title { color: #F0F0EC !important; }
.single-product div.product .price { color: #4A6741 !important; }
.single-product div.product .woocommerce-product-details__short-description { color: #A0A09A !important; }

/* Variantes / selects */
.single-product .variations select,
.single-product .variations td,
.single-product .variations th,
.single-product .variations label {
  color: #D0D0C8 !important;
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

/* Méga-menu sur ces pages — déjà sombre, juste s'assurer */
.woocommerce-shop .mb-megamenu-item,
.tax-product_cat .mb-megamenu-item,
.single-product .mb-megamenu-item {
  color: rgba(255,255,255,0.55) !important;
}

/* Notices wrapper sur fond sombre */
.woocommerce-shop .woocommerce-notices-wrapper,
.tax-product_cat .woocommerce-notices-wrapper {
  background: transparent !important;
}

/* Tri / compteur */
.woocommerce-shop .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select {
  background: #1E1E1E !important;
  color: #D0D0C8 !important;
  border-color: #2E2E2E !important;
}
.woocommerce-shop .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count {
  color: #707070 !important;
}

/* Pagination */
.woocommerce-shop .woocommerce-pagination a,
.woocommerce-shop .woocommerce-pagination span,
.tax-product_cat .woocommerce-pagination a,
.tax-product_cat .woocommerce-pagination span {
  background: #1E1E1E !important;
  color: #D0D0C8 !important;
  border-color: #2E2E2E !important;
}
.woocommerce-shop .woocommerce-pagination .current,
.tax-product_cat .woocommerce-pagination .current {
  background: #4A6741 !important;
  color: #fff !important;
  border-color: #4A6741 !important;
}

/* Footer reste sombre donc pas besoin de toucher */


.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ── Fix barre blanche mobile — padding Storefront natif sur #main ── */
@media (max-width: 768px) {
  #main.site-main,
  #main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── Override absolu padding Storefront sur #main mobile ── */
html body #main.site-main,
html body #main,
body #main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 768px) {
  html body #main.site-main,
  html body #main,
  body #main {
    padding: 0 !important;
  }
}

/* Masquer la grille catégories WooCommerce native sur la boutique */
.woocommerce-shop ul.products.columns-4 li.product-category,
.woocommerce-shop .products li.product-category {
  display: none !important;
}

/* Masquer header boutique natif WooCommerce */
.woocommerce-shop .woocommerce-products-header,
.woocommerce-shop .storefront-sorting {
  display: none !important;
}

/* ── Fix textes/boutons illisibles sur fond sombre ── */

/* Titres généraux */
.woocommerce-shop h1, .woocommerce-shop h2, .woocommerce-shop h3,
.tax-product_cat h1, .tax-product_cat h2, .tax-product_cat h3,
.single-product h1, .single-product h2, .single-product h3 {
  color: #F0F0EC !important;
}

/* Texte courant */
.woocommerce-shop p, .woocommerce-shop span, .woocommerce-shop div,
.tax-product_cat p, .tax-product_cat span,
.single-product p, .single-product span {
  color: #D0D0C8 !important;
}

/* Liens */
.woocommerce-shop a, .tax-product_cat a, .single-product a {
  color: #D0D0C8 !important;
}
.woocommerce-shop a:hover, .tax-product_cat a:hover, .single-product a:hover {
  color: #4A6741 !important;
}

/* Bouton Ajouter au panier */
.woocommerce-shop .button,
.tax-product_cat .button,
.single-product .button,
.woocommerce-shop .wc-forward,
.tax-product_cat .wc-forward,
.single-product .wc-forward {
  background: #4A6741 !important;
  color: #fff !important;
  border-color: #4A6741 !important;
}
.woocommerce-shop .button:hover,
.tax-product_cat .button:hover,
.single-product .button:hover {
  background: #3a5232 !important;
  color: #fff !important;
}

/* Bouton noir (ajouter au panier principal) */
.single-product .single_add_to_cart_button {
  background: #F0F0EC !important;
  color: #111 !important;
  border-color: #F0F0EC !important;
}
.single-product .single_add_to_cart_button:hover {
  background: #4A6741 !important;
  color: #fff !important;
  border-color: #4A6741 !important;
}

/* Prix barré */
.woocommerce-shop del, .tax-product_cat del, .single-product del {
  color: #707070 !important;
  opacity: 1 !important;
}

/* Onglets fiche produit */
.single-product .woocommerce-tabs ul.tabs li a {
  color: #D0D0C8 !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #F0F0EC !important;
}
.single-product .woocommerce-tabs .panel {
  background: #1E1E1E !important;
  color: #D0D0C8 !important;
  border-color: #2E2E2E !important;
}

/* Table description */
.single-product .woocommerce-product-attributes th,
.single-product .woocommerce-product-attributes td {
  background: #1E1E1E !important;
  color: #D0D0C8 !important;
  border-color: #2E2E2E !important;
}

/* Input quantité */
.single-product .quantity input {
  background: #1E1E1E !important;
  color: #F0F0EC !important;
  border-color: #2E2E2E !important;
}

/* Reviews */
.single-product #reviews #comments ol.commentlist li .comment-text {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
  color: #D0D0C8 !important;
}

/* Breadcrumb */
.woocommerce-shop .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb {
  color: #707070 !important;
}
.woocommerce-shop .woocommerce-breadcrumb a,
.tax-product_cat .woocommerce-breadcrumb a,
.single-product .woocommerce-breadcrumb a {
  color: #707070 !important;
}

/* ============================================================
   DARK MODE — PAGE PRODUIT (correctifs finaux)
   ============================================================ */

body.single-product,
body.single-product #page,
body.single-product #content,
body.single-product .site-main,
body.single-product #primary {
  background: #141414 !important;
}

body.single-product .summary *,
body.single-product .summary h1,
body.single-product .summary .product_title {
  color: #F0F0EC !important;
}

body.single-product .summary .price,
body.single-product .summary p.price,
body.single-product .summary span.price {
  color: #4A6741 !important;
}

body.single-product .woocommerce-product-gallery {
  background: #1E1E1E !important;
}

body.single-product .woocommerce-tabs {
  background: #141414 !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  background: #141414 !important;
  border-bottom-color: #2E2E2E !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

body.single-product .woocommerce-tabs ul.tabs li a { color: #A0A09A !important; }
body.single-product .woocommerce-tabs ul.tabs li.active { background: #141414 !important; border-bottom-color: #141414 !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #F0F0EC !important; }

body.single-product .woocommerce-tabs .panel {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

body.single-product .woocommerce-tabs .panel * { color: #D0D0C8 !important; }

body.single-product .quantity input.qty {
  background: #2E2E2E !important;
  color: #F0F0EC !important;
  border-color: #383838 !important;
}

body.single-product .product_meta,
body.single-product .product_meta a,
body.single-product .product_meta span {
  color: #707070 !important;
}

body.single-product .up-sells,
body.single-product .related {
  background: #141414 !important;
}

body.single-product .up-sells h2,
body.single-product .related h2 {
  color: #F0F0EC !important;
}

/* ============================================================
   BOUTIQUE — masquer TOUT le contenu natif WooCommerce sous le hero
   ============================================================ */
body.woocommerce-shop #primary .woocommerce > *:not(.mb-shop-hero) {
  display: none !important;
}
body.woocommerce-shop #primary .woocommerce ul.products,
body.woocommerce-shop #primary .woocommerce ul.products li,
body.woocommerce-shop #primary .woocommerce .woocommerce-notices-wrapper,
body.woocommerce-shop .woocommerce > nav,
body.woocommerce-shop .woocommerce > p,
body.woocommerce-shop .woocommerce > h1,
body.woocommerce-shop .woocommerce > h2 {
  display: none !important;
}

/* ============================================================
   PAGE PRODUIT — summary fond sombre (spécificité maximale)
   ============================================================ */
body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary {
  background: #1E1E1E !important;
  color: #F0F0EC !important;
}

body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary * {
  color: #D0D0C8 !important;
}

body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary h1,
body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary .product_title {
  color: #F0F0EC !important;
}

body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary .price,
body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary p.price,
body.single-product #page #content #primary #main .woocommerce div.product .summary.entry-summary span.price {
  color: #4A6741 !important;
}

body.single-product #page #content #primary #main .woocommerce div.product form.cart .single_add_to_cart_button {
  background: #F0F0EC !important;
  color: #111111 !important;
}

body.single-product #page #content #primary #main .woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #4A6741 !important;
  color: #ffffff !important;
}

/* ============================================================
   CORRECTIFS VISUELS — v4
   ============================================================ */

/* ── Sticky add-to-cart bar au scroll — fond sombre ── */
.woocommerce-sticky-add-to-cart,
.woocommerce-sticky-add-to-cart *,
.sticky-add-to-cart,
#sticky-add-to-cart {
  background: #111111 !important;
  background-color: #111111 !important;
  color: #F0F0EC !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.woocommerce-sticky-add-to-cart .button,
.woocommerce-sticky-add-to-cart a.button {
  background: #4A6741 !important;
  color: #fff !important;
}

/* ── Bouton ATC — spécificité maximale ── */
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button {
  background: #F0F0EC !important;
  color: #111111 !important;
  border-color: #F0F0EC !important;
}
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button:hover {
  background: #4A6741 !important;
  color: #fff !important;
  border-color: #4A6741 !important;
}

/* ── Galerie — fond sombre partout ── */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image {
  background: #1E1E1E !important;
}

/* ── Summary — fond sombre, textes lisibles ── */
body.single-product .summary.entry-summary {
  background: #1E1E1E !important;
  color: #F0F0EC !important;
  padding: 36px !important;
  border-radius: 8px !important;
}
body.single-product .summary.entry-summary h1,
body.single-product .summary.entry-summary .product_title {
  color: #F0F0EC !important;
}
body.single-product .summary.entry-summary .price,
body.single-product .summary.entry-summary p.price,
body.single-product .summary.entry-summary span.price {
  color: #4A6741 !important;
}
body.single-product .summary.entry-summary p,
body.single-product .summary.entry-summary label,
body.single-product .summary.entry-summary span,
body.single-product .summary.entry-summary div {
  color: #D0D0C8 !important;
}
body.single-product .summary.entry-summary select,
body.single-product .summary.entry-summary input {
  background: #2E2E2E !important;
  color: #F0F0EC !important;
  border-color: #383838 !important;
}

/* ── Tabs — fond sombre, textes clairs ── */
body.single-product .woocommerce-tabs ul.tabs {
  background: #1E1E1E !important;
  border-bottom-color: #2E2E2E !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  background: #272727 !important;
  border-color: #2E2E2E !important;
}
body.single-product .woocommerce-tabs ul.tabs li a { color: #888 !important; }
body.single-product .woocommerce-tabs ul.tabs li.active { background: #1E1E1E !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #F0F0EC !important; }
body.single-product .woocommerce-tabs .panel {
  background: #1E1E1E !important;
  color: #D0D0C8 !important;
}
body.single-product .woocommerce-tabs .panel * { color: #D0D0C8 !important; }
body.single-product .woocommerce-tabs .panel h2 { color: #F0F0EC !important; }

/* ── Padding textes — respirer ── */
body.single-product .woocommerce div.product {
  padding: 48px !important;
  gap: 48px !important;
}

/* ── FAB catégories — UNIQUEMENT mobile ── */
.mb-cat-fab,
#mbCatFab {
  display: none !important;
}
@media (max-width: 768px) {
  .mb-cat-fab,
  #mbCatFab {
    display: flex !important;
  }
  .mb-cat-fab.panel-open,
  #mbCatFab.panel-open {
    display: none !important;
  }
}

/* ── Boutique — masquer TOUT sous le hero ── */
body.woocommerce-shop .site-main > .woocommerce > *:not(.mb-shop-hero-injected) {
  display: none !important;
}
body.woocommerce-shop .woocommerce ul.products,
body.woocommerce-shop .woocommerce .woocommerce-notices-wrapper,
body.woocommerce-shop .woocommerce > p,
body.woocommerce-shop .woocommerce > nav,
body.woocommerce-shop .woocommerce > ul {
  display: none !important;
}

/* ── Page produit body — fond sombre ── */
body.single-product,
body.single-product #page,
body.single-product #content,
body.single-product .site-main,
body.single-product #primary {
  background: #141414 !important;
}

/* ── Produits liés ── */
body.single-product .up-sells h2,
body.single-product .related h2 {
  color: #F0F0EC !important;
}
body.single-product .up-sells,
body.single-product .related {
  background: #141414 !important;
  padding: 0 48px 48px !important;
}

/* ============================================================
   FAB CATÉGORIES — masquer TOUT sur desktop (panneau + overlay + bouton)
   ============================================================ */
.mb-cat-fab,
.mb-cat-panel,
.mb-cat-overlay,
#mbCatFab,
#mbCatPanel,
#mbCatOverlay {
  display: none !important;
}

@media (max-width: 768px) {
  /* Bouton visible sur mobile */
  .mb-cat-fab,
  #mbCatFab {
    display: flex !important;
  }
  /* Panneau visible quand ouvert */
  .mb-cat-panel.open,
  #mbCatPanel.open {
    display: flex !important;
  }
  /* Overlay visible quand ouvert */
  .mb-cat-overlay.open,
  #mbCatOverlay.open {
    display: block !important;
  }
  /* Cacher bouton quand panneau ouvert */
  .mb-cat-fab.panel-open,
  #mbCatFab.panel-open {
    display: none !important;
  }
}

/* ============================================================
   CORRECTIFS FINAUX v5
   ============================================================ */

/* Bouton ATC — toutes les variantes d'état */
body.single-product button.single_add_to_cart_button,
body.single-product button.single_add_to_cart_button.alt,
body.single-product button.single_add_to_cart_button.disabled,
body.single-product button.single_add_to_cart_button.alt.disabled,
body.single-product button.single_add_to_cart_button.wc-variation-selection-needed,
body.single-product .woocommerce div.product form.cart button[type="submit"],
body.single-product .woocommerce div.product form.cart .button {
  background: #4A6741 !important;
  color: #ffffff !important;
  border-color: #4A6741 !important;
  opacity: 1 !important;
}
body.single-product button.single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button.alt:hover,
body.single-product .woocommerce div.product form.cart button[type="submit"]:hover {
  background: #3a5232 !important;
  color: #ffffff !important;
  border-color: #3a5232 !important;
}

/* Galerie — fond sombre sur TOUS les éléments */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a,
body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery .wp-post-image,
body.single-product .woocommerce-product-gallery figure,
body.single-product .flex-viewport,
body.single-product .flexslider {
  background: #1E1E1E !important;
  background-color: #1E1E1E !important;
}

/* ── Padding tabs et panel description ── */
body.single-product .woocommerce-tabs {
  padding: 0 !important;
  overflow: hidden !important;
}
body.single-product .woocommerce-tabs ul.tabs {
  padding: 0 32px !important;
  margin: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 4px 0 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 14px 20px !important;
  display: block !important;
}
body.single-product .woocommerce-tabs .panel {
  padding: 32px !important;
  margin: 0 !important;
}
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel ul,
body.single-product .woocommerce-tabs .panel ol {
  margin-bottom: 12px !important;
  line-height: 1.75 !important;
}

/* ============================================================
   PAGE PRODUIT — NOUVEAU LAYOUT MODERNE
   ============================================================ */

/* Container principal — pleine largeur, pas de padding global */
body.single-product .woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-areas: "gallery summary" !important;
  gap: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  background: #141414 !important;
  align-items: start !important;
}

/* Galerie — colonne gauche, fixée en haut */
body.single-product .woocommerce-product-gallery {
  grid-area: gallery !important;
  position: sticky !important;
  top: 138px !important; /* sous ticker + header + megamenu */
  background: #141414 !important;
  padding: 40px 40px 40px 60px !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery figure,
body.single-product .flex-viewport,
body.single-product .flexslider {
  background: #1A1A1A !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery .wp-post-image {
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background: #1A1A1A !important;
}

/* Thumbnails — petits, en ligne sous l'image */
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 0 !important;
  list-style: none !important;
}
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
  flex: 0 0 72px !important;
  margin: 0 !important;
}
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 2px solid transparent !important;
  opacity: 0.55 !important;
  transition: opacity .15s, border-color .15s !important;
  cursor: pointer !important;
  background: #1A1A1A !important;
}
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
  opacity: 1 !important;
  border-color: #4A6741 !important;
}

/* Summary — colonne droite */
body.single-product .summary.entry-summary {
  grid-area: summary !important;
  background: #1A1A1A !important;
  border-left: 1px solid rgba(255,255,255,0.06) !important;
  padding: 56px 60px 56px 56px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100vh !important;
}

/* Titre */
body.single-product .summary .product_title,
body.single-product .summary h1.product_title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(32px, 3.5vw, 52px) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.5px !important;
  line-height: .92 !important;
  color: #F5F2EE !important;
  margin: 0 0 24px !important;
}

/* Prix */
body.single-product .summary .price,
body.single-product .summary p.price,
body.single-product .summary span.price {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #4A6741 !important;
  display: block !important;
  margin-bottom: 32px !important;
  letter-spacing: 0 !important;
}

/* Séparateur sous le prix */
body.single-product .summary .price::after {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 2px !important;
  background: #4A6741 !important;
  margin-top: 16px !important;
  opacity: 0.5 !important;
}

/* Description courte */
body.single-product .summary .woocommerce-product-details__short-description {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.8 !important;
  margin-bottom: 32px !important;
}

/* Label variation */
body.single-product .summary .variations th,
body.single-product .summary .variations label {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  padding: 0 0 8px !important;
  display: block !important;
}

/* Select variation */
body.single-product .summary .variations select {
  width: 100% !important;
  background: #242424 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  color: #F0F0EC !important;
  padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  margin-bottom: 24px !important;
  appearance: auto !important;
  cursor: pointer !important;
  transition: border-color .15s !important;
}
body.single-product .summary .variations select:focus {
  border-color: #4A6741 !important;
  outline: none !important;
}

/* Zone ATC — quantité + bouton côte à côte */
body.single-product .summary form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
}

/* Quantité */
body.single-product .summary .quantity input.qty {
  width: 64px !important;
  height: 52px !important;
  background: #242424 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  color: #F0F0EC !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* Bouton ATC */
body.single-product .summary .single_add_to_cart_button,
body.single-product .summary button.single_add_to_cart_button {
  flex: 1 !important;
  height: 52px !important;
  background: #4A6741 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .18s !important;
  opacity: 1 !important;
}
body.single-product .summary .single_add_to_cart_button:hover {
  background: #3a5232 !important;
}

/* Wishlist */
body.single-product .summary .mb-wishlist-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.35) !important;
  margin-bottom: 32px !important;
  cursor: pointer !important;
  transition: color .15s !important;
}
body.single-product .summary .mb-wishlist-btn:hover { color: rgba(255,255,255,0.7) !important; }

/* Meta (UGS / catégorie) */
body.single-product .summary .product_meta {
  padding-top: 24px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
body.single-product .summary .product_meta span,
body.single-product .summary .product_meta a {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.25) !important;
  letter-spacing: 1px !important;
  display: block !important;
  margin-bottom: 4px !important;
}
body.single-product .summary .product_meta a:hover { color: rgba(255,255,255,0.5) !important; }

/* ── Tabs sous le produit — pleine largeur ── */
body.single-product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  background: #141414 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 0 !important;
  padding: 0 60px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: #141414 !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.3) !important;
  padding: 18px 24px !important;
  display: block !important;
  transition: color .15s !important;
}
body.single-product .woocommerce-tabs ul.tabs li:hover a { color: rgba(255,255,255,0.7) !important; }
body.single-product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: #4A6741 !important;
  background: transparent !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #F0F0EC !important; }

body.single-product .woocommerce-tabs .panel {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 48px 60px !important;
  background: transparent !important;
  color: rgba(255,255,255,0.6) !important;
}
body.single-product .woocommerce-tabs .panel * {
  color: rgba(255,255,255,0.6) !important;
}
body.single-product .woocommerce-tabs .panel h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #F0F0EC !important;
  margin-bottom: 20px !important;
}
body.single-product .woocommerce-tabs .panel p { line-height: 1.8 !important; margin-bottom: 12px !important; }

/* ── Produits liés / upsells ── */
body.single-product .related,
body.single-product .up-sells {
  grid-column: 1 / -1 !important;
  background: #141414 !important;
  padding: 48px 60px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
body.single-product .related h2,
body.single-product .up-sells h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #F0F0EC !important;
  margin-bottom: 28px !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: 1fr !important;
    grid-template-areas: "gallery" "summary" !important;
  }
  body.single-product .woocommerce-product-gallery {
    position: static !important;
    padding: 20px !important;
  }
  body.single-product .summary.entry-summary {
    padding: 28px 20px !important;
    min-height: auto !important;
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
  }
  body.single-product .woocommerce-tabs ul.tabs { padding: 0 20px !important; }
  body.single-product .woocommerce-tabs .panel { padding: 28px 20px !important; }
  body.single-product .related, body.single-product .up-sells { padding: 28px 20px !important; }

  /* ── Fix bouton ATC mobile — flex au lieu de grid ── */
  body.single-product .summary form.cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: flex-end !important;
  }
  body.single-product .summary form.cart .variations {
    order: 0 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }
  body.single-product .summary form.cart .quantity {
    order: 1 !important;
    flex: 0 0 64px !important;
    width: 64px !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }
  body.single-product .summary form.cart .single_add_to_cart_button,
  body.single-product .summary form.cart button[type="submit"] {
    order: 2 !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }
}

/* ── LAYOUT FORM CART — correction alignement ── */
body.single-product .summary form.cart {
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 12px !important;
  align-items: end !important;
  margin-bottom: 24px !important;
}

/* Variations (select) — pleine largeur sur les 2 colonnes */
body.single-product .summary form.cart .variations {
  grid-column: 1 / -1 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

body.single-product .summary form.cart table.variations {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
}

body.single-product .summary form.cart .variations tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 0 !important;
}

body.single-product .summary form.cart .variations td,
body.single-product .summary form.cart .variations th {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  width: 100% !important;
}

/* Quantité — colonne gauche */
body.single-product .summary form.cart .quantity {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

body.single-product .summary form.cart .quantity input.qty {
  width: 64px !important;
  height: 52px !important;
  background: #242424 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  color: #F0F0EC !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Bouton ATC — colonne droite */
body.single-product .summary form.cart .single_add_to_cart_button,
body.single-product .summary form.cart button[type="submit"] {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 52px !important;
  background: #4A6741 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .18s !important;
  opacity: 1 !important;
  white-space: nowrap !important;
}
body.single-product .summary form.cart .single_add_to_cart_button:hover,
body.single-product .summary form.cart button[type="submit"]:hover {
  background: #3a5232 !important;
}

/* Produits variables : single_variation_wrap prend toute la largeur du grid */
body.single-product .summary form.cart .single_variation_wrap {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
}
body.single-product .summary form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}
body.single-product .summary form.cart .woocommerce-variation-add-to-cart .quantity {
  flex: 0 0 64px !important;
  width: 64px !important;
}
body.single-product .summary form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .summary form.cart .woocommerce-variation-add-to-cart button[type="submit"] {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
}

/* ── Hero boutique — panel en fixed pour ne pas être clippé ── */
.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  position: fixed !important;
  border-radius: 0 0 12px 12px !important;
}

/* ── Textes mega-menu hero lisibles ── */
.mb-shop-hero .mb-megamenu-item {
  color: rgba(255,255,255,0.85) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  padding: 16px 24px !important;
}
.mb-shop-hero .mb-megamenu-item:hover,
.mb-shop-hero .mb-megamenu-item-wrap:hover > .mb-megamenu-item {
  color: #fff !important;
  border-bottom-color: #4A6741 !important;
}

/* ── Bubble Glass panel — forcer transparence identique à la barre ── */
.mb-megamenu-item-wrap:hover .mb-megamenu-panel,
.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  background: rgba(10,10,10,0.15) !important;
  backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  -webkit-backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
}

/* ── Bubble Glass panel — correction isolation backdrop-filter ── */
.mb-megamenu-panel {
  isolation: isolate !important;
  background: rgba(20,20,20,0.45) !important;
  backdrop-filter: blur(60px) saturate(260%) brightness(1.15) !important;
  -webkit-backdrop-filter: blur(60px) saturate(260%) brightness(1.15) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-top: none !important;
  box-shadow: 0 16px 60px rgba(0,0,0,0.2), inset 0 -1px 0 rgba(255,255,255,0.08), inset 1px 0 0 rgba(255,255,255,0.08), inset -1px 0 0 rgba(255,255,255,0.08) !important;
}

.mb-megamenu-item-wrap:hover .mb-megamenu-panel,
.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  background: rgba(20,20,20,0.45) !important;
  backdrop-filter: blur(60px) saturate(260%) brightness(1.15) !important;
  -webkit-backdrop-filter: blur(60px) saturate(260%) brightness(1.15) !important;
}

/* ── Panel — IDENTIQUE à la barre Bubble Glass ── */
.mb-megamenu-panel,
.mb-megamenu-item-wrap:hover .mb-megamenu-panel,
.mb-shop-hero .mb-megamenu-item-wrap:hover .mb-megamenu-panel {
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  -webkit-backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-top: none !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 12px 80px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1), inset 0 -1.5px 0 rgba(255,255,255,0.35), inset 0 1px 0 rgba(255,255,255,0.08), inset 1px 0 0 rgba(255,255,255,0.08), inset -1px 0 0 rgba(255,255,255,0.08) !important;
  isolation: isolate !important;
}

/* ── Panel téléporté dans body — Bubble Glass autonome ── */
body > .mb-megamenu-panel {
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  -webkit-backdrop-filter: blur(60px) saturate(280%) brightness(1.15) contrast(0.95) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-top: none !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 12px 80px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1), inset 0 -1.5px 0 rgba(255,255,255,0.35), inset 1px 0 0 rgba(255,255,255,0.08), inset -1px 0 0 rgba(255,255,255,0.08) !important;
  z-index: 99999 !important;
}

/* ════════════════════════════════════════════════════════════
   AMÉLIORATIONS VISUELLES & PERFORMANCE
   ════════════════════════════════════════════════════════════ */

/* 1. Icône panier — couleur cohérente au survol */
.mb-cart-link:hover { color: #4A6741 !important; }

/* 2. Boutons loop produit — glass pill */
.tax-product_cat .woocommerce ul.products li.product .button,
.woocommerce-shop .woocommerce ul.products li.product .button {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  transition: all .2s !important;
}
.tax-product_cat .woocommerce ul.products li.product .button:hover,
.woocommerce-shop .woocommerce ul.products li.product .button:hover {
  background: rgba(74,103,65,0.55) !important;
  border-color: rgba(74,103,65,0.9) !important;
  color: #fff !important;
}

/* 3. Pagination — glass pill */
.tax-product_cat .woocommerce-pagination ul li a,
.tax-product_cat .woocommerce-pagination ul li span,
.woocommerce-shop .woocommerce-pagination ul li a,
.woocommerce-shop .woocommerce-pagination ul li span {
  background: rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.6) !important;
  transition: all .2s !important;
}
.tax-product_cat .woocommerce-pagination ul li a:hover,
.woocommerce-shop .woocommerce-pagination ul li a:hover {
  background: rgba(74,103,65,0.5) !important;
  border-color: rgba(74,103,65,0.8) !important;
  color: #fff !important;
}
.tax-product_cat .woocommerce-pagination ul li span.current,
.woocommerce-shop .woocommerce-pagination ul li span.current {
  background: rgba(74,103,65,0.65) !important;
  border-color: rgba(74,103,65,0.9) !important;
  color: #fff !important;
}

/* 4. FAB catégories mobile — glass pill */
.mb-cat-fab, #mbCatFab {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.9) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* 5. Megamenu mobile — scrollable horizontal sur catégorie/produit */
@media (max-width: 768px) {
  .tax-product_cat .mb-megamenu-wrap,
  .single-product .mb-megamenu-wrap {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 12px auto 16px !important;
  }
  .tax-product_cat .mb-megamenu-wrap::-webkit-scrollbar,
  .single-product .mb-megamenu-wrap::-webkit-scrollbar { display: none !important; }
  .tax-product_cat .mb-megamenu-item,
  .single-product .mb-megamenu-item {
    font-size: 9px !important;
    padding: 12px 14px !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
  }
}

/* 6. Notices — fond sombre sur le body */
body.page-template-page-notices { background: #141414 !important; }

/* 7. Performance — will-change sur éléments animés */
.mb-megamenu-panel { will-change: transform, opacity; contain: layout style; }
.mb-megamenu-item::after, .mb-megamenu-chevron { will-change: transform, opacity; }
.mb-ticker-inner { will-change: transform; }
.mb-exp-card, .mb-feat-card, .woocommerce ul.products li.product { will-change: transform, box-shadow; }
.mb-cat-fab { will-change: transform; }

/* ── BARRE — Bubble Glass pill sur pages catégorie / produit ── */
.tax-product_cat .mb-megamenu-wrap,
.single-product .mb-megamenu-wrap {
  width: fit-content !important;
  max-width: calc(100% - 96px) !important;
  margin: 24px auto 32px !important;
  border-radius: 100px !important;
  background: rgba(255,255,255,0.02) !important;
  backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  -webkit-backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-bottom: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 16px 100px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08), inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(255,255,255,0.1), inset 1px 0 0 rgba(255,255,255,0.1), inset -1px 0 0 rgba(255,255,255,0.1) !important;
  overflow: visible !important;
}

.tax-product_cat .mb-megamenu-bar,
.single-product .mb-megamenu-bar {
  justify-content: center !important;
  padding: 0 8px !important;
}

.tax-product_cat .mb-megamenu-item,
.single-product .mb-megamenu-item {
  color: rgba(255,255,255,0.82) !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  padding: 16px 20px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}

.tax-product_cat .mb-megamenu-item:hover,
.tax-product_cat .mb-megamenu-item-wrap:hover > .mb-megamenu-item,
.tax-product_cat .mb-megamenu-item-wrap.mb-megamenu-active > .mb-megamenu-item,
.single-product .mb-megamenu-item:hover,
.single-product .mb-megamenu-item-wrap:hover > .mb-megamenu-item {
  color: #fff !important;
}

.tax-product_cat .mb-megamenu-item .mb-megamenu-chevron,
.single-product .mb-megamenu-item .mb-megamenu-chevron {
  opacity: 0.45 !important;
}

.tax-product_cat .mb-megamenu-item-wrap:hover .mb-megamenu-chevron,
.single-product .mb-megamenu-item-wrap:hover .mb-megamenu-chevron {
  opacity: 1 !important;
}

/* ════════════════════════════════════════════════════════════
   CORRECTIFS UI — BOUTONS / PANIER / MOBILE / NOTICES
   ════════════════════════════════════════════════════════════ */

/* ── 1. Boutique mobile — cacher la pill PC, garder seulement le FAB ── */
@media (max-width: 768px) {
  .mb-shop-hero .mb-megamenu-wrap,
  .mb-shop-hero .mb-megamenu-bar { display: none !important; }
}

/* ── 2. Boutons produit grille — glass pill (Ajouter au panier / Choix des options) ── */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  transition: all .2s !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: rgba(74,103,65,0.5) !important;
  border-color: rgba(74,103,65,0.85) !important;
  color: #fff !important;
}

/* ── 3. Pagination — glass pill ── */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
  background: rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.6) !important;
  transition: all .2s !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: rgba(74,103,65,0.5) !important;
  border-color: rgba(74,103,65,0.8) !important;
  color: #fff !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: rgba(74,103,65,0.6) !important;
  border-color: rgba(74,103,65,0.9) !important;
  color: #fff !important;
}

/* ── 4. Cart widget dropdown — dark glass ── */
.site-header-cart .widget_shopping_cart {
  background: rgba(14,14,14,0.97) !important;
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  overflow: hidden !important;
}
.site-header-cart .widget_shopping_cart_content { background: transparent !important; }
.site-header-cart .product_list_widget li {
  border-bottom-color: rgba(255,255,255,0.06) !important;
  padding: 12px 16px !important;
}
.site-header-cart .product_list_widget li a { color: #F0F0EC !important; font-size: 13px !important; }
.site-header-cart .product_list_widget .quantity { color: rgba(255,255,255,0.35) !important; font-size: 11px !important; }
.site-header-cart .product_list_widget .amount,
.site-header-cart .widget_shopping_cart .total .amount { color: #4A6741 !important; font-family: 'Barlow Condensed', sans-serif !important; font-size: 18px !important; font-weight: 700 !important; }
.site-header-cart .widget_shopping_cart .total {
  border-top-color: rgba(255,255,255,0.06) !important;
  background: transparent !important;
  padding: 12px 16px !important;
  color: rgba(255,255,255,0.4) !important;
  font-size: 12px !important;
}
.site-header-cart .widget_shopping_cart .buttons {
  padding: 10px 16px 16px !important;
  display: flex !important; flex-direction: column !important; gap: 8px !important;
  background: transparent !important;
}
.site-header-cart .widget_shopping_cart .buttons .button {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 10px !important; letter-spacing: 1.5px !important;
  padding: 13px 24px !important; text-align: center !important;
  display: block !important; width: 100% !important;
  transition: all .18s !important;
}
.site-header-cart .widget_shopping_cart .buttons .button:hover {
  background: rgba(255,255,255,0.1) !important; color: #fff !important;
}
.site-header-cart .widget_shopping_cart .buttons .checkout {
  background: rgba(74,103,65,0.55) !important;
  border-color: rgba(74,103,65,0.8) !important; color: #fff !important;
}
.site-header-cart .widget_shopping_cart .buttons .checkout:hover {
  background: rgba(74,103,65,0.8) !important;
  border-color: rgba(74,103,65,1) !important;
}
.site-header-cart .widget_shopping_cart .remove { color: rgba(255,255,255,0.25) !important; }
.site-header-cart .widget_shopping_cart .remove:hover { color: #C0392B !important; background: transparent !important; }

/* ── 5. Mobile bottom sheet — redesign ── */
@media (max-width: 768px) {
  /* ── BASE PANEL — CSS manquant sur pages catégorie/produit (mb_shop_welcome ne s'exécute pas) ── */
  .mb-cat-panel {
    position: fixed !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 9995 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateY(100%) !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1) !important;
    padding: 0 0 env(safe-area-inset-bottom, 16px) !important;
    background: #141414 !important;
    border-radius: 20px 20px 0 0 !important;
    border-top: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .mb-cat-panel.open {
    transform: translateY(0) !important;
  }
  /* Handle */
  .mb-cat-panel-handle {
    order: 0 !important; flex-shrink: 0 !important;
    width: 40px !important; height: 4px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 2px !important; margin: 14px auto 8px !important;
  }
  /* Header : fond glass vert, sticky en haut, affiché EN PREMIER */
  .mb-cat-panel-header {
    order: 1 !important; flex-shrink: 0 !important;
    position: sticky !important; top: 0 !important; z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 18px 20px 16px !important;
    background: rgba(74,103,65,0.18) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(74,103,65,0.3) !important;
    border-top: 2px solid #4A6741 !important;
  }
  /* Liste : scrollable en dessous du header + search */
  .mb-cat-panel-list {
    order: 3 !important; flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  /* Titre grand → bouton naturellement repoussé à droite */
  .mb-cat-panel-title {
    flex: 1 1 auto !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 26px !important; font-weight: 900 !important;
    text-transform: uppercase !important; color: #fff !important;
    letter-spacing: -.3px !important; line-height: 1 !important;
  }
  /* Bouton retour — bulle ronde avec flèche ← */
  .mb-cat-panel-close {
    flex-shrink: 0 !important;
    width: 34px !important; height: 34px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    cursor: pointer !important; transition: background .15s !important;
    -webkit-appearance: none !important; appearance: none !important;
    color: #fff !important;
  }
  .mb-cat-panel-close svg { display: block !important; width: 18px !important; height: 18px !important; stroke: #fff !important; stroke-width: 2.5 !important; fill: none !important; }
  .mb-cat-panel-close:active { background: rgba(255,255,255,0.2) !important; }

  /* Liste des catégories */
  .mb-cat-panel-list { padding: 0 0 32px !important; }

  /* Ligne catégorie parente */
  .mb-cat-panel-row {
    display: flex !important; align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    border-left: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: background .12s !important;
    text-decoration: none !important;
  }
  .mb-cat-panel-row:active { background: rgba(255,255,255,0.04) !important; }
  .mb-cat-panel-row.open { background: rgba(255,255,255,0.03) !important; }

  /* Nom catégorie — 17px pour tenir sur une ligne */
  .mb-cat-panel-row-name {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 17px !important; font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #F0F0EC !important;
    letter-spacing: .5px !important;
    line-height: 1.1 !important;
  }

  /* Chevron */
  .mb-cat-panel-chevron {
    width: 26px !important; height: 26px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 6px !important; flex-shrink: 0 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    transition: background .18s, border-color .18s !important;
  }
  .mb-cat-panel-chevron svg {
    width: 9px !important; height: 9px !important;
    fill: none !important; stroke: rgba(255,255,255,0.45) !important;
    stroke-width: 2.5 !important; transition: transform .2s !important;
  }
  .mb-cat-panel-row.open .mb-cat-panel-chevron {
    background: #4A6741 !important; border-color: #4A6741 !important;
  }
  .mb-cat-panel-row.open .mb-cat-panel-chevron svg {
    transform: rotate(90deg) !important; stroke: #fff !important;
  }

  /* Sous-catégories */
  .mb-cat-panel-sub {
    display: none !important; flex-direction: column !important;
    background: rgba(255,255,255,0.025) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  }
  .mb-cat-panel-sub.open { display: flex !important; }

  /* "Voir tout" — lien catégorie parente */
  .mb-cat-panel-sub > .mb-cat-panel-sub-link:first-child {
    font-family: 'Inter', sans-serif !important;
    font-size: 9px !important; font-weight: 700 !important;
    letter-spacing: 2px !important; text-transform: uppercase !important;
    color: #4A6741 !important; text-decoration: none !important;
    padding: 14px 20px 6px 20px !important; display: block !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  }

  /* Sous-catégorie L2 */
  .mb-cat-panel-sub-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important; font-weight: 600 !important;
    letter-spacing: 1.5px !important; text-transform: uppercase !important;
    color: rgba(255,255,255,0.4) !important; text-decoration: none !important;
    padding: 10px 20px 4px 24px !important; display: block !important;
  }

  /* Sous-catégorie L3 */
  .mb-cat-panel-sub-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important; color: rgba(255,255,255,0.55) !important;
    text-decoration: none !important; padding: 8px 20px 8px 24px !important;
    display: block !important; transition: color .12s !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
  }
  .mb-cat-panel-sub-item:last-child { border-bottom: none !important; padding-bottom: 12px !important; }
  .mb-cat-panel-sub-item:active { color: #fff !important; }
}

/* ════════════════════════════════════════════════════════════
   TITRES L2 CATÉGORIES — GRAS ET LISIBLES
   ════════════════════════════════════════════════════════════ */
.mb-megamenu-col-title {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  color: rgba(255,255,255,0.95) !important;
  text-transform: uppercase !important;
}
.mb-megamenu-col-title:hover,
.mb-megamenu-col-title.mb-megamenu-col-active {
  color: #7ab86e !important;
}

/* ════════════════════════════════════════════════════════════
   BARRE DE RECHERCHE — PC + MOBILE
   ════════════════════════════════════════════════════════════ */

/* ── Bouton loupe PC (injecté dans la nav via JS) ── */
.mb-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important; height: 36px !important;
  color: rgba(255,255,255,0.55) !important;
  cursor: pointer !important;
  background: none !important; border: none !important;
  transition: color .18s !important;
  flex-shrink: 0 !important;
}
.mb-search-btn:hover { color: #fff !important; }

/* ── Overlay recherche PC ── */
.mb-search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-start; justify-content: center;
  padding-top: 130px;
}
.mb-search-overlay.open { display: flex; }
.mb-search-box {
  position: relative; width: 100%; max-width: 580px; padding: 0 20px;
}
.mb-search-box input[type="search"] {
  width: 100% !important;
  padding: 18px 80px 18px 24px !important;
  font-size: 17px !important;
  background: rgba(255,255,255,0.07) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important;
  box-sizing: border-box !important;
}
.mb-search-box input[type="search"]::placeholder { color: rgba(255,255,255,0.3) !important; }
.mb-search-box input[type="search"]:focus { border-color: rgba(74,103,65,0.6) !important; }
.mb-search-box button[type="submit"] {
  position: absolute !important;
  right: 28px !important; top: 50% !important;
  transform: translateY(-50%) !important;
  background: #4A6741 !important; border: none !important;
  border-radius: 8px !important; color: #fff !important;
  padding: 9px 18px !important; cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase !important;
  transition: background .18s !important;
}
.mb-search-box button[type="submit"]:hover { background: #3a5232 !important; }
.mb-search-close-btn {
  position: absolute !important;
  top: -52px !important; right: 20px !important;
  width: 36px !important; height: 36px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; color: #fff !important;
  transition: background .15s !important;
  -webkit-appearance: none !important; appearance: none !important;
}
.mb-search-close-btn svg { display: block !important; }
.mb-search-close-btn:hover { background: rgba(255,255,255,0.15) !important; }

/* ════════════════════════════════════════════════════════════
   RÉSULTATS DE RECHERCHE PRODUITS — dark theme + grid
   ════════════════════════════════════════════════════════════ */
body.search-results,
body.search {
  background: #141414 !important;
  --bg: #141414; --bg2: #1E1E1E; --bg3: #252525;
  --dark: #F0F0EC; --dark2: #D0D0C8; --dark3: #A0A09A;
  --border: #2E2E2E; --border2: #383838;
}
body.search #page,
body.search #content,
body.search .site-content,
body.search .site-main,
body.search #primary { background: #141414 !important; color: #D0D0C8 !important; }

body.search .site-main {
  padding: 0 48px 60px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* ── Grid 4 colonnes — sélecteur large sans dépendance au wrapper .woocommerce ── */
body.search ul.products,
body.search .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 32px 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
body.search ul.products li.product,
body.search .woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
body.search ul.products li.product .woocommerce-loop-product__title,
body.search .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #F0F0EC !important;
}
body.search ul.products li.product .price,
body.search .woocommerce ul.products li.product .price { color: #4A6741 !important; }
body.search ul.products li.product a img,
body.search .woocommerce ul.products li.product a img {
  width: 100% !important; height: 220px !important;
  object-fit: cover !important; display: block !important;
}

/* ── Titre de page + breadcrumb cachés ── */
body.search .page-title,
body.search h1.entry-title,
body.search h1.page-title { display: none !important; }
body.search .storefront-breadcrumb { display: none !important; }
body.search .woocommerce-products-header { display: none !important; }

/* ── Forcer pleine largeur — Storefront applique 75% sur #primary en search ── */
body.search #primary,
body.search #main,
body.search .site-main > article,
body.search .hentry,
body.search .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.search #secondary,
body.search .widget-area { display: none !important; }

/* ── Supprimer la puce bullet des produits ── */
body.search .woocommerce ul.products {
  list-style: none !important;
  padding-left: 0 !important;
}
body.search .woocommerce ul.products li::before,
body.search .woocommerce ul.products li::marker { display: none !important; content: none !important; }

/* ── Boutons glass pill ── */
body.search .woocommerce ul.products li.product .button,
body.search .woocommerce ul.products li.product a.button {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 100px !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 10px !important; font-weight: 600 !important;
  letter-spacing: 1.5px !important; transition: all .2s !important;
}
body.search .woocommerce ul.products li.product .button:hover,
body.search .woocommerce ul.products li.product a.button:hover {
  background: rgba(74,103,65,0.55) !important;
  border-color: rgba(74,103,65,0.9) !important;
  color: #fff !important;
}

/* ── Glass pill sur la barre catégories ── */
body.search .mb-megamenu-wrap {
  width: fit-content !important;
  max-width: calc(100% - 96px) !important;
  margin: 0 auto 0 !important;
  border-radius: 100px !important;
  background: rgba(255,255,255,0.02) !important;
  backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  -webkit-backdrop-filter: blur(80px) saturate(320%) brightness(1.2) contrast(0.92) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-bottom: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 16px 100px rgba(0,0,0,0.12), inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(255,255,255,0.1) !important;
  overflow: visible !important;
}
body.search .mb-megamenu-item {
  color: rgba(255,255,255,0.82) !important;
  font-size: 11px !important; letter-spacing: 2px !important;
  padding: 16px 20px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}
body.search .mb-megamenu-item:hover,
body.search .mb-megamenu-item-wrap:hover > .mb-megamenu-item { color: #fff !important; }

/* Résultats mobile */
@media (max-width: 768px) {
  body.search .site-main { padding: 0 0 40px !important; }
  body.search ul.products,
  body.search .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 16px 12px 0 !important;
  }
}
@media (max-width: 480px) {
  body.search ul.products,
  body.search .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px 8px 0 !important;
  }
  body.search ul.products li.product a img,
  body.search .woocommerce ul.products li.product a img {
    height: 130px !important;
  }
}

/* ── Search bar inline sous la barre de catégories ── */
.mb-shop-search {
  display: flex !important;
  justify-content: center !important;
  padding: 14px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.mb-shop-search form {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 520px !important;
}
.mb-shop-search input[type="search"] {
  flex: 1 !important;
  padding: 11px 18px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 100px !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color .18s !important;
}
.mb-shop-search input[type="search"]::placeholder { color: rgba(255,255,255,0.3) !important; }
.mb-shop-search input[type="search"]:focus { border-color: rgba(74,103,65,0.6) !important; }
.mb-shop-search button[type="submit"] {
  background: #4A6741 !important; border: none !important;
  border-radius: 100px !important; color: #fff !important;
  padding: 11px 22px !important; cursor: pointer !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase !important;
  white-space: nowrap !important; transition: background .18s !important;
  flex-shrink: 0 !important;
}
.mb-shop-search button[type="submit"]:hover { background: #3a5232 !important; }

/* Dans le hero boutique */
.mb-shop-hero-search { padding: 12px 24px 0 !important; }
.mb-shop-hero-search input[type="search"] {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.22) !important;
}

/* ── Search sur mobile : uniquement dans le panel, pas dans la page ── */
/* Ce bloc DOIT rester après les règles display:flex ci-dessus pour l'emporter */
@media (max-width: 768px) {
  .mb-shop-search,
  .mb-shop-hero-search { display: none !important; }
}

/* Notices — fond transparent pour laisser voir la vidéo */
.notices-wrap { background: transparent !important; }
.notice-card { background: rgba(20,20,20,0.8) !important; backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important; }
.notices-header-title, .notices-header-eyebrow { color: #F0F0EC !important; }

/* ── Recherche dans le drawer mobile ── */
.mb-drawer-search {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-drawer-search form { display: flex !important; gap: 8px !important; margin: 0 !important; }
.mb-drawer-search input[type="search"] {
  flex: 1 !important; padding: 10px 14px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important; color: #fff !important;
  font-family: 'Inter', sans-serif !important; font-size: 13px !important; outline: none !important;
}
.mb-drawer-search input[type="search"]::placeholder { color: rgba(255,255,255,0.3) !important; }
.mb-drawer-search button[type="submit"] {
  background: #4A6741 !important; border: none !important;
  border-radius: 8px !important; color: #fff !important;
  padding: 10px 14px !important; cursor: pointer !important;
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: 1px !important; text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* ── Recherche dans le panel catégories mobile ── */
.mb-cat-panel-search {
  order: 2 !important; flex-shrink: 0 !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  background: rgba(0,0,0,0.15) !important;
}
.mb-cat-panel-search form {
  display: flex !important; gap: 8px !important; margin: 0 !important;
}
.mb-cat-panel-search input[type="search"] {
  flex: 1 !important; padding: 10px 14px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 100px !important; color: #fff !important;
  font-family: 'Inter', sans-serif !important; font-size: 13px !important;
  outline: none !important; min-width: 0 !important;
}
.mb-cat-panel-search input[type="search"]::placeholder { color: rgba(255,255,255,0.3) !important; }
.mb-cat-panel-search input[type="search"]:focus { border-color: rgba(74,103,65,0.6) !important; }
.mb-cat-panel-search button[type="submit"] {
  background: #4A6741 !important; border: none !important;
  border-radius: 100px !important; color: #fff !important;
  padding: 10px 16px !important; cursor: pointer !important;
  font-size: 16px !important; flex-shrink: 0 !important;
  line-height: 1 !important;
}

@media (max-width: 768px) {
  .mb-search-overlay { display: none; }
  .mb-search-overlay.open { display: flex !important; padding-top: 60px !important; }

  /* Flexbox pour aligner input + bouton proprement sur mobile */
  .mb-search-box { padding: 0 16px !important; }
  .mb-search-box form { display: flex !important; gap: 8px !important; align-items: center !important; }
  .mb-search-box input[type="search"] {
    font-size: 15px !important;
    padding: 14px 16px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .mb-search-box button[type="submit"] {
    position: static !important;
    transform: none !important;
    right: auto !important; top: auto !important;
    flex-shrink: 0 !important;
    padding: 14px 16px !important;
  }

  /* Bouton fermer : icône blanche visible */
  .mb-search-close-btn {
    top: -42px !important;
    color: #fff !important;
    background: rgba(255,255,255,0.14) !important;
    border-color: rgba(255,255,255,0.25) !important;
  }
  .mb-search-close-btn svg { stroke: #fff !important; }
}

/* ============================================================
   RECHERCHE — fond sombre identique aux pages catégories
   ============================================================ */
body.search-results,
body.search-results #page,
body.search-results .site-content,
body.search-results #content {
  background: #141414 !important;
  color: #D0D0C8 !important;
}

/* CSS vars dark mode pour la page de recherche */
body.search-results {
  --bg:      #141414;
  --bg2:     #1E1E1E;
  --bg3:     #252525;
  --dark:    #F0F0EC;
  --dark2:   #D0D0C8;
  --dark3:   #A0A09A;
  --gray:    #707070;
  --border:  #2E2E2E;
  --border2: #383838;
}

/* Cartes produits dans les résultats de recherche */
body.search-results .woocommerce ul.products li.product {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

/* Titres et textes */
body.search-results .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #F0F0EC !important;
}
body.search-results .woocommerce ul.products li.product .price {
  color: #4A6741 !important;
}

/* ── Notifications sur toutes les pages sombres (search, shop, catégories, panier) ── */
body.search .woocommerce-info,
body.search .woocommerce-message,
body.search .woocommerce-error,
body.search-results .woocommerce-info,
body.search-results .woocommerce-message,
body.search-results .woocommerce-error,
body.woocommerce-shop .woocommerce-info,
body.woocommerce-shop .woocommerce-message,
body.woocommerce-shop .woocommerce-error,
body.tax-product_cat .woocommerce-info,
body.tax-product_cat .woocommerce-message,
body.tax-product_cat .woocommerce-error,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error {
  background: #1E1E1E !important;
  border-top-color: #4A6741 !important;
  color: #D0D0C8 !important;
  box-shadow: none !important;
}
body.search .woocommerce-info::before,
body.search .woocommerce-message::before,
body.search-results .woocommerce-info::before,
body.search-results .woocommerce-message::before,
body.woocommerce-shop .woocommerce-info::before,
body.woocommerce-shop .woocommerce-message::before,
body.tax-product_cat .woocommerce-info::before,
body.tax-product_cat .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-message::before {
  color: #4A6741 !important;
}
body.search .woocommerce-error,
body.search-results .woocommerce-error,
body.woocommerce-shop .woocommerce-error,
body.tax-product_cat .woocommerce-error,
body.woocommerce-cart .woocommerce-error {
  border-top-color: #C0392B !important;
}
/* Texte "aucun résultat" WordPress */
body.search .nothing-found,
body.search-results .nothing-found,
body.search .no-results,
body.search-results .no-results {
  background: transparent !important;
  color: #D0D0C8 !important;
}
body.search .page-header .page-title,
body.search-results .page-header .page-title {
  color: #F0F0EC !important;
}

/* Compteur et tri */
body.search-results .woocommerce-result-count,
body.search-results .woocommerce-ordering select {
  color: #A0A09A !important;
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
}

/* ============================================================
   CHECKOUT — Dark mode & layout propre
   ============================================================ */

/* Désactiver overflow hidden sur checkout pour que les widgets Boxtal soient visibles */
body.woocommerce-checkout,
body.woocommerce-checkout #page {
  overflow-x: visible !important;
  overflow: visible !important;
}

body.woocommerce-checkout {
  --bg:      #141414;
  --bg2:     #1E1E1E;
  --bg3:     #252525;
  --dark:    #F0F0EC;
  --dark2:   #D0D0C8;
  --dark3:   #A0A09A;
  --gray:    #707070;
  --border:  #2E2E2E;
  --border2: #383838;
  background: #141414 !important;
  color: #D0D0C8 !important;
}

body.woocommerce-checkout #page,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .hentry,
body.woocommerce-checkout main {
  background: #141414 !important;
  color: #D0D0C8 !important;
}

/* Supprimer l'espace vide du titre de page */
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .page-header {
  display: none !important;
}
body.woocommerce-checkout .hentry {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.woocommerce-checkout .entry-content {
  padding-top: 32px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Conteneur checkout — centré avec marges latérales */
body.woocommerce-checkout .col-full,
body.woocommerce-checkout #primary,
body.woocommerce-checkout #content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-checkout .woocommerce {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce { padding: 0 16px !important; }
}

body.woocommerce-checkout form.woocommerce-checkout {
  padding: 0 !important;
}

/* Colonnes billing/shipping et order review */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  padding: 0 !important;
  background: #141414 !important;
}

/* Notices code promo — conteneur */
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-info {
  margin-bottom: 16px !important;
}

/* Barre livraison gratuite — pas de débordement */
body.woocommerce-checkout .mb-free-shipping-bar-wrap {
  margin: 0 -24px !important;
}

/* ── Titres de section ── */
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
  color: #F0F0EC !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 1px solid #2E2E2E !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}

/* ── Labels ── */
body.woocommerce-checkout label,
body.woocommerce-checkout .woocommerce-checkout label {
  color: #A0A09A !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
}

/* ── Inputs / Selects / Textarea ── */
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 4px !important;
  color: #F0F0EC !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  height: auto !important;
}
body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
  border-color: #4A6741 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(74,103,65,0.18) !important;
}
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder { color: #555 !important; }

/* Select2 (pays/région) */
body.woocommerce-checkout .select2-container--default .select2-selection--single {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 4px !important;
  height: 42px !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #F0F0EC !important;
  line-height: 42px !important;
  padding-left: 14px !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
}
body.woocommerce-checkout .select2-dropdown {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
}
body.woocommerce-checkout .select2-results__option { color: #D0D0C8 !important; }
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted {
  background: #4A6741 !important;
  color: #fff !important;
}
body.woocommerce-checkout .select2-search--dropdown input {
  background: #252525 !important;
  border-color: #2E2E2E !important;
  color: #F0F0EC !important;
}

/* ── Checkbox "Expédier à une adresse différente" ── */
body.woocommerce-checkout #ship-to-different-address label,
body.woocommerce-checkout #ship-to-different-address span {
  color: #D0D0C8 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

/* ── Code promo ── */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 4px !important;
  color: #D0D0C8 !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
}
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .checkout_coupon {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
  color: #D0D0C8 !important;
}
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #6B9460 !important; }

/* ── Tableau récapitulatif ── */
body.woocommerce-checkout table.shop_table {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  background-color: #1E1E1E !important;
  border-color: #2E2E2E !important;
  color: #D0D0C8 !important;
  font-family: 'Inter', sans-serif !important;
  padding: 12px 16px !important;
}
body.woocommerce-checkout table.shop_table tbody tr td,
body.woocommerce-checkout table.shop_table tbody tr th {
  background-color: #1E1E1E !important;
  color: #D0D0C8 !important;
}
body.woocommerce-checkout table.shop_table tfoot tr td,
body.woocommerce-checkout table.shop_table tfoot tr th {
  background-color: #1E1E1E !important;
  color: #D0D0C8 !important;
}
body.woocommerce-checkout table.shop_table thead th {
  background-color: #252525 !important;
  color: #A0A09A !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td {
  background-color: #252525 !important;
  color: #F0F0EC !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
body.woocommerce-checkout table.shop_table .product-name { font-weight: 500 !important; }

/* ── Section paiement ── */
body.woocommerce-checkout #payment {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  border-radius: 4px !important;
}
body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #2E2E2E !important;
  padding: 16px !important;
  background: #1E1E1E !important;
}
/* Chaque méthode de paiement (Stripe, Klarna, etc.) */
body.woocommerce-checkout #payment ul.payment_methods li,
body.woocommerce-checkout #payment li.wc_payment_method,
body.woocommerce-checkout #payment .wc_payment_method {
  background: #1E1E1E !important;
  border-color: #2E2E2E !important;
  padding: 10px 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods label {
  color: #D0D0C8 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}
/* Boîte formulaire paiement (contient l'iframe Stripe) */
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment div.payment_box * {
  background: #252525 !important;
  color: #A0A09A !important;
}
body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #252525 !important;
}
/* Conteneur interne Stripe (fieldset, form, wrappers) */
body.woocommerce-checkout #payment fieldset,
body.woocommerce-checkout #payment .wc-credit-card-form,
body.woocommerce-checkout #payment #wc-stripe-upe-form,
body.woocommerce-checkout #payment .wc-stripe-upe-form,
body.woocommerce-checkout #payment #wc-stripe-payment-element,
body.woocommerce-checkout #payment .wc-stripe-elements-field {
  background: #252525 !important;
  border-color: #383838 !important;
}
/* Champs texte dans la boîte paiement */
body.woocommerce-checkout #payment input[type="text"],
body.woocommerce-checkout #payment input[type="number"],
body.woocommerce-checkout #payment input[type="tel"] {
  background: #1E1E1E !important;
  border: 1px solid #2E2E2E !important;
  color: #F0F0EC !important;
}
/* Zone place-order (bas du #payment) */
body.woocommerce-checkout #payment .form-row.place-order {
  background: #1E1E1E !important;
  padding: 20px 16px !important;
}
/* Notice données personnelles / politique de confidentialité */
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-privacy-policy-text p,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  background: transparent !important;
  border: none !important;
  color: #707070 !important;
  font-size: 12px !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #7ab86e !important;
}

/* ── Bouton Commander ── */
body.woocommerce-checkout #payment #place_order {
  background: #4A6741 !important;
  border: none !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 16px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  margin-top: 16px !important;
}
body.woocommerce-checkout #payment #place_order:hover { background: #5A7D50 !important; }

/* ── Boutons express (Apple Pay, Google Pay, Amazon Pay, Link) ── */
.woocommerce-checkout #wc-stripe-express-checkout-element,
.woocommerce-checkout #wc-stripe-express-checkout-element-separator,
.woocommerce-checkout #wc-stripe-payment-request-button-wrapper,
.woocommerce-checkout #wc-stripe-payment-request-button,
.woocommerce-checkout #wc-stripe-payment-request-button-separator,
.woocommerce-checkout .wc-stripe-express-checkout-button-separator-container,
.woocommerce-checkout #wc-stripe-payment-request-wrapper,
.woocommerce-checkout .stripe-express-checkout-element,
.woocommerce-checkout .wc-stripe-express-checkout-element,
.woocommerce-checkout [id*="stripe-payment-request"],
.woocommerce-checkout [id*="stripe-express"],
.woocommerce-checkout [class*="stripe-express"],
.woocommerce-checkout [class*="payment-request"],
.woocommerce-checkout .wc-stripe-prc-button,
.woocommerce-checkout .wcpay-express-checkout-wrapper,
.woocommerce-checkout #wc-stripe-express-checkout-section {
  display: none !important;
}

/* ── Barre livraison gratuite ── */
body.woocommerce-checkout .mb-free-shipping-bar {
  background: #1E1E1E !important;
  border-bottom: 1px solid #2E2E2E !important;
}

/* ── Méthodes d'expédition dans le checkout ── */
body.woocommerce-checkout #shipping_method li {
  color: #D0D0C8 !important;
  font-family: 'Inter', sans-serif !important;
  padding: 6px 0 !important;
}
body.woocommerce-checkout #shipping_method li label {
  color: #D0D0C8 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
body.woocommerce-checkout .woocommerce-shipping-destination { color: #A0A09A !important; }

/* ── Notices info (zone de livraison, code promo toggle) ── */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message:not(.woocommerce-message--warning),
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: #1E1E1E !important;
  border-top-color: #4A6741 !important;
  color: #D0D0C8 !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before {
  color: #4A6741 !important;
}
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-message a {
  color: #7ab86e !important;
}
body.woocommerce-checkout .woocommerce-info a:hover,
body.woocommerce-checkout .woocommerce-message a:hover {
  color: #9fd496 !important;
}
