/* =====================
   HOMEPAGE — Bouton 24,99€ (EXPRESS)
   Seule différence vs les deux autres : pas de bordure et mauvaise police.
   On corrige uniquement ces deux propriétés.
===================== */
.elementor-element.elementor-element-24614aa0 .elementor-button.elementor-button {
  border: 1.77778px solid rgba(255, 255, 255, 0.3) !important;
  font-family: "Bebas Neue", sans-serif !important;
}

/* =====================
   FOOTER
===================== */
#footer,
#footer *:not(i):not(.material-icons) {
  color: #ffffff !important;
}
#footer a:hover,
#footer a:focus {
  color: #24b9d7 !important;
}

/* Footer mobile — supprime le fond clair des accordéons ps_linklist */
#footer .links ul,
#footer .links ul.collapse,
#footer .links ul.collapsing,
#footer .block_newsletter,
#footer .block_newsletter form { background: transparent !important; }
#footer .links ul li { background: transparent !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
#footer .links ul li:last-child { border-bottom: none !important; }
#footer .links ul li a { padding: 10px 0 !important; display: block !important; }

/* Aligne le padding des blocs footer sur mobile (col-md-6 vs col-md-3) */
@media (max-width: 991px) {
  #footer .col-md-6.links,
  #footer .col-md-3.links { padding-left: 0 !important; padding-right: 0 !important; }
}

/* =====================
   LOGO & HEADER — toutes pages
===================== */
#header #_desktop_logo .logo,
#header #_desktop_logo img.logo {
  height: 112px !important;
  width: auto !important;
  max-height: none !important;
}
#header #_desktop_logo {
  display: flex !important;
  align-items: center !important;
  padding-left: 40px !important;
}
/* Header fond violet dès le chargement — toutes pages sauf index (géré par index.tpl) */
body:not(.page-index) #header {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 55%, #2d1f6e 100%) !important;
}

/* =====================
   PAGES SOMBRES — fond dégradé
===================== */
/* Dégradé sur body — wrapper/content transparents pour un fond unifié de haut en bas */
body.page-cms,
body.page-contact,
body.page-customer-account,
body.page-my-account,
body.page-addresses,
body.page-identity,
body.page-history,
body.page-order-follow,
body.page-authentication,
body.page-registration {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
}
body.page-cms #wrapper,
body.page-contact #wrapper,
body.page-customer-account #wrapper,
body.page-my-account #wrapper,
body.page-addresses #wrapper,
body.page-identity #wrapper,
body.page-history #wrapper,
body.page-order-follow #wrapper,
body.page-authentication #wrapper,
body.page-registration #wrapper,
body.page-cms #content-wrapper,
body.page-cms #main {
  background: transparent !important;
}

/* =====================
   TEXTES EN BLANC
===================== */
body.page-cms #content,
body.page-contact #content,
body.page-customer-account #content,
body.page-my-account #content,
body.page-addresses #content,
body.page-identity #content,
body.page-history #content,
body.page-order-follow #content,
body.page-authentication #content,
body.page-registration #content,
body.page-cms #content *:not(a),
body.page-contact #content *,
body.page-customer-account #content *,
body.page-my-account #content *,
body.page-addresses #content *,
body.page-identity #content *,
body.page-history #content *,
body.page-order-follow #content *,
body.page-authentication #content *,
body.page-registration #content *,
body.page-customer-account .breadcrumb,
body.page-customer-account .breadcrumb *,
body.page-customer-account .page-header,
body.page-customer-account .page-header *,
body.page-my-account .breadcrumb,
body.page-my-account .breadcrumb *,
body.page-my-account .page-header,
body.page-my-account .page-header *,
body.page-addresses .breadcrumb,
body.page-addresses .breadcrumb *,
body.page-addresses .page-header,
body.page-addresses .page-header *,
body.page-identity .breadcrumb,
body.page-identity .breadcrumb *,
body.page-identity .page-header,
body.page-identity .page-header *,
body.page-history .breadcrumb,
body.page-history .breadcrumb *,
body.page-history .page-header,
body.page-history .page-header * {
  color: #ffffff !important;
  background-color: transparent !important;
}

/* Liens hypertextes dans les pages CMS — couleur et soulignage */
body.page-cms #content a {
  color: #5a9ae8 !important;
  text-decoration: underline !important;
}
body.page-cms #content a:hover {
  color: #5a9ae8 !important;
  opacity: 0.8;
}

/* Hover bleu ciel — toute la page, pas seulement #content */
body.page-cms a:hover,
body.page-contact a:hover,
body.page-customer-account a:hover,
body.page-my-account a:hover,
body.page-addresses a:hover,
body.page-identity a:hover,
body.page-history a:hover,
body.page-order-follow a:hover,
body.page-authentication a:hover,
body.page-registration a:hover,
body.page-cms a:focus,
body.page-contact a:focus,
body.page-customer-account a:focus,
body.page-my-account a:focus,
body.page-addresses a:focus,
body.page-identity a:focus,
body.page-history a:focus,
body.page-order-follow a:focus,
body.page-authentication a:focus,
body.page-registration a:focus {
  color: #5a9ae8 !important;
  text-decoration: none !important;
}

/* =====================
   PAGES CMS — cacher fil d'ariane et titre
===================== */
body.page-cms .breadcrumb,
body.page-cms .breadcrumb-wrapper,
body.page-cms .page-header {
  display: none !important;
}

/* =====================
   PAGES CMS — header harmonisé avec l'accueil
===================== */
/* Hover bleu #5a9ae8 sur les liens du menu (toutes pages hors index) */
body:not(.page-index) #header a:hover,
body:not(.page-index) #header a:focus,
body:not(.page-index) #header .top-menu a:hover,
body:not(.page-index) #header .top-menu a:focus,
body:not(.page-index) #header .dropdown-item:hover,
body:not(.page-index) #contact-link a:hover {
  color: #5a9ae8 !important;
  text-decoration: none !important;
}
/* Police Barlow */
body.page-cms,
body.page-cms #header *:not(.material-icons):not(i),
body.page-cms #footer *:not(.material-icons):not(i) {
  font-family: 'Barlow', sans-serif !important;
}
body.page-cms .material-icons,
body.page-cms i.material-icons,
body.page-cms #header .material-icons,
body.page-cms #header i.material-icons {
  font-family: 'Material Icons' !important;
  font-style: normal !important;
}

/* Header compact et sticky */
body.page-cms #header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: background 0.35s ease !important;
}
body.page-cms .header-nav {
  min-height: 36px !important;
  padding: 4px 0 !important;
  border-bottom: none !important;
}
body.page-cms .header-top {
  padding: 10px 0 !important;
}
/* logo géré globalement ci-dessous */
body.page-cms #search_widget,
body.page-cms .search-widget {
  display: none !important;
}
body.page-cms #wrapper {
  padding-top: 0 !important;
}

body.page-cms .page-content {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  padding-left: 52px !important;
  padding-right: 52px !important;
  max-width: none !important;
}
body.page-cms #content-wrapper,
body.page-cms #main {
  max-width: none !important;
  width: 100% !important;
}
body.page-cms .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page-cms .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Footer — toutes pages sombres */
body.page-cms #footer,
body.page-contact #footer,
body.page-customer-account #footer,
body.page-my-account #footer,
body.page-addresses #footer,
body.page-identity #footer,
body.page-history #footer,
body.page-order-follow #footer,
body.page-authentication #footer,
body.page-registration #footer {
  background: linear-gradient(135deg, #161b3a 0%, #2d1f6e 100%) !important;
}
body.page-cms #footer *,
body.page-contact #footer *,
body.page-customer-account #footer *,
body.page-my-account #footer *,
body.page-addresses #footer *,
body.page-identity #footer *,
body.page-history #footer *,
body.page-order-follow #footer *,
body.page-authentication #footer *,
body.page-registration #footer * { color: white !important; }
body.page-cms #footer a,
body.page-contact #footer a,
body.page-customer-account #footer a,
body.page-my-account #footer a,
body.page-addresses #footer a,
body.page-identity #footer a,
body.page-history #footer a,
body.page-order-follow #footer a,
body.page-authentication #footer a,
body.page-registration #footer a { color: rgba(247,246,242,0.85) !important; transition: color 0.2s !important; }
body.page-cms #footer a:hover,
body.page-contact #footer a:hover,
body.page-customer-account #footer a:hover,
body.page-my-account #footer a:hover,
body.page-addresses #footer a:hover,
body.page-identity #footer a:hover,
body.page-history #footer a:hover,
body.page-order-follow #footer a:hover,
body.page-authentication #footer a:hover,
body.page-registration #footer a:hover { color: #5a9ae8 !important; }
body.page-cms #footer .h3, body.page-cms #footer h3, body.page-cms #footer p.h3,
body.page-identity #footer .h3, body.page-identity #footer h3,
body.page-customer-account #footer .h3, body.page-customer-account #footer h3,
body.page-my-account #footer .h3, body.page-my-account #footer h3,
body.page-addresses #footer .h3, body.page-addresses #footer h3,
body.page-history #footer .h3, body.page-history #footer h3,
body.page-authentication #footer .h3, body.page-authentication #footer h3,
body.page-registration #footer .h3, body.page-registration #footer h3 { color: #5a9ae8 !important; font-size: 16px !important; font-weight: 700 !important; }

/* =====================
   FORMULAIRES
===================== */
body.page-customer-account .form-control,
body.page-my-account .form-control,
body.page-addresses .form-control,
body.page-identity .form-control,
body.page-authentication .form-control,
body.page-registration .form-control {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
body.page-customer-account .form-control::placeholder,
body.page-my-account .form-control::placeholder,
body.page-addresses .form-control::placeholder,
body.page-identity .form-control::placeholder,
body.page-authentication .form-control::placeholder,
body.page-registration .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
body.page-customer-account .form-control:focus,
body.page-my-account .form-control:focus,
body.page-addresses .form-control:focus,
body.page-identity .form-control:focus,
body.page-authentication .form-control:focus,
body.page-registration .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #24b9d7 !important;
  outline: none !important;
}

/* =====================
   CARTES ADRESSES
===================== */
body.page-addresses #content article.address {
  background-color: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
}
/* Override exact theme.css pour hover liens adresses */
.page-addresses .address .address-footer a:hover,
.page-addresses .address .address-footer a:focus,
.page-addresses .addresses-footer a:hover,
.page-addresses .addresses-footer a:focus {
  color: #24b9d7 !important;
}

/* =====================
   HEADER — toutes les pages sauf index (géré par index.tpl)
===================== */
body:not(.page-index) #header {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 55%, #2d1f6e 100%) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: background 0.35s ease !important;
}
body:not(.page-index) #header *:not(i):not(.material-icons):not(img):not(svg) {
  color: #ffffff !important;
  background-color: transparent !important;
}
/* logo géré globalement ci-dessous */
body:not(.page-index) .header-nav {
  min-height: 36px !important;
  padding: 4px 0 !important;
  border-bottom: none !important;
}
body:not(.page-index) .header-top {
  padding: 10px 0 !important;
}
body:not(.page-index) #search_widget,
body:not(.page-index) .search-widget {
  display: none !important;
}
body:not(.page-index) #wrapper {
  padding-top: 0 !important;
}
body:not(.page-index) .material-icons,
body:not(.page-index) i.material-icons {
  font-family: 'Material Icons' !important;
  font-style: normal !important;
}
/* Barre de recherche */
#header .search-widget input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
/* Hover liens du header */
#header a:hover,
#header a:focus,
#header #_desktop_contact_link a:hover,
#header #_desktop_contact_link a:focus,
#header .user-info a:hover,
#header .user-info a:focus,
#header .dropdown-item:hover,
#header .top-menu a:hover,
#header .top-menu a:focus,
#header nav a:hover,
#header nav a:focus {
  color: #5a9ae8 !important;
  text-decoration: none !important;
}

/* =====================
   PAGE VÉRIFIER — harmonisée avec l'accueil
===================== */

/* Forcer la police Barlow comme sur l'accueil (thème charge Manrope par défaut) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

body#module-bcsgrading-verify,
body#module-bcsgrading-verify *:not(i):not(.material-icons) {
  font-family: 'Barlow', sans-serif !important;
}

/* Fond page */
body#module-bcsgrading-verify,
body#module-bcsgrading-verify #wrapper {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  min-height: 0 !important;
}

/* Page vérifier — layout */
body#module-bcsgrading-verify #wrapper { padding-top: 0 !important; }
body#module-bcsgrading-verify .page-content { padding: 0 !important; }
body#module-bcsgrading-verify .bcs-verify { padding: 40px 52px !important; }
body#module-bcsgrading-verify .container,
body#module-bcsgrading-verify #content-wrapper,
body#module-bcsgrading-verify #main {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
body#module-bcsgrading-verify .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Masquer le h1 auto-généré par page.tpl (évite le double titre et la zone vide) */
body#module-bcsgrading-verify header.page-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* Police Barlow sur toute la page vérifier — même que l'accueil */
body#module-bcsgrading-verify,
body#module-bcsgrading-verify #header,
body#module-bcsgrading-verify #footer {
  font-family: 'Barlow', sans-serif !important;
}
/* Restaurer Material Icons pour les icônes du header */
body#module-bcsgrading-verify .material-icons,
body#module-bcsgrading-verify i.material-icons,
body#module-bcsgrading-verify #header .material-icons,
body#module-bcsgrading-verify #header i.material-icons,
body#module-bcsgrading-verify .header-nav .material-icons,
body#module-bcsgrading-verify .header-top .material-icons {
  font-family: 'Material Icons' !important;
  font-style: normal !important;
}

/* Header — même style que l'accueil */
body#module-bcsgrading-verify #header {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 55%, #2d1f6e 100%) !important;
  position: sticky !important; top: 0 !important; z-index: 1000 !important;
  transition: background 0.35s ease !important;
}
body#module-bcsgrading-verify #header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.35) !important;
}
body#module-bcsgrading-verify .header-nav {
  min-height: 36px !important; padding: 4px 0 !important;
  border-bottom: none !important; background: transparent !important;
}
body#module-bcsgrading-verify .header-top { padding: 10px 0 !important; background: transparent !important; }
/* logo géré globalement ci-dessous */
body#module-bcsgrading-verify #search_widget,
body#module-bcsgrading-verify .search-widget { display: none !important; }

/* Hover liens header */
body#module-bcsgrading-verify #header a:hover,
body#module-bcsgrading-verify #header .dropdown-item:hover,
body#module-bcsgrading-verify #header .top-menu a:hover,
body#module-bcsgrading-verify #header .header-nav a:hover,
body#module-bcsgrading-verify #contact-link a:hover { color: #5a9ae8 !important; text-decoration: none !important; }

/* Breadcrumb */
body#module-bcsgrading-verify .breadcrumb,
body#module-bcsgrading-verify .breadcrumb-item a,
body#module-bcsgrading-verify .breadcrumb-item.active,
body#module-bcsgrading-verify .breadcrumb-item + .breadcrumb-item::before {
  background: transparent !important; color: rgba(247,246,242,0.45) !important;
}

/* Card formulaire */
body#module-bcsgrading-verify .card,
body#module-bcsgrading-verify .card-block {
  background: rgba(247,246,242,0.04) !important;
  border: 1px solid rgba(106,79,200,0.35) !important;
  border-radius: 8px !important; color: #fff !important;
}

/* Label "Numéro de série" — blanc pur, bold, aligné gauche */
body#module-bcsgrading-verify label[for="bcs_q"] {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 15px !important;
  display: block !important;
  text-align: left !important;
  margin-bottom: 8px !important;
}

/* Champ de saisie */
body#module-bcsgrading-verify .form-control {
  font-family: 'Barlow', sans-serif !important;
  background-color: rgba(15,18,40,0.6) !important;
  border: 1px solid rgba(106,79,200,0.4) !important;
  color: #ffffff !important; border-radius: 4px !important;
}
body#module-bcsgrading-verify .form-control::placeholder { color: rgba(247,246,242,0.4) !important; }
body#module-bcsgrading-verify .form-control:focus {
  border-color: #5a9ae8 !important;
  box-shadow: 0 0 0 3px rgba(90,154,232,0.2) !important; outline: none !important;
}

/* Bouton Vérifier */
body#module-bcsgrading-verify .btn-primary {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  letter-spacing: 1px !important; text-transform: uppercase !important;
  background: #3a7bd5 !important; border: none !important;
  border-radius: 4px !important; color: #ffffff !important; transition: background 0.2s !important;
}
body#module-bcsgrading-verify .btn-primary:hover { background: #5a9ae8 !important; box-shadow: none !important; }

/* Textes tableau résultats */
body#module-bcsgrading-verify label,
body#module-bcsgrading-verify h3,
body#module-bcsgrading-verify th,
body#module-bcsgrading-verify td { font-family: 'Barlow', sans-serif !important; color: rgba(247,246,242,0.88) !important; }
body#module-bcsgrading-verify .text-muted,
body#module-bcsgrading-verify .form-text { color: rgba(247,246,242,0.55) !important; }
body#module-bcsgrading-verify .table td,
body#module-bcsgrading-verify .table th { border-color: rgba(247,246,242,0.1) !important; }

/* Footer */
body#module-bcsgrading-verify #footer { background: linear-gradient(135deg, #161b3a 0%, #2d1f6e 100%) !important; }
body#module-bcsgrading-verify #footer * { color: white !important; }
body#module-bcsgrading-verify #footer a { color: rgba(247,246,242,0.85) !important; transition: color 0.2s !important; }
body#module-bcsgrading-verify #footer a:hover { color: #5a9ae8 !important; }
body#module-bcsgrading-verify #footer .h3,
body#module-bcsgrading-verify #footer h3,
body#module-bcsgrading-verify #footer p.h3 { color: #5a9ae8 !important; font-size: 16px !important; font-weight: 700 !important; }

/* =====================
   PAGE PRODUIT GRADATION
===================== */
/* Fond harmonisé */
body.page-product,
body.page-product #wrapper {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
body.page-product #content-wrapper,
body.page-product #main { background: transparent !important; }

/* Police Barlow */
body.page-product *:not(.material-icons):not(i) {
  font-family: 'Barlow', sans-serif !important;
}
body.page-product .material-icons,
body.page-product i.material-icons {
  font-family: 'Material Icons' !important;
  font-style: normal !important;
}

/* H1 */
body.page-product h1 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(28px, 3vw, 48px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
  margin-top: 32px !important;
}

/* Image fond transparent */
body.page-product .product-cover,
body.page-product .product-cover img,
body.page-product .images-container { background: transparent !important; }

/* Description et onglets */
body.page-product .product-description,
body.page-product .product-description *,
body.page-product .tabs,
body.page-product .tabs *,
body.page-product .tab-content,
body.page-product .tab-content *,
body.page-product #product-details,
body.page-product #product-details * { background: transparent !important; color: #ffffff !important; }
body.page-product .nav-tabs { background: transparent !important; border-color: rgba(255,255,255,0.2) !important; }
body.page-product .nav-tabs .nav-link { color: rgba(247,246,242,0.7) !important; background: transparent !important; }
body.page-product .nav-tabs .nav-link.active { color: #ffffff !important; border-bottom-color: #5a9ae8 !important; }

/* Textes blancs */
body.page-product #content-wrapper * { color: #ffffff !important; }

/* Hover */
body.page-product a:hover,
body.page-product a:focus {
  color: #5a9ae8 !important;
  text-decoration: none !important;
}

/* Boutons délai */
body.page-product .radio-label,
body#product .radio-label {
  background-color: rgba(255, 255, 255, 0.12) !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 10px 20px !important;
}
body.page-product .radio-label .bcs-delay-sub {
  display: inline !important;
  font-size: 12px !important;
  opacity: 0.85 !important;
  margin-left: 4px !important;
}
body.page-product .radio-label .bcs-price-inline {
  font-weight: 700 !important;
  font-size: 15px !important;
  margin-top: 4px !important;
  display: block !important;
}
/* Hover fond bleu plein */
body.page-product .radio-label:hover {
  background: #3a7bd5 !important;
  border-color: #3a7bd5 !important;
  color: #ffffff !important;
}
body.page-product .radio-label.selected,
body.page-product input[type="radio"]:checked + .radio-label {
  background: #3a7bd5 !important;
  border-color: #3a7bd5 !important;
  color: #ffffff !important;
}

/* Masquer fil d'ariane */
body.page-product .breadcrumb,
body.page-product .breadcrumb-wrapper,
body.page-product nav.breadcrumb { display: none !important; }

/* Footer */
body.page-product #footer {
  background: linear-gradient(135deg, #161b3a 0%, #2d1f6e 100%) !important;
}
body.page-product #footer * { color: white !important; }
body.page-product #footer a { color: rgba(247,246,242,0.85) !important; transition: color 0.2s !important; }
body.page-product #footer a:hover { color: #5a9ae8 !important; }
body.page-product #footer .h3,
body.page-product #footer h3,
body.page-product #footer p.h3 { color: #5a9ae8 !important; font-size: 16px !important; font-weight: 700 !important; }

/* =====================
   RÉASSURANCE — icônes SVG en bleu
===================== */
.blockreassurance_product svg path,
.blockreassurance_product svg circle,
.blockreassurance_product svg rect,
.blockreassurance_product svg polygon,
.blockreassurance_product svg line,
.blockreassurance_product svg polyline,
.blockreassurance_product svg ellipse,
.block-reassurance svg path,
.block-reassurance svg circle,
.block-reassurance svg rect {
  fill: #24b9d7 !important;
  stroke: none !important;
}

/* =====================
   MODALE IMAGE PRODUIT — fond sombre
   Note : le backdrop est injecté via custom.js car Bootstrap 3
   ne le génère pas automatiquement sur cette version de PS
===================== */
#bcs-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1040;
  display: none;
}

/* =====================
   ONGLET "DÉTAILS DU PRODUIT" — masqué
===================== */
body.page-product a[href="#product-details"] {
  display: none !important;
}
/* Trait sous les onglets — uniquement sous "Description", pas sur toute la largeur */
body.page-product .nav-tabs {
  border-bottom: none !important;
}
body.page-product .nav-tabs .nav-link.active {
  border-bottom: 3px solid #24b9d7 !important;
}

/* =====================
   DESCRIPTION PRODUIT — listes
===================== */
/* Puce visible en blanc sur fond sombre */
body.page-product .tab-content ul li,
body.page-product .product-description ul li {
  color: #ffffff !important;
  list-style-type: disc !important;
  margin-left: 1.2em !important;
}
/* Supprimer le <p> qui casse la mise en page puce/texte */
body.page-product .tab-content ul li p,
body.page-product .product-description ul li p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Espacer correctement les items sans saut de ligne parasite */
body.page-product .tab-content ul li + li,
body.page-product .product-description ul li + li {
  margin-top: 6px !important;
}
/* Couleur de la puce elle-même en cyan */
body.page-product .tab-content ul li::marker,
body.page-product .product-description ul li::marker {
  color: #24b9d7 !important;
}

/* =====================
   TABLEAU "AJOUTER MES CARTES"
===================== */
/* Conteneur principal — fond transparent pour suivre le dégradé de la page */
body#product #bcs-cards-builder {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Titre centré, sans ":", sans trait décoratif, espacé */
#bcs-cards-builder .bcs-title {
  justify-content: center !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  /* Masque le ":" en fin de titre via clip du contenu texte */
  font-size: 0 !important;
}
#bcs-cards-builder .bcs-title::before {
  content: "Ajouter mes cartes";
  font-size: 16px !important;
  font-weight: 900 !important;
}
#bcs-cards-builder .bcs-title::after {
  display: none !important;
}

/* En-têtes colonnes — centrés, compacts, uppercase */
#bcs-cards-builder .bcs-row.bcs-header {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-bottom: none !important;
  padding-bottom: 2px !important;
  margin-bottom: 4px !important;
  margin-top: 10px !important;
  opacity: 1 !important;
}
#bcs-cards-builder .bcs-row.bcs-header > div {
  justify-content: center !important;
  text-align: center !important;
  padding-left: 0 !important;
}

/* Espacement vertical réduit entre les lignes */
#bcs-cards-builder .bcs-row {
  margin-bottom: 6px !important;
  gap: 8px !important;
}

/* Inputs & selects */
#bcs-cards-builder select,
#bcs-cards-builder input {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 10px !important;
}
#bcs-cards-builder select:hover,
#bcs-cards-builder input:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}
#bcs-cards-builder select:focus,
#bcs-cards-builder input:focus {
  background: rgba(47, 181, 210, 0.1) !important;
  border-color: rgba(47, 181, 210, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(47, 181, 210, 0.15) !important;
}
#bcs-cards-builder input::placeholder {
  color: rgba(255, 255, 255, 0.28) !important;
}
#bcs-cards-builder select option {
  background: rgb(20, 26, 50) !important;
  color: #ffffff !important;
}

/* Dropdown custom */
#bcs-cards-builder .bcs-dd-btn {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 10px !important;
}
#bcs-cards-builder .bcs-dd-btn:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
}
#bcs-cards-builder .bcs-dd-list {
  background: rgb(20, 26, 50) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  border-radius: 10px !important;
}
#bcs-cards-builder .bcs-dd-opt {
  color: rgba(255, 255, 255, 0.7) !important;
}
#bcs-cards-builder .bcs-dd-opt:hover,
#bcs-cards-builder .bcs-dd-opt.selected {
  background: rgba(47, 181, 210, 0.15) !important;
  color: #ffffff !important;
}

/* Bouton × supprimer */
#bcs-cards-builder .bcs-remove {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  border-radius: 10px !important;
}
#bcs-cards-builder .bcs-remove:hover {
  background: rgba(255, 60, 60, 0.15) !important;
  border-color: rgba(255, 80, 80, 0.4) !important;
  color: #ff6b6b !important;
}

/* Zone actions : "+ Ajouter" à gauche, "Envoyer au panier" à droite */
#bcs-cards-builder .bcs-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 14px !important;
}

/* Bouton "+ Ajouter une autre carte" */
#bcs-cards-builder .bcs-add:not(.bcs-add-all) {
  color: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
}
#bcs-cards-builder .bcs-add:not(.bcs-add-all):hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Renommer le bouton "Ajouter les cartes au panier" → "Envoyer au panier" */
#bcs-cards-builder .bcs-add.bcs-add-all {
  font-size: 0 !important;
}
#bcs-cards-builder .bcs-add.bcs-add-all::after {
  content: "Envoyer au panier";
  font-size: 14px !important;
}

/* Message d'instruction masqué, sauf succès */
#bcs-cards-builder .bcs-msg {
  display: none !important;
}
#bcs-cards-builder .bcs-msg.bcs-ok {
  display: block !important;
  background: transparent !important;
  border: none !important;
  color: #6ee7a0 !important;
  padding: 4px 2px !important;
  font-size: 12px !important;
}

/* =====================
   MODALE IMAGE PRODUIT — fond sombre
   Uniquement quand #product-modal est ouvert (pas blockcart)
===================== */
body.modal-open:has(#product-modal.in)::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1039;
  pointer-events: none;
}

/* Masquer la bannière panier quand la modale image est ouverte */
body.modal-open:has(#product-modal.in) article.alert-info,
body.modal-open:has(#product-modal.in) .alert-info {
  opacity: 0 !important;
  border: none !important;
  pointer-events: none;
}

/* =====================
   PAGE PANIER & COMMANDE — fond harmonisé
===================== */
body.page-cart,
body.page-order,
body.page-cart #wrapper,
body.page-order #wrapper {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
body.page-cart #content-wrapper, body.page-cart #main,
body.page-order #content-wrapper, body.page-order #main { background: transparent !important; }

/* Police Barlow */
body.page-cart *:not(.material-icons):not(i):not([class*="paypal"]),
body.page-order *:not(.material-icons):not(i):not([class*="paypal"]) { font-family: 'Barlow', sans-serif !important; }
body.page-cart .material-icons, body.page-cart i.material-icons,
body.page-order .material-icons, body.page-order i.material-icons { font-family: 'Material Icons' !important; font-style: normal !important; }

/* Textes blancs */
body.page-cart #main *, body.page-order #main * { color: #ffffff !important; }

/* Blocs internes semi-transparents */
body.page-cart .cart-container, body.page-cart .cart-overview,
body.page-cart .cart-detailed-totals, body.page-cart .card, body.page-cart .card-block,
body.page-order .checkout-step, body.page-order .card, body.page-order .card-block {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

/* Inputs */
body.page-cart input, body.page-cart select, body.page-cart textarea,
body.page-order input:not([type="radio"]):not([type="checkbox"]), body.page-order select, body.page-order textarea {
  background-color: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}
body.page-cart input::placeholder, body.page-order input::placeholder { color: rgba(255,255,255,0.4) !important; }

/* Séparateurs */
body.page-cart hr, body.page-order hr { border-color: rgba(255,255,255,0.15) !important; }

/* Adresses et options livraison */
body.page-order .address-item, body.page-order .delivery-option {
  background-color: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
/* Textes dans les blocs adresses — forcer blanc */
body.page-order .address-item *,
body.page-order .address-alias,
body.page-order .address,
body.page-order address,
body.page-order .invoice-address *,
body.page-order .delivery-address * {
  color: #ffffff !important;
  background-color: transparent !important;
}
body.page-order .address-item.selected,
body.page-order .address-item:has(input:checked) {
  border-color: #5a9ae8 !important;
  background-color: rgba(90,154,232,0.1) !important;
}

/* Labels */
body.page-order label, body.page-cart label { color: #ffffff !important; }

/* Bouton Commander / Valider */
body.page-cart .btn-primary, body.page-order .btn-primary {
  background: #3a7bd5 !important;
  border-color: #3a7bd5 !important;
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
body.page-cart .btn-primary:hover, body.page-order .btn-primary:hover {
  background: #5a9ae8 !important;
  border-color: #5a9ae8 !important;
}

/* Hover liens */
body.page-cart a:hover, body.page-order a:hover { color: #5a9ae8 !important; }

/* Footer */
body.page-cart #footer, body.page-order #footer { background: linear-gradient(135deg, #161b3a 0%, #2d1f6e 100%) !important; }
body.page-cart #footer *, body.page-order #footer * { color: white !important; }
body.page-cart #footer a, body.page-order #footer a { color: rgba(247,246,242,0.85) !important; transition: color 0.2s !important; }
body.page-cart #footer a:hover, body.page-order #footer a:hover { color: #5a9ae8 !important; }
body.page-cart #footer .h3, body.page-cart #footer h3,
body.page-order #footer .h3, body.page-order #footer h3 { color: #5a9ae8 !important; font-size: 16px !important; font-weight: 700 !important; }

/* =====================
   PAGE COMMANDE — textes illisibles → blanc
===================== */

/* Titres des étapes (ADRESSES, MODE DE LIVRAISON, PAIEMENT...) */
body.page-order .step-title,
body.page-order .js-step-title,
body.page-order .step-title *,
body.page-order h1, body.page-order h2, body.page-order h3,
body.page-order h4, body.page-order h5, body.page-order h6 {
  color: #ffffff !important;
}

/* Récap commande droite — labels et montants */
body.page-order .label,
body.page-order .value,
body.page-order .subtotals *,
body.page-order .totals *,
body.page-order .checkout-order-summary *,
body.page-order .order-summary *,
body.page-order .product-line-info *,
body.page-order .product-name,
body.page-order .qty,
body.page-order .price {
  color: #ffffff !important;
}

/* Textes généraux gris foncé */
body.page-order .form-control-label,
body.page-order .custom-control-description,
body.page-order .condition-label,
body.page-order .payment-option label,
body.page-order p,
body.page-order small,
body.page-order span:not(.material-icons),
body.page-order td, body.page-order th,
body.page-order caption,
body.page-order .dropdown-item,
body.page-order .dropdown-menu {
  color: #ffffff !important;
}

/* Inputs placeholder */
body.page-order .form-control::placeholder,
body.page-order input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Dropdown menu fond sombre */
body.page-order .dropdown-menu {
  background-color: #1a1130 !important;
  border-color: rgba(255,255,255,0.15) !important;
}
body.page-order .dropdown-item:hover {
  background-color: rgba(36,185,215,0.15) !important;
  color: #24b9d7 !important;
}

/* Liens — hover bleu ciel */
body.page-order a:not(.btn):hover,
body.page-order a:not(.btn):focus,
body.page-order .btn-link:hover,
body.page-order .btn-link:focus {
  color: #24b9d7 !important;
}

/* Séparateurs */
body.page-order hr,
body.page-order .separator,
body.page-order .checkout-step + .checkout-step {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Boutons secondaires (Modifier, Supprimer) */
body.page-order .btn-secondary,
body.page-order .btn-tertiary {
  color: #ffffff !important;
  background-color: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
}
body.page-order .btn-secondary:hover,
body.page-order .btn-tertiary:hover {
  background-color: rgba(36,185,215,0.2) !important;
  color: #24b9d7 !important;
  border-color: #24b9d7 !important;
}

/* =====================
   PAGE COMMANDE — cases à cocher
===================== */
/* Contour de la case non cochée */
body.page-order .custom-checkbox > span,
body.page-order .custom-radio > span {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}
/* Case cochée — fond cyan */
body.page-order .custom-checkbox input[type="checkbox"]:checked + span,
body.page-order .custom-radio input[type="radio"]:checked + span {
  background-color: #24b9d7 !important;
  border-color: #24b9d7 !important;
}
/* Icône coche — blanche */
body.page-order .custom-checkbox .checkbox-checked,
body.page-order .custom-checkbox .material-icons {
  color: #ffffff !important;
}
/* Checkbox native rétractation */
body.page-order input[type="checkbox"],
body.page-order input[type="radio"] {
  accent-color: #24b9d7 !important;
}
/* Focus */
body.page-order .custom-checkbox input[type="checkbox"]:focus + span,
body.page-order .custom-radio input[type="radio"]:focus + span {
  border-color: #24b9d7 !important;
  box-shadow: 0 0 0 3px rgba(36, 185, 215, 0.25) !important;
}

/* Checkbox rétractation — même style que CB1 custom PrestaShop */
body.page-order #bcs-retractation-checkbox {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  position: relative !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}
body.page-order #bcs-retractation-checkbox:checked {
  background-color: #24b9d7 !important;
  border-color: #24b9d7 !important;
}


/* Tableau récap produits en bas de commande */
body.page-order .order-confirmation-table,
body.page-order .order-confirmation-table * {
  background-color: transparent !important;
  color: #ffffff !important;
}
body.page-order .order-confirmation-table tr,
body.page-order .order-confirmation-table td,
body.page-order .order-confirmation-table th {
  border-color: rgba(255, 255, 255, 0.12) !important;
}
body.page-order .order-confirmation-table tfoot tr,
body.page-order .order-confirmation-table .total-value {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* =====================
   WIDGET MONDIAL RELAY — correction inputs invisibles
   Spécificité augmentée pour surpasser body.page-order input
===================== */
body.page-order #mondialrelay_widget input,
body.page-order #mondialrelay_widget select,
body.page-order .MR-Widget input,
body.page-order .MR-Widget select,
body.page-order .MRW-Search input,
body.page-order .MRW-Search select,
body.page-order input.Arg0,
body.page-order input.iArg0,
body.page-order input.Arg1,
body.page-order input.Arg2,
body.page-order input.Arg3,
body.page-order input.Arg4 {
  color: #1a1a2e !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
}
body.page-order #mondialrelay_widget input::placeholder,
body.page-order .MR-Widget input::placeholder,
body.page-order input.Arg0::placeholder,
body.page-order input.iArg0::placeholder,
body.page-order input.Arg1::placeholder,
body.page-order input.Arg2::placeholder {
  color: #999999 !important;
}
/* =====================
   PAGE CONFIRMATION DE COMMANDE — THEME SOMBRE
===================== */
body.page-order-confirmation {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  min-height: 100vh !important;
}
body.page-order-confirmation #wrapper {
  background: linear-gradient(135deg, #0f1228 0%, #161b3a 40%, #2d1f6e 100%) !important;
  min-height: 100vh !important;
}
body.page-order-confirmation #content-wrapper,
body.page-order-confirmation #main,
body.page-order-confirmation section#content,
body.page-order-confirmation #content-hook_order_confirmation,
body.page-order-confirmation .card,
body.page-order-confirmation .card-block,
body.page-order-confirmation .page-content.card,
body.page-order-confirmation .order-confirmation-table,
body.page-order-confirmation .total-value,
body.page-order-confirmation .total-value td,
body.page-order-confirmation .total-value th,
body.page-order-confirmation tr.total-value td {
  background: transparent !important;
  border-color: rgba(255,255,255,0.1) !important;
}

body.page-order-confirmation h1,
body.page-order-confirmation h2,
body.page-order-confirmation h3,
body.page-order-confirmation p,
body.page-order-confirmation span,
body.page-order-confirmation td,
body.page-order-confirmation th,
body.page-order-confirmation li,
body.page-order-confirmation label {
  color: #ffffff !important;
}

body.page-order-confirmation a {
  color: #5a9ae8 !important;
}

/* Cacher le fil d'Ariane */
body.page-order-confirmation nav.breadcrumb {
  display: none !important;
}

/* Footer */
body.page-order-confirmation #footer {
  background: linear-gradient(135deg, #161b3a 0%, #2d1f6e 100%) !important;
}
body.page-order-confirmation #footer *,
body.page-order-confirmation #footer a {
  color: white !important;
}

/* Masquer la section "produits populaires" */
body.page-order-confirmation .featured-products {
  display: none !important;
}
 

/* =====================
   S-TITLE-LIGHT — page vérifier (mêmes specs que l'accueil)
===================== */
body#module-bcsgrading-verify .s-title-light,
body#module-bcsgrading-verify h2.s-title-light,
body#module-bcsgrading-verify h1.s-title-light {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 64px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -1px !important;
  color: white !important;
  line-height: 1.0 !important;
  margin-bottom: 32px !important;
}
body#module-bcsgrading-verify .s-title-light span,
body#module-bcsgrading-verify h2.s-title-light span {
  color: #5a9ae8 !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 64px !important;
  font-weight: 800 !important;
}
/* =====================
   REDESIGN — chargé après toutes les règles existantes
   Ne pas supprimer cette ligne
===================== */
@import url('./bcs-redesign.css');
/* === BCS Population page : footer styling (mirror verify) === */
body#module-bcsgrading-population, body#module-bcsgrading-population #header, body#module-bcsgrading-population #footer { font-family: Barlow, sans-serif !important; }
body#module-bcsgrading-population #footer { background: linear-gradient(135deg, rgb(22, 27, 58) 0%, rgb(45, 31, 110) 100%) !important; }
body#module-bcsgrading-population #footer * { color: white !important; }
body#module-bcsgrading-population #footer a { color: rgba(247, 246, 242, 0.85) !important; transition: color 0.2s !important; }
body#module-bcsgrading-population #footer a:hover { color: rgb(90, 154, 232) !important; }
body#module-bcsgrading-population #footer .h3, body#module-bcsgrading-population #footer h3, body#module-bcsgrading-population #footer p.h3 { color: rgb(90, 154, 232) !important; font-size: 16px !important; font-weight: 700 !important; }
