/* ─── CHATBOT STANDALONE UTILITIES ─── */
.d-none { display: none !important; }

/* ─── CHATBOT FLOATING WIDGET (AGENTFORCE STYLE) ─── */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    height: 52px;
    border-radius: 26px;
    background-color: #F47920;
    color: var(--white);
    border: none;
    box-shadow: 0 8px 24px rgba(244, 121, 32, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background-color: #D4631A;
    box-shadow: 0 10px 28px rgba(244, 121, 32, 0.5);
}

.chatbot-toggle-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.toggle-avatar-svg {
    width: 100%;
    height: 100%;
}

.chatbot-toggle-text {
    font-size: 14.5px;
    font-weight: 700;
    font-family: var(--font-primary);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .chatbot-toggle-btn {
        bottom: 16px;
        right: 16px;
        height: 44px;
        padding: 6px 14px 6px 6px;
        gap: 8px;
    }
    .chatbot-toggle-avatar {
        width: 30px;
        height: 30px;
        padding: 2px;
    }
    .chatbot-toggle-text {
        font-size: 13px;
    }
    .chatbot-widget {
        bottom: 72px;
        right: 16px;
    }
}


/* Chatbot Widget Container */
.chatbot-widget {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 420px;
    max-width: 90vw;
    height: 520px;
    display: flex;
    flex-direction: column;
    background: rgba(13, 15, 16, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow: hidden;
    animation: chat-widget-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chat-widget-in {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.chatbot-header {
    padding: 16px 20px;
    background: rgba(20, 22, 24, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.robot-face-svg {
    width: 100%;
    height: 100%;
}

.chatbot-title-block {
    display: flex;
    flex-direction: column;
}

.chatbot-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.chatbot-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-minimize-btn,
.chatbot-maximize-btn,
.chatbot-reset-btn {
    width: 28px;
    height: 28px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chatbot-minimize-btn:hover,
.chatbot-maximize-btn:hover,
.chatbot-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-minimize-btn:active,
.chatbot-maximize-btn:active,
.chatbot-reset-btn:active {
    transform: scale(0.92);
}

.chatbot-minimize-btn .minimize-icon {
    width: 16px;
    height: 16px;
}

.chatbot-maximize-btn .maximize-icon {
    width: 14px;
    height: 14px;
}

.chatbot-reset-btn .reset-icon {
    width: 14px;
    height: 14px;
}

/* Toggle Expand/Restore Paths inside SVG */
.chatbot-widget.maximized .expand-path {
    display: none;
}
.chatbot-widget:not(.maximized) .restore-path {
    display: none;
}

/* Maximized Widget Styles */
.chatbot-widget.maximized {
    width: 650px;
    height: 80vh;
    max-height: 850px;
    bottom: 24px;
    right: 24px;
    border-radius: 20px !important;
}

@media (max-width: 768px) {
    .chatbot-widget.maximized {
        width: calc(100% - 32px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .chatbot-widget.maximized {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0 !important;
        z-index: 9999;
    }
}

/* Chat Body (Message area) */
.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Message Bubbles */
.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.agent {
    align-self: flex-start;
}

.chat-message .message-content {
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 12px;
}

.chat-message.user .message-content {
    background-color: rgba(244, 121, 32, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border-bottom-right-radius: 2px;
}

.chat-message.agent .message-content {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 2px;
}

/* Typing Indicator */
.chat-message.agent.typing .message-content {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing-dot-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}

/* Footer (Input & Suggestions) */
.chatbot-footer {
    padding: 12px 16px 16px;
    background: rgba(10, 12, 13, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sparkles Input Bar */
.chatbot-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4px 6px 4px 14px;
}

.chatbot-input-wrapper .sparkles-icon {
    width: 18px;
    height: 18px;
    color: rgba(244, 121, 32, 0.8);
    margin-right: 8px;
    flex-shrink: 0;
}

.chatbot-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 13.5px;
    color: #ffffff;
    outline: none;
}

.chatbot-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.chatbot-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.chatbot-input-wrapper input:valid + .chatbot-send-btn,
.chatbot-send-btn:hover {
    background-color: rgba(244, 121, 32, 0.2);
    color: #F47920;
}

.chatbot-send-btn .send-icon {
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    margin-left: -2px;
    margin-top: -1px;
}

/* Suggestions Stack - Redesigned to be horizontal tags */
.chatbot-suggestions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.chatbot-suggestion-chip {
    width: auto;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11.5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.chatbot-suggestion-chip:hover {
    background: rgba(244, 121, 32, 0.15);
    border-color: rgba(244, 121, 32, 0.3);
    color: var(--white);
    transform: translateY(-1px);
}



/* WhatsApp / Talk to Humans Strip */
.chatbot-whatsapp-strip {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 4px;
}

.chatbot-whatsapp-strip a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #3aa56a;
    color: #f0fbf5;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(58, 165, 106, 0.2);
}

.chatbot-whatsapp-strip a:hover {
    background: #2e8b54;
    color: #f0fbf5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(46, 139, 87, 0.3);
}

.chatbot-whatsapp-strip .whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Sticky WhatsApp Sidebar Button */
.sticky-whatsapp-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    width: 48px;
    height: 48px;
    background-color: #25D366; /* WhatsApp Green */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.sticky-whatsapp-sidebar:hover {
    background-color: #128c7e;
    width: 140px;
}

.sticky-whatsapp-sidebar .sticky-whatsapp-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.sticky-whatsapp-sidebar .sticky-whatsapp-text {
    color: #ffffff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sticky-whatsapp-sidebar:hover .sticky-whatsapp-text {
    opacity: 1;
    transition-delay: 0.1s;
}

@media (max-width: 768px) {
    .sticky-whatsapp-sidebar {
        width: 42px;
        height: 42px;
        padding: 0 9px;
    }
    .sticky-whatsapp-sidebar .sticky-whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    .sticky-whatsapp-sidebar:hover {
        width: 42px;
    }
    .sticky-whatsapp-sidebar:hover .sticky-whatsapp-text {
        opacity: 0;
    }
}

.hover-orange {
    transition: color 0.2s ease-in-out;
}
.hover-orange:hover {
    color: #F47920 !important;
}

.product-card__image-link {
    display: block;
    overflow: hidden;
}
.product-card__image-link img {
    transition: transform 0.3s ease-in-out;
}
.product-card__image-link:hover img {
    transform: scale(1.05);
}

.btn-outline-primary {
    border: 1.5px solid var(--orange) !important;
    background-color: transparent !important;
    color: var(--orange) !important;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--orange) !important;
    color: var(--white) !important;
    border-color: var(--orange) !important;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.2) !important;
}





