/* Estilos modernos para botões de compartilhamento - padrão Amazon */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.share-buttons span {
    font-weight: 600;
    color: #0F1111;
    margin-right: 5px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-buttons a:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.share-buttons a:active {
    transform: scale(0.95);
}

.share-buttons a i {
    font-size: 18px;
}

/* Tooltip para botões de compartilhamento */
.share-buttons a {
    position: relative;
}

.share-buttons a::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 5px 10px;
    background-color: #232F3E;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

.share-buttons a::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #232F3E transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

.share-buttons a:hover::before,
.share-buttons a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Cores específicas para cada rede social */
.btn-facebook {
    background-color: #3b5998;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-telegram {
    background-color: #0088cc;
}

.btn-messenger {
    background-color: #0084ff;
}

.btn-pinterest {
    background-color: #bd081c;
}

.btn-linkedin {
    background-color: #0077b5;
}

.btn-email {
    background-color: #232F3E; /* Cor padrão Amazon */
}

.btn-link, .btn-copy {
    background-color: #FF9900; /* Cor secundária Amazon */
}

.btn-share-text {
    background-color: #8A2BE2; /* Roxo (BlueViolet) */
}

/* Botão de copiar link com feedback visual */
.copy-link-btn {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.copy-link-btn::after {
    content: "Copiado!";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #232F3E;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.copy-link-btn.copied::after {
    transform: translateY(0);
}

/* Botão de favorito */
.favorite-btn {
    background-color: #fff;
    color: #FF9900;
    border: 2px solid #FF9900;
    transition: all 0.2s ease;
}

.favorite-btn.active {
    background-color: #FF9900;
    color: #fff;
}

.favorite-btn:hover {
    border-color: #e77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}

/* Botão de WhatsApp grande */
.amazon-button-primary.whatsapp-button {
    background-color: #232F3E; /* Cor primária Amazon */
    border: 1px solid #131921;
    color: #ffffff;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.amazon-button-primary.whatsapp-button:hover {
    background-color: #131921;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}

.amazon-button-primary.whatsapp-button i {
    font-size: 20px;
    margin-right: 10px;
}

/* Botões de compartilhamento no lightbox */
.amazon-lightbox-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.amazon-lightbox-social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.amazon-lightbox-social-button:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.amazon-lightbox-social-button:active {
    transform: scale(0.95);
}

.amazon-lightbox-social-button.facebook {
    background-color: #3b5998;
}

.amazon-lightbox-social-button.twitter {
    background-color: #1da1f2;
}

.amazon-lightbox-social-button.whatsapp {
    background-color: #25d366;
}

.amazon-lightbox-social-button.pinterest {
    background-color: #bd081c;
}

.amazon-lightbox-social-button.linkedin {
    background-color: #0077b5;
}

.amazon-lightbox-social-button.email {
    background-color: #232F3E;
}

.amazon-lightbox-social-button.copy {
    background-color: #FF9900;
}

.amazon-lightbox-share-title {
    font-size: 16px;
    font-weight: 500;
    color: #0F1111;
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 576px) {
    .share-buttons {
        justify-content: center;
    }
    
    .share-buttons span {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .amazon-lightbox-social-buttons {
        justify-content: center;
    }
    
    .amazon-lightbox-share-title {
        text-align: center;
    }
}

/* Animação de feedback para o botão de copiar link */
@keyframes copyFeedback {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.copy-feedback {
    animation: copyFeedback 0.5s ease;
}
