#snc-chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#snc-chat-bubble:hover {
    transform: scale(1.1);
}

#snc-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.snc-chat-hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

#snc-chat-header {
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.snc-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.snc-title {
    font-weight: 600;
    font-size: 16px;
    flex-grow: 1;
}

#snc-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

#snc-chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.snc-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.4;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.snc-message.bot {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 2px;
}

.snc-message.user {
    align-self: flex-end;
    background: var(--snc-primary-color);
    color: white;
    border-bottom-right-radius: 2px;
}

#snc-chat-input-area {
    padding: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

#snc-user-input {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    padding: 10px 20px;
    outline: none;
    transition: border-color 0.2s;
}

#snc-user-input:focus {
    border-color: var(--snc-primary-color);
}

#snc-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

#snc-send-btn:hover {
    opacity: 0.9;
}

/* Product Card Styling */
.snc-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.snc-product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.snc-product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.snc-product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.snc-product-name {
    font-weight: 600;
    font-size: 14px;
}

.snc-product-price {
    color: var(--snc-primary-color);
    font-weight: 700;
}

.snc-buy-btn {
    margin-top: 10px;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
