/* === Jiménez WhatsApp Widget === */
#jww-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Botón flotante */
#jww-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 20px 0 14px;
    height: 52px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 3px 14px rgba(37,211,102,0.4);
}
#jww-btn:hover { transform: scale(1.05); }
#jww-btn svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.jww-label { white-space: nowrap; }

/* Popup */
#jww-popup {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 32px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.08);
}
#jww-popup.open { display: flex; }

/* Cabecera verde */
.jww-popup-header {
    background: #7CBF47;
    padding: 18px 40px 18px 20px;
    position: relative;
}
.jww-popup-header p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}
.jww-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255,255,255,0.25);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jww-close:hover { background: rgba(255,255,255,0.4); }

/* Lista de proyectos */
.jww-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: #fff;
}
.jww-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s;
}
.jww-list li:last-child .jww-item { border-bottom: none; }
.jww-item:hover { background: #f7fdf4; }

.jww-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
    padding: 4px;
    flex-shrink: 0;
}
.jww-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.jww-info strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.jww-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #555;
}
.jww-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    display: inline-block;
}
.jww-arrow {
    color: #aaa;
    font-size: 20px;
    line-height: 1;
}

/* Responsive móvil */
@media (max-width: 480px) {
    #jww-popup { width: 290px; right: 0; }
    .jww-label { display: none; }
    #jww-btn { padding: 0; width: 52px; border-radius: 50%; justify-content: center; }
}
