/* === Tanutrition – overrides de base ===
   Règles : pas de !important sauf cas exceptionnel, 
   cibler des classes précises pour éviter les effets de bord
*/

/* DEBUT Block HTML Fond noir sur page d'accueil */
.promo-block {
  position: relative;            /* nécessaire pour l’overlay absolu */
  background-color: #000;
  text-align: center;
  padding: 10px 20px;
  margin: 0 0 30px 0;
  border-radius: 6px;
  overflow: hidden;              /* sécurité visuelle */
}

.promo-block h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Bouton "réel" : ne PAS styler l’overlay */
.promo-block a:not(.cover-link) {
  display: inline-block;
  background-color: #00BFFF;
  color: #fff;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

/* Hover du bouton */
.promo-block a:not(.cover-link):hover {
  color: #000000;
}

/* Lien overlay injecté par JS (couvre tout le bloc) */
.promo-block .cover-link {
  position: absolute;
  inset: 0;            /* top/right/bottom/left: 0 */
  z-index: 3;
  display: block;
  background: transparent !important;
  text-indent: -9999px; /* invisible visuellement, accessible pour lecteurs d’écran */
  border: 0 !important;
  outline: 0;
}

/* Feedback au hover du bloc entier */
.promo-block:hover { cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
  .promo-block h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .promo-block { padding: 30px 15px; }
  .promo-block h2 { font-size: 1.3rem; }
  .promo-block .btn-blue { padding: 10px 20px; font-size: 0.9rem; }
}
/* FIN Block HTML Fond noir sur page d'accueil */

/* DEBUT Block espace femme sur page accueil */
.hero-block {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: url('/img/banniere-femmes.jpg') center center / cover no-repeat;
  overflow: hidden;
  color: #fff;
  border-radius: 6px;

  /* Centrage vertical + horizontal */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Overlay sombre */
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1; /* reste sous le contenu et le lien */
}

/* Contenu (au-dessus de l’overlay) */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Lien overlay généré par le JS */
.hero-block .cover-link {
  position: absolute;
  inset: 0;           /* occupe tout le bloc */
  z-index: 3;         /* au-dessus de l’overlay et du contenu */
  display: block;
  text-indent: -9999px; /* masque le texte, conserve accessibilité */
  background: transparent;
}

/* Effet visuel au survol du bloc */
.hero-block:hover::before {
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}

/* Mobile */
@media (max-width: 600px) {
  .hero-block {
    min-height: 200px;
  }
}
/* FIN Block espace femme sur page accueil */

/* DEBUT Block espace senior sur page accueil */
.hero-block2 {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: url('/img/banniere-senior.jpg') center center / cover no-repeat;
  overflow: hidden;
  color: #fff;
  border-radius: 6px;

  /* Centrage vertical + horizontal */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Overlay sombre */
.hero-block2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1; /* reste sous le contenu et le lien */
}

/* Lien overlay généré par le JS */
.hero-block2 .cover-link {
  position: absolute;
  inset: 0;           /* occupe tout le bloc */
  z-index: 3;         /* au-dessus de l’overlay et du contenu */
  display: block;
  text-indent: -9999px; /* masque le texte, conserve accessibilité */
  background: transparent;
}

/* Effet visuel au survol du bloc */
.hero-block2:hover::before {
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}

/* Mobile */
@media (max-width: 600px) {
  .hero-block2 {
    min-height: 200px;
  }
}
/* FIN Block espace femme sur page accueil */


/* DEBUT 3 Blocks cote a cote page accueil */
/* Container en grille */
.grid-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;                  /* espace entre blocs */
  margin: 40px 0;
}

/* Bloc individuel */
.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Texte en overlay */
.grid-item h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Overlay foncé */
.grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s ease;
  z-index: 1;
}

/* Effet hover */
.grid-item:hover img {
  transform: scale(1.05);
}
.grid-item:hover::before {
  background: rgba(0,0,0,0.45);
}

/* Responsive : 1 bloc sur mobile */
@media (max-width: 768px) {
  .grid-blocks {
    grid-template-columns: 1fr;
  }
}
/* FIN 3 Blocks cote a cote page accueil */


/* Style pour le terme promotion dans me mega menu */
.typo ul { list-style: none; padding-left: 0px; }

/* Style disponibilité du produit */
.product-list .product-miniature .product-availability span {
    background: #fff;
    border: none;
    border-radius: 3px;
    color: #008020;
    padding: 2px 8px;
	font-weight: 600;
}

.product-list .product-miniature .product-availability .unavailable {
    background: #fff;
	color: #808080;
}

.product-flags .product-flag span {
    background: #fff;
    border-radius: 3px;
    color: #000;
    padding: 2px 5px;
    text-transform: uppercase;
    white-space: nowrap;
	font-weight: 700;
}

.product-flags .product-flag.discount span {
	background-color: #cb203d;
    color: #fff;
}


/* Block réassurance sous le slide */
.no-container {
  background-color: #F7F7F7;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
}

.aone-slideshow {
    margin-bottom: 0px;
}

.banner1 {
  display: flex;
  align-items: center;      /* centre verticalement */
  justify-content: center;  /* centre horizontalement */
  height: 100%;             /* prend toute la hauteur du parent */
  text-align: center;       /* pour les textes sur plusieurs lignes */
  padding: 5px;            /* petit espace intérieur optionnel */
}

.banner1 span,
.banner1 a {
  font-weight: bold;
  text-transform: initial !important;
  color: #3d3d3d !important;              /* adapte si besoin */
  text-decoration: none;
  font-size: 13px !important;
  
}

@media (max-width: 576px) {
  .no-display {
    display: none !important;
  }
}


/* ===== Promo styles POPUP ===== */
:root { --brand:#01B6ED; --ink:#000000; }

.promo-card{
  --radius:20px;
  max-width: 560px;
  width: 100%;
  background: #fff;
  border: 1px solid #01B6ED;
  border-radius: 20px;
  overflow: hidden;
  font-family: "Poppins", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
}

/* Bandeau haut */
.promo-ribbon{
  background: #fff;
  color:var(--brand);
  text-align:center;
  font-weight: 800;
  letter-spacing:.5px;
  padding: .7rem 1rem;
  font-size: clamp(.8rem, 1.2vw + .4rem, 1rem);
}

/* Corps */
.promo-body{
  padding: clamp(18px, 4vw, 36px);
  text-align:center;
}

.promo-kicker{
  font-weight:700;
  opacity:.7;
  letter-spacing:.6px;
  font-size: clamp(.8rem, 1.2vw + .4rem, 1rem);
  margin-bottom: .4rem;
}

/* Bloc valeur principale */
.promo-main{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  line-height:1;
  margin: .2rem 0;
}
.promo-value{
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: -2px;
}
.promo-unit{
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-left: .25rem;
  transform: translateY(-.15em);
}

/* Sous-texte */
.promo-sub{
  font-weight: 900;
  letter-spacing: .8px;
  font-size: clamp(1.1rem, 2.3vw, 1.8rem);
  margin-top: .2rem;
}
.promo-note{
  margin-top:.35rem;
  font-size: clamp(.85rem, 1.3vw, 1.05rem);
  opacity:.85;
}

/* Accent bas (optionnel) */
.promo-card::after{
  content:"";
  display:block;
  height: 6px;
  background: #fff;
  border-radius: 0 0 20px 20px;
}

.aone-popupnewsletter .popup-content {
    padding: 0px;
}

.aone-popupnewsletter .noshow a {
    font-size: 10px;
}

.aone-popupnewsletter .noshow a {
    color: #ffffff;
}

.product-list .product-miniature .product-availability .available,.product-list .product-miniature .product-availability .in_stock
{
	background:#fff
}

/* =========================================================
   FIX ICÔNES PANIER - PRESTASHOP
   Conflit Font Awesome sur la fiche produit
   ========================================================= */


/* =========================================================
   1) Bouton supprimer dans le panier latéral
   ========================================================= */
.sidebar-cart.cart-preview .remove-from-cart.icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 30px !important;
  color: #3b3b3b !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* On masque l'ancienne icône Font Awesome */
.sidebar-cart.cart-preview .remove-from-cart.icon-link .fa,
.sidebar-cart.cart-preview .remove-from-cart.icon-link .fa::before {
  display: none !important;
  content: "" !important;
}

/* On injecte une poubelle SVG */
.sidebar-cart.cart-preview .remove-from-cart.icon-link::before {
  content: "" !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  background-color: #3b3b3b !important;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M135.2 17.7 128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32l21.2 339c1.6 25.3 22.6 45 47.9 45h245.8c25.3 0 46.3-19.7 47.9-45L416 128z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M135.2 17.7 128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32l21.2 339c1.6 25.3 22.6 45 47.9 45h245.8c25.3 0 46.3-19.7 47.9-45L416 128z'/%3E%3C/svg%3E") !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

.sidebar-cart.cart-preview .remove-from-cart.icon-link:hover::before {
  background-color: #00a6d6 !important;
}


/* =========================================================
   2) Icône panier dans le header
   ========================================================= */

/* On remplace l'icône Font Awesome cassée */
.shopping-cart-module .fa.fa-shopping-basket {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 4px !important;
  vertical-align: middle !important;

  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  background-color: #ffffff !important;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M576 216v16c0 13.3-10.7 24-24 24h-8l-26.1 182.5C514.5 461.9 494.4 480 470.7 480H105.3c-23.7 0-43.8-18.1-47.2-41.5L32 256h-8c-13.3 0-24-10.7-24-24v-16c0-13.3 10.7-24 24-24h67.3L214.7 37.5c8.3-10.4 23.4-12.1 33.7-3.7s12.1 23.4 3.7 33.7L152.5 192h271L323.9 67.5c-8.3-10.4-6.7-25.5 3.7-33.7s25.5-6.7 33.7 3.7L484.7 192H552c13.3 0 24 10.7 24 24zM312 392V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24zm112 0V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24zm-224 0V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M576 216v16c0 13.3-10.7 24-24 24h-8l-26.1 182.5C514.5 461.9 494.4 480 470.7 480H105.3c-23.7 0-43.8-18.1-47.2-41.5L32 256h-8c-13.3 0-24-10.7-24-24v-16c0-13.3 10.7-24 24-24h67.3L214.7 37.5c8.3-10.4 23.4-12.1 33.7-3.7s12.1 23.4 3.7 33.7L152.5 192h271L323.9 67.5c-8.3-10.4-6.7-25.5 3.7-33.7s25.5-6.7 33.7 3.7L484.7 192H552c13.3 0 24 10.7 24 24zM312 392V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24zm112 0V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24zm-224 0V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v112c0 13.3 10.7 24 24 24s24-10.7 24-24z'/%3E%3C/svg%3E") !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

.product-miniature .listing_delivery_date_notice {
    position: relative;
    padding: .3125rem .4375rem;
    background: #fff;
    font-weight: 600;
    box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, .2);
    font-size: 13px;
    text-align: center;
}
.product-miniature .listing_delivery_date_notice a {
    color: #ff6600;
}