/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.titre-precaution {

    color: #4e4d4d;
    font-size: 14px;
    font-weight: bold;
}
.titre-precaution-line {

    color: #4e4d4d;
    font-size: 11px;
    line-height: 13px;
    
}
.titre-precaution-paragraph {

    color: #4e4d4d;
    font-size: 13px;
    line-height: 11px;
    font-weight: bold;
    margin-top: 5px;
}

.info-liquide {

    color: #437710;
    font-size: 17px;
    letter-spacing: :1em;

    font-weight: bold;
  
}


/* TEXTE MODULE SEO*/
/* Grille des cartes */
.ls-cards {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 25px !important; /* espace entre les colonnes ET lignes */
  column-count: unset !important;
  column-gap: unset !important;
}

/* Chaque bloc = carte */
.ls-card {
  flex: 1 1 calc(50% - 25px); /* 2 colonnes */
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  box-sizing: border-box;
  margin: 5px; /* Ajout de 10px d’air au total (5px chaque côté) */
}
/* Liens dans les cartes */
.ls-card a {
  color: #2e7d32 !important;  /* vert */
  font-weight: 600;
  text-decoration: none;
}

.ls-card a:hover {
  color: #1b5e20 !important;  /* vert plus foncé au survol */
  text-decoration: underline;
}


/* Titres verts */
.ls-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 12px;
}

/* Texte */
.ls-card p {
  margin-bottom: 10px;
  text-align: justify;
  font-size: 11px;
  line-height: 1.5em; /* compact */
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
  .ls-card {
    flex: 1 1 100%;
    margin: 0 0 15px 0; /* espace entre les blocs en mobile */
  }
}

/* INFO BULLE*/
.product-miniature .product-title {
  position: relative;
  display: inline-block;
}

.product-miniature .product-title a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.product-miniature .product-title a::after {
  content: attr(title);
  position: absolute;
  top: -1px; /* distance verticale au-dessus du texte */
  left: 50%;
  transform: translateX(-50%);
  background: #5ba718;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease-in-out;
  z-index: 9999;
}

.product-miniature .product-title a:hover::after {
  opacity: 1;
}
