/*
Theme Name: Divi Community Child Theme 02
Description: Theme enfant de Divi 5 par Webgraphicdesign
Author: Julien - Webgraphicdesign
Template: Divi
Version: 1.1.1773854865
Updated: 2026-03-18 17:27:45
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}

/* Masquer le texte "undefined" de Swatchly sous les produits */
.swatchly_pl.swatchly_out_of_stock {
    display: none !important;
}

/* Masquer le bloc tableau de bord page mon compte*/
nav.woocommerce-MyAccount-navigation
{
    display: none;
}

/* ============================================================
   CARDS PRODUITS — Section "Nos modèles les plus populaires"
   ============================================================ */

/* Zone image fond bleu très clair */
.et_pb_shop_0 .woocommerce ul.products li.product .et_shop_image,
.et_pb_shop_0 .woocommerce ul.products li.product .pbfw_square_data_main {
  background-color: #f0f6f8 !important;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Card — bordure légère + hover */
.et_pb_shop_0 .woocommerce ul.products li.product {
  border: 1px solid #d8edf2 !important;
  background-color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.et_pb_shop_0 .woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(43, 188, 212, 0.22) 0px 10px 24px 0px !important;
}

/* Prix — "à partir de" en petit gris au-dessus */
.et_pb_shop_0 .woocommerce ul.products li.product .price {
  display: block !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #00663b !important;
  margin-top: 2px !important;
}
.et_pb_shop_0 .woocommerce ul.products li.product .price::before {
  content: "à partir de";
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-bottom: 1px;
  letter-spacing: 0.02em;
}

/* Bouton "Personnaliser →" */
.et_pb_shop_0 .btn-devis-card {
  display: block !important;
  background-color: #2bbcd4 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 12px 0 0 !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}
.et_pb_shop_0 .btn-devis-card:hover {
  background-color: #1e9ab0 !important;
  color: #ffffff !important;
}

/* Badge BEST-SELLER */
.et_pb_shop_0 .custom-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 10;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.et_pb_shop_0 .badge-bestseller {
  background-color: #2bbcd4;
  color: #ffffff;
}