  /** Custom du thème enfant **/

#header {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}

.logo-container {
  position: relative;
  display: block;
}

.full-logo {
  display: block;
  max-height: 80px; /* ajuste selon ton logo full */
  transition: opacity 0.3s ease;
}

.sticky-logo {
  display: none;
  max-height: 50px; /* taille plus petite pour le header sticky */
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Quand le header devient sticky (au scroll) */
#header.scrolled .full-logo,
.header-sticky.scrolled .full-logo {
  display: none;
}

#header.scrolled .sticky-logo,
.header-sticky.scrolled .sticky-logo {
  display: block;
}

/* Optionnel : réduire le padding du header au scroll */
#header.scrolled {
  padding: 8px 0 !important;
  transition: all 0.3s ease;
}

#footer {
  padding-top: 0px;
}

#wrapper {
  padding: 0px;
}

#wrapper > .container {
  padding: 0px;
}

#wrapper > .container > #content-wrapper {
  padding: 0px;
}

body.page-search>main>#wrapper>.container {
  padding:0px!important;
  width:100%!important;
  max-width:100%!important;
}

.page-content.page-cms {
  padding: 0px;
}

.elementor-field-label[data-magnitude]:after {
  position:absolute;
  right: 0px;
}

img {
  image-rendering: -webkit-optimize-contrast!important;
}

@media (max-width: 1025px) {
  .elementor-field-label[data-magnitude]:after {
    right: 30px;
  }
}

.ce-sort-order select {
  background-color: #2E2F2F!important;
  color: white!important;
  padding: 12px 20px!important;
  border:  1px solid white!important;
  border-radius: 3px;
}

.ce-sort-order div::before {
  content: ''!important;
}

.ce-sort-order select::before {
  content: '<i class="fa fa-sort-amount-desc" aria-hidden="true"></i>';
}

/* Colorations Origine */

#blockcart-modal .product-name {
  font-family: 'Canter';
  font-size: 2em;
  color:#282828;
}

/* exception pour les pages hors CE */
body:not(#category, #index, #cms, #product)>main>#wrapper>.container {
  padding: 40px 20px 40px 20px;
  max-width:1200px;
  margin: 0 auto;
}

 /**
 * Réassurance disclaimer
 */
 
 .reassurance-disclaimer .elementor-testimonial-content {
  margin:0px;
}

.reassurance-disclaimer .elementor-testimonial-meta {
  display:none;
}


 /**
  * DisplayTop menu buttons
 */

 
 .menu-item-custom {
  list-style: none;
}

.menu-item-custom .menu-item-custom-btn {
  font-size: 24px;
  cursor: pointer;
  background-color:transparent;
  border:0px;
  padding: 5px;
  color:#F0F0F0!important;
}

.menu-item-custom .menu-item-custom-btn.giftcard {
  position:relative;
  top:2px;
  padding:15px;
}

.menu-item-custom .menu-item-custom-btn:hover {
  color:#7A7A7A!important;
}

.menu-item-custom .menu-item-custom-btn[data-counter]:before {
  content: attr(data-counter);
  display: block;
  position: absolute;
  min-width: 1.6em;
  height: 1.6em;
  line-height: 1.5em;
  top: -0.35em;
  right: -0.35em;
  border-radius: 100%;
  color: #fff;
  background-color: #2c2c2c;
  text-align: center;
  font-size: 10px;
}

 /** 
 * MegaMenu Custom
 */

 .cbp-hrsub-inner {
  max-width: 1500px;
 }
 
 .cbp-hrmenu .cbp-hrsub-tabs-names li {
  text-align:right;
  text-transform:uppercase;
 }

 .cbp-hrmenu .cbp-hrsub-tabs-names li > a {
  padding: 20px;
  padding-right: 40px;
 }

 .cbp-column-title.cbp-category-title, .cbp-links.cbp-valinks li {
  padding-left: 30px;
  padding-right: 30px;
}

.cbp-links.cbp-valinks li {
  margin-top: 15px;
  margin-bottom: 15px;
  text-transform: uppercase;
 }

 .cbp-links.cbp-valinks li:first-child {
  margin-top: 0px;
 }
 
 .cbp-menu-column::has(.cbp-banner-image) {
  margin:0px;
  padding:0px;
 }

 /** Mobile **/
 .cbp-spmenu-vertical {
  width: 350px;
  padding: 25px;
 }

 .cbp-spmenu-overlay-show #cbp-close-mobile {
  left: 350px;
 }

 .cbp-spmenu-left {
  left: -350px;
 }

 #iqitmegamenu-accordion.cbp-spmenu > li a {
  font-weight:400;
 }

 #iqitmegamenu-accordion.cbp-spmenu li a:hover,  #iqitmegamenu-accordion.cbp-spmenu > li ul  {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
 }

 .cbp-hor-width-0 #iqitmegamenu-horizontal {
  margin: 0px;
  padding: 0px;
 }

/**
*   Moyens de paiement
*/

.kr-embedded {
  padding: 20px;
  border:2px solid #282828;
  border-radius:20px;
}

.kr-focus-input-handler-ghost-wrapper:before {
  content: url(/img/logo-sogecommerce.jpg)!important;
  text-align:center;
  display: block;
  margin-bottom: 15px;
}

/**
*   Preorder Settings
*/

#product-availability:has(> i.product-preorder), #product-availability > i.product-preorder {
  color:#ab8639;
}

.product-line-info.product-stock {
  font-size:0.8em;
}

.product-line-info.product-stock > i {
  font-size:1.4em;
}

.product-line-info.product-stock:has(> i.product-preorder) {
  color:#ab8639;
}

.product-line-info.product-stock:has(> i.product-available) {
  color:rgb(76, 171, 57);
}

.product-line-info .current-price {
  color: black;
  font-weight: 700;
}

/**
* Prestablog
*/

#prestablogfront h1, #prestablogfront h2, #prestablogfront h3, #prestablogfront h4, #prestablogfront h5, #prestablogfront h6, #prestablogauthor h1, #prestablogauthor h2, #prestablogauthor .prestablogtitle {
  border-top: 0px;
  border-bottom: 0px;
  border-left: 0px;
  border-right: 0px;
  margin: 0;
  padding: 0;
}

#prestablogfront h1 {
  font-size: 1.8em;
  font-weight: 600;
  padding: 25px;
}

#content-wrapper:has(> article#prestablogfront) {
  border-right: 1px solid #bfbfbf;  
}

#prestablogfront, .prestablogExtra {
  border: 0;
}

/**
* Fiche produits
*/



/**
 * Best-sellers — suppression fond beige
 */
.cdlm-bs-card {
  background: #ffffff !important;
  border-color: #e8e8e8 !important;
}
.cdlm-bs-card__img {
  background: #ffffff !important;
}
.cdlm-bs-card__body {
  background: #ffffff !important;
}

/**
 * Fix overflow horizontal — mega menu débordement
 * html overflow-x visible laissait passer le mega menu (15 939px de large)
 * causant un écran doublé en inter-page. Corrigé le 2026-05-29.
 */
html {
  overflow-x: hidden;
}

.iqitmegamenu-wrapper {
  overflow-x: hidden;
}
