#nebari-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 500px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

#nebari-header {
    background: #111;
    color: #fff;
    padding: 14px;
    font-weight: bold;
    border-radius: 12px 12px 0 0;
}

#nebari-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f7f7f7;
}

#nebari-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #ddd;
    background: #fff;
}

#nebari-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

#nebari-send {
    padding: 10px 14px;
    border: none;
    background: #111;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

#nebari-chatbot .nebari-msg {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    max-width: 85%;
    clear: both;
    box-sizing: border-box;
}

#nebari-chatbot .nebari-msg.user {
    background: #d9fdd3;
    margin-left: auto;
}

#nebari-chatbot .nebari-msg.bot {
    background: #fff;
    border: 1px solid #ddd;
}

#nebari-chatbot .nebari-product {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 8px;
}

#nebari-chatbot .nebari-product img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

#nebari-chatbot .nebari-product-title {
    font-size: 13px;
    line-height: 1.2;
}

#nebari-chatbot .nebari-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#nebari-chatbot .nebari-add-btn {
    align-self: flex-start;
    padding: 8px 12px;
    border: none;
    background: #111;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

#nebari-chatbot .nebari-add-btn:hover {
    opacity: 0.9;
}

#nebari-cart-box {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
}

#nebari-chatbot .nebari-cart-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

#nebari-chatbot .nebari-cart-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

#nebari-chatbot .nebari-cart-item button {
    border: none;
    background: #ddd;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

#nebari-chatbot .nebari-whatsapp-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    border: none;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}
#nebari-chatbot .nebari-cart-name {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 6px;
}

#nebari-chatbot .nebari-cart-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#nebari-chatbot .nebari-cart-controls button {
    border: none;
    background: #ddd;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

#nebari-chatbot .nebari-cart-controls span {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
}