/* favoritos-compare.css */

/* Corazón favorito (rojo al activo) */
.favBtn, [data-fav-btn]{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  color: rgba(255,255,255,.92); /* por defecto sobre foto */
}
.favBtn svg, [data-fav-btn] svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
}

/* Estado activo: rojo */
.favBtn.is-fav, [data-fav-btn].is-fav{
  color: #ff2d55 !important;
}
.favBtn.is-busy{ opacity:.75; pointer-events:none; }

/* Comparar activo */
.cmpBtn.is-cmp, [data-compare-id].is-cmp{
  outline: 2px solid rgba(255,255,255,.75);
  border-radius: 999px;
}

/* Toast */
.sgToast{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9999;
  background: rgba(20,20,22,.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.sgToast a{
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
.sgToast.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-2px);
}

/* Evitar solapes con tu barra inferior si existe */
@media (max-width: 720px){
  .sgToast{
    bottom: calc(66px + env(safe-area-inset-bottom));
  }
}
