/*
 * Custom code goes here.
 * Nettoyé + sécurisé QUICKVIEW
 */


/* =========================================================
   HEADER / PANIER
========================================================= */

#header .blockcart.cart-preview .dropdown .dropdown-menu {
  padding: 10px 15px;
  top: 30px !important;
  width: 260px !important;
  min-width: 260px !important;
  right: -0.85rem;
  left: inherit !important;
  box-shadow: 0 7px 22px -5px rgba(47,56,68,0.2);
}

#header .blockcart.cart-preview .dropdown-toggle {
  background: none;
  border: none;
}

#header .blockcart.cart-preview .dropdown-product-item {
  display: table;
  position: relative;
  width: 100%;
  padding: 9px 0;
  border-top: 1px dashed #d8e0e6;
}

#header .blockcart.cart-preview .dropdown-product-item:first-child {
  border-top: 0;
}

#header .blockcart.cart-preview .dropdown-product-thumb,
#header .blockcart.cart-preview .dropdown-product-info {
  display: table-cell;
  vertical-align: top;
}

#header .blockcart.cart-preview .dropdown-product-thumb {
  width: 55px;
  overflow: hidden;
}

#header .blockcart.cart-preview .dropdown-product-thumb img {
  display: block;
  width: 100%;
}

#header .blockcart.cart-preview .dropdown-product-remove {
  position: absolute;
  top: 9px;
  right: -10px;
  font-size: 13px;
  cursor: pointer;
}

#header .blockcart.cart-preview .dropdown-product-remove i {
  color: #ff5252 !important;
}

#header .blockcart.cart-preview .dropdown-product-info {
  padding: 0 15px 0 12px;
}

#header .blockcart.cart-preview .dropdown-product-title {
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

#header .blockcart.cart-preview .dropdown-product-details {
  color: #9da9b9;
  font-size: 14px;
}

#header .blockcart.cart-preview .blockcart {
  background: #f1f1f1;
  height: 3rem;
  padding: .75rem;
  margin-left: .9375rem;
  text-align: center;
  white-space: nowrap;
}

#header .blockcart.cart-preview .btn-checkout,
#header .blockcart.cart-preview .btn-view {
  display: block;
  width: 100%;
  margin: 12px 0;
  height: 36px;
  font-size: 17px;
  line-height: 34px;
  transition: all .4s;
}

#header .blockcart.cart-preview .btn-view {
  background-color: #f5f5f5;
  border-color: #e1e7ec;
  color: #606975 !important;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width:768px) {
  #header .header-nav { border: 0; }
  #header .header-top { padding: 0; }
  #header .top-logo img { max-width: 200px; }
}


/* =========================================================
   FILTRES / FORMULAIRES
========================================================= */

#group_1 { width: 100% !important; }

#group_1 input[type="radio"] + label {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border: 1px solid #000;
  transition: all 0.15s ease-in-out;
}

#group_1 input[type="radio"]:checked + label {
  background-color: #dc3545;
  border-color: #dc3545;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn-bord { border: 1px solid #000; color: #000; }
.btn-bord:hover { background: #000; color: #fff; }

.btn-noir { background: #000 !important; color:#fff; width:100%; }
.btn-noir:hover { background:#fff !important; color:#000; }

.btn-gris { background:#666 !important; color:#fff; }

.btn-primary {
  background-color:#1e7abb;
  color:#fff;
  display: block;
  margin: auto;
}

.btn-primary:hover {
  background:#000;
}


/* =========================================================
   LISTE PRODUITS
========================================================= */

#products .thumbnail-container { height: 422px; }

#products .product-price-and-shipping {
  margin-bottom: 5px !important;
}

#js-product-list .products .product {
  flex: 0 0 32%;
  background-color: #fff;
}


/* =========================================================
   FICHE PRODUIT
========================================================= */

#product h1 { margin-bottom: 2rem; }

.blanc { background-color: #fff; padding: 2rem; }

.product-price { color:#1e7abb; }

.product-availability-date { color: crimson; }

/* =========================================================
   ⚠️ RÈGLE DANGEREUSE QUICKVIEW — DÉSACTIVÉE
========================================================= */

/*
.product-images > li.thumb-container {
  display: inline;
}
*/


/* =========================================================
   ✅ FIX QUICKVIEW STABLE
========================================================= */


body#product #product-modal .product-images > li.thumb-container {
  display: block !important;
}

#product-modal .modal-content .modal-body {
  margin-left: 0 !important;
  flex-direction: row !important;
}

#product-modal .modal-content .modal-body .product-images img {
  width: auto !important;
  max-width: 100% !important;
 width: 100%;
}

#product-modal .modal-content .modal-body .mask {
  max-height: none !important;
}

#product-modal .js-qv-product-images {
  display: none !important;
}

/* ==========================================================
✅ QUICKVIEW : AFFICHER UNIQUEMENT L’IMAGE À LA UNE
========================================================== */

/* On masque TOUTES les miniatures */
#product-modal .product-images,
#product-modal .js-qv-product-images,
#product-modal .thumb-container,
#product-modal .mask,
#product-modal .arrows {
  display: none !important;
}

/* On force l’image principale à s’afficher proprement */
#product-modal .product-cover {
  width: 100% !important;
}

body#product .arrow-down #lightSlider {
  width: 100% !important;
}

body#product .arrow-down #lightSlider li:nth-child(n+2) {
  display: none;
}

body#product .arrow-down #lightSlider img {
  width: 100% !important;
}

#product-modal .product-cover img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* On annule TOUS les décalages hérités de la fiche produit */
#product-modal .modal-content .modal-body {
  margin-left: 0 !important;
  flex-direction: row !important;
}


/* =========================================================
   DIVERS
========================================================= */

.product-cover .layer {
  display:flex;
  align-items:center;
  justify-content:center;
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.7);
  opacity:0;
}

.product-cover .layer .zoom-in {
  font-size: 6.25rem;
  color: #7a7a7a;
}

.mm_menus_li > a { text-transform: inherit; }

.mm_menu_content_title { padding: 20px 15px; }

.red { background:red; }
.red a { color:#fff !important; }


/* Cache les champs quantité UNIQUEMENT dans la liste produits */
#js-product-list input[type="number"],
#products input[type="number"],
.product-accessories input[type="number"],
.product-miniature input[type="number"] {
  display: none !important;
}


/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 
#header .blockcart.cart-preview .dropdown .dropdown-menu {
	padding: 10px 15px;
	top: 30px !important;
	width: 260px !important;
	min-width: 260px !important;
	right: -0.85rem;
	left: inherit !important;
	box-shadow: 0 7px 22px -5px rgba(47,56,68,0.2);
}
#header .blockcart.cart-preview .dropdown-toggle {
	background: none;
	border: none;
}
#header .blockcart.cart-preview .dropdown-product-item {
	display: table;
	position: relative;
	width: 100%;
	padding: 9px 0;
	border-top: 1px dashed #d8e0e6
}
#header .blockcart.cart-preview .dropdown-product-item:first-child {
	border-top: 0
}
#header .blockcart.cart-preview .dropdown-product-item>.dropdown-product-thumb, .dropdown-product-item>.dropdown-product-info {
	display: table-cell;
	vertical-align: top
}
#header .blockcart.cart-preview .dropdown-product-item>.dropdown-product-thumb {
	width: 55px;
	overflow: hidden
}
#header .blockcart.cart-preview .dropdown-product-item>.dropdown-product-thumb>img {
	display: block;
	width: 100%
}
#header .blockcart.cart-preview .dropdown-product-item > .dropdown-product-remove {
	display: block;
	position: absolute;
	top: 9px;
	right: -10px;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
}
#header .blockcart.cart-preview .dropdown-product-item > .dropdown-product-remove i {
	color: #ff5252 !important;
}
#header .blockcart.cart-preview .dropdown-product-item>.dropdown-product-info {
	padding-right: 15px;
	padding-left: 12px
}
#header .blockcart.cart-preview .dropdown-product-item .dropdown-product-title {
	display: block;
	padding-top: 2px;
	transition: color .3s;
	color: #FFF !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none
}

#header .blockcart.cart-preview .dropdown-product-item .dropdown-product-details {
	color: #9da9b9;
	font-size: 14px
}
#header .blockcart.cart-preview .blockcart {
	background: #f1f1f1;
	height: 3rem;
 padding: .75rem;
 margin-left: .9375rem;
	text-align: center;
	white-space: nowrap;
}
#header .blockcart.cart-preview .toolbar-dropdown-group {
	display: table;
	width: 100%;
	padding: 9px 0;
	border-top: 1px solid #e1e7ec;
	border-bottom: 1px solid #e1e7ec;
	font-size: 14px;
}
#header .blockcart.cart-preview .toolbar-dropdown-group div {
	padding-bottom: 2px
}
#header .blockcart.cart-preview .text-right {
	text-align: right;
}
#header .blockcart.cart-preview .btn-checkout, #header .blockcart.cart-preview .btn-view {
	display: block;
	width: 100%;
	margin-top: 12px;
	margin-bottom: 12px;
	height: 36px;
	padding: 0 18px;
	padding-right: 18px;
	padding-left: 18px;
	padding-right: 18px;
	padding-left: 18px;
	font-size: 17px;
	line-height: 34px;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	transition: all .4s;
	text-align: center;
}
#header .blockcart.cart-preview .btn-view {
	background-color: #f5f5f5;
	border-color: #e1e7ec;
	color: #606975 !important;
}
#header .blockcart.cart-preview .btn-view:hover {
	background-color: #cbcbcb !important
}


  @media(max-width:768px) {
    #header .header-nav {
      max-height: inherit;
      border: 0;
    }
    #header .header-top {
      padding: 0;
    }
    #header .top-logo img {
      max-height: inherit;
      max-width: 200px;
    }
  }

.header-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-mobile .col-6 {
  flex: 1 1 50%;
}

#group_1 {
width: 100% !important;
}

.search_filters .facet .facet-title {
  text-transform: uppercase;
  text-overflow: inherit;
  white-space: normal !important;
  font-weight: bold; }

.search_filters .js-search-filters-clear-all {
  margin: 10px 0; }

.align-self-right {
  float: right; }

.row, .products {
    gap:1rem;
  margin: 15px -15px; }

#youpi img {
  text-align: center;
  display: block;
  height: 80px;
  margin: 0 auto; }

#youpi p {
  text-align: center;
  display: block;
  height: 100px; }
  #youpi p strong {
    font-size: 3rem;
    clear: both;
    display: block;
    margin: 0 auto; }


#group_1 {
width: 100% !important;
}

.qty {text-align: center}
.btn-bord {border: 1px solid #000000; color: #000;}
.btn-bord:hover {background: #000; color:#FFF}
#product #description .product-description {padding:7vw; background: #FFF}

@media (min-width: 992px){
 .layout-full-width .elementor-product-grid .product-miniature {
flex: 0 0 33%;
max-width: 100% !important;
}}

.elementor-product-grid .product-description {padding: inherit}
.elementor-product-grid .elementor-price-wrapper {display: none;}
.elementor-product-grid h3.elementor-title {color: #000 !important}


.product-price {color:#1e7abb}

#products article.product-miniature div.thumbnail-container, article.product-miniature div.thumbnail-container {height: 422px;}
#products article.product-miniature div.product-description, article.product-miniature div.product-description {text-align: center;}
#products article.product-miniature div.product-description input.input-group.form-control, article.product-miniature div.product-description input.input-group.form-control{width: 30%;margin-left: auto;margin-right: auto;margin-bottom: 12px;margin-top: 10px;display: none;}
#products .thumbnail-container .product-thumbnail img, .featured-products .thumbnail-container .product-thumbnail img, .product-accessories .thumbnail-container .product-thumbnail img, .product-miniature .thumbnail-container .product-thumbnail img {bottom: inherit;}
#products .product-price-and-shipping, .featured-products .product-price-and-shipping, .product-accessories .product-price-and-shipping, .product-miniature .product-price-and-shipping {margin-bottom: 5px !important}

.btn-noir {border: 1px solid #000000;background-color: #000 !important; color:#FFF; padding: 5px; text-align: center; width: 100%; margin: 0 auto}
.btn-noir:hover {border: 1px solid #000000;background-color: #FFF !important; color:#000; padding: 5px; text-align: center; width: 100%; margin: 0 auto}

.btn-gris {border: 1px solid #666666;background-color: #666666 !important; color:#FFF; padding: 5px; text-align: center; width: 100%; margin: 0 auto}

#loyalty {font-size: 0.8em; color:#999999}
.product-actions .product-quantity label, .product-actions .label {font-weight: bold}

.product-quantity {align-items: center; justify-content: center;}
.qty {width: inherit; margin: 0 1rem;}


#bouton-filtre {width: 100%}
#filtre {background-color: #FFF; padding: 15px}

.elementor-slick-slider .slick-arrows-inside .slick-prev {
left: 0;
}

.elementor-slick-slider .slick-arrows-inside .slick-next {
right: 0;
}

.product-availability-date {color: crimson}

.input-color:checked + span, .input-color:hover + span, .input-radio:checked + span, .input-radio:hover + span {
  border-color: #232323; }

/*.product-images > li.thumb-container {
    display: inline
}*/

.product-images > li.thumb-container > .thumb {
    cursor: pointer;
    margin-bottom: .625rem
}

.images-container .product-images > li.thumb-container > .thumb {
    margin-right: .8125rem
}

.product-images > li.thumb-container > .thumb.selected,
.product-images > li.thumb-container > .thumb:hover {
    border: 3px solid #2fb5d2
}

#main .images-container .js-qv-mask {
    white-space: nowrap;
    overflow: hidden
}

#main .images-container .js-qv-mask.scroll {
    width: calc(100% - 60px);
    margin: 0 auto
}

@media (max-width:991px) {
    .product-cover img {
        width: 100%
    }

    #product-modal .modal-content .modal-body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-left: 0
    }

    #product-modal .modal-content .modal-body img.product-cover-modal {
        width: 100%
    }

    #product-modal .modal-content .modal-body .arrows {
        display: none
    }

    #product-modal .modal-content .modal-body .image-caption {
        width: 100%
    }

}

/* ================================
✅ Correction conflit FICHE / QUICKVIEW
================================ */

/* On rétablit le comportement normal dans le quickview */
#product-modal .product-images > li.thumb-container {
  display: block !important;
}

#product-modal .modal-content .modal-body {
  margin-left: 0 !important;
  flex-direction: row !important;
}

#product-modal .modal-content .modal-body .product-images img {
  width: auto !important;
  max-width: 100% !important;
}

#product-modal .modal-content .modal-body .mask {
  max-height: none !important;
}

/* Et on garde TON rendu uniquement sur la fiche produit */
body#product .product-images > li.thumb-container {
  display: inline;
}

body#product #product-modal .modal-content .modal-body {
  margin-left: -30%;
}

#product-modal .modal-content {
    background: transparent;
    border: none;
    padding: 0
}

#product-modal .modal-content .modal-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: -30%
}

#product-modal .modal-content .modal-body .product-cover-modal {
    background: #fff
}

#product-modal .modal-content .modal-body .image-caption {
    background: #fff;
    width: 800px;
    padding: .625rem 1.25rem;
    border-top: 1px solid #f1f1f1
}

#product-modal .modal-content .modal-body .image-caption p {
    margin-bottom: 0
}

#product-modal .modal-content .modal-body .thumbnails {
    position: relative
}

#product-modal .modal-content .modal-body .mask {
    position: relative;
    overflow: hidden;
    max-height: 49.38rem;
    margin-top: 2.188rem;
    z-index: 1
}

#product-modal .modal-content .modal-body .mask.nomargin {
    margin-top: 0
}

#product-modal .modal-content .modal-body .product-images {
    margin-left: 2.5rem
}

#product-modal .modal-content .modal-body .product-images img {
    width: 9.25rem;
    cursor: pointer;
    background: #fff
}

#product-modal .modal-content .modal-body .product-images img:hover {
    border: 3px solid #2fb5d2
}

#product-modal .modal-content .modal-body .arrows {
    height: 100%;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    color: #fff;
    right: 1.875rem;
    z-index: 0;
    cursor: pointer
}

#product-modal .modal-content .modal-body .arrows .arrow-up {
    position: absolute;
    top: -2rem;
    opacity: .2
}

#product-modal .modal-content .modal-body .arrows .arrow-down {
    position: absolute;
    bottom: -2rem
}

#product-modal .modal-content .modal-body .arrows i {
    font-size: 6.25rem;
    display: inline
}

.product-cover .layer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background: hsla(0,0%,100%,.7);
    text-align: center;
    cursor: pointer;
}

.product-cover .layer .zoom-in {
    font-size: 6.25rem;
    color: #7a7a7a;
}

.card .pack-product-container .thumb-mask {width: 80px !important; height: auto}

body.tax-display-enabled #products .product-description { height: inherit !important}


#group_1 input[type="radio"] + label {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
  border: 1px solid #000;
  transition: all 0.15s ease-in-out;
}
#group_1 input[type="radio"]:hover + label {
  background-color: #1e7abb;
  border-color: #1e7abb;
}
#group_1 input[type="radio"]:checked + label {
  background-color: #1e7abb;
  border-color: #1e7abb;
}
#group_1 input[type="radio"]:hover + label {
  background-color: #c82333;
  border-color: #bd2130;
}
#group_1 input[type="radio"]:checked + label {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-rouge {background-color: red; color: #fff;}

.product-information a.btn-default-on {border: 1px solid #1e7abb;background-color: #1e7abb; color:#fff; font-size: .8em;}
.product-information a.btn-default {border: 1px solid #999; color:#666;font-size: .8em;}
.product-information a.btn-default:hover {border: 1px solid #1e7abb;background-color: #1e7abb; color:#fff}

.mm_menus_li > a {text-transform: inherit;}

.mm_menu_content_title {padding: 20px 15px;}

h2.product-title {
    height: 40px;
    color: #495057;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    font-weight: bold;
    text-transform: uppercase;
  }

  @media (min-width: 1200px) {
    .container {
      max-width: 90rem;
      width: 100%;
    }
  }

  .btn-primary{color:#fff;background-color:#1e7abb;border-color:rgba(0,0,0,0); color:#FFF}
  .btn-primary:hover{color:#fff;background-color:#000;border-color:rgba(0,0,0,0)}
  .btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#000;border-color:rgba(0,0,0,0)}
  .btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#1d93ab;border-color:rgba(0,0,0,0);background-image:none}
  
  .btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#18798d;border-color:rgba(0,0,0,0)}
  .btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary:disabled:focus,.btn-primary:disabled.focus{background-color:#000;border-color:rgba(0,0,0,0)}
  .btn-primary.disabled:hover,.btn-primary:disabled:hover{background-color:#000;border-color:rgba(0,0,0,0)}

  #js-product-list .products .product {
    flex: 0 0 32%;
    background-color: #FFF;
  }

  #product h1 {
    margin-bottom: 2rem;

  }
  .js-product {background-color: #FFF;}

  .blanc {background-color: #FFF; padding: 2rem;}

  @media (min-width: 1200px) {
    .col-xl-3 {
      width: 24%;
    }
  }

  .product-line-grid{
    display: flex;
    align-items: center;
}
  .product-line-grid .product-line-actions > .row{
     margin: 0;
  }

  body#checkout section.checkout-step .delivery-options .delivery-option {
    flex-wrap: nowrap !important;
  }

  .elementor-2020101 .elementor-element.elementor-element-xoe5cyk {
    overflow: inherit!important ;
}

.red {
  background-color: red;
}


.red a {
  color: #FFF !important;
}

.block-promo .promo-code form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-promo .promo-input {
  width: 100%;
  margin: inherit;
}

.block-promo .promo-input+button {
  margin: inherit;
}