
.content-share-product {
  position: absolute !important;
  top: 0 !important;
  right: 15px !important;
  z-index: 100 !important;
  display: none !important;
  width: 180px !important;
  height: auto !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1) !important;
  padding: 15px 10px 10px !important;
  transform-origin: top right !important;
  animation-duration: 0.3s !important;
  animation-fill-mode: both !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.content-share-product[style*="display: block"],
.content-share-product.share-appear {
  display: block !important;
}

@keyframes shareAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shareDisappear {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

.share-appear {
  animation-name: shareAppear !important;
}

.share-disappear {
  animation-name: shareDisappear !important;
}

/* Botón de cierre - con mayor especificidad */
.content-share-product .close-shre-product {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  background: #f44336 !important;
  color: white !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease !important;
  z-index: 101 !important;
  border: 1px solid white !important;
}

.content-share-product .close-shre-product:hover {
  transform: scale(1.1) !important;
  background: #e53935 !important;
}

.share-social-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
}

.share-social-item {
  text-align: center !important;
  margin-bottom: 0 !important;
  transition: transform 0.2s ease !important;
}

.share-social-item:hover {
  transform: translateY(-3px) !important;
}

.share-social-item .a-content-social-img {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  color: #555 !important;
  padding: 8px 5px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease !important;
  width: 100% !important;
}

.share-social-item .a-content-social-img:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.share-social-item .a-content-social-img .social-img {
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 4px !important;
  margin-right: 0 !important;
  transition: transform 0.2s ease !important;
  object-fit: contain !important;
}

.share-social-item .a-content-social-img:hover .social-img {
  transform: scale(1.15) !important;
}

.social-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  margin-top: 2px !important;
  color: #444 !important;
  width: 100% !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  .content-share-product {
    width: 160px !important;
    right: 10px !important;
    padding: 12px 8px 8px !important;
  }
  
  .share-social-item .a-content-social-img .social-img {
    width: 28px !important;
    height: 28px !important;
  }
  
  .share-social-item {
    margin-bottom: 0 !important;
  }
  
  .social-label {
    font-size: 10px !important;
  }
  
  .card-item-over_full .content-share-product {
    right: 0 !important;
  }
} 