@import url('https://fonts.googleapis.com/css2?family=Bilbo&display=swap');
body.single-coaches .elementor-widget-menu-anchor {
    position: relative;
    z-index: -1;
}
body.single-coaches .elementor-menu-anchor:before {
    content: "";
    display: block;
    height: 100px;
    margin: -100px 0 0;
    visibility: hidden;
    pointer-events: none;
}

.temoignages-repeater-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacement entre les témoignages */
}

.temoignages-repeater-widget .testimonial-item {
    flex: 1 1 calc(33.333% - 20px); /* 3 colonnes sur grand écran */
    box-sizing: border-box;
    background: #f9f9f9;
    padding: 25px 4vw;
    border-radius: 8px;
}

.temoignages-repeater-widget .testimonial-text {
    font-style: italic;
    font-size: 18px;
}

.temoignages-repeater-widget .testimonial-author {
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.temoignages-repeater-widget .testimonial-author::before {
    content: '';
    display: inline-block;
    width: 50px; /* Ajustez la largeur du tiret ici */
    height: 1px;
    background-color: #000; /* Couleur du tiret */
    margin-right: 10px; /* Espace entre le tiret et le texte */
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    .temoignages-repeater-widget .testimonial-item {
        flex: 1 1 100%; /* Une colonne sur petits écrans */
    }
}

.atouts-repeater-widget .atout-item {
    display: flex;
    align-items: center; /* Centre verticalement l'image et le texte */
    gap: 10px; /* Espace entre l'image et le texte */
    min-height: 70px;
}
.atouts-repeater-widget .atout-item p {
    margin:0;
    font-size: 16px;
    font-weight: 500;
}

.atouts-repeater-widget .atout-item img {
    width: 50px; /* Ajustez la taille de l'image si nécessaire */
    height: auto;
}

.elementor-orange-list ul {
    list-style: none;
}
.elementor-orange-list ul li {
    position: relative;
    padding-left: 30px;
}

.elementor-orange-list ul li::before {
    content: '•';
    color: var(--e-global-color-ee5f65e);
    font-size: 80px;
    display: inline-block;
    line-height: 0;
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
}

.yt-videos-repeater-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 10px;
}

.yt-video-item {
    display: flex;
    align-items: center;
}

.yt-thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
    cursor: pointer;
}

.yt-thumbnail img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}
@media (max-width: 550px) {

    .yt-video-item {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .yt-thumbnail {
        width: 100%;
    }
    .yt-videos-repeater-widget {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); /* Chaque élément occupe toute la largeur */
    }
    .yt-thumbnail img {
        width: 100%;
    }


}


.yt-details {
    max-width: 100%;
}

.yt-subtitle {
    color: #f76c5e;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
}

.yt-title {
    font-size: 20px;
    margin: 5px 0;
    cursor: pointer;
}

.yt-description {
    margin: 5px 0;
    color: #666;
}

.yt-video-item a.yt-link {
    color: #f76c5e;
    font-weight: bold;
    font-size:18px;
    text-decoration: underline;
}
/* Modal Container */
#yt-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.yt-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-align: center;
}

.yt-close {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 32px;
    color: #FFF;
    cursor: pointer;
    font-weight: bold;
    background: var(--e-global-color-ee5f65e);
    line-height: 26px;
    height: 28px;
    width: 28px;
    border-radius: 50%;
}
.yt-close:hover {
    background:#f2295b ;
}

#yt-video-frame {
    width: 100%;
    height: 450px;
    border: none;
}

.coach-products-widget .yith-add-to-wishlist-button-block {
    display:inline-block;
}
.woocommerce-form-login + h2 {
    text-align: center;
}

/* Appliquer l'effet de transition uniquement sur les boutons avec la classe button-gradient */
.button-gradient .elementor-button,
.woocommerce-MyAccount-content button {
    background: linear-gradient(120deg, #F26419, #F26419, #E7425F) !important;
    background-size: 200% 100% !important;
    background-position: 100% 0 !important;
    transition: background-position 0.6s;
    font-family:'Open Sans';
    border-radius: 50px 50px 50px 50px;
    padding: 15px 60px 15px 60px;
    font-size: 17px;
    text-transform:uppercase;
    font-weight: 500 !important;
    color:#FFF;
}
.woocommerce-MyAccount-content button {
    margin-top:30px;
    font-size: 16px;
    padding: 10px 40px;
    border:0 none;
}


    /* Animation au survol */
.button-gradient .elementor-button:hover,
.woocommerce-MyAccount-content button:hover {
    background-position: 0 0 !important;
    font-family:'Open Sans';
}


.button-gradient-clip .elementor-button,
.button-gradient-clip .elementor-button:visited {
    display: inline-block;
    /* padding: 10px 20px; */
    font-size: 17px;
    font-weight: 500 !important;
    text-transform: uppercase;
    background-color: white; /* Fond blanc pour l'intérieur du bouton */
    border-radius: 25px; /* Coins arrondis */
    border: 3px solid transparent; /* Bordure transparente pour supporter le dégradé */
    background-image: linear-gradient(white, white), linear-gradient(45deg, #F26419, #E7425F); /* Superposition du fond blanc et du dégradé */
    background-origin: border-box; /* Contrôle l'origine du fond */
    background-clip: padding-box, border-box; /* Assure que le fond blanc reste à l'intérieur et que le dégradé couvre la bordure */
    color:var(--e-global-color-ee5f65e);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family:'Open Sans';
}

.filter-button .elementor-button:visited {
    color: #F26419;
}
.button-gradient-clip .elementor-button:hover,
.button-gradient-clip.current-cat .elementor-button,
.button-gradient-clip.active .elementor-button {
    font-family:'Open Sans';
    font-weight: 500;
    color: white; /* Change le texte en blanc au survol */
    background-image: linear-gradient(45deg, #F26419, #E7425F), linear-gradient(45deg, #F26419, #E7425F); /* Superposition du fond blanc et du dégradé */
}

.icon-highcoaches-gradient .elementor-icon-wrapper {
    line-height: 0;
}
.icon-highcoaches-gradient a {
    background: linear-gradient(180deg, var(--e-global-color-ee5f65e) 0%, var(--e-global-color-8cb3778) 100%);
    border-radius:50%;
    transition: all 0.3s ease;
    display: block;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
}
.icon-highcoaches-gradient a:hover {
    opacity: 0.8;
}
.icon-highcoaches-gradient a svg {
    margin:0 auto;
}
#blog-categories-list {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex; /* Utiliser inline-flex si vous voulez que la liste s'adapte dans une ligne */
     align-items: center;
    justify-content: center;
 }

#blog-categories-list li {
    display: inline; /* Affiche chaque élément <li> en ligne */
    margin-right: 10px; /* Espacement entre les éléments */
}

#blog-categories-list li:last-child {
    margin-right: 0; /* Retire l'espacement après le dernier élément */
}
.coach-books-widget {
    display: flex; /* Utilisation de la grille CSS pour aligner les éléments */
    gap: 20px; /* Espacement uniforme entre les éléments */
    margin: 20px 0; /* Espacement autour du widget */
    justify-content: center;
}

.book-item {
    text-align: center; /* Centre le texte */
    display: flex; /* Utilisation de Flexbox pour aligner le contenu */
    flex-direction: column; /* Empile les enfants verticalement */
    justify-content: space-between; /* Répartit l'espace entre les éléments */
    height: 100%; /* Assure une hauteur uniforme */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */

    padding:10px;
}

.book-thumbnail {
    height: 400px; /* Fixe une hauteur pour les miniatures */
    display: flex; /* Utilisation de Flexbox pour centrer l'image */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Coupe les images qui dépassent */
    border-radius: 8px; /* Coins arrondis pour l'image */
    padding:40px;
}
@media(max-width:480px) {
    .book-thumbnail {
        height: 500px;
    }

}

.book-thumbnail img {
    max-width: 100%; /* Rend les images réactives */
    height: 100%; /* Adapte l'image à la hauteur du conteneur */
    object-fit: cover; /* Recadre l'image pour couvrir tout le conteneur */
}
.book-details {
    margin-top: 10px; /* Espacement entre l'image et le texte */
    flex-grow: 1; /* Permet d'étirer cette section pour remplir l'espace disponible */
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: center;
    justify-content: flex-start;
}

.book-title {
    font-family: 'Urbanist' !important;
    font-size: 18px;
    font-weight: 700 !important;
    margin: 5px 0;
    color: #333;
    min-height: 2em;
}

.book-price {
    font-size: 18px;
    color: #f15a24; /* Couleur orange pour le prix */
    font-weight: bold;
    margin: 5px 0;
}

.book-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
    background: linear-gradient(90deg, #F26419, #E7425F) !important;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%; /* Rendre le bouton circulaire */
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre subtile */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
}
.book-link:hover {
    background: linear-gradient(90deg, #E7425F, #F26419) !important;
}

.book-link:hover {
    background-color: #c14a1f; /* Couleur plus sombre au survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée au survol */
}
#bloc-a-propos {
    position: relative;
    max-height: 300px; /* Ajustez la hauteur maximale */
    overflow: hidden;
}

#bloc-a-propos:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Hauteur de la transparence */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #F4F4F4);
    pointer-events: none;
    display: none;
}

#bloc-a-propos.show-more {
    max-height: none; /* Supprime la limite de hauteur */
    overflow: visible;
}

#bloc-a-propos.show-button:after {
    display: block !important; /* Cacher le dégradé */
}
#bloc-a-propos.show-button.show-more:after {
    display: none !important; /* Cacher le dégradé */
}

#coach-en-savoir-plus {
    display: none; /* Masquer le bouton par défaut */
}

#bloc-a-propos.show-button+#coach-en-savoir-plus {
    display: block; /* Afficher le bouton uniquement si nécessaire */
}
.coach-books-carousel {
    width: 100%; /* Ajustez en fonction de votre design */
    overflow: hidden;
}
.coach-books-carousel .swiper-button-prev:after,
.coach-books-carousel .swiper-button-next:after {
    color: var(--e-global-color-ee5f65e);
    font-size:20px !important;
    font-weight: bolder;
}
.masterclass-video {
    border-radius: 30px;
    overflow: hidden;
    height: 325px;
}

/* Style global pour le menu */
.woocommerce-MyAccount-navigation {
    background-color: #f9f9f9; /* Couleur d'arrière-plan douce */
    border: 1px solid #ddd; /* Bordure discrète */
    padding: 1rem;
    border-radius: 8px; /* Coins arrondis */
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none; /* Supprimer les puces */
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-navigation li a {
    display: block; /* Prend toute la largeur */
    padding: 0.75rem 1rem; /* Espacement interne */
    text-decoration: none; /* Supprimer le soulignement */
    color: #333; /* Couleur du texte */
    font-weight: 500; /* Texte légèrement gras */
    background-color: #fff; /* Fond blanc */
    border: 1px solid #ddd; /* Bordure discrète */
    border-radius: 5px; /* Coins arrondis */
    transition: all 0.3s ease; /* Animation fluide */
    transition-property: background-color, border;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(90deg, #F26419, #E7425F) !important;
    color: #fff; /* Texte blanc */
    border-color:transparent; /* Bordure assortie */
}
.woocommerce-MyAccount-navigation li.is-active a {
    font-weight: 600; /* Texte plus gras pour distinguer */
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation {
        padding: 0.5rem;
    }

    .woocommerce-MyAccount-navigation li a {
        font-size: 0.9rem; /* Texte légèrement plus petit */
        padding: 0.5rem; /* Espacement réduit */
    }
}
.woocommerce-form-login {
    max-width: 500px;
    margin: 30px auto !important;
}
.masterclasses-section {
    margin: 20px auto;
    max-width: 800px;
    font-family: Arial, sans-serif;
}
.masterclass-toggle {
    font-weight: bold !important;
}
.masterclass-toggle small {
    font-weight: normal !important;
}
.masterclasses-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Accordéon principal */
.masterclasses-accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.masterclass-tab-title {
    background: #f5f5f5;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.masterclass-tab-title a {
    text-decoration: none;
    color: #333;
}

.masterclass-tab-content {
    padding: 15px;
    display: none;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

/* Sous-accordéon des étapes */
.steps-accordion {
    margin-top: 10px;
    border: 1px solid #ddd;
}

.step-tab-title {
    background: #eaeaea;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.step-tab-title a {
    text-decoration: none;
    color: #333;
}
.step-tab-title strong {
    color: var(--e-global-color-ee5f65e);
}

.step-tab-content {
    padding: 10px;
    display: none;
    background: #fafafa;
}

/* Vidéos */
.masterclass-video iframe {
    width: 100%;
    height: 300px;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
}

.elementor-widget-video,
.elementor-masterclass-featured-content {
    padding: 10px;
}

/* Cacher l'en-tête et le pied de page si la classe est présente */
body.hide-header-footer .elementor-location-header,
body.hide-header-footer .elementor-location-footer {
    display: none !important;
}



@media screen and (max-width: 768px) { /* Portrait tablette et moins */
    .elementor-element[data-id="22ec532"] {
        flex-direction: column; /* Empile les blocs verticalement */
        padding: 0; /* Réduit les paddings */
        gap: 0;
    }
    .elementor-masterclass-featured-content {
        gap: 10px 0 !important;
    }
    .masterclass-description {
        width:75%;
        margin:0 auto;
    }

    .elementor-element[data-id="dc2f1b0"],
    .elementor-element[data-id="3c898b6"] {
        width: 100%; /* Chaque bloc prend toute la largeur */
    }

    .elementor-widget-heading {
        text-align: center; /* Centre le texte pour un meilleur affichage */
    }
    .masterclass-video {
        height:auto;
    }
    .masterclass-video iframe {
        height: calc(100vw / 1.9);
    }
    .masterclass-button {
        display: block;
        margin: 20px auto; /* Centrer le bouton */
    }
    .elementor-element-65f088c {
        text-align: center !important;
    }
}
