/*Pour le slider*/
/* 1. Positionner le bloc en dessous du slider */
.bf-inp-fld-wrp {
    display: flex;
    flex-direction: column; /* Force l'empilement vertical */
}

.bf-slider-val {
    order: 2; /* Place le texte après l'input (le slider) */
    font-size: 0 !important;
    margin-top: 15px !important; /* Espace entre le slider et le texte */
    text-align: center; /* Optionnel : centre le texte sous le slider */
}

/* 2. Afficher "Montant : " */
.bf-slider-val::before {
    content: "Carte cadeau de (€) : ";
    font-size: 24px !important;
    font-weight: bold;
    visibility: visible;
    color: #a8501c;
}

/* 3. Afficher le chiffre + le symbole € */
.bf-slider-val::after {
    /* On combine la variable du chiffre et le texte " €" */
    content: var(--bfv-fld-val) " €"; 
    font-size: 24px !important;
    font-weight: bold;
    visibility: visible;
    margin-left: 5px;
    color: #000000;
}

/*boutons radios*/

/* Styles pour les boutons radio personnalisés */
/* Généré avec l'outil de mise en forme MEF */
/* Ajoutez uniquement la classe "radio-group-styled" à la div parente */

/* Conteneur principal */
.radio-group-styled {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 1.2500rem;
  width: 100%;
}

/* Divs enfants - conteneurs de chaque radio */
.radio-group-styled > div {
  position: relative;
}

/* Cacher les inputs radio natifs */
.radio-group-styled input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Style des labels (boutons) */
.radio-group-styled label {
  display: block !important;
  position: relative !important;
  padding: 0.9375rem 1.5625rem !important;
  background: #a8501c !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0.5000rem !important;
  font-size: 1.0000rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 200ms ease !important;
  overflow: hidden !important;
  box-shadow: 0.0000rem 0.1250rem 0.3125rem rgba(0, 0, 0, 0.1);
}

/* Support des icônes */
.radio-group-styled label .radio-icon {
  display: inline-block !important;
  font-size: 1.0000rem !important;
}

/* Masquer les SVG et icônes de coche */
.radio-group-styled label svg,
.radio-group-styled label span svg,
.radio-group-styled label > span:first-child,
.radio-group-styled label img[src*="check"],
.radio-group-styled label .check-icon,
.radio-group-styled label [class*="bx"],
.radio-group-styled label [data-bx] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
}

/* Forcer l'affichage du texte dans les spans */
.radio-group-styled label span:not([class*="bx"]):not([data-bx]) {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  position: relative !important;
  font-size: inherit !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: unset !important;
}

/* Cibler spécifiquement les spans de texte (haute spécificité) */
.radio-group-styled > div label span[class*="ct"],
.radio-group-styled > div label span[class*="text"],
.radio-group-styled label > span:last-child {
  font-size: inherit !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: unset !important;
  width: auto !important;
  display: inline !important;
}

/* État hover */
.radio-group-styled label:hover {
  background: #8e4415 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0.0000rem 0.2500rem 0.4688rem rgba(0, 0, 0, 0.15);
  transform: scale(1.06) !important;
}

/* État sélectionné */
.radio-group-styled input[type="radio"]:checked + label {
  background: #f5ebdf !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0.0000rem 0.2500rem 0.4688rem rgba(0, 0, 0, 0.2);
  font-weight: 600 !important;
}

/* État sélectionné + hover */
.radio-group-styled input[type="radio"]:checked + label:hover {
  background: #f5ebdf !important;
  color: #000000 !important;
  border: none !important;
}

/* État disabled */
.radio-group-styled input[type="radio"]:disabled + label {
  background: #f5f5f5 !important;
  color: #999999 !important;
  border: none !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.radio-group-styled input[type="radio"]:disabled + label:hover {
  transform: none !important;
  filter: none !important;
}

/* État focus (accessibilité) */
.radio-group-styled input[type="radio"]:focus + label {
  outline: 0.1250rem solid #667eea !important;
  outline-offset: 0.1250rem !important;
}

/* Responsive - adapte le nombre de colonnes sur mobile */
@media (max-width: 768px) {
  .radio-group-styled {
    grid-template-columns: repeat(auto-fit, minmax(6.25rem, 1fr));
  }
}

@media (max-width: 480px) {
  .radio-group-styled {
    grid-template-columns: 1fr;
  }

  .radio-group-styled label {
    padding: 0.7500rem 0.9375rem !important;
    font-size: 0.8750rem !important;
  }
}

/* Animations */

.radio-group-styled label:active {
  transform: scale(0.95) !important;
}
