/*
 * ZeGreen — Custom CSS minimal
 * (Le design est géré dans Creative Elements directement)
 */

/* =============================================
   CHECKOUT — payment options
   ============================================= */
#checkout-payment-step .payment-option {
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 0;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#checkout-payment-step .payment-option:hover {
  border-color: #b9c2cc;
}
#checkout-payment-step .payment-option .custom-radio {
  margin-right: 14px;
  margin-top: 4px;
}
#checkout-payment-step .payment-option .payment-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  width: calc(100% - 36px);
  font-weight: 600;
  color: #2f2f2f;
}
#checkout-payment-step .payment-option .payment-option-label img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  margin-left: auto;
}
#checkout-payment-step .payment-option:has(input[name="payment-option"]:checked),
#checkout-payment-step .payment-option.selected {
  border-color: #18A957;
  background: #e8f7ef;
  box-shadow: 0 0 0 3px rgba(24,169,87,0.15);
}
#checkout-payment-step .payment-option input[name="payment-option"]:checked ~ .payment-option-label,
#checkout-payment-step .payment-option.selected .payment-option-label {
  color: #128540;
}
#checkout-payment-step .payment-options > div + div { margin-top: 14px; }
#checkout-payment-step .js-payment-option-form,
#checkout-payment-step .js-additional-information {
  margin: 10px 0 18px 42px;
}

/* =============================================
   HEADER LOGO — responsive (fix Safari / mobile)
   Le <img> a width="500" height="200" en dur ;
   Safari respecte l'attribut et déborde sur petit
   écran. On force un rendu fluide sur tous les écrans.
   ============================================= */
#header .elementor-element-5836ee46 .elementor-image img,
#header .elementor-widget-image .elementor-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

/* Centrage vertical du logo dans la barre d'en-tête
   (sinon il reste collé en haut, pas aligné au menu). */
#header .elementor-element-5836ee46 .elementor-widget-container,
#header .elementor-element-5836ee46 .elementor-image,
#header .elementor-element-5836ee46 .elementor-image a {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Tablette */
@media (max-width: 1024px) {
  #header .elementor-element-5836ee46 .elementor-image img,
  #header .elementor-widget-image .elementor-image img {
    max-height: 80px;
  }
}

/* Téléphone — logo agrandi + centré verticalement */
@media (max-width: 767px) {
  #header .elementor-element-5836ee46 .elementor-image img,
  #header .elementor-widget-image .elementor-image img {
    max-height: 74px;
  }
}

/* Le widget logo est en width:auto : sans contrainte il
   prend la largeur native (500px) et fait déborder toute
   la page horizontalement sur mobile (sections centrées
   décalées / coupées). On borne aussi le conteneur. */
#header .elementor-element-5836ee46,
#header .elementor-element-5836ee46 .elementor-widget-container,
#header .elementor-element-5836ee46 .elementor-image,
#header .elementor-element-5836ee46 .elementor-image a {
  max-width: 100%;
}

/* =============================================
   GARDE-FOU RESPONSIVE — pas de scroll horizontal
   Aucun élément du design n'est censé dépasser la
   largeur de l'écran : on neutralise tout débordement
   horizontal résiduel sur mobile/tablette (logo,
   images, sections Creative Elements pleine largeur).
   ============================================= */
@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
  #header img,
  #wrapper img,
  #content img,
  .elementor img {
    max-width: 100%;
    height: auto;
  }
}
