/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

 /* ==========================================================================
   1. DECLARATION DES POLICES (RECHAMP DES FICHIERS FTP)
   ========================================================================== */
@font-face {
    font-family: 'quicksand';
    font-style: normal;
    font-weight: 300;
    font-display: auto;
    src: url("../fonts/quicksand-light-webfont.woff2") format("woff2"), url("../fonts/quicksand-light-webfont.woff") format("woff");
}
@font-face {
    font-family: 'quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url("../fonts/quicksand-regular-webfont.woff2") format("woff2"), url("../fonts/quicksand-regular-webfont.woff") format("woff");
}
@font-face {
    font-family: 'quicksand';
    font-style: normal;
    font-weight: 500;
    font-display: auto;
    src: url("../fonts/quicksand-medium-webfont.woff2") format("woff2"), url("../fonts/quicksand-medium-webfont.woff") format("woff");
}
@font-face {
    font-family: 'quicksand';
    font-style: normal;
    font-weight: 600;
    font-display: auto;
    src: url("../fonts/quicksand-semibold-webfont.woff2") format("woff2"), url("../fonts/quicksand-semibold-webfont.woff") format("woff");
}
@font-face {
    font-family: 'quicksand';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url("../fonts/quicksand-bold-webfont.woff2") format("woff2"), url("../fonts/quicksand-bold-webfont.woff") format("woff");
}
@font-face {
    font-family: 'bimboregular';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url("../fonts/bimboregular-webfont.woff2") format("woff2"), url("../fonts/bimboregular-webfont.woff") format("woff");   
}

@font-face {
    font-family: 'ErnestinePro';
    font-display: auto;
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
    src: url("../fonts/font_FF_ernestine.woff2") format("woff2"), url("../fonts/font_FF_ernestine.woff") format("woff");
}

@font-face {
  font-family: 'themify';
  src: url("../fonts/themify.woff") format("woff");
  font-weight: normal;
  font-style: normal; 
}
.ti-world:before {
  content: "\e665"; 
}

/* ==========================================================================
   2. APPLICATION DE QUICKSAND SUR TOUT LE SITE
   ========================================================================== */
:root, [data-bs-theme=light] {
    --bs-body-font-family: "quicksand", sans-serif;
}

body, p, span:not([class*="material-"]), a, input, select, textarea, button, td, th {
    font-family: "quicksand", sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "quicksand", sans-serif;
}

/* Les icones Material doivent garder leur police d'icones (sinon on voit le mot "menu", "language"...) */
.material-icons,
[class*="material-icons"] {
    font-family: "Material Icons" !important;
}

@media (min-width: 768px) {
    .header-block--active .header-block, .header-block--active .header-block__icon {
        color: #000000;
    }
}

/* ==========================================================================
  Recolorisation du theme
   ======================================================================== */
@layer vendors, bs-base, bs-components, bs-custom-components, ps-base, ps-components, ps-pages, ps-modules, utilities;
:root,
[data-bs-theme="light"] {
    --bs-primary: #cc807d;
    --bs-primary-rgb: 204, 128, 125;
    --bs-primary-text-emphasis: #cc807d;
    --bs-link-color: #cc807d;
    --bs-link-color-rgb: 204, 128, 125;
    --bs-link-hover-color: #a36664;
    --bs-link-hover-color-rgb: 163, 102, 100;
}
[data-bs-theme="dark"] {
    color-scheme: dark;
    --bs-primary-text-emphasis: #e0b3b1;
    --bs-info-text-emphasis: #6edff6;
    --bs-primary-border-subtle: #7a4d4b;
    --bs-link-color: #e0b3b1;
    --bs-link-hover-color: #e6c2c1;
    --bs-link-color-rgb: 224, 179, 177;
    --bs-link-hover-color-rgb: 230, 194, 193;
}


    .btn-primary {
        --bs-btn-bg: #cc807d;
        --bs-btn-border-color: #cc807d;
        --bs-btn-hover-bg: #ad6d6a;
        --bs-btn-hover-border-color: #a36664;
        --bs-btn-focus-shadow-rgb: 212, 147, 145;
        --bs-btn-active-bg: #a36664;
        --bs-btn-active-border-color: #99605e;
        --bs-btn-disabled-bg: #cc807d;
        --bs-btn-disabled-border-color: #cc807d;
    }
    
    .btn-info {
        --bs-btn-bg: #0dcaf0;
        --bs-btn-border-color: #0dcaf0;
        --bs-btn-hover-bg: #31d2f2;
        --bs-btn-hover-border-color: #25cff2;
        --bs-btn-focus-shadow-rgb: 11, 172, 204;
        --bs-btn-active-bg: #3dd5f3;
        --bs-btn-active-border-color: #25cff2;
        --bs-btn-disabled-bg: #0dcaf0;
        --bs-btn-disabled-border-color: #0dcaf0;
    }

    .btn-outline-primary {
        --bs-btn-color: #cc807d;
        --bs-btn-border-color: #cc807d;
        --bs-btn-hover-bg: #cc807d;
        --bs-btn-hover-border-color: #cc807d;
        --bs-btn-focus-shadow-rgb: 204, 128, 125;
        --bs-btn-active-bg: #cc807d;
        --bs-btn-active-border-color: #cc807d;
        --bs-btn-disabled-color: #cc807d;
        --bs-btn-disabled-border-color: #cc807d;
    }


    .btn-outline-info {
        --bs-btn-color: #0dcaf0;
        --bs-btn-border-color: #0dcaf0;
        --bs-btn-hover-bg: #0dcaf0;
        --bs-btn-hover-border-color: #0dcaf0;
        --bs-btn-focus-shadow-rgb: 13, 202, 240;
        --bs-btn-active-bg: #0dcaf0;
        --bs-btn-active-border-color: #0dcaf0;
        --bs-btn-disabled-color: #0dcaf0;
        --bs-btn-disabled-border-color: #0dcaf0;
    }

    .dropdown-menu {
        --bs-dropdown-link-active-bg: #cc807d;
    }

     .dropdown-menu-dark {
        --bs-dropdown-link-active-bg: #cc807d;
    }

    .form-select:focus {
        border-color: #e6c0be;
    }

    .form-check-input:checked {
        background-color: #cc807d;
        border-color: #cc807d;
    }
    .form-check-input[type="checkbox"]:indeterminate {
        background-color: #cc807d;
        border-color: #cc807d;
    }

    .form-range::-webkit-slider-thumb {
        background-color: #cc807d;
    }

    .form-range::-webkit-slider-thumb:active {
        background-color: #f0d9d8;
    }

    .form-range::-moz-range-thumb {
        background-color: #cc807d;
        }

    .form-range::-moz-range-thumb:active {
        background-color: #f0d9d8;
    }

    .list-group {
        --bs-list-group-active-bg: #cc807d;
        --bs-list-group-active-border-color: #cc807d;
    }

    .nav-pills {
        --bs-nav-pills-link-active-bg: #cc807d;
    }

    .progress,
    .progress-stacked {
        --bs-progress-bar-bg: #cc807d;
    }


/* ==========================================================================
   6. logo sur mobile plus petit
   ========================================================================== */
@media (max-width: 767.98px) {
    .header-bottom .navbar-brand .logo {
    max-width: 4rem;   
    }
}

/* ==========================================================================
   6. RESTYLISATION DU SeLECTEUR DE LANGUE (STYLE ANCIEN THEME LEO)
   ========================================================================== */

/* Par defaut (mobile/tablette) : select natif Hummingbird visible, version custom masquee */
.ps-languageselector .ps-ls-native { display: none !important; }
.ps-languageselector .ps-ls-custom { display: block !important; }

  @media (max-width: 767.98px) {
    .ps-ls-custom .lang-name,
    .ps-ls-custom .arrow-down {
        display: none !important;
    }
    .ps-languageselector .global-icon {
    font-size: 1.25rem !important;
    }
  }
  /* Structure generale et point d'ancrage */
  .ps-languageselector {
      position: relative !important;
      display: inline-block !important;
  }
  /* Le bouton principal visible (ex: Francais) */
  .ps-languageselector a.popup-title {
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      padding: 10px 15px !important;
      color: var(--bs-body-color) !important;
      font-size: 13px !important;
      font-weight: 500 !important;
      text-transform: capitalize !important;
      text-decoration: none !important;
      cursor: pointer !important;
      transition: color 0.2s ease !important;
  }

  .ps-languageselector a.popup-title:hover {
      color: var(--bs-emphasis-color) !important;
  }

  /* Personnalisation des icones du bouton principal */
  .ps-languageselector .global-icon {
      font-family: 'themify' !important;
      font-size: 1.25rem;
      color: var(--bs-body-color) !important;
      speak: none;
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      line-height: 1;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
  }

  .ps-languageselector .arrow-down {
      font-size: 14px !important;
      color: var(--bs-secondary-color) !important;
      transition: transform 0.3s ease !important;
  }

  /* 3. La petite fenetre Dropdown cachee par defaut */
  .ps-languageselector .popup-content.language-selector {
      position: absolute !important;
      top: 100% !important;
      right: 0 !important;         /* Aligne sur la droite du bloc parent */
      left: auto !important;
      background-color:  var(--bs-body-bg) !important;
      min-width: 180px !important;
      padding: 10px 0 !important;
      margin-top: 0 !important;
      list-style: none !important;
      border-radius: var(--bs-border-radius-sm) !important; /* Coins arrondis d'origine */
      box-shadow: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important; /* Ombre d'origine */
      z-index: 9999 !important;
    
      /* Animation d'apparition fluide au survol */
      display: block !important;
      opacity: 0 !important;
      visibility: hidden !important;
      transform: translateY(5px) !important;
      transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.2s ease !important;
  }

  /* Declenchement de l'affichage au survol du bloc parent */
  .ps-languageselector:hover .popup-content.language-selector {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateY(0px) !important;
  }

  /* Rotation de la petite flèche au survol */
  .ps-languageselector:hover .arrow-down {
      transform: rotate(180deg) !important;
  }

  /* Les lignes d'options a l'interieur de la petite boîte */
  .ps-languageselector .language-selector li {
      display: block !important;
      position: relative !important;
  }

  .ps-languageselector .dropdown-item-lang {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      padding: 8px 20px !important;
      color: var(--bs-secondary-color) !important;
      font-size: 13px !important;
      text-decoration: none !important;
      text-transform: uppercase !important; /* Format de langue en majuscules */
      font-weight: 500 !important;
      transition: background 0.2s ease, color 0.2s ease !important;
  }

  /* Changement de fond et couleur au survol de la ligne */
  .ps-languageselector .dropdown-item-lang:hover {
      background-color: var(--bs-secondary-bg) !important;
      color: var(--bs-emphasis-color) !important;
  }

  /* Alignement parfait du petit drapeau image */
  .ps-languageselector .lang-img {
      display: inline-flex !important;
      align-items: center !important;
      width: 16px !important;
      height: 11px !important;
  }

  .ps-languageselector .lang-img img {
      display: block !important;
      max-width: 100% !important;
      height: auto !important;
  }

  /* Style de coche verte ou noire discrète pour la langue selectionnee (current) */
  .ps-languageselector .language-selector li.current .lang-name {
      color: var(--bs-emphasis-color) !important;
      font-weight: 700 !important;
  }

  /* Style de coche noire pour la langue selectionnee (current) - Version universelle sans bug */
  .ps-languageselector .language-selector li.current .dropdown-item-lang {
      color: var(--bs-emphasis-color) !important;
  }

  .ps-languageselector .language-selector li.current .lang-text {
      font-weight: 700 !important;
  }

  /* Remplacement du caractere d'icone brise par un symbole de coche universel */
  .ps-languageselector .language-selector li.current:after {
      content: "✓" !important; /* Symbole de coche de texte universel (evite le carre vide) */
      font-family: inherit !important;
      position: absolute !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      right: 20px !important;
      color: var(--bs-primary) !important;
      font-size: 14px !important;
      font-weight: bold !important;
      pointer-events: none !important;
  }
/* Quantite d'articles dans le panier */
  .header-block__badge {
        font-weight: 400 !important;
        left: 82% !important;
    }
@media (min-width: 768px) {
    .header-block__badge {
        background: var(--bs-primary) !important;
        color: var(--bs-light) !important;
        font-size: 0.625rem !important;
        height: 1rem !important;
        min-width: 1rem !important;
        position: absolute !important;
    }
}

/* alignement du menu */
.ps-mainmenu:is(.ps-mainmenu--desktop) {
      justify-content: space-around;
}


/* ==========================================================================
   MENU COLLANT UNIQUEMENT et pas tout le header
   ========================================================================== */

@media (min-width: 1200px) {
  /* menu sur sa propre ligne */
  .header-bottom__row > .ps-mainmenu--desktop {
    order: 99;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  /* ligne 1 : logo a gauche, le reste pousse a droite */
  .header-bottom__logo {
    flex: 1 1 auto;
  }

  /* etat scotche : fond translucide + flou, sur .header (pas .header-bottom) */
  .header.is-stuck {
    background-color: color-mix(in srgb, var(--bs-body-bg) 70%, transparent);
    -webkit-backdrop-filter: blur(.3rem);
    backdrop-filter: blur(.3rem);
  }
}








/* ==========================================================================
   CORRECTIF STRUCTURAL : PETIT DROPDOWN ADAPTe AUX LIENS DIRECTS
   ========================================================================== */

/* 1. On prepare chaque categorie principale a aligner son propre sous-menu */
.ps-mainmenu__desktop .ps-mainmenu__tree > li {
    position: relative !important;
}

/* 2. Style de la petite fenetre (Dropdown) base sur votre ancien thème */
.ps-mainmenu__desktop .ps-mainmenu__tree > li .submenu {
    position: absolute !important;
    top: 100% !important;           /* Aligne juste sous le texte */
    left: 0 !important;              /* Aligne a gauche de la categorie */
    right: auto !important;          /* Desactive le plein ecran natif */
    width: 240px !important;         /* Largeur de l'ancienne boîte */
    min-width: 200px !important;
    background-color: var(--bs-body-bg) !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    border-radius: var(--bs-border-radius-sm) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
    padding: 10px !important;
    z-index: 1000 !important;
    
    /* Animation d'ouverture fluide au survol issue de l'ancien CSS */
    display: block !important;       /* On laisse le bloc actif pour l'animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
}

/* 3. Declenchement de l'animation au passage de la souris */
.ps-mainmenu__desktop .ps-mainmenu__tree > li:hover .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0px) !important; /* La boîte remonte legèrement en apparaissant */
}

.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree>li .ps-mainmenu__tree-link:focus {
    border-radius: initial;
    color: var(--bs-link-color);
    outline: none;
    outline-offset: initial;
}

/* 4. Restructuration interne (On annule la grille Bootstrap d'origine) */
.ps-mainmenu__desktop .submenu__row.row {
    display: flex !important;
    flex-direction: column !important; 
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. C'est ici que la magie opere : On AFFICHE la colonne gauche et on la reformate */
.ps-mainmenu__desktop .submenu__left {
    display: flex !important;
    flex-direction: column !important; /* Les liens s'empilent verticalement */
    gap: 4px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* On masque la colonne de droite d'Hummingbird qui est vide dans votre cas */
.ps-mainmenu__desktop .submenu__right {
    display: none !important;
}

/* 6. Style des liens (Reproduction exacte de votre ancien Leo Menu) */
.ps-mainmenu__desktop .submenu__left-item {
    display: block !important;
    padding: 6px 12px !important;
    color: var(--bs-secondary-color) !important;         /* Couleur gris de votre ancien thème */
    font-size: 13px !important;        /* Taille d'origine */
    font-weight: 500 !important;
    text-transform: uppercase !important; /* Vos liens en MAJUSCULES comme dans le HTML */
    text-decoration: none !important;
    border-radius: var(--bs-border-radius-sm) !important;
    background: none !important;       /* Supprime les fonds actifs natifs d'Hummingbird */
    transition: all 0.2s ease !important;
}

/* Effet de decalage et changement de couleur au survol (Identique a l'ancien) */
.ps-mainmenu__desktop .submenu__left-item:hover {
    color: var(--bs-emphasis-color) !important;         /* Devient noir au survol */
    background-color: var(--bs-secondary-bg) !important;   /* Fond gris clair de l'ancien thème */
    transform: translateX(4px) !important;    /* Leger glissement vers la droite */
}

/* Masquage du bouton flèche d'Hummingbird devenu inutile sur PC */
.ps-mainmenu__tree-dropdown-toggle {
    display: none !important;
}

/* ==========================================================================
   PERSONNALISATION UNIQUE DE LA PREMIERE CATeGORIE DU MENU
   ========================================================================== */
/* BLOCAGE DE LA FENeTRE DES SOUS-CATeGORIES AU SURVOL */
.ps-mainmenu__desktop .ps-mainmenu__tree > li:first-child:hover .submenu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important; /* Reste dans sa position cachee */
    pointer-events: none !important;       /* Desactive toute interaction */
}

.ps-mainmenu__desktop .ps-mainmenu__tree > li:first-child .ps-mainmenu__tree-link {
    font-family: 'bimboregular', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
}

.ps-mainmenu__mobile .menu__list > li:first-child .menu__link {
    font-family: 'bimboregular', sans-serif !important;
    font-weight: 400;
    font-size: 1rem;
}

/* blog personnalisation */
.type-link a.ps-mainmenu__tree-link {
    font-family: 'bimboregular' !important;
    font-size: 1.1rem !important;
    font-weight: 400;
}

.ps-mainmenu__mobile .menu__link[target="_blank"] {
    font-family: 'bimboregular';
    font-size: 1rem;
    font-weight:400;
}

/* ==========================================================================
   FORcAGE DE LA MISE EN PAGE NIVEAU RESTRUCTURATION GLOBAL HEADER (PC)
   ========================================================================== */

@media (min-width: 1400px) {
    /* On duplique exactement la liste des conteneurs pour ecraser la priorite Bootstrap */
    .header-bottom .container, 
    .header-bottom .container-lg, 
    .header-bottom .container-md, 
    .header-bottom .container-sm, 
    .header-bottom .container-xl, 
    .header-bottom .container-xs, 
    .header-bottom .container-xxl {
        width: 100% !important;
        max-width: 1410px !important;
        min-width: 0px !important;
        
        /* CORRECTIF : On supprime les marges de compression Bootstrap */
        padding-left: 0 !important;
        padding-right: 0 !important;
        --bs-gutter-x: 0 !important; /* Desactive la variable d'espacement de grille */
    }
}

@media (min-width: 1200px) {
    /* 1. On autorise les elements de la ligne a revenir a la ligne (Passage sur 2 etages) */
    .header-bottom .container > .row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important; /* Centre les elements */
        row-gap: 20px !important;           /* Espacement vertical entre Logo et Menu */
    }

    /* 2. eTAGE 1 : Le logo passe tout en haut, centre et prend 100% de la largeur */
    .header-bottom__logo {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        justify-content: center !important; /* Centre l'image du logo */
        text-align: center !important;
        margin: 10px 0 5px 0 !important;
    }

    /* Ajustement de la taille du logo si besoin pour qu'il soit plus visible */
    .header-bottom__logo img.logo {
        max-height: 60px !important;        /* Augmente la taille si trop petit */
        width: auto !important;
    }

    /* etiage de l'arborescence du menu principal */
    .ps-mainmenu__desktop .ps-mainmenu__tree {
        width: 100% !important;
        justify-content: center !important;
        gap: 25px !important;
    }

    /* Agrandissement et aeration des textes des categories principales (ex: MARQUES) */
    .ps-mainmenu__desktop .ps-mainmenu__tree > li .ps-mainmenu__tree-link {
        text-transform: uppercase !important;
        font-size: 0.8rem;
        padding: 12px 15px !important;                   /* Zone de clic plus large */
        letter-spacing: 0.5px !important;
    }

    /* Ajustement des autres elements (Recherche, panier, etc.) pour qu'ils s'integrent bien */
    .header-bottom div[id*="search_widget"],
    .header-bottom div[id*="shopping_cart"] {
        order: 3 !important; /* Vous pouvez les laisser glisser sur un 3eme etage ou les caler sur le cote */
    }
}

a.left-block__title-link {
    font-family: 'bimboregular' !important;
    font-weight: 200;
    font-size: 1.1rem;
}

.category-tree__list[data-depth="0"]
    > .category-tree__item
    > .category-tree__item-header
    .category-tree__item-link {
    font-weight: 200 !important;
}

.product-miniature__manufacturer a[href*="/brand/2-my-little-concept"],
.product__manufacturer a[href*="/brand/2-my-little-concept"],
a.brand__title[href*="/brand/2-my-little-concept"] {
  font-family: 'bimboregular', sans-serif !important;
}


/* ==========================================================================
   suppression categorytree sur mobile
   ========================================================================== */
a.category-tree__item-link:is([href*="/23-"], [href*="/24-"], [href*="/25-"], [href*="/85-"], [href*="/88-"]) {
    display:none !important;
    }

@media (max-width: 767.98px) {
    .ps-categorytree {
        display: none !important;
    }
}

/* ============================================================
MLC HOMEPAGE 
============================================================ */
section.ps-customtext.ps-customtext-3 {
    margin-top: 2rem;
}

.mlc-home {
  max-width: 1920px;
  margin: 0 auto;
}
.mlc-home .mlc-section { padding: 20px 24px; }
.mlc-home .mlc-inner { max-width: 1200px; margin: 0 auto; }
.mlc-home p { color: #6b6b6b; }
.mlc-home img { max-width: 100%; height: auto; display: block; }

/* ---------- BOUTONS HORLOGES : couleur propre, sur la base .btn-outline-primary du thème ---------- */
.mlc-home .mlc-btn-teal {
  --bs-btn-color: #3a938a;
  --bs-btn-border-color: #4db6ac;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4db6ac;
  --bs-btn-hover-border-color: #4db6ac;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3a938a;
  --bs-btn-active-border-color: #3a938a;
}
.mlc-home .mlc-btn-green {
  --bs-btn-color: #6ba57c;
  --bs-btn-border-color: #8bbf9a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #8bbf9a;
  --bs-btn-hover-border-color: #8bbf9a;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6ba57c;
  --bs-btn-active-border-color: #6ba57c;
}
.mlc-home .mlc-btn-coral {
  --bs-btn-color: #d4707a;
  --bs-btn-border-color: #e2929a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e2929a;
  --bs-btn-hover-border-color: #e2929a;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d4707a;
  --bs-btn-active-border-color: #d4707a;
}

/* ---------- 01 ACCROCHE (.mlc-accroche) ---------- */
.mlc-accroche { text-align: center; }

/* ---------- 02 LES 3 HORLOGES (.mlc-clocks) ---------- */
.mlc-clocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mlc-clock-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.mlc-clock-card .mlc-tag {
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mlc-clock-card--jour .mlc-tag { color: #4db6ac; }
.mlc-clock-card--semaine .mlc-tag { color: #6ba57c; }
.mlc-clock-card--heure .mlc-tag { color: #d4707a; }
.mlc-clock-card h3 { margin-top: 4px; }
.mlc-clock-card img { margin: 16px auto; max-width: 220px; }
/* boutons alignés en bas des 3 cartes */
.mlc-clock-card .btn { align-self: center; margin-top: auto; }

/* ---------- 03 COMMENT ÇA FONCTIONNE (.mlc-how) ---------- */

.mlc-how h2 { text-align: center; }
.mlc-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
  background: #eef3f4;
  padding: 14px;
}
.mlc-how-step { text-align: center; }
.mlc-how-step .mlc-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  margin: 0 auto 14px;
}
.mlc-how-step:nth-child(1) .mlc-step-num { background: #eab054; }
.mlc-how-step:nth-child(2) .mlc-step-num { background: #e2929a; }
.mlc-how-step:nth-child(3) .mlc-step-num { background: #8bbf9a; }
.mlc-how-step h4 { letter-spacing: .03em; text-transform: uppercase; }
.mlc-how-cta { text-align: center; margin-top: 32px; }

.mlc-section.mlc-how h2 {
    text-transform:uppercase;
}


/* ---------- 04 LES BÉNÉFICES (.mlc-benefits) ---------- */
.mlc-benefits { text-align: center; }
.mlc-benefits > .mlc-inner > p { max-width: 560px; margin: 0 auto 32px; }
.mlc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.mlc-benefit-item { text-align: center; }
.mlc-benefit-item .mlc-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.mlc-benefit-item h4 {
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mlc-benefit-item:nth-child(1) h4 { color: #3a938a; }
.mlc-benefit-item:nth-child(2) h4 { color: #9a6f12; }
.mlc-benefit-item:nth-child(3) h4 { color: #6ba57c; }
.mlc-benefit-item:nth-child(4) h4 { color: #d4707a; }

/* ---------- 05 GROS PLAN SUR LES STICKETTES (.mlc-stickers) ---------- */
.mlc-stickers .mlc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mlc-stickers-img img { border-radius: 12px; }
.mlc-stickers-text strong { color: #2b2b2b; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .mlc-clocks-grid,
  .mlc-how-grid,
  .mlc-stickers .mlc-inner { grid-template-columns: 1fr; }
}



@media (max-width: 767.98px) {
  .mlc-home .mlc-section { padding: 20px 16px; }
  .mlc-benefits-grid { grid-template-columns: 1fr 1fr; }

  /* Titres */
  section.ps-customtext.ps-customtext-3 h2,
  .mlc-section.mlc-accroche h2,
  .mlc-section.mlc-benefits h2,
  .mlc-section.mlc-stickers h2,
  .mlc-section.mlc-how h2 {
    font-size: 1.3rem;
  }

  /* Paragraphes */
  section.ps-customtext.ps-customtext-3 p,
  .mlc-section.mlc-accroche p,
  .mlc-section.mlc-benefits p,
  .mlc-section.mlc-stickers p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  .mlc-section.mlc-benefits > .mlc-inner > p { margin-bottom: 1.5rem; }
  .mlc-clock-card p,
  .mlc-section.mlc-how p {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   carrousel productfeatured (titres) et bestseller (titres et override)
   ========================================================================== */
.mlc-featured-title {
  margin: 0;
  padding: 0;
}

.mlc-featured-title__line1 {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  font-weight: 200;
  font-size: clamp(20px, 4.5vw, 28px);
  text-align: center;
  text-transform: uppercase;
}

.mlc-featured-title__line2 {
  display: block;
  max-width: 620px;
  margin: 0 auto 30px;
  font-family: 'bimboregular' !important;
  font-weight: 400;
  font-size: 21px;
  text-align: center;
}


.mlc-bestsellers-title {
  margin: 0;
  padding: 0;
}

.mlc-bestsellers-title__line1 {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  font-weight: 200;
  font-size: clamp(20px, 4.5vw, 28px);
  text-align: center;
  text-transform: uppercase;
}

.mlc-bestsellers-title__line2 {
  display: block;
  max-width: 620px;
  margin: 0 auto 30px;
  font-family: 'bimboregular' !important;
  font-weight: 400;
  font-size: 21px;
  text-align: center;
} 

/* ==========================================================================
   REPRODUCTION DU DESIGN DES FICHES PRODUITS (ANCIEN THeME LEO/AP)
   ========================================================================== */

/* 1. Structure de la vignette produit */
.product-miniature,
.module-products__list .product-miniature {
    background-color: var(--bs-body-bg) !important;
    border: none !important;
    padding: 15px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Effet d'ombre au survol de la fiche */
.product-miniature:hover {
    border-color: var(--bs-gray-500) !important;
    box-shadow: var(--bs-box-shadow) !important;
}

/* 2. Zone Image produit */
.product-miniature__top {
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 2px !important;
    block-size: 100% !important;
}

.product-miniature__image {
    transition: transform 0.4s ease !important;
}

.product-miniature:hover .product-miniature__image {
    transform: scale(1.08) !important; /* Leger zoom au survol */
}

/* drapeaux miniatures */
li.badge {
    font-weight: 600;
    font-size: 0.6rem;
    text-transform: uppercase;
}

li.badge.new {
    background-color: #a1c69e;
    border-color: #a1c69e;
}

li.badge.out_of_stock {
    background-color: #d1e6dc;
    border-color: #d1e6dc;
    color: #707b76;
}

/* 3. Typographie et titre du produit (Police Quicksand) */
.product-miniature__title, 
.product-miniature__title a {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: var(--bs-body-color) !important;
    text-transform: uppercase !important; /* Majuscules selon l'ancien format */
    line-height: 20px !important;
    margin: 0 0 3px 0 !important;
    text-align: center !important;
}

.product-miniature__manufacturer a {
    font-size: 0.7rem;
    text-transform: uppercase;
}


.product-miniature__title a:hover {
    color: var(--bs-secondary-color) !important;
}

/* 4. Affichage et mise en forme des prix */
.product-miniature__prices {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 24px !important;
    transition: all 0.3s ease !important;
}

/* Prix de base / Courant */
.product-miniature__price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bs-body-color) !important;
}

/* Prix barre (Regulier) */
.product-miniature__regular-price {
    color: var(--bs-secondary-color) !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

/* Forcage de la couleur specifique de reduction */
.product-miniature__regular-price + .product-miniature__price,
.product-miniature__price.has-discount {
    color: var(--bs-danger) !important; /* Rouge/Rose reduction de votre ancien CSS */
}

/* Suppression de l'arrière plan blanc de la loupe */
button.product-miniature__icon.btn.btn-tertiary.btn-square-icon.js-quickview.d-none.d-md-inline-flex {
    background: none;
    border: none;
}

button.product-miniature__icon.btn.btn-tertiary.btn-square-icon.js-quickview.d-none.d-md-inline-flex:hover {
    background: none;
    border: none;
}


/* 5. Animation du bouton "Ajouter au panier" au survol */
/* On cache le bouton par defaut et on le prepare a monter */
.product-miniature__add-to-cart-button,
.product-miniature__actions {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: var(--bs-dark) !important; /* Couleur sombre du bouton d'origine */
    color: var(--bs-light) !important;
    border: none !important;
    height: 40px !important;
    line-height: 40px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    transition: all 0.35s ease !important;
    transform: translateY(100%) !important; /* Masque sous la fiche */
    opacity: 0 !important;
    visibility: hidden !important;
}

.product-miniature__add-to-cart-button:hover {
    background-color: var(--bs-emphasis-color) !important;
}

/* Declenchement de l'affichage du bouton au survol */
.product-miniature:hover .product-miniature__add-to-cart-button,
.product-miniature:hover .product-miniature__actions {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* On masque temporairement le prix au survol pour laisser la place au bouton comme avant */
.product-miniature:hover .product-miniature__prices {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

/* ==========================================================================
   CORRECTIF :  DESACTIVATION DU FLEX-GROW ET ALIGNEMENT PAR LE BAS
   ========================================================================== */

/* 1. On empeche le bloc de texte de s'etirer vers le haut */
.product-miniature__bottom {
    flex-grow: 0 !important;
    margin-top: auto !important; /* Repousse le bloc tout en bas, peu importe la taille de l'image */
}      

/* ==========================================================================
   7. RESTYLISATION des boutons loupe et panier sur les miniatures produits
   ========================================================================== */
/* Icones loupe + caddie en bas a gauche de l'image des miniatures */
.product-miniature__icons {
  position: absolute;
  left: .5rem;
  bottom: 2.3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.product-miniature__icons-form {
  margin: 0;
}

/* Le thème Hummingbird ajoute au survol/focus une ombre (cadre) sur __inner et retire
   l'arrondi du bas de l'image pour la barre d'apercu rapide, qui n'existe plus.
   On annule uniquement ces deux effets (aucune règle de hauteur/position/marge). */
@media (hover: hover) {
  .product-miniature__inner:hover,
  .product-miniature__inner:has(:focus-visible) {
    box-shadow: none !important;
  }

  .product-miniature__inner:hover .product-miniature__top,
  .product-miniature__inner:has(:focus-visible) .product-miniature__top {
    border-end-start-radius: var(--bs-border-radius) !important;
    border-end-end-radius: var(--bs-border-radius) !important;
  }
}

/* customisation bouton de paiement add to cart love */

button.product-miniature__icon.btn.btn-primary.btn-square-icon.btn-add-to-cart-love {
    font-size: 0.8rem !important;
}

@media (max-width: 575.98px) {
    button.product-miniature__icon.btn.btn-primary.btn-square-icon.btn-add-to-cart-love {
    font-size: 0.7rem !important;
    }
}

/* ==========================================================================
                      personnalisation FOOTER
==========================================================================*/
.ps-socialfollow.footer-block.col-md-6.col-lg-3 svg {
    fill: pink !important;
}


/* ==========================================================================
                      personnalisation PAGE CATEGORIES 
==========================================================================*/

.category__header .subcategory {
    font-size: 0.7rem !important;
}

/* ======================================
   accordeon description categorie
   =================================== */
.product-description-container {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-family: inherit;
}
.mlc-summary-block {
  background-color: #f0fdfa;
  border-left: 5px solid #4db6ac;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.mlc-summary-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.mlc-toggle-btn {
  display: block;
  margin: 0 auto 8px;
  background: none;
  border: 1px solid #4db6ac;
  color: #4db6ac;
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.mlc-toggle-btn:hover {
  background: #4db6ac;
  color: #fff;
}
.mlc-toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.mlc-toggle-btn[aria-expanded="true"] .mlc-toggle-icon {
  transform: rotate(180deg);
}
.mlc-expandable {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.mlc-expandable.is-open {
  max-height: 2000px;
  opacity: 1;
}
.mlc-expandable h2 {
  text-align: center;
  font-size: 18px;
  margin: 20px 0 8px;
}
.mlc-expandable p {
  font-size: 15px;
  line-height: 1.7;
  margin: 12px 0;
}
.mlc-choice-section {
  margin-top: 24px;
}
.mlc-choice-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.mlc-choice-section ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.mlc-item {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 4px;
}
.mlc-item--red    { background-color: #fef2f2; }
.mlc-item--orange { background-color: #fff7ed; }
.mlc-item--yellow { background-color: #fefce8; }
.mlc-item a,
.mlc-expandable a {
  color: #4db6ac;
  font-weight: 600;
  text-decoration: underline;
}
.mlc-footer-note {
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}
.mlc-footer-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* ==========================================================================
                      personnalisation PAGE PRODUIT 
==========================================================================*/
.product__images.js-images-container .carousel-inner {
    width: 80%;
}
.product__tax-infos {
    display: none !important;
}

.product__right h1.product__name.h2.mb-1 {
    font-size: 2rem;
    font-weight: 800;
}

.product__right 
.product__manufacturer a {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    color:#232323
}

.product__right li.details__item.details__item {
    display: flex;
    flex-direction: column;
    align-items: start !important;
    border-bottom: none;
    padding-bottom: 2rem;
    padding-left: 0rem;
    padding-top: 0.2rem;
    font-size: 0.8rem;
}

.product__actions-qty-add.product-quantity {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex-wrap: nowrap;
}

span.product__actions-qty-add-label {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

#product .product__add-to-cart.add {
    width: 100%;
}

.rich-text-love strong {
    text-transform: uppercase;
}

.rich-text-love p {
    font-size: 0.9rem !important;
}

.ps-sharebuttons {
    display: none !important;
}

.product-comments-wrapper {
    display: none !important;
}

.product-comments-additional-info button#product-additional-info-review-button {
    font-size: 0.7rem;
    text-transform: uppercase;
    border-radius: 7rem;
    color: #808080;
    border-color: #808080;
    background: #f7f7f7;
}

.product-comments-additional-info button#product-additional-info-review-button:hover {
    color: #232323;
    border-color: #bce0cd;
    background: #bce0cd;
}

.page-product .product__accessories {
    margin-block-start: 3rem;
}

.ps-categoryproducts {
    margin-block-start: 3rem;
}
/* One page checkout */

.delivery-option__left {
  flex-wrap: wrap;
  min-width: 0;
}

.delivery-option__left .bx-extra-content {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ONE PAGE CHECKOUT */

.step__account {
    background: #f6f6f6;
    border-radius: 0.3rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.step__account p.mb-0 {
    font-size: 0.8rem;
}


.form-check-input:checked {
    background-color: #cc807d;
    border-color: #cc807d;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 0.8rem;
}

.delivery-option__left {
  flex-wrap: wrap;
  min-width: 0;
}

.delivery-option__left .bx-extra-content {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

label.payment-option__label.form-check-label {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
}