/* Libertie — Alerte stock (page catégorie) */

/* Overlay centré sur l'image. Masqué tant que le JS n'a pas révélé (évite le
   flash du CTA sur un produit déjà suivi pour un client connecté). */
.lsa {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 84%;
  max-width: 260px;
  text-align: center;
}

.lsa.lsa-ready {
  display: block;
    min-width: 226px;
}

.thumbnail-container:has(.lsa):hover .quantite {
    display:none;
}

/* Pendant le parcours d'inscription (.lsa-open), on masque les flèches du slider
   image de la même carte : elles se superposaient au panneau et interceptaient
   les taps. .lsa précède le <a> de l'image dans .bloc-img -> combinateur ~.
   Le thème les affiche via `article.product-miniature .thumbnail-container:hover
   .swiper-button-*` { display:block !important } (spécificité 0,4,1) : on reprend
   la même chaîne d'ancêtres pour passer à 0,5,2 et gagner. */
article.product-miniature .thumbnail-container .lsa.lsa-open ~ a .swiper-button-prev,
article.product-miniature .thumbnail-container .lsa.lsa-open ~ a .swiper-button-next {
    display: none !important;
}
/* CTA initial */
.lsa-cta {
  background: transparent;
  color: #F6F5F1;
  font-family: Golos Text;
font-weight: 600;
font-style: SemiBold;
font-size: 14px;
border:1px solid #F6F5F1 !important;
line-height: 100%;
letter-spacing: 0%;
  border: none;
  padding: 11px 18px;
  text-transform: uppercase;
  cursor: pointer;
  background: hwb(0deg 0% 100% / 10%);
  width: 100%;
  transition: 0.3s;
}
.lsa-cta:hover {
  background: #F6F5F1;
  color: #111;
}

/* Panneau des étapes (remplace le CTA une fois ouvert) */
.lsa-panel {
  display: none;
}
.lsa-open .lsa-cta {
  display: none;
}
.lsa-open .lsa-panel {
  display: block;
  background: hwb(0deg 0% 100% / 10%);
  padding: 25px 17px;
  border: 1px solid #F6F5F1;
} 

.lsa-title {
  margin: 0 0 10px;
    font-family: Golos Text;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #F6F5F1;
  }

.lsa-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.lsa-variant {
   font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    background: transparent;
        line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #F6F5F1;
    border: none;
  padding: 5px 10px;
  cursor: pointer;
  min-width: 34px;
    border-bottom: 1px solid transparent;

}
.lsa-variant:hover {
  background: transparent;
  border-bottom: 1px solid #fff;
}

.lsa-email {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 8px;
  font-size: 13px;
  border: 1px solid #111;
  height: 32px;
  margin:0;
}
.lsa-submit {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}
.lsa-submit:hover {
  background: #333;
}

button.lsa-submit:before {
        content: url(/themes/classic-child/assets/img/rightflecheblanche.svg);
    position: absolute;
    height: 32px;
    width: 36px;
    right: 0;
    top: 0;
    background: #111;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* line-height: 4px; */
    transition: 0.5s;
        padding-top: 7px;

}
carlie 
.lsa_container {
    position: relative;
    display: flex;
}

.lsa-msg {
  color: #c0392b;
  font-size: 12px;
  margin: 8px 0 0;
}
.lsa-final {
  font-size: 13px;
  line-height: 1.35;
}
.lsa-ok {
  color: #111;
}
.lsa-err {
  color: #c0392b;
}
.lsa-loading {
  font-size: 22px;
  letter-spacing: 3px;
  color: #111;
}

.lsa-panel:has(.lsa-final.lsa-ok) {background: #F6F5F1;}

.lsa-final.lsa-ok {
    font-family: Golos Text;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}

button.lsa-submit {    height: 100%;
    width: 34px;
    font-size: 0;
    padding: 0;
    position: absolute;
    z-index: 1;
    right: 0;}

.lsa-panel {
    position: relative;
}
.lsa_container {
  display: flex;
    flex-wrap: wrap;
    position: relative;
}

@media(max-width:768px){
.lsa.lsa-ready {
    min-width: unset;
}
.lsa-open .lsa-panel {
    padding: 11px;
  }
  .lsa-cta , .lsa-final.lsa-ok, .lsa-title {
 font-size: 10px;
  }
.lsa-variant {
  font-size: 14px;
}
.lsa-email{
  font-size:9px;
      height: 25px;
}
button.lsa-submit:before{
  height: 25px;
}
button.lsa-submit{
    height: 25px;
}
.lsa-variant {
  min-width:unset;
  padding: 5px 5px;
}
}