/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/
Description: Thème enfant pour Kadence.
Author: Ton Nom
Author URI: https://www.esquisses.fr
Template: kadence
Version: 1.0.0
*/
/* =====================================================
   STYLES GÉNÉRAUX POUR TOUT LE SITE :
===================================================== */
body {
  background-color: #1A202C;
  color: #F7FAFC;
}
h1, h2, h3, h4 {
  line-height: 1.3;
  margin-bottom: 16px;
}
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
 
a, a:link {
  color: #a77ad6;
  text-decoration: under;
}
a:hover, a:focus {
  color: #2d0d74;
  text-decoration: none;
}
 
/* =====================================================
   TUTOR LMS (DASHBOARD, COURS, ETC.)
===================================================== */
body.page-id-5 .site-main,
body.page-id-5 .content-area,
body.page-id-5 .tutor-dashboard,
body.page-id-5 .tutor-wrap,
body.single-course,
body.single-course .site-main {
  background-color: #1A202C !important;
  color: #F7FAFC !important;
}
/* Cours en grille */
.tutor-course-loop,
.tutor-course-loop .tutor-course-header,
.tutor-course-loop .tutor-course-footer {
  background-color: #2D3748 !important;
  color: #F7FAFC !important;
  border-radius: 8px;
  padding: 20px;
}
.tutor-course-loop .tutor-course-loop-title a,
.tutor-course-loop .price,
.tutor-course-loop .woocommerce-Price-amount {
  color: #E2E8F0 !important;
}
/* Boutons LMS */
.tutor-course-loop .tutor-btn,
.tutor-btn {
  background-color: #5A18C2 !important;
  color: #ffffff !important;
  font-weight: bold;
}
.tutor-course-loop .tutor-btn:hover,
.tutor-btn:hover {
  background-color: #3f1094 !important;
}
 
/* =====================================================
   WOOCOMMERCE (BOUTIQUE, PANIER, COMMANDE)
===================================================== */
body.woocommerce,
body.woocommerce-page,
body.woocommerce-cart,
body.woocommerce-checkout {
  background-color: #1A202C !important;
  color: #1A202C !important;
}
 
/* Conteneurs */
.woocommerce .site-main,
.woocommerce .content-area,
.woocommerce .entry-content {
  background-color: #1A202C !important;
  color: #F7FAFC !important;
}
 
/* Cartes produits */
.woocommerce ul.products li.product {
  background-color: #F7FAFC !important;
  color: #1A202C !important;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  color: #1A202C !important;
}
 
/* Boutons WooCommerce */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: #5A18C2 !important;
  color: #ffffff !important;
  font-weight: bold;
  padding: 12px 25px;
  border: none;
}
.woocommerce .button:hover,
.woocommerce #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #3f1094 !important;
}
 
/* Tableaux */
.woocommerce table.shop_table {
  background-color: #ffffff !important;
  color: #1A202C !important;
  border-color: #CBD5E0 !important;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  color: #1A202C !important;
}
 
/* Formulaires */
.woocommerce form .form-row label {
  color: #1A202C !important;
  font-weight: 600;
}
.woocommerce form .form-row input,
.woocommerce form .form-row textarea {
  background-color: #EDF2F7 !important;
  color: #1A202C !important;
  border: 1px solid #CBD5E0;
}
 
/* Messages WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: #F7FAFC !important;
  color: #1A202C !important;
  border-left: 5px solid #5A18C2 !important;
  padding: 20px;
  margin-bottom: 30px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  color: #5A18C2 !important;
}
 
/* =====================================================
   DIVERS MODIFICATIONS :
===================================================== */
 
/* ✅ Appliquer un fond sombre au produit Réservation */
body.single-product,
body.single-product .site-main,
body.single-product .content-area,
body.single-product .entry-content,
body.single-product .product {
  background-color: #1A202C !important;
  color: #F7FAFC !important;
}
 
/* ✅ Corriger le titre, prix et contenu */
body.single-product .product_title,
body.single-product .price,
body.single-product .woocommerce-product-details__short-description,
body.single-product .summary {
  color: #F7FAFC !important;
}
 
/* ✅ Bouton d'ajout au panier */
body.single-product .single_add_to_cart_button {
  background-color: #5A18C2 !important;
  color: #ffffff !important;
  border: none;
}
body.single-product .single_add_to_cart_button:hover {
  background-color: #3f1094 !important;
}
 
/* ✅ Supprimer les marges verticales haut/bas sur les pages produit */
body.single-product .content-area {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
 
/* ✅ Nettoyage du conteneur */
body.single-product .site-main {
  background-color: #1A202C !important;
  padding-bottom: 0 !important;
}
 
/* ✅ Supprimer bande claire éventuelle dans content-wrap */
body.single-product .content-wrap {
  background-color: #1A202C !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
 
/* ✅ Ajoute un petit espacement en haut du contenu produit */
body.single-product .site-main {
  padding-top: 40px !important;
}
 
/* ✅ Texte du titre dans le bandeau */
body.woocommerce-cart .entry-title {
  color: #1A202C !important;
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}
 
/* ✅ Titre de la page de commande */
body.woocommerce-checkout .entry-title {
  color: #1A202C !important;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}
 
/* ✅ Décalage du titre NEWSLETTER en pied de page */
.titre-newsletter {
  margin-left: 18px;
  color: #F7FAFC;
}
 
/* ✅ Cache le logo reCaptcha */
.grecaptcha-badge { visibility: hidden; }
 
/* ✅ Fond clair pour le dashboard Tutor LMS */
body.page-id-5,
body.page-id-5 .site-main,
body.page-id-5 .content-area,
body.page-id-5 .tutor-dashboard,
body.page-id-5 .tutor-wrap {
  background-color: #F7FAFC !important;
  color: #1A202C !important;
}
 
/* ✅ Corrige les couleurs des produits dans la section personnalisée Elementor */
.produits-paniervide ul.products li.product {
  background-color: #ffffff !important;
  color: #1A202C !important;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
 
/* ✅ Titre produit */
.produits-paniervide .woocommerce-loop-product__title {
  color: #1A202C !important;
  font-weight: 600;
}
 
/* ✅ Prix */
.produits-paniervide .price,
.produits-paniervide .woocommerce-Price-amount {
  color: #4A5568 !important;
}
 
/* ✅ Boutons */
.produits-paniervide .button {
  background-color: #5A18C2 !important;
  color: #FFFFFF !important;
  font-weight: bold;
  border: none;
}
.produits-paniervide .button:hover {
  background-color: #3f1094 !important;
}
 
/* ✅ Forcer la couleur du texte dans la section personnalisée des produits panier */
.produits-paniervide *,
.produits-paniervide h2,
.produits-paniervide h3,
.produits-paniervide a,
.produits-paniervide .woocommerce-loop-product__title {
  color: #1A202C !important;
  text-shadow: none;
}
 
/* ✅ Forcer l'affichage visible des textes de date Booking Activities */
.ba-date-text {
  color: #1A202C !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
 
.ba-date-content {
  border: 1px solid #CBD5E0 !important;
  background-color: #ffffff !important;
}
 
/* Tony : Cours correction couleurs titre et lien  */
.tutor-fs-5,
.tutor-fs-6,
.tutor-fs-6 .tutor-color-secondary .h3
{
  background-color: #F7FAFC !important;
  color: #1A202C !important;
  font-weight: bold;
}
 
.tutor-course-content-list-item-title a
{
  color: #762BC1 !important;
  font-weight: bold;
}
 
.tutor-accordion-item-header
{
  color: #762BC1 !important;
  font-weight: bold;
}
 
.tutor-course-content-list-item-title a
{
  color: #762BC1 !important;
  font-weight: bold;
}
 
/* TONY Change le fond en violet du tableau Booking Activies */
.fc-col-header {
  background-color: #762BC1 !important;
  color: #F7FAFC !important;
  font-weight: bold;
}
 
/* TONY background petit cadre page Boutique  */
.product-details   {
  background-color: #F7FAFC !important;
}
 
/* Color blanc pour la navigation qui apparait si + de 9 vidéos...  */
.tutor-fs-7 {
  color: #F7FAFC !important;
  font-weight: bold;
}
.tutor-pagination-numbers a {
  /*background-color: #762BC1 !important;*/
  color: #F7FAFC !important;
  font-weight: bold;
}
 
/* Certains liens du cours */
.tutor-course-topic-item-title  {
  color: #8C519F !important;
  font-weight: bold;
}
 
/* Présentation marges du texte d'un cours */
.tutor-ml-xl-24 {
border-radius: 10px;
}
.tutor-course-topic-single-header-title {
  padding: 5px 10px 5px 10px;
  border-radius: 5x;
}
.tutor-color-secondary {
  padding: 5px 15px 5px 15px;
  border-radius: 10px;
}

/* Page inscription */
.entry-content-wrap .single-content {
  background-color: #8C519F !important;
  color: #718096 !important;
}
/*
body {
  background-color: red !important;
}
*/
body {
  background-color: #1A202C !important;
}