/*
Theme Name: Emnouch
Theme URI: https://3alamemnouch.com/
Description: Divi Child Theme
Author: Mohamed Habib Mesbah
Author URI: https://www.linkedin.com/in/mohamed-habib-mesbah/
Template: Divi
Version: Updated for Divi 6
*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 100000;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
} 

.preloader .sprite {
    width: 96px;
    height: 96px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -48px 0 0 -48px;
    background-image : url(../../uploads/2026/03/favicon.png);
	background-size: contain;
	background-position: center;
	animation: flipX 1s infinite ease-in-out;
	transform-origin: bottom center;
}

@keyframes flipX {
  from {
    transform: scaleX(1) scaleY(1);
  }
  49% {transform: scaleX(1) scaleY(.95);}
  50% {transform: scaleX(-1) scaleY(.95);}
  to {
    transform: scaleX(-1) scaleY(.9);
  }
}

@media (max-width: 767px) {
	.et_pb_slide_image {
		display: block !important;
	}
}

.hero .et-pb-controllers {
	bottom: 100px;
}
.et-pb-controllers a {
	transition: all .3s ease-out;
}
.et-pb-controllers a.et-pb-active-control {
	width: 21px;
}

/*** ANIMATION BOXES ***/
.sprite-box {
  width: 380px;
  height: 253px;
	display:block;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 1140px 759px;
	cursor: pointer;
}

#redBox {background-image: url("../../uploads/2026/03/sprite-red.jpg")}
#vertBox {background-image: url("../../uploads/2026/03/sprite-vert.jpg")}
#beigeBox {background-image: url("../../uploads/2026/03/sprite-beige.jpg")}
#marronBox {background-image: url("../../uploads/2026/03/sprite-marron.jpg")}
#bleuBox {background-image: url("../../uploads/2026/03/sprite-bleu.jpg")}

/*** GALLERIE ***/
.gallery .et-pb-controllers {
	display: none;
}
@keyframes zoomify {
  from {
    transform: scale(90%) rotate(-3deg);
  }
  to {
    transform: scale(110%) rotate(3deg);
  }
}

/*** CF7 ***/
::-webkit-input-placeholder { opacity: 1; -webkit-transition: opacity .5s; transition: opacity .5s; }  /* Chrome <=56, Safari < 10 */
:-moz-placeholder { opacity: 1; -moz-transition: opacity .5s; transition: opacity .5s; } /* FF 4-18 */
::-moz-placeholder { opacity: 1; -moz-transition: opacity .5s; transition: opacity .5s; } /* FF 19-51 */
:-ms-input-placeholder { opacity: 1; -ms-transition: opacity .5s; transition: opacity .5s; } /* IE 10+ */
::placeholder { opacity: 1; transition: opacity .5s; } /* Modern Browsers */
    
*:focus::-webkit-input-placeholder { opacity: 0; } /* Chrome <=56, Safari < 10 */
*:focus:-moz-placeholder { opacity: 0; } /* FF 4-18 */
*:focus::-moz-placeholder { opacity: 0; } /* FF 19-50 */
*:focus:-ms-input-placeholder { opacity: 0; } /* IE 10+ */
*:focus::placeholder { opacity: 0; } /* Modern Browsers */

.wpcf7 p {
	margin-bottom: 0;
}

input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"], input[type="url"], select {
	line-height: 48px;
	border: solid 1px #ddd;
	width: 100%;
	padding: 0 1em;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

select {
	height: 50px;
}

textarea {
	line-height: 1.5em;
	border: solid 1px #ddd;
	width: 100%;
	padding: 0 1em;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}


sup {
	color: red;
	font-size: 1em;
  bottom: .33em;
}

small {
	font-size: .8em !important;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ddd;
	margin: 1em 0;
	padding: 0;
}

span.wpcf7-list-item { display: block; }

.wpcf7-submit, .js-toggle-other-products {	
	color: #fff; 
	border: none; 
	font-size: 16px;  
	height: 48px; 
	font-weight: 600; 
	background-color: #007734; 
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;  
	padding-left: 26px; 
	padding-right: 26px;
	cursor: pointer;
	transition: all .4s ease-in-out;
  display: block;
  margin: 0 auto;
}
.wpcf7-submit:hover, .js-toggle-other-products:hover {
	background: #E0312B;
  }

.commande-zone {
	margin-top: 20px;
}

.commande-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.commande-product-info {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

.commande-thumb {
	width: 128px;
	height: 85px;
	object-fit: cover;
	flex-shrink: 0;
	display: block;
	border-radius: 6px;
}

.commande-line label {
	margin: 0;
	line-height: 1.3;
}

.commande-line input[type="number"] {
	width: 60px;
	min-width: 60px;
}

.commande-autres-produits {
	margin: 12px 0 20px;
}

.js-toggle-other-products {
	margin-bottom: 12px;
}

.commande-client-infos {
	margin-top: 24px;
}

.commande-client-infos p,
.commande-client-infos label {
	display: block;
	width: 100%;
	margin-bottom: 14px;
}

.commande-client-infos input[type="text"],
.commande-client-infos input[type="tel"],
.commande-client-infos textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
}

.commande-client-infos textarea {
	min-height: 140px;
}

.js-order-preview {
	margin-top: 20px;
	padding-top: 10px;
}

.wpcf7-turnstile {
	margin: 2em auto;
	width: fit-content;
	display: block;
}