/*!
 * SW Custom
 */
/* NOUVEAUTÉ PRESTASHOP 8 */
button.btn.btn-show-password {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* On enleve le logo 4x de paypal qui charge en JS !!! */
span[paypal-mark-container] {
  display: none !important;
}

#product .reduction_date {
  margin: 10px 0;
  font-size: 0.8125rem;
  color: var(--color-txt);
}

#index .owl-carousel.owl-loaded {
  opacity: 1 !important;
}

/* ############## ALO - QTE BTN CUSTOM ############## */
.bootstrap-touchspin .input-group-btn-vertical .touchspin-down::after {
  content: "\E15B";
}
.bootstrap-touchspin .input-group-btn-vertical .touchspin-up::after {
  content: "\E145";
}
/* ############## ALO - QTE BTN CUSTOM ############## */

#swoverlay-swtm_localizaion .dropdown-menu {
  max-height: 15rem !important;
  overflow: auto !important;
}

.progressbar {
  width: 100%;
  border: 1px solid #000;
  height: 4px;
  overflow: hidden;
}

.progressbar .progresscontent {
  background: #000;
  width: 0%;
  height: 100%;
}

/* NATIVE SEARCHBAR */
#search_widget.psnative button {
  position: absolute;
  top: 0;
  height: 100%;
  right: 0;
  border: 1px solid var(--primary-color);
  border-left: none;
  border-radius: 0 var(--global-radius) var(--global-radius) 0;
}

.header-top #search_widget.psnative.search-widgets form input[type="text"] {
  min-width: inherit;
  background: #fff;
  border: 1px solid var(--primary-color);
  border-right: none;
  border-radius: var(--global-radius);
}

@media (max-width: 992px) {
  #search_widget.psnative.search-widgets {
    min-width: auto;
  }
}

/* NATIVE SEARCHBAR AUTOCOMPLETE  */
.searchbar-autocomplete {
  left: 50% !important;
  transform: translateX(-50%);
  width: 92%;
}

.searchbar-autocomplete.ui-menu .ui-menu-item a {
  font-size: 0.75rem;
}

.searchbar-autocomplete.ui-menu .ui-menu-item .autocomplete-thumbnail {
  width: 60px;
  height: 60px;
}

/* SCROLL PANEL RECHERCHE */
#swoverlay-ps_searchbar .ps_searchbar-body {
  overflow-y: auto;
  overflow-x: hidden;
}

.ui-menu.ui-jolisearch .jolisearch-body {
  overflow: inherit;
}

/* SCROLL PANEL FILTER */
.amazzing_filter_bk .block_content {
  overflow-y: auto;
  overflow-x: hidden;
}

/* SCROLL PANEL CART CONFIRMATION */
.cart-accessoires-products {
  overflow-y: auto;
  overflow-x: hidden;
}

/*ALO delete product on cart panel*/
#swoverlay-swtm_cart
  .product-line-grid-right
  .cart-line-product-actions
  .remove-from-cart,
#swoverlay-swtm_cart .product-line-grid-right .product-price .remove-from-cart {
  margin: 0 !important;
}

/* SCROLL PANEL CART CONFIRMATION */
.js-swtm-cart-elm-p {
  overflow-y: auto;
  overflow-x: hidden;
}

/* PAGE PRODUCT */
.gotoupblock {
  cursor: pointer;
  text-decoration: underline;
}

.pprices-txt .price-ecotax {
  font-size: 0.7rem;
  text-transform: capitalize;
  font-weight: 400;
}

.product-information .product-quantities label {
  padding: 6px 10px;
}

/* CEOS ADVANCED STOCK */
#product .product-quantities {
  margin-top: 10px;
}

#product #stockBkLabel .circle,
.inStock-info .circle {
  width: 12px;
  min-width: 12px;
  min-height: 12px;
  height: 12px;
  border-radius: 50%;
}

.product-actions .ceos-product-availability .textavailable,
#product #stockBkLabel .textavailable,
.inStock-info .textavailable {
  color: #28a745;
  font-weight: 600;
}
#product #stockBkLabel .circle.available,
.inStock-info .circle.available {
  background-color: #28a745;
}

.product-actions .ceos-product-availability .textavailablelater,
#product #stockBkLabel .textavailablelater,
.inStock-info .textavailablelater {
  color: #f0ad4e;
  font-weight: 600;
}
#product #stockBkLabel .circle.availablelater,
.inStock-info .circle.availablelater {
  background-color: #f0ad4e;
}

.product-actions .ceos-product-availability .txtoutofstock,
#product #stockBkLabel .txtoutofstock,
.inStock-info .txtoutofstock {
  color: #dc3545;
  font-weight: 600;
}
#product #stockBkLabel .circle.outofstock,
.inStock-info .circle.outofstock {
  background-color: #dc3545;
}

#product #stockBkLabel .pd_stock {
  padding-left: 6px;
  font-size: 0.75rem;
  line-height: 1.1;
}

.product-actions .ceos-product-availability {
  display: flex;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin: 0 0 10px;
  font-weight: 600;

}
.product-actions .ceos-product-availability .circle {
  display: none;
}

/* END CEOS ADVANCED STOCK */

/* PAGE 404 */
#pagenotfound #main {
  background-color: rgba(var(--bodybg-rgb), 0.6);
  height: 100%;
}
#pagenotfound #main .page-header {
  margin-top: 0;
}
#pagenotfound #main .page-content {
  font-weight: 600;
}

/* MODULE TEXTBANNER */
.swjs_mini_textbanner a {
  color: var(--white) !important;
}

/* Correction Bug position barre stick navigation à facette */
#js-product-list-top-sticky-wrapper {
  min-height: 52px;
}

/* Correction z-index 99 swslider et ajout du centrage des dots */
#wrapperslider.nivo-mode .slider-wrapper .nivo-controlNav {
  z-index: 8;
  transform: translateX(-50%);
}

/* Correction bouton commander panier */
#swoverlay-swtm_cart.swoverlay .fixed_cart-bottom .btn {
  flex-direction: column;
}
#swoverlay-swtm_cart.swoverlay .fixed_cart-bottom .btn span {
  display: block;
}

/* Correction product flags page produit */
#product .product-container .product-flags {
  position: absolute;
  right: 0;
  width: fit-content;
}

#product .product-flags .product-flag.discount-percentage,
#product .product-flags .product-flag.product-flag.discount-amount,
#product .product-flags .product-flag.product-flag.discount {
  color: #ffffff;
  font-size: 1.2rem;
}

/* HEADER MOBILE STICKY (ATTENTION BRANCHÉ A DU JS) */
.stickyy {
  position: fixed;
  top: 0;
  width: 100%;
}

body #header > .header-top.stickyy {
  border-bottom: 1px solid var(--primary-color) !important;
}

/* cette déclaration existe déjà dans ton SASS faut juste lui ajouter z-index : 10 */
#header > .header-top.stickyy {
  z-index: 10;
}

/* Wrapper breadcrumb remplace display inline par : inline-block  */
#wrapper .breadcrumb li {
  display: inline-block;
}

/* Product Wrapper breadcrumb supprimer overflow-x: auto; et white-space: nowrap; */
#product #wrapper .breadcrumb {
  /* overflow-x: auto; */
  /* white-space: nowrap; */
  white-space: wrap;
}

/* 
AJOUTER  : #product .store-exclusivity-btn .add .product-price
A :  #product .product-add-to-cart .add .product-price, #product .product-add-to-cart .add .current-price, #product .product-add-to-cart .add .product-discount
*/
#product .product-add-to-cart .store-exclusivity-btn .product-price {
  color: var(--white);
}

/* Boxtal transporter CSS */
/* Je ne peux pas toucher l'HTML !!! */
.col-sm-12.bx-extra-content {
  padding: 0;
  margin-left: 8.333%;
  width: 91.666%;
  padding: 1rem;
  font-size: 0.85rem;
}

.col-sm-12.bx-extra-content .bx-parcel-client {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  background: var(--white);
  padding: 2px 5px;
}

/* AJOUTER çA */
.cm_green .product-top {
  position: relative;
}
/* END AJOUTER çA */

/* remplacer justify-content flex-start par justify-content center*/
.cm_green .thumbnail-container .stars-container {
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 5;
  bottom: 0;
}

/* Module avis vérifiés */

.col-md-12.netreviews_tab {
  display: none;
}

html[data-scheme="dark"] .netreviews_customer_review {
  color: var(--gradient-second) !important;
}

.netreviews_tpl_v2 .netreviews_global_rating {
  background-color: var(--bodybg);
}

html[data-scheme="dark"]
  #netreviews_reviews_tab
  .col-md-12.cm_lo-txt.text-center {
  color: var(--white) !important;
}

html[data-scheme="dark"] .netreviews_customer_name {
  color: var(--white) !important;
}

html[data-scheme="dark"] .netreviews_tpl_v2 .netreviews_helpful_block a {
  background-color: var(--bodybg-l1) !important;
  color: var(--white);
}

html[data-scheme="dark"] .nrRate {
  color: var(--gradient-second) !important;
}

html[data-scheme="dark"] .netreviews_note_generale_table_tr {
  color: var(--gradient-second) !important;
}

html[data-scheme="dark"] .netreviews_subtitle {
  color: var(--white) !important;
}

html[data-scheme="dark"] .netreviews_percentage_rate {
  color: var(--white) !important;
}

.price.d-flex {
  justify-content: center;
  align-items: center;
}

.regular-price {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.av_category_stars {
  margin: 0 !important;
}

@media (max-width: 400px) {
  .av_category_stars {
    height: auto;
  }
  .av_category_stars a {
    display: flex;
    text-decoration: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

.av_category_stars .netreviews_review_rate_and_stars {
  line-height: 1;
  margin: 2px 0 0 6px;
}

.av_category_stars .ratingText {
  font-size: 0.8125rem;
  font-weight: 600;
}

.nrResponsive .netreviews_tpl_v2 .netreviews_global_rating_responsive {
  display: block !important;
}

.netreviews_certification {
  display: flex !important;
  justify-content: start !important;
}

#netreviews_table_tab {
  width: 100% !important;
}

.netreviews_tpl_v2 table tr {
  display: flex !important;
}

.nrResponsive .netreviews_tpl_v2 .netreviews_rating_header div {
  text-align: left !important;
}

.nrResponsive .netreviews_tpl_v2 .netreviews_note_generale_recommendations {
  width: 75% !important;
}

.nrResponsive .netreviews_tpl_v2 .netreviews_resume_rates {
  width: 75% !important;
}

.netreviews_tpl_v2 .netreviews_afnor > div {
  display: flex;
  justify-content: start;
}

.nrResponsive .netreviews_tpl_v2 .netreviews_logo {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 30px !important;
}

.netreviews_tpl_v2 .netreviews_helpful_block a span {
  color: grey !important;
}
/* SURCHARGE INJECTION CODE ne pas enlever les important */
div[id^="netreviewsWidget"] {
  z-index: 999 !important;
}

body#checkout div[id^="netreviewsWidget"] {
  display: none !important;
}

body#product .netreviews_stars_light {
  margin: 0 0px 15px 0px;
}

body#product .netreviews_stars_light #slide {
  font-size: 0.75rem;
}

/* End avis vérifiés */

/* il faut supprimer #product .product-additional-info .featured-products .simplified-card-product dans le SCSS 
On a pas des image produit rectangulaire comme poke.... */
#product .product-additional-info .featured-products .simplified-card-product {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* on display 2 lignes de texte */
@media (max-width: 767.98px) {
  .cm_green .product-title {
    min-height: 40px;
    max-height: 40px;
  }
}

/*Nouvelle règle générique a tout le front */
.trigger-owl {
  cursor: pointer;
}
/* Parce que j'aime les fleches de carousel bien calées ^^ */
#product
  .product-additional-info
  .featured-products
  .small-crousel-title
  .trigger-owl {
  padding-top: 4px;
}

/* Faut enlever le display none dans le SCSS (les clients se plaignent de pas avoir les fleches des carousels) */
.featured-products .owl-nav {
  display: inherit;
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  font-size: 2rem;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none;
  color: var(--color-txt-hover);
}

/* BRAND PAGE */
#manufacturer #content-wrapper {
  display: flex;
  justify-content: center;
}

/* #manufacturer #main {
  width: 75% !important;
} */

#manufacturer #main h1 {
  text-align: center;
  margin-bottom: 1rem;
}

/* HOVER PAGINATION */
a.js-search-link {
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
a.js-search-link:hover {
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  background-color: var(--btn-color-bg);
  color: var(--white);
}

/* Correction BUG sticky JS 
#header > .header-top padding = 1rem 
ET 
#header > .header-top.stickyy = 0.25rem 
donc j'aligne l'ensemble
*/
@media (max-width: 991.98px) {
  #header > .header-top {
    padding: 0.25rem 0;
  }
}

/* Parce que cookie law.... */

.lgcookieslaw-fixed-button {
  z-index: 999;
}

/* PRESTABLOG TM */
/* #prestablogfront, .is-dark {
  background-color: var(--bodybg-l1);
} */

/* #prestablogfront time.date span, .info_blog span {
  background-color: var(--bodybg-l1);
} */

/* #prestablog_menu_cat nav ul, img.logo_home {
  background-color: var(--bodybg-l1);
  border-radius: 10px;
} */

/* #prestablog-comments, .is-dark {
  background-color: var(--bodybg-l1);
} */

/* #prestablog-comments, .is-dark  p {
  color: var(--white);
} */

/* #blog_list_1-7 .block_top img, #blog_list_1-7 a, .block_cont, #blog_list_1-7 li * {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
} */

/* #prestablog-comments p strong {
  color: var(--primary-color);
} */

/* #module-prestablog-blog fieldset#prestablog-comment input.text {
  border: 1px solid var(--primary-color);
  border-radius: var(--global-radius);
  background-color: var(--input-bg);
  color: var(--input-txt);
  margin-bottom: 10px;
} */

/* .prestablogExtra, .is-dark {
  background-color: var(--bodybg-l1);
} */

/* #module-prestablog-blog fieldset#prestablog-comment textarea {
  border: 1px solid var(--primary-color);
  border-radius: var(--global-radius);
  background-color: var(--input-bg);
  color: var(--input-txt);
  margin-bottom: 10px;
} */

/* #module-prestablog-blog p.cat_desc_blog {
  padding: 10px 20px 10px 20px;
  font-size: 14px !important;
  background-color: var(--bodybg-l1);
  border-radius: var(--global-radius);
} */

/* #module-prestablog-blog #blog_list_1-7 .block_cont {
  background-color: var(--bodybg-l1);
} */

/* #module-prestablog-blog #blog_list_1-7 h3 a  {
  color: var(--primary-color);
} */

/* #module-prestablog-blog #blog_list_1-7 .block_cont {
  border-radius: 10px;  
  border: 0px solid black;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.171));
} */

/* #module-prestablog-blog #blog_list_1-7 .block_top {
  border-radius: 10px 10px 0 0;  
} */

/* #module-prestablog-blog #blog_list_1-7 .prestablog_more, .block_bas, .comments {
  border-radius: 0 0 10px 10px;  
} */

#product .js-product-images-modal .modal-dialog {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

body#checkout #delivery textarea::placeholder {
  text-transform: inherit;
  color: var(--color-txt) !important;
}

/* MODAL CUSTOM CAROUSEL */
/* .productmodalimages .carousel-left {
  width: 130px;
  overflow-y: auto;
  height: 100%;
} */

/* .productmodalimages .carousel-left ul.modal-thumbs {
  margin: 0 15px;
} */

/* .productmodalimages .carousel-left ul.modal-thumbs li {
  margin: 10px 0;
  cursor: pointer;
} */

/* .productmodalimages .carousel-left ul.modal-thumbs li.active {
  border: 1px solid red;
} */

/* .productmodalimages .carousel-right {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* .productmodalimages .carousel-right .carousel_container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  width: 100%;
} */

/* .productmodalimages .carousel_container .grab {
  cursor: -webkit-grab;
  cursor: -moz-grab;
} */

/* .productmodalimages .carousel_container .grabbing {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
} */

/* .productmodalimages .carousel_container .carousel-right .carousel_items {
  position: relative;
  cursor: default !important;
}

.productmodalimages
  .carousel_container
  .carousel-right
  .carousel_items
  .carousel_item {
  float: left;
} */

/* .productmodalimages .carousel_container .item_arrows {
  position: absolute;
  width: 100%;
  height: 65px;
  z-index: 99999;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
}

.productmodalimages .carousel_container .item_arrows .item_arrow {
  width: 45px;
  height: 65px;
}

.productmodalimages .carousel_container .item_arrows .item_arrow:hover {
  cursor: pointer;
}

.productmodalimages .carousel_container .item_arrows .item_arrow.item_next {
  left: 900px;
  top: 0px;
  background-color: #2d96cd;
}

.productmodalimages .carousel_container .item_arrows .item_arrow.item_prev {
  display: none;
  left: 900px;
  top: 66px;
  background-color: #000;
}

.productmodalimages .carousel_cover_mode .carousel-left {
  z-index: 1;
  position: absolute;
}

.productmodalimages .carousel_cover_mode .carousel_item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.productmodalimages .carousel_cover_mode .carousel_item .js-owl-img {
  transform: translateY(-50%);
  margin-top: 50%;
} */

/* END MODAL CUSTOM */

/* TUNNEL DE COMMANDE */
/* Modif*/
body#checkout .additional-information {
  margin-left: 1rem;
}
/* ajout*/
body#checkout .additional-information a[data-toggle="modal"] {
  display: flex;
  margin: 5px 0;
  font-weight: 600;
  cursor: pointer;
}

/* PAGE produit */
/* ajouter cursor: pointer; dans #product .product-variants > .product-variants-item input + .color*/
/* #product .product-variants > .product-variants-item input + .color {
  cursor: pointer;
} */

/* PATCH PB MasterTheme 16*/
.owl-carousel .owl-item img {
  height: auto;
}

* {
  scrollbar-gutter: inherit;
}

#blockcart-overlay .cart-accessoires-bk .product-flags {
  display: none;
}

#blockcart-overlay .cart-accessoires-bk .cm_green .thumbnail-container .btn {
  padding: 0.8125rem 0.3rem;
}
/* END PATCH PB MasterTheme 16*/

/* SURCHARGE CHARGEMENT DE LA H1 EN VUE JS */
.wishlist-container-header > h1 {
  display: none !important;
}
.wishlist-container-header {
  justify-content: flex-end !important;
}

.wishlist-products-container,
.wishlist-footer-links {
  max-width: 1280px;
  margin: auto;
}
/* SURCHARGE CHARGEMENT DE LA H1 EN VUE JS */

/* il faut supprimer le overflow-x auto dans .product-flags */
.product-flags {
  overflow-x: hidden;
}

/* a ajouter à .product-flags .product-flag pour gérer l'espacement vertical qaund il y a beaucoup de flags */
.product-flags .product-flag {
  margin-bottom: 3px;
}

/* Test product page */
/* #product .swtextbanner-size, */
/* #product .theme-switch, */
/* #product .breadcrumb { */
/* display: none; */
/* } */

@media screen and (max-width: 576px) {
  /* #product #header, */
  #product .theme-switch,
  #product .breadcrumb {
    display: none;
  }
}

#product #main {
  padding-top: 0 !important;
}

#product .product-mobileh1 {
  text-align: left;
  justify-content: flex-start !important;
}

#history .order-details {
  background-color: white;
}

/* correction alignement paiement cheque et virement bancaire */
body#checkout section.checkout-step .payment-options label {
  display: block;
  width: 100%;
}

/* Module PM ADVANCED PACK */
#product.ap5-pack-page .owl-carousel.generic-owl {
  min-height: 295px;
}

#product .product-actions .ceos-product-availability.plabel {
  display: none;
}

#subcategories .subcat-scroll:before,
#subcategories .subcat-scroll:after {
    background-image: none;
}

/* Correction modal product avec le mode cover */
#product .productmodalimages .modal-dialog .close {
  z-index: 1008;
}

#product .productmodalimages .carousel_cover_mode .carousel-left {
  z-index: 1008;
  background-color: var(--bodybg-l1);
}

.cm_green .plabel {
  display: flex;
  justify-content: center;
  align-items: center;
}

 /* ajouter ci dessous à .cm_green .product-description .pd_stock */
.cm_green .product-description .plabel-content {
  font-size: 0.6875rem;
  line-height: 1.1;
  padding-left: 6px;
}

/* On affiche jamais la description produit dans la recherche JS en Mode PrestaShop natif */
#ps_searchbar-body .product-description-content {
  display: none!important;
}

#contact .contact-form input.btn {
  background-color: var(--btn-color-bg);
}

/* correction retro-compat bootstrap  < 4.6 stable */
.fade.in {
  opacity: 1;
}
.fade:not(.show):not(.in) {
  opacity: 0;
}

#product .swcarousel-title {
  position: absolute;
  z-index: 99999;
  bottom: 0;
  background: var(--bodybg);
  color: var(--color-txt);
  width: 100%;
  padding: 4px;
  text-align: center;
}

/* Correction dans ton scss modifier le bottom:0 en bottom: 16px */
#product .productmodalimages .carousel_container .item_arrows {
  bottom: 16px;
}

@media (max-width: 992px) {
  body#product .owl-carousel:not(.generic-owl) .owl-prev,
  body#product .owl-carousel:not(.generic-owl) .owl-next {
    opacity: 1;
  }
}

#js_productmodalimages .js-close-product-modal {
  top: 0;
}

/* on supprime les modal-backdrop vide que les modules ajoutent.... */
[class="modal-backdrop fade in"],
[class="modal-backdrop fade show"] {
  display: none !important;
}

.paiement-option-description > .alma-fee-plan--block .alma-fee-plan--description {
  display: none;
}

/* PS CHECKOUT PAYPAL */
.ps_checkout-mark {
  position: absolute;
  top: 0;
  right: 0;
}