/* Product Share Buttons Styles */

.product-share-buttons {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.share-btn i {
    font-size: 14px;
}

/* Facebook */
.share-facebook {
    background-color: #1877f2;
    color: white;
}

.share-facebook:hover {
    background-color: #166fe5;
    color: white;
}

/* Twitter/X */
.share-twitter {
    background-color: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background-color: #1a91da;
    color: white;
}

/* WhatsApp */
.share-whatsapp {
    background-color: #25d366;
    color: white;
}

.share-whatsapp:hover {
    background-color: #22c55e;
    color: white;
}

/* Email */
.share-email {
    background-color: #ea4335;
    color: white;
}

.share-email:hover {
    background-color: #d93025;
    color: white;
}

/* Copy Link */
.share-copy {
    background-color: #6c757d;
    color: white;
}

.share-copy:hover {
    background-color: #5a6268;
    color: white;
}

.share-copy.copied {
    background-color: #28a745;
    color: white;
}

/* Loop version - smaller buttons */
.product-share-buttons-loop {
    margin: 10px 0;
}

.share-btn-loop {
    padding: 6px 8px;
    font-size: 12px;
    min-width: 32px;
}

.share-btn-loop i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons-container {
        gap: 6px;
    }
    
    .share-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 36px;
    }
    
    .share-btn i {
        font-size: 13px;
    }
    
    .share-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .share-buttons-container {
        justify-content: center;
    }
    
    .share-btn {
        padding: 8px;
        min-width: 40px;
    }
}

/* Animation for copy button */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.share-copy.copied {
    animation: copySuccess 0.3s ease;
}

/* Vendor Share Buttons */
.vendor-share-buttons {
    margin: 20px 0;
    padding: 15px 0;
}

.vendor-share-buttons .share-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Tooltip for copy button */
.share-copy::after {
    content: "Copy link";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.share-copy:hover::after {
    opacity: 1;
    visibility: visible;
}

.share-copy.copied::after {
    content: "Copied!";
    background: #28a745;
} 