/*
Theme Name:     Divi Enfant
Template:       Divi
Version:        1.0.0
*/

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('fonts/GeneralSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.body {
  background: #F8F7F7;
}

.header_perso {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page_produit_conteneur {
  padding: clamp(100px, 10vw, 150px) clamp(20px, 5vw, 60px);
  font-family: "GeneralSans", sans-serif;
}

.single-product .product_title {
  font-family: "GeneralSans", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.woocommerce-Price-amount {
    font-family: "garamond-premier-pro", serif;
	font-weight: 700;
	font-style: normal;
	color: black;
	font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.woocommerce-product-gallery img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


.et_builder_inner_content.product {
  overflow: visible !important;
  position: static !important;
  z-index: auto !important;
}

header.et-l--header {
  z-index: 10000 !important;
  position: relative !important;
}


/* Largeur complète pour les champs */
.woocommerce-page .woocommerce-billing-fields__field-wrapper .form-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Labels sur une seule ligne */
.woocommerce-page .woocommerce-billing-fields__field-wrapper label {
  white-space: nowrap;
  font-family: "garamond-premier-pro", serif;
  font-weight: bold;
  font-size: 0.95rem;

    display: block !important;
}

/* Inputs plus larges et cohérents */
.woocommerce-page .woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-page .woocommerce-billing-fields__field-wrapper select {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  font-family: "GeneralSans", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  border: 1px solid black;
  border-radius: 0;
  background: none;
  color: black;
}

/* Supprime les effets Divi ou Woo de sur-stylisation */
.select2-container--default .select2-selection--single {
  border: 1px solid black !important;
  border-radius: 0 !important;
  height: auto !important;
  padding: 0.75rem;
  font-size: 1rem;
}

.select2-selection__rendered {
  line-height: normal !important;
  padding: 0 !important;
  font-family: "GeneralSans", sans-serif;
  font-weight: 300;
  color: black;
}
