/* FTBot v4 — Warm Industrial Design System */

#ftbot-widget *,
#ftbot-widget *::before,
#ftbot-widget *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ftbot-widget {
    position: fixed !important;
    bottom: 24px !important;
    z-index: 99999 !important;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #1C1917 !important;
}

#ftbot-widget.ftbot-right { right: 24px !important; }
#ftbot-widget.ftbot-left { left: 24px !important; }

/* ── Toggle Button ── */
#ftbot-widget .ftbot-toggle-btn {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    background: #D97706 !important;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.15) !important;
    float: none !important;
}

#ftbot-widget .ftbot-toggle-btn:hover {
    background: #B45309 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(28, 25, 23, 0.2) !important;
}

#ftbot-widget .ftbot-toggle-btn:active {
    transform: scale(0.97) !important;
}

#ftbot-widget .ftbot-toggle-btn svg {
    width: 26px !important;
    height: 26px !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}

/* ── Chat Window ── */
#ftbot-widget #ftbot-window {
    width: 420px !important;
    height: 580px;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: none;
    flex-direction: column !important;
    margin-bottom: 16px !important;
    background: #FAFAF5 !important;
    border: 1px solid #E7E5E0 !important;
    box-shadow: 0 16px 50px rgba(28, 25, 23, 0.15) !important;
    float: none !important;
}

@keyframes ftbot-window-open {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ── */
#ftbot-widget .ftbot-header {
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #E7E5E0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

#ftbot-widget .ftbot-title {
    color: #1C1917 !important;
    font-family: 'Clash Grotesk', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#ftbot-widget .ftbot-title svg {
    flex-shrink: 0 !important;
    color: #D97706 !important;
    opacity: 1 !important;
}

#ftbot-widget .ftbot-close-btn {
    background: transparent !important;
    border: 1px solid #E7E5E0 !important;
    color: #78716C !important;
    cursor: pointer !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    margin-left: 10px !important;
    padding: 6px !important;
}

#ftbot-widget .ftbot-close-btn:hover {
    background: #E7E5E0 !important;
    color: #1C1917 !important;
    border-color: #D6D3CD !important;
    transform: none !important;
}

/* ── Messages Area ── */
#ftbot-widget .ftbot-messages {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 20px 16px !important;
    background: #FAFAF5 !important;
    scroll-behavior: smooth !important;
}

#ftbot-widget .ftbot-msg {
    margin-bottom: 16px !important;
    max-width: 82% !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
    line-height: 1.6 !important;
    position: relative !important;
    animation: ftbot-msg-slide 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes ftbot-msg-slide {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

#ftbot-widget .ftbot-user {
    background: #D97706 !important;
    color: #FFFFFF !important;
    margin-left: auto !important;
    border-radius: 16px 16px 6px 16px !important;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05) !important;
    text-shadow: none !important;
}

#ftbot-widget .ftbot-assistant {
    background: #FFFFFF !important;
    color: #1C1917 !important;
    border-radius: 16px 16px 16px 6px !important;
    border: 1px solid #E7E5E0 !important;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05) !important;
}

/* ── Markdown Content ── */
#ftbot-widget .ftbot-text p { margin: 0 0 6px !important; }
#ftbot-widget .ftbot-text p:last-child { margin-bottom: 0 !important; }

#ftbot-widget .ftbot-text .ftbot-h1 {
    font-family: 'Clash Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1C1917 !important;
    margin: 10px 0 4px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #E7E5E0 !important;
}

#ftbot-widget .ftbot-text .ftbot-h2 {
    font-family: 'Clash Grotesk', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1C1917 !important;
    margin: 8px 0 3px !important;
}

#ftbot-widget .ftbot-text .ftbot-h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1C1917 !important;
    margin: 6px 0 2px !important;
}

#ftbot-widget .ftbot-text .ftbot-h4 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #57534E !important;
    margin: 6px 0 2px !important;
}

#ftbot-widget .ftbot-text strong {
    font-weight: 600 !important;
    color: #1C1917 !important;
}

#ftbot-widget .ftbot-text em {
    font-style: italic !important;
    color: #D97706 !important;
}

#ftbot-widget .ftbot-text .ftbot-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 6px 0 !important;
    border-radius: 8px !important;
    border: 1px solid #E7E5E0 !important;
}

#ftbot-widget .ftbot-text .ftbot-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 8px 0 !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #E7E5E0 !important;
}

#ftbot-widget .ftbot-text .ftbot-table th {
    background: #D97706 !important;
    color: #FFFFFF !important;
    padding: 8px 10px !important;
    text-align: left !important;
    font-family: 'Geist', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    letter-spacing: 0.02em !important;
    font-variant-numeric: tabular-nums !important;
}

#ftbot-widget .ftbot-text .ftbot-table td {
    padding: 7px 10px !important;
    border-bottom: 1px solid #E7E5E0 !important;
    color: #1C1917 !important;
}

#ftbot-widget .ftbot-text .ftbot-table tr:nth-child(even) td {
    background: #FAFAF5 !important;
}

#ftbot-widget .ftbot-text .ftbot-table tr:last-child td {
    border-bottom: none !important;
}

#ftbot-widget .ftbot-text .ftbot-list {
    margin: 6px 0 !important;
    padding-left: 20px !important;
}

#ftbot-widget .ftbot-text .ftbot-list li {
    margin: 3px 0 !important;
    line-height: 1.55 !important;
}

#ftbot-widget .ftbot-text .ftbot-code-inline {
    background: #FEF3C7 !important;
    color: #92400E !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    font-family: 'Geist Mono', 'SF Mono', monospace !important;
    font-size: 12px !important;
}

#ftbot-widget .ftbot-text .ftbot-code-block {
    display: block !important;
    background: #1C1917 !important;
    color: #D6D3CE !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font-family: 'Geist Mono', 'SF Mono', monospace !important;
    font-size: 12px !important;
    overflow-x: auto !important;
    margin: 8px 0 !important;
    line-height: 1.6 !important;
}

#ftbot-widget .ftbot-system {
    background: #E7E5E0 !important;
    color: #78716C !important;
    text-align: center !important;
    font-size: 12px !important;
    margin: 4px auto !important;
    max-width: 90% !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
}

/* ── Typing Indicator ── */
#ftbot-widget .ftbot-typing {
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    animation: ftbot-msg-slide 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#ftbot-widget .ftbot-typing-dots {
    display: flex !important;
    gap: 4px !important;
    background: #FFFFFF !important;
    padding: 10px 14px !important;
    border-radius: 16px 16px 16px 4px !important;
    border: 1px solid #E7E5E0 !important;
    box-shadow: none !important;
}

#ftbot-widget .ftbot-typing-dots span {
    width: 7px !important;
    height: 7px !important;
    background: #78716C !important;
    border-radius: 50% !important;
    animation: ftbot-typing-bounce 1.4s ease-in-out infinite !important;
}

#ftbot-widget .ftbot-typing-dots span:nth-child(1) { animation-delay: 0s !important; }
#ftbot-widget .ftbot-typing-dots span:nth-child(2) { animation-delay: 0.15s !important; }
#ftbot-widget .ftbot-typing-dots span:nth-child(3) { animation-delay: 0.3s !important; }

@keyframes ftbot-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

#ftbot-widget .ftbot-typing-text {
    font-size: 11.5px !important;
    font-style: italic !important;
    color: #78716C !important;
    animation: none !important;
    opacity: 1 !important;
}

/* ── Input Area ── */
#ftbot-widget .ftbot-input-area {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E7E5E0 !important;
    gap: 10px !important;
}

#ftbot-widget #ftbot-input {
    flex: 1 !important;
    border: 1.5px solid #E7E5E0 !important;
    border-radius: 16px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    outline: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #FAFAF5 !important;
    color: #1C1917 !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: auto !important;
    line-height: 1.5 !important;
}

#ftbot-widget #ftbot-input:focus {
    border-color: #D97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.08) !important;
    background: #FFFFFF !important;
}

#ftbot-widget #ftbot-input:disabled {
    background: #E7E5E0 !important;
    color: #A8A29E !important;
    cursor: not-allowed !important;
    border-color: #D6D3CD !important;
}

#ftbot-widget #ftbot-input::placeholder {
    color: #A8A29E !important;
}

#ftbot-widget #ftbot-send {
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    border-radius: 10px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #D97706 !important;
    flex-shrink: 0 !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

#ftbot-widget #ftbot-send:hover:not(:disabled) {
    background: #B45309 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12) !important;
}

#ftbot-widget #ftbot-send:active:not(:disabled) {
    transform: translateY(0) scale(0.97) !important;
}

#ftbot-widget #ftbot-send:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* ── Quick Reply Chips ── */
#ftbot-widget .ftbot-quick-replies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

#ftbot-widget .ftbot-quick-btn {
    padding: 6px 14px !important;
    background: #FFFFFF !important;
    color: #57534E !important;
    border: 1.5px solid #E7E5E0 !important;
    border-radius: 20px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    text-shadow: none !important;
}

#ftbot-widget .ftbot-quick-btn:hover {
    border-color: #D97706 !important;
    color: #D97706 !important;
    background: #FFFBEB !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Product Card ── */
#ftbot-widget .ftbot-actions {
    margin-top: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#ftbot-widget .ftbot-product-card {
    display: flex !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #FFFBEB !important;
    border-radius: 10px !important;
    border: 1px solid #E7E5E0 !important;
    align-items: center !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#ftbot-widget .ftbot-product-card:hover {
    border-color: #D6D3CD !important;
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.06) !important;
}

#ftbot-widget .ftbot-product-img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    background: linear-gradient(135deg, #E7E5E0, #D6D3CD) !important;
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05) !important;
}

#ftbot-widget .ftbot-product-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

#ftbot-widget .ftbot-product-name {
    font-family: 'Clash Grotesk', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #1C1917 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#ftbot-widget .ftbot-product-price {
    font-family: 'Geist', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #D97706 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: -0.01em !important;
}

#ftbot-widget .ftbot-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 12px !important;
    background: transparent !important;
    color: #D97706 !important;
    border: 1.5px solid #D97706 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: fit-content !important;
    box-shadow: none !important;
}

#ftbot-widget .ftbot-link-btn:hover {
    background: #D97706 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    transform: none !important;
}

#ftbot-widget .ftbot-cart-btn {
    padding: 5px 12px !important;
    background: #D97706 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: fit-content !important;
}

#ftbot-widget .ftbot-cart-btn:hover:not(:disabled) {
    background: #B45309 !important;
}

#ftbot-widget .ftbot-cart-added {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #FFFFFF !important;
    cursor: default !important;
}

/* ── Stock Badges ── */
#ftbot-widget .ftbot-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

#ftbot-widget .ftbot-stock-ok {
    background: #ECFDF5 !important;
    color: #059669 !important;
    border: 1px solid rgba(5, 150, 105, 0.15) !important;
}

#ftbot-widget .ftbot-stock-out {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
}

/* ── Floating Channel Buttons — Warm Glass Design ── */
#ftbot-widget .ftbot-channels {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

#ftbot-widget .ftbot-channel-btn {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #fff !important;
    overflow: hidden !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: ftbot-channel-enter 600ms cubic-bezier(0.22, 1, 0.36, 1) backwards !important;
    z-index: 1 !important;
}

#ftbot-widget .ftbot-channel-btn svg {
    position: relative !important;
    z-index: 2 !important;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15)) !important;
}

#ftbot-widget .ftbot-channels .ftbot-channel-btn:nth-child(1) { animation-delay: 0ms !important; }
#ftbot-widget .ftbot-channels .ftbot-channel-btn:nth-child(2) { animation-delay: 80ms !important; }
#ftbot-widget .ftbot-channels .ftbot-channel-btn:nth-child(3) { animation-delay: 160ms !important; }
#ftbot-widget .ftbot-channels .ftbot-channel-btn:nth-child(4) { animation-delay: 240ms !important; }

@keyframes ftbot-channel-enter {
    0% { opacity: 0 !important; transform: translateY(16px) scale(0.85) !important; }
    100% { opacity: 1 !important; transform: translateY(0) scale(1) !important; }
}

/* Subtle warm shimmer */
#ftbot-widget .ftbot-channel-btn::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Click feedback */
#ftbot-widget .ftbot-channel-btn:active {
    transform: scale(0.92) !important;
    transition-duration: 100ms !important;
}

#ftbot-widget .ftbot-channel-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ── Channel Colors — Warm Glass with Brand Identity ── */

#ftbot-widget .ftbot-channel-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.85) 0%, rgba(30, 180, 80, 0.9) 100%) !important;
    box-shadow:
        0 2px 8px rgba(37, 211, 102, 0.25),
        0 8px 24px rgba(37, 211, 102, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
#ftbot-widget .ftbot-channel-whatsapp:hover {
    box-shadow:
        0 4px 12px rgba(37, 211, 102, 0.3),
        0 12px 32px rgba(37, 211, 102, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

#ftbot-widget .ftbot-channel-telegram {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.85) 0%, rgba(0, 100, 160, 0.9) 100%) !important;
    box-shadow:
        0 2px 8px rgba(0, 136, 204, 0.25),
        0 8px 24px rgba(0, 136, 204, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
#ftbot-widget .ftbot-channel-telegram:hover {
    box-shadow:
        0 4px 12px rgba(0, 136, 204, 0.3),
        0 12px 32px rgba(0, 136, 204, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

#ftbot-widget .ftbot-channel-messenger {
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.85) 0%, rgba(0, 106, 255, 0.9) 100%) !important;
    box-shadow:
        0 2px 8px rgba(0, 106, 255, 0.25),
        0 8px 24px rgba(0, 106, 255, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
#ftbot-widget .ftbot-channel-messenger:hover {
    box-shadow:
        0 4px 12px rgba(0, 106, 255, 0.3),
        0 12px 32px rgba(0, 106, 255, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

#ftbot-widget .ftbot-channel-instagram {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.85) 0%, rgba(225, 48, 108, 0.9) 50%, rgba(247, 119, 55, 0.85) 100%) !important;
    box-shadow:
        0 2px 8px rgba(131, 58, 180, 0.25),
        0 8px 24px rgba(225, 48, 108, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
#ftbot-widget .ftbot-channel-instagram:hover {
    box-shadow:
        0 4px 12px rgba(131, 58, 180, 0.3),
        0 12px 32px rgba(225, 48, 108, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* ── Cart Status Bar ── */
#ftbot-widget .ftbot-cart-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
    background: #FFFBEB !important;
    border-top: 1px solid #FDE68A !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
}

#ftbot-widget .ftbot-cart-info {
    font-size: 13px !important;
    color: #1C1917 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#ftbot-widget .ftbot-cart-info strong {
    color: #D97706 !important;
    font-weight: 700 !important;
}

#ftbot-widget .ftbot-cart-actions {
    display: flex !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

#ftbot-widget .ftbot-checkout-btn {
    padding: 6px 14px !important;
    background: #D97706 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
}

#ftbot-widget .ftbot-checkout-btn:hover {
    background: #B45309 !important;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

#ftbot-widget .ftbot-continue-btn {
    padding: 6px 12px !important;
    background: transparent !important;
    color: #78716C !important;
    border: 1.5px solid #E7E5E0 !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
}

#ftbot-widget .ftbot-continue-btn:hover {
    border-color: #D6D3CD !important;
    color: #1C1917 !important;
}

/* ── Scrollbar ── */
#ftbot-widget .ftbot-messages::-webkit-scrollbar { width: 5px !important; }
#ftbot-widget .ftbot-messages::-webkit-scrollbar-track { background: transparent !important; }
#ftbot-widget .ftbot-messages::-webkit-scrollbar-thumb {
    background: rgba(120, 113, 108, 0.15) !important;
    border-radius: 6px !important;
}
#ftbot-widget .ftbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 113, 108, 0.3) !important;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    #ftbot-widget.ftbot-right { right: 12px !important; }
    #ftbot-widget.ftbot-left { left: 12px !important; }

    #ftbot-widget #ftbot-window {
        width: calc(100vw - 24px) !important;
        height: 70vh !important;
        border-radius: 16px !important;
    }

    #ftbot-widget .ftbot-toggle-btn {
        width: 56px !important;
        height: 56px !important;
    }

    #ftbot-widget .ftbot-toggle-btn svg {
        width: 24px !important;
        height: 24px !important;
    }

    #ftbot-widget .ftbot-product-card {
        padding: 10px !important;
        gap: 10px !important;
    }

    #ftbot-widget .ftbot-product-img {
        width: 52px !important;
        height: 52px !important;
    }

    #ftbot-widget .ftbot-cart-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 8px 12px !important;
    }

    #ftbot-widget .ftbot-cart-actions {
        justify-content: stretch !important;
    }

    #ftbot-widget .ftbot-checkout-btn,
    #ftbot-widget .ftbot-continue-btn {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
    }
}
