/* Descriptions de categories : lit gigogne et nouveaux blocs identifies. */
:is(#ma-lit-gigogne, .ma-category-intro) .ma-intro-mobile { display: none; }
@media screen and (max-width: 750px) {
  .page_produit_liste .intro:has(#ma-lit-gigogne, .ma-category-intro) { display: block; }
  :is(#ma-lit-gigogne, .ma-category-intro) { font-size: 14px; line-height: 1.45; }
  :is(#ma-lit-gigogne, .ma-category-intro) .ma-intro-desktop { display: none; }
  :is(#ma-lit-gigogne, .ma-category-intro) .ma-intro-mobile { display: block !important; }
  :is(#ma-lit-gigogne, .ma-category-intro) p { font-size: 14px; line-height: 1.45 !important; }
  :is(#ma-lit-gigogne, .ma-category-intro) summary { font-size: 14px; line-height: 1.45; padding: 10px 0 !important; }
  :is(#ma-lit-gigogne, .ma-category-intro) h2 { font-size: 16px; }
}

/* Masquage visuel de l'ancien bandeau cookies ; CookieYes reste visible. */
.bloc_cookie_tracking {
  display: none !important;
}

@media screen and (max-width: 767px) {
  #ma-canape-lit-superpose .ma-intro-desktop {
    display: none !important;
  }

  #ma-canape-lit-superpose .ma-intro-mobile {
    display: block !important;
  }
}

/* Adresses et téléphone sous le logo - ordinateur uniquement */
@media screen and (min-width: 1024px) {
    #block_header_address,
    #block_header_address2 {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    #block_header_address2 {
        margin-top: 3px !important;
    }

    #block_header_phone {
        margin-top: 6px !important;
        line-height: 1.4 !important;
    }
}

/* =========================================================
   Avis clients - essai de mise en page (module bloc_21)
   ========================================================= */

/* Cartes : fond lin, bordure douce et contenu aligne en haut. */
#bloc_21 .bloc_avis {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: 28px 24px;
  background: #faf8f5;
  border: 1px solid #e9e4dc;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(40, 30, 20, .035);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#bloc_21 .avis_texte {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}

#bloc_21 .avis_auteur {
  margin-top: 17px;
  color: #333;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

/* Etoiles : pas de fond gris, alignement centre, largeur sans blanc final. */
#bloc_21 .avis_note {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 18px;
  min-height: 24px;
}

#bloc_21 .avis_note .etoiles {
  position: relative;
  display: inline-block;
  width: 105px;
  height: 22px;
  background: none !important;
  -webkit-mask-image: none;
  mask-image: none;
  overflow: hidden;
  vertical-align: middle;
}

#bloc_21 .avis_note .etoiles::before,
#bloc_21 .avis_note .etoiles_pleines::before {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 105px;
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: normal;
  line-height: 22px;
  letter-spacing: 0;
  white-space: nowrap;
}

#bloc_21 .avis_note .etoiles::before {
  color: #d9d4ce;
}

#bloc_21 .avis_note .etoiles_pleines {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  height: 22px;
  overflow: hidden;
  background: none !important;
}

#bloc_21 .avis_note .etoiles_pleines::before {
  color: #ed9b38;
}

/* Note Google : carte plus aeree, sans changer son contenu. */
#bloc_21 .note_google {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 14px 24px;
  background: #faf8f5;
  border: 1px solid #e9e4dc;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(40, 30, 20, .035);
  text-align: center;
}

/* Supprimer le cadre interieur du bandeau Google, sans modifier les textes. */
#bloc_21 .note_google > div {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Retirer les fonds gris des jauges d'etoiles du bandeau Google. */
#bloc_21 .note_google .etoiles,
#bloc_21 .note_google .etoiles_pleines {
  background-color: transparent !important;
}

@media screen and (max-width: 767px) {
  #bloc_21 .bloc_avis {
    padding: 22px 18px;
  }
  #bloc_21 .avis_texte {
    font-size: 14px;
    line-height: 1.6;
  }
  #bloc_21 .note_google {
    padding: 12px 14px;
  }
}

/* Avis Google : supprimer le double encadrement */
#bloc_21 .note_google {
    background: #faf8f5 !important;
    border: 1px solid #e9e5df !important;
    border-radius: 8px;
    box-shadow: none !important;
}

#bloc_21 .note_google > div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* V5 : suppression du cadre interne reel (lien wrap_note). */
#bloc_21 .note_google a.wrap_note {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* V5 : rendre les signatures plus lisibles. */
#bloc_21 .avis_auteur {
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 20px;
}

/* Le logo Google est plus visible sans changer sa typographie. */
#bloc_21 .note_google .logo_google {
  font-size: 17px;
}
