.elementor-355 .elementor-element.elementor-element-78827f8{--display:flex;--margin-top:15px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(min-width:768px){.elementor-355 .elementor-element.elementor-element-78827f8{--content-width:1500px;}}@media(max-width:1024px){.elementor-355 .elementor-element.elementor-element-78827f8{--margin-top:-15px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}@media(max-width:767px){.elementor-355 .elementor-element.elementor-element-78827f8{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-7c8558c *//* ১. গ্লোবাল ফন্ট ফ্যামিলি লোড এবং ১২ পিক্সেল সাইজ */
.custom-shop-layout,
.custom-shop-layout *,
.custom-p-card,
.custom-p-card * {
    font-family: 'Hind Siliguri', sans-serif !important;
    font-size: 12px;
}

/* ২. প্রোডাক্ট কার্ডের মূল CSS (অপরিবর্তিত) */
.custom-p-card { background: #ffffff; border: 1px solid #f1f2f6; border-radius: 16px; padding: 15px; position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 5px 15px rgba(0,0,0,0.03); overflow: hidden; }
.custom-p-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.06); border: 1px solid #55000036; }
.p-card-thumb-wrapper { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.p-card-thumb { background: #f9f9f9; display: block; padding: 10px; text-align: center; }
.p-card-thumb img { max-width: 100%; height: auto; transition: transform 0.5s ease; }
.custom-p-card:hover .p-card-thumb img { transform: scale(1.1); }
.p-cart-blur-notice { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(5px); display: none; flex-direction: column; justify-content: center; align-items: center; z-index: 10; text-align: center; color: #550000; font-weight: bold; }
.p-card-thumb-wrapper.active-blur .p-cart-blur-notice { display: flex; }
.p-card-badge { position: absolute; top: 10px; right: 10px; background: #FFF0F2; color: #D63031; padding: 3px 8px; border-radius: 8px; font-size: 10px; font-weight: 700; z-index: 2; }
.p-card-title { font-size: 12px; font-weight: 700; color: #1e272e; margin: 0 0 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.p-main-price { font-size: 14px; font-weight: 800; color: #1e272e; }
.p-old-price { font-size: 11px; color: #a4b0be; text-decoration: line-through; }
.p-card-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.p-buy-now-btn { flex: 1; border: 1px solid #e0e4e8; border-radius: 20px; padding: 6px 0; text-align: center; color: #1e272e; font-size: 12px; font-weight: 700; text-decoration: none; }
.p-buy-now-btn:hover { background: #1e272e; color: #ffffff; }
.p-ajax-cart-btn { width: 32px; height: 32px; background-color: #f8f9fa; border: 1px solid #e0e4e8; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #1e272e; flex-shrink: 0; }
.p-ajax-cart-btn svg { width: 14px; height: 14px; }
.p-ajax-cart-btn:hover { background-color: #1e272e; color: #ffffff; }

/* ৩. ট্যাবলেট ও ডেক্সটপ এর জন্য ২-কলাম লেআউট */
.custom-shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 20px 0; align-items: start; background: #fff; }

/* আল্ট্রা-স্টিকি সাইডবার: পেজ স্ক্রল করলেও এটি একদম ১ পিক্সেলও নড়বে না */
.shop-sidebar-filter { 
    background: #ffffff; 
    border-radius: 20px; 
    padding: 25px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); 
    border: 1px solid #f1f2f6; 
    position: -webkit-sticky;
    position: sticky; 
    top: 30px; /* স্ক্রিনের উপর থেকে ৩০ পিক্সেল ফিক্সড দূরত্বে লক থাকবে */
    height: fit-content;
    z-index: 100;
}

/* মোবাইল পপআপ অ্যাকশন এবং হেডার এলিমেন্ট (ডেস্কটপ ও ট্যাবলেটে হাইড থাকবে) */
.mobile-top-bar,
.mobile-filter-popup-header,
.mobile-popup-action-bar,
.mobile-popup-overlay {
    display: none;
}

/* ফিল্টার হেডার ও রিসেট বাটন */
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #f1f2f6; padding-bottom: 15px; }
.filter-header h3 { font-size: 15px; font-weight: 700; color: #1e272e; margin: 0; display: flex; align-items: center; gap: 8px; }
.filter-svg-icon { color: #ff3f34; vertical-align: middle; }
.reset-btn { font-size: 11px; color: #8a96a3; text-decoration: none; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; cursor: pointer; display: inline-flex; align-items: center; gap: 3px; }
.reset-btn:hover { color: #ff3f34; }

.filter-widget { margin-bottom: 25px; }
.filter-widget h4 { font-size: 12px; font-weight: 600; color: #8a96a3; margin: 0 0 15px 0; }

/* প্রাইস ও চেকবক্স ডিজাইন */
.price-input-fields { display: flex; align-items: center; gap: 10px; }
.price-input-fields input { width: 100%; border: none; background: #f8f9fa; padding: 10px; border-radius: 10px; text-align: center; font-size: 12px; color: #1e272e; font-weight: 600; outline: none; }
.price-input-fields .delimiter { color: #d1d8e0; }
.filter-checkbox-list { display: flex; flex-direction: column; gap: 12px; }
.filter-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #2f3542; font-weight: 600; }
.filter-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; border-radius: 4px; border: 2px solid #d1d8e0; accent-color: #ff3f34; margin: 0; }
.stock-filter-row { border-top: 1px solid #f1f2f6; padding-top: 20px; margin-top: 20px; }

/* টপ বার (সার্চ ও সর্ট) */
.shop-products-main { display: flex; flex-direction: column; }
.shop-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; gap: 20px; }
.top-search-box-wrapper { position: relative; flex: 1; max-width: 500px; }
.top-search-box-wrapper .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8a96a3; }
.top-search-box-wrapper input[type="search"] { width: 100%; border: none; background: #f8f9fa; padding: 12px 15px 12px 45px; border-radius: 30px; outline: none; font-size: 12px; }
.top-sorting-box select { border: none; background: #f8f9fa; padding: 12px 20px; border-radius: 30px; color: #2f3542; font-weight: 600; outline: none; cursor: pointer; font-size: 12px; }

/* রেসপন্সিভ গ্রিড লুপ (ডেস্কটপ এবং ট্যাবলেটে ৪ কলাম) */
.custom-products-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

/* পেজিনেশন */
.custom-shop-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.custom-shop-pagination a, .custom-shop-pagination span { padding: 8px 16px; border-radius: 8px; background: #f8f9fa; color: #2f3542; text-decoration: none; font-weight: bold; }
.custom-shop-pagination span.current { background: #1e272e; color: #fff; }
.no-products { font-size: 14px; color: #8a96a3; text-align: center; grid-column: 1 / -1; padding: 40px 0; }

/* ৪. ট্যাবলেট মিডিয়া কুয়েরি (স্ক্রিন উইডথ ৯৯১ পিক্সেল পর্যন্ত ৪ কলাম এবং সাইডবার থাকবে) */
@media (max-width: 991px) {
    .custom-shop-layout { grid-template-columns: 240px 1fr; gap: 20px; }
    .custom-products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ৫. মোবাইল ডিভাইস মিডিয়া কুয়েরি (৭৬৮ পিক্সেল বা তার নিচে) */
@media (max-width: 768px) {
    .custom-shop-layout { grid-template-columns: 1fr; gap: 15px; padding: 10px; }
    
    /* ক. মোবাইলে গ্রিড ২ কলাম করা হলো */
    .custom-products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }

    /* খ. মোবাইলে টপ বারের সার্চ অপশন পুরোপুরি হাইড */
    .shop-top-bar { display: none !important; }

    /* গ. মোবাইলের জন্য নতুন উপরে ফিল্টার ও সর্ট বার */
    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        border-bottom: 1px solid #f1f2f6;
        padding-bottom: 12px;
    }
    .mobile-filter-btn {
        flex: 1;
        background: #f8f9fa;
        border: 1px solid #e0e4e8;
        padding: 10px;
        border-radius: 10px;
        font-weight: 700;
        color: #1e272e;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
    }
    .mobile-sort-container {
        flex: 1;
    }
    .mobile-sort-container select {
        width: 100%;
        background: #f8f9fa;
        border: 1px solid #e0e4e8;
        padding: 10px;
        border-radius: 10px;
        font-weight: 700;
        color: #1e272e;
        outline: none;
    }

    /* ঘ. মোবাইলে পুরো ফিল্টার সিস্টেমটি পপআপ ওভারলে হিসেবে কাজ করবে */
    .mobile-popup-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .mobile-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .shop-sidebar-filter {
        position: fixed !important;
        top: auto !important;
        bottom: -100% !important; /* নিচে হাইড থাকবে */
        left: 0 !important;
        width: 100% !important;
        max-height: 85vh;
        background: #ffffff;
        border-radius: 30px 30px 0 0 !important;
        padding: 20px 20px 80px 20px !important;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.15) !important;
        z-index: 1000 !important;
        overflow-y: auto;
        transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .shop-sidebar-filter.open-popup {
        bottom: 0 !important;
    }

    /* ঙ. মোবাইল পপআপে ক্রস ও সাবমিট বাটন */
    .mobile-filter-popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f2f6;
        padding-bottom: 12px;
        margin-bottom: 15px;
    }
    .mobile-filter-popup-header span {
        font-size: 14px;
        font-weight: 700;
        color: #1e272e;
    }
    .close-mobile-filter-btn {
        background: #f8f9fa;
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-popup-action-bar {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 15px 20px;
        border-top: 1px solid #f1f2f6;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.03);
    }
    .mobile-filter-submit-btn {
        width: 100%;
        background: #ff3f34;
        color: #ffffff;
        border: none;
        padding: 12px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
    }
}/* End custom CSS */