.share-icon {
  padding: 0;
  margin: 0;
  vertical-align: middle;
  width: auto;
  height: auto;
  line-height: 1;
  filter: none;                 /* icône noire sur le bouton crème */
  color: var(--gs-noir);
}

.sharediv {
  position:relative; 
  top: 30px; 
  right: 30px; 
  padding-bottom: 40px;
}

.toastdiv {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.toastbox {
  width: 280px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  position: fixed;
  top: 105%;
  -webkit-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
  z-index: 2;
  text-align: center;
}
.toastbox.toast-tox--active {
  -webkit-transform: translateY(-150px);
  transform: translateY(-150px);
}

/* Bouton Partager — même habillage que les boutons de liens :
   crème plein, texte/icône noir, coins 4px. Carré (icône seule) sur mobile. */
  .sharebutton,
  sharebutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;                    /* espace propre entre icône et texte */
    box-sizing: border-box;
    text-decoration: none;
    height: 44px;
    width: 44px;
    padding: 0;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--gs-noir);
    background-color: var(--gs-creme);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
   }
   /* on annule le décalage natif de l'icône (left:3px etc.) */
   .sharebutton-img {
    position: static;
    left: 0;
    margin: 0;
   }

@media screen and (min-width: 600px) {
  /* desktop : largeur auto pour afficher « Partager » à côté de l'icône */
  .sharebutton,
  sharebutton {
    width: auto;
    min-width: 120px;
    padding: 0 18px;
   }
}

/* hover CREUX, comme les boutons de liens : transparent + bordure crème */
sharebutton:hover,
.sharebutton:hover,
.sharebutton:focus {
  color: var(--gs-creme);
  background-color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--gs-creme);
}
.sharebutton:hover .share-icon,
.sharebutton:focus .share-icon {
  color: var(--gs-creme);
  filter: none !important;
}

  @media screen and (max-width: 599px) {
    /* mobile : carré, icône seule, parfaitement centrée */
    .sharebutton-mb { display: none; }
    .sharebutton { gap: 0; }
    .sharebutton-img {
      position: static;
      left: 0;
      margin: 0;
     }
   }