
#whatsapp-boton,
.whatsapp-flotante{
    position:fixed !important;
    left:18px !important;
    bottom:18px !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    max-width:46px !important;
    min-height:46px !important;
    max-height:46px !important;
    border-radius:50% !important;
    background:#25d366 !important;
    color:white !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    margin:0 !important;
    line-height:1 !important;
    text-decoration:none !important;
    cursor:pointer !important;
    box-shadow:0 8px 20px rgba(0,0,0,.22) !important;
    z-index:9999 !important;
    overflow:hidden !important;
    transition:transform .2s ease, box-shadow .2s ease;
}

#whatsapp-boton:hover,
.whatsapp-flotante:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(0,0,0,.26) !important;
}

#whatsapp-boton svg,
.whatsapp-flotante svg{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    fill:currentColor !important;
    display:block !important;
    flex:0 0 24px !important;
}

@media (max-width:600px){
    #whatsapp-boton,
    .whatsapp-flotante{
        left:14px !important;
        bottom:14px !important;
        width:44px !important;
        height:44px !important;
        min-width:44px !important;
        max-width:44px !important;
        min-height:44px !important;
        max-height:44px !important;
    }
}

#chatbot-boton{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    border-radius:999px;
    background:#e61313;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    z-index:9999;
}

#chatbot-panel{
    position:fixed;
    right:20px;
    bottom:90px;
    width:360px;
    max-width:calc(100vw - 20px);
    height:520px;
    background:white;
    border-radius:14px;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
    display:none;
    flex-direction:column;
    overflow:hidden;
    z-index:9999;
}

#chatbot-header{
    background:#111827;
    color:white;
    padding:14px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:700;
}

#chatbot-cerrar{
    background:none;
    border:none;
    color:white;
    font-size:22px;
    cursor:pointer;
}

#chatbot-mensajes{
    flex:1;
    overflow-y:auto;
    padding:14px;
    background:#f9fafb;
}

.chat-msg{
    margin-bottom:12px;
    padding:10px 12px;
    border-radius:10px;
    max-width:85%;
    line-height:1.4;
    white-space:pre-wrap;
}

.chat-user{
    margin-left:auto;
    background:#e61313;
    color:white;
}

.chat-bot{
    background:white;
    border:1px solid #e5e7eb;
    color:#111827;
}

#chatbot-form{
    display:flex;
    gap:8px;
    padding:12px;
    border-top:1px solid #e5e7eb;
    background:white;
}

#chatbot-input{
    flex:1;
    padding:10px;
    border:1px solid #d1d5db;
    border-radius:8px;
}

#chatbot-form button{
    padding:10px 14px;
    border:none;
    border-radius:8px;
    background: #e61313;
    color:white;
    cursor:pointer;
}