#nsc-chat-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50; /* Color venta */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 99999;
    font-size: 28px;
    transition: transform 0.2s;
}

#nsc-chat-trigger:hover { transform: scale(1.1); }

#nsc-chat-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 99999;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
}

.nsc-header {
    background: #4CAF50;
    color: white;
    padding: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nsc-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nsc-msg {
    padding: 10px 14px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.nsc-user {
    background: #4CAF50;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.nsc-bot {
    background: #e9e9eb;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

/* Estilos para los enlaces de productos */
.nsc-bot a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dotted #0073aa;
}
.nsc-bot a:hover { color: #d32f2f; }

.nsc-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
}

#nsc-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

#nsc-send {
    background: transparent;
    border: none;
    color: #4CAF50;
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
}