/* =============================================
   ASCENDIX — CSS COMPLET FINAL v2
   Apparence > Personnaliser > CSS additionnel
   ============================================= */

/* =============================================
   LEARNDASH — GÉNÉRAL
   ============================================= */

.learndash-wrapper { background-color: #0a0a10 !important; }

.ld-focus-sidebar,
.ld-lesson-item { background-color: #0f0f16 !important; }

.ld-breadcrumbs,
.learndash-wrapper .ld-breadcrumbs-segments {
  background-color: #0a0a10 !important;
}

.ld-focus-sidebar {
  background-color: #13131c !important;
}

.ld-lesson-item,
.ld-topic-list,
.ld-topic-list-item {
  background-color: #13131c !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item {
  background: #16162a !important;
  border: 1px solid rgba(167,139,250,0.15) !important;
  border-radius: 10px !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
  background: #16162a !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item:hover {
  background: #1e1e38 !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
  color: rgba(255,255,255,0.88) !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-components {
  color: #A78BFA !important;
}

.learndash-wrapper .ld-section-heading h2,
.learndash-wrapper .ld-section-heading h3 {
  color: rgba(255,255,255,0.95) !important;
}

.learndash-wrapper .ld-status-incomplete {
  border-color: rgba(167,139,250,0.4) !important;
}

.learndash-wrapper .ld-topic-title,
.learndash-wrapper .ld-topic-list .ld-topic-title,
.learndash-wrapper .ld-table-list-item .ld-topic-title {
  color: rgba(255,255,255,0.88) !important;
}

.learndash-wrapper .ld-topic-title:hover {
  color: #A78BFA !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item,
.learndash-wrapper .ld-item-list .ld-item-list-item.ld-expandable,
.learndash-wrapper .ld-item-list .ld-item-list-item.learndash-incomplete,
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview,
.learndash-wrapper .ld-lesson-item,
.learndash-wrapper .ld-table-list .ld-table-list-item {
  background-color: #16162a !important;
  background: #16162a !important;
  border: 1px solid rgba(167,139,250,0.15) !important;
  border-radius: 10px !important;
}

.learndash-wrapper .ld-progress .ld-progress-bar {
  background-color: rgba(167,139,250,0.15) !important;
  border-radius: 99px !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
  background-color: #0C0C13 !important;
  border: 1px solid rgba(167,139,250,0.15) !important;
  border-radius: 12px !important;
}

.entry-title {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.learndash-wrapper .ld-table-list-item-preview .ld-item-title,
.learndash-wrapper .ld-table-list-item-quiz .ld-item-title,
.learndash-wrapper a.ld-table-list-item-preview .ld-item-title {
  color: rgba(255,255,255,0.88) !important;
}

.jp-relatedposts { display: none !important; }

.learndash-wrapper .ld-button {
  background-color: #A78BFA !important;
  border: none !important;
  color: #0C0C13 !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.learndash-wrapper .ld-button:hover {
  background-color: #c4b0fd !important;
  color: #0C0C13 !important;
}

/* Quiz */
body.sfwd-quiz-template-default,
body.sfwd-quiz-template-default .page-content,
body.sfwd-quiz-template-default .site-content,
body.sfwd-quiz-template-default #content {
  background-color: #0C0C13 !important;
}

body.sfwd-quiz-template-default .wpProQuiz_content,
body.sfwd-quiz-template-default .wpProQuiz_questionList,
body.sfwd-quiz-template-default .wpProQuiz_listItem {
  background-color: #16162a !important;
  color: rgba(255,255,255,0.88) !important;
  border-color: rgba(167,139,250,0.2) !important;
}

body.sfwd-quiz-template-default .ld-focus-header {
  visibility: visible !important;
  background-color: #0C0C13 !important;
}

.wpProQuiz_infopage,
.wpProQuiz_infopage h4,
.wpProQuiz_infopage p {
  color: rgba(255,255,255,0.88) !important;
}

.wpProQuiz_button,
.wpProQuiz_button2 {
  background-color: #A78BFA !important;
  color: #0C0C13 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
}

.ld-breadcrumbs { display: none !important; }

.learndash-wrapper .ld-table-list-title { color: #ffffff !important; }

.learndash-wrapper .ld-table-list-header,
.learndash-wrapper .ld-table-list-header .ld-table-list-title,
.learndash-wrapper .ld-table-list-header .ld-text,
.learndash-wrapper .ld-table-list-header .ld-lesson-list-progress,
.learndash-wrapper .ld-table-list-header .ld-lesson-list-steps,
.learndash-wrapper .ld-table-list-header .ld-table-list-lesson-details,
.learndash-wrapper .ld-table-list-header .ld-item-icon,
.learndash-wrapper .ld-table-list-header .ld-icon {
  color: #ffffff !important;
}

body.sfwd-lessons-template-default h1,
body.sfwd-topic-template-default h1,
body.sfwd-quiz-template-default h1 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

.learndash-wrapper .ld-focus-header {
  background-color: #0C0C13 !important;
  border-bottom: 1px solid rgba(167,139,250,0.15) !important;
}

.learndash-wrapper .ld-brand-logo { background-color: #0C0C13 !important; }

.learndash-wrapper .ld-lesson-status {
  background-color: #16162a !important;
  border: 1px solid rgba(167,139,250,0.15) !important;
}

body.sfwd-lessons-template-default { background-color: #0C0C13 !important; }

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
  background-color: #0C0C13 !important;
  background: #0C0C13 !important;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar {
  background-color: #0C0C13 !important;
}

.learndash-wrapper .ld-alert.ld-alert-success.ld-alert--step-completed {
  display: none !important;
}

/* Cercle bouton toggle sidebar */
.ld-course-navigation-heading .ld-focus-sidebar-trigger,
.ld-focus-sidebar-trigger {
  background-color: #0C0C13 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Bouton Presenter Mode */
.ld-presenter-mode__button {
  background-color: #C9A84C !important;
  border-color: #C9A84C !important;
  border-radius: 99px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.ld-presenter-mode__button-text,
.ld-presenter-mode__button span:not(.ld-presenter-mode__icon) {
  display: none !important;
  width: 0 !important;
  overflow: hidden !important;
}

.ld-presenter-mode__button svg {
  fill: #0C0C13 !important;
  flex-shrink: 0 !important;
}

/* =============================================
   NAVIGATION CHAPITRE/LEÇON — VERSION FINALE
   ============================================= */

/* --- HEADER : masque Précédent et Suivant --- */
.ld-focus-header .ld-content-action:has(a.ld-button) {
  display: none !important;
}

/* --- HEADER : centre "Leçon terminée" --- */
.ld-focus-header .ld-content-actions {
  justify-content: center !important;
  flex: 1 !important;
}

/* --- SHORTCODE BAS DE PAGE : masque Précédent, Suivant --- */
[class*="learndash-shortcode-wrap-ld_navigation"] .ld-content-action:has(a):not(:has(form)) {
  display: none !important;
}

/* --- SHORTCODE BAS DE PAGE : masque "Retour à la Leçon" --- */
[class*="learndash-shortcode-wrap-ld_navigation"] .ld-course-step-back {
  display: none !important;
}

/* --- SHORTCODE BAS DE PAGE : affiche et centre "Leçon terminée" --- */
[class*="learndash-shortcode-wrap-ld_navigation"] .ld-content-action:has(form) {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

[class*="learndash-shortcode-wrap-ld_navigation"] .ld-content-actions {
  justify-content: center !important;
  flex-wrap: wrap !important;
}

/* --- Redesign bouton "Leçon terminée" --- */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(212, 175, 90, 0.5) !important;
  border-radius: 50px !important;
  color: #D4AF5A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 12px 40px !important;
  box-shadow: none !important;
  min-width: 200px !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button:hover {
  background: rgba(212, 175, 90, 0.08) !important;
  border-color: #D4AF5A !important;
  color: #D4AF5A !important;
}

/* =============================================
   FIX DÉBORDEMENT + DESIGN LISTE CHAPITRES
   ============================================= */

.ld-table-list {
  background: #13131c !important;
  border: 1px solid rgba(212, 175, 90, 0.15) !important;
  border-radius: 10px !important;
  overflow: visible !important;
}

.ld-table-list-items {
  padding: 12px 12px 12px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: visible !important;
}

.ld-table-list-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(212, 175, 90, 0.12) !important;
  border-radius: 8px !important;
  margin: 0 !important;
  overflow: visible !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.ld-table-list-item:hover {
  background: rgba(212, 175, 90, 0.05) !important;
  border-color: rgba(212, 175, 90, 0.3) !important;
}

.ld-table-list-item-preview {
  overflow: visible !important;
  padding-left: 16px !important;
}

.ld-table-list-item-preview .ld-topic-title,
.ld-table-list-item-preview .ld-lesson-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.5 !important;
}

.ld-table-list-item .ld-status-icon {
  color: rgba(212, 175, 90, 0.5) !important;
  border-color: rgba(212, 175, 90, 0.3) !important;
  flex-shrink: 0 !important;
}

.ld-table-list-item.learndash-complete .ld-status-icon {
  color: #D4AF5A !important;
  border-color: #D4AF5A !important;
}

/* =============================================
   LEARNDASH MOBILE
   ============================================= */

@media (max-width: 768px) {

  /* Header mobile — garde seulement la progression */
  .ld-focus-header .ld-mobile-nav,
  .ld-focus-header .ld-brand-logo,
  .ld-focus-header .ld-content-actions,
  .ld-focus-header .ld-user-menu {
    display: none !important;
  }

  .ld-focus-header {
    background: #0C0C13 !important;
    min-height: unset !important;
    padding: 0 !important;
    border-bottom: none !important;
  }

  .ld-focus-header .ld-progress {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .learndash-wrapper .ld-focus {
    flex-direction: column !important;
  }

  .learndash-wrapper .ld-focus .ld-focus-sidebar {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    height: auto !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    position: relative !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(167,139,250,0.15) !important;
    padding: 0 0 16px !important;
  }

  .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
    font-size: 12px !important;
    padding: 10px 16px !important;
    line-height: 1.4 !important;
  }

  .learndash-wrapper .ld-focus-sidebar .ld-lesson-item {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  .learndash-wrapper .ld-focus-sidebar .ld-topic-list .ld-topic-title {
    padding: 8px 16px 8px 28px !important;
    font-size: 12px !important;
  }

  .learndash-wrapper .ld-focus .ld-focus-main {
    width: 100% !important;
    min-width: unset !important;
  }

  .learndash-wrapper .ld-focus-content {
    padding: 24px 16px 80px !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  .learndash-wrapper .ld-focus-content h1,
  body.sfwd-lessons-template-default h1,
  body.sfwd-topic-template-default h1,
  body.sfwd-quiz-template-default h1 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
  }

  .learndash-wrapper .ld-focus-content h2 { font-size: 18px !important; }
  .learndash-wrapper .ld-focus-content h3 { font-size: 16px !important; }

  .learndash-wrapper .ld-content-actions {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .learndash-wrapper .ld-content-action { width: 100% !important; }

  .learndash-wrapper .ld-button {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 12px !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .learndash-wrapper .ld-course-status {
    padding: 12px 16px !important;
    border-radius: 10px !important;
    margin: 0 16px 16px !important;
  }

  .learndash-wrapper .ld-progress-bar {
    height: 6px !important;
    border-radius: 99px !important;
  }

  .learndash-wrapper .ld-item-list .ld-item-list-item {
    margin-bottom: 8px !important;
    padding: 4px !important;
  }

  .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
    font-size: 14px !important;
    padding: 12px 14px !important;
  }

  .learndash-wrapper .wpProQuiz_content { padding: 16px !important; }

  .learndash-wrapper .wpProQuiz_listItem {
    padding: 14px 12px !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }

  .learndash-wrapper .wpProQuiz_button,
  .learndash-wrapper .wpProQuiz_button2 {
    width: 100% !important;
    padding: 14px !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .learndash-wrapper .ld-focus-content iframe,
  .learndash-wrapper .ld-focus-content video {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    aspect-ratio: 16/9 !important;
  }

  .learndash-wrapper .ld-table-list-header {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .learndash-wrapper .ld-table-list-title { font-size: 13px !important; }

  .learndash-wrapper .ld-table-list-item-preview {
    padding: 12px 14px !important;
    font-size: 13px !important;
  }

  .learndash-wrapper .ld-lesson-status {
    padding: 16px !important;
    margin: 0 0 16px !important;
    border-radius: 10px !important;
  }

  .ld-breadcrumbs { display: none !important; }
  .learndash-wrapper .ld-alert.ld-alert-success.ld-alert--step-completed { display: none !important; }
  .jp-relatedposts { display: none !important; }

  /* Titres page cours */
  .ld-course-page-heading,
  .entry-title,
  h1.entry-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
  }

  .ld-progress-heading { font-size: 13px !important; font-weight: 700 !important; }
  .ld-progress-stats .ld-progress-percentage { font-size: 13px !important; }
  .ld-progress-stats .ld-progress-steps { font-size: 12px !important; color: rgba(255,255,255,0.55) !important; }
  .ld-expand-button .ld-text { font-size: 12px !important; letter-spacing: 0.06em !important; }

  .ld-lesson-section-heading,
  .ld-item-list-section-heading {
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  .ld-lesson-title,
  .ld-item-name,
  .ld-item-list-item .ld-item-name {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .ld-lesson-item-meta,
  .ld-meta-data {
    font-size: 11px !important;
    color: rgba(255,255,255,0.45) !important;
  }
}

/* Tablette */
@media (min-width: 769px) and (max-width: 1024px) {
  .learndash-wrapper .ld-focus .ld-focus-sidebar {
    width: 260px !important;
    min-width: 260px !important;
  }
  .learndash-wrapper .ld-focus-content {
    padding: 40px 32px 80px !important;
    font-size: 16px !important;
  }
  .learndash-wrapper .ld-focus-header .ld-button {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}

/* =============================================
   PAGE PANIER
   ============================================= */

.wc-block-cart-items__header {
  border-bottom: 1px solid rgba(167, 139, 250, 0.2) !important;
  padding-bottom: 12px !important;
}

.wc-block-cart-items__header-product,
.wc-block-cart-items__header-total {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  color: rgba(255,255,255,0.4) !important;
  text-transform: uppercase !important;
}

.wc-block-cart-items__row {
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.wc-block-components-product-name {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.92) !important;
}

.wc-block-components-product-price__value {
  color: #A78BFA !important;
  font-weight: 700 !important;
}

.wc-block-cart-item__remove-link {
  color: rgba(255,255,255,0.3) !important;
  font-size: 12px !important;
}

.wc-block-cart-item__remove-link:hover {
  color: rgba(255, 80, 80, 0.8) !important;
}

.wc-block-cart__sidebar,
.wc-block-components-sidebar {
  background: #13131c !important;
  border: 1px solid rgba(167, 139, 250, 0.15) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  position: sticky !important;
  top: 100px !important;
}

.wc-block-components-totals-item {
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.wc-block-components-totals-item__label {
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.wc-block-components-totals-item__value {
  font-weight: 700 !important;
  color: #A78BFA !important;
}

.wc-block-components-panel__button {
  color: rgba(167, 139, 250, 0.7) !important;
  font-size: 12px !important;
}

/* Bouton "Appliquer" code promo */
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__form .wp-element-button,
.wc-block-components-totals-coupon__form button {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(212, 175, 90, 0.4) !important;
  border-radius: 6px !important;
  color: #D4AF5A !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  width: auto !important;
  white-space: nowrap !important;
}

/* Bouton Valider */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-container .wp-element-button,
.wc-block-cart__submit-container button {
  background-color: #A78BFA !important;
  background: #A78BFA !important;
  color: #0C0C13 !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 16px 24px !important;
  width: 100% !important;
  margin-top: 20px !important;
}

/* Panier mobile */
@media (max-width: 768px) {

  .wc-block-cart {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    gap: 20px !important;
  }

  .wc-block-cart > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
  }

  .wc-block-cart__sidebar,
  .wc-block-components-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
  }

  .wc-block-cart-items__row {
    display: grid !important;
    grid-template-areas: "image product product" "image quantity total" !important;
    grid-template-columns: 72px 1fr auto !important;
    grid-template-rows: auto auto !important;
    gap: 8px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 0 !important;
    position: static !important;
    align-items: start !important;
  }

  .wc-block-cart-item__image {
    grid-area: image !important;
    width: 72px !important;
    height: 72px !important;
    flex: none !important;
    position: static !important;
  }

  .wc-block-cart-item__image img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .wc-block-cart-item__product,
  .wc-block-cart-item__wrap {
    grid-area: product !important;
    position: static !important;
    float: none !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .wc-block-components-product-name {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }

  .wc-block-components-product-price {
    display: block !important;
    position: static !important;
    float: none !important;
  }

  .wc-block-components-product-price del {
    font-size: 11px !important;
    color: rgba(255,255,255,0.35) !important;
    display: inline !important;
    margin-right: 4px !important;
  }

  .wc-block-components-product-price ins,
  .wc-block-components-product-price__value {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #D4AF5A !important;
    display: inline !important;
  }

  .wc-block-cart-item__quantity {
    grid-area: quantity !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
    float: none !important;
  }

  .wc-block-components-quantity-selector {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .wc-block-components-quantity-selector__button {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    border: 1px solid rgba(212,175,90,0.3) !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #D4AF5A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wc-block-components-quantity-selector__input {
    width: 36px !important;
    text-align: center !important;
    font-size: 13px !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 4px !important;
    color: rgba(255,255,255,0.9) !important;
    padding: 4px !important;
  }

  .wc-block-cart-item__remove-link {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 8px !important;
    color: rgba(255,80,80,0.6) !important;
    font-size: 11px !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }

  .wc-block-cart-item__total {
    grid-area: total !important;
    position: static !important;
    float: none !important;
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .wc-block-components-sale-badge { display: none !important; }

  .wc-block-components-totals-coupon__form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .wc-block-components-totals-coupon__form input {
    width: 100% !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .wc-block-components-totals-coupon__form button {
    width: 100% !important;
    justify-content: center !important;
  }

  .wc-block-cart__submit-container button,
  .wc-block-cart__submit-container .wp-element-button,
  .wc-block-cart__submit-container .wc-block-components-button {
    background: #D4AF5A !important;
    background-color: #D4AF5A !important;
    color: #0C0C13 !important;
    border: none !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    padding: 16px !important;
    margin-top: 8px !important;
  }
}

/* =============================================
   MON COMPTE — MOBILE
   ============================================= */

@media (max-width: 768px) {

  .woocommerce-MyAccount-content p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 12px !important;
  }

  .woocommerce-MyAccount-content a {
    color: #A78BFA !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .woocommerce-MyAccount-content a:hover { opacity: 0.8 !important; }

  .woocommerce-MyAccount-content .woocommerce-Message,
  .woocommerce-MyAccount-content > p:first-child {
    font-size: 13px !important;
    background: rgba(167, 139, 250, 0.06) !important;
    border: 1px solid rgba(167, 139, 250, 0.15) !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
  }

  .woocommerce-account .woocommerce {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
  }

  .woocommerce-MyAccount-content { margin-top: 16px !important; padding: 0 !important; }

  .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .woocommerce-MyAccount-navigation ul li {
    background: #13131c !important;
    border: 1px solid rgba(167, 139, 250, 0.1) !important;
    border-radius: 8px !important;
  }

  .woocommerce-MyAccount-navigation ul li.is-active {
    border-left: 3px solid #A78BFA !important;
  }

  .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 14px 18px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a { color: #A78BFA !important; }
}

/* =============================================
   PAGE CONNEXION (page-id-588)
   ============================================= */

.page-id-588 .woocommerce-form-login {
  background: #13131c !important;
  border: 1px solid rgba(212, 175, 90, 0.15) !important;
  border-radius: 12px !important;
  padding: 36px !important;
  max-width: 480px !important;
}

.page-id-588 .woocommerce-form-login label {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 500 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.page-id-588 .woocommerce-form-login .woocommerce-Input,
.page-id-588 .woocommerce-form-login input.input-text {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(212, 175, 90, 0.2) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.page-id-588 .woocommerce-form-login input:-webkit-autofill,
.page-id-588 .woocommerce-form-login input:-webkit-autofill:hover,
.page-id-588 .woocommerce-form-login input:-webkit-autofill:focus,
.page-id-588 .woocommerce-form-login input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #13131c inset !important;
  box-shadow: 0 0 0 1000px #13131c inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(212, 175, 90, 0.3) !important;
  border-radius: 8px !important;
  caret-color: rgba(255, 255, 255, 0.88) !important;
}

.page-id-588 .woocommerce-form-login input.input-text:focus {
  border-color: rgba(212, 175, 90, 0.5) !important;
  outline: none !important;
}

.page-id-588 .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
}

.page-id-588 input[type="checkbox"] {
  accent-color: #D4AF5A !important;
  width: 16px !important;
  height: 16px !important;
}

.page-id-588 .woocommerce-form-login__submit {
  background: #D4AF5A !important;
  background-color: #D4AF5A !important;
  color: #0C0C13 !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
  margin-top: 8px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.page-id-588 .woocommerce-form-login__submit:hover { opacity: 0.88 !important; }

.page-id-588 .lost_password a {
  color: rgba(212, 175, 90, 0.6) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
}

.page-id-588 .lost_password a:hover { color: #D4AF5A !important; }
.page-id-588 .woocommerce-form-login .form-row { margin-bottom: 20px !important; }

@media (max-width: 768px) {
  .page-id-588 .woocommerce-form-login { padding: 24px 20px !important; }
  .page-id-588 .woocommerce-form-login input.input-text { font-size: 16px !important; }
}

/* =============================================
   SECTION STATS MENTORING
   ============================================= */

.elementor-element-f5dd15f .elementor-counter,
.elementor-element-f5dd15f .elementor-widget-container {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.elementor-element-f5dd15f .elementor-counter-number-wrapper {
  text-align: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 0 !important;
  align-items: baseline !important;
}

.elementor-element-f5dd15f .elementor-counter-number-suffix {
  display: inline !important;
  margin-left: 0 !important;
  color: #D4AF5A !important;
}

.elementor-element-f5dd15f .elementor-counter-number,
.elementor-element-f5dd15f .elementor-counter-number-prefix {
  display: inline !important;
  color: #ffffff !important;
}

.elementor-element-f5dd15f .elementor-counter-title {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-top: 8px !important;
  text-transform: uppercase !important;
}

.elementor-element-f5dd15f {
  border-top: 1px solid rgba(212, 175, 90, 0.12) !important;
  border-bottom: 1px solid rgba(212, 175, 90, 0.12) !important;
}

/* =============================================
   PAGE MENTORING (page-id-1202)
   ============================================= */

.page-id-1202 .elementor-heading-title { letter-spacing: 0.04em !important; line-height: 1.15 !important; }

.elementor-element-ea63d57 .elementor-heading-title {
  font-size: 13px !important;
  letter-spacing: 0.2em !important;
  color: rgba(212, 175, 90, 0.8) !important;
  text-transform: uppercase !important;
}

.page-id-1202 .elementor-button {
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.page-id-1202 .elementor-button:hover { opacity: 0.88 !important; transform: translateY(-1px) !important; }
.page-id-1202 .elementor-button-text { font-size: clamp(14px, 1.2vw, 18px) !important; letter-spacing: 0.06em !important; }

.page-id-1202 .elementor-widget-text-editor p {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: rgba(255, 255, 255, 0.4) !important;
  text-transform: uppercase !important;
}

.page-id-1202 .elementor-toggle-title {
  font-size: 15px !important;
  letter-spacing: 0.04em !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.page-id-1202 .elementor-toggle-icon { color: #D4AF5A !important; }

.page-id-1202 .elementor-tab-content {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 16px 0 24px !important;
}

.page-id-1202 .elementor-divider-separator { border-color: rgba(212, 175, 90, 0.15) !important; }

@media (max-width: 768px) {
  .page-id-1202 .elementor-button-text { font-size: 13px !important; }
  .page-id-1202 .elementor-toggle-title { font-size: 14px !important; }
}

/* =============================================
   PAGE FORMATION (page-id-1189)
   ============================================= */

.page-id-1189 .elementor-heading-title { letter-spacing: 0.04em !important; line-height: 1.15 !important; }

.page-id-1189 .elementor-element-5d84d74 {
  border-top: 1px solid rgba(212, 175, 90, 0.12) !important;
  border-bottom: 1px solid rgba(212, 175, 90, 0.12) !important;
}

.page-id-1189 .elementor-element-5d84d74 .elementor-counter,
.page-id-1189 .elementor-element-5d84d74 .elementor-widget-container {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-id-1189 .elementor-element-5d84d74 .elementor-counter-number-wrapper {
  gap: 0 !important;
  justify-content: center !important;
  width: 100% !important;
}

.page-id-1189 .elementor-element-5d84d74 .elementor-counter-number,
.page-id-1189 .elementor-element-5d84d74 .elementor-counter-number-prefix {
  display: inline !important;
  color: #ffffff !important;
}

.page-id-1189 .elementor-element-5d84d74 .elementor-counter-number-suffix {
  display: inline !important;
  margin-left: 0 !important;
  color: #D4AF5A !important;
}

.page-id-1189 .elementor-element-5d84d74 .elementor-counter-title {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-top: 8px !important;
  text-transform: uppercase !important;
}

.page-id-1189 .elementor-button {
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.page-id-1189 .elementor-button:hover { opacity: 0.88 !important; transform: translateY(-1px) !important; }

.page-id-1189 .elementor-toggle-title {
  font-size: 15px !important;
  letter-spacing: 0.04em !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.page-id-1189 .elementor-toggle-icon { color: #D4AF5A !important; }

.page-id-1189 .elementor-tab-content {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 16px 0 24px !important;
}

.page-id-1189 .elementor-text-editor p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.page-id-1189 .elementor-divider-separator { border-color: rgba(212, 175, 90, 0.15) !important; }

@media (max-width: 768px) {
  .page-id-1189 .elementor-button-text { font-size: 13px !important; }
  .page-id-1189 .elementor-toggle-title { font-size: 14px !important; }
}

/* =============================================
   PAGE ACCUEIL (page-id-382)
   ============================================= */

.page-id-382 .elementor-heading-title { letter-spacing: 0.03em !important; line-height: 1.12 !important; }

.page-id-382 .elementor-text-editor p {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.page-id-382 .elementor-divider-separator { border-color: rgba(212, 175, 90, 0.2) !important; width: 60px !important; }

.page-id-382 .elementor-button {
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.page-id-382 .elementor-button:hover { opacity: 0.88 !important; transform: translateY(-1px) !important; }
.page-id-382 .elementor-button-text { font-size: clamp(13px, 1.1vw, 16px) !important; }

@media (max-width: 768px) {
  .page-id-382 .elementor-button-text { font-size: 13px !important; letter-spacing: 0.06em !important; }
  .page-id-382 .elementor-text-editor p { font-size: 14px !important; line-height: 1.75 !important; }
  .page-id-382 .elementor-heading-title { line-height: 1.2 !important; }
}

/* =============================================
   HEADER — BOUTON MON COMPTE
   ============================================= */

.elementor-nav-menu a[href*="mon-compte"] {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 90, 0.5) !important;
  border-radius: 50px !important;
  color: #D4AF5A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 10px 22px !important;
  transition: background 0.2s, border-color 0.2s !important;
  white-space: nowrap !important;
}

.elementor-nav-menu a[href*="mon-compte"]:hover {
  background: rgba(212, 175, 90, 0.1) !important;
  border-color: #D4AF5A !important;
  color: #D4AF5A !important;
}