.pv-chatbot {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pv-chatbot-toggle {
    min-width: 132px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #1f8a4c, #062417);
    box-shadow: 0 18px 46px rgba(6, 36, 23, 0.28);
    font-weight: 950;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pv-chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(6, 36, 23, 0.34);
}

.pv-chatbot-toggle-icon {
    font-size: 22px;
}

.pv-chatbot-window {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: min(380px, calc(100vw - 32px));
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(10, 54, 34, 0.12);
    box-shadow: 0 34px 100px rgba(6, 36, 23, 0.28);
    opacity: 0;
    transform: translateY(18px) scale(.96);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.pv-chatbot.is-open .pv-chatbot-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.pv-chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 0%, rgba(184, 232, 90, .28), transparent 32%),
        linear-gradient(135deg, #062417, #176b43);
}

.pv-chatbot-header strong {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.pv-chatbot-header span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.pv-chatbot-header button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.pv-chatbot-body {
    max-height: 440px;
    overflow-y: auto;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(184, 232, 90, .18), transparent 30%),
        #f6f1e6;
}

.pv-chat-message {
    margin-bottom: 12px;
}

.pv-chat-message p {
    margin: 0;
    padding: 13px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
}

.pv-chat-message.bot p {
    color: #062417;
    background: #ffffff;
    border: 1px solid rgba(10, 54, 34, .08);
}

.pv-chat-message.user {
    text-align: right;
}

.pv-chat-message.user p {
    display: inline-block;
    color: #ffffff;
    background: #1f8a4c;
}

.pv-chat-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 14px;
}

.pv-chat-options button,
.pv-chat-action {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border: 0;
    border-radius: 999px;
    color: #062417;
    background: #ffffff;
    border: 1px solid rgba(10, 54, 34, .10);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.pv-chat-options button:hover,
.pv-chat-action:hover {
    transform: translateY(-2px);
    background: #eaf7f3;
    text-decoration: none;
}

.pv-chat-action.primary {
    color: #ffffff;
    background: #176b43;
}

.pv-chat-action.primary:hover {
    background: #062417;
}

.pv-chatbot-footer {
    padding: 14px 18px 18px;
    background: #ffffff;
}

.pv-chatbot-footer a {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #25d366;
    text-decoration: none;
    font-weight: 950;
}

.pv-chatbot-footer a:hover {
    text-decoration: none;
    filter: brightness(.96);
}

@media (max-width: 600px) {
    .pv-chatbot {
        right: 16px;
        bottom: 16px;
    }

    .pv-chatbot-toggle {
        min-width: 58px;
        width: 58px;
        padding: 0;
    }

    .pv-chatbot-toggle-text {
        display: none;
    }

    .pv-chatbot-window {
        right: -2px;
        bottom: 72px;
    }
}