/* Widget Container */
.wmc-whatsapp-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
}

/* WhatsApp Icon */
.wmc-whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.wmc-whatsapp-icon:hover {
    transform: scale(1.1);
}

.wmc-whatsapp-icon img {
    width: 35px;
    height: 35px;
}

/* Popup */
.wmc-whatsapp-popup {
    position: absolute;
    bottom: 80px;
    left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 340px;
    overflow: hidden;
}

.wmc-popup-header {
    background-color: #25D366;
    color: #fff;
    padding: 15px;
    position: relative;
}

.wmc-popup-header h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.wmc-popup-header p {
    margin: 0;
    font-size: 14px;
}

.wmc-close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Contacts List */
.wmc-contacts-list {
    padding: 10px 0;
}

.wmc-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.wmc-contact-item:hover {
    background-color: #f1f1f1;
}

.wmc-contact-info {
    display: flex;
    flex-direction: column;
}

.wmc-contact-info strong {
    font-size: 16px;
}

.wmc-contact-info span {
    font-size: 14px;
    color: #666;
}

/* Avatar dos contatos */
.wmc-contact-avatar {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
}

.wmc-contact-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Indicador do WhatsApp nos contatos */
.wmc-whatsapp-indicator {
    margin-left: auto;
    width: 24px;
    height: 24px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wmc-whatsapp-indicator .fab {
    color: white;
    font-size: 14px;
}

/* Ajuste para telas menores */
@media (max-width: 480px) {
    .wmc-whatsapp-popup {
        width: 280px;
        left: -20px;
    }
    
    .wmc-contact-avatar {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .wmc-contact-info strong {
        font-size: 14px;
    }
    
    .wmc-contact-info span {
        font-size: 12px;
    }
    
    .wmc-whatsapp-indicator {
        width: 20px;
        height: 20px;
    }
    
    .wmc-whatsapp-indicator .fab {
        font-size: 12px;
    }
}
/* Estilo quando o modal é aberto pelo botão do produto */
.wmc-popup-header h3 {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmc-popup-header p {
    font-size: 13px;
    opacity: 0.9;
}
