/*
 * Custom code goes here.
 */

/* hide firstname and lastname alerts in checkout form */
#customer-form input[name="firstname"]+span.form-control-comment, #customer-form input[name="lastname"]+span.form-control-comment {
    display: none;
}
/* fix for Chrome image rendering */
img {
 image-rendering: -webkit-optimize-contrast;
}


/* CLS */
@media (max-width: 1199px) {
  #header .header-nav {border-bottom: 1px solid #e5e5e5;}
}

@media (max-width: 1199px) {
    .header-nav {height: 80px; }
    #_desktop_cart, #_desktop_user_info, .wp-nav {display: none;}
}

#wpimageslider-wrap {
  aspect-ratio: 834 / 420;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

#wpimageslider-wrap .bx-wrapper,
#wpimageslider-wrap .bx-viewport {
  height: 100% !important;
}


.wp-gallery {
  max-height: 129px;
  overflow: hidden;
}

.modal-body .wp-gallery {
  max-height: 170px;
} 

/* CLS end */


.wp-gallery {
  margin-bottom: 2rem;
}


@media (min-width: 1199px) {
    .container {
        max-width: 1600px;        
    }
}








#header .header-nav { position: relative; }
#header .header-nav::after {
  content: "";
  position: absolute;
  top: 0;
  right: 15px;
  width: 40px;
  height: 100px;
  background: url("/boutique/img/Fannion-marque-Bretagne.png") no-repeat 0 0;
  background-size: 40px 100px;
  pointer-events: none;
  z-index: 5;
}
@media (max-width: 991px) { #header .header-nav::after { display: none; } }






@media (min-width: 1200px) {
  /* niveau 1 — colonnes du footer */
  #footer .footer-container > .container > .row > .block-contact        { width: 50%; }
  #footer .footer-container > .container > .row > #block_myaccount_infos { width: 25%; }
  #footer .footer-container > .container > .row > .col-xl-6              { width: 25%; }

  /* niveau 2 — listes de liens à l'intérieur */
  #footer .footer-container > .container > .row > .col-xl-6 > .row > .col-xl-6 { width: 100%; }
}


/* Bandeau sitewide : pleine largeur, aplati */
.itohanotice--banner {
  margin: 0;
  border-width: 0 0 2px 0;
  justify-content: center;
  text-align: center;
  background: var(--itohanotice-color);
  color: #FFFFFF;
}

.itohanotice--banner,
.itohanotice--banner .itohanotice__icon,
.itohanotice--banner .itohanotice__body,
.itohanotice--banner .itohanotice__body p,
.itohanotice--banner .itohanotice__body span,
.itohanotice--banner .itohanotice__body strong,
.itohanotice--banner .itohanotice__body em,
.itohanotice--banner .itohanotice__body li {
  color: #FFFFFF;
}

.itohanotice--banner .itohanotice__body a {
  color: #FFFFFF;
  text-decoration: underline;
}

.itohanotice--banner .itohanotice__body {
  flex: 0 1 auto;
}




#header .logo {
    max-width: 70%;
}

@media (max-width: 575px) {
    #header .header-nav .top-logo a img {
        max-height: 60px;
        margin-top: 10px;
    }
}