/*--------------------------------------------------------------
>>> THEME CHILD HELLO ELEMENTOR
--------------------------------------------------------------*/
/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ========================================================================== */
/* 01. WOO – PRODUITS (fiche, prix, related, upsells)                         */
/* ========================================================================== */

/* Titre */
.related.products > h2 {
	text-transform:uppercase!important;
}
.woocommerce div.product .product_title {
    font-size: 2.3em!important;
    line-height: 1.1em!important;
}
.related.products ul.products li.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Bouton aligné en bas */
.related.products ul.products li.product a.button {
  margin-top: auto;
  align-self: center;
}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  min-height: 90px!important; 
  display: flex;
  align-items: flex-end;
}


/* Responsive tablettes */
@media (max-width: 1024px) {
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive mobile */
@media (max-width: 767px) {
  .related.products ul.products {
    grid-template-columns: 1fr;
  }

  .related.products ul.products li.product {
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
  }

  /* Images fluides */
  .related.products ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  /* Bouton plein écran */
  .related.products ul.products li.product .button {
    width: 100%;
    margin-top: 15px;
  }

  /* Titre */
  .related.products > h2 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
	text-transform:uppercase!important;
  }
}

/* Prix dans la fiche produit */
.single-product .entry-summary .price .amount {
  font-size: 1.1em;
}

/* Prix dans la section produits similaires */
.single-product .related .price .amount {
  font-size: 0.75em !important;
}

/* Titre H2 dans la section produits similaires */
.single-product .related h2 {
  font-size: 1.2em !important;
  line-height: 1em !important;
  color: #000 !important;
}

/* Style du titre "Produits similaires" */
.woocommerce .related > h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 30px;
  position: relative;
}
.woocommerce .related > h2::before,
.woocommerce .related > h2::after {
  content: "";
  display: block;
  height: 1px;
  background: #000;
  margin: 15px auto;
  width: 100%;
}

/* Suppressions (SKU, catégorie, onglet infos complémentaires) */
li.additional_information_tab,
#tab-additional_information,
.sku_wrapper,
.posted_in {
  display: none !important;
}

/* Couleur et taille du prix WooCommerce */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #000 !important;
  font-size: 1.5em !important;
}
/* Masquer complètement les produits liés sur mobile */
@media (max-width: 767px) {
  .related.products {
    display: none !important;
  }
}

/* ========================================================================== */
/* 02. WOO – PANIER & CHECKOUT                                                */
/* ========================================================================== */

/* Alignement formulaire panier WooCommerce en mobile */
@media (max-width: 767px) {
  .variations_form.cart {
    display: flex;
    flex-direction: column;
    gap: 15px; /* espace entre les éléments */
  }

  .variations_form.cart table.variations,
  .variations_form.cart .single_variation_wrap {
    width: 100%;
  }

  /* Champ quantité + bouton ajouter */
  .variations_form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column; /* tout en colonne */
    gap: 10px;
    width: 100%;
  }

  .variations_form.cart .quantity {
    width: 100%;
  }

  .variations_form.cart .quantity input {
    width: 100%; /* champ quantité prend toute la largeur */
    max-width: 100px; /* optionnel, limite la largeur */
  }

  .variations_form.cart .single_add_to_cart_button {
    width: 100%; /* bouton plein écran sur mobile */
    text-align: center;
  }
}

/* Boutons génériques WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.add_to_cart_button {
  background-color: #000 !important;
  color: #ffffff !important;
  text-align: center;
  border: solid 1px #000 !important;
  border-radius: 20px;
  padding: 12px 25px !important;
  text-transform: uppercase;
  text-decoration: none !important;
}

/* État : hover */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
  background-color: #fff !important;
  color: #000 !important;
}

/* État : disabled (pendant l’ajout au panier, etc.) */
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Bouton "Valider la commande" (Panier / Checkout) */
a.wc-block-cart__submit-button,
button.wc-block-components-checkout-place-order-button {
  display: inline-block;
  background-color: #76b82a; /* vert personnalisé */
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 20px;
  text-align: center;
  cursor: pointer;
  border: none;
}

/* Hover identique pour les deux boutons */
a.wc-block-cart__submit-button:hover,
button.wc-block-components-checkout-place-order-button:hover {
  background-color: #5ea01f; /* vert plus foncé au hover */
  transform: translateY(-2px);
}

/* Alignement des boutons dans les grilles WooCommerce */
.wc-block-grid__products {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.wc-block-grid__product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Pousse le bouton en bas */
.wc-block-grid__product-add-to-cart {
  margin-top: auto;
}

/* ========================================================================== */
/* 03. WOO – DIVERS (breadcrumb, onglets, marges, etc.)                       */
/* ========================================================================== */

/* Cacher complètement l'onglet Informations complémentaires et son contenu */
li.additional_information_tab,
#tab-additional_information {
  display: none !important;
}

/* Fil d'ariane WooCommerce */
.woocommerce .woocommerce-breadcrumb {
  margin: 2em 0 1em;
  padding: 0;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
  font-size: 0.92em;
  color: #000 !important;
}

/* Masquer les catégories affichées sous le produit */
.posted_in {
  display: none !important;
}

/* Masquer la référence SKU */
.sku_wrapper {
  display: none !important;
}

/* Marges du formulaire d’ajout au panier */
.woocommerce div.product form.cart {
  margin: 2em 0;
}
/* Ajout des dates de formation */

.dates-formations {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

.dates-formations h3 {
  margin-bottom: 10px;
}

.date-option {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.date-option input[type="radio"] {
  margin-right: 8px;
}

/* ========================================================================== */
/* 04. FORMATIONS (Espace Formation)                                          */
/* ========================================================================== */

/* Prérequis */
.prerequis {
  display: inline-block !important;
}

/* Prix personnalisés */
.lightprice { font-weight: 400!important; }
.darkprice  { font-weight: 600!important; }

/* Lien "Demande de devis" */
a.devis {
  text-decoration: underline !important;
  color: #000 !important;
}
a.devis:hover {
  text-decoration: none !important;
}

/* Page produit – style du prix */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #000 !important;
  font-size: 1.5em !important;
}

/* ========================================================================== */
/* 05. WEBINAIRES (cartes, grilles, replays, badges, etc.)                    */
/* ========================================================================== */

/* NAV WEBINAIRE */
.elementor-40 .elementor-element.elementor-element-e4cc0bf 
.elementor-nav-menu .elementor-item {
  font-size: 1.2em !important;
}

/* === LISTES WEBINAIRES / FORMATIONS (vCard style) === */
.webinaires-list.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.webinaire-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #000;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.webinaire-card:hover {
  border-color: #e60000;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  transform: translateY(-4px);
}

/* Zoom image au hover */
.wc-media { overflow: hidden; position: relative; display: block; }
.wc-media img { transition: transform .35s ease; width: 100%; height: auto; }
.webinaire-card:hover .wc-media img { transform: scale(1.08); }

/* Badge */
.wc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e60000;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
}
.wc-badge.categorie-webinaire-payant  { background: #000; }
.wc-badge.categorie-webinaire-gratuit { background: #28a745; }

/* Texte et titres dans les cartes */
.wc-body { padding: 18px; }
.wc-date { margin: 0 0 6px; color: #e60000; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.wc-title { margin: .1rem 0 .6rem; font-size: 1.35rem; line-height: 1.25; text-transform: uppercase; }
.wc-title a { color: #111; text-decoration: none; }
.wc-title a:hover { text-decoration: underline; }
.wc-more-link { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #111; text-decoration: none; }
.wc-more-link:hover { text-decoration: underline; }

/* Rendre toute la carte cliquable */
.webinaire-card a.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}

/* Badge date */
.wc-date-line { margin: 10px 0; font-size: 1.2rem; color: #333; line-height: 1.4; }
.wc-date-line strong { color: #e60000; }

/* REPLAYS */
.webinaire-replay {
  background: #fafafa;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.webinaire-replay h3 { margin-bottom: 15px; font-size: 1.2rem; color: #111; }
.webinaire-replay-video { position: relative; padding-bottom: 56.25%; height: 0; }
.webinaire-replay-video iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 6px;
}

/* GRILLE WEBINAIRES externe */
.webinaires-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

/* Carte webinaire externe */
.webinaire-card .wc-body { padding: 15px 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.webinaire-card .wc-title { font-size: 18px; font-weight: 600; margin: 10px 0; }
.webinaire-card .wc-title a { text-decoration: none; color: #222; }
.webinaire-card .wc-title a:hover { color: #0056a7; }
.webinaire-card .wc-date { font-size: 14px; color: #444; margin-bottom: 8px; }
.webinaire-card .wc-date strong { color: #0056a7; }
.webinaire-card .wc-price { font-size: 15px; font-weight: bold; margin-bottom: 12px; color: #000; }

/* Bouton "S’inscrire au webinaire" */
.webinaire-card .btn-inscrire {
  display: inline-block;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}
.webinaire-card .btn-inscrire:hover { background: #0056a7; }

/* Bouton WooCommerce intégré dans les cartes */
.webinaire-card .wc-inscrire { margin-top: 15px; }
.webinaire-card .wc-inscrire .single_add_to_cart_button {
  display: inline-block;
  width: 100%; /* bouton large */
  text-align: center;
}

/* ========================================================================== */
/* 06. FORMULAIRES (Forminator)                                               */
/* ========================================================================== */

/* Champs ajoutés checkout WooCommerce */
.ajout_champs {
  margin-bottom: 2em !important;
}

/* Boutons Forminator (design material) */
.forminator-ui.forminator-custom-form[data-design=material] .forminator-button {
  width: auto;
  min-width: 100px;
  height: auto;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 10px 0 0;
  padding: 12px 25px !important;
  border: 0;
  border-radius: 20px !important;
  background: #000 !important;
  color: #FFF !important;
  line-height: 1.45em;
  text-align: center;
  transition: .2s ease;
}
.forminator-ui.forminator-custom-form[data-design=material] .forminator-button:hover {
  background: #FFF !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* Slider Forminator */
.forminator-ui.forminator-custom-form[data-design=material] .forminator-slider .ui-slider-handle {
  background: #6d806f !important;
}
.forminator-ui.forminator-custom-form[data-design=material] .forminator-slider .ui-slider-range {
  background: #6d806f !important;
}

/* Labels Forminator */
#forminator-module-5263.forminator-design--material 
.forminator-label:not([class*="forminator-floating-"]) {
  font-size: 14px !important;
}

/* ========================================================================== */
/* 07. NAVIGATION & HEADER (menus, icônes, responsive)                        */
/* ========================================================================== */

/* Menu horizontal Elementor */
.elementor-nav-menu--layout-horizontal {
  font-size: 90% !important;
}

/* Menu principal - soulignement animé */
.main-navigation .menu > .menu-item > a::after {
  content: "";
  position: absolute;
  right: 50;
  left: 50%;
  color: #617967 !important;
  top: 8px;
  transform: translateX(-50%);
  display: block;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: 0.3s width ease;
}

/* Liste menu sans puces */
.main-navigation .menu > .menu-item > ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.main-navigation ul li::before {
  content: "\2022";
  color: #617967;
  display: none;
  width: 1em;
  margin-left: -1em;
}

/* Icône panier menu */
.wpmenucart-icon-shopping-cart-0 {
  font-size: 1.3em !important;
}
.wpmenucart-contents {
  border: solid 1px #000 !important;
  padding: 5px 10px !important;
}

/* Bouton "Adhésion" menu */
.bt-adh a {
  display: inline-block;
  background-color: transparent;
  color: #000;
  padding: 5px 10px !important;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  border: solid 1px #000;
  text-transform: uppercase;
}
.bt-adh a:hover {
  background-color: #000;
  color: #fff !important;
  text-decoration: none !important;
}

/* Icônes diverses dans le menu */
.linkedin { font-size: 1.7em !important; }
.iconfooter { font-size: 16px !important; }
.telephone { font-size: 90% !important; }

/* Labels "NEW" dans le menu */
.new-icon {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
  position: relative;
  top: -2px;
  margin-right: 15px;
}
.new-icon-menu {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
  position: relative;
  top: -2px;
  margin-left: 12px;
}

/* Masquer le header mobile Elementor */
#mobile-header {
  display: none !important;
}
.site-logo.mobile-header-logo {
  display: none !important;
}
#mobile-header.toggled .main-nav > ul,
#mobile-header .menu-toggle,
#mobile-header .mobile-bar-items {
  display: none !important;
}

/* ========================================================================== */
/* 08. FOOTER (liens, crédits, widgets, pied de page)                         */
/* ========================================================================== */

/* Pied de page – texte */
#pieddepage p, a {
  font-size: 98% !important;
}

.footerinfo p {
  font-size: 14px !important;
}
.site-footer {
  margin-top: -20px;
}
.footer-widgets,
.inside-footer-widgets p {
  text-align: center !important;
  font-size: 14px !important;
}
.site-footer h3 {
  font-size: 14px !important;
}

/* Liens footer */
.contactfoot {
  font-weight: 400 !important;
  color: #617967 !important;
  font-size: 14px !important;
}
.contactfoot a {
  text-decoration: none !important;
  font-weight: 400 !important;
  color: #617967 !important;
}
.contactfoot a:hover {
  text-decoration: underline !important;
  font-weight: 400 !important;
}

/* Boutons CTA footer */
.btaction a {
  background-color: #617967 !important;
  border-color: #617967 !important;
  border: 1px solid !important;
  color: #fff !important;
  padding: 10px 25px !important;
  border-radius: 4px;
  font-weight: 500 !important;
  text-decoration: none !important;
  font-size: 1.1rem;
  line-height: .9em !important;
  transition: all .4s;
}
.btaction a:hover {
  background-color: transparent !important;
  border-color: #617967 !important;
  border: 1px solid !important;
  color: #617967 !important;
  padding: 10px 25px !important;
}

/* Bloc crédits */
.credits {
  font-size: 16px;
}
.credits a {
  text-decoration: underline !important;
  color: #617967 !important;
  font-size: 16px !important;
}

/* Icônes & texte divers */
.iconfooter { font-size: 16px !important; }
.telephone { font-size: 90% !important; }
.topline p { font-size: 12px !important; }

/* Badge "actu" */
.actu {
  font-size: 24px;
  line-height: 60px;
  font-weight: 400;
  background-color: transparent;
  color: #617967 !important;
  border: solid 1px #f93;
  padding: 8px 6px;
  border-radius: 5px;
  transition: all .8s ease-in-out;
}
.actu:hover {
  border: solid 1px #fff;
  background-color: #617967;
  color: #ffffff !important;
}

/* Bloc contact pied de page */
.qualiopi {
  text-align: center !important;
}
.copyright-bar img {
  text-align: center !important;
}
.webinaires-list-footer li {
    text-transform: uppercase!important;
	font-size:.9em!important;
}
/* ========================================================================== */
/* 09. DESIGN GLOBAL 2024 (typo, titres, couleurs, boutons, utilitaires)      */
/* ========================================================================== */

/* Paragraphes */
p {
  font-size: 16px !important;
  margin-bottom: 0.5em;
}

/* Titres */
.titreh1 {
  font-family: "Lato", sans-serif !important;
  font-size: 2.4em !important;
  font-weight: 900 !important;
  line-height: 1.2em !important;
}
.titreh2 {
  font-family: "Lato", sans-serif !important;
  font-size: 2em !important;
  font-weight: 600 !important;
  line-height: 1.1em !important;
}
.titreh3 {
  font-family: "Lato", sans-serif !important;
  font-size: 1.8em !important;
  font-weight: 600 !important;
  line-height: 1.1em !important;
}
.titreh4 {
  font-family: "Lato", sans-serif !important;
  font-size: 1.3em !important;
  font-weight: 600 !important;
  line-height: 1.1em !important;
}

/* Divers titres */
.vc_toggle_title {
  padding: 12px 30px !important;
  border: solid 1px #617967;
  border-radius: 50px;
}
.tiret { font-size: 1em; color: #D3D2B4; font-weight: bolder !important; }

/* Couleurs utilitaires */
.vertfonce { color: #617967; }
.beige { color: #FAF4E8; }
.orange { color: #617967 !important; }
.noir { color: #000 !important; }
.vert { color: #6d806f !important; }
.white { color: #ffffff !important; }
.black { color: #333333 !important; }

/* Typo & styles */
.slogan { font-size: 26px; }
.arrondi img { border-radius: 50px; box-shadow: none; }
.ombre { box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; }

/* Boutons verts / transparents */
.boutonvert a,
.boutontrans a {
  display: inline;
  width: 330px;
  padding: 18px 35px !important;
  border-radius: 30px;
  font-weight: 400 !important;
  text-decoration: none !important;
  line-height: 1.25em !important;
  text-align: center;
}
.boutonvert a {
  background-color: #617967 !important;
  border: 1px solid #617967 !important;
  color: #fff !important;
}
.boutonvert a:hover {
  background-color: #fff !important;
  color: #617967 !important;
}
.boutontrans a {
  background-color: transparent !important;
  border: 1px solid #617967 !important;
  color: #617967 !important;
}
.boutontrans a:hover {
  background-color: #617967 !important;
  color: #fff !important;
}

/* Boutons Formations 2024 */
.formation24 {
  color: #617967 !important;
  background: transparent;
  display: block;
  padding: 12px 30px !important;
  border: solid 0.5px #617967;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: all .7s ease-out !important;
  margin: 15px 0 !important;
}
.formation24:hover {
  background: #F1F5E2 !important;
  border: solid 1px #617967;
}

/* Classes utilitaires */
.marge30 { margin-top: 20px; }
.right { text-align: right; }
.left { text-align: left; }
.center { text-align: center; }
.justify { text-align: justify; }
.bold { font-weight: bold; }
.bolder { font-weight: 900; }
.medium { font-weight: 500; }
.gras { font-weight: 600 !important; }
.thin { font-weight: 300; }

/* Tailles spécifiques */
.cta18 { font-size: 18px !important; font-weight: 500; }
.large { font-size: 55px; font-weight: 500; }
.legende { font-size: 16px; font-weight: 300; }
.caps { text-transform: uppercase; font-size: 50px; font-weight: 100; }
.capsmall { text-transform: uppercase; font-size: 30px; font-weight: 300; }
.sscaps { font-size: 32px; font-weight: 500; }
.sizeform { font-size: 30px; }
.smalltxt { font-size: 15px; font-weight: 300 !important; }

/* Divers */
.ville { font-weight: 400 !important; }
.cat-links, .comments-link, .tags-links { display: none; }

/* ========================================================================== */
/* 10. UTILITAIRES & LAYOUT (marges, paddings, alignements)                   */
/* ========================================================================== */

/* Paddings latéraux */
.paddt-10  { padding-right: 10% !important; }
.paddt-15  { padding-right: 20% !important; }
.paddt-20  { padding-right: 20% !important; }
.paddt-30  { padding-right: 15% !important; }
.paddt-35  { padding-right: 40% !important; }
.padgd     { padding: 0 10%; }
.padbox    { padding-top: 80px !important; }
.padbox30  { padding-top: 30px !important; }
.padtitre30{ padding-right: 50% !important; }
.padhb     { padding: 40px 20px !important; }
.padform   { padding: 0 20px !important; }

/* Centrage */
.centrage {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Bloc CTA & boutons responsives */
.btn-full .elementor-button {
  width: 100% !important;
  display: flex;
  justify-content: center;
}

/* Champs newsletter / RGPD */
.rgpd { font-size: 12px; }

/* Masquages spécifiques */
#oneb, #twob, #threeb, #fourb, #fiveb,
#sixb, #sevenb, #eightb, #nineb, #tenb {
  display: none;
}
#one, #two, #three, #four, #five,
#six, #seven, #eight, #nine, #ten {
  display: none !important;
}
#big { display: none !important; }

/* Divers typographiques */
.author-name,
.entry-date,
.published,
.byline,
.featured-image {
  display: none !important;
}

/* Fil ariane Elementor */
.woocommerce-breadcrumb {
  display: none !important;
}

/* ========================================================================== */
/* 11. RESPONSIVE — MOBILE (max-width: 767px)                                 */
/* ========================================================================== */

@media screen and (max-width: 767px) {
  
  /* Masquages spécifiques */
  #one, #two, #three, #four, #five,
  #six, #seven, #eight, #nine, #ten {
    display: none !important;
  }
  #oneb, #twob, #threeb, #fourb, #fiveb,
  #sixb, #sevenb, #eightb, #nineb, #tenb {
    display: block !important;
  }
  #big { display: none !important; }
  
  /* Typo */
  .legende { font-size: 21px; font-weight: 300; }
  .caps { font-size: 35px; }
  .titreh1 { font-size: 1.75em; }
  .slogan { font-size: 1.1em !important; }
  h1 { font-size: 2rem !important; }

  /* Layout */
  .arrondi img { border-radius: 12px !important; width: 80% !important; }
  .paddt-10, .paddt-15, .paddt-20, .paddt-30, .paddt-35 { padding-right: 0 !important; }
  .padform { padding: 0 20px !important; }
  
  /* Textes */
  .titreh1, .titreh2, .titreh3, h3 { text-align: center !important; }
  p { padding: 0 20px !important; text-align: justify !important; }
  
  /* Footer */
  .footer-widgets, .inside-footer-widgets p { text-align: center !important; font-size: 14px !important; }
  .site-footer h3 { font-size: 14px !important; }
  .copyright-bar img { text-align: center !important; }
  .qualiopi { text-align: center !important; }
  
  /* Top bar */
  .top-bar { display: none; }
  
  /* Icônes */
  .elementor-40 .elementor-element.elementor-element-1a96931 .elementor-icon { font-size: 40px !important; }
  
  /* Produit (page) */
  .woocommerce div.product div.summary { text-align: center !important; }
  .price, .price-offert { text-align: center !important; }
  .woocommerce div.product form.cart {
    margin: 2em 0;
    display: flex;
    justify-content: center;
  }
  
  /* Related products */
  .columns-4 { display: flex; justify-content: center; }
  
  /* Masquer header mobile */
  #mobile-header { display: none !important; }
}
/* WooCommerce Cart – Mode cartes sur mobile */
/* Le conteneur principal prend toute la largeur */
  .wp-block-woocommerce-cart,
  .wp-block-woocommerce-filled-cart-block {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Les lignes du panier deviennent des cartes */
  .wc-block-cart-items-block .wc-block-cart-items,
  .wc-block-cart-items-block .wc-block-cart-item {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
  }

  /* Image produit */
  .wc-block-cart-item__image {
    text-align: center;
    margin-bottom: 12px;
  }
  .wc-block-cart-item__image img {
    max-width: 120px;
    height: auto;
  }

  /* Nom du produit */
  .wc-block-cart-item__product {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
  }

  /* Prix, quantité et sous-total */
  .wc-block-cart-item__prices,
  .wc-block-cart-item__quantity,
  .wc-block-cart-item__total {
    display: block;
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }

  .wc-block-cart-item__quantity input {
    max-width: 70px;
    text-align: center;
    margin: 0 auto;
    display: block;
  }

  /* Bouton supprimer */
  .wc-block-cart-item__remove-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: #e60000 !important;
  }

  /* Résumé panier */
  .wp-block-woocommerce-cart-totals-block {
    margin-top: 30px;
    width: 100% !important;
  }
/* Centrage du panier WooCommerce (Cart Block) */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-filled-cart-block {
  max-width: 1200px;        /* largeur max lisible */
  margin: 0 auto;          /* centre le bloc */
  padding: 0 15px;         /* petit padding interne */
  box-sizing: border-box;
}

/* Les produits s'affichent bien centrés */
.wc-block-cart-items-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-block-cart-item {
  display: flex;
  flex-direction: column;
  align-items: center;     /* centre le contenu */
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
}

/* Centrage des images */
.wc-block-cart-item__image {
  margin-bottom: 10px;
}
.wc-block-cart-item__image img {
  display: block;
  margin: 0 auto;
}

/* Centrage des totaux */
.wp-block-woocommerce-cart-totals-block {
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* BOUTON ACHETER FORMATION */
#acheter, #devis { display: none; }
#flag-dates { display: none !important; }
/* ========================================================================== */
/* 12. RESPONSIVE — GRAND ÉCRAN (min-width: 1600px)                           */
/* ========================================================================== */

@media screen and (min-width: 1600px) {
  #big { display: block !important; }
  #small { display: none !important; }
}
/* ========================================================================== */


