/* ===== WISHLIST HEART BUTTON ===== */

.wishlist-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s;
    z-index: 10;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.wishlist-btn i {
    font-size: 11px;
    color: #ccc;
    transition: all 0.3s;
}

.wishlist-btn.active i {
    color: #e74c3c;
    animation: heartBeat 0.5s;
}

.wishlist-btn.active {
    background: #ffe6e6;
}

/* Wishlist Count Badge */
.wishlist-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    font-size: 7px;
    font-weight: 700;
    min-width: 13px;
    height: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    border: 1px solid white;
}

/* Inline count for product detail page */
.wishlist-count-inline {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    margin-left: 0.5rem;
}

.btn-wishlist-detail.active .wishlist-count-inline {
    color: #e74c3c;
    font-weight: 600;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

@keyframes countPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.wishlist-count.new {
    animation: countPop 0.4s ease;
}

/* Product card adjustments */
.product-card {
    position: relative;
}

/* ===== SOCIAL SHARE BUTTONS ===== */

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.social-share-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-btn.snapchat {
    background: #FFFC00;
    color: #000 !important;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.copy {
    background: #666;
}

.share-btn.copy.copied {
    background: #4CAF50;
}

/* Compact social share for product cards */
.product-social-share {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.product-social-share .share-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

/* Product detail page social share */
.product-detail-share {
    margin-top: 2rem;
}

.product-detail-share .social-share-label {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: block;
}

.product-detail-share .share-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

/* Share tooltip */
.share-tooltip {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wishlist-btn {
        width: 36px;
        height: 36px;
    }
    
    .wishlist-btn i {
        font-size: 1.1rem;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
    
    .share-tooltip {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}
