/*
Theme Name: Serano Child
Theme URI: https://serano.clapat-themes.com/
Description: Responsive Wordpress Theme
Template: serano
Version: 1.0
Author: You
Author URI: https://your site
License: Themeforest
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: serano-child
*/


/*------------------------------------------------------------------

Add here your own styles
-------------------------------------------------------------------*/

.wa-widget-wrap {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}
.wa-panel {
    width: min(calc(100vw - 2rem), 352px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(12px) scale(.95);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: auto;
    display: none;
}
.wa-panel.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.wa-panel-head {
    background: #2db742;
    color: #fff;
    padding: 16px;
}
.wa-panel-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.wa-logo {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 6px;
}
.wa-logo img{
    max-width: 50px;
}
.wa-head-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color:#fff;
}
.wa-close-btn {
    border: 0;
    background: transparent;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
.wa-close-btn:hover { background: rgba(255,255,255,.12); }
.wa-panel-body {
    padding: 16px;
}
.wa-help-text {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.wa-chat-btn {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
    text-decoration: none;
}
.wa-chat-btn:hover {
    border-color: rgba(37,211,102,.4);
    background: rgba(37,211,102,.08);
}
.wa-chat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(37,211,102,.35);
}
.wa-chat-title {
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
}
.wa-chat-sub {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
}
.wa-fab {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    transition: transform .15s ease;
}
.wa-fab:hover { transform: scale(1.05); }
.wa-fab-icon {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform .225s ease-in-out, opacity .15s ease;
}
.wa-fab .x-icon {
    opacity: 0;
    transform: rotate(0deg) scale(1);
}
.wa-fab.open .wa-icon {
    opacity: 0;
    transform: rotate(180deg) scale(.8);
}
.wa-fab.open .x-icon {
    opacity: 1;
    transform: rotate(180deg) scale(.8);
}
@media (min-width: 640px) {
    .wa-widget-wrap {
        right: 24px;
        bottom: 24px;
    }
}