:root {
  --global-radius-small: 0;
  --widthbtnaddtocart: 100%;
  --flag-discount-color: #de2528;
}

body,
html {
  font-size: 15px;
}

/* Le module Wishlist charge son bouton dans les lstes produits via du JS */
/* La seule solution stable pour l'enlever est de faire un display none */
.product-miniature .wishlist-button-add {
  display: none !important;
}

.definition-list dl {
  background-color: var(--bodybg-d1);
}

.cm_cart_rap .block-promo {
  margin-top: 12px;
}

body#checkout section.checkout-step .delivery-options .delivery-option img {
  width: auto;
  max-width: 105px;
}

#cms #content ul li {
  margin-bottom: 6px;
  font-size: 0.91rem;
}

/********** MagicScroll NE PAS TOUCHER **********/
.MagicToolboxSelectorsContainer .MagicScroll [style^="display: block; z-index: 2147483647;"] {
  display: none !important;
}

/********** Module wishlist **********/

.wishlist-products-container-header {
  text-align: center;
  padding: 40px 0 15px 0;
}
.wishlist-products-container-header .sort-by-row {
  display: none !important;
}

.wishlist-products-container-header h1 {
  font-size: 1.625rem;
  font-family: var(--font1);
  font-weight: var(--font1-weight2);
  padding: 0;
  margin: 0 auto;
  line-height: 1.2;
}

#main .wishlist-products-container .card.page-content {
  margin: 0 25px;
}

.wishlist-products-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 15px;
}

.wishlist-product-title {
  overflow-y: hidden;
  justify-items: flex-start;
  font-family: var(--font1);
  font-weight: var(--font1-weight2);
  font-size: 0.8125rem !important;
  text-transform: none;
  margin: 0;
  text-align: left;
  padding: 2px 0 2px 0;
  min-height: 38px;
  max-height: 38px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  line-height: 1.25 !important;
  color: var(--color-txt) !important;
}

body .btn.wishlist-product-addtocart.btn-primary {
  padding: 0.3571428571rem 0.5rem;
  line-height: 1.2;
  border: 1px solid var(--cartbtn-color-bg);
  background: var(--cartbtn-color-bg);
  color: var(--cartbtn-color-txt);
}

.wishlist-footer-links {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
}

.wishlist-footer-links a:last-child {
  display: none !important;
}

.wishlist-footer-links a:first-child {
  padding: 0.5rem 0.7rem;
  font-size: clamp(0.8rem, 0.4rem + 1.5vw, 0.7rem);
  line-height: 1.2;
  font-family: var(--font1);
  font-weight: var(--font1-weight3);
  text-transform: uppercase;
  width: fit-content;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: 1.25px;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid var(--btn-color-bg);
  border-radius: var(--global-radius);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  background: transparent;
  color: var(--btn-color-bg);
}

.wishlist-footer-links a:hover {
  -webkit-filter: grayscale(1) brightness(0.8);
  filter: grayscale(1) brightness(0.8);
  background-color: var(--btn-color-bg);
  color: var(--white);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

.wishlist-delete .wishlist-modal.fade:not(.show):not(.in) {
  display: none !important;
}

/* 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;
}

#product #ps_checkout-payment-method-logo-block-container {
  display: none !important;
}

#adtm_menu {
  margin-top: 0;
}

#swoverlay-ps_searchbar > .content {
  background-color: var(--bodybg-l1);
}

#adtm_menu ul#menu li.advtm_menu_11:hover,
#adtm_menu ul#menu li.advtm_menu_11 a.a-niveau1:hover {
  position: relative;
}

#_desktop_top_menu #adtm_menu #menu .li-niveau1.advtm_menu_10 .adtm_sub,
#_desktop_top_menu #adtm_menu #menu .li-niveau1.advtm_menu_11 .adtm_sub {
  left: auto !important;
  right: 0 !important;
  height: 380px;
  width: 250px;
  right: 0;
  overflow-y: scroll;
  padding: 0;
}

.iindex {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.pindex {
  padding: 35px 10vw 35px 35px;
}

.pindex p {
  line-height: 1.4;
  font-size: 0.9rem;
}

h3.tt_product_i {
  font-size: 1.85rem;
}

.pindex .tt_product_i .tt_c_secondary {
  font-weight: var(--font1-weight2);
  color: var(--second-color);
}

/* .container.cm_red {
  max-width: 94% !important;
} */

#product .product-description {
  font-size: 1.03rem;
  line-height: 1.5;
}

#product .product-quantity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

#product .product-quantity .qty {
  /*width: 25%;*/
  margin-bottom: 0;
}

#product .product-quantity .add {
  /*width: 70%;*/
  margin-bottom: 0;
  flex: content;
}

#product .product-quantity .sw-gbtn-vert button {
  border-radius: var(--global-radius);
  padding: 1.15rem;
}

#product #product-availability.pa_last,
#product #product-availability.pa_last i {
  color: var(--color-txt);
}

.product-quantity #quantity_wanted {
  height: calc(1.2em + 0.78rem + 9px);
}

#footer .reafooter {
  padding-top: calc(var(--padding-t-b-section-mobile) + 20px);
  padding-bottom: calc(var(--padding-t-b-section-mobile) + 20px);
  max-width: 85%;
}
@media screen and (min-width: 1500px) {
  #footer .reafooter {
    width: 100%;
    max-width: 1500px;
  }
}
@media screen and (min-width: 767px) {
  #footer .reafooter {
    width: 100%;
    max-width: 100%;
  }
}
#footer .reafooter .overflowx-auto {
  overflow-x: auto;
}
#footer .reafooter .reablock {
  font-size: 0.9375rem;
  font-family: var(--font1);
  font-weight: var(--font1-weight2);
  color: var(--color-txt);
}
#footer .reafooter .reablock [class^="rea"] {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#footer .reafooter .reablock i {
  font-size: 1.875rem;
  padding-bottom: 10px;
  color: var(--second-color);
}
#footer .reafooter .reablock span {
  font-family: var(--font2);
  font-weight: var(--font1-weight2);
  font-size: 1.15rem;
}
#footer .reafooter .reablock .small-txt {
  padding-top: 4px;
  font-size: 0.85rem;
  font-family: var(--font1);
  font-weight: var(--font1-weight1);
  line-height: 1.2;
  color: var(--grey);
}
#footer .reafooter .reablock svg {
  height: 49px !important;
  fill: var(--second-color);
}

.product-additional-info {
  max-width: 600px;
}

.product-reas {
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-items: stretch;
  margin: 0 auto;
  gap: 8px;
  margin-bottom: 8px;
}

.product-reassurance {
  flex-grow: 1;
  flex-basis: 0;
  flex-shrink: 0;
  background-color: var(--bodybg-l2);
  border-radius: var(--global-radius);
  padding: 15px;
  align-items: center;
  transition: all 0.6s ease-in-out;
}

.product-reassurance i {
  font-size: 1.6rem;
}

.sw_reassurance_product {
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: stretch;
  transition: all 0.6s ease-in-out;
}

.sw_reassurance_product .swtm_shippement_item i {
  font-size: 1.6rem;
  color: var(--primary-color);
}

.sw_reassurance_product .swtm_shippement_item {
  flex-grow: 1;
  flex-basis: 0;
  flex-shrink: 0;
  background-color: var(--bodybg-l2);
  border-radius: var(--global-radius);
  padding: 15px;
  align-items: center;
  justify-content: flex-start;
}

.sw_reassurance_product .swtm_shippement_item .right {
  padding-left: 8px;
  color: var(--second-color);
}

.sw_reassurance_product:hover,
.product-reassurance:hover {
  color: var(--second-color);
  transition: all 0.6s ease-in-out;
}

#product #product-availability {
  background: var(--bodybg-d1);
  border-radius: var(--global-radius);
  padding: 0.45rem 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
}

.section-title {
  font-family: var(--font1);
  font-weight: var(--font1-weight1);
  text-transform: uppercase;
  background-color: transparent;
  background: none;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--primary-color);
  color: var(--primary-color);
}

#swslider {
  margin-bottom: 15px;
}

:root {
  --grid-gutter-l: calc(1 * 1rem);
}

#swhomecarousel {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-container .h3,
.footer-container .h4 {
  font-weight: 600;
  font-size: 1rem;
}

.footer-container li {
  font-size: 0.85rem;
}

.footer-container .newslet {
  background-color: var(--primary-color);
  margin-bottom: 30px;
  color: #fff !important;
}

.footer-container .newslet p,
.footer-container .newslet a,
.footer-container .newslet span {
  color: #fff !important;
}

.footer-container span {
  font-size: 0.85rem;
}

.page-index .carousel-title .section-title {
  font-size: 1.3rem;
}

.imggrid-container .imggrid-title {
  font-family: var(--font1);
}
.imggrid-container .imggrid-subtitle {
  font-family: var(--font2);
}

.page-product .brand-supplier-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 0.9375rem;
}

.page-product .brand-supplier-container .manufacturer-logo,
.page-product .brand-supplier-container .supplier-logo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0;
}

.page-product .brand-supplier-container .lbl-manufacturer,
.page-product .brand-supplier-container .lbl-supplier {
  min-width: 75px;
  font-weight: 700;
}

.page-product .brand-supplier-container a img {
  display: block;
  max-width: 65px;
  max-height: 65px;
}

.show-more-description {
  display: inline-block;
  color: var(--second-color);
  font-weight: var(--font1-weight2);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.sw_lo-bk .btn-slider {
  background-color: var(--bodybg-l2);
  border: 1px solid var(--color-txt);
  border-radius: var(--global-radius);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
}

.cm_green .product-miniature .product-flag {
  border-radius: var(--global-radius);
}

#product .product-add-to-cart .add .btn {
  flex-direction: row-reverse;
  align-items: center;
  margin: 0 !important;
}

#product .product-add-to-cart .addtocart {
  font-size: 1.2rem;
  line-height: 1.5;
}

#product .product-add-to-cart .addtocart:after {
  content: " | ";
  line-height: 1.5;
}

#product .product-add-to-cart .add .btn .product-prices {
  width: auto;
  padding: 0;
  margin-left: 6px;
  font-size: 1.2rem;
  line-height: 1.5;
}

#product #product-availability.pa_stock {
  color: var(--color-txt);
}

#product .product-variants > .product-variants-item input + .color {
  border-radius: 50%;
  height: 22px;
  width: 22px;
}

#product .product-quantities {
  display: none;
}

#product .product-add-to-cart .add .product-price,
#product .product-add-to-cart .add .current-price,
#product .product-add-to-cart .add .product-discount {
  font-size: 1.2rem;
}

#product .product-add-to-cart .add .current-price-value,
#product .product-add-to-cart .add .current-price {
  line-height: 1;
}

/* #product .product-add-to-cart .add .current-price-value:before,
#product .product-add-to-cart .add .product-discount:before {
  content: "| ";
  line-height: 1;
} */

#product .product-variants > .product-variants-item input[type="radio"],
#product .product-variants > .product-variants-item input[type="checkbox"],
#product .product-variants > .product-variants-item input + .radio-label {
  border-radius: var(--global-radius);
  padding: 0.2rem 0.65rem;
  font-weight: 400;
  font-size: 0.8rem;
}

#product .product-variants .control-label {
  margin-bottom: 12px;
}

.cm_lo-title {
  font-weight: var(--font1-weight1);
  text-transform: uppercase;
}

/* Brands and Suppliers Page */
.sw-brand-alpha-nav a.active,
.sw-brand-alpha-nav a:hover {
  background: #000000;
  color: #fff !important;
  border-radius: var(--global-radius);
  transition: background 0.2s, color 0.2s;
}

/* Navigation alphabétique régulière */
.sw-brand-alpha-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 8px;
  align-items: stretch;
  justify-items: center;
  width: 100%;
}

.sw-brand-alpha-link {
  min-width: 40px;
  max-width: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: var(--global-radius);
  transition: background 0.2s, color 0.2s;
  text-align: center;
  margin: 0;
  padding: 8px 0;
}

/* Empêche le centrage des dernières lettres sur la ligne */
.sw-brand-alpha-nav {
  justify-content: start !important;
}

/* Empêche le centrage des derniers éléments sur la ligne de la liste des marques */
.brand-names.row {
  justify-content: flex-start !important;
}

.brand-list-by-letter {
  margin: 20px 0;
}
/* Brands and Suppliers Page */

.cm_green .product-title a {
  font-size: 0.9rem;
}

.short-description-text {
  font-family: var(--font1) !important;
}
.short-description-text p {
  font-size: 0.9375rem !important;
}

@media (max-width: 430px) {
  .head_logo a {
    width: 80%;
  }
  #_desktop_pro_info {
    display: none !important;
  }
  #product .product-quantity .add {
    width: 100% !important;
  }
}

.footer-container span.gotoblock {
  font-size: 1.5rem !important;
}

.axeptio_mount {
  z-index: 99 !important;
}

#menu > li > a {
  position: relative;
  padding: 0 6px;
  transition: color 0.3s ease;
}

#menu > li > a::after {
  content: "";
  position: absolute;
  left: 2%;
  bottom: -2px;
  width: 0;
  height: 4px;
  background: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

#menu > li > a:hover::after,
#menu > li > a.advtm_menu_actif::after {
  width: 95%;
}

.cm_green .product-price-and-shipping .price {
  font-size: 1.1rem;
}

.cm_green .thumbnail-container .btn {
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
}

.cm_green .thumbnail-container .sw_btn_addtc .mt-ico {
  font-size: 1.5rem;
}

.account-links > .col-lg-4 {
  max-width: 25%;
}

.container-displayfooterhomebefore .foot-item {
  display: flex;
  flex-direction: column;
}

.container-displayfooterhomebefore .foot-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.container-displayfooterhomebefore .foot-item span {
  color: #231f20;
  font-size: 1.3rem;
  font-weight: 500;
}

@media (max-width: 991.98px) {
    .container-displayfooterhomebefore .foot-item span {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .container-displayfooterhomebefore .foot-item span {
        font-size: 0.8rem;
        text-align: center;
    }
}

.container-displayfooterhomebefore {
  background-color: #fad6c6;
}

.custom-radio input[type=radio]:checked + span {
  top: 0.14rem;
  left: 0.14rem;
}

.ui-menu.ui-jolisearch .jolisearch-body section[role=main] .product {
  background: transparent !important;
}

.cm_green .product-miniature .product-flag.new {
  background-color: #ff6c6c;
}

.product-top {
  border-radius: var(--global-radius);
}

#adtm_menu .adtm_column ul.adtm_elements li a,
#adtm_menu .adtm_column ul.adtm_elements li span[data-href] {
  padding: 4px 4px 4px 0;
}
