/*
Theme Name: Hello Elementor Child
Theme URI: https://studionumerik.fr/
Description: Hello Elementor Child Theme
Author: Studio Numerik
Author URL: https://studionumerik.fr/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementorchild
*/
/* Placer votre CSS ci-dessous */

/* CSS : V */
header{
  border-bottom: 1px solid rgba(255, 255, 255, 0.277);
  border-top: 1px solid #EDAD57;
  display: block;
}
.main-menu{
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.277);
  border-right: 1px solid rgba(255, 255, 255, 0.277);
}
h4{
color: rgba(255, 255, 255, 0.671);
font-size: 12px;
width: 100px;
font-weight: 300;
}
h4 span{
color: white;
}
.note{
  display: flex;
}
.note p{
  color: white;
  font-size: 12px;
}
.main-navigation{
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns : 20% 60% 20%;
  background: #262626;
  margin: 0;
  padding: 0;
  height: 100px;
}
.main-navigation::after{
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  left: 20px;
  color: white;
}
.main-menu > li {
  margin: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
}
.main-menu > li:first-child{
	margin : 0 0 0 10px;
}
.main-menu > li:last-child{
	margin : 0 10px 0 0;
}
.main-menu > li > a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s;
}
.main-header-logo{
  width: 190px;
  height: 50px;
  top: 18px;
  left: 0;
}
.main-header-logo img{
  width: 190px;
  height: 50px;
  object-fit: contain;
}
.sub-menu {
  left: 0;
margin-left: 50%;
 top:101px;
  transform: translateX(-50%);
  padding: 20px;
  min-width: 900px;
  border-radius: 5px;
  z-index: 205;
  gap: 20px;
  position: absolute;
  border-radius: 25px;
  background-color: #262626;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: none;
}
@media(min-width:850px){
  .sub-menu:hover{
    display: block;
  }
}

.sub-menu li {
  position: relative;
  display: flex; 
  align-items: flex-start;
  justify-content: space-between; 
  width: 100%;
  min-width: 1000px;
  height: 100%;
}
.sub-menu li::after{
  content:url("/wp-content/themes/hello-elementor-child/assets/images/fleur.png");
  position: absolute;
  bottom: -30px;
}

.menu-reassurance {
  flex: 1; 
  margin-right: 20px; 
  position: relative;
}
.sub-menu .gallery-container-img a{
  display: flex;                
  flex-direction: row;
  justify-content: center;        
  align-items: center;           
  text-align: center;            
  width: 100%;     
  height : 100%;
  margin: 0 auto;   
  padding-bottom: 20px;   
    
}
.gallery-image {
  width: 100%;                   
  max-width: 45%;                
  object-fit: contain;                           
}
.sub-menu .item-title {
  position: absolute;
  text-align: center;
  padding: 10px;
  padding-left: 40px;
  padding-right: 40px;
  bottom: -15px;
  background-color:#EDAD57;
  border: 1px solid white;
  color: black;
  font-weight: 400;
  border-radius: 3px;
}

.menu-content, .reinsurance-item {
  margin-bottom: 10px;
}
.sub-menu .gallery-container-img{
  border: 1px solid #EDAD57;
  padding-top: 20px;
  width: 100%;
  min-width: 500px;
  height : 280px;
  
}
.gallery-container-img img {
  object-fit: contain;
  width: 100%;
  border-radius: 20px;
  max-height: 100%;
}
.item-title{
  color: #EDAD57;
  display: flex;
  font-family: Roboto,sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0.6px;
  text-transform: capitalize;
}
.item-title:hover{
color: white;
}
.menu-mega_menu-container{
  height: 100%;
}

.menu-mega_menu-container ul{
    color:white;
    display: flex;
    font-family: Roboto,sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0.6px;
  }  
.menu-content{
  width: 500px;
}
.menu-content p{
  color: rgba(255, 255, 255, 0.80);
  font-family: Roboto,sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; 
  padding-right: 62px;
  padding-bottom: 10px;
  font-style: normal;
  height: 125px;
  display: -webkit-box;
  max-height: 125px;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.reinsurance-item{
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}
.reinsurance-text{
  font-size: 14px;
}
.reinsurance-item:nth-child(odd) .end {
  color: #EDAD57;
}
.reinsurance-item:nth-child(even) .first {
  color: #EDAD57;
}
.reinsurance-icon{
  width: 26.955px;
  height: 32.406px;
}
@media (max-width: 1023px) {

  .sub-menu li {
   display: block;
   min-width: 100%;
  }
  .menu-content{
    text-align: center;
    padding-right: 0;
    width: 100%;
  }
  .menu-content p{
    padding-right: 0;
  }
  .reinsurance-item{
    justify-content: center;
    padding-bottom: 10px;
  }
}
@media (max-width: 914px){
  .sub-menu{
    min-width: 100%;
  }
  
}
@media (max-width: 850px){
  .burger a {
    display: block;
    width: auto;
    height: auto;
    cursor: pointer;
  }
  
  .burger a span {
    z-index: 1000;
    display: block;
    width: 20px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #EDAD57;
    border-radius: 2px;
    transition: opacity 0.2s linear, transform 0.2s linear;
  }
  .burger a.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
    color: white;
  }
  
  .burger a.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger a.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
    color: white;
  }
  .burger.active {
    left: 200px;
  }
  .main-header-logo{
    display: none;
  }
  .main-menu{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
  }
	.main-navigation {
			z-index: 9999;
			transition: display 0.2s ease-in-out;
			height: 100vh;
			width: 100%;
			margin: 0;
			top: 71px;
			position: absolute;
			text-align: center;
	}
  .menu-mega_menu{
    display: flex;
  }
.menu-mega_menu-container{
width: 100%;
}
.sub-menu{
  position: relative;
  box-shadow: none;
  display: contents;
}

.sub-menu li::after {
  display: none;
}
.menu-reassurance{
  display: none;

}
.main-menu > li{
display: block;
  
}
.advice-section{
  display: none;
}
.sub-menu .gallery-container-img{
  min-width: 100%;
}
.sub-menu .item-title {
  bottom: -15px;
}
.gallery-container-img img{
  display: flex;
 max-width: 100px;
}
.gallery-container-img span:first-child{
  padding-bottom: 20px;
    }
}
@media(max-width:450px ){
  .sub-menu{
    min-width: 385px;
  }
  .gallery-container-img img{
    display: flex;
    max-width: 80px;
  }

}


/* header : nav */
#menu-mega_menu{
	width: 100%;
	padding : 0;
	justify-content: space-around;
}
.main-header-logo,
.advice-section,
.menu-mega_menu-container{
	display: flex;
    align-items: center;
	justify-content: center;
    height: 100%;
    width: 100%;
}
.main-header-logo img{
	min-width : 130px;
}
.menu-img{
  display: flex;
  align-items: center;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  padding :10px;
}

@media screen and (max-width : 850px){
	#menu-mega_menu{
		border-top : 1px solid #EDAD57;
		border-bottom : 1px solid #EDAD57;
	}
	#nav{
		display : none;
	}
	.main-header-logo.mobile{
		display : block;
	}
	#custom-header .elementor-shortcode{
		display : flex;
		justify-content : space-around;
		align-items : center;
		padding: 10px;
	}
	#custom-header #menu-mega_menu > li{
		padding : 40px 0;
	}	
	#custom-header #menu-mega_menu > li:first-child,
	#custom-header #menu-mega_menu > li:last-child
	{
		padding : 0;
	}
	#custom-header #menu-mega_menu > li:first-child > .gallery-container-img,
	#custom-header #menu-mega_menu > li:last-child > .gallery-container-img
	{
		display : none;
	}
	#custom-header #menu-mega_menu > li{
		position: relative;
	}
	#custom-header #menu-mega_menu > li > .gallery-container-img{
		position: absolute;
		padding: 10px;
		margin-left: 50%;
        transform: translateX(-50%);
		top: 15px;
		display : flex;
		align-items : center;
		z-index : 206;
		background: #262626;
		border : 1px solid #EDAD57;
		border-radius: 5px;
	}
	#custom-header #menu-mega_menu > li > .gallery-container-img > a > span{
		padding : 10px 0;
		font-size: 1.2rem;
	}
	.main-navigation{
		grid-template-columns: 1fr;
        height: 100dvh;
        overflow-y: scroll;
        padding-bottom: 130px;

	}
	.main-navigation .main-header-logo,
	.main-navigation .advice-section{
		display : none;
	}

	.nav-open{
		overflow-y: hidden;
	}
	
}

@media screen and (min-width : 850px){
	.main-header-logo.mobile{
		display : none;
	}
	#nav{
		display : grid !important;
	}
}

/* General */
@media screen and (max-width : 1024px){
	.flower-decoration{
		display : none;
	}
}

/* Header : megamenu display */
#menu-mega_menu li .sub-menu{
	display: none;
}
#menu-mega_menu li:hover > .sub-menu{
	display : block !important;
}
@media screen and (max-width : 850px){
	#menu-mega_menu li .sub-menu{
		display: block;
		top: unset;
	}
}

/* Homepage : slider */
@media (min-width: 1024px) {
    .swiper-slide-contents {
        background-color: transparent !important;
    }
}

/* Woocommerce : products list */
li.product{
	display: flex;
    flex-direction: column;
    align-items: center;
}
.woocommerce ul.products li.product .price{
	text-align: center;
}


/* Advice widget for mobile */
.advice-section.mobile{
  display: none;
}

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

  .elementor-shortcode{
    display: grid;
    grid-template-columns: 40% 10% 40%;
    align-items: center;
    gap: 5px;
    justify-content: center;
    
  }

	.advice-section.mobile{
    display: block;
  }

  .animStarsCustom{
    margin-top: 10px;
  }

  .sagImageCustom{
    display: none;
  }

  .jsWidgetNoteCustom{
    display: flex;
    flex-direction: column;
    width: auto;
  }
  .rate{
    display: flex;
  }

  .main-header-logo, 
  .mobile{
    width: auto;
  }

  .agJsWidgetCustom{
    margin: auto;
  }

  .button-group-left{
    display: none;
  }

  .shopengine-cart-table .shopengine-footer-button.clear-btn {
    display: none !important;
}

}

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


}

.rate{
  display: flex;
  white-space: nowrap;
}


#shipping_method li:nth-child(2){
  display: flex;
  flex-wrap: wrap;

}
#shipping_method li:nth-child(2) > label{
  width: calc(100% - 18px);
}
#shipping_method li:nth-child(2) > div{
  min-width: 100%;
}
