/* Cours Listing Styles */

/* Alternance de couleurs pour les rangées */
.cours-table tbody tr.cours-row {
  transition: background-color 0.2s ease;
}

/* Cacher tous les cours initialement pour éviter le flash */
.cours-listing-loading .cours-row:not(.cours-empty-default):not(.cours-empty) {
  display: none !important;
  visibility: hidden !important;
}

/* Skeleton Loader */
.cours-skeleton-container {
  display: none;
}

.cours-listing-loading .cours-skeleton-container {
  display: block;
  width: 100%;
  min-width: 1000px;
}

.cours-skeleton-row {
  display: flex;
  padding: 16px;
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.cours-skeleton-row:nth-child(even) {
  background: #f8f8f8;
}

.cours-skeleton-cell {
  flex: 1;
  padding: 0 8px;
}

.cours-skeleton-value {
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
  margin-bottom: 6px;
}

.cours-skeleton-label {
  height: 16px;
  width: 60%;
  background: linear-gradient(90deg, #f5f5f5 25%, #eaeaea 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
  margin: 0 auto;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Masquer les éléments pendant le chargement */
.cours-listing-loading .category-filter-btn .count {
  visibility: hidden;
}

.cours-listing-loading .cours-table tbody tr:not(.cours-skeleton-row) {
  display: none;
}

.cours-table tbody tr.cours-row-odd {
  background-color: #ffffff;
}

.cours-table tbody tr.cours-row-even {
  background-color: #f8f8f8;
}

.cours-table tbody tr.cours-row-odd td {
  background-color: #ffffff !important;
}

.cours-table tbody tr.cours-row-even td {
  background-color: #f8f8f8 !important;
}

/* S'assurer que les éléments internes héritent du fond */
.cours-table tbody tr.cours-row-odd td * {
  background-color: transparent !important;
}

.cours-table tbody tr.cours-row-even td * {
  background-color: transparent !important;
}

.cours-table tbody tr.cours-row:hover td {
  background-color: #fef3f2 !important;
}

.cours-table tbody tr.cours-row:hover td * {
  background-color: transparent !important;
}

.cours-table tbody tr.cours-row td {
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

/* Supprimer les bordures pour les rangées vides */
.cours-table tbody tr.cours-empty td {
  border: none;
}

/* S'assurer que les messages vides sont cachés par défaut */
.cours-row.cours-empty-default {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Afficher seulement quand explicitement montré par JavaScript */
.cours-row.cours-empty-default.show-empty {
  display: table-row !important;
  visibility: visible;
  opacity: 1;
}

/* Message pour les jours sans cours */
.cours-row.cours-empty td {
  /* background: linear-gradient(135deg, #fef5f5 0%, #fef9f9 100%); */
  background: #fff;
  border: none;
  padding: 60px 20px;
}

.cours-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.cours-empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cours-empty-title,
.cours-empty-title-filtered {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.cours-empty-text,
.cours-empty-text-filtered {
  color: #71717a;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* Améliorer l'intégration avec le reste du tableau */
.cours-table tbody tr.cours-empty {
  border: none;
}

.cours-table tbody tr.cours-empty:hover {
  background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .cours-row.cours-empty td {
    padding: 40px 15px;
  }

  .cours-empty-icon {
    width: 48px;
    height: 48px;
  }

  .cours-empty-title {
    font-size: 20px;
  }

  .cours-empty-text {
    font-size: 14px;
  }
}
.image {
  border: 7px solid #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.2);
}

.image6,
.image5,
.image4 {
  right: 0;
  left: auto !important;
}

.carousel-container {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel-container button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  height: 230px;
  overflow: hidden;
  perspective: 600px;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 50% !important;
  transform: translateX(-50%);
  width: 228.86px;
  height: 200px;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
  will-change: transform;
  box-shadow: 0px 3px 5.8px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .carousel {
    height: 423px;
  }
  .carousel-image {
    height: 397px;
    width: 463.24px;
  }
}

@media screen and (min-width: 1024px) {
  .carousel {
    height: 261px;
  }
  .carousel-image {
    height: 245px;
    width: 286.42px;
  }
}

@media screen and (min-width: 1440px) {
  .carousel {
    height: 372px;
  }
  .carousel-image {
    height: 350px;
    width: 407.75px;
  }
}

.carousel-content-2,
.carousel-content-3 {
  display: none;
  opacity: 0;
  transition: all 0.3s;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  margin: 0 8px;
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.3;
  cursor: default;
}

.custom-carousel .swiper-wrapper {
  height: 622px;
}

.custom-carousel .elementor-loop-container.elementor-grid {
  display: flex !important; /* passe en flex */
  flex-wrap: nowrap !important; /* interdiction du retour à la ligne */
  overflow-x: auto !important; /* scroll horizontal si overflow */
  -webkit-overflow-scrolling: touch;
  padding: 48px; /* pour laisser de l'espace aux ombres sur les bords */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.custom-carousel .e-loop-item {
  flex: 0 0 auto !important; /* 0 = ne grandit pas, 0 = ne rétrécit pas, auto = taille intrinsèque */
  max-width: 362px; /* ajustez selon la largeur souhaitée */
}

.custom-carousel .elementor-loop-container.elementor-grid::-webkit-scrollbar {
  display: none;
}

.liste-disciplines-enseignees {
  padding: 0;
  margin: 0;
  list-style: none;
}

.discipline-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.discipline-image {
  width: 48px !important;
  height: 48px !important;
  border-radius: 4px !important;
  object-fit: cover;
}

.discipline-info {
  display: flex;
  flex-direction: column;
}

.discipline-nom {
  color: var(--Common-Neutral-Hight, #4b5563);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.discipline-style-de-danse {
  color: var(--Common-Neutral-Medium, #9ca3af);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%; /* 21px */
}

.discipline-link {
  margin-left: auto;
  color: var(--Common-Neutral-Medium, #fef3f2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 999px;
  background: #bb2332;
}

.discipline-link:hover {
  background: #7e1d2d;
}

.discipline-link:hover {
  color: white;
}

.discipline-link svg {
  width: 100%;
  height: 100%;
}

.spectacle-title {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

/* 2) Inversez automatiquement pour tous les items pairs */
.spectacles-grid
  .elementor-grid
  div[data-elementor-type="loop-item"]:nth-of-type(2n)
  .e-con-inner {
  flex-direction: row-reverse !important;
}

/* Event Date Styles */
.event-date {
  text-align: left;
}

/* Styles for stage dates */
.stage-date .event-days {
  color: var(--Common-Secondary-brand-Highter, #18181b);
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.stage-date .event-month {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
}

/* Styles for soiree dates */
.soiree-date .event-day {
  color: var(--Common-Secondary-brand-Highter, #18181b);
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.soiree-date .event-month {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
  margin-left: 8px;
}

.soiree-date .event-time {
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-top: 8px;
}

.event-programme {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cours-listing,
.tarifs-listing {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0;
  width: 100%;
  /* overflow-x: auto; */
  /* -webkit-overflow-scrolling: touch; */
}

.cours-listing-header,
.tarifs-listing-header {
  margin-bottom: 0;
  padding: 0;
  display: flex;
  min-width: 200px;
}

.cours-table,
.tarifs-table {
  margin: 0;
  border: none;
  width: 100%;
  min-width: 1000px;
}

.cours-listing-header .jour-link,
.tarifs-listing-header .type-link {
  padding: 24px;
  flex: 1;
  text-align: center;
  border-radius: 0;
  color: var(--Common-Secondary-brand-Hight, #3f3f46);
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 24px */
  text-transform: uppercase;
  background-color: #f8f8f8;
  border: 1px solid #efefef;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.tarifs-listing-header-subtitle {
  color: var(--Common-Secondary-brand-Hight, #3f3f46);
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%; /* 24px */
}

.type-link.active .tarifs-listing-header-subtitle {
  color: var(--Common-Primary-brand-Hight, #bb2332);
}

.type-link.active .tarif-note-container {
  background: var(--Common-Primary-brand-Hight, #bb2332);
}

.cours-listing-header .jour-link.active,
.tarifs-listing-header .type-link.active {
  background-color: white;
  border-bottom: 5px solid var(--Common-Primary-brand-Hight, #bb2332);
  font-weight: 600;
  color: var(--Common-Primary-brand-Hight, #bb2332);
}

.cours-table *,
.tarifs-table * {
  border: none;
}

/* Supprimé les règles qui forçaient tout en blanc */

.cours-table td,
.tarifs-table td {
  padding: 16px;
  vertical-align: middle;
}

.cours-info,
.tarif-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: transparent !important;
}

.tarif-info-label {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 18.2px */
}

.cours-value,
.tarif-value {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  text-align: center;
  /* Old/Txt* */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.cours-label,
.tarif-label {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.tarif-row td {
  flex: 1 !important;
  width: 50% !important;
}

.tarif-row td:first-child {
  background: #fcfcfc !important;
}

.tarif-row td:first-child * {
  background: #fcfcfc !important;
}

.tarif-type {
  color: var(--Common-Neutral-Highter, #374151);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 18.2px */
}

.tarifs-table tr td {
  flex: 1 !important;
  border: 1px solid #efefef;
}

.tarifs-table tr td:nth-child(odd),
.tarifs-table tr td:nth-child(odd) * {
  background: white;
}

.danses-categories-switcher {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.switcher-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  background: #f8f8f8;
  padding: 8px;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .switcher-container {
    flex-direction: row;
    max-width: 466px;
  }
  .cours-listing-header,
  .tarifs-listing-header {
    min-width: 1000px;
  }
}

.tarif-row-mobile:nth-child(odd) td {
  background: #fcfcfc;
}

.tarif-row-mobile td {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.switcher-container input[type="radio"] {
  display: none;
}

.switcher-container label {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Poppins;
  font-size: var(--Typeface-Size-XL, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Typeface-Size-2XL, 24px);
  /* 120% */
  text-transform: uppercase;
  color: #646464;
  text-align: center;
  border-radius: 4px;
}

.switcher-container input[type="radio"]:checked + label {
  color: white;
  border: 1px solid #dfdfdf;
  background: #fff;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1),
    0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  color: #202020;
  width: 100%;
}

@media (min-width: 768px) {
  .switcher-container input[type="radio"]:checked + label {
    width: fit-content;
  }
}

.dance-style-group {
  margin-bottom: 40px;
}

.style-title {
  color: var(--Common-Secondary-brand-Hightest, #09090b);
  text-align: center;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.dances-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dance-item {
  padding: var(--sizes-button-input-nav-medium-padding-v, 8px) 10px;
  color: var(--Common-Primary-brand-Hight, #bb2332);
  text-align: center;
  /* Buttons/Small */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 150% */
  text-transform: uppercase;
  border-radius: var(--Common-Radius-Round, 9999px);
  border: 1px solid var(--Common-Primary-brand-Hight, #bb2332);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dance-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--Common-Primary-brand-Hight, #bb2332);
  color: white;
}

.dance-item h3 {
  margin: 0;
  font-size: 18px;
}

.loading-spinner {
  text-align: center;
  padding: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f8f8f8;
  border-top: 4px solid var(--Common-Primary-brand-Hight, #bb2332);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.html5-video-player .ytp-show-cards-title {
  display: none !important;
}

/* Professeur Disciplines Styles */
.professeur-disciplines-container {
  width: 100%;
  overflow: hidden;
}

.professeur-disciplines-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.professeur-disciplines-list::-webkit-scrollbar {
  display: none;
}

.professeur-discipline-item {
  flex: 0 0 350px;
  border-radius: 24px;
  border: 7px solid #fff;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.professeur-discipline-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.professeur-discipline-item a:hover {
  border: 1px solid var(--Button-Tertiary-Hover-Border, #d1d5db);
  background: var(--Button-Tertiary-Hover-Background, #f3f4f6);
}

.professeur-discipline-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.professeur-discipline-item h3 {
  margin: 15px;
  font-size: 18px;
  text-align: center;
  color: #333;
}

.professeur-discipline-item .dance-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 20%;
  width: 200px;
  z-index: 1;
}

.professeur-discipline-item .dance-image {
  background: #f5eee7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.professeur-discipline-item .cours-info {
  padding: 24px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  /* height: 100%; */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.18) inset;
}

.professeur-discipline-item .cours-details-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.professeur-discipline-item .cours-details {
  display: flex;
  flex-direction: column;
}

.professeur-discipline-item .creneau {
  font-weight: 600;
  color: #333;
}

.professeur-discipline-item .public {
  font-size: 14px;
  color: #666;
}

.professeur-discipline-item h3::before {
  content: "/";
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 28.8px */
  margin-right: 2px;
}

.voir-plus {
  border-radius: var(--Common-Radius-Round, 9999px);
  border: 1px solid var(--Button-Tertiary-Default-Border, #d1d5db);
  background: var(--Common-Secondary-brand-Lowest, #fafafa);
  color: var(--Button-Tertiary-Default-Text, #09090b);
  font-family: var(--Typeface-Family-text, Barlow);
  font-size: var(--Typeface-Size-S, 14px);
  font-style: normal;
  font-weight: var(--Typeface-Weight-normal, 400);
  line-height: var(--Typeface-Size-XL, 20px);
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  padding: var(--sizes-button-input-nav-medium-padding-v, 8px)
    var(--sizes-button-input-nav-medium-padding-h, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--sizes-button-input-nav-medium-gap, 6px);
  align-self: last baseline;
}

.rejoindre-cours {
  max-width: 1248px;
  margin: 0 auto;
}

.rejoindre-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rejoindre-cours p,
.rejoindre-cours h3,
.rejoindre-cours h4 {
  margin: 0;
}

.rejoindre-cours h3 {
  margin-bottom: 8px;
}

.special-title {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

@media (min-width: 1640px) {
  .banner {
    background-position: 65% 50% !important;
  }
}

.discipline-image {
  width: 48px !important;
  height: 48px !important;
  border-radius: 4px;
  background: #f5eee7;
  object-fit: cover;
  border: none;
}

.special {
  color: var(--Common-Primary-brand-Hight, #bb2332);
  font-family: "Style Script";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

.is-active .e-n-menu-title-container span {
  color: #7e1d2d !important;
  font-family: Poppins;
  font-size: var(--Typeface-Size-M, 16px);
  font-style: normal;
  font-weight: 700 !important;
  line-height: var(--Typeface-Size-2XL, 24px); /* 150% */
  letter-spacing: 0.96px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%; /* 1.92px */
  text-underline-offset: 50%; /* 8px */
  text-underline-position: from-font;
  text-transform: uppercase;
}

.e-n-menu-heading .e-n-menu-title-container:hover span {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%; /* 1.92px */
  text-underline-offset: 50%; /* 8px */
  text-underline-position: from-font;
}

@media screen and (max-width: 768px) {
  .precedent,
  .suivant {
    position: absolute;
    bottom: 0;
  }

  .precedent {
    left: 40%;
    transform: translateX(-40%);
  }

  .suivant {
    right: 40%;
    transform: translateX(40%);
  }

  .button-container {
    padding-bottom: 130px;
  }
}

.new-header {
  display: none;
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
}

.type-link {
  position: relative;
}

.tarif-note-container {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 4px;
  background: var(--Common-Secondary-brand-Hight, #3f3f46);
  display: flex;
  padding: 0px 4px;
  justify-content: center;
  align-items: center;
}

.tarif-note-text {
  color: var(--Common-Neutral-Lowest, #fff);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: var(--Typeface-Weight-normal, 400);
  line-height: var(--Typeface-Size-3XL, 30px);
}

.dance-image {
  position: relative;
}

.dance-image-overlay {
  position: absolute;
  background-image: url(https://ecolededansegiannone.pycofa.fr/wp-content/uploads/2025/05/vector-2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
}

.professeur-disciplines-list-empty {
  color: var(--Common-Neutral-Highter, #374151) !important;
  font-family: Poppins !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 150% !important; /* 24px */
}

.hover-div {
  display: none;
  transition: all 3s ease !important;
}

#contact-form-footer .elementor-field:focus,
#contact-form-contact .elementor-field:focus {
  border-color: #bb2332 !important;
}

.dances-content {
  max-width: 600px;
}

.danses-listing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dances-list {
  justify-content: center;
}

.mobile-menu-back-icon {
  transform: rotate(0deg) !important;
}

/* Category Filter Styles */
.cours-categories-filter {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 0;
  border-radius: 24px 24px 0 0;
  border: 1px solid #efefef;
  border-bottom: none;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cours-categories-filter-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-filter-btn {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
}

.category-filter-btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-filter-btn.active {
  background: var(--Common-Primary-brand-Hight, #bb2332);
  color: white !important;
  border-color: var(--Common-Primary-brand-Hight, #bb2332);
  font-weight: 600;
  box-shadow: 0 0 0 4px rgba(187, 35, 50, 0.25),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.category-filter-btn.active::before {
  content: "✓";
  position: absolute;
  left: -8px;
  top: -8px;
  background: #0bbe68;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-filter-btn .count {
  background: #e5e7eb;
  color: #6b7280;
  padding: 0;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  width: 24px;
  height: 24px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.category-filter-btn .count.count-loading {
  width: 24px;
  height: 24px;
  letter-spacing: 1px;
  animation: pulse 1.5s ease-in-out infinite;
  font-size: 14px;
  line-height: 1;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.category-filter-btn:hover .count {
  background: #d1d5db;
  color: #4b5563;
}

.category-filter-btn.active .count {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
}

/* Update header to connect with filter */
.cours-listing-header {
  border-radius: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cours-categories-filter {
    padding: 8px;
  }

  .cours-categories-filter-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .category-filters {
    justify-content: center;
  }

  .category-filter-btn {
    font-size: 13px;
    padding: 5px 14px;
  }

  .category-filter-btn.active::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
    left: -6px;
    top: -6px;
  }
}

/* Styles spécifiques pour les pages single professeur et single danse */
.single-professeur .cours-listing-header,
.single-danse .cours-listing-header {
  gap: 0;
  justify-content: stretch;
}

.single-professeur .cours-listing-header .jour-link,
.single-danse .cours-listing-header .jour-link {
  flex: 1 1 0;
  padding: 24px;
  min-width: 0;
}

/* Sur mobile, le scroll horizontal doit être appliqué à .tarifs-listing-header et non à .tarifs-listing */
