#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 840;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ab71 0%, #2dd4bf 100%);
    box-shadow: 0 12px 30px rgba(0, 171, 113, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#chatbot-toggle:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0, 171, 113, 0.45);
}

#chatbot-open-btn {
    background-color: transparent !important;
    border: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 0;
}

.ai-chat-icon {
    display: inline-block;
    height: 34px !important;
    width: 34px !important;
    position: absolute;
    right: 13px;
    top: 13px !important;
}

#chatbot-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 360px;
    max-width: calc(100vw - 30px);
    font-family: Arial, sans-serif;
    z-index: 840;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transform-origin: bottom left;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

#chatbot-widget.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-shell {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--axis-chat-body-bg, #1c2d46);
}

.chatbot-header {
    color: var(--axis-chat-header-color, #fff);
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--axis-chat-header-bg, #152238);
    backdrop-filter: blur(4px);
}

#chatbot-close-btn {
    background: none;
    border: none;
    color: var(--axis-chat-header-color, #fff);
    font-size: 18px;
    cursor: pointer;
}

#chatlog {
    height: 290px;
    overflow-y: auto;
    padding: 12px;
    font-family: Arial, sans-serif;
}

#chatlog::after {
    content: "";
    display: table;
    clear: both;
}

.chat-user,
.chat-bot {
    max-width: 88%;
    width: fit-content;
    padding: 10px 14px;
    margin: 8px 0;
    border-radius: 16px;
    display: block;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 14px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.22);
}

.chat-user {
    margin-left: auto;
    margin-right: 0;
    border-bottom-right-radius: 5px;
}

.chat-bot {
    margin-right: auto;
    margin-left: 0;
    border-bottom-left-radius: 5px;
}

.chat-input-wrap {
    display: flex;
    border-top: 1px solid rgba(87, 80, 80, 0.33);
    background: var(--axis-chat-body-bg, #1c2d46);
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
}

#send-btn {
    background: linear-gradient(135deg, #00ab71 0%, #2dd4bf 100%);
    color: #fff;
    padding: 0 15px;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#chatlog a,
.chat-link {
    color: #007bff;
    text-decoration: underline;
}

#chatlog a + a {
    margin-left: 10px;
}

#chatlog a:hover,
.chat-link:hover {
    color: #ff0000 !important;
}


.axis-loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

.axis-loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.25;
    animation: axis-loading-fade 1s infinite ease-in-out;
}

.axis-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.axis-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes axis-loading-fade {
    0%,
    80%,
    100% {
        opacity: 0.25;
    }
    40% {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    #chatbot-widget,
    #chatbot-toggle {
        left: 12px;
        bottom: 12px;
    }

    #chatbot-widget {
        width: min(360px, calc(100vw - 24px));
    }
}

.axis-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.axis-product-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.axis-product-thumb-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}

.axis-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.axis-product-name {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.axis-product-price {
    font-size: 13px;
    font-weight: 700;
    color: #00ab71;
}
