@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//medicase.tn/wp-content/themes/woodmart1/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//medicase.tn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(4,117,98);
	--wd-alternative-color: rgb(188,188,188);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(67,115,99);
	--btn-accented-bgcolor-hover: rgb(67,115,99);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(67,115,99);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(188,188,188);
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 600px;
	--wd-popup-padding: 30px;
}
.header-banner {
	background-color: rgb(11,95,82);
	background-image: none;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(226,241,236);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(237,237,237);
	background-image: none;
	background-size: cover;
	background-attachment: inherit;
	background-position: right center;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-brd-color-focus: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(221,95,95);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 10px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 122px;
	--wd-thumbs-height: 510px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
--wd-cat-brd-radius: 5px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* =========================================================================
   MEDICASE – Cartes de catégories « Glass » v3 – version CLAIRE
   Woodmart : grille + carrousel de catégories (desktop et mobile)
   À coller dans Custom CSS. Remplace v2 (ne gardez qu'un seul fichier).

   Changements par rapport à la v2 :
   - panneau de verre blanc givré (au lieu du vert foncé) avec texte sombre
   - voile sur la photo presque supprimé : la photo reste lumineuse
   - ombres teintées vert clair, fond de repli menthe
   - flèche vert marque, qui passe au vert menthe au survol
   ========================================================================= */

:root {
  --mcg-primary: #047462;
  --mcg-primary-light: #0a8f79;
  --mcg-deep: #02382f;
  --mcg-accent: #2ee6c0;
  --mcg-ink: #0f2a25;
  --mcg-ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 0. NETTOYAGE : cadre parasite autour de la carte ---------- */
body .wd-cat,
body .product-category {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}
body .wd-cat::before,
body .wd-cat::after,
body .product-category::before,
body .product-category::after { display: none !important; }
body .wd-cat .product-wrapper,
body .product-category .product-wrapper {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ---------- 1. CARTE ---------- */
body .wd-cat .wd-cat-inner,
body .product-category .wd-cat-inner {
  position: relative !important;
  display: block !important;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 24px !important;
  background: linear-gradient(155deg, #ffffff 0%, #ffffff 100%) !important;
  box-shadow: 0 1px 2px rgba(2, 56, 47, .06), 0 18px 34px -22px rgba(4, 116, 98, .5) !important;
  transition: transform .5s var(--mcg-ease), box-shadow .5s var(--mcg-ease);
}
body .wd-cat:hover .wd-cat-inner,
body .product-category:hover .wd-cat-inner {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(2, 56, 47, .08), 0 30px 48px -24px rgba(4, 116, 98, .65) !important;
}

/* léger voile menthe en haut seulement : la photo reste claire */
body .wd-cat .wd-cat-inner::before,
body .product-category .wd-cat-inner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  background: linear-gradient(180deg, rgba(46, 230, 192, .14) 0%, rgba(46, 230, 192, 0) 40%);
  pointer-events: none;
}

/* ---------- 2. PHOTO PLEIN CADRE ---------- */
body .wd-cat .wd-cat-thumb,
body .product-category .wd-cat-thumb {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: none !important;
}
body .wd-cat .wd-cat-thumb img,
body .product-category .wd-cat-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center;
  mix-blend-mode: normal !important;
  filter: saturate(1.05) brightness(1.03) !important;
  transform: scale(1.02);
  transition: transform .8s var(--mcg-ease);
}
body .wd-cat:hover .wd-cat-thumb img,
body .product-category:hover .wd-cat-thumb img { transform: scale(1.1); }

/* le lien couvre toute la carte */
body .wd-cat .category-link,
body .product-category .category-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
}

/* ---------- 3. PANNEAU DE VERRE BLANC GIVRÉ ---------- */
body .wd-cat .wd-cat-inner .wd-cat-header,
body .product-category .wd-cat-inner .wd-cat-header {
  position: absolute !important;
  inset: auto 10px 10px 10px !important;
  z-index: 3;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 3px;
  width: auto !important;
  height: auto !important;
  min-height: 64px;
  margin: 0 !important;
  padding: 12px 64px 12px 16px !important;
  overflow: hidden;
  text-align: left !important;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  /* repli si le flou n'est pas pris en charge */
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(2, 56, 47, .45);
  pointer-events: none;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body .wd-cat .wd-cat-inner .wd-cat-header,
  body .product-category .wd-cat-inner .wd-cat-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(232, 248, 244, .66)) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
  }
}
/* reflet au survol */
body .wd-cat .wd-cat-header::before,
body .product-category .wd-cat-header::before {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(46, 230, 192, .35), transparent);
  transform: skewX(-20deg);
}
body .wd-cat:hover .wd-cat-header::before,
body .product-category:hover .wd-cat-header::before {
  left: 130%;
  transition: left .9s var(--mcg-ease);
}

/* flèche ronde vert marque */
body .wd-cat .wd-cat-header::after,
body .product-category .wd-cat-header::after {
  content: "→";
  position: absolute;
  right: 12px; top: 50%;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 50%;
  background: var(--mcg-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 16px -8px rgba(4, 116, 98, .8);
  transition: transform .5s var(--mcg-ease), background .3s, color .3s;
}
body .wd-cat:hover .wd-cat-header::after,
body .product-category:hover .wd-cat-header::after {
  transform: translateY(-50%) rotate(0deg);
  background: var(--mcg-accent);
  color: var(--mcg-deep);
}

/* ---------- 4. TEXTES ---------- */
body .wd-cat .wd-cat-header .wd-entities-title,
body .product-category .wd-cat-header .wd-entities-title,
body .product-category .woocommerce-loop-category__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  color: var(--mcg-ink) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.1px !important;
  text-transform: none !important;
  text-shadow: none !important;
}
body .wd-cat .wd-cat-header .wd-cat-count,
body .wd-cat .wd-cat-header .more-products,
body .product-category .count,
body .product-category mark.count {
  order: 2;
  padding: 0 !important;
  background: none !important;
  color: var(--mcg-primary) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

/* ---------- 5. CARROUSEL ---------- */
body .wd-carousel-container .wd-cat { padding-block: 6px 14px !important; }
body .wd-nav-arrows .wd-btn-arrow,
body .wd-cats .wd-btn-arrow {
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -12px rgba(2, 56, 47, .45);
  color: var(--mcg-primary);
  transition: background .3s, color .3s, transform .3s var(--mcg-ease);
}
body .wd-nav-arrows .wd-btn-arrow:hover,
body .wd-cats .wd-btn-arrow:hover {
  background: var(--mcg-primary);
  color: #fff;
  transform: scale(1.08);
}

/* ---------- 6. TABLETTE ---------- */
@media (max-width: 1024px) {
  body .wd-cat .wd-cat-inner .wd-cat-header { padding-right: 58px !important; }
  body .wd-cat .wd-cat-header .wd-entities-title { font-size: 16px !important; }
}

/* ---------- 7. MOBILE (2 colonnes) ---------- */
@media (max-width: 767px) {
  body .wd-cat .wd-cat-inner,
  body .product-category .wd-cat-inner {
    aspect-ratio: 3 / 4;
    border-radius: 18px !important;
  }
  body .wd-cat .wd-cat-inner .wd-cat-header,
  body .product-category .wd-cat-inner .wd-cat-header {
    inset: auto 7px 7px 7px !important;
    min-height: 50px;
    padding: 9px 44px 9px 11px !important;
    border-radius: 13px;
    gap: 1px;
  }
  body .wd-cat .wd-cat-header .wd-entities-title,
  body .product-category .woocommerce-loop-category__title {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }
  body .wd-cat .wd-cat-header .wd-cat-count,
  body .wd-cat .wd-cat-header .more-products { font-size: 11px !important; }
  body .wd-cat .wd-cat-header::after,
  body .product-category .wd-cat-header::after {
    right: 7px;
    width: 30px; height: 30px;
    font-size: 14px;
  }
  /* tactile : pas d'effets de survol bloqués après un appui */
  body .wd-cat:hover .wd-cat-inner,
  body .product-category:hover .wd-cat-inner { transform: none; }
  body .wd-cat:hover .wd-cat-thumb img { transform: scale(1.02); }
  body .wd-cat .wd-cat-header::after { transform: translateY(-50%) rotate(0deg); }
}
@media (max-width: 380px) {
  body .wd-cat .wd-cat-header .wd-entities-title { font-size: 12.5px !important; }
  body .wd-cat .wd-cat-header .wd-cat-count { display: none !important; }
}

/* ---------- 8. ACCESSIBILITÉ ---------- */
body .wd-cat a:focus-visible,
body .product-category a:focus-visible {
  outline: 3px solid var(--mcg-primary);
  outline-offset: 3px;
  border-radius: 24px;
}
@media (prefers-reduced-motion: reduce) {
  body .wd-cat *, body .wd-cat *::before, body .wd-cat *::after,
  body .product-category *, body .product-category *::before, body .product-category *::after {
    transition-duration: .01ms !important;
    animation: none !important;
  }
}


/* =========================================================
   MEDICASE – Header Woodmart premium
   Couleur de marque : #047462
   À coller dans : Woodmart > Options du thème > Custom CSS
   (ou Apparence > Personnaliser > CSS additionnel)
   ========================================================= */

:root {
  --mc-primary: #047462;
  --mc-primary-dark: #035a4c;
  --mc-primary-deep: #02382f;
  --mc-primary-light: #e6f4f1;
  --mc-accent: #2ee6c0;
  --mc-ink: #12332d;
  --mc-radius: 14px;
  --mc-shadow: 0 10px 30px -12px rgba(4, 116, 98, .35);
  --mc-ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 1. BARRE SUPÉRIEURE ---------- */
.whb-top-bar {
  background: linear-gradient(100deg, var(--mc-primary-deep) 0%, var(--mc-primary) 55%, #06927a 100%) !important;
  border-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}
/* reflet lumineux discret qui traverse la barre */
.whb-top-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: mcShine 7s var(--mc-ease) infinite;
  pointer-events: none;
}
@keyframes mcShine {
  0%, 70% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}
.whb-top-bar, .whb-top-bar a, .whb-top-bar .wd-header-text {
  color: #fff !important;
  font-weight: 500;
  letter-spacing: .2px;
}
.whb-top-bar a { transition: color .25s, opacity .25s; }
.whb-top-bar a:hover { color: var(--mc-accent) !important; }

/* icônes sociales en pastilles */
.whb-top-bar .wd-social-icons a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  transition: transform .3s var(--mc-ease), background .3s;
}
.whb-top-bar .wd-social-icons a:hover {
  background: #fff;
  color: var(--mc-primary) !important;
  transform: translateY(-3px) rotate(-6deg);
}

/* ---------- 2. HEADER PRINCIPAL ---------- */
.whb-general-header {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(4, 116, 98, .1) !important;
  box-shadow: 0 8px 28px -20px rgba(4, 116, 98, .5);
}
.whb-general-header .site-logo img {
  transition: transform .5s var(--mc-ease), filter .5s;
}
.whb-general-header .site-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 10px rgba(4, 116, 98, .25));
}
/* ---------- FIX : résultats de recherche cachés sous "Nos catégories" ---------- */
.whb-general-header {
  position: relative;
  z-index: 400;           /* au-dessus de la barre de navigation */
}
.whb-header-bottom {
  position: relative;
  z-index: 1;
}
/* la liste de résultats elle-même */
.wd-search-results-wrapper,
.wd-dropdown-results,
.wd-search-results {
  z-index: 9999 !important;
}

/* ---------- 3. RECHERCHE ---------- */
.whb-general-header .wd-search-form .searchform input[type="text"],
.whb-general-header .searchform input.s {
  height: 46px;
  padding-inline: 20px 50px;
  border: 1.5px solid rgba(4, 116, 98, .18) !important;
  border-radius: 50px !important;
  background: var(--mc-primary-light) !important;
  color: var(--mc-ink);
  box-shadow: none !important;
  transition: all .35s var(--mc-ease);
}
.whb-general-header .searchform input.s:focus {
  background: #fff !important;
  border-color: var(--mc-primary) !important;
  box-shadow: 0 0 0 5px rgba(4, 116, 98, .14), var(--mc-shadow) !important;
  transform: translateY(-1px);
}
.whb-general-header .searchform .searchsubmit {
  color: var(--mc-primary) !important;
  transition: transform .3s var(--mc-ease);
}
.whb-general-header .searchform .searchsubmit:hover { transform: scale(1.2); }

/* ---------- 4. COMPTE + PANIER ---------- */
.whb-general-header .wd-header-my-account a {
  font-weight: 600;
  color: var(--mc-ink) !important;
  position: relative;
}
.whb-general-header .wd-header-my-account a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--mc-primary);
  transition: width .35s var(--mc-ease);
}
.whb-general-header .wd-header-my-account a:hover::after { width: 100%; }

.wd-header-cart .wd-tools-icon {
  width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}
.wd-header-cart:hover .wd-tools-icon {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.wd-header-cart:hover .wd-tools-icon::before { color: #fff !important; }
.wd-header-cart .wd-tools-count {
  background: var(--mc-primary) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 0 0 3px #fff;
  animation: mcPulse 2.4s ease-in-out infinite;
}
@keyframes mcPulse {
  0%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px rgba(4, 116, 98, .5); }
  50%      { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(4, 116, 98, 0); }
}

/* ---------- 5. BARRE DE NAVIGATION ---------- */
.whb-header-bottom {
  background: #fff !important;
  border-bottom: 1px solid rgba(4, 116, 98, .08) !important;
}

/* bouton "Nos catégories" */
.wd-header-cats .menu-opener {
  background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%) !important;
  color: #fff !important;
  border-radius: var(--mc-radius) var(--mc-radius) 0 0 !important;
  font-weight: 700;
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
  transition: filter .3s, box-shadow .3s;
}
.wd-header-cats .menu-opener:hover {
  filter: brightness(1.08);
  box-shadow: 0 -4px 20px -6px rgba(4, 116, 98, .5);
}
.wd-header-cats .menu-opener::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--mc-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--mc-ease);
}
.wd-header-cats .menu-opener:hover::after { transform: scaleX(1); }

/* menu principal : soulignement animé */
.whb-header-bottom .wd-nav-main > li > a {
  position: relative;
  font-weight: 600;
  color: var(--mc-ink) !important;
  transition: color .25s;
}
.whb-header-bottom .wd-nav-main > li > a::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 8px;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mc-primary), var(--mc-accent));
  transform: translateX(-50%);
  transition: width .4s var(--mc-ease);
}
.whb-header-bottom .wd-nav-main > li:hover > a,
.whb-header-bottom .wd-nav-main > li.current-menu-item > a {
  color: var(--mc-primary) !important;
}
.whb-header-bottom .wd-nav-main > li:hover > a::before,
.whb-header-bottom .wd-nav-main > li.current-menu-item > a::before {
  width: 70%;
}

/* sous-menus */
.wd-dropdown-menu, .wd-dropdown {
  border: 0 !important;
  border-top: 3px solid var(--mc-primary) !important;
  border-radius: 0 0 var(--mc-radius) var(--mc-radius) !important;
  box-shadow: 0 24px 50px -20px rgba(2, 56, 47, .35) !important;
}
.wd-sub-menu li a { transition: padding .25s var(--mc-ease), color .25s; }
.wd-sub-menu li a:hover { padding-inline-start: 8px; color: var(--mc-primary) !important; }

/* ---------- 6. BOUTONS "PROMOTIONS" & "ESPACE PROFESSIONNEL" ----------
   Astuce : dans Woodmart > Header Builder, ajoutez la classe CSS
   "mc-btn-promo" au bouton Promotions et "mc-btn-pro" à l'autre.      */

/* Promotions : gris -> dégradé vert + effet brillance */
.mc-btn-promo, .mc-btn-promo a, a.mc-btn-promo {
  background: linear-gradient(135deg, var(--mc-primary) 0%, #06a58a 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50px !important;
  padding: 11px 24px !important;
  font-weight: 700;
  letter-spacing: .4px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--mc-shadow);
  transition: transform .3s var(--mc-ease), box-shadow .3s;
}
.mc-btn-promo::after, a.mc-btn-promo::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: mcSweep 3.8s ease-in-out infinite;
}
@keyframes mcSweep {
  0%, 55% { left: -80%; }
  100%    { left: 140%; }
}
.mc-btn-promo:hover, a.mc-btn-promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(4, 116, 98, .6);
}

/* Espace professionnel : contour -> remplissage au survol */
.mc-btn-pro, .mc-btn-pro a, a.mc-btn-pro {
  background: transparent !important;
  color: var(--mc-primary) !important;
  border: 2px solid var(--mc-primary) !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color .35s, transform .3s var(--mc-ease), box-shadow .3s;
}
.mc-btn-pro::before, a.mc-btn-pro::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--mc-primary);
  transform: translateY(101%);
  transition: transform .45s var(--mc-ease);
  z-index: -1;
}
.mc-btn-pro:hover, a.mc-btn-pro:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: var(--mc-shadow);
}
.mc-btn-pro:hover::before, a.mc-btn-pro:hover::before { transform: translateY(0); }

/* ---------- 7. HEADER COLLANT (sticky) ---------- */
.whb-sticked .whb-general-header {
  box-shadow: 0 12px 34px -16px rgba(2, 56, 47, .45);
  border-bottom: 2px solid var(--mc-primary) !important;
}

/* ---------- 8. MOBILE ---------- */
@media (max-width: 1024px) {
  .whb-top-bar::after { display: none; }
  .whb-general-header { backdrop-filter: none; background: #fff !important; }
  .wd-header-mobile-nav .wd-tools-icon { color: var(--mc-primary); }
}

/* ---------- 9. ACCESSIBILITÉ ---------- */
:focus-visible {
  outline: 3px solid var(--mc-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .whb-top-bar::after, .mc-btn-promo::after, .wd-tools-count { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   MEDICASE – Pages catégories + cartes produit (Woodmart)
   Couleur de marque : #047462
   À coller dans : Woodmart > Options du thème > Custom CSS
   ========================================================= */

:root {
  --mc-primary: #047462;
  --mc-primary-dark: #035a4c;
  --mc-deep: #02382f;
  --mc-accent: #2ee6c0;
  --mc-soft: #e6f4f1;
  --mc-bg: #f6faf9;
  --mc-ink: #12332d;
  --mc-muted: #5b716c;
  --mc-line: rgba(4, 116, 98, .12);
  --mc-radius: 22px;
  --mc-ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 1. BANDEAU TITRE DE CATÉGORIE ---------- */
.page-title,
.wd-page-title {
  background: linear-gradient(120deg, var(--mc-deep) 0%, var(--mc-primary) 100%) !important;
  position: relative;
  overflow: hidden;
}
.wd-page-title::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  right: -120px; top: -200px;
  background: radial-gradient(circle, rgba(46, 230, 192, .35), transparent 65%);
  pointer-events: none;
}
.wd-page-title::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.wd-page-title .title,
.page-title .entry-title {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -.5px;
}
.wd-page-title .wd-breadcrumbs,
.wd-page-title .woocommerce-breadcrumb,
.wd-page-title .woocommerce-breadcrumb a {
  color: rgba(255, 255, 255, .8) !important;
}
.wd-page-title .woocommerce-breadcrumb a:hover { color: var(--mc-accent) !important; }

/* ---------- 2. BARRE D'OUTILS (tri, affichage, nombre) ---------- */
.wd-shop-tools {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 30px;
  box-shadow: 0 14px 34px -26px rgba(4, 116, 98, .55);
}
.woocommerce-result-count { color: var(--mc-muted); font-weight: 500; }
.woocommerce-ordering select,
.wd-products-per-page .per-page-border {
  border-radius: 50px !important;
  border: 1.5px solid var(--mc-line) !important;
  background-color: var(--mc-bg) !important;
  color: var(--mc-ink);
  font-weight: 600;
  transition: border-color .3s, box-shadow .3s;
}
.woocommerce-ordering select:focus {
  border-color: var(--mc-primary) !important;
  box-shadow: 0 0 0 4px rgba(4, 116, 98, .14);
}
.wd-products-shop-view a { transition: color .25s, transform .25s var(--mc-ease); }
.wd-products-shop-view a:hover,
.wd-products-shop-view a.current-variation { color: var(--mc-primary) !important; transform: scale(1.15); }

/* ---------- 3. SIDEBAR / FILTRES ---------- */
.sidebar-container .widget,
.wd-sidebar .widget {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 18px 40px -32px rgba(4, 116, 98, .6);
}
.widget-title,
.wd-sidebar .widget-title {
  color: var(--mc-ink);
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--mc-soft);
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 44px; height: 2px;
  background: var(--mc-primary);
}
.widget_product_categories li a,
.wd-widget-layered-nav li a { transition: padding .3s var(--mc-ease), color .25s; }
.widget_product_categories li a:hover,
.widget_product_categories li.current-cat > a,
.wd-widget-layered-nav li a:hover { color: var(--mc-primary) !important; padding-inline-start: 6px; }
.widget_product_categories .count,
.wd-widget-layered-nav .count {
  background: var(--mc-soft); color: var(--mc-primary);
  border-radius: 50px; padding: 2px 9px; font-size: 12px; font-weight: 700;
}
/* curseur de prix */
.ui-slider .ui-slider-range { background: var(--mc-primary) !important; }
.ui-slider .ui-slider-handle {
  background: #fff !important;
  border: 3px solid var(--mc-primary) !important;
  box-shadow: 0 6px 14px -4px rgba(4, 116, 98, .6);
}
.widget_price_filter .button {
  background: var(--mc-primary) !important; color: #fff !important;
  border-radius: 50px !important; padding: 10px 24px;
}

/* ---------- 4. CARTE PRODUIT ---------- */
.wd-products .wd-product .product-wrapper,
.products .product .product-wrapper {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  overflow: hidden;
  position: relative;
  transition: transform .5s var(--mc-ease), box-shadow .5s var(--mc-ease), border-color .4s;
}
.wd-products .wd-product:hover .product-wrapper,
.products .product:hover .product-wrapper {
  transform: translateY(-10px);
  border-color: rgba(4, 116, 98, .45);
  box-shadow: 0 38px 60px -34px rgba(4, 116, 98, .65);
}
/* liseré vert qui se dessine en bas */
.product-wrapper::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--mc-primary), var(--mc-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--mc-ease);
}
.wd-product:hover .product-wrapper::after { transform: scaleX(1); }

/* zone image */
.product-element-top {
  background: radial-gradient(circle at 50% 40%, #fff 30%, var(--mc-bg) 100%);
  padding: 18px 18px 6px;
}
.product-image-link img,
.wd-product .product-element-top img {
  transition: transform .8s var(--mc-ease);
  border-radius: 14px;
}
.wd-product:hover .product-image-link img { transform: scale(1.07); }

/* contenu */
.wd-product .product-title,
.wd-product .wd-entities-title {
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.2px;
}
.wd-product .wd-entities-title a { color: var(--mc-ink) !important; transition: color .25s; }
.wd-product .wd-entities-title a:hover { color: var(--mc-primary) !important; }
.wd-product .wd-product-cats a,
.wd-product .wd-product-brands-links a {
  color: var(--mc-muted) !important;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px;
}
.wd-product .wd-product-cats a:hover { color: var(--mc-primary) !important; }

/* prix */
.wd-product .price, .wd-product .price .amount {
  color: var(--mc-primary) !important;
  font-weight: 800;
  font-size: 18px;
}
.wd-product .price del, .wd-product .price del .amount {
  color: #9aa9a5 !important; font-weight: 500; font-size: 14px;
}
.wd-product .price ins { text-decoration: none; }

/* étoiles */
.star-rating span::before { color: #f5b301 !important; }

/* ---------- 5. BADGES (promo / nouveau / rupture) ---------- */
.product-labels .onsale,
.wd-product .product-label.onsale {
  background: linear-gradient(135deg, #ff4d4d, #e11d48) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 5px 13px !important;
  min-width: auto; min-height: auto;
  font-weight: 700; font-size: 12px;
  box-shadow: 0 10px 20px -8px rgba(225, 29, 72, .65);
}
.product-labels .new {
  background: linear-gradient(135deg, var(--mc-primary), #06a58a) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 5px 13px !important;
  min-width: auto; min-height: auto;
  box-shadow: 0 10px 20px -8px rgba(4, 116, 98, .65);
}
.product-labels .out-of-stock {
  background: #1f2d2a !important; color: #fff !important; border-radius: 50px !important;
}

/* ---------- 6. BOUTONS : AJOUTER AU PANIER, FAVORIS, APERÇU ---------- */
.wd-add-btn .button,
.wd-add-btn a.button,
.wd-product .add_to_cart_button {
  background: var(--mc-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50px !important;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .3s, transform .3s var(--mc-ease), box-shadow .3s;
}
.wd-add-btn .button:hover,
.wd-product .add_to_cart_button:hover {
  background: var(--mc-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(4, 116, 98, .7);
}
/* boutons ronds flottants (favoris, comparer, aperçu) */
.wd-buttons .wd-action-btn > a,
.wd-product .wd-buttons .wd-action-btn > a {
  width: 42px; height: 42px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: blur(8px);
  color: var(--mc-primary) !important;
  box-shadow: 0 12px 24px -12px rgba(2, 56, 47, .55);
  transition: all .35s var(--mc-ease);
}
.wd-buttons .wd-action-btn > a:hover {
  background: var(--mc-primary) !important;
  color: #fff !important;
  transform: scale(1.12) rotate(-6deg);
}
.wd-buttons .wd-action-btn > a::before { color: inherit !important; }

/* ---------- 7. PAGINATION ---------- */
.woocommerce-pagination .page-numbers li .page-numbers,
.wd-pagination .page-numbers {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50% !important;
  border: 1.5px solid var(--mc-line) !important;
  background: #fff;
  color: var(--mc-ink) !important;
  font-weight: 700;
  transition: all .3s var(--mc-ease);
}
.woocommerce-pagination .page-numbers li .page-numbers:hover { border-color: var(--mc-primary) !important; color: var(--mc-primary) !important; transform: translateY(-3px); }
.woocommerce-pagination .page-numbers li .current,
.woocommerce-pagination .page-numbers li span.current {
  background: var(--mc-primary) !important;
  border-color: var(--mc-primary) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px -10px rgba(4, 116, 98, .7);
}
/* bouton "Charger plus" */
.wd-load-more, .wd-load-more.btn {
  background: var(--mc-primary) !important; color: #fff !important;
  border-radius: 50px !important; padding-inline: 38px; font-weight: 700;
}

/* ---------- 8. SOUS-CATÉGORIES EN PASTILLES ---------- */
.wd-cat-menu-item a,
.wd-nav-product-cat > li > a {
  border-radius: 50px !important;
  background: #fff;
  border: 1.5px solid var(--mc-line);
  padding: 8px 20px;
  font-weight: 600;
  transition: all .3s var(--mc-ease);
}
.wd-nav-product-cat > li > a:hover,
.wd-nav-product-cat > li.current-cat > a {
  background: var(--mc-primary) !important;
  border-color: var(--mc-primary);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---------- 9. TEXTE SEO / DESCRIPTION EN BAS DE CATÉGORIE ---------- */
.term-description {
  background: var(--mc-bg);
  border-left: 4px solid var(--mc-primary);
  border-radius: 0 var(--mc-radius) var(--mc-radius) 0;
  padding: 22px 26px;
  color: var(--mc-muted);
}

/* ---------- 10. APPARITION ÉCHELONNÉE (une seule fois au chargement) ---------- */
@keyframes mcCardIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.wd-products .wd-product { animation: mcCardIn .7s var(--mc-ease) both; }
.wd-products .wd-product:nth-child(1) { animation-delay: .03s; }
.wd-products .wd-product:nth-child(2) { animation-delay: .09s; }
.wd-products .wd-product:nth-child(3) { animation-delay: .15s; }
.wd-products .wd-product:nth-child(4) { animation-delay: .21s; }
.wd-products .wd-product:nth-child(n+5) { animation-delay: .27s; }

/* ---------- 11. MOBILE ---------- */
@media (max-width: 767px) {
  .wd-shop-tools { border-radius: 22px; padding: 10px 14px; }
  .product-element-top { padding: 10px 10px 0; }
  .wd-product:hover .product-wrapper { transform: none; }
  .wd-product .price, .wd-product .price .amount { font-size: 16px; }
  .sidebar-container .widget { padding: 18px; }
}

/* ---------- 12. ACCESSIBILITÉ ---------- */
.wd-product a:focus-visible,
.wd-product button:focus-visible {
  outline: 3px solid var(--mc-accent);
  outline-offset: 3px;
  border-radius: 8px;
}


/* =========================================================
   MEDICASE – Fiche produit premium / moderne
   Woodmart + WooCommerce
   Couleur marque : #047462
   ========================================================= */

:root {
  --mc-primary: #047462;
  --mc-primary-2: #0a8f79;
  --mc-dark: #012f28;
  --mc-text: #163531;
  --mc-muted: #5f7470;
  --mc-line: rgba(4, 116, 98, .10);
  --mc-bg: #f5fbfa;
  --mc-card: rgba(255, 255, 255, .82);
  --mc-radius: 26px;
  --mc-radius-sm: 16px;
  --mc-shadow: 0 24px 60px -36px rgba(2, 56, 47, .45);
  --mc-shadow-hover: 0 34px 70px -34px rgba(2, 56, 47, .55);
  --mc-ease: cubic-bezier(.2, .85, .25, 1);
}

/* PAGE */
.single-product .site-content {
  background:
    radial-gradient(circle at top left, rgba(4, 116, 98, .08), transparent 32%),
    radial-gradient(circle at top right, rgba(46, 230, 192, .10), transparent 30%),
    linear-gradient(180deg, var(--mc-bg) 0%, #fff 46%, #fff 100%);
}

.single-product .wd-page-title {
  background: transparent !important;
  min-height: 0;
  padding: 18px 0 0;
	margin-top: 8px;
}

.single-product .wd-breadcrumbs,
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a {
  color: var(--mc-muted) !important;
  font-size: 13px;
	margin-top: 8px;
}

.single-product .woocommerce-breadcrumb a:hover {
  color: var(--mc-primary) !important;
	margin-top: 8px;
}

/* GALERIE */
.woocommerce-product-gallery {
  background: var(--mc-card);
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  padding: 20px;
  box-shadow: var(--mc-shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.woocommerce-product-gallery::before {
  content: "";
  position: absolute;
  inset: auto auto 10% 50%;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(4,116,98,.10), transparent 68%);
  pointer-events: none;
}

.woocommerce-product-gallery__image img {
  border-radius: 18px;
  transition: transform .7s var(--mc-ease), filter .4s var(--mc-ease);
}

.woocommerce-product-gallery__image:hover img {
  transform: scale(1.03);
  filter: saturate(1.02);
}

/* THUMBNAILS */
.wd-gallery-thumb .wd-carousel-item img,
.thumbnails img {
  border-radius: 14px;
  border: 1.5px solid transparent;
  opacity: .72;
  transition: all .28s var(--mc-ease);
}

.wd-gallery-thumb .wd-carousel-item:hover img,
.wd-gallery-thumb .wd-thumb-active img,
.thumbnails .active img {
  border-color: var(--mc-primary);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -18px rgba(4, 116, 98, .65);
}

/* ACTIONS IMAGE */
.woocommerce-product-gallery .wd-show-product-gallery-wrap a,
.woocommerce-product-gallery .wd-action-btn > a {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--mc-primary) !important;
  box-shadow: 0 10px 24px -14px rgba(2,56,47,.55);
  backdrop-filter: blur(10px);
  transition: all .25s var(--mc-ease);
}

.woocommerce-product-gallery .wd-show-product-gallery-wrap a:hover,
.woocommerce-product-gallery .wd-action-btn > a:hover {
  background: var(--mc-primary) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.05);
}

/* BADGES */
.single-product .product-labels .onsale,
.single-product .product-labels .new {
  border-radius: 999px !important;
  padding: 7px 14px !important;
  min-width: auto;
  min-height: auto;
  font-weight: 700;
  letter-spacing: .2px;
}

.single-product .product-labels .onsale {
  background: linear-gradient(135deg, #ff4d4d, #dc2626) !important;
  box-shadow: 0 12px 22px -14px rgba(220, 38, 38, .7);
}

.single-product .product-labels .new {
  background: linear-gradient(135deg, var(--mc-primary), var(--mc-primary-2)) !important;
  box-shadow: 0 12px 22px -14px rgba(4, 116, 98, .7);
}

/* SUMMARY */
.summary-inner,
.single-product .entry-summary {
  padding: 8px 6px;
}

.single-product .product_title,
.single-product .wd-entities-title.product_title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.9px;
  color: var(--mc-text);
  margin-bottom: 14px;
}

/* BRAND */
.wd-product-brands a,
.product_meta .wd-product-brands-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(4, 116, 98, .08);
  color: var(--mc-primary) !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* RATING */
.woocommerce-product-rating .star-rating span::before {
  color: #f5b301 !important;
}

.woocommerce-review-link {
  color: var(--mc-muted) !important;
  font-size: 14px;
}

/* PRICE */
.single-product .summary .price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 18px;
}

.single-product .summary .price .amount,
.single-product .summary .price ins {
  color: var(--mc-primary) !important;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.single-product .summary .price del,
.single-product .summary .price del .amount {
  color: #98a7a3 !important;
  font-size: 18px;
  font-weight: 500;
}

/* SHORT DESC */
.woocommerce-product-details__short-description {
  color: var(--mc-muted);
  line-height: 1.8;
  padding: 18px 20px;
  background: rgba(4, 116, 98, .05);
  border: 1px solid rgba(4, 116, 98, .08);
  border-left: 4px solid var(--mc-primary);
  border-radius: 0 18px 18px 0;
  margin-bottom: 22px;
}

.woocommerce-product-details__short-description ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-product-details__short-description li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.woocommerce-product-details__short-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mc-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* STOCK */
.single-product .stock.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mc-primary);
  font-weight: 700;
}

.single-product .stock.in-stock::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ee6c0;
  animation: mcPing 2s infinite;
}

@keyframes mcPing {
  70% { box-shadow: 0 0 0 9px rgba(46, 230, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 192, 0); }
}

.single-product .stock.out-of-stock {
  color: #e11d48;
  font-weight: 700;
}

/* VARIATIONS */
.variations select {
  border-radius: 999px !important;
  border: 1.5px solid var(--mc-line) !important;
  background: #fff !important;
  padding-inline: 18px;
  font-weight: 600;
  min-height: 46px;
}

.variations select:focus {
  border-color: var(--mc-primary) !important;
  box-shadow: 0 0 0 4px rgba(4, 116, 98, .12);
}

.wd-swatch {
  border-radius: 50% !important;
  transition: transform .25s var(--mc-ease), box-shadow .25s;
}

.wd-swatch:hover {
  transform: scale(1.1);
}

.wd-active .wd-swatch,
.wd-swatch.wd-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mc-primary);
}

/* CART */
.single-product form.cart {
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.single-product .quantity {
  border: 0 !important;
  background: #fff;
  overflow: hidden;
}

.single-product .quantity input.qty {
  font-weight: 700;
  color: var(--mc-text);
}

.single-product .quantity .minus,
.single-product .quantity .plus {
  color: var(--mc-primary);
  transition: background .25s, color .25s;
}

.single-product .quantity .minus:hover,
.single-product .quantity .plus:hover {
  background: var(--mc-primary);
  color: #fff;
}

.single-product .single_add_to_cart_button {
  flex: 1;
  min-height: 56px;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-2) 100%) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 36px -18px rgba(4, 116, 98, .85);
  transition: transform .3s var(--mc-ease), box-shadow .3s var(--mc-ease);
}

.single-product .single_add_to_cart_button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: mcSweep 4.8s ease-in-out infinite;
}

@keyframes mcSweep {
  0%, 60% { left: -80%; }
  100% { left: 140%; }
}

.single-product .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 44px -16px rgba(4, 116, 98, .95);
}

/* BUY NOW */
.wd-buy-now-btn {
  min-height: 56px;
  border-radius: 999px !important;
  background: transparent !important;
  border: 2px solid var(--mc-primary) !important;
  color: var(--mc-primary) !important;
  font-weight: 800;
  transition: all .3s var(--mc-ease);
}

.wd-buy-now-btn:hover {
  background: var(--mc-primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ACTIONS */
.summary .wd-action-btn > a {
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--mc-line);
  color: var(--mc-text);
  font-weight: 600;
  transition: all .25s var(--mc-ease);
}

.summary .wd-action-btn > a:hover {
  border-color: var(--mc-primary);
  color: var(--mc-primary);
  transform: translateY(-2px);
}

.wd-social-icons a {
  border-radius: 50% !important;
  transition: transform .25s var(--mc-ease);
}

.wd-social-icons a:hover {
  transform: translateY(-3px) rotate(-4deg);
}

/* TRUST BANNER */
.single-product .product_meta {
  position: relative;
  margin-top: 26px;
  padding: 74px 22px 20px;
  border: 1px solid var(--mc-line);
  border-radius: 22px;
  background: #fff;
  font-size: 14px;
  color: var(--mc-muted);
  box-shadow: var(--mc-shadow);
}

.single-product .product_meta::before {
  content: "🚚 Livraison rapide • ✔ Produit certifié • 🛡 Garantie • 🎧 Support expert";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 18px 20px;
  background: linear-gradient(120deg, var(--mc-dark), var(--mc-primary));
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.6;
  border-radius: 22px 22px 0 0;
}

.product_meta a {
  color: var(--mc-primary) !important;
  font-weight: 600;
}

.product_meta > span {
  display: block;
  margin-bottom: 6px;
}

/* TABS */
.woocommerce-tabs {
  margin-top: 50px;
}

.woocommerce-tabs .wc-tabs,
.wd-nav-tabs {
  justify-content: center;
  gap: 10px;
  border: 0 !important;
  margin-bottom: 28px;
}

.woocommerce-tabs .wc-tabs li a,
.wd-nav-tabs li a {
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--mc-line);
  color: var(--mc-text) !important;
  font-weight: 700;
  transition: all .25s var(--mc-ease);
	display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.woocommerce-tabs .wc-tabs li a:hover {
  border-color: var(--mc-primary);
  color: var(--mc-primary) !important;
}

.woocommerce-tabs .wc-tabs li.active a,
.wd-nav-tabs li.active a {
  background: var(--mc-primary) !important;
  border-color: var(--mc-primary);
  color: #fff !important;
  box-shadow: 0 16px 28px -14px rgba(4, 116, 98, .8);
}

.woocommerce-tabs .wc-tabs li a::after,
.wd-nav-tabs li a::after {
  display: none !important;
}

.woocommerce-Tabs-panel {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  padding: 36px;
  box-shadow: var(--mc-shadow);
  color: var(--mc-muted);
  line-height: 1.85;
}

.woocommerce-product-attributes th {
  width: 32%;
  background: var(--mc-bg);
  color: var(--mc-text);
  font-weight: 700;
}

.woocommerce-product-attributes tr {
  border-bottom: 1px solid var(--mc-line);
}

.wd-products-tabs .wd-nav-tabs {
  display: none !important;
}

/* STICKY BAR */
.wd-sticky-btn {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--mc-line);
  box-shadow: 0 -18px 40px -24px rgba(2, 56, 47, .45);
  padding: 0 !important;
}

.wd-sticky-btn > .container {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding-block: 14px;
}

.wd-sticky-btn form.cart {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
}

.wd-sticky-btn .quantity {
  margin: 0 !important;
  height: 48px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--mc-line) !important;
  border-radius: 999px;
}

.wd-sticky-btn .single_add_to_cart_button {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 220px;
  height: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 36px !important;
  line-height: 48px;
  white-space: nowrap;
  overflow: visible;
}

@media (max-width: 767px) {
  .wd-sticky-btn > .container {
    gap: 10px;
    min-height: 64px;
    padding-block: 10px;
  }
  .wd-sticky-btn form.cart {
    flex-wrap: nowrap;
    width: 100%;
  }
  .wd-sticky-btn .single_add_to_cart_button {
    width: auto;
    flex: 1 1 auto;
    padding: 0 18px !important;
    height: 44px;
    min-height: 44px;
  }
  .wd-sticky-btn .quantity {
    height: 44px;
  }
}

/* RELATED */
.related-and-upsells > h2,
.related > h2,
.up-sells > h2 {
  text-align: center;
  font-weight: 800;
  letter-spacing: -.7px;
  color: var(--mc-text);
  position: relative;
  padding-bottom: 18px;
}

.related > h2::after,
.related-and-upsells > h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mc-primary), #2ee6c0);
}

.single-product .related .product-wrapper {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s var(--mc-ease), box-shadow .35s var(--mc-ease);
}

.single-product .related .wd-product:hover .product-wrapper {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -34px rgba(4, 116, 98, .55);
}

.single-product .related .price,
.single-product .related .price .amount {
  color: var(--mc-primary) !important;
  font-weight: 800;
}

/* MOBILE */
@media (max-width: 767px) {
  .woocommerce-product-gallery {
    padding: 12px;
    border-radius: 18px;
  }

  .woocommerce-Tabs-panel {
    padding: 22px 18px;
  }

  .woocommerce-tabs .wc-tabs li a {
    padding: 10px 16px;
    font-size: 14px;
  }

  .single-product form.cart {
    flex-wrap: wrap;
  }

  .single-product .single_add_to_cart_button {
    width: 100%;
    flex-basis: 100%;
  }

  .single-product .product_meta::before {
    font-size: 12px;
  }
}

/* ACCESSIBILITY */
.single-product a:focus-visible,
.single-product button:focus-visible,
.single-product select:focus-visible {
  outline: 3px solid #2ee6c0;
  outline-offset: 3px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .single_add_to_cart_button::after,
  .single-product .stock.in-stock::before {
    animation: none !important;
  }

  .woocommerce-product-gallery__image img {