/*
* GENERAL
*
* Ajouté par DOUDOUSIDIOUS
*
* Code CSS appliqué sur tout le site.
*/

:root {
  /* Couleur principale */
  --primary-color: #E7302A;
  --primary-color-hover: #db6a5f;

  /* Couleur secondaire */
  --secondary-color: #23374C;

  /* Couleur tertiaire */
  --tertiary-color: #333333;

  /* Couleur irrigation */
  --irrigation-color: #287ABE;
  --irrigation-color-hover: #6a95c7;

  /* Couleur secondaire irrigation */
  --irrigation-secondaire-color: #307BBF;

  /* Couleur de agroequipement */
  --agroequipment-color: #AA7B58;
  --agroequipment-color-hover: #b4977d;

  /* Couleur Pieces détachés */
  --pieces-color: #6D6D6D;
  --pieces-color-hover: #7e7e7e;

  /* Couleur Blanche */
  --white-color: #fff;

  /* Couleur Gris */
  --grey-color: #E3E3E3;

  /* Couleur Gris 1 */
  --grey-color-1: #F1F1F1;

  /* Couleur Gris 2 */
  --grey-color-2: #F2F2F2;

  /* Couleur Gris 3 */
  --grey-color-3: #F3F3F3;

  /* Couleur Gris 4 */
  --grey-color-4: #F4F4F4;

  /* Couleur Gris 5 */
  --grey-color-5: #F5F5F5;

  /* Couleur Gris 6 */
  --grey-color-6: #F6F6F6;

  /* Couleur Gris 7 */
  --grey-color-7: #F7F7F7;

  /* Couleur Gris 8 */
  --grey-color-8: #F8F8F8;

  /* Couleur Marron */
  --brown-color: #858585;

  /* Couleur Noir */
  --black-color: #101010;

  /* Couleur Vert clair */
  --light-green-color: #CEE5CC;

  /* Couleur Vert clair */
  --dark-green-color: #077746;
}

.text-primary-color {
  color: var(--primary-color) !important;
}

.text-secondary-color {
  color: var(--secondary-color) !important;
}

.text-tertiary-color {
  color: var(--tertiary-color) !important;
}

.text-irrigation-color {
  color: var(--irrigation-color) !important;
}

.text-irrigation-secondaire-color {
  color: var(--irrigation-secondaire-color) !important;
}

.text-agroequipment-color {
  color: var(--agroequipment-color) !important;
}

.text-pieces-color {
  color: var(--pieces-color) !important;
}

.text-white-color {
  color: var(--white-color) !important;
}

.text-grey-color {
  color: var(--grey-color) !important;
}

.text-brown-color {
  color: var(--brown-color) !important;
}

.text-black-color {
  color: var(--black-color) !important;
}

.bg-primary-color {
  background-color: var(--primary-color) !important;
}

.bg-secondary-color {
  background-color: var(--secondary-color) !important;
}

.bg-tertiary-color {
  background-color: var(--tertiary-color) !important;
}

.bg-irrigation-color {
  background-color: var(--irrigation-color) !important;
}

.bg-irrigation-secondaire-color {
  background-color: var(--irrigation-secondaire-color) !important;
}

.bg-agroequipment-color {
  background-color: var(--agroequipment-color) !important;
}

.bg-pieces-color {
  background-color: var(--pieces-color) !important;
}

.bg-white-color {
  background-color: var(--white-color) !important;
}

.bg-grey-color {
  background-color: var(--grey-color) !important;
}

.bg-grey-color-1 {
  background-color: var(--grey-color-1) !important;
}

.bg-grey-color-2 {
  background-color: var(--grey-color-2) !important;
}

.bg-grey-color-3 {
  background-color: var(--grey-color-3) !important;
}

.bg-grey-color-4 {
  background-color: var(--grey-color-4) !important;
}

.bg-grey-color-5 {
  background-color: var(--grey-color-5) !important;
}

.bg-grey-color-6 {
  background-color: var(--grey-color-6) !important;
}

.bg-grey-color-7 {
  background-color: var(--grey-color-7) !important;
}

.bg-grey-color-8 {
  background-color: var(--grey-color-8) !important;
}

.bg-brown-color {
  background-color: var(--brown-color) !important;
}

.bg-black-color {
  background-color: var(--black-color) !important;
}

.btn.bg-primary-color,
.btn.bg-secondary-color {
  color: var(--white-color) !important;
  border-radius: 10px;
}

.btn.bg-primary-color:not(.disabled):hover,
.btn.bg-primary-color:not(:disabled):hover {
  color: var(--white-color) !important;
  background-color: #c62828 !important;
}

.btn.bg-secondary-color:not(.disabled):hover,
.btn.bg-secondary-color:not(:disabled):hover {
  color: var(--white-color) !important;
  background-color: var(--irrigation-color) !important;
}

.btn.bg-primary-color.disbabled,
.btn.bg-primary-color:disabled,
.btn.bg-secondary-color.disabled,
.btn.bg-secondary-color:disabled {
  opacity: 0.5;
}

.btn.bg-primary-color:focus,
.btn.bg-secondary-color:focus {
  outline: none;
}

.btn.bg-primary-color.text-white-color:hover {
  color: var(--white-color) !important;
}

body {
  font-family: 'Source Sans Pro', sans-serif !important;
}

.h1,
.h2,
.h3,
.h4,
body {
  color: var(--secondary-color);
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
div {
  font-family: 'Source Sans Pro', sans-serif;
}

/* h1 page d'accueil*/
.h1-svl-solution h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .h1-svl-solution h1 {
    font-size: 40px;
  }
}

/* h1 sur chaque page du compte client : Module Presta et Custom*/
.page-header h1 {
  font-size: 48px;
  font-weight: 700;
}

p {
  line-height: 1.6rem;
  font-size: 16px;
}

/*
* LIEN a du site
*/

.header a {
  display: flex;
}

/*connexion/inscription*/
#authentication a {
  color: var(--secondary-color);
}

/*paiement*/
#checkout a {
  color: var(--primary-color);
}

body#checkout a:hover {
  color: var(--primary-color);
}

/*détails de commandes*/
#order-detail a {
  color: var(--primary-color);
}

#order-detail a:hover {
  color: var(--secondary-color);
}

/*documents clients*/
#module-nkmcustomerfile-display a {
  color: var(--primary-color);
}

/*confirmation de commande*/
#order-confirmation a {
  color: var(--primary-color);
}

#order-confirmation a:hover {
  color: var(--primary-color-hover);
}

/*panier*/
#cart {
  .cart-grid-body a:hover {
    color: var(--primary-color);
  }

  .payplugOneyCta_wrapper {
    display: none;
  }

}

/*module devis en ligne*/
#module-opartdevis-createquotation a {
  color: var(--primary-color);
}

#module-opartdevis-createquotation a:hover {
  color: var(--primary-color-hover);
}

/* 
* FIN lien a du site
*/

#wrapper {
  background-color: var(--white-color);
}

.container-svl {
  max-width: 1536px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}


.section-svl {
  overflow-x: hidden;
  padding: 2rem 0;
}

.section-svl-title-and-description {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 4rem;
  row-gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-svl-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
}

.section-svl-title-white {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
}

/* Ligne rouge page CMS */
.section-cms-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
}


.section-svl-title-and-description *:last-child {
  margin-bottom: 0;
}

.section-svl-title-and-description .section-svl-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
}

.section-svl-title-and-description .section-svl-title br {
  display: none;
}

.section-title {
  font-size: 2rem;
  text-transform: none;
  color: var(--secondary-color);
  margin-bottom: 1.563rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.jms-heart-1::after,
.wishlist-top {
  /* content: '';
  display: block;
  width: 26px;
  height: 26px;
  background-image: url('/img/symbols/heart_white_icon.svg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat; */
}

.green-puce::before,
.red-puce::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.green-puce::before {
  background-color: #2BA633;
}

.red-puce::before {
  background-color: #E6332A;
}

*[data-scroll] {
  cursor: pointer;
  color: var(--secondary-color);
}

*[data-scroll]:hover {
  text-decoration: underline;
}

.require-star {
  color: #E6332A;
}

.label,
label {
  font-weight: 700;
}

@media (min-width: 768px) {

  .container-svl {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-svl-title-and-description .section-svl-title,
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 992px) {

  .container-svl {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .section-svl {
    padding: 3rem 0;
  }

  .section-svl-title-and-description {
    grid-template-columns: auto 1fr;
    margin-bottom: 2rem;
  }

  .section-svl-title-and-description .section-svl-title,
  .section-title {
    font-size: 2.5rem;
  }

  .section-svl-title-and-description .section-svl-title br {
    display: inline;
  }
}

@media (min-width: 1200px) {

  .container-svl {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/*
* Général : Applique du css sur tous les champs des formulaires du site
*/
.form-control:focus {
  color: #232323;
  background-color: #fff;
  outline: .1875rem solid var(--primary-color);
  border-color: var(--primary-color);
}



/*
* Général : Applique une graisse sur le séparateur de l'abonnement à la newsletter
*/
hr {
  /* border: 1px solid var(--secondary-color); */
}

/*
* Général : Cache le "Retour à votre compte" et "accueil" présent dans chque bas de section du compte client
*/
.page-footer {
  display: none;
}

/*
* Général : Affiche la marque avis verifiés sur l'accueil mais le cache sur les autres
*
*/
body#index .skeepers-widget-wrapper-a36c56b2-8187-4e12-ae81-fa48c93b67e0 {
  top: 60vh !important;
  left: 10px !important;
  width: 7%;
}

@media (max-width: 1640px) {
  body#index .skeepers-widget-wrapper-a36c56b2-8187-4e12-ae81-fa48c93b67e0 {
    display: none !important;
  }
}

/* Mets en forme les boutons de slide avis vérifiés */
.skeepers_carousel_container.max-width-wrapper:not(.slides-count-1) .carousel__navigation {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
}

.skeepers_carousel_container .swiper-pagination-bullet-active,
#skeepers_carousel_modal .swiper-pagination-bullet-active {
  background: none !important;
}

/*avis vérifiés*/
.stars__rating span {
  color: var(--secondary-color);
  font-weight: 600;
}

.stars__rating {
  line-height: 25px !important;
}

/* Etoiles Vides (pas d'avis) */
.product-infos .no-reviews-stars {
  display: inline-block;
  height: 16px;
  /* ou 20px */
  width: auto;
  vertical-align: middle;
}

.skeepers_product__stars {
  margin: 0px !important;
}

.text__rating {
  margin-top: -5px !important;
}

/*
* Général : Change la couleur du lien a et des fleche carroussel sur les modals cross selling
*
*/
.ets_crosssell_tab {
  color: var(--secondary-color) !important;
}

.ets_crosssell_block .featured-products .slick-arrow:hover {
  background: var(--primary-color);
}


/*
* Général : Modal Klavyio 
*
*/
.needsclick .klaviyo-form {
  /* background-color: #fff !important; */
}

/*
* GENERAL
*
* FIN
*/

/*
* CMS
*
* Ajouté par Adrien le 05/06/2025
*
* Code CSS appliqué sur les pages CMS
*/
@media (max-width: 600px) {

  .page-cms-custom .container-svl h2 {
    font-size: 25px !important;
  }

  .page-cms-custom .container-svl h3 {
    font-size: 25px !important;
  }
}


/*
* FORMS
*
* Ajouté par DOUDOUSIDIOUS -- À faire en dernier PAS URGENT !!
*
* Code CSS appliqué sur les formulaires suivants : adresses, inscription, connexion, informations personnelles, contact.
*/

/*
* ADDRESS FORM
*
* Ajouté par ADRIEN
*
* 
*/

/* 
** Code CSS appliqué sur le formulaire de modif/création des Adresses dans le compte client 
*/
body#identity {
  .alert {
    display: none;
  }
}

body#checkout,
body#address,
body#identity,
body#registration {

  /* Ce code CSS sert seulement pour l'étape "Checkout-Delivery" */
  .delivery-options-list .form-fields {
    background-color: white;
    padding: 0;
    border-radius: 0;
    justify-self: auto;
  }

  .form-fields {
    background-color: var(--grey-color-3);
    padding: 50px;
    border-radius: 10px;
    justify-self: center;
  }

  .form-group {
    display: grid;
    justify-items: flex-start;
  }

  .form-control-label {
    width: 300px;
    text-align: start;
  }

  .custom-checkbox label {
    width: 100% !important;
  }

  .form-group {
    /* gap: 5px !important; */
  }

  .form-control {
    color: var(--secondary-color);
    height: 44px;
    border-radius: 10px;
    border: 2px #23374c80 solid;
    background-color: var(--grey-color-6);
    gap: 0;
  }

  .form-control:focus {
    color: #232323;
    background-color: #fff;
    outline: .1875rem solid var(--primary-color);
    border-color: var(--primary-color);
  }

  .form-control-label {
    font-size: 20px;
  }

  .form-btn {
    display: block;
    width: 446px;
    height: 65px;
    font-size: 24px;
    margin-top: 30px;
    float: none !important;
  }

  .form-footer {
    padding-bottom: 30px;
  }

  /* Permet de mettre les inputs form sur la meme longueur */
  .input-group {
    display: ruby-text;
  }

  .input-group.focus {
    outline: none !important;
  }

  /* Masque le champ VAT dans les formulaires d'adresse uniquement */
  form #field-vat_number {
    display: none !important;
  }

  form label[for="field-vat_number"] {
    display: none !important;
  }

  /* Texte en dessous du Champ TVA Intracommunautaire */
  .form-control-comment.tva-warning {
    display: block !important;
    /* width: 180% !important; */
    white-space: normal !important;
    line-height: 1.4;
    margin-top: 4px;
    color: var(--primary-color);
    font-weight: 700;
  }



  /* Mobile */
  @media (min-width: 300px) {

    .address-form,
    .customer_form,
    .register-form {
      max-width: 100%;
    }

    .form-control {
      width: 250px;
    }

    .form-btn {
      width: 250px;
      height: 45px;
      font-size: 18px;
    }
  }

  /* Tablette */
  @media (min-width: 768px) {

    .address-form,
    .customer_form,
    .register-form {
      max-width: 80%;
    }

    .custom-checkbox label {
      width: 300% !important;
    }

    .form-control-comment {
      display: flex;
      width: 300%;
    }

    .form-control {
      width: 440px;
    }

    .form-btn {
      width: 440px;
      height: 55px;
      font-size: 24px;
    }
  }

  /* Ordinateur */
  @media (min-width: 1500px) {

    .address-form,
    .customer_form,
    .register-form {
      max-width: 100%;
    }

  }

  /* Désactive l'effet Modal sur Le checkout */
  .modal-backdrop.fade {
    display: none !important;

  }

  .modal-backdrop.fade.in {
    display: none !important;

  }
}

/*
* FORMS
*
* FIN
*/


/*
* MODAL - AJOUT PANIER
*
* Ajouté par Adrien
*
* Code CSS appliqué sur la modal d'ajout au panier
*
* Ajout des class "bg-secondary-color" et "bg-primary-color" sur les boutons du template : modal.tpl
*/
#blockcart-modal .product-name {
  font-size: 18px;
  color: var(--primary-color);
}

.shipping {
  text-transform: uppercase !important;
}

/*
* MODAL - AJOUT PANIER
*
* FIN
*/

/*
* HEADER
*
* Ajouté par DOUDOUSIDIOUS et ADRIEN
*
* Code CSS appliqué sur le Header.
*/

/* Met l'entièreté du menu à 1000 en index afin d'être sur qu'aucun élément ne superposera sur le menu */
header,
#header,
#header .header-top {
  z-index: 1000;
}

/* Code appliqué sur la rupture de stock - empêche d'etre au dessus du Header */
#email_data_back {
  position: relative !important;
  z-index: 1 !important;
}


body:not(#checkout) #header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--secondary-color) !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

#header .header-top {
  background: var(--secondary-color) !important;
  padding: 0.95rem 0;
}

#header .header-top .top-navbar-elements {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

#header .header-top .top-navbar-elements.row::after {
  display: none;
}

#header .header-top .top-navbar-elements .navbar-mobile-menu {
  flex: 1;
}

#header .header-top .top-navbar-elements .navbar-logo {
  flex: 1;
  text-align: center;
}

#header .header-top .top-navbar-elements .navbar-logo .logo {
  width: 170px;
}

#header .header-top .top-navbar-elements .navbar-elements {
  flex: 1;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: flex-end;
  padding-right: 15px;
}

#header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements {
  flex: 1;
  display: none;
  align-items: center;
}

#header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .search-bar {
  flex-basis: 600px;
}

#header #search_widget form {
  margin-bottom: 0;
}

#header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .submenu-top {
  display: flex;
  align-items: center;
}

#header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .submenu-top a {
  color: var(--white-color);
  white-space: nowrap;
}

#header .header-top .top-navbar-elements .navbar-elements .customer-navbar-elements {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* 
* Menu Button "Contactez-nous"
*/
.menu-dropdown-contact {
  float: inline-end !important;
  width: 200px !important;
}

.menu-dropdown-contact .ets_mm_url {
  background-color: var(--secondary-color) !important;
}

.menu-dropdown-contact .ets_mm_url:hover {
  background-color: var(--secondary-color) !important;
}

.menu-dropdown-contact span {
  justify-self: center !important;
  float: none;
  color: #fff;
}

.menu-dropdown-contact span:hover {
  color: var(--secondary-color);
  color: #fff;
}

.contact-card {
  color: #fff;
}

.contact-card h3 {
  font-size: 20px;
}

.contact-card-section {}

.span-title-h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
}

.span-title-h5 {
  font-size: 1rem !important;
  font-weight: 700 !important;
}


.menu-dropdown-contact .mm_columns_ul .mm_columns_li:not(:last-child) {
  /* Masque texte & icônes */
  visibility: hidden;
  /* Fond transparent pour voir derrière */
  background: transparent !important;
  /* Désactive toute zone cliquable */
  pointer-events: none;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 45px auto;
  /* grid-template-columns: 1fr 1fr; */
  column-gap: 20px;
  row-gap: 12px;
  align-items: center;
}

.img-contact-card {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  /* évite d’agrandir inutilement le bloc */
}

.img-contact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layout_layout1.ets_mm_megamenu .mm_columns_ul {
  border-color: var(--secondary-color);
}

.contact-card-details a {
  color: #fff !important;
}

@media (max-width: 1200px) {
  .menu-dropdown-contact {
    float: auto !important;
    background-color: var(--secondary-color);
  }

  .menu-dropdown-contact span {
    justify-self: baseline !important;
    float: none;
    color: #fff;
  }

  .offres-tabs {
    background-color: var(--primary-color);
  }

  .offres-tabs span {
    color: #fff !important;
  }

  .products_tab {
    background-color: var(--secondary-color);
  }

  .products_tab span {
    color: #fff;
  }
}

@media (max-width: 768px) {
  .menu-dropdown-contact {
    /* float: left !important; */
    width: 100% !important;
  }
}

/* FIN menu contact */

#_desktop_user_info .account,
#_desktop_cart .cart-preview a {
  position: relative;
  display: inline-block
}

#_desktop_user_info .account .customer-logged {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 15px;
  height: 15px;
}

#_desktop_cart .cart-preview .cart-products-count {
  position: absolute;
  display: inline-block;
  top: -0.8rem;
  right: -0.8rem;
  z-index: 1;
  text-align: center;
  vertical-align: middle;
  padding: .18rem;
  min-width: 1.5rem;
  border-radius: 50%;
  background-color: var(--irrigation-color);
  color: var(--white-color);
  font-size: .675rem;
  font-weight: 700;
  line-height: 1.7;
}

#_desktop_quotecart {
  display: none !important;
}

#header .header-mobile-searchbar {
  position: relative;
  background-color: var(--white-color);
}

#wrapper.ls-overflow-visible {
  padding-top: 0;
}

.wishlist-count {
  color: #fff;
}

#footer_account_list .wishlist-count {
  color: var(--secondary-color);
}


@media (min-width: 250px) {

  .wishlist-top img {
    width: 26px;
    height: 26px;
  }

}

@media (min-width: 576px) {

  #header .header-top .top-navbar-elements .navbar-elements .customer-navbar-elements {
    gap: 1rem;
  }
}

@media (min-width: 768px) {

  #header .customer-navbar-elements .jms-heart-1::after,
  #_desktop_user_info img.customer-account,
  #_desktop_cart img.shopping-cart {
    width: 33px;
    height: 33px;
  }

  .wishlist-top img {
    width: 33px;
    height: 33px;
  }
}

@media (min-width: 1200px) {

  #header .header-top .top-navbar-elements {
    gap: initial;
  }

  #header .header-top .top-navbar-elements .navbar-mobile-menu {
    display: none;
  }

  #header .header-top .top-navbar-elements .navbar-logo {
    flex: initial;
    flex-basis: 200px;
    padding: 0 2rem;
  }

  #header .header-top .top-navbar-elements .navbar-elements {
    justify-content: space-between;
    padding-right: 2rem;
  }

  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements {
    display: flex;
  }

  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements,
  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .submenu-top {
    gap: 2rem;
  }

  #header .header-mobile-searchbar {
    display: none;
  }
}

@media (min-width: 1300px) {

  #header .header-top .top-navbar-elements .navbar-logo {
    flex-basis: 250px;
  }

  #header .header-top .top-navbar-elements .navbar-elements,
  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements,
  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .submenu-top {
    gap: 3rem;
  }

  #header .header-top .top-navbar-elements .navbar-elements .customer-navbar-elements {
    gap: 1.25rem;
  }
}

@media (min-width: 1600px) {

  #header .header-top .top-navbar-elements .navbar-elements,
  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements,
  #header .header-top .top-navbar-elements .navbar-elements .tools-navbar-elements .submenu-top {
    gap: 4rem;
  }

  #header .header-top .top-navbar-elements .navbar-elements .customer-navbar-elements {
    gap: 1.5rem;
  }
}

/*
* HEADER
*
* FIN
*/


/*
* ETS_MEGA_MENU
*
* Ajouté par Adrien et DOUDOUSIDIOUS
*
* Code CSS appliqué sur le Menu.
*/

.ets_mm_megamenu .ets_mm_megamenu_content .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ets_mm_megamenu .mm_menus_li .mm_menu_content_title {
  text-transform: none;
}

.ets_mm_megamenu .products_tab .mm_tabs_li:not(.open) .mm_tab_li_content {
  background-color: var(--secondary-color);
}

.ets_mm_megamenu .products_tab .mm_tabs_li:not(.open) .mm_tab_has_child::after {
  border-right-color: var(--white-color);
  border-top-color: var(--white-color);
}

.ets_mm_megamenu .products_tab .mm_tabs_li .mm_tab_toggle_title * {
  font-size: 1rem;
}

.ets_mm_megamenu .products_tab .mm_tabs_li:not(.open) .mm_tab_toggle_title * {
  color: var(--white-color) !important;
}

.ets_mm_megamenu .products_tab .mm_tab_toggle_title img {
  width: 30px;
}

.ets_mm_megamenu .products_tab .mm_columns_contents_ul {
  overflow-y: auto;
}

.ets_mm_megamenu .products_tab .ets_mm_block>.h4 {
  border-bottom: none;
  padding-bottom: 0;
}

/* Sections 1 & 2 */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(-n+2) .ets_mm_block>.h4 a,
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(-n+2) .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more)::before {
  color: var(--primary-color) !important;
}

.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(-n+2) .ets_mm_block>.h4 a:hover {
  color: var(--primary-color-hover) !important;
}

/* Section 3 : irrigation */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(3) .ets_mm_block>.h4 a,
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(3) .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more)::before {
  color: var(--irrigation-color) !important;
}

.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(3) .ets_mm_block>.h4 a:hover {
  color: var(--irrigation-color-hover) !important;
}

/* Section 4 : agroequipment */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(4) .ets_mm_block>.h4 a,
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(4) .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more)::before {
  color: var(--agroequipment-color) !important;
}

.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(4) .ets_mm_block>.h4 a:hover {
  color: var(--agroequipment-color-hover) !important;
}

/* Section 5 : pièces détachées */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(5) .ets_mm_block>.h4 a,
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(5) .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more)::before {
  color: var(--pieces-color) !important;
}

.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(5) .ets_mm_block>.h4 a:hover {
  color: var(--pieces-color-hover) !important;
}


.ets_mm_megamenu .products_tab .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more) {
  padding-left: 10px;
  display: inline-block;
}

.ets_mm_megamenu .products_tab .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more)::before {
  content: "\f105";
  position: absolute;
  left: 0;
  display: inline;
  font-family: "FontAwesome";
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  vertical-align: initial;
  margin-right: 0;
  -webkit-transition: left 0.3s ease, right 0.3s ease;
  -moz-transition: left 0.3s ease, right 0.3s ease;
  -o-transition: left 0.3s ease, right 0.3s ease;
  transition: left 0.3s ease, right 0.3s ease;
}

.ets_mm_megamenu .products_tab .ets_mm_categories .ets_mm_url:not(.ets_mm_url_see_more):hover::before {
  left: 3px;
}

.ets_mm_megamenu .products_tab .ets_mm_url_see_more {
  font-weight: 600;
}

.ets_mm_megamenu .products_tab .ets_mm_url_see_more::before {
  content: none;
}

.ets_mm_megamenu .services_tab .mm_columns_ul {
  padding-top: 0;
}

.ets_mm_megamenu .services_tab .mm_blocks_li {
  padding: 0;
  margin-bottom: 0;
}

.ets_mm_megamenu .services_tab .mm_columns_ul .ets_mm_url {
  display: block;
  font-size: 1rem;
  color: var(--secondary-color) !important;
  background-color: var(--white-color);
  padding: 9px 15px;
}

.ets_mm_megamenu .services_tab .mm_columns_ul .ets_mm_url:hover {
  color: var(--white-color) !important;
  background-color: var(--secondary-color);
}

.ets_mm_megamenu .services_tab .mm_columns_ul .ets_mm_url img {
  width: 30px;
}

.ets_mm_megamenu .services_tab .mm_columns_ul .ets_mm_url img:hover {
  transform: none;
  -o-transform: none;
  -ms-transform: none;
  -webkit-transform: none;
}

/*Enlève les categories quand le titre est identique */
.ets_mm_categories:has(> li:only-child) {
  display: none;
}

/*DEBUT Ligne sous les Titres*/
.ets_mm_block.mm_block_type_category {
  position: relative;
  padding-bottom: 10px;
  /* espace sous la ligne */
}

.ets_mm_block.mm_block_type_category::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 15px;
  /* colle la ligne au dessus du padding */
  width: 10%;
  border-bottom: 3px solid;
  border-radius: 30%;
  /* Radius sur la ligne */
}

/* ajoute de l'air entre le titre et la liste */
.ets_mm_block.mm_block_type_category>.ets_mm_block_content>.ets_mm_categories {
  margin-top: 8px !important;
}

/* Sections 1 & 2 : couleur primaire */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(-n+2) .ets_mm_block.mm_block_type_category::after {
  border-bottom-color: var(--primary-color) !important;
}

/* Section 3 : irrigation */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(3) .ets_mm_block.mm_block_type_category::after {
  border-bottom-color: var(--irrigation-color) !important;
}

/* Section 4 : agroequipment */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(4) .ets_mm_block.mm_block_type_category::after {
  border-bottom-color: var(--agroequipment-color) !important;
}

/* Section 5 : pièces détachées */
.ets_mm_megamenu .products_tab>ul.mm_columns_ul_tab>li:nth-child(5) .ets_mm_block.mm_block_type_category::after {
  border-bottom-color: var(--pieces-color) !important;
}

/*FIN Ligne sous les Titres*/

@media (min-width: 1200px) {

  .ets_mm_megamenu .mm_menus_li:not(:nth-child(2)) {
    border-right-color: transparent !important;
  }

  .ets_mm_megamenu .mm_menus_li:nth-child(2) {
    border-right-color: var(--secondary-color);
  }

  .ets_mm_megamenu .mm_menus_li:nth-child(2) .mm_menu_content_title {
    width: 100%;
    justify-content: center;
  }

  .ets_mm_megamenu .products_tab .mm_tab_li_content {
    border-left-color: transparent;
    border-right-color: transparent;
  }

  .ets_mm_megamenu .products_tab .mm_blocks_li {
    margin-bottom: 30px;
  }

  .ets_mm_megamenu .services_tab .mm_columns_ul {
    border-left: none;
    border-right: none;
  }
}

@media (min-width: 1300px) {

  .ets_mm_megamenu .mm_menus_li:nth-child(2) {
    width: 250px !important;
  }
}

/*
* ETS_MEGA_MENU
*
* FIN
*/

/*
* BREADCRUMB
*
* Ajouté par DOUDOUSIDIOUS
*
* Code CSS appliqué sur les fils d'ariane
*/

#wrapper .breadcrumb {
  padding: .75rem 1rem;
  background-color: var(--grey-color-3);
  border-radius: 10px;
}

#wrapper .breadcrumb li a {
  font-weight: 700;
  color: var(--secondary-color);
}

#wrapper .breadcrumb li::after {
  font-weight: 700;
  content: '>';
  color: var(--secondary-color);
}

#wrapper .breadcrumb li:last-child {
  font-weight: 700;
  color: var(--primary-color);
}

@media (max-width: 991.98px) {

  .breadcrumb {
    display: none;
  }
}

/*
* BREADCRUMB
*
* FIN
*/

/*
* PRODUCT MINIATURE
*
* Ajouté par DOUDOUSIDIOUS
*
* Code CSS appliqué sur les miniatures des produits (catégories, caroussels, etc.).
*/

.product-miniature .thumbnail-container {
  max-width: 350px;
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; */
  transition: box-shadow 0.15s ease-in-out;
}

.product-miniature .thumbnail-container:hover {
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.product-miniature .product-description {
  padding: 0 !important;
}

.product-miniature .thumbnail-container:focus .product-description::after,
.product-miniature .thumbnail-container:hover .product-description::after {
  content: none;
}

.product-miniature .product-title {
  margin: 0;
  text-transform: initial;
}

.product-miniature .product-title a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 67px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
}

.product-miniature .product-reviews-and-infos {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.5rem;
}

.product-miniature .review__header {
  margin-bottom: 0;
}

.product-miniature .product-infos {
  display: block;
  text-align: center;
  font-size: .875rem;
}

.product-miniature .product-reviews-and-infos .skeepers_product__stars+.product-infos {
  display: none;
}

.product-miniature .product-description-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  height: 84px;
}

.product-miniature .product-button-and-reassurance {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.product-miniature .product-reassurance {
  /* font-size: .775rem; */
  font-weight: 600;
  margin-bottom: 2px;
}

.product-miniature .btn-see-product {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: .775rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.product-miniature .product-price-and-shipping {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.product-miniature .from-to,
.product-miniature .regular-price,
.product-miniature .price-tt {
  font-size: .875rem;
}

.product-miniature .price {
  font-size: 1.2rem;
}

.product-miniature .product-on-quote {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-right: 0.75rem;
}

/* Tous les flags custom */
.product-miniature .product-flags li[class*="delai-"],
.product-miniature .product-flags li.ports-inclus,
.product-miniature .product-flags li.destockage,
.product-miniature .product-flags li.out_of_stock {
  position: absolute;
  right: 0;
  /* top: 35px; */
  z-index: 5;
}

.product-miniature li.product-flag {
  font-size: 1.2rem;
}

.product-miniature li.product-flag.discount {
  background-color: var(--primary-color) !important;
}

li.product-flag.out_of_stock {
  background: var(--secondary-color);
  text-transform: none;
}

li.product-flag.ports-inclus {
  background: var(--secondary-color);
  text-transform: none;
}

li.product-flag.destockage {
  background: var(--primary-color);
  text-transform: none;
}

li.product-flag[class*="delai-"] {
  background: var(--secondary-color);
  text-transform: none;
}

@media (min-width: 1200px) and (max-width: 1280px) {

  #category .product-miniature .price,
  #category .product-miniature .product-on-quote {
    font-size: 1rem;
  }

  #category .product-miniature .price-ttc {
    font-size: 0.875rem;
  }
}

/*
* PRODUCT MINIATURE
*
* FIN
*/

/*
* Code CSS de paie Avec celui du custom JS pour les collapse du site
*
*/
@media (max-width: 1500px) {
  .txt.show {
    max-height: 4000px !important;
    opacity: 1;
  }

}

.txt {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

.txt.show {
  max-height: 6000px;
  opacity: 1;
}

.custom-text-referencement {
  margin-top: 40px;
}

/*
* FOOTER
*
* Ajouté par DOUDOUSIDIOUS
*
* Code CSS appliqué sur footer.
*/

#footer img {
  max-width: 100%;
  height: auto;
}

body:not(#checkout) #footer .footer-reassurance {
  display: none;
}

#footer .footer-reassurance {
  padding: 1.5rem 0;
}

#footer .reassurance-elements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1.5rem;
  justify-content: space-between;
}

#footer .reassurance-element {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0 1rem;
}

#footer .footer-container {
  padding: 2rem 0;
}

#footer .brands-icons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  padding-bottom: 2rem;
}

#footer .block-links-and-newsletter {
  display: grid;
  grid-template-columns: 1fr;
  /* padding-bottom: 2rem; */
}


#footer .block_newsletter {
  background-color: transparent;
}

#footer #block-newsletter-label {
  font-weight: 700;
}

#footer .block-newsletter-description {
  display: block;
  margin-bottom: 1rem;
}

#footer .block_newsletter .block-inputs-email-and-submit {
  display: grid;
  grid-template-columns: 1fr auto;
}

#footer .block_newsletter form input[type=email] {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-color: transparent;
}

#footer .block_newsletter form input[type=submit] {
  font-size: 1rem;
  color: var(--white-color);
  background-color: var(--secondary-color);
  background-image: url(/img/symbols/arrow_right.svg);
  background-size: 18px 12px;
  background-position: calc(100% - 6px) center;
  background-repeat: no-repeat;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border: none;
  padding-right: calc(0.8rem + 18px + 6px);
  padding-left: 0.8rem;
  cursor: pointer;
}

#footer .block_newsletter form input[type=submit]:hover {
  background-color: var(--irrigation-secondaire-color);
}

#footer .footer-container .h3,
#block_myaccount_infos .myaccount-title a {
  font-size: 1.125rem;
  text-transform: inherit;
  color: var(--secondary-color);
}

#footer .footer-container li a {
  color: var(--secondary-color);
}

#footer .footer-container li a:hover {
  color: var(--primary-color);
}

#footer .block-social_network-labels-and-payment_methods {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
  row-gap: 2rem;
}

#footer .block-social {
  text-align: initial;
}

#footer .block-social ul {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 0;
}

#footer .block-social ul li {
  border-radius: 9999px;
  background-color: var(--primary-color);
  margin: 0;
}

#footer .labels-logos {
  display: grid;
  /* grid-template-columns: repeat(3, auto); */
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

#footer .payments-methods-pictos {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

#footer .footer-legal {
  padding: 1rem 0;
}

#footer .legal-element:not(.©-svl-solutions) {
  font-size: .875rem;
}

@media (min-width: 576px) {

  #footer .reassurance-elements {
    grid-template-columns: repeat(4, 1fr);
  }

  #footer .brands-icons {
    grid-template-columns: repeat(4, auto);
  }

  #footer .block-social_network-labels-and-payment_methods {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 767.98px) {

  #footer .block_newsletter {
    padding-top: 0;
    padding-bottom: 2rem;
  }

  #footer .links .title {
    border-bottom-color: var(--secondary-color);
  }

  #footer .links ul>li {
    font-weight: 400;
    margin-bottom: 0;
  }

  #footer .©-svl-solutions {
    display: block;
  }

  #footer .legal-element:nth-child(n+3)::before {
    content: '-';
    display: inline-block;
    margin: 0 0.5rem;
  }

  .block-labels {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .Titre-label {
    justify-self: center;
  }

  #footer .labels-logos {
    grid-template-columns: repeat(3, auto);
    justify-self: center;
  }
}

@media (min-width: 768px) {

  #footer .brands-icons {
    margin-bottom: 2rem;
  }

  #footer .brands-icons::after {
    position: absolute;
    content: '';
    left: 50%;
    transform: translate(-50%);
    display: block;
    width: 60%;
    height: 1px;
    background-color: var(--secondary-color);
    bottom: 0;
  }

  #footer .block-links-and-newsletter {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    justify-self: center;
  }

  #footer .block_newsletter {
    grid-column: 4;
    grid-row: 1;
    height: 100%;
  }

  #footer .block-newsletter-label-and-description {
    padding-left: 11px;
  }

  #footer .block-social_network-labels-and-payment_methods {
    grid-template-columns: repeat(3, auto);
  }

  #footer .legal-elements {
    display: grid;
    grid-template-columns: repeat(5, auto);
    align-items: center;
    justify-content: space-between;
  }

  #footer .©-svl-solutions {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 991.98px) {

  #footer .block-social ul li {
    width: 2rem;
    height: 2rem;
    background-position: center center;
    background-size: contain;
  }
}

@media (min-width: 992px) {

  #footer .reassurance-elements {
    grid-template-columns: repeat(4, auto);
  }
}

@media (min-width: 1200px) {

  body:not(#checkout) #footer .footer-reassurance {
    display: block;
  }

  #footer .block-links-and-newsletter {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 70%;
    justify-self: center;
  }

  .block-links-and-newsletter .links {
    justify-self: center;
  }
}

/*
* FOOTER
*
* FIN
*/


@media (min-width: 576px) {
  .modal-dialog {
    max-width: 100%;
    margin: 30px auto;
  }
}

.custom-radio input[type=radio]:checked+span {
  background-color: var(--primary-color) !important;
}

/* .order-line img {
  width: 100%;
  margin-bottom: 1rem;
} */

/*
*
*
* ** PARTIE MODULES **
*
*
*/

/*
*
* Mega menu
* 
*/
/* .category-depth-level-2 #products {
  display: none;
}
.category-depth-level-2 #PM_ASBlockOutput_11 {
  display: none;
} */

/*
* Module : ProductLabel
*/
.plabel_img {
  max-height: 85% !important;
  max-width: 85% !important;
  background: transparent;
  margin-right: -18px !important;
  top: -10px !important;
}

div .plabel_div {
  z-index: 500 !important;
}


/*
*
* Moyens de paiements
* 
*/
#ps_checkout-payment-method-logo-block-container {
  display: none;
}

/* 
 ** Module -- Wishlist **
 */
body#module-jwishlist-list,
body#module-jwishlist-view {

  .form-control:focus {
    color: #232323;
    background-color: #fff;
    outline: .1875rem solid var(--primary-color);
    border-color: var(--primary-color);
  }

  /* Nom de la wishlist */
  .customer-wishlist .name {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 25px;
  }

  /* Nom du produit */
  .item .product-name {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 20px;
  }

  .minus-quantity,
  .plus-quantity {
    color: var(--primary-color);
  }

  .product-price {
    color: var(--primary-color);
  }

  /* Button : Afficher la liste */
  .btn-primary {
    background-color: var(--secondary-color);
  }

  .btn-primary:hover {
    background-color: var(--primary-color);
  }

  /* Button : Envoyer la liste */
  .open_wishlist_send_form {
    background-color: var(--agroequipment-color);
    border-color: transparent;
  }

  .open_wishlist_send_form:hover {
    background-color: var(--agroequipment-color-hover);
  }

  /* Button : Modifier la liste */
  .open_wishlist_edit_form {
    background-color: var(--irrigation-color);
    border-color: transparent;
  }

  .open_wishlist_edit_form:hover {
    background-color: var(--irrigation-color-hover);
  }

  /* Button : Déplacer la liste */
  .open_wishlist_move_form {
    background-color: var(--agroequipment-color);
    border-color: transparent;
  }

  .open_wishlist_move_form:hover {
    background-color: var(--agroequipment-color-hover);
  }

  /* Button : Supprimer la liste */
  .btn-danger {
    background-color: var(--primary-color);
    border-color: transparent;
  }

  .btn-danger:hover {
    background-color: var(--primary-color-hover);
  }
}