/* Style par défaut */


/*
 * ==========================================================
 * 1defy – style par défaut (mobile first)
 * Auteur : Pagin'up
 * Description : Variables globales et styles de base
 * ==========================================================
 */


/* ------------------------------
    FONTS
    ----------------------------- */
/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/dm-sans-v17-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}    



/* ------------------------------
   VARIABLES ROOT
   ------------------------------ */
:root {

    /* === Couleurs principales === */
    --color-primary: #000000;          /* Noir profond – texte principal */
    --color-brand: #74BC33;        	   /* Vert sapin */

    --wpforms-button-background-color : #74BC33;
    --wpforms-button-background-color : #74BC33;
    --bs-pagination-active-color: #74BC33;
    --bs-pagination-active-bg: #74BC33;
    --bs-pagination-active-border-color: #74BC33;

    --color-brand-light: #c8f0a5;      /* Vert clair */
    --color-border: #ff8c42;           /* Accent secondaire */
    --color-background: #ffffff;       /* Fond global */
    --color-surface: #f9f9f9;          /* Fond des sections */
    --color-border: #e0e0e0;           /* Lignes et bordures */

    /* === Typographie === */
    --font-primary: "DM Sans", sans-serif;
    --font-secondary: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --bs-badge-font-size: 0.85em !important;
    --line-height-base: 1.6;

    /* === Espacements (échelle 4px) === */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    /* === Grille et conteneur === */
    --container-max-width: 1320px;
    --container-padding: 15px;

    /* === Rayons et ombres === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --bs-border-radius: 50px;
    --wpforms-field-border-radius: 50px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

    /* === Transitions === */
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.35s ease-in-out;

    --bs-nav-link-font-weight: bold;
    
}



/* ------------------------------
   STYLES GÉNÉRAUX
   ------------------------------ */
html {
    scroll-behavior: smooth;
}
.dm-sans-regular {
    font-family: var(--font-primary);
	font-optical-sizing: auto;
	font-weight: regular;
	font-style: normal;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-primary);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x:hidden;
}

button.facetwp-reset,
.bg-brand-light {
  background-color: var(--color-brand-light);
}
button.facetwp-reset {
  border:none;
}

.bg-success, .btn-success,
.feedback-btn,
.table-brand-light,
.bg-brand {
  background-color: var(--color-brand) !important;
}
.table-success {
  --bs-table-bg: var(--color-brand-light);  /* pastel */
  --bs-table-border-color: var(--color-brand-light);
}

.feedback-btn {
  color: white;
}
.feedback-btn:hover {
  background-color: black;
  color: white;
}

/* Liens */
a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}
.current_page_item a,
a:hover,
a:focus {
    color: var(--color-brand-light) !important;
    transition: var(--transition-fast);
}
a.badge:hover {
  background-color: var(--color-brand) !important;
}
.section-top-ventes a:hover {
  color: white !important;
}
/* Conteneur général */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    line-height: 1;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}
.color-brand {
  color: var(--color-brand);
}
/* Paragraphes */
p {
    margin-bottom: var(--space-md);
}

/* Boutons */
button.facetwp-reset,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button,
button,
.btn {
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}
.btn-primary {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Sections */
section {
    padding: var(--space-xl) 0;
}



.offcanvas {
    background-color: #fff;
}
.offcanvas .nav li {
    padding: 0.5rem 0;
}
.offcanvas .nav a {
    color: var(--color-primary);
    text-decoration: none;
}
.offcanvas .nav a:hover {
    color: var(--color-brand);
}

/* MENUS */
.nav-link {
    font-weight: bold !important;
}
.dropdown-toggle::after {
    display: none !important;
}
.dropdown-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
}


/* SLIDERS */
.home-slider {
  position: relative;
  width: 100%;
}

.home-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
}

.swiper-button-prev i,
.swiper-button-next i {
  font-size: 1.5rem;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.8;
}



.home-icons .icon-box i {
  color: #000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.home-icons .icon-box:hover i {
  color: var(--color-brand, #74BC33);
  transform: scale(1.1);
}

.home-icons .icon-label {
  font-size: 0.95rem;
  color: #111;
  transition: color 0.3s ease;
}

.home-icons .icon-box:hover .icon-label {
  color: var(--color-brand, #74BC33);
}

.home-icons .active i,
.home-icons .active .icon-label {
  color: var(--color-brand, #74BC33);
}

.border-light {
  --bs-border-opacity: 1;
  border-color: var(--color-border) !important;
}
.home-categories .category-card {
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

.home-categories .category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.home-categories .category-cover img {
  transition: transform .4s ease;
}

.home-categories .category-card:hover img {
  transform: scale(1.05);
}

/* Bandeau du nom */
.home-categories .category-name {
  background-color: var(--color-brand, #74BC33);
  color: #fff;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  padding: .5rem 1rem;
  font-weight: 600;
}
.product-card img {
	transition: var(--transition-base);
}
.product-card:hover img {
	transform: scale(1.2);
}
.product-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem;
}

.product-tag {
  position: relative;
  display: inline-block;
  background-color: var(--color-brand-light, #c8f0a5);
  color: #111;
  font-weight: 600;
  font-size: .65rem;
  padding: .25rem 1.25rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: .02em;
  overflow: hidden;
}

/* Obliques gauche / droite */
.product-tag::before,
.product-tag::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  background: white;
  transform: skewX(-20deg);
}

.product-tag::before {
  left: -5px;
}

.product-tag::after {
  right: -5px;
}

/* Optionnel : léger effet d’ombre pour relief */
.product-tag {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rounded-top {
    border-top-left-radius: var(--bs-border-radius) !important;
    border-top-right-radius: var(--bs-border-radius) !important;
}

/* === Add to Cart capsule === */
.add-to-cart {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #111;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  height: 40px;
  z-index: 1;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
}

/* === Skew à gauche === */
.add-to-cart::before {
  content: "";
  top: 0;
  left: 10px;
  width: 20px;
  position: relative;
  height: 38px;
  background-color: var(--color-brand-light, #74BC33);
  transform: skewX(-25deg);
  transform-origin: left;
  z-index: 0;
}
.add-to-cart i {
  background-color: var(--color-brand-light, #c8f0a5);
}
/* === Arrondi à droite === */
.add-to-cart::after {
  content: "";
  position: relative;
  top: 0;
  right: 0;
  width: 20px;
  height: 39px;
  background-color: var(--color-brand-light, #c8f0a5);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  z-index: 0;
}

/* === Contenu === */
.add-to-cart i {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 1.5rem;
  color: black;
}

/* === Texte WooCommerce (ou futur bouton) === */
.add-to-cart .add_to_cart_button {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: inherit;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0;
  font-size: .8rem;
  transition: color .3s ease;
}

/* === Hover === */
.add-to-cart:hover i,
.add-to-cart:hover::before,
.add-to-cart:hover::after {
  background-color: var(--color-brand, #74BC33);
  transition: var(--transition-fast);
}

.add-to-cart:hover i {
  color: #fff;
}

.product-gallery img {
  width: 100%;
  object-fit: cover;
}
.thumbs-swiper img {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.thumbs-swiper .swiper-slide-thumb-active img {
  opacity: 1;
}
.main-swiper {
  position: relative;
}
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  color: var(--color-brand);
}
/* === SWIPER GALLERY FIX === */
.product-gallery {
  position: relative;
  overflow: visible;
}

.thumbs-swiper {
  height: 100%;
  max-height: 550px; /* ou adapte selon ta maquette */
}

.thumbs-swiper .swiper-wrapper {

}

.thumbs-swiper .swiper-slide {
  width: 100%;
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  transform: scale(1.05);
}

.thumbs-swiper img {
  width: 100%;
  object-fit: cover;
}

.main-swiper {
  width: 100%;
}

.main-swiper img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1/1;
}

.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper[data-attribute_name="attribute_pa_conditionnement"] .variable-item:not(.radio-variable-item) {
	width: auto;
	background-color: black !important;
	border-radius: var(--bs-border-radius) !important;
	padding: var(--space-md);
	color: white;
}
.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper[data-attribute_name="attribute_pa_conditionnement"] .variable-item:not(.radio-variable-item) .variable-item-span {
	border-radius: initial;
	overflow: initial;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) {
	background-color: var(--color-brand) !important;
	color: white !important;
	border:none !important;
}
.bold {
	font-weight: bold;
}

.btn-link,
.text-brand {
	color: var(--color-brand) !important;
}

.single-post .section h3,
.text-brand-light {
  color: black !important;
  font-size: calc(1.15rem + .6vw)
}
.single-post .section h4 {
    font-size: calc(.9rem + .3vw);
}



.mini-galerie {
  margin-top: 3rem;
}

.mini-galerie h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.mini-galerie-grid {
  column-count: 3;            /* Nombre de colonnes */
  column-gap: 1rem;           /* Espace entre colonnes */
}

.mini-image {
  break-inside: avoid;        /* Évite la coupure d'images */
  margin-bottom: 1rem;
  overflow: hidden;
}

.mini-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.mini-image img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .mini-galerie-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .mini-galerie-grid {
    column-count: 1;
  }
}

cite {
  font-style: normal;
  line-height: 1;
  display: block;
  position: relative;
}
.lead.bold.text-secondary::before {
  content: "“ ";
  color: var(--bs-secondary);
  top: 0;
  right: 10px;
}

.lead.bold.text-secondary::after {
  content: " ”";
  color: var(--bs-secondary);
  bottom: 0;
  left: 10px;
}
.lead.bold.text-secondary::before,
.lead.bold.text-secondary::after {
  opacity: 0.7;
  font-size: 1.4em;
  vertical-align: top;
  position: relative;
}
.rounded-bottom-custom {
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

/* === Onglets produits === */
.product-tabs {
  border-bottom: 1px solid #e9ecef;
  gap: 2rem;
}

.product-tabs .nav-link {
  border: none;
  background: none;
  color: #333;
  font-weight: 500;
  padding: 0.75rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.product-tabs .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.product-tabs .nav-link:hover {
  color: #5cb85c; /* couleur hover */
}

.product-tabs .nav-link:hover::after {
  background-color: #5cb85c;
}

.product-tabs .nav-link.active {
  color: #5cb85c; /* couleur active */
  font-weight: 600;
}

.product-tabs .nav-link.active::after {
  background-color: #5cb85c;
}
/*
.woocommerce-variation-description {
  display: none; 
}
*/
form.searchwp-form input.swp-input--search {
  border:0 !important;
}
form.searchwp-form .searchwp-form-input-container .swp-input:focus-visible {
  background-color: var(--color-brand-light) !important;
  border: 0 !important;
  outline: 0;
}

/* --- Bloc Add to Cart Custom --- */
.custom-add-to-cart, .searchwp-form-input-container {
  display: flex;
  align-items: stretch; /* Étire enfants sur même hauteur */
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
  height: 45px; /* Hauteur uniforme, ajustable */
  background-color: var(--color-brand-light)
}

/* Bloc quantité vert */
.custom-add-to-cart .quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 100%;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.custom-add-to-cart .quantity input {
  border: none;
  background: transparent;
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  height: auto;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.custom-add-to-cart .quantity input:focus {
  outline: none;
  box-shadow: none;
}

/* Bouton noir arrondi */
.custom-add-to-cart .single_add_to_cart_button {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.1s ease-in-out;
  height: 100%;
  position: relative;
}


/* ✅ Pseudo-élément : triangle/skew entre vert et noir */
.custom-add-to-cart .single_add_to_cart_button::before {
  content: "";
  position: absolute;
  left: -12px; /* décalage horizontal du skew */
  top: 0;
  width: 38px;
  height: 100%;
  background: #000;
  transform: skewX(-20deg);
  transform-origin: left;
  transition: background 0.3s ease, transform 0.1s ease-in-out;
}

.custom-add-to-cart .single_add_to_cart_button:hover {
  background-color: #222;
  transform: translateY(-1px);
}

/* Icône panier */
.custom-add-to-cart .single_add_to_cart_button i {
  font-size: 17px;
  line-height: 1;
}

/* Supprime marges WooCommerce par défaut */
form.cart {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 480px) {
  .custom-add-to-cart {
    width: 100%;
    justify-content: space-between;
  }
  .custom-add-to-cart .single_add_to_cart_button {
    flex: 1;
    justify-content: center;
  }
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  background-color: black;
  padding-left:24px;
}

/* ✅ Skew devient couleur de marque au hover */
.custom-add-to-cart .single_add_to_cart_button:hover::before,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
  background-color: var(--color-brand) !important;
}

/* === Floating Add to Cart === */
.floating-add-to-cart {
  position: fixed;
  bottom: 30px;
  left: 50%;
  margin-left: -20%;
  width: 40%;
  background-color: #d5f2b8;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform: translateY(100%);
  opacity: 0;
}

.floating-add-to-cart.visible {
  transform: translateY(0);
  opacity: 1;
}

.floating-add-to-cart img {
  max-height: 60px;
}

/* === Bouton Add to Cart stylé === */
.btn-floating-addtocart {
  position: relative;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 26px 10px 44px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}


.btn-floating-addtocart:hover {
  background-color: white;
  color: black;
  transform: translateY(-1px);
}

.btn-floating-addtocart i {
  font-size: 18px;
}

body.has-floating-cart {
  padding-bottom: 80px;
}

.dropdown-menu {
  border-radius: 0 !important;
}

/* --- Style capsule quantité + bouton --- */

/* --- Capsule quantité + bouton --- */
.add-to-cart-wrapper {
  border-radius: 9999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.add-to-cart-wrapper .quantity {
  margin: 0;
}

.add-to-cart-wrapper input.qty {
  width: 85px !important;
  height: 52px !important;
  border: none;
  background: #c8f1bb; /* vert clair */
  color: #000;
  text-align: center;
  font-weight: 600;
  border-radius: 9999px 0 0 9999px;
  padding: 0;
  font-size: 16px;
  -moz-appearance: textfield;
}

.add-to-cart-wrapper input.qty::-webkit-outer-spin-button,
.add-to-cart-wrapper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stylish-add-to-cart-btn {
  background-color: #000 !important;
  color: #fff !important;
  font-weight: 700;
  border: none;
  padding: 12px 22px;
  border-radius: 0 9999px 9999px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.stylish-add-to-cart-btn:hover {
  background-color: #222 !important;
}

.stylish-add-to-cart-btn i {
  font-size: 1.1rem;
  margin-left: 6px;
}


.swiper-button-next:after, .swiper-button-prev:after {
  display: none !important;
}

.summary {
  position: sticky;
  top: 100px; /* distance à partir du haut de la fenêtre */
  align-self: start; /* utile si ta row utilise flex */
  height: fit-content;
}

/* Supprimer les bordures arrondies sur les boutons de l'accordéon */
.accordion,
.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-button {
  border: 0;
  border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
    color: black !important;

    box-shadow: none !important;
    padding: 5px;
}
.lineheight1 {
  line-height: 1;
}
.mega-menu .dropdown-menu {
  left: 0;
  right: 0;
  top: 100%;
  border: none;
  border-radius: 0;
  background: #fff;
}

.mega-menu .dropdown-menu .row {
  display: flex;
  flex-wrap: wrap;
}

.mega-menu .dropdown-menu a {
  display: block;
  padding: 4px 0;
  color: #000;
  text-decoration: none;
}

.mega-menu .dropdown-menu a:hover {
  text-decoration: underline;
}


/* Structure de base */
.wpforms-field-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}


/* Style par défaut des labels (boutons) */
.btn-1defy,
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label,
div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input+label {
  display: inline-block;
  background-color: var(--color-brand-light);
  border: 2px solid var(--color-brand-light);
  border-radius: 50px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
  user-select: none;
  box-shadow: 0 0 0 transparent;
}

/* Hover (non sélectionné) */
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label:hover {
  background-color: #e7f3eb;
  border-color: #157347;
  color: #157347;
}

/* ✅ État sélectionné (coché) */
.btn-1defy:hover,
.wpforms-field-checkbox input[type="checkbox"]:checked + label {
  background-color: black !important;
  color: #fff !important;
  border-color: black !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
}

/* État actif au clic */
.wpforms-field-checkbox input[type="checkbox"] + label:active {
  transform: scale(0.97);
}

/* Focus clavier accessible */
.wpforms-field-checkbox input[type="checkbox"]:focus + label {
  outline: 3px solid #a3cfbb;
  outline-offset: 2px;
}


.list-inline.equal-width .btn {
  width: 100%;
  display: block;
  text-align: center;
}
.list-inline.equal-width .list-inline-item {
  flex: 1;
}

div.wpforms-container-full.bilan1defy .wpforms-field.wpforms-field-checkbox ul li input {
  display: none;
}

div.wpforms-container-full .wpforms-page-button {
  background-color: transparent !important;
  color: black !important;
}

div.wpforms-container-full.bilan1defy .wpforms-field {
  display: flex;;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
div.wpforms-container-full .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-page-button:hover {
  background: transparent !important;
  color: var(--color-brand) !important;
}

.single-post table,
.table.table-striped {
  width: 100% !important;
}

#ing .table-striped > tbody > tr:nth-of-type(1) > *,
.product-description table tr:first-child,
#ing table tr:first-child {
  /* style à appliquer */
  font-weight: 600;
  background-color: var(--color-brand-light);
}
.product-description table tr:nth-child(odd):not(:first-child),
#ing table tr:nth-child(odd):not(:first-child) {
  /* ton style ici */
  background-color: var(--color-surface);
}
.product-description table td,
#ing table td {
  padding: 5px 10px;
  vertical-align: top;
}


#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
  border-radius: var(--bs-border-radius) !important;
}

.woocommerce-variation-description {
  display: none !important;
}
.button,
.woocommerce .cart .button, .woocommerce .cart input.button {
    font-weight: 500;
    border-radius: var(--bs-border-radius) !important;
    color: white !important;
}

.woocommerce .cart .button:hover, .woocommerce .cart input.button:hover {
    font-weight: 500;
    border-radius: var(--bs-border-radius) !important;
    background-color: var(--color-brand) !important;
}

#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
  min-width: 120px !important;
}


.checkout-button,
.button.alt,
.wc-proceed-to-checkout a {
    display: inline-block !important;
}

.woocommerce-shipping-contents {
  display: none !important;
}

.pickup-location-field .pickup-location-schedule ul, .pickup-location-field .pickup-location-schedule li {
  margin: 0;
  padding: 0;
}

/* Transforme #order_review en 2 colonnes */
#order_review {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Colonne gauche = récap */
#order_review .woocommerce-checkout-review-order-table {
    flex: 1 1 55%;
    min-width: 300px;
}

/* Colonne droite = paiements */
#order_review #payment {
    flex: 1 1 100%;
    min-width: 300px;
    margin-top: 0 !important; /* WooCommerce ajoute un margin sinon */
}

/* Fix duplications visuelles */
#order_review .place-order {
    width: 100%;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: var(--color-brand-light) !important;
}

form.checkout_coupon {
    display: block !important;
}

.woocommerce form.checkout_coupon {
  border: none !important;
  padding: 0;
  margin: 0;
}


/* ---- STYLES CARDS POUR LES MÉTHODES DE PAIEMENT ---- */
.wc-payment-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    background: #fafafa;
}

.wc-payment-card:hover {
    border-color: #ccc;
    background: #f5f5f5;
}

.wc-payment-card.selected {
    border-color: #0071a1;
    background: #e9f6ff;
    box-shadow: 0 0 0 3px rgba(0,113,161,0.15);
}

.wc-payment-card input[type="radio"] {
    display: none;
}

.wc-payment-card .method-icon {
    flex-shrink: 0;
}

.wc-payment-card .method-title {
    font-size: 16px;
    font-weight: 600;
}
.wc_payment_method:hover label,
.form-check-input:hover {
  cursor: pointer;
}
.shipping_method:checked,
.form-check-input:checked {
    background-color: var(--color-brand) !important;
    border-color: var(--color-brand) !important;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
  border: 1px solid rgba(0,0,0,.1) !important;
}


.agJsWidget, #agWidget-1 {
  display: none !important;
}

.pickup-location-field .ui-datepicker-trigger {
  margin-top: 6px !important;
}

.pickup-location-field .pickup-location-address {
  line-height: 1;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    font-size: initial;
    color: black;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: var(--color-brand) !important;
    color: white;
    font-weight: bold;
    border-top: 3px solid var(--color-brand-light);
    list-style: none outside;
    width: 60%;
    border-radius: 50px;
    justify-content: space-between;
    margin: 45px auto;
}

.woocommerce-message::before {
    content: "\e015";
    color: white;
}




tr.order-total {
  vertical-align: top;
}

@media (min-width: 992px) {
  .single-product .product-gallery-sticky {
    position: sticky;
    top: 80px; /* marge sous le header */
    align-self: flex-start; /* nécessaire dans Bootstrap */
    height: fit-content; /* évite les étirements */
    z-index: 2;
  }
}

.wooco-wrap .wooco-summary {
  display: none !important;
}

.navbar-brand img {
  max-height: 90px;
}

.tiered-pricing-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0px 0 30px;
}

.wr-order-points-preview .item {
    display: block !important;
    justify-content: center;
    align-items: center;
    color: black !important;
    border: none !important;
}

.wr-order-points-preview .item.line .details {
  padding: 0 !important;
  border: none !important;
}

.preview-total-line {
  margin-top: 10px;
}

.qty-btn {
    width: 20px;
    height: 26px;
    border: 1px solid #ddd;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 0px;
    position: absolute;
    right: 0;
}

.qty-btn:hover {
    background: #eee;
}

.quantity input.qty {
    width: 60px;
    text-align: center;
}

.qty-minus {
  bottom: 0;
}

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 999; /* supérieur aux offcanvas & contenus */
}

/* Navbar normale */
.main-navbar {
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

/* État sticky */
.main-navbar.is-sticky {
  padding-bottom: 0.5rem !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* Logo réduit */
.main-navbar.is-sticky .navbar-brand img {
  height: 50px;
}

.section-top-ventes .badge-format.bg-white {
  background: var(--color-brand) !important;
}
.section-top-ventes .add-to-cart i,
.section-top-ventes .add-to-cart::before,
.section-top-ventes .add-to-cart::after {
  background: var(--color-brand) !important;
}

/* ===== HOME ICONS STICKY (homepage only) ===== */
/* ===== HOME ICONS BASE ===== */
/* NAVBAR */

/* HOME ICONS */
.home .home-icons {
  position: sticky;
  top: var(--navbar-height);
  z-index: 99;
  background: #fff;
  transition: padding 0.25s ease;
}

/* ÉTAT COMPACT */
.home .home-icons.is-sticky {
  padding-top: 0 !important;
  padding-bottom: .25rem !important;
}

/* Masquer icônes */
.home .home-icons.is-sticky i {
  display: none !important;
}

/* ===== SECONDARY MENU ===== */
.secondary-navbar {
  position: sticky;
  top: var(--navbar-height);
  z-index: 888;
  padding: .25rem !important;
}

.secondary-nav > li > a {
  padding: .75rem 1rem;
  font-weight: 500;
  color: #333;
}

.secondary-nav > li > a:hover,
.secondary-nav > li.current-menu-item > a {
  color: var(--color-brand);
}

.alignright {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
}
.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
}
.wp-caption.alignleft ~ ul,
.wp-caption.alignright ~ ul {
  display: flow-root;
}

.swiper-button-prev,
.swiper-button-next {
  background: transparent !important;
  border:none;
}

.swiper-button-prev i:before,
.swiper-button-next i:before {
  color: black;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--color-brand) !important;
}

.woocommerce-account .addresses .title .edit {
  float: none;
}


.facetwp-pager {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.mrwp a {
  background: #96154A !important;
  color: white;
  display: inline-block;
  border-radius: 5px;
  text-align: center;
  padding: 2px 5px;
}

.mrwpbutton {
  display: inline-block;
}

.subheader {
  background-color: var(--color-brand-light);
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 0 !important;
}
.w-10 {
  width: 10%;
}

.fiche-produit a,
.product-description a {
  color: var(--color-brand) !important;
  text-decoration: underline !important;
}

.cart-wrapper.is-updating::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.6);
  z-index: 10;
}

.cart-wrapper.is-updating::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px;
  border: 3px solid rgba(0,0,0,.15);
  border-top-color: #000;
  border-radius: 50%;
  animation: cart-spin .6s linear infinite;
  z-index: 11;
}

@keyframes cart-spin {
  to { transform: rotate(360deg); }
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
  background-color: var(--color-surface) !important;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    content: "";
    display: block;
    border: 1em solid var(--color-surface);
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    top: -.75em;
    left: 0;
    margin: -1em 0 0 2em;
}

.payment_method_stripe_applepay img {
  width: 50px;
}

.devis-validation {
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 18px;
}

.devis-validation--success {
    background: #e8f7ef;
    color: #1e7e34;
}

.devis-validation--refused {
    background: #fdecea;
    color: #b02a37;
}

.devis-validation--error {
    background: #fff3cd;
    color: #856404;
}

/* WooCommerce – Supprimer le doublon Expédition en express checkout */
.woocommerce-checkout.processing tr.woocommerce-shipping-total.shipping + 
tr.woocommerce-shipping-total.shipping {
    display: none;
}
/* Avant initialisation Swiper */
.home-slider:not(.swiper-initialized) .swiper-slide {
  display: none;
}

.home-slider:not(.swiper-initialized) .swiper-slide.slide-lcp {
  display: block;
}


.wp-caption-text {
  font-size: .85em;
  text-align: center;
}

.section table {
  width: 100%;
  margin: 15px;
}
.section table td {
  padding: 3px 5px;
  border-bottom: 1px solid #e5e5e5;
}

#affwp-custom-links-table,
#affwp-custom-link-generator {
display: none;
}



/* Barre de progression pour le cadeau */
.gift-progress-container {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.gift-progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gift-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.gift-progress-text {
    font-size: 0.9rem;
    color: #495057;
}

.gift-progress-message {
    display: block;
    margin-top: 5px;
    font-weight: 500;
    color: #28a745;
}

.gift-progress-message.highlight {
    color: #dc3545;
    font-weight: 600;
}

/* Animation quand le seuil est atteint */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gift-progress-bar.completed .gift-progress-fill {
    animation: pulse 1.5s infinite;
}
.affwp-custom-link-generator,
#affwp-custom-link-generator {
  display: none !important;
}

.sections a {
  color: var(--color-brand) !important;
}

.topvente-tabs .nav-link{
border-radius:50px;
padding:10px 22px;
font-weight:600;
color:var(--color-brand);
background:white;
border:2px solid var(--color-brand);
transition:all .2s ease;
}

.topvente-tabs .nav-link.active{
background:var(--color-brand);
color:white;
border-color:var(--color-brand);
}

.topvente-tabs .nav-link:hover{
  background:var(--color-brand-light);
  color:var(--color-brand);
  border-color:var(--color-brand);
}
.points-preview a {
  font-weight: bold;
  color: black;
}
.points-preview a:hover {
  color: white !important;
}

.facetwp-page {
    display: inline-block;
    padding: 0px 4px;
    margin-right: 6px;
    cursor: pointer;
}

.text-rwp-widget-heading[x-text="currencyPlural"],
#rwp-rewards-panel [x-show*="pointsEnabled"] h3[x-text="currencyPlural"],
#rwp-rewards-panel [x-show="memberId === 0 && pointsEnabled"] h3[x-text="currencyPlural"] {
    display: none !important;
}

.facetwp-facet-reset {
  display: flex;
  justify-content: flex-end;
  margin-top: 7px;
}

figure.wp-caption {
  max-width: 100% !important;
}

.reinsurance-content h3 {
  min-height: 50px;
}