/*
Theme Name: Helectro-enfant
Theme URI: https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624
Template: electro
Author: MadrasThemes
Author URI: https://madrasthemes.com/
Description: Electro is a robust and flexible WordPress theme, designed by Transvelo to help you make the most out of using WooCommerce to power your online store. The design is well suited for Electronics Store, Vendor based marketplaces, affiliate websites. It is built and comes bundled with most of the advanced features available in most popular eCommerce websites like amazon, flipkart, snapdeal, walmart, alibaba, aliexpress, etc.
Tags: black,blue,pink,yellow,dark,light,two-columns,left-sidebar,fixed-layout,responsive-layout,custom-colors,custom-menu,editor-style,featured-images,microformats,post-formats,rtl-language-support,sticky-post,threaded-comments,translation-ready
Version: 2.5.5.1588128154
Updated: 2020-04-29 02:42:34

*/


/* ==========================================================================
   1. Hero de l'accueil — carrousel WPBakery du bloc statique « home-slider »
   [vc_images_carousel img_size="900x350"] impose style="width:900px" (WPBakery
   vc-images-carousel.php getSliderWidth). La colonne fait 373 px sur mobile et
   689 px à 1366 px : le slide est coupé. Le script vc_carousel recalcule la
   largeur des slides sur $element.width() au chargement et au redimensionnement,
   donc une largeur fluide suffit. Backlog #21, S2 (2026-10-27).
   ========================================================================== */
.home-v7-slider .vc_images_carousel[style] {
	width: 100% !important;
	max-width: 900px;
	margin: 0 auto;
}
.home-v7-slider .vc_images_carousel .vc_item img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   2. Rangée du hero (Home v7) : supprimer les espaces vides sous le slider
   - marge WPBakery de 35 px sous le carrousel, dans un conteneur à fond bleu ;
   - .home-v7-slider étiré jusqu'à 342 px (flex-grow) alors que l'image fait
     256 px à 1366 px ;
   - sur ordinateur, la liste de catégories occupe le reste de la colonne pour
     égaler la hauteur du menu et des bannières (512 px) ;
   - filet : une liste vide ne réserve plus ses 170 px.
   Backlog #23, S3 (2026-10-27). Simulation : output/screenshots/blanc_*.
   ========================================================================== */
.home-v7-slider .wpb_images_carousel.wpb_content_element {
	margin-bottom: 0;
}
.vertical-menu-slider-category-with-das-inner > .slider-with-catogory .home-v7-slider {
	flex: 0 0 auto;
	max-height: none;
	background: transparent;
}
@media (min-width: 1200px) {
	.slider-with-catogory .product-categories-list {
		flex: 1 1 auto;
		display: flex;
	}
	.slider-with-catogory .product-categories-list .categories-block {
		flex: 1 1 auto;
		display: flex;
	}
	.vertical-menu-slider-category-with-das-inner .product-categories-list .categories {
		flex: 1 1 auto;
		height: auto;
		min-height: 170px;
	}
}
.vertical-menu-slider-category-with-das-inner .product-categories-list:not(:has(li)) {
	display: none;
}
