/* ============================================
   FICHIER DE CONTRÔLE DE MIGRATION
   Permet d'activer/désactiver les styles progressivement
   ============================================ */

/* Phase 1 : Désactivé par défaut - À activer manuellement */
.enable-new-header {}

.enable-new-navigation {}

/* Accueil : réserver cinq lignes pour aligner les boutons des cartes univers. */
@media (min-width: 576px) {
  .h2-univers-grid > :is(.evenement, .lieux-de-vie, .pme) .post-details > p {
    min-height: 110px;
  }
}

.enable-new-footer {}

.enable-new-product-layout {}

.enable-new-category-layout {}

/* Surcharges de sécurité pour éviter les conflits */
/* À compléter au fur et à mesure des tests */

/* Exemple de surcharge pour protéger les éléments Pressero */
/*
.product-form .btn {
  font-size: 16px !important;
  border-radius: 3px !important;
}
*/

/* Basculer entre ancien et nouveau header */
/* Par défaut : ancien header */
.old-header {
  display: none;
}

.new-header {
  display: block;
  position: relative;
  z-index: 1000;
}

/* Forcer l'affichage du nouveau header */
.new-header header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ajuster le body pour le header fixed */
body {
  padding-top: 0 !important;
}

/* S'assurer que le header est visible */
.new-header .navbar {
  position: relative !important;
  background: transparent;
  margin-bottom: 0 !important;
}

/* Réinitialiser les styles Pressero qui cassent le layout */
.new-header .navbar-brand {
  float: none !important;
  height: auto !important;
  padding: 5px 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  display: block !important;
}

/* Gestion de l'affichage des logos (écraser library.css) */
.new-header .default-logo,
.new-header .alt-logo {
  display: block !important;
  margin: 0 auto !important;
  /* Centrer le logo */
}

.new-header .mobile-logo {
  display: none !important;
  margin: 0 auto !important;
  /* Centrer le logo mobile aussi */
}

/* Ajustement du champ de recherche pour qu'il soit plus large */
.new-header .header-search-field {
  max-width: 600px !important;
  /* Plus large que la maquette (400px) pour mieux remplir l'espace */
  width: 100%;
  margin: 0 auto;
}

.new-header .search-input-header {
  width: 100%;
}

.new-header .cart-empty,
.new-header .cart-total {
  margin-bottom: 0 !important;
}

.cart-empty .cart-empty__search {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.cart-empty .cart-empty__search .search-input-group {
  max-width: 600px;
  margin: 0 auto;
}

/* Masquer uniquement l'option Référence dans le récapitulatif du panier. */
body.page-cart #cartPageWrapDiv li.cart-item-reference {
  display: none !important;
}

.cart-product-item .cartPricingOptions-inner>ul .cart-item-option-title {
  font-weight: 400 !important;
  font-size: 14px !important;
  color: #204755 !important;
}

.cart-product-item .cartPricingOptions-inner>ul {
  font-size: 14px !important;
  color: #204755 !important;
}

.shipping-methods-table .col-name, .shipping-methods-table .col-desc {
  font-size: 12px !important;
  color: #204755 !important;
}
.shipping-methods-table .col-price{
  color: #204755 !important;
}
.shipping-methods-table .table-active{
  background-color: transparent !important;
} 
/* Styles du menu de navigation */
.new-header .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cibler TOUS les <li> du menu (avec ou sans classe) */
.new-header .navbar-nav>li {
  list-style: none !important;
  margin: 0 0 10px 0 !important;
  position: relative !important;
}

/* Cibler TOUS les <a> de premier niveau (avec ou sans classe) */
.new-header .navbar-nav>li>a {
  color: #232323 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 25px 0 12px 0 !important;
  margin: 0 18px;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
  line-height: 30px !important;
}

.new-header .navbar-nav>li>a:hover {
  color: rgba(0, 0, 0, .6) !important;
}

/* Ajouter le séparateur "|" après le premier item */
.new-header .navbar-nav>li:first-child>a::after {
  content: "  |" !important;
  /* Deux espaces avant le séparateur */
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-left: 5px !important;
  position: relative !important;
  top: 2px !important;
}

/* Ajouter l'icône utilisateur devant le dernier item (Connexion) */
.new-header .navbar-nav>li:last-child>a::before {
  content: "\f2bd" !important;
  /* Code Font Awesome pour fa-circle-user */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 8px !important;
}

/* Alignement strict à gauche pour les sous-menus (retrait du padding/margin nav-link de Bootstrap) */
.new-header .navbar-nav .dropdown-menu .nav-link.has-submenu {
  padding-left: 25px !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  display: inline-block;
}


/* ============================================
   STYLES GÉNÉRIQUES
   ============================================ */

/* Border-radius générique pour tous les boutons */
button,
.btn,
a.btn,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 4px !important;
}

a.btn.btn-small.btn-dark-gray.w-100 {
  background: #232323 !important;
  color: #fff !important;
}

/* ============================================
   FIN STYLES GÉNÉRIQUES
   ============================================ */

/* ============================================
   PAGE DE LOGIN / CONNEXION
   ============================================ */

/* Correction de l'affichage de la page de login */


body.page-account-create h3 {
  font-size: 20px !important;
}

#standard-content-wrapper {
  padding-top: 220px !important;
  min-height: 70vh;
}

/* Container sur la page de login */
body.page-login #loginPage .container,
body.page-login .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Centrer le formulaire de connexion - sélecteur très spécifique */
body.page-login #standard-content-wrapper .loginForm {
  max-width: 600px;
  margin: 0 auto 35px auto;
  padding: 4rem;
  background: white;
  border: 1px solid #d1d1d1;
  border-radius: 0;
}

@media (max-width: 991px) {
  body.page-login #standard-content-wrapper .loginForm {
    padding: 2.5rem;
  }
}

/* Style de la légende (header de la box) */
body.page-login #standard-content-wrapper .loginForm fieldset legend {
  display: block !important;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #204755;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  background: transparent !important;
}

body.page-login #standard-content-wrapper .loginForm fieldset legend i {
  margin-right: 10px;
  color: #204755;
  font-size: 20px;
}

/* Masquer l'icône de cadenas avant la légende */
body.page-login #standard-content-wrapper .loginForm fieldset legend::before {
  content: none !important;
  display: none !important;
}

/* Message de migration commun aux pages et fenêtres de connexion. */
.h2-login-migration-notice,
.h2-shipping-grouped-notice {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 3px solid #4fc0ea;
  background: #f0f9fc;
  color: #204755;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  white-space: normal;
}

/* Attente du calcul serveur avant la page de livraison, panier et connexion. */
dialog.h2-checkout-waiting {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 32px 26px 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #204755;
  text-align: center;
  box-shadow: 0 16px 60px rgba(32, 71, 85, .2);
  overflow-y: auto;
}

dialog.h2-checkout-waiting::backdrop {
  background: rgba(32, 71, 85, .4);
}

.h2-checkout-waiting h2 {
  margin: 0 0 16px;
  color: #204755;
  font-size: 22px;
  line-height: 1.35;
}

.h2-checkout-waiting p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
}

.h2-checkout-waiting__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 24px;
  border: 4px solid #e4f4fa;
  border-top-color: #4fc0ea;
  border-radius: 50%;
  animation: h2-checkout-waiting-spin 1s linear infinite;
}

.h2-checkout-waiting .h2-checkout-waiting__status {
  font-size: 13px;
}

.h2-checkout-waiting__dismiss {
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #204755;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

@keyframes h2-checkout-waiting-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .h2-checkout-waiting__spinner { animation: none; }
}

/* Style des labels */
body.page-login #standard-content-wrapper .loginForm label {
  display: block;
  margin-bottom: 15px;
  font-weight: 500;
  color: #204755;
}

/* Connexion /login (.loginForm) et /access (.access-login-form).
   Disponible avant l'initialisation JS de page-login, y compris pour type=email.
   Neutraliser les animations et transitions globales d'autofill du thème. */
#standard-content-wrapper .loginForm input[type="text"],
#standard-content-wrapper .loginForm input[type="email"],
#standard-content-wrapper .loginForm input[type="password"],
#standard-content-wrapper .access-login-form input[type="text"],
#standard-content-wrapper .access-login-form input[type="email"],
#standard-content-wrapper .access-login-form input[type="password"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  height: 50px !important;
  min-height: 50px;
  padding: 12px 15px !important;
  margin-bottom: 20px;
  border: 1px solid #d1d1d1 !important;
  border-radius: 0;
  background: #fff !important;
  color: #3e3e3e !important;
  -webkit-text-fill-color: #3e3e3e !important;
  caret-color: #3e3e3e;
  color-scheme: light;
  font-size: 16px;
  line-height: 24px;
  -webkit-appearance: none;
  appearance: none;
  animation: none !important;
  transition: border-color 0.15s ease-in-out !important;
}

#standard-content-wrapper .loginForm input[type="text"]:focus,
#standard-content-wrapper .loginForm input[type="email"]:focus,
#standard-content-wrapper .loginForm input[type="password"]:focus,
#standard-content-wrapper .access-login-form input[type="text"]:focus,
#standard-content-wrapper .access-login-form input[type="email"]:focus,
#standard-content-wrapper .access-login-form input[type="password"]:focus {
  border-color: #4fc0ea !important;
  outline: 2px solid #4fc0ea;
  outline-offset: 2px;
}

/* Chromium (dont Opera/Vivaldi) et Safari : garder le texte prérempli lisible.
   Les champs d'origine sont conservés pour le gestionnaire de mots de passe. */
#standard-content-wrapper .loginForm input[type="text"]:-webkit-autofill,
#standard-content-wrapper .loginForm input[type="email"]:-webkit-autofill,
#standard-content-wrapper .loginForm input[type="password"]:-webkit-autofill,
#standard-content-wrapper .access-login-form input[type="text"]:-webkit-autofill,
#standard-content-wrapper .access-login-form input[type="email"]:-webkit-autofill,
#standard-content-wrapper .access-login-form input[type="password"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #3e3e3e !important;
  animation: none !important;
  transition: border-color 0.15s ease-in-out !important;
}

/* Style du bouton de connexion */
body.page-login #standard-content-wrapper .loginForm input[type="submit"],
body.page-login #standard-content-wrapper .loginForm .submit.btn {
  width: 100%;
  padding: 15px 30px;
  background: #4fc0ea;
  border-color: #2d94bb;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
  border-radius: 4px;
}

body.page-login #standard-content-wrapper .loginForm input[type="submit"]:hover,
body.page-login #standard-content-wrapper .loginForm .submit.btn:hover {
  background: #4fc0ea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 192, 234, 0.3);
}

/* Style des liens (mot de passe oublié, créer un compte) */
body.page-login #standard-content-wrapper .loginFormLinks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

/* Lien "Réinitialiser votre mot de passe" */
body.page-login #standard-content-wrapper .loginFormLinks a.resetpassword {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

body.page-login #standard-content-wrapper .loginFormLinks a.resetpassword:hover {
  color: #232323;
  text-decoration: underline;
}

/* Bouton "Créer un compte" */
body.page-login #standard-content-wrapper .loginFormLinks a.createanaccount {
  color: #204755 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  display: inline-block;
  border: 2px solid transparent !important;
  text-transform: uppercase !important;
  width: auto !important;
  padding: 10px;
  font-family: 'Poppins', sans-serif !important;
  text-decoration: underline;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

/* Masquer les messages d'erreur vides */
body.page-login #standard-content-wrapper .field-validation-valid {
  display: none;
}

/* Style des listes */
body.page-login #standard-content-wrapper .loginForm ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.page-login #standard-content-wrapper .loginForm li {
  margin-bottom: 0;
}

/* Fieldset sans bordure */
body.page-login #standard-content-wrapper .loginForm fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Annuler les ombres et pseudo-éléments du loginForm */
body.page-login .loginForm:before,
body.page-login .loginForm:after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* ============================================
   FIN PAGE DE LOGIN
   ============================================ */

/* ============================================
   PAGE DE MOT DE PASSE PERDU / LOST PASSWORD
   ============================================ */

/* Container sur la page de mot de passe perdu */
body.page-lostpassword .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Wrapper du formulaire */
body.page-lostpassword .lostpassword-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Style du formulaire de mot de passe perdu */
body.page-lostpassword .lostpassword-form-styled {
  background: white;
  border: 1px solid #d1d1d1 !important;
  padding: 4rem !important;
  margin-bottom: 35px;
}

@media (max-width: 991px) {
  body.page-lostpassword .lostpassword-form-styled {
    padding: 2.5rem !important;
  }
}

/* Styliser les inputs */
body.page-lostpassword .lostpassword-form-styled .styled-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  font-size: 14px;
  color: #232323;
  background: white;
  transition: border-color 0.3s;
}

body.page-lostpassword .lostpassword-form-styled .styled-input:focus {
  border-color: #2d94bb;
  outline: none;
}

/* Styliser les labels */
body.page-lostpassword .lostpassword-form-styled .styled-label {
  font-weight: 600;
  color: #232323;
  font-size: 14px;
  display: inline-block;
}

/* Bouton de soumission */
body.page-lostpassword .lostpassword-form-styled .styled-submit {
  width: 100%;
  padding: 14px 30px;
  background: #232323;
  color: white;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
}

body.page-lostpassword .lostpassword-form-styled .styled-submit:hover {
  background: #2d94bb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 148, 187, 0.3);
}

/* ============================================
   FIN PAGE DE MOT DE PASSE PERDU
   ============================================ */

/* ============================================
   PAGE DES PARAMÈTRES / SETTINGS
   ============================================ */

/* Styliser les tabs Kendo pour ressembler aux nav-tabs modernes */
body.page-settings .k-tabstrip-items {
  display: flex;
  justify-content: left;
  text-align: center;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  body.page-settings .k-tabstrip-items {
    margin-bottom: 2rem;
  }
}

/* Style des items de tab */
body.page-settings .k-tabstrip-items .k-item {
  display: inline-block;
  float: none;
  margin: 0;
  padding: 0 35px;
  border: none !important;
  background: transparent !important;
  border-bottom: none !important;
}

/* Séparateur entre les tabs */
body.page-settings .k-tabstrip-items .k-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
}

body.page-settings .k-tabstrip-items .k-item {
  position: relative;
}

/* Style des liens */
body.page-settings .k-tabstrip-items .k-item .k-link {
  padding: 0;
  border: none;
  background: transparent !important;
  color: #828282;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  border-bottom: none !important;
  margin-bottom: 0;
}

/* Masquer le loading spinner */
body.page-settings .k-tabstrip-items .k-item .k-loading {
  display: none;
}

/*État hover */
body.page-settings .k-tabstrip-items .k-item:hover .k-link {
  color: #232323;
}

/*État actif */
body.page-settings .k-tabstrip-items .k-item.k-state-active .k-link,
body.page-settings .k-tabstrip-items .k-item.k-tab-on-top .k-link {
  color: #232323 !important;
  font-weight: 600;
  background: transparent !important;
  border: none !important;
}

/* Supprimer les bordures et backgrounds par défaut de Kendo */
body.page-settings .k-tabstrip-items .k-item.k-state-default,
body.page-settings .k-tabstrip-items .k-item.k-state-active,
body.page-settings .k-tabstrip-items .k-item.k-state-hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.page-settings .addressEntry-primary-header,
.user-entry-current-user-header {
  color: #204755 !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  font-family: 'Poppins', sans-serif !important;
  background-color: #f5f5f5 !important;
  padding: 10px 15px !important;
  border: none !important;
}

body.page-settings .addressEntry-inner.addressEntry-inner-primary,
.user-entry-info-current-user {
  border-color: #ccc !important;
  border-top-width: 0 !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

body.page-settings .addressEntry-inner.addressEntry-inner-primary,
.user-entry-info-current-user {
  border-color: #f5f5f5 !important;
  border-top-width: 0 !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

body.page-settings .settingsAddress li span,
.settingsLocation li span {
  font-weight: 500 !important;
  font-size: 14px !important;
  font-family: 'Poppins', sans-serif !important;
  margin: 0 10px 0 0 !important;
  display: inline-block !important;
  width: 120px !important;
}

body.page-settings .addressEntry-edit-buttons button {
  text-decoration: underline !important;
  color: #204755 !important;

}

body.page-settings a.btn.btn-success,
body.page-settings #btnApplyFilters,
body.page-settings #btnUpdatePwd,
body.page-settings #profileSubmit {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
  color: white !important;
  padding: 10px !important;
  border-radius: 4px !important;
}

body.page-settings a.btn.btn-success:hover,
body.page-settings #btnUpdatePwd:hover,
body.page-settings #btnApplyFilters:hover,
body.page-settings #profileSubmit:hover {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
  color: white !important;
}

body.page-settings a.btn.btn-success:active,
body.page-settings #btnUpdatePwd:active,
body.page-settings #btnApplyFilters:active,
body.page-settings #profileSubmit:active {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
  color: white !important;
}

body.page-settings a.btn.btn-success:focus,
body.page-settings #btnUpdatePwd:focus,
body.page-settings #btnApplyFilters:focus,
body.page-settings #profileSubmit:focus {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
  color: white !important;
}

body.page-settings .k-pager-numbers .k-state-selected,
body.pageType_pendingorders .k-pager-numbers .k-state-hover {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
}

body.page-settings .k-pager-numbers .k-state-selected:hover,
body.pageType_pendingorders .k-pager-numbers .k-state-hover {
  background: #2d94bb !important;
  color: white !important;
  border-color: #2d94bb !important;
}

/* Styliser le dropdown personnalisé des fuseaux horaires */
body.page-settings .custom-dropdown {
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}

body.page-settings .custom-dropdown-toggle {
  width: 100% !important;
  padding: 0px 0px 0px 2px !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 4px !important;
  background: white !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
  color: #232323 !important;
  min-height: 46px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.page-settings .custom-dropdown-toggle #custom-selected-0 {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 10px;
}

body.page-settings .custom-dropdown-toggle .custom-dropdown-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #828282;
}

body.page-settings .custom-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100% !important;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #d1d1d1;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.page-settings .custom-dropdown-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #232323;
  transition: background-color 0.2s;
}

body.page-settings .custom-dropdown-item:hover {
  background-color: #f5f5f5;
}

body.page-settings .custom-dropdown-item.selected {
  background-color: #e3f2fd;
  color: #204755;
  font-weight: 500;
}

/* ============================================
   FIN PAGE DES PARAMÈTRES / SETTINGS
   ============================================ */

/* ============================================
   PAGE DE CRÉATION DE COMPTE
   ============================================ */

/* Largeur de la seconde colonne dans #createAccount */
#createAccount .col-sm-6:nth-child(2) {
  width: 48% !important;
}

#createAccount_submit .btn-primary {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
}

#createAccount_submit .btn-primary:hover {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
}

#createAccount_submit .btn-primary:active {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
}

#createAccount_submit .btn-primary:focus {
  background: #2d94bb !important;
  border-color: #2d94bb !important;
}

/* Correction de l'affichage de la page de création de compte */
body.page-account-create #standard-content-wrapper,
body.page-orders #standard-content-wrapper,
body.page-settings #standard-content-wrapper {
  padding-top: 250px !important;
  min-height: 70vh;
}

/* Annuler les styles Pressero qui cassent la mise en page */
body.page-account-create.createAccountPage,
body.page-account-create .createAccountPage {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Wrapper du formulaire */
body.page-account-create .account-form-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Style du formulaire de création de compte */
body.page-account-create .account-form-styled {
  background: white;
  border: 1px solid #d1d1d1 !important;
  padding: 2rem !important;
  margin-bottom: 35px;
}

@media (max-width: 991px) {
  body.page-account-create .account-form-styled {
    padding: 2.5rem !important;
  }
}

/* Titre de la page - sélecteur très spécifique */
body.page-account-create #standard-content-wrapper .account-form-wrapper h1 {
  text-align: left;
  color: #232323;
  margin-bottom: 30px;
  font-size: 28px;
}

/* Titres de section */
body.page-account-create #standard-content-wrapper .account-form-styled .section-title-styled,
#createAccount_password h3 {
  color: #204755;
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

body.page-account-create #standard-content-wrapper .account-form-styled .section-title-styled:first-of-type {
  margin-top: 0;
}

/* Labels */
body.page-account-create #standard-content-wrapper .account-form-styled .styled-label,
body.settingsPage .styled-label {
  display: inline-block;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #204755;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* Inputs */
body.page-account-create #standard-content-wrapper .account-form-styled .styled-input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #d1d1d1;
  background: white;
  font-size: 14px;
  transition: border-color 0.3s;
}

body.page-account-create #standard-content-wrapper .account-form-styled .styled-input:focus {
  border-color: #4fc0ea;
  outline: none;
}

/* Select */
body.page-account-create #standard-content-wrapper .account-form-styled select.styled-input {
  height: auto;
  padding: 12px 15px;
}

/* Styliser les widgets Kendo UI pour qu'ils ressemblent aux autres inputs */
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header,
.calculator span.k-widget.k-dropdown.k-header {
  width: 100% !important;
  margin-bottom: 20px !important;
  background: white !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  border: none !important;
}

body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-dropdown-wrap,
.calculator span.k-widget.k-dropdown.k-header span.k-dropdown-wrap {
  padding: 12px 15px;
  background: white;
  font-size: 14px !important;
  transition: border-color 0.3s;
  border-radius: 4px !important;
  height: 24px !important;
}

body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header:hover,
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-dropdown-wrap:hover,
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-hover,
.calculator span.k-widget.k-dropdown.k-header:hover,
.calculator span.k-widget.k-dropdown.k-header span.k-dropdown-wrap:hover,
.calculator span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-hover {
  border-color: #ddd !important;
  background: white !important;
}

body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-focused,
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-active,
.calculator span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-focused,
.calculator span.k-widget.k-dropdown.k-header span.k-dropdown-wrap.k-state-active {
  border-color: #ddd !important;
  box-shadow: none !important;
  background: white !important;
}

body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-input,
.calculator span.k-widget.k-dropdown.k-header span.k-input {
  padding: 0 !important;
  line-height: normal !important;
  font-size: 14px !important;
  color: #232323 !important;
  height: auto !important;
}

body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-select,
.calculator span.k-widget.k-dropdown.k-header span.k-select {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  width: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Masquer l'icône Kendo par défaut */
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-select .k-icon,
.calculator span.k-widget.k-dropdown.k-header span.k-select .k-icon {
  display: none !important;
}

/* Ajouter notre icône Font Awesome à la place */
body.page-account-create #standard-content-wrapper span.k-widget.k-dropdown.k-header span.k-select::after,
.calculator span.k-widget.k-dropdown.k-header span.k-select::after {
  content: "\f078" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  color: #666 !important;
  display: inline-block !important;
  margin-right: 6px;
}

/* Styliser la liste déroulante Kendo */
.k-animation-container .k-list-container {
  border: 1px solid #d1d1d1 !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.k-animation-container .k-list-container .k-list {
  background: white !important;
}

.k-animation-container .k-list-container .k-item {
  font-size: 14px !important;
  color: #232323 !important;
  background: white !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  border-bottom: 1px solid #f5f5f5 !important;
  transition: background-color 0.2sease !important;
}

.k-state-focused.k-state-selected,
.k-list>.k-state-focused.k-state-selected,
.k-listview>.k-state-focused.k-state-selected,
td.k-state-focused.k-state-selected {
  box-shadow: none !important;
  display: none !important;
}

.k-popup .k-list .k-state-focused {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.k-animation-container .k-list-container .k-item:hover,
.k-animation-container .k-list-container .k-item.k-state-hover {
  background-color: #f8f9fa !important;
  color: #2d94bb !important;
}

.k-animation-container .k-list-container .k-item.k-state-selected,
.k-animation-container .k-list-container .k-item.k-state-focused {
  background-color: #e3f2fd !important;
  color: #2d94bb !important;
  font-weight: 500 !important;
}

.k-textbox:focus {
  box-shadow: none !important;
}

.dropdown-footer {
  margin: 10px 0;
}

/* Textarea */
body.page-account-create #standard-content-wrapper .account-form-styled textarea.styled-input {
  min-height: 100px;
  resize: vertical;
}

/* Bouton de soumission */
body.page-account-create #standard-content-wrapper .account-form-styled .styled-submit {
  width: 100%;
  padding: 15px 30px;
  background: #232323;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 30px;
  border-radius: 4px;
}

body.page-account-create #standard-content-wrapper .account-form-styled .styled-submit:hover {
  background: #4fc0ea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 192, 234, 0.3);
}

/*Étoile rouge pour champs requis */
body.page-account-create #standard-content-wrapper .account-form-styled .required-error {
  color: #ff0000;
  font-weight: bold;
}

/* Grille pour les champs côte à côte */
body.page-account-create #standard-content-wrapper .account-form-styled .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

body.page-account-create #standard-content-wrapper .account-form-styled .form-row>div,
body.page-account-create #standard-content-wrapper .account-form-styled .form-row>.form-group {
  flex: 1;
  min-width: 250px;
}

/* Message d'information en haut */
body.page-account-create #standard-content-wrapper .alert,
body.page-account-create #standard-content-wrapper .info-message {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.pwd-strength-bar {
  border: none !important;
}

#newPassword,
#CaptchaInputText,
.pwd-input-group,
.createAccountPassword,
.pwd-strength-bar {
  width: 90% !important;
}

.pageCaptcha-form {
  margin: 10px !important;
}

#pwdToggle,
.pageCaptcha-form a {
  margin: 10px !important;
}

/* Neutraliser les overlays injectés par les extensions de gestion de mots de passe
   (Dashlane, 1Password, LastPass, etc.) qui cachent les champs password */
body.page-account-create .createAccountPassword [data-dashlanecreated],
body.page-account-create .createAccountPasswordConfirm [data-dashlanecreated],
body.page-account-create .pwd-input-group [data-dashlanecreated],
body.page-account-create [data-kwimpalastatus] + [data-dashlanecreated] {
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
  top: auto !important;
  left: auto !important;
  right: 8px !important;
  opacity: 0.6 !important;
  z-index: 1 !important;
  pointer-events: auto !important;
}

/* Garantir que les inputs password restent toujours visibles et accessibles */
body.page-account-create input[type="password"] {
  position: relative !important;
  z-index: 3 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: #fff !important;
}

/* Empêcher le wrapper .input-group d'être masqué par les extensions */
body.page-account-create .pwd-input-group {
  position: relative !important;
  overflow: visible !important;
  z-index: 2 !important;
}

/* Annuler les styles Pressero sur les boutons et appliquer nos styles */
body.page-account-create .btn-default.active.focus,
body.page-account-create .btn-default.active:focus,
body.page-account-create .btn-default.active:hover,
body.page-account-create .btn-default.focus:active,
body.page-account-create .btn-default:active,
body.page-account-create .btn-default:active:focus,
body.page-account-create .btn-default:active:hover,
body.page-account-create .btn-default:focus,
body.page-account-create .btn-default:hover,
body.page-account-create .open>.dropdown-toggle.btn-default.focus,
body.page-account-create .open>.dropdown-toggle.btn-default:focus,
body.page-account-create .open>.dropdown-toggle.btn-default:hover {
  background-color: transparent !important;
  color: #232323 !important;
  border: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Style par défaut des boutons */
body.page-account-create .btn-default {
  background-color: transparent !important;
  color: #232323 !important;
  border: none !important;
  transition: all 0.3s !important;
  box-shadow: none !important;
}

.btn-default:focus,
.btn-default:hover {
  background-color: transparent !important;
  color: #232323 !important;
  border: none !important;
  transition: all 0.3s !important;
  box-shadow: none !important;
}

/* ============================================
   FIN PAGE DE CRÉATION DE COMPTE
   ============================================ */

/* ============================================
   PAGE DES COMMANDES
   ============================================ */

input.k-input {
  height: 46px;
}

.k-dropdown-wrap,
.k-picker-wrap {
  border-radius: 4px !important;
}

.k-picker-wrap.k-state-default .k-input {
  box-shadow: none !important;
}

#fullscreen-btn {
  display: none !important;
}

#txtSearch {
  border-radius: 30px !important;
}

.k-header.k-grid-toolbar.k-grid-top {
  display: none !important;
}

/* Limiter la largeur du champ de recherche à 50% */
body.page-orders .input-group {
  max-width: 50%;
  position: relative;
}

body.page-orders .input-group>.form-control,
body.page-orders .input-group>.form-floating,
body.page-orders .input-group>.form-select {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding-right: 50px;
  /* Espace pour le bouton */
}

/* Positionner le bouton de recherche par-dessus l'input à droite */
body.page-orders #pnlSearchAllOrders .input-group-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto !important;
  margin-left: 0 !important;
  z-index: 10;
}

body.page-orders #pnlSearchAllOrders .input-group-btn .btn {
  height: 100%;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
  padding: 0 20px;
  background: transparent;
  border: none;
  color: #232323;
}

body.page-orders #pnlSearchAllOrders .input-group-btn .btn:hover {
  background: rgba(255, 255, 255, 0.05);
}


/* ============================================
   FIN PAGE DES COMMANDES
   ============================================ */

/* ============================================
   PAGE PANIER
   ============================================ */

.pageType_cart .page-content {
  background-color: rgba(255, 255, 255, 0.46) !important;
  box-shadow: none !important;
}

/* Masquer la quantité affichée (incorrecte) car elle est déjà dans les détails */
.cart-product-qty {
  display: none !important;
}

.cart-product-item .cart-product-name {
  color: #204755 !important;
}

.cart-product-item .cart-product-price {
  font-weight: 400 !important;
  font-size: 16px !important;
}

.cart-product-item .cart-product__image>a>img {
  border-radius: 4px !important;
}

.cart-saveforlater-list,
.collapse-panel,
.content-panel {
  border-radius: 4px;
}

.btn-default {
  background-color: none !important;
  border-color: none !important;
  text-decoration: underline !important;
  border: none !important;
}

.btn-default:focus,
.btn-default:focus-visible {
  background-color: none !important;
  border-color: none !important;
  text-decoration: underline !important;
  border: none !important;
}

.btn-default:hover {
  background-color: none !important;
  border-color: none !important;
  text-decoration: underline !important;
  border: none !important;
}

.btn-default:active {
  background-color: transparent !important;
  border-color: transparent !important;
  text-decoration: underline !important;
  border: none !important;
}

.btn:first-child:active,
:not(.btn-check)+.btn:active {
  color: #000 !important;
  background-color: transparent !important;
  border-color: transparent !important;
  border: none !important;
}

.cart-item-save.btn-default,
.cart-item-duplicate.btn-default,
.cart-item-edit.btn-default {
  background-color: none !important;
  border-color: none !important;
  text-decoration: none !important;
  border: none !important;
}

/* Ligne TTC dans le résumé du panier */
.summary-item--ttc {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #e5e5e5 !important;
  font-weight: 600 !important;
}

.summary-item--ttc .summary-item__label {
  font-weight: 600 !important;
  color: #204755 !important;
}

.summary-item--ttc .summary-item__value {
  font-weight: 700 !important;
  color: #204755 !important;
  font-size: 18px !important;
}

/* ============================================
   FIN PAGE PANIER
   ============================================ */

/* ============================================
   PAGE SHIPMENT
   ============================================ */

.summary-item {
  font-size: 16px;
}

.summary-item--total .summary-item__label,
.summary-item--total .summary-item__value {
  font-size: 20px !important;
  font-family: 'Poppins', sans-serif !important;
  color: #204755 !important;
  font-weight: 400 !important;
}

/* ============================================
   FIN PAGE SHIPMENT
   ============================================ */

/* ============================================
   PAGE ORDERS (COMMANDES)
   ============================================ */

/* Wrapper créé par JS avec scroll horizontal */
body.page-orders .orders-grid-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
}

/* La grille principale à l'intérieur du wrapper */
body.page-orders .orders-grid-wrapper>.k-grid {
  min-width: 1400px;
}

/* Réduire les largeurs des colonnes de la grille principale - header, content ET footer */
body.page-orders .orders-grid-wrapper .k-grid-header col[style*="250px"],
body.page-orders .orders-grid-wrapper .k-grid-content col[style*="250px"],
body.page-orders .orders-grid-wrapper .k-grid-footer col[style*="250px"] {
  width: 180px !important;
}

body.page-orders .orders-grid-wrapper .k-grid-header col[style*="180px"],
body.page-orders .orders-grid-wrapper .k-grid-content col[style*="180px"],
body.page-orders .orders-grid-wrapper .k-grid-footer col[style*="180px"] {
  width: 140px !important;
}

body.page-orders .orders-grid-wrapper .k-grid-header col[style*="150px"],
body.page-orders .orders-grid-wrapper .k-grid-content col[style*="150px"],
body.page-orders .orders-grid-wrapper .k-grid-footer col[style*="150px"] {
  width: 120px !important;
}

body.page-orders .orders-grid-wrapper .k-grid-header col[style*="120px"],
body.page-orders .orders-grid-wrapper .k-grid-content col[style*="120px"],
body.page-orders .orders-grid-wrapper .k-grid-footer col[style*="120px"] {
  width: 100px !important;
}

body.page-orders .orders-grid-wrapper .k-grid-header col[style*="100px"],
body.page-orders .orders-grid-wrapper .k-grid-content col[style*="100px"],
body.page-orders .orders-grid-wrapper .k-grid-footer col[style*="100px"] {
  width: 85px !important;
}

/* Les grilles de détails (imbriquées) gardent leur comportement normal */
body.page-orders .k-detail-cell .k-grid {
  overflow-x: visible !important;
  min-width: auto !important;
}

body.page-orders .k-detail-cell .k-grid table {
  width: 100% !important;
  min-width: auto !important;
}

body.page-orders .ordersPage .k-grid tr td {
  border-color: #e9e9e9 !important;
}

body.page-orders .ordersPage .k-header,
body.page-orders .ordersPage .k-pager-wrap,
body.page-orders .ordersPage .k-footer-template td {
  border-color: #e9e9e9 !important;
  background-color: #fafafa !important;
}

body.page-orders .ordersPage .k-grid-footer td {
  color: #204755 !important;
}

body.page-orders .ordersPage .k-pager-numbers .k-state-selected,
body.pageType_pendingorders .k-pager-numbers .k-state-selected {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
}

body.page-orders .ordersPage .title-right a {
  text-decoration: underline !important;
}

/* Réduire les largeurs des colonnes pour mobile */
@media (max-width: 1200px) {
  body.page-orders table.responsive col {
    width: auto !important;
    min-width: 100px;
  }

  body.page-orders table.responsive col[style*="180px"],
  body.page-orders table.responsive col[style*="250px"] {
    min-width: 150px;
  }

  body.page-orders table.responsive col[style*="120px"],
  body.page-orders table.responsive col[style*="100px"] {
    min-width: 80px;
  }
}

/* Style du scroll horizontal */
body.page-orders .k-grid::-webkit-scrollbar,
body.page-orders .ordersPage table.responsive::-webkit-scrollbar {
  height: 8px;
}

body.page-orders .k-grid::-webkit-scrollbar-track,
body.page-orders .ordersPage table.responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

body.page-orders .k-grid::-webkit-scrollbar-thumb,
body.page-orders .ordersPage table.responsive::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

body.page-orders .k-grid::-webkit-scrollbar-thumb:hover,
body.page-orders .ordersPage table.responsive::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.form-group.filter-action label {
  display: block !important;
}

/* ============================================
   FIN PAGE ORDERS
   ============================================ */

/* ============================================
   PAGE COMPLETE
   ============================================ */

/* Instructions alert - même largeur que container */
div.instructions.alert {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

h3.detailHeading {
  font-size: 20px !important;
  color: #204755 !important;
}

.summary-details strong,
.item-detail strong {
  color: #204755 !important;
  font-weight: 500 !important;
}

#lnkReorder,
a.reorder {
  text-decoration: underline !important;
}

.summaryPrintLink {
  display: none !important;
}

.well {
  box-shadow: none !important;
  webkit-box-shadow: none !important;
  background-color: #fbfbfb !important;
}

.well .completePricingOptions-list li {
  font-weight: 500 !important;
}

.well .completePricingOptions-list li span {
  font-weight: 400 !important;
}

.orderSummaryPage .order-summary-item-detailitemnumber,
.orderSummaryPage .poNumber,
.orderSummaryPage #notes,
.orderSummaryPage #orderedBy,
.orderSummaryPage .order-summary-item-acceptance,
.orderSummaryPage .order-summary-item-statushistory {
  display: none !important;
}

@media (min-width: 576px) {
  div.instructions.alert {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  div.instructions.alert {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  div.instructions.alert {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  div.instructions.alert {
    max-width: 1140px;
  }
}

/* ============================================
   FIN PAGE COMPLETE
   ============================================ */

/* ============================================
   STYLE GLOBAL CONTAINER
   ============================================ */

#standard-content-wrapper .container {
  background-color: rgba(255, 255, 255, 0.46) !important;
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.1),
    0 4px 8px -2px rgba(0, 0, 0, 0.06) !important;
  border-radius: 4px !important;
  padding: 40px !important;
}

footer .container,
#standard-content-wrapper .container.title {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.cart-empty__img {
  display: none !important;
}

@media (max-width: 991px) {
  .container {
    padding: 25px;
  }
}

/* ============================================
   FIN STYLE GLOBAL CONTAINER
   ============================================ */

/* Cacher les icônes dropdown du menu principal (premier niveau) */
.new-header .navbar-nav>li>.dropdown-toggle,
.new-header .navbar-nav>li>a>i.fa {
  display: none !important;
}

/* Cacher les icônes dropdown générées par Pressero dans les sous-menus */
.new-header .navbar-nav .dropdown-menu li.dropdown>a>i,
.new-header .navbar-nav .dropdown-menu li.dropdown>a>.caret,
.new-header .navbar-nav .dropdown-menu li.dropdown>a>span.caret {
  display: none !important;
}

/* Icône de flèche (chevron) pour les éléments avec sous-menus */
.new-header .navbar-nav .dropdown-menu li.dropdown>a::after {
  content: "›" !important;
  display: inline-block !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  color: #828282 !important;
  line-height: 1 !important;
}

.new-header .navbar-nav .dropdown-menu li.dropdown:hover>a::after {
  color: #232323 !important;
}

/* Styles pour les sous-menus (dropdowns) - Premier niveau */
.new-header .navbar-nav>li>.dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1000 !important;
  min-width: 260px !important;
  background: white !important;
  border: none !important;
  box-shadow: 0 10px 40px rgba(23, 23, 23, 0.1) !important;
  border-radius: 6px !important;
  padding: 15px 0 !important;
  margin-top: 0 !important;
  list-style: none !important;
}

.new-header .navbar-nav>li:hover>.dropdown-menu {
  display: block !important;
}

/* Styles pour les sous-menus imbriqués (niveau 2+) - Affichage latéral */
.new-header .navbar-nav .dropdown-menu li.dropdown {
  position: relative !important;
}

.new-header .navbar-nav .dropdown-menu .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: -15px !important;
  left: 100% !important;
  z-index: 1001 !important;
  min-width: 260px !important;
  background: white !important;
  border: none !important;
  box-shadow: 0 10px 40px rgba(23, 23, 23, 0.1) !important;
  border-radius: 6px !important;
  padding: 15px 0 !important;
  margin-top: 0 !important;
  list-style: none !important;
}

.new-header .navbar-nav .dropdown-menu li.dropdown:hover>.dropdown-menu {
  display: block !important;
}

.new-header .navbar-nav .dropdown-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.new-header .navbar-nav .dropdown-menu a {
  display: block !important;
  padding: 10px 25px !important;
  color: #232323 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: background 0.3s ease !important;
}

.new-header .navbar-nav .dropdown-menu a:hover {
  background: #f7f7f7 !important;
  color: #000 !important;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
  color: #232323 !important;
  text-decoration: none;
  background-color: #f7f7f7 !important;
  outline: 0;
}

/* Styles spécifiques pour les sous-menus (items dans .dropdown) */
.new-header .navbar-nav .dropdown-menu a {
  display: block !important;
  color: #828282 !important;
  font-size: 13px !important;
  line-height: normal !important;
  font-weight: 500 !important;
  padding: 8px 25px !important;
  position: relative !important;
}

/* Padding supplémentaire pour les liens avec sous-menus (pour l'icône) */
.new-header .navbar-nav .dropdown-menu li.dropdown>a {
  padding-right: 35px !important;
}

.new-header .navbar-nav .dropdown-menu a:hover {
  background: #f7f7f7 !important;
  color: #000 !important;
}

/* Responsive : Cacher certains items du menu selon la taille d'écran */
/* Plus l'écran est petit, plus on cache de menus */

/* En dessous de 1200px (mode lg) : Cacher menus 8, 9, 10 */
@media (max-width: 1199px) {

  .new-header .navbar-nav>li:nth-child(8),
  /* Autocollants */
  .new-header .navbar-nav>li:nth-child(9),
  /* Signalétique */
  .new-header .navbar-nav>li:nth-child(10) {
    /* Papeterie */
    display: none !important;
  }
}

/* En dessous de 1003px : Cacher menu 7 (Dépliants) */
@media (max-width: 1002px) {
  .new-header .navbar-nav>li:nth-child(7) {
    /* Dépliants */
    display: none !important;
  }
}

/* En dessous de 776px : Cacher menu 6 (Brochures) */
@media (max-width: 775px) {
  .new-header .navbar-nav>li:nth-child(6) {
    /* Brochures */
    display: none !important;
  }
}

/* Mobile (≤991px) : Styles pour le menu hamburger */
@media (max-width: 991px) {

  /* Afficher le bouton hamburger */
  .new-header .navbar-toggler {
    display: inline-block !important;
    margin: 20px 0 !important;
  }

  /* Style du menu collapse */
  .new-header .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: 0 20px 15px 0 rgba(23, 23, 23, .05) !important;
    max-height: calc(100vh - 65px) !important;
    overflow: hidden !important;
  }

  .new-header .navbar-collapse.show,
  .new-header .navbar-collapse.collapsing {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Style de la navigation mobile */
  .new-header .navbar-nav {
    padding: 15px !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .new-header .navbar-nav>li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .new-header .navbar-nav>li>a {
    padding: 12px 15px !important;
    display: block !important;
  }

  /* Dropdowns en mode mobile - affichage vertical */
  .new-header .navbar-nav>li>.dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    box-shadow: none !important;
    background: #f8f8f8 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .new-header .navbar-nav>li.open>.dropdown-menu,
  .new-header .navbar-nav>li:hover>.dropdown-menu {
    display: block !important;
  }

  /* Sous-menus imbriqués en mobile */
  .new-header .navbar-nav .dropdown-menu .dropdown-menu {
    position: static !important;
    left: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    background: #f0f0f0 !important;
    border-radius: 0 !important;
  }

  /* Icône chevron en mobile - vers le bas au lieu de droite */
  .new-header .navbar-nav .dropdown-menu li.dropdown>a::after {
    content: "›" !important;
    transform: translateY(-50%) rotate(90deg) !important;
  }

  /* Afficher TOUS les items du menu sur mobile */
  .new-header .navbar-nav>li:nth-child(6),
  .new-header .navbar-nav>li:nth-child(7),
  .new-header .navbar-nav>li:nth-child(8),
  .new-header .navbar-nav>li:nth-child(9),
  .new-header .navbar-nav>li:nth-child(10) {
    display: block !important;
  }
}

/* Mobile (≤767px) : Ajustements supplémentaires */
@media (max-width: 767px) {

  .new-header .default-logo,
  .new-header .alt-logo {
    display: none !important;
  }

  .new-header .mobile-logo {
    display: block !important;
  }

  .new-header .header-search-field {
    max-width: 280px !important;
  }
}

@media (max-width: 576px) {
  .new-header .header-search-field {
    max-width: 250px !important;
  }
}

/* Styles pour les dropdowns - SEULEMENT ce qui est nécessaire */
.new-header .dropdown-menu {
  display: none !important;
  /* Caché par défaut */
}

.new-header .dropdown-menu.show {
  display: block !important;
  /* Visible quand classe .show ajoutée par JS */
}

/* Styles spécifiques pour le dropdown langue */
.new-header .header-language .dropdown-menu li {
  padding: 0 !important;
  margin: 0 !important;
}

.new-header .header-language .dropdown-menu a {
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  color: #232323 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  background: transparent !important;
}

.new-header .header-language .dropdown-menu a:hover {
  background: transparent !important;
  /* Pas de fond au hover */
  color: rgba(0, 0, 0, .6) !important;
  /* Juste le texte qui s'éclaircit */
}

.new-header .header-language .dropdown-menu .icon-country {
  margin-right: 10px !important;
}

/* Les autres styles de dropdowns sont gérés par style-new.css de la maquette */

/* Pour tester le nouveau header : décommenter les lignes ci-dessous */
/*
.old-header { display: none; }
.new-header { display: block; }
*/

/* Basculer entre ancien et nouveau footer */
.old-footer {
  display: none;
}

.new-footer {
  display: block;
}

/* Styles du nouveau footer */
.new-footer footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.new-footer .footer-fashion-shop ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.new-footer .footer-fashion-shop ul li {
  margin-bottom: 8px !important;
}

.new-footer .footer-fashion-shop ul li a {
  color: #b8b8b8 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  font-size: 14px !important;
}

.new-footer .footer-fashion-shop ul li a:hover {
  color: #ffffff !important;
}

.new-footer .scroll-top-arrow {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.new-footer .scroll-top-arrow.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================
   HEADER - DROPDOWN PANIER
   ============================================ */

/* Forcer l'alignement de la ligne TVA dans le dropdown du panier */
.header-cart-icon [data-tva-line] {
  display: block !important;
  width: 100% !important;
}

.header-cart-icon [data-tva-line] span {
  display: inline-block !important;
  max-width: 50% !important;
  box-sizing: border-box !important;
}

.header-cart-icon [data-tva-line] span:first-child {
  text-align: left !important;
}

.header-cart-icon [data-tva-line] span:last-child {
  text-align: right !important;
}

/* ============================================
   HEADER - INFORMATIONS DE CONTACT
   ============================================ */

.header-contact-info a {
  color: #757575 !important;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.header-contact-info a:hover {
  color: #4fc0ea !important;
}

.header-contact-info a i {
  font-size: 16px;
}

.header-contact-info a span {
  white-space: nowrap;
}

/* ============================================
   PHASE 1 : ACTIVATION DU NOUVEAU HEADER
   ============================================ */

/* Cacher l'ancien header */
.old-header {
  display: none !important;
}

/* Afficher le nouveau header */
.new-header {
  display: block !important;
}

/* Retirer le container sur la home pour avoir pleine largeur */
body.startPage #main-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Cards catégories */
.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.category-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 60px rgba(23, 23, 23, 0.15) !important;
}

.category-card .category-image img {
  transition: transform 0.3s ease !important;
}

.category-card:hover .category-image img {
  transform: scale(1.05) !important;
}

.category-info h3 a {
  color: #232323 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.category-info h3 a:hover {
  color: #0066cc !important;
}

/* Cards produits */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 60px rgba(23, 23, 23, 0.15) !important;
}

.product-card .product-image img {
  transition: transform 0.3s ease !important;
}

.product-card:hover .product-image img {
  transform: scale(1.05) !important;
}

.product-info h4 a {
  color: #232323 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.product-info h4 a:hover {
  color: #0066cc !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover,
.nav-tabs>li>a:hover {
  background-color: transparent !important;
}

.swiper-button-next,
.swiper-button-prev {
  height: 40px !important;
  width: 40px !important;
}

/* ============================================
   FIX POUR LES BULLES COUPÉES
   Forcer overflow visible sur tous les conteneurs
   ============================================ */

/* Conteneur principal Pressero */
#main-content,
body>div,
.main-content {
  overflow: visible !important;
}

/* Section avec les bulles */
section.croix {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* Container des bulles - DOIT pouvoir déborder de sa section */
.bubble-container {
  overflow: visible !important;
  z-index: 0;
  pointer-events: none;
  /* Permettre au container de dépasser la hauteur de la section */
  height: auto !important;
  min-height: 100%;
}

/* Toutes les bulles */
.bubble-container .bubble {
  overflow: visible !important;
  z-index: 0;
  /* Les bulles peuvent sortir du container */
  position: absolute !important;
}

/* S'assurer que le header reste au-dessus */
.new-header,
.new-header header,
.new-header .navbar {
  z-index: 1000 !important;
  position: relative;
}

/* Permettre aux bulles de dépasser vers le haut */
body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

/* Forcer overflow visible sur TOUS les divs parents potentiels */
body>div:not(.new-header):not(.old-header):not(.new-footer):not(.old-footer) {
  overflow: visible !important;
}

/* Cibler spécifiquement les conteneurs Pressero */
[id*="content"],
[class*="content"],
[id*="main"],
[class*="main"],
[id*="wrapper"],
[class*="wrapper"] {
  overflow: visible !important;
}

/* Permettre aux bulles de déborder sur les sections suivantes */
section {
  overflow: visible !important;
}

/* Spécifiquement pour les sections qui suivent celle avec les bulles */
section.croix~section,
section+section {
  overflow: visible !important;
}

/* Conteneurs de colonnes et rows */
.row,
.container,
.container-fluid,
[class*="col-"] {
  overflow: visible !important;
}

.breadcrumb {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/* Séparateurs breadcrumb avec des points */
.breadcrumb li:not(:last-child)::after,
.breadcrumb ul>li:after {
  content: "\2022" !important;
  /* Bullet point Unicode */
  margin: 0 10px !important;
  padding: 0 !important;
  color: #828282 !important;
  display: inline-block !important;
  font-family: inherit !important;
  /* Pas Font Awesome */
  font-size: 14px !important;
  font-weight: normal !important;
  opacity: 1 !important;
  vertical-align: middle !important;
}

/* Supprimer le séparateur par défaut s'il existe */
.breadcrumb li span.separator,
.breadcrumb li .breadcrumb-separator {
  display: none !important;
}

#btnPrintEstimate,
#btnPrintEstimate:hover {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
  color: #ffffff !important;
  border-radius: 5px !important;
  border-width: 1px !important;
}

#btnAddToCartButton,
#btnCheckout {
  border-color: #CD9452 !important;
  color: #fff !important;
  background: #CD9452 !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  display: inline-block;
  border: 2px solid transparent !important;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 16px;
  font-family: 'Poppins', sans-serif !important;
}

#btnAddToCartButton:hover,
#btnCheckout:hover {
  border-color: #CD9452 !important;
  color: #CD9452 !important;
  background: transparent !important;
}

.pageTitle {
  color: #204755 !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
}

.pageBody {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/* ============================================
   PAGE ACCESS
   ============================================ */

.access-login h2,
.access-options h2 {
  font-size: 20px !important;
  line-height: 28px !important;
}

.access-new-form .btn-primary {
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  display: inline-block;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 16px;
  font-family: 'Poppins', sans-serif !important;
}

.access-login-form #btnLogin {
  background: #FFF !important;
  background: #4fc0ea !important;
  border-color: #2d94bb !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  display: inline-block;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 16px;
  font-family: 'Poppins', sans-serif !important;
}

@media (min-width: 1200px) {
  .access-form-divider {
    width: 20% !important;
  }
}

/* ============================================
   PAGE STANDARD
   ============================================ */

.general-panel {
  box-shadow: none !important;
  webkit-box-shadow: none !important;
}

/* ============================================
   FIN PAGE STANDARD
   ============================================ */

/* ============================================
   PAGE TOUS NOS PRODUITS (ALPHABET)
   ============================================ */

/* Navigation alphabétique sticky */
#alphabet-nav.alphabet-navigation {
  position: sticky;
  top: 80px;
  z-index: 100;
  background: white;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
}

#alphabet-nav .d-flex {
  gap: 15px;
}

.alphabet-link {
  font-size: 18px;
  font-weight: 500;
  color: #232323;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s;
}

.alphabet-link:hover {
  color: #4fc0ea !important;
  transform: scale(1.1);
}

/* Sections de lettres */
.letter-section {
  margin-bottom: 60px;
  scroll-margin-top: 150px;
}

.letter-title {
  font-size: 48px;
  font-weight: 500;
  color: #204755;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #4fc0ea;
}

/* Liste des produits */
.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-list li {
  margin-bottom: 12px;
}

.product-list a {
  color: #555;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
}

.product-list a:hover {
  color: #CD9452;
  padding-left: 10px;
}

/* ============================================
   FIN PAGE TOUS NOS PRODUITS
   ============================================ */

/* ============================================
   ONGLETS PAGE PRODUIT
   ============================================ */

/* Masquer tous les contenus d'onglets par défaut */
.tab-pane {
  display: none;
}

/* Afficher uniquement l'onglet actif */
.tab-pane.active {
  display: block !important;
  opacity: 1 !important;
}

/* Forcer l'opacité sur les onglets avec la classe show */
.tab-pane.show {
  opacity: 1 !important;
}

/* Style des liens d'onglets */
.nav-tabs .nav-link {
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #CD9452;
}

/* ============================================
   FIN ONGLETS PAGE PRODUIT
   ============================================ */

/* ============================================
   CONDITIONS GÉNÉRALES PAGE PRODUIT
   ============================================ */

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

/* Masquer l'ancien style + mise en ligne checkbox + lien */
.acceptanceArea .alert {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex-wrap: wrap;
  gap: 2px 0;
}

/* Container principal */
.acceptanceArea {
  margin:0;
  padding: 0px 15px 5px 15px;
  background: transparent;
  border-radius: 8px;
  border: none;
}

/* Ligne avec checkbox et label */
.acceptanceArea .checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  flex-shrink: 0;
  margin-top:0px !important;
}

.acceptanceArea .checkbox label {
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #204755;
}

.acceptanceArea .checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: #204755;
}

.acceptanceArea .checkbox span {
  font-size: 14px;
  color: #204755;
  display: inline-block;
  margin-left: 10px;
  font-weight: 400 !important;
}

label#ckAcceptance-error {
  /* Déplacé par JS comme direct child de .alert → flex: 0 0 100% = pleine ligne */
  flex: 0 0 100%;
  margin-top: 6px;
  padding: 5px 10px;
  background-image: none;
  background-color: #f8d7da;
  color: #7c1a06;
  border-color: #f1aeb5;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
}

label#ckAcceptance-error::before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  display: inline-block;
}

/* Lien "Voir les conditions" */
.toggle-conditions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A3A3A3;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 32px;
  margin-top: -10px;
}

.toggle-conditions:hover {
  color: #CD9452;
  text-decoration: none;
}

.toggle-conditions i {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.toggle-conditions.expanded i {
  transform: rotate(180deg);
}

/* Contenu des conditions (masqué par défaut) */
.conditions-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
}

.conditions-content.show {
  max-height: 500px;
  margin-top: 15px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
}

.conditions-content .alert-info span {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  white-space: pre-line;
}

/* Masquer le texte original dans l'alert */
.acceptanceArea .alert>span {
  display: none;
}

/* Style de la zone de contenu */
.conditions-text {
  background: white;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.conditions-text ul {
  margin: 10px 0;
  padding-left: 20px;
}

.conditions-text li {
  margin-bottom: 10px;
}

/* ============================================
   FIN CONDITIONS GÉNÉRALES
   ============================================ */

/* ============================================
   LISTES AVEC ICÔNES DANS LES ONGLETS PRODUIT
   ============================================ */

/* Liste avec icônes - alignement correct du texte */
.tab-content .tab-pane .list-style-02 li,
.tab-pane .list-style-02 li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.tab-content .tab-pane .list-style-02 li img,
.tab-pane .list-style-02 li img {
  flex-shrink: 0 !important;
  /* L'image ne rétrécit pas */
  margin-top: 2px !important;
  /* Petit ajustement vertical */
  margin-right: 12px !important;
  /* Espace entre image et texte */
  vertical-align: top !important;
}

.tab-content .tab-pane .list-style-02 li p,
.tab-pane .list-style-02 li p {
  flex: 1 !important;
  /* Le texte prend l'espace restant */
  margin: 0 !important;
  display: block !important;
  line-height: 1.6 !important;
}

/* ============================================
   FIN LISTES AVEC ICÔNES
   ============================================ */


/* ============================================
   PAGE RECHERCHE
   ============================================ */

/* Input de recherche */
#searchtext {
  border-radius: 30px !important;
  max-width: 50% !important;
  flex: 0 1 50% !important;
  width: 50% !important;
  padding-right: 50px !important;
  /* Espace pour le bouton */
  border: 1px solid #e5e5e5 !important;
}

/* Forcer le conteneur parent à ne pas étendre l'input */
#searchtext.form-control {
  max-width: 50% !important;
  flex: 0 1 50% !important;
}

/* Si l'input est dans un .input-group */
.input-group #searchtext {
  max-width: 50% !important;
  flex: 0 1 50% !important;
  width: 50% !important;
}

/* Conteneur du bouton */
.searchPage .input-group-btn {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

/* Bouton de recherche */
.searchPage #searchButton.resultsSearchButton {
  background: transparent !important;
  border: none !important;
  padding: 0 15px !important;
  height: 100% !important;
  border-radius: 0 30px 30px 0 !important;
  color: #232323 !important;
  font-size: 18px !important;
  transition: color 0.3s ease !important;
}

.searchPage #searchButton.resultsSearchButton:hover {
  color: #CD9452 !important;
  background: transparent !important;
}

/* Masquer le texte du bouton et afficher seulement l'icône */
.searchPage #searchButton.resultsSearchButton {
  font-size: 0 !important;
  /* Masque le texte */
}

.searchPage #searchButton.resultsSearchButton::before {
  content: "\f002" !important;
  /* Code Font Awesome pour la loupe */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  display: inline-block !important;
}

/* Alternative avec Feather Icons si Font Awesome n'est pas disponible */
.searchPage #searchButton.resultsSearchButton.use-feather::before {
  content: "" !important;
  font-family: "feather" !important;
  font-size: 20px !important;
}

/* Positionner le .input-group en relatif pour le positionnement absolu du bouton */
.searchPage .input-group {
  position: relative !important;
  max-width: 50% !important;
}

/* Titre des résultats */
h4.searchName {
  font-size: 18px !important;
}

/* ============================================
   FIN PAGE RECHERCHE
   ============================================ */

/* ============================================
   CONTENEURS IMBRIQUÉS - BOX SHADOW
   ============================================ */

/* Couleur d'ombre plus légère pour box-shadow-small imbriqué (ombre vers le bas) */
.box-shadow-small .box-shadow-small {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}

/* Couleur d'ombre plus légère pour box-shadow-small imbriqué dans n'importe quel conteneur */
.container .box-shadow-small,
div[class*="box-shadow"] .box-shadow-small {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}

/* ============================================
   FIN CONTENEURS IMBRIQUÉS
   ============================================ */

/* ============================================
   POPUP ESTIMATION PRODUIT
   Sélecteurs préfixés par .k-widget.k-window pour
   battre la spécificité Kendo (.k-widget *, etc.)
   ============================================ */

/* Réorganiser le contenu en 2 colonnes */
.k-widget.k-window .printEstimatePage #printEstimateProductPage .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

/* Colonne gauche : Image et nom du produit */
.k-widget.k-window .printEstimatePage .col-xs-7 {
  width: 40% !important;
  padding-right: 20px !important;
}

/* Colonne droite : Détails et prix */
.k-widget.k-window .printEstimatePage .col-xs-5 {
  width: 60% !important;
  padding-left: 20px !important;
}

/* Conteneur de l'image et description */
.k-widget.k-window .printEstimatePage .prod-estimate-img-des {
  margin-bottom: 20px !important;
}

/* Image et description sur la même ligne avec espacement */
.k-widget.k-window .printEstimatePage .prod-estimate-img-des .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-img-des .col-xs-12 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-img-des .col-xs-3 {
  flex: 0 0 30% !important;
  width: 30% !important;
  max-width: 30% !important;
  min-width: 30% !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-img-des .col-xs-9 {
  flex: 0 0 70% !important;
  width: 70% !important;
  max-width: 70% !important;
  min-width: 70% !important;
  padding-left: 10px !important;
  box-sizing: border-box !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-prod-img img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Nom du produit */
.k-widget.k-window .printEstimatePage .prod-estimate-prod-name {
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  color: #204755 !important;
}

/* Bloc des détails — fond blanc, pas de gris */
.k-widget.k-window .printEstimatePage .estimate-pricing {
  background: #fff !important;
  background-color: #fff !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
}

/* Forcer fond transparent sur tous les enfants du bloc pricing */
.k-widget.k-window .printEstimatePage .estimate-pricing .calc-parm-inputs,
.k-widget.k-window .printEstimatePage .estimate-pricing .calculatorInputs,
.k-widget.k-window .printEstimatePage .estimate-pricing .calc-results,
.k-widget.k-window .printEstimatePage .estimate-pricing .uomResults,
.k-widget.k-window .printEstimatePage .estimate-pricing .calculatorTotalArea,
.k-widget.k-window .printEstimatePage .estimate-pricing div {
  background: transparent !important;
  background-color: transparent !important;
}

/* Liste des paramètres */
.k-widget.k-window .printEstimatePage .calc-parm-inputs ol {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.k-widget.k-window .printEstimatePage .calc-parm-inputs li {
  padding: 8px 0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  display: flex !important;
  justify-content: space-between !important;
  background: transparent !important;
}

.k-widget.k-window .printEstimatePage .calc-parm-inputs li:last-child {
  border-bottom: none !important;
}

.k-widget.k-window .printEstimatePage .calc-parm-inputs label {
  font-weight: 400 !important;
  color: #204755 !important;
  margin: 0 !important;
  font-size: 14px !important;
}

.k-widget.k-window .printEstimatePage .calc-parm-inputs span {
  color: #333 !important;
  text-align: right !important;
}

/* Total — poids réduit */
.k-widget.k-window .printEstimatePage .calculatorTotalArea {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 2px solid #204755 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: transparent !important;
}

.k-widget.k-window .printEstimatePage .calculatorTotalLabel {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #204755 !important;
}

.k-widget.k-window .printEstimatePage .calculatorTotal {
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #4fc0ea !important;
}

/* Date du devis */
.k-widget.k-window .printEstimatePage .prod-estimate-date {
  margin-bottom: 20px !important;
  font-size: 14px !important;
  color: #666 !important;
}

/* Bouton imprimer */
.k-widget.k-window .printEstimatePage .prod-estimate-button {
  text-align: center !important;
  margin-bottom: 20px !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-button .btn {
  background: #4fc0ea !important;
  border-color: #4fc0ea !important;
  color: white !important;
  padding: 10px 30px !important;
  font-weight: 600 !important;
}

.k-widget.k-window .printEstimatePage .prod-estimate-button .btn:hover {
  background: #3da8cc !important;
  border-color: #3da8cc !important;
}

#printEstimateProductPage .estimate-pricing .calc-parm-inputs {
  border: none !important;
}
#printEstimateProductPage .prod-estimate-subscriber-name {
  font-weight: 400 !important;
  color: #4fc0ea !important;
}

/* Responsive : sur petits écrans, revenir à 1 colonne */
@media (max-width: 768px) {

  .k-widget.k-window .printEstimatePage .col-xs-7,
  .k-widget.k-window .printEstimatePage .col-xs-5 {
    width: 100% !important;
    padding: 0 15px !important;
  }
}

/* ============================================
   FIN POPUP ESTIMATION PRODUIT
   ============================================ */

/* ============================================
   FICHIERS EXISTANTS (RÉÉDITION)
   ============================================ */

/* Conteneur principal du fichier existant */
[id^="existingFileDiv"] .input-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #dcdcdc !important;
}

/* Icône de fichier */
[id^="existingFileDiv"] .file-icon {
  flex-shrink: 0 !important;
  margin-right: 0 !important;
  font-size: 20px !important;
}

/* Input contenant le nom du fichier existant */
.existing-file-input {
  background: transparent !important;
  border: none !important;
  padding: 12px 0px !important;
  font-weight: 600 !important;
  color: #204755 !important;
  flex: 1 !important;
  display: inline-block !important;
  box-shadow: none !important;
  outline: none !important;
  vertical-align: middle !important;
}

/* Conteneur du bouton Supprimer */
.existing-file-btn-container {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  margin-left: 0 !important;
  white-space: normal !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

/* Bouton Supprimer */
.existing-file-remove-btn {
  background: #dc3545 !important;
  color: white !important;
  border: none !important;
  padding: 10px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  font-size: 14px !important;
  width: auto !important;
  height: 35px !important;
  line-height: 15px !important;
}

.existing-file-remove-btn:hover {
  background: #c82333 !important;
  color: #fff !important;
}

.mfp-content p,
.mfp-content .col-md-6 {
  line-height: 20px;
  font-size: 13px;
}

/* ============================================
   FIN FICHIERS EXISTANTS
   ============================================ */

.h2-btngrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.h2-btngrid--single {
  grid-template-columns: 1fr;
}

/* Délais Invitations : adapter le prix au nombre de cartes sur grand écran. */
@media (min-width: 1200px) {
  li.PriceCalc_CalcParm.Dlaisdefabrication .h2-btngrid[data-delays="1"]:has(> .h2-btncard:nth-child(4))
  .product-price {
    font-size: 13px;
    white-space: nowrap;
  }

  li.PriceCalc_CalcParm.Dlaisdefabrication .h2-btngrid[data-delays="1"]:has(> .h2-btncard:nth-child(5))
  .product-price {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .h2-btngrid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* Texte dans les boutons : empêcher le débordement */
.h2-btncard .text-small {
  font-size: 11px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.h2-btncard {
  display: block;
  max-width: none;
  width: 100% !important;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  border-color: #dfdfdf;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  white-space: normal !important;
  overflow: hidden;
  min-width: 0;
}

.h2-btncard--sm {
  min-height: 60px;
}

.h2-btncard--md {
  min-height: 140px;
}

.h2-btncard--lg {
  min-height: 180px;
}

.h2-btncard__icon {
  width: 65px;
  height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-bottom: 15px;
  background: #f8f7f4;
}

.h2-btncard__icon--sm {
  width: 50px;
  height: 50px;
}

.h2-btncard.is-active {
  border-color: #4fc0ea !important;
}

.h2-btncard.is-active .h2-btncard__icon {
  background: rgba(79, 192, 234, 0.12);
}

.h2-btncard--disabled {
  background: #e4e7e9 !important;
  border-color: #c4cbd1 !important;
  box-shadow: none !important;
  color: #7a838a !important;
  opacity: 0.58;
  cursor: not-allowed !important;
}

.h2-btncard--disabled .h2-btncard__icon {
  background: #cfd4d8 !important;
}

.h2-btncard--disabled .h2-switch {
  background: #aeb5bb !important;
}

.h2-btncard--disabled .h2-switch__knob {
  background: #e9ecef !important;
  box-shadow: none !important;
}

.h2-btncard--disabled .h2-switchcard__title,
.h2-btncard--disabled .h2-switchcard__price {
  color: #697279 !important;
}

.h2-accordion {
  width: 100%;
  margin: 40px 0 10px 0;
  border: 2px dotted #d7d7d7;
  border-radius: 10px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.h2-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px dotted #d7d7d7;
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 700;
  color: #204755;
}

.h2-accordion__toggle:focus {
  outline: none;
}

.h2-accordion__icon {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 12px;
  transition: transform 0.2s ease;
  transform: rotate(180deg);
}

.h2-accordion.is-expanded .h2-accordion__icon {
  transform: rotate(0deg);
}

.h2-accordion.is-expanded .h2-accordion__toggle {
  border-color: #4fc0ea;
  border-style: solid; /* Plus net quand il est ouvert */
}

.h2-accordion label{
  font-size: 14px;
}

/* Effet pulse sur la bordure quand l'accordéon est replié et aucune option n'est cochée */
/* 2 battements fluides puis pause jusqu'à 5 secondes */
@keyframes h2-accordion-pulse {

  /* Premier battement */
  0% {
    box-shadow: 0 0 0 0 rgba(79, 192, 234, 0.5);
  }

  5% {
    box-shadow: 0 0 0 6px rgba(79, 192, 234, 0.3);
  }

  10% {
    box-shadow: 0 0 0 0 rgba(79, 192, 234, 0);
  }

  /* Deuxième battement */
  15% {
    box-shadow: 0 0 0 0 rgba(79, 192, 234, 0.4);
  }

  20% {
    box-shadow: 0 0 0 6px rgba(79, 192, 234, 0.2);
  }

  25% {
    box-shadow: 0 0 0 0 rgba(79, 192, 234, 0);
  }

  /* Pause jusqu'au prochain cycle */
  25.1%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 192, 234, 0);
  }
}

.h2-accordion.has-pulse .h2-accordion__toggle {
  animation: h2-accordion-pulse 5s ease-in-out infinite;
  border-color: #4fc0ea;
}

/* Pulse aussi quand l'accordéon est ouvert */
.h2-accordion.has-pulse.is-expanded .h2-accordion__toggle {
  animation: h2-accordion-pulse 5s ease-in-out infinite;
  border-color: #4fc0ea;
  border-style: solid;
}

.h2-accordion__content {
  margin-top: 15px;
}

.h2-accordion--toggle-bottom .h2-accordion__content {
  margin-top: 0;
  margin-bottom: 15px;
}

.h2-switchgroup {
  width: 100%;
  margin-top: 8px;
}

.h2-switchgroup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.h2-switchgroup__title {
  font-weight: 700;
}

.h2-switchcard {
  text-align: left;
  padding: 11px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
}

.h2-switchcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.h2-switchcard__title {
  font-weight: 500;
  color: #204755;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  font-size: 12px;
}

.h2-switchcard__price {
  margin-top: auto;
  font-weight: 300;
  text-align: right;
}

.h2-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #e6e6e6;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.h2-switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.h2-switchcard.is-active .h2-switch {
  background: rgba(79, 192, 234, 0.35);
}

.h2-switchcard.is-active .h2-switch__knob {
  transform: translateX(20px);
}

/* ============================================
   SECTION TITLES - Titres des sections dans l'accordéon
   ============================================ */

.h2-section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  padding: 6px 12px;
  margin-bottom: 10px;
  border-left: 3px solid #ccc;
  border-radius: 2px;
  background: #f7f7f7;
}

/* Couleurs par section */
.h2-option-section[data-section-id="finition"] .h2-section-title {
  background: #f0f7ff;
  border-left-color: #4fc0ea;
  color: #2a7ab5;
}

.h2-option-section[data-section-id="bat"] .h2-section-title {
  background: #fff8f0;
  border-left-color: #f0a050;
  color: #a06830;
}

.h2-option-section[data-section-id="autres"] .h2-section-title {
  background: #f0faf0;
  border-left-color: #6abf6a;
  color: #3a7a3a;
}

/* Espacement entre sections */
.h2-option-section+.h2-option-section {
  margin-top: 16px;
}

/* ============================================
   SECTION AUTRES - Layout flex : max 2 par ligne
   ============================================ */

.h2-option-section[data-section-id="autres"] .h2-section-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.h2-option-section[data-section-id="autres"] .h2-section-content>li {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  max-width: calc(50% - 6px);
}

/* Enveloppes : pleine largeur, seule sur sa ligne */
.h2-option-section[data-section-id="autres"] .h2-section-content>li.Enveloppes {
  flex: 1 1 100%;
  max-width: 100%;
}

/* Uniformiser la hauteur des cards dans la section */
.h2-option-section[data-section-id="autres"] .h2-switchcard.h2-btncard--sm {
  min-height: 60px;
}

/* Responsive : empiler sur mobile */
@media (max-width: 575px) {
  .h2-option-section[data-section-id="autres"] .h2-section-content>li {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* (Section Produit supprimée — fusionnée dans Autres) */

/* ============================================
   SECTION BAT - Layout
   ============================================ */

.h2-section-content-bat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---- Prix injectés dans les dropdowns ---- */

.h2-dropdown-price {
  margin-left: auto;
  padding-left: 12px;
  font-weight: 400;
  color: #9E9E9E;
  font-size: 13px;
  white-space: nowrap;
}

.custom-dropdown-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* ---- Dropdown sticky (ex: Sur-mesure) ---- */

.h2-dropdown-scroll {
  max-height: 180px;
  overflow-y: auto;
}

.h2-dropdown-sticky {
  border-top: 1px dashed #2d94bb;
  background: #f0faff;
  position: sticky;
  bottom: 0;
}

.h2-dropdown-sticky__item {
  font-weight: 600 !important;
  color: #2d94bb !important;
  padding: 10px 16px;
  cursor: pointer;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.h2-dropdown-sticky__item:hover {
  background: #e0f4ff;
}

.h2-dropdown-sticky__icon {
  font-size: 10px;
  margin-right: 8px;
  opacity: 0.7;
}

/* ============================================
   FIX: Champs de formulaire masqués par extensions (Dashlane, etc.)
   Problème signalé sur Chrome Mac - champ "Nom d'utilisateur" invisible
   ============================================ */

/* S'assurer que les form-group ont un positionnement relatif 
   pour que les éléments injectés par les extensions se positionnent correctement */
.form-group {
  position: relative;
  margin-bottom:0 !important;
}

/* Forcer la visibilité et le z-index des inputs dans les formulaires de profil */
.profileLogin,
.profileFirstName,
.profileLastName,
.profileEmail,
.profilePhone,
.profileCellPhone,
.profileTitle,
.profileFax,
.profileWebsite {
  position: relative;
  z-index: 1;
}

.profileLogin input.form-control,
.profileFirstName input.form-control,
.profileLastName input.form-control,
.profileEmail input.form-control,
.profilePhone input.form-control,
.profileCellPhone input.form-control,
.profileTitle input.form-control,
.profileFax input.form-control,
.profileWebsite input.form-control {
  position: relative;
  z-index: 2;
  background-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Empêcher les éléments injectés par les extensions de masquer les inputs */
.form-group>span[data-dashlanecreated],
.form-group>span[data-kwimpalaid] {
  z-index: 3 !important;
  pointer-events: auto;
}

/* ============================================
   COMBO-SELECT (h2-combo-select.js)
   ============================================ */

.h2-combo-select {
  position: relative;
  width: 100%;
}

.h2-combo-select__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.h2-combo-select__toggle:focus-within {
  border-color: #204755;
  box-shadow: 0 0 0 2px rgba(32, 71, 85, 0.12);
}

.h2-combo-select__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #232323;
  padding: 10px 12px;
  min-width: 0;
}

.h2-combo-select__input::placeholder {
  color: #999;
  font-size: 13px;
}

.h2-combo-select__hint {
  color: #aaa;
  font-size: 1em;
  white-space: nowrap;
  pointer-events: none;
  padding-right: 4px;
  padding-left: 4px;
}

.h2-combo-select__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  color: #999;
  transition: transform 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}

.h2-combo-select__arrow.is-open {
  transform: rotate(180deg);
}

.h2-combo-select__arrow i {
  font-size: 12px;
}

/* Panel déroulant */
.h2-combo-select__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.h2-combo-select__panel.is-open {
  display: block;
}

/* Items */
.h2-combo-select__item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #232323;
  transition: background-color 0.15s;
}

.h2-combo-select__item:hover {
  background-color: #f5f5f5;
}

.h2-combo-select__item.is-selected {
  background-color: #e3f2fd;
  color: #204755;
  font-weight: 500;
}

.h2-combo-select__item.is-active {
  background-color: #e8e8e8;
}

.h2-combo-select__item.is-suggested {
  background-color: #e8f5e9;
  border-left: 3px solid #204755;
  font-weight: 500;
}

/* Message "aucun résultat" */
.h2-combo-select__no-match {
  padding: 12px 16px;
  font-size: 13px;
  color: #888;
  font-style: italic;
  text-align: center;
}

/* Message de feedback (arrondi) */
.h2-combo-select__feedback {
  font-size: 12px;
  color: #204755;
  padding: 4px 12px;
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.h2-combo-select__feedback.is-visible {
  opacity: 1;
}

@media (max-width: 575px) {
  .h2-combo-select__toggle {
    min-height: 42px;
  }

  .h2-combo-select__input {
    font-size: 13px;
    padding: 8px 10px;
  }

  .h2-combo-select__panel {
    max-height: 200px;
  }
}

/* ============================================
   CHECKOUT SHIPPING PAGE - OVERRIDE CACHE
   ============================================ */

/* ---- Personnalisation du bloc de choix de livraison ---- */
.custom-shipping-methods {
    background-color: rgba(255, 255, 255, 0.46) !important;
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.06) !important;
    border-radius: 4px !important;
    padding: 30px 40px !important; 
    margin-bottom: 30px !important;
}

.custom-shipping-methods table.shipping-methods-table {
    border-collapse: separate; 
    border-spacing: 0;
    width: 100%;
}

.shipping-section-title {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #204755;
    font-weight: 600;
}

.custom-shipping-methods h5:first-child {
    margin-top: 0;
}

/* Lignes et padding réduits */
.custom-shipping-methods .shipping-method-row {
    transition: all 0.2s ease;
}

.custom-shipping-methods .shipping-method-row td {
    padding: 10px 12px !important;
    vertical-align: middle;
    border-top: 1px solid transparent !important;
    border-bottom: 1px solid transparent !important; /* Remplace le style inline */
    border-left: 4px solid transparent !important; /* Prépare la bordure de sélection */
    border-right: 1px solid transparent !important;
}

/* Lignes alternées très visibles (y compris pour la ligne sélectionnée) */
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row:nth-child(odd) td,
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row.table-active:nth-child(odd) td {
    background-color: #f9f9f9 !important; /* Gris clair */
}
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row:nth-child(even) td,
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row.table-active:nth-child(even) td {
    background-color: #ffffff !important; /* Blanc */
}

/* Effet au survol libre */
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row:hover:not(.table-active) td {
    background-color: #f0f0f0 !important; /* Plus foncé au survol */
}

/*État SÉLECTIONNÉ : Suppression GARANTIE du fond gris natif tr Bootstrap */
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row.table-active {
    background-color: transparent !important;
}

/* S'assurer qu'aucune bordure de focus navigateur ou d'ombre indésirable ne vienne */
.custom-shipping-methods table.shipping-methods-table tbody tr.shipping-method-row.table-active td {
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.custom-shipping-methods .shipping-method-row:focus,
.custom-shipping-methods .shipping-method-row.table-active:focus {
    outline: none !important;
    border-color: transparent !important;
}


/* Ajouter de l'espace pour notre icône de sélection type "radio" */
.custom-shipping-methods .shipping-method-row .col-logo {
    position: relative;
    padding-left: 55px !important; 
}

/* L'icône Radio par défaut (cercle vide) */
.custom-shipping-methods .shipping-method-row .col-logo::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #aebac2; /* Bordure affinée (1px) */
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* Changement de couleur au survol pour inciter au clic */
.custom-shipping-methods .shipping-method-row:hover:not(.table-active) .col-logo::before {
    border-color: #4fc0ea;
}

/* Icône Radio sélectionnée (fond bleu H2) */
.custom-shipping-methods .shipping-method-row.table-active .col-logo::before {
    border-color: #204755;
    background-color: #204755;
    box-shadow: 0 2px 6px rgba(32, 71, 85, 0.3);
}

/* Le petit "check" (encoche blanche façon feather) en CSS pur pour l'état sélectionné */
.custom-shipping-methods .shipping-method-row.table-active .col-logo::after {
    content: '';
    position: absolute;
    left: 22px; /* Réajustement pour centrer dans le cercle plus petit */
    top: 50%;
    width: 5px;
    height: 10px;
    border-bottom: 2px solid #fff; /*Épaisseur du check */
    border-right: 2px solid #fff;
    transform: translateY(-55%) rotate(45deg);
    border-radius: 1px;
}

.address-selection>.content-panel {
    border-top: none;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.46) !important;
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.06) !important;
    border-radius: 4px !important;
}

/* ============================================
   MODALS KENDO (Ex: Ajout d'adresse Checkout en Iframe)
   ============================================ */
.k-window-content body{
  background-color: #fff;
}

.k-window-title{
  line-height: 2.25;
}

.k-window-content .addressArea,
body .addressArea {
    padding: 15px 10px;
}

.k-window-content .form-group,
.addressArea .form-group {
    margin-bottom: 20px;
}

.k-window-content label,
.addressArea label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #204755;
    font-size: 14px;
}

.k-window-content .asterisk.required-indicator,
.addressArea .asterisk.required-indicator {
    color: #e53935;
    margin-left: 3px;
}

.k-window-content .form-control,
.addressArea .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d1d1;
    background: white;
    font-size: 14px;
    border-radius: 4px !important;
    transition: border-color 0.3s;
    height: auto;
    box-shadow: none !important;
}

.k-window-content .form-control:focus,
.addressArea .form-control:focus {
    border-color: #4fc0ea;
    outline: none;
    box-shadow: 0 0 5px rgba(79, 192, 234, 0.3) !important;
}

/* Kendo Dropdown styling to match inputs */
.k-window-content .k-dropdown .k-dropdown-wrap,
.addressArea .k-dropdown .k-dropdown-wrap {
    padding: 8px 15px;
    border: 1px solid #d1d1d1;
    background: white;
    border-radius: 4px;
    height: auto;
}

.k-window-content .k-dropdown .k-dropdown-wrap .k-input,
.addressArea .k-dropdown .k-dropdown-wrap .k-input {
    height: auto;
    line-height: normal;
    padding: 0;
    font-size: 14px;
}

.k-window-content .field-validation-valid,
.addressArea .field-validation-valid {
    display: none !important;
}

.k-window-content .field-validation-error,
.addressArea .field-validation-error {
    display: inline-block;
    margin-top: 5px;
    font-weight: normal;
}

.k-window-content .btn {
    display: inline-block;
    border: 2px solid transparent;
    text-transform: uppercase;
    width: auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 10px;
}
.k-window-content button, .k-window-content .btn, .k-window-content a.btn, .k-window-content input[type="submit"], .k-window-content input[type="button"], .k-window-content input[type="reset"] {
    border-radius: 4px !important;
}

.cart-saveforlater-header .cart-saveforlater-header__title {
    font-size: 16px !important;
}
.cart-saveforlater {
    
    background: #fff !important;
   
}
.ship-to__locations {
    /*display: none !important;*/
}
/* ============================================
   Bouton Checkout Loader
   ============================================ */
.cartCheckoutButton.is-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.cartCheckoutButton.is-loading > span {
    opacity: 0;
    visibility: hidden;
}

.cartCheckoutButton.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    animation: h2-bouncing-dots-white 1s infinite linear alternate, h2-loader-fade-in 0.15s ease-out;
}

/* Bouton Checkout Shipping avec loader et texte visible */
.shipping-btn-loading {
    pointer-events: none;
    display: flex !important;
    width: 100% !important;
    align-items: center;
    justify-content: center;
    gap: 25px; /* Espace pour le box-shadow gauche de l'animation */
}

.shipping-btn-loading::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    animation: h2-bouncing-dots-white 1s infinite linear alternate, h2-loader-fade-in 0.15s ease-out;
}

@keyframes h2-bouncing-dots-white {
    0% {
        background-color: #fff;
        box-shadow: -12px -8px 0 0 #fff, 12px 8px 0 0 rgba(255, 255, 255, 0.3);
    }
    25% {
        background-color: #fff;
        box-shadow: -12px 0 0 0 #fff, 12px 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: -12px 8px 0 0 rgba(255, 255, 255, 0.3), 12px -8px 0 0 #fff;
    }
    75% {
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: -12px 0 0 0 rgba(255, 255, 255, 0.3), 12px 0 0 0 #fff;
    }
    100% {
        background-color: #fff;
        box-shadow: -12px -8px 0 0 #fff, 12px 8px 0 0 rgba(255, 255, 255, 0.3);
    }
}

/* ============================================
   VALIDATION DIMENSIONS — styles globaux
   ============================================ */
@keyframes h2-error-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); border-color: #dc3545; }
  50%  { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); border-color: #dc3545; }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); border-color: #dc3545; }
}

.error-pulse {
  animation: h2-error-pulse 0.6s ease-out 3;
  border-color: #dc3545 !important;
  outline: none;
}

.error-message-dimensions {
  border-left: 4px solid #dc3545;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 16px;
}
