/* 
 Theme Name:   Ardèche Nougat
 Theme URI:    
 Description:  Adapté pour la boutique Le petit Ardéchois
 Author:       Seonova
 Author URI:   https://www.seonova.fr
 Template:     hello-elementor
 Version:      2.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/



.elementor-5950 .elementor-element.elementor-element-732fa5e {
  --display: grid;
  display: grid !important;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  align-items: center !important;
  justify-content: normal !important;
  gap: clamp(16px, 2vw, 30px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 94px;
  height: auto;
  margin-inline: auto !important;
  padding-block: 10px !important;
  padding-inline: max(24px, calc((100% - 1180px) / 2)) !important;
  overflow: visible;
}

.elementor-5950 .elementor-element.elementor-element-061cb92 {
  width: 140px !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: start;
  align-self: center;
}
.elementor-5950 .elementor-element-061cb92 .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}
.elementor-5950 .elementor-element-061cb92 a {
  display: block;
  width: 100%;
  line-height: 0;
}
.elementor-5950 .elementor-element-061cb92 img {
  display: block;
  width: 140px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-5950 .elementor-element.elementor-element-0e18702 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center;
}
.elementor-5950 .elementor-element-0e18702 > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-5950 .elementor-element.elementor-element-7a6c57c {
  width: auto !important;
  max-width: 140px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end;
  align-self: center;
}
.elementor-5950 .elementor-element-7a6c57c .xoo-wsc-sc-cont {
  margin: 0;
  white-space: nowrap;
}
.elementor-5950 .elementor-element-7a6c57c .xoo-wsc-cart-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ce conteneur n'est masqué que si son contenu est vide. */
.elementor-5950 .elementor-element-18e6e39:has(> .e-con-inner:empty) {
  display: none !important;
}

/* Le seuil 768 px reprend celui du JetMenu dans le source fourni. */
@media (min-width: 769px) {
  .elementor-5950 .elementor-element-0e18702 .jet-mega-menu-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .elementor-5950 .elementor-element-0e18702 .jet-mega-menu-list {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center;
    column-gap: clamp(8px, 1.2vw, 18px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .elementor-5950 .jet-mega-menu-list > .jet-mega-menu-item {
    flex: 0 0 auto;
    margin: 0 !important;
  }
  .elementor-5950 .jet-mega-menu-list > .jet-mega-menu-item > .jet-mega-menu-item__inner {
    padding: 12px 4px !important;
  }
  .elementor-5950 .jet-mega-menu-item__link--top-level {
    padding: 0 !important;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .elementor-5950 .elementor-element.elementor-element-732fa5e {
    grid-template-columns: 110px minmax(0, 1fr) 110px;
    gap: 14px !important;
    padding-inline: 18px !important;
  }
  .elementor-5950 .elementor-element.elementor-element-061cb92,
  .elementor-5950 .elementor-element-061cb92 img { width: 110px !important; }
  .elementor-5950 .elementor-element-0e18702 .jet-mega-menu-list { column-gap: 8px !important; }
  .elementor-5950 .jet-mega-menu-item__link--top-level { font-size: 13px; }
}

@media (max-width: 768px) {
  .elementor-5950 .elementor-element.elementor-element-732fa5e {
    grid-template-columns: 108px minmax(0, 1fr) auto;
    gap: 14px !important;
    min-height: 78px;
    padding: 8px 18px !important;
  }
  .elementor-5950 .elementor-element.elementor-element-061cb92,
  .elementor-5950 .elementor-element-061cb92 img { width: 108px !important; }
  .elementor-5950 .elementor-element-0e18702 .jet-mega-menu-toggle { margin-left: auto; margin-right: 0; }
  .elementor-5950 .elementor-element.elementor-element-7a6c57c { max-width: 110px !important; }
}
