/* =======================================================
   CUSTOM DOWNLOAD BUTTON STYLING
   ======================================================= */
.bma-download-container {
    margin-top: 0px;
    margin-bottom: 5px;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f9f9f9;
}

.bma-member-info {
    color: #007bff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.bma-download-button {
    /* Download Button Design */
    background-color: #0A59FC !important; /* Green */
    color: white !important;
    padding: 10px 70px !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 10px !important;
    text-align: center;
    width: 100%; /* Full width */
    display: block !important; 
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bma-download-button:hover {
    background-color: #218838 !important; /* Darker green on hover */
}



/* ==========================
   RESPONSIVE DESIGN
   ========================== */

/* Mobile */
@media (max-width: 480px) {
    .bma-download-button {
        font-size: 15px !important;
        padding: 7px 85px !important;
        width: 100%; /* Full width */
    }
}

/* Tablet */
@media (max-width: 768px) {
    .bma-download-button {
        font-size: 15px !important;
        padding: 7px 85px !important;
    }
}



/* =======================================================
   ELEMENTOR/CUSTOM ID COMPATIBILITY FIX (Hiding Add to Cart)
   ======================================================= */

/* যদি Body তে 'bma-is-member-product-page' ক্লাসটি থাকে (অর্থাৎ ইউজার মেম্বার), 
   তবে ID 'membership' যুক্ত বাটনটি সম্পূর্ণরূপে হাইড হয়ে যাবে। */
body.bma-is-member-product-page #membership {
    display: none !important;
}

/* আপনার পূর্ববর্তী Add to Cart button widget বা wrapper হাইড করার ক্লাসগুলোও রাখা হলো (Safety Measure) */
body.bma-is-member-product-page .elementor-add-to-cart {
    display: none !important;
}

body.bma-is-member-product-page .cart,
body.bma-is-member-product-page .product .summary .cart {
    display: none !important;
}