/* anewbd/css/intelligent-sidebar.css (চূড়ান্ত এবং কার্যকরী স্ক্রলিং সমাধান) */

/* Intelligent Sidebar-এর বাটনের জন্য নতুন কাস্টম রঙ */

/* "Buy Now" বাটনের রঙ পরিবর্তন */
.intelligent-sidebar-wrapper .anewbd-fp-buttons .quick-buy-button {
    background-color: #82e600be !important; /* আপনার দেওয়া --all-quick-buy-button-color */
    color: #000000 !important;
}

/* "Add to Cart" বাটনের রঙ পরিবর্তন */
.intelligent-sidebar-wrapper .anewbd-fp-buttons .add_to_cart_button {
    background-color: #101828 !important; /* আপনার দেওয়া --all-add-to-cart-button-bg-color */
    color: #ffffff !important;
}



.intelligent-sidebar-wrapper {
    background-color: #f3f7ff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* ভেতরের কন্টেন্টকে সীমার মধ্যে রাখে */
}

/* শিরোনাম এবং ট্যাব বার */
.custom-sidebar-header,
.intelligent-sidebar-tabs {
    flex-shrink: 0;
    /* এই অংশগুলো সংকুচিত হবে না */
}

.custom-sidebar-header {
    padding: 15px;
    background-color: #e9ecef;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.custom-sidebar-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #101828;
}

.intelligent-sidebar-tabs {
    display: flex;
    background-color: #e9ecef;
}

.sidebar-tab-button {
    flex: 1;
    background-color: transparent;
    border: none;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-tab-button:hover {
    background-color: #dfe6f0;
}

.sidebar-tab-button.active {
    color: #e0190a;
    border-bottom-color: #e0190a;
    background-color: #f3f7ff;
}

/* ================== এখানে মূল সমাধান করা হয়েছে ================== */
.intelligent-sidebar-content {
    padding: 15px;
    overflow-y: auto;
    /* স্ক্রলবারটি এখন সরাসরি এই কন্টেইনারে যুক্ত করা হলো */
    flex-grow: 1;
    /* বাকি সবটুকু জায়গা নিয়ে নেবে */
    min-height: 0;
    /* ফ্লেক্সবক্সের উচ্চতা সঠিকভাবে কাজ করার জন্য এটি জরুরি */
}

/* ================== সমাধান শেষ ================== */

.intelligent-sidebar-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
    color: #101828;
}

.intelligent-sidebar-product-list .anewbd-fp-item {
    margin-bottom: 10px;
}

.no-products-found {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    font-style: italic;
}