/* Yassine BOUAJANI 2024 https://www.linkedin.com/in/yassinebouajani/ */

/* Menu Club Lams */
/* Panneau caché par défaut */
/*#close-panel {
  position: absolute;
  top: 1rem;
  right: 1rem;
  /*z-index: 9999; /* toujours au-dessus */
/*}*/


/* STYLES DU PANNEAU LATÉRAL CLUB LAMS */


#side-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: clamp(320px, 33.33vw, 640px);
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
#side-panel.active {
    transform: translateX(0);
}

#close-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#close-panel:hover {
    color: #000;
}

.panel-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* TITRES ET LISTE */
.panel-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.panel-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    text-align: left;
    max-width: 350px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
    font-family: Arial, sans-serif;
    font-weight: normal;
    line-height: 1.4;
}

.benefits-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #BE9736, #BE9736);
    border-radius: 3px;
    margin-right: 15px;
    flex-shrink: 0;
}

.discover-btn {
    font-family: Arial, sans-serif;
}



/* BOUTON CTA */
.discover-btn {
    background: linear-gradient(135deg, #BE9736, #BE9736);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.discover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #side-panel {
        width: 100vw;
    }
    .panel-title {
        font-size: 1.8rem;
    }
    .panel-content {
        padding: 1.5rem;
    }
}


/* RESPONSIVE DESIGN */

/* Tablettes */
@media (max-width: 768px) {
    #side-panel {
        width: clamp(280px, 50vw, 400px);
    }
    
    .club-lams p {
        font-size: 1.2rem;
        max-width: 350px;
    }
    
    .club-lams img {
        max-width: 150px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    #side-panel {
        width: 100vw; /* Pleine largeur sur mobile */
    }
    
    .club-lams p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .club-lams img {
        max-width: 120px;
    }
}


/* surcharge pour supprimer le uppercase natif */


.product-miniature .product-title {
    text-transform: none !important;
}


/* surcharge pour mettre en blanc le fond du menu mobile */

@media (max-width: 767px) {
    .ets_mm_megamenu .container {
        background-color: #ffffff;
    }
    
    .mm_menus_ul {
        background-color: #ffffff;
    }
    
}

/* surcharge pour mettre en noir le contenu (icones) du menu mobile */

@media (max-width: 767px) {
    .transition_floating .close_menu *, .transition_full .close_menu *, .ybc-menu-vertical-button .icon-bar {
        color: #333333 !important ;
    }
    
     .close_menu .icon-bar, .ybc-menu-vertical-button .icon-bar {
        background-color: #333333 !important ;
    }
}

/* surcharge pour supprimer un padding sur les pages cms */ 

.page-content.page-cms{
    padding: 0 !important ;
}


/* surcharge Accessoires Module Multi Accessoires Pro */ 

.titreaccessoires {
    color: #232323;
    font-size: 1.1rem;
    font-weight: bolder;
}
 
/* surcharge ajustement modale panier */

#blockcart-modal .product-name {
    
    color: #0D5B4E;
}

#blockcart-modal .modal-title i.material-icons {
    
    color: #0D5B4E;
}

.btn-primary, .btn-primary:hover {
    
    background-color: #0D5B4E;
}

/* Surcharge étapes de commande */

body#checkout section.checkout-step.-reachable.-current .step-number{
    background-color:#0D5B4E;
}

.done{
    color: #0D5B4E;
}

body#checkout #footer {
    padding: unset;
    color: unset;
    background: unset;
}


body.page-order a {
    
    color: #95BA3F;
    
}

body#checkout #order-summary-content h4.black {
    color: #0D5B4E;
}

body.page-order a:hover {
    color: #7A9B33 !important; 
}

body.page-order .ets_mm_url a:hover{
    color: #0D5B4E !important;

}


.custom-radio input[type=radio]:checked+span {
    background-color: #0D5B4E;
}

body#checkout section.checkout-step .step-title {
    font-size: 1rem;
    font-weight: bolder;
    
}

#checkout-payment-step .content {
    background-color: rgba(149, 186, 63, 0.05); 
    border-radius: 5px; 
    padding-bottom : 1rem !important;
}

#payment-option-1-container label span,
#payment-option-2-container label span, #payment-option-3-container label span, #payment-option-4-container label span, #payment-option-5-container label span {
    font-size: 1.1em;
}

body.page-order label.js-terms {
    font-size: 1em; 
}

/* Surcharge footer */ 

titrefooter h2 {
    color: white !important;
}



/* surcharge menu */
.lams-contact i { color: #2d5f3e; }
.lams-label { color: #7a7a75; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.lams-status { font-size: 11px; }
.lams-status.is-open { color: #2d5f3e; }
.lams-status.is-open::before { content: "● "; color: #7fa05a; }
.lams-status.is-closed { color: #c94545; }
.lams-status.is-closed::before { content: "● "; }
[data-lams-email] strong { color: #2d5f3e; }

/* Surcharge class hide on mobile */ 


@media screen and (max-width: 768px) { /* Taille max pour les écrans de mobile/tablette */
  .hide-on-mobile {
    display: none !important;
  }
}

/* Surcharge Blog */ 

#prestablogfront h1, #prestablogfront  h2, #prestablogfront h3, #prestablogfront h4, #prestablogfront h5, #prestablogfront h6, #prestablogauthor h1, #prestablogauthor h2, #prestablogauthor .prestablogtitle {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#prestablogfront h1 {
    font-size: 1.8rem; /* Taille du texte pour h1 */
  }
  
  #prestablogfront h2 {
    font-size: 1.4rem; /* Taille du texte pour h2 */
  }
  
  #prestablogfront h3 {
    font-size: 1.1rem; /* Taille du texte pour h3 */
  }
  
  #prestablogfront h4 {
    font-size: 1.4rem; /* Taille du texte pour h4 */
  }
  
  #prestablogfront h5 {
    font-size: 1.25rem; /* Taille du texte pour h5 */
  }
  
  #prestablogfront h6 {
    font-size: 1rem; /* Taille du texte pour h6 */
  }
  

  #prestablogfront img {
    margin: 5px;
  }


.custom-btn {
    background-color: #0D5B4E;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.custom-btn:hover {
    background-color: #0A3E36;
}

.custom-btn a:hover {
    color: #FFFFFF;
}

/* surcharge reduction catégorie */
.product-flags li.product-flag.discount, .product-flags li.product-flag.discount-amount, .product-flags li.product-flag.discount-percentage {
    background-color:#95BA3F;
}