.product-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    line-height: 1;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.product-rating-stars {
    position: relative;
    display: inline-block;
    letter-spacing: 0.08em;
    line-height: 1;
}

.product-rating-stars-base {
    color: #d1d5db;
}

.product-rating-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #f59e0b;
}

.product-rating-value {
    color: #374151;
    font-weight: 600;
}

.product-rating-count {
    color: #6b7280;
}

.wishlist-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.95);
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wishlist-btn:hover {
    border-color: #f59e0b;
    color: #dc2626;
    transform: scale(1.05);
}

.wishlist-btn.is-active {
    border-color: #fecaca;
    color: #dc2626;
    background: #fff7f7;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-entrance 0.6s ease-out 1s both;
}

.whatsapp-float:hover {
    background-color: #16a34a;
    transform: scale(1.1);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.4);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

@keyframes whatsapp-entrance {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes whatsapp-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}
