/*
	Theme Name: Divi-child
	Description: Divi Enfant, theme enfant de Divi
	Author: A New Story
	Author URI: https://anewstory.fr
	Template: Divi
	Version: 1.0.0
	*/


/*-----CAROUSEL-----*/

#slider_prod img {
	min-height: 340px;
	max-height: 340px;
	width: auto;
}

#slider_prod .dica_divi_carouselitem {
	width: auto !important;
}

/*-----fin CAROUSEL-----*/

/*---FORMULAIRE DE CONTACT---*/
.nf-form-fields-required,
.nf-error-required-error {
	display: none;
}

#nf-field-1,
#nf-field-2,
#nf-field-3,
#nf-field-5,
#nf-field-6 {
	padding: 18px !important;
	background-color: #1B2740 !important;
	border-color: #ffffff;
	font-size: 16px;
	color: #ffffff;
}

#nf-field-1::placeholder,
#nf-field-2::placeholder,
#nf-field-3::placeholder,
#nf-field-5::placeholder,
#nf-field-6::placeholder {
	color: #ffffff;
}

#nf-field-4 {
	background-color: #CAD8EF !important;
	cursor: pointer;
	padding: 20px 25px;
	border: none;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	color: #1B2740 !important;
	transition: background-color 0.3s;
}

#nf-field-4:hover {
	background-color: #ffffff !important;
}

#nf-field-1-container,
#nf-field-2-container,
#nf-field-3-container,
#nf-field-5-container,
#nf-field-6-container {
	margin-bottom: 15px !important;
}

#nf-description-7 {
	font-size: 12px;
	color: white;
	line-height: 1.2em;
}

/*---IMG PRODUITS---*/

.woocommerce ul.products li.product a img {
	height: 250px !important;
	width: auto !important;
	margin: auto !important;
}

.woocommerce-product-gallery__wrapper a img {
	width: auto !important;
	height: 500px !important;
	margin: auto !important;
}

/*---CATEGORIES PRODUIT---*/

.et_pb_widget_area {
	padding-right: 0 !important;
	border-right: none !important;
}

.et_pb_widget_area .widgettitle {
	font-size: 20px !important;
	color: #1B2740 !important;
}

.et_pb_widget_area .widget_product_categories>ul>li>a {
	font-family: 'Eczar', Georgia, "Times New Roman", serif;
	font-size: 18px;
	color: #1B2740 !important;
	padding-bottom: 10px;
	display: block;
}

.et_pb_widget_area .widget_product_categories>ul>li>ul>li>a {
	font-size: 16px;
	display: block;
	color: #1B2740 !important;
	font-weight: 600;
	padding-bottom: 5px;
}

.et_pb_widget_area .widget_product_categories>ul>li>ul>li>ul li a {
	font-weight: 400;
	display: block;
}

.et_pb_widget_area .widget_product_categories>ul>li>ul>li>ul li a::before {
	content: "- ";
	margin-right: 5px;
}

.et_pb_widget_area .widget_product_categories li a:hover {
	color: #E84E0F !important;
}

.et_pb_widget_area .widget_product_categories li.current-cat>a {
	color: #E84E0F !important;
	cursor: default;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
	color: #E84E0F !important;
}

/*--- PANIER---*/
.mini-cart-shortcode-wrap {
	padding: 0;
}

.mini-cart-shortcode-wrap .mini-cart-info .original-cart {
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	display: inline-block !important;
	width: 26px !important;
	height: 26px !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%231b2740' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/></svg>") !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	vertical-align: middle !important;
	margin-right: 5px;
}

.divi_mini_cart_count span {
	background-color: #E84E0F;
}

.dmc-btn {
	background-color: #E84E0F;
	border-radius: 3px;
}

.woocommerce-message a.button.wc-forward,
.woocommerce-page a.button.alt:hover,
.woocommerce a.button.alt,
.woocommerce-page a.button.alt,
.single_add_to_cart_button,
.place-order button {
	background-color: #E84E0F !important;
	color: #ffffff !important;
	border: none !important;
}

.shop_table .actions button:hover {
	border-color: #1B2740 !important;
	color: #1B2740 !important;
}

.shop_table .actions>button:after {
	display: none;
}

.shop_table .actions>button:hover {
	padding: 0.3em 1em !important;
}

/*---RESPONSIVE---*/
@media only screen and (max-width:1340px) {
	.woocommerce ul.products li.product a img {
		height: 200px !important
	}
}

@media only screen and (max-width:1090px) {
	.woocommerce ul.products li.product a img {
		height: 150px !important
	}
}

@media screen and (max-width:980px) {
	.reverse {
		display: flex;
		flex-direction: column-reverse;
	}

	.woocommerce ul.products li.product a img {
		height: 200px !important
	}

	#col_cat ul.products {
		display: flex;
		justify-content: space-between;
		overflow: scroll;
		gap: 1em;
		flex-wrap: nowrap;
		width: 100%;
	}

	#col_cat ul li {
		margin: 0 0 1em 0 !important;
		word-wrap: unset;
		width: 100% !important;
		min-width: fit-content;
	}

	.et_mobile_menu {
		left: auto !important;
		right: 0;
		width: 94vw !important;
	}

	#slider_prod img {
		min-height: 240px;
		max-height: 240px;
	}
}

@media only screen and (max-width:650px) {
	.woocommerce ul.products li.product a img {
		height: 150px !important
	}
}

@media only screen and (max-width:480px) {

	.et_pb_shop ul.products.columns-1 li.product,
	.et_pb_shop ul.products.columns-2 li.product,
	.et_pb_shop ul.products.columns-3 li.product,
	.et_pb_shop ul.products.columns-4 li.product,
	.et_pb_shop ul.products.columns-5 li.product,
	.et_pb_shop ul.products.columns-6 li.product {
		width: 100% !important;
		margin-right: 0 !important;
		text-align: center;
	}

	.woocommerce ul.products li.product a img {
		height: 200px !important
	}

	#slider_prod img {
		min-height: 180px;
		max-height: 180px;
	}
}

@media only screen and (max-width:438px) {
	.et-db #et-boc .et-l .et_pb_column_0_tb_header {
		column-gap: 8px !important;
	}

	.et-db #et-boc .et-l .et_pb_column_0_tb_header .et_pb_module .et_pb_text_inner p {
		font-size: 12px;
	}

	.et-db #et-boc .et-l .et_pb_text_0_tb_header {
		padding-top: 5px !important;
		padding-right: 10px !important;
		padding-bottom: 5px !important;
		padding-left: 10px !important;
	}
}