/* === Montgolfières & Cie — Overrides WooCommerce & Home === */

/* ------------------------------
   FICHE PRODUIT : champs & select
------------------------------ */

/* Neutralise la règle globale du parent sur la fiche produit */
body.single-product .woocommerce input,
body.single-product .woocommerce textarea,
body.single-product .woocommerce select {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #00ccff !important;
}

/* Cible le sélecteur de variation (nombre de personnes) */
body.single-product .summary form.cart .variations select {
  line-height: 44px !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #00ccff !important;
  border-radius: 6px !important;
  background-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Placeholder “Choisir une option” bien visible */
body.single-product .summary form.cart .variations select option:first-child,
body.single-product .summary form.cart .variations select option[disabled][selected] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

/* Ceinture + bretelles si un enhancer (Select2 / Nice Select) est actif */
body.single-product .summary form.cart .variations .select2-selection--single,
body.single-product .summary form.cart .variations .nice-select {
  background: #000 !important;
  border: 1px solid #00ccff !important;
  border-radius: 6px !important;
}

body.single-product .summary form.cart .variations .select2-selection__rendered,
body.single-product .summary form.cart .variations .nice-select .current {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Important : ta feuille globale met overflow:hidden sur body */
body.single-product {
  overflow: auto !important;
}


/* ------------------------------
   PAGE BOUTIQUE : grille & tri
------------------------------ */

/* Réduit l'espace entre le texte et la liste des produits */
body.post-type-archive-product .woocommerce .woocommerce-result-count,
body.post-type-archive-product .woocommerce .woocommerce-ordering {
  margin-top: 10px !important;
}

body.post-type-archive-product .woocommerce ul.products {
  margin-top: 10px !important; /* réduit l’espace au-dessus de la grille */
}

/* Supprime le menu déroulant de tri WooCommerce */
body.post-type-archive-product .woocommerce-ordering {
  display: none !important;
}


/* ------------------------------
   HOME : texte sous le slider
------------------------------ */

/* Corrige le texte coupé juste sous le slider Revolution */
.hero-desktop {
  padding-top: 40px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Sécurité : empêche le slider de croper le contenu */
.rev_slider_wrapper,
rs-module-wrap {
  overflow: visible !important;
}

/* Évite que le header fixe recouvre le premier texte
   (WPBakery : bloc texte = .wpb_text_column) */
body.home .hero-desktop .wpb_text_column {
  margin-top: 20px !important;
}
