/* E-Commerce IBU v2.0 – Daraz-Style E-Commerce & Mobile-First CSS */
:root{--bg-em:#f85606;--bg-em7:#d9480f;--bg-em8:#9a3412;--bg-green:#059669}
*,*::before,*::after{box-sizing:border-box}
body{font-family:'Hind Siliguri','Inter',sans-serif;background:#f5f5f5;color:#1f2937;line-height:1.6;overflow-x:clip;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto}
.ehf-header{position:sticky;top:0;z-index:999}

/* ---- ১. দারাজ-স্টাইল টপ হেডার (3dot + Logo + Search Bar + Cart + Profile) ---- */
.bg-header{position:relative;font-family:inherit}
.bg-header-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#f85606;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.bg-header button,.bg-header a{font-family:inherit}
.bg-hbtn{background:none!important;border:0!important;padding:6px!important;min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;cursor:pointer;line-height:1;position:relative;box-shadow:none!important;text-decoration:none}
.bg-hright{display:flex;align-items:center;gap:4px;flex-shrink:0}
.bg-brand{display:flex;align-items:center;gap:6px;text-decoration:none!important;flex-shrink:0}
.bg-logo{background:#fff;color:#f85606;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.bg-logo-w{background:#fff;color:#f85606;margin-right:8px}
.bg-brand-img{height:34px;width:auto;max-width:120px;object-fit:contain;display:block;border-radius:4px}
.bg-cart-badge{position:absolute;top:0;right:0;background:#111827;color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.bg-cart-badge.is-empty{display:none}

/* সরাসরি ইনলাইন সার্চ বার */
.bg-inline-search{position:relative;flex:1;min-width:0;display:flex;align-items:center;background:#fff;border-radius:8px;padding:2px 4px 2px 10px;height:38px;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.bg-search-input{flex:1;min-width:0;background:transparent!important;border:0!important;padding:4px 6px!important;font-size:14px!important;color:#111827!important;outline:none!important;box-shadow:none!important}
.bg-search-submit{background:#ffe1d2!important;color:#f85606!important;border:0!important;border-radius:6px!important;width:34px;height:30px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0!important;flex-shrink:0}
.bg-search-results{position:absolute;top:42px;left:0;right:0;background:#fff;border-radius:10px;box-shadow:0 10px 25px rgba(0,0,0,.18);max-height:300px;overflow:auto;z-index:1000;display:none}
.bg-search-results.has-items{display:block}
.bg-sr-item{display:flex;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #f3f4f6;text-decoration:none!important;color:#1f2937}
.bg-sr-item:hover{background:#fff7ed}
.bg-sr-item img{width:40px;height:44px;object-fit:cover;border-radius:4px}
.bg-sr-item b{display:block;font-size:13px}
.bg-sr-item small{color:#f85606;font-weight:700;font-size:12px}
.bg-sr-none{text-align:center;color:#6b7280;font-size:12px;padding:10px;margin:0}

/* 3-Dot সাইডবার */
.bg-sidebar{position:fixed;top:0;bottom:0;left:0;width:270px;max-width:85vw;background:#fff;z-index:100001;box-shadow:0 10px 30px rgba(0,0,0,.3);transform:translateX(-100%);transition:transform .3s;display:flex;flex-direction:column}
.bg-header.sb-open .bg-sidebar{transform:none}
.bg-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:100000}
.bg-header.sb-open .bg-backdrop{display:block}
.bg-sidebar-head{background:#f85606;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.bg-sidebar-title{display:flex;align-items:center;font-weight:700;font-size:17px}
.bg-close{color:#fff!important;font-size:18px!important}
.bg-sidebar-body{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:4px}
.bg-sidebar-body hr{margin:8px 0;width:100%;border:0;border-top:1px solid #e5e7eb}
.bg-menu-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:8px;color:#374151!important;font-weight:500;text-decoration:none!important}
.bg-menu-item:hover{background:#fff7ed;color:#f85606!important}
.bg-menu-ic{width:22px;color:#f85606;display:inline-flex}
.bg-sidebar-foot{padding:12px 16px;background:#f9fafb;border-top:1px solid #e5e7eb;font-size:12px;text-align:center;color:#6b7280}

/* ---- ২. স্লাইডার ---- */
.bg-slider{position:relative;width:100%;height:220px;overflow:hidden;background:#e5e7eb}
.bg-slider-track{display:flex;height:100%;transition:transform .5s ease-in-out}
.bg-slide{flex:0 0 100%;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:16px 24px 30px;color:#fff;box-sizing:border-box;text-decoration:none!important}
.bg-slide h2{font-size:20px;line-height:1.35;font-weight:700;margin:0;color:#fff}
.bg-slide p{font-size:13px;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bg-slide-btn{width:max-content;display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:8px 18px;border-radius:6px;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none!important;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25);transition:transform .15s ease,filter .15s ease,box-shadow .15s ease}
.bg-slide-btn:hover,.bg-slide-btn:focus{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.bg-slide-btn:active{transform:translateY(0)}
.bg-badge{width:max-content;color:#fff;font-size:12px;font-weight:700;padding:3px 10px;line-height:1.4;border-radius:4px}
.bg-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.bg-dots span{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.5;cursor:pointer}
.bg-dots span.on{opacity:1;width:18px;border-radius:4px}
@media(min-width:768px){.bg-slide{padding:20px max(24px,calc((100vw - 1180px)/2 + 16px))}.bg-slide h2{font-size:30px}.bg-slide p{font-size:15px}.bg-slide-btn{padding:10px 24px;font-size:15px}}

/* ---- ৩. ৬টি Circle ক্যাটাগরি (এক লাইনে হরিজন্টাল স্ক্রল স্লাইড) ---- */
.bg-cat-wrap{background:#fff;border-radius:12px;padding:14px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.bg-section-title{font-size:17px;line-height:1.4;font-weight:700;color:#111827;margin:0 0 12px}
.bg-cat-scroll{display:flex;flex-wrap:nowrap;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:thin}
.bg-cat-scroll::-webkit-scrollbar{height:4px}
.bg-cat-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}
.bg-catcircle{flex:0 0 auto;width:86px;display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none!important;scroll-snap-align:start;transition:transform .2s}
.bg-catcircle:hover{transform:translateY(-2px)}
.bg-catcircle-img{width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;border:2px solid;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.bg-catcircle-img img{width:100%;height:100%;object-fit:cover;display:block}
.bg-catcircle-emoji{font-size:28px;line-height:1}
.bg-catcircle-txt{font-size:12px;line-height:1.35;font-weight:600;color:#1f2937;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(min-width:768px){.bg-cat-scroll{justify-content:space-between}.bg-catcircle{width:110px}.bg-catcircle-img{width:76px;height:76px}}
.bg-c-orange .bg-catcircle-img{background:#fff7ed;border-color:#fdba74}
.bg-c-emerald .bg-catcircle-img{background:#ecfdf5;border-color:#6ee7b7}
.bg-c-amber .bg-catcircle-img{background:#fffbeb;border-color:#fcd34d}
.bg-c-blue .bg-catcircle-img{background:#eff6ff;border-color:#93c5fd}
.bg-c-purple .bg-catcircle-img{background:#f5f3ff;border-color:#c4b5fd}
.bg-c-rose .bg-catcircle-img{background:#fff1f2;border-color:#fda4af}

/* ---- ৪ ও ৫. প্রোডাক্ট গ্রিড (Trending & Category-wise) ---- */
.bg-prod-section{background:#fff;border-radius:12px;padding:14px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.bg-prodhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;border-bottom:1px solid #f3f4f6;padding-bottom:8px}
.bg-prodhead .bg-section-title{margin:0}
.bg-more-link{font-size:13px;color:#f85606!important;font-weight:700;text-decoration:none!important;white-space:nowrap}
.bg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:640px){.bg-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.bg-grid{grid-template-columns:repeat(4,1fr)}}
.bg-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:4px;transition:box-shadow .2s,transform .2s}
.bg-card:hover{box-shadow:0 6px 16px rgba(0,0,0,.09);transform:translateY(-2px)}
.bg-card-link{text-decoration:none!important;color:inherit}
.bg-card-img{position:relative;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:#f9fafb;margin-bottom:8px}
.bg-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.bg-card-cat{position:absolute;top:6px;left:6px;max-width:calc(100% - 54px);background:#f85606;color:#fff;font-size:10px;line-height:1.4;font-weight:700;padding:2px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px}
.bg-card-disc{position:absolute;top:6px;right:6px;background:#111827;color:#fff;font-size:10px;font-weight:700;padding:2px 5px;border-radius:4px}
.bg-card h4{font-size:13px;line-height:1.4;font-weight:700;color:#1f2937;margin:0 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.bg-card-author{font-size:11px;line-height:1.4;color:#6b7280;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bg-price{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:4px 0 8px}
.bg-price-now{color:#f85606;font-weight:700;font-size:15px}
.bg-price-old{color:#9ca3af;font-size:11px;text-decoration:line-through}
a.bg-add.button{display:block;width:100%;box-sizing:border-box;text-align:center;background:#fff7ed!important;color:#f85606!important;border:1px solid #fdba74!important;border-radius:8px!important;padding:8px!important;line-height:1.3!important;font-size:13px!important;font-weight:700!important;transition:all .2s;text-decoration:none}
a.bg-add.button:hover{background:#f85606!important;color:#fff!important}
.bg-card .added_to_cart{display:block;text-align:center;font-size:11px;margin-top:4px;color:#059669}
.bg-empty{grid-column:1/-1;text-align:center;color:#6b7280;font-size:13px;padding:20px 0}

/* ---- সিঙ্গেল প্রোডাক্ট ভিউ পেজ (Brand, 4-5 Gallery, Direct WhatsApp & Call Order) ---- */
.bg-prod-meta-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.bg-brand-pill,.bg-author-pill{display:inline-flex;align-items:center;gap:4px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;padding:4px 10px;border-radius:6px}
.bg-author-pill{background:#f3f4f6;border-color:#e5e7eb;color:#374151}
.bg-buynow.button{display:inline-block;margin:8px 0 0 8px;background:#f85606!important;color:#fff!important;border:0!important;font-weight:700!important}
.bg-direct-order-box{margin:16px 0 6px;padding:12px 14px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px}
.bg-direct-title{font-size:13px;font-weight:700;color:#374151;margin-bottom:8px}
.bg-direct-btns{display:flex;flex-wrap:wrap;gap:10px}
.bg-wa-direct-btn,.bg-call-direct-btn{flex:1 1 200px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 14px;border-radius:8px;font-size:14px;font-weight:700;text-decoration:none!important;color:#fff!important;text-align:center;box-shadow:0 2px 5px rgba(0,0,0,.1)}
.bg-wa-direct-btn{background:#25D366}
.bg-wa-direct-btn:hover{background:#1ebe5d}
.bg-call-direct-btn{background:#1d4ed8}
.bg-call-direct-btn:hover{background:#1e40af}

.bg-single-extra{clear:both;display:grid;gap:16px;margin:24px 0}
.bg-box{border-radius:12px;padding:16px;border:1px solid}
.bg-box h4{font-size:15px;line-height:1.4;font-weight:700;margin:0 0 10px}
.bg-box ul{margin:0 0 0 20px;padding:0;font-size:13px;line-height:1.8;color:#374151}
.bg-box p{font-size:13px;line-height:1.7;color:#4b5563;margin:0}
.bg-box-white{background:#fff;border-color:#e5e7eb}.bg-box-white h4{color:#111827}
.bg-box-green{background:#ecfdf5;border-color:#d1fae5}.bg-box-green h4{color:#064e3b}
.bg-box-blue{background:#eff6ff;border-color:#dbeafe}.bg-box-blue h4{color:#1e3a8a}
.bg-author-head{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.bg-author-head h4{margin:0}
.bg-author-name{font-weight:700;color:#1f2937!important;font-size:14px!important}
.bg-avatar{width:44px;height:44px;border-radius:50%;background:#f85606;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px}

/* ---- WooCommerce সাধারণ রং ---- */
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce #respond input#submit.alt,.woocommerce a.button,.woocommerce button.button,.single_add_to_cart_button,.wc-block-components-button{background-color:#f85606;color:#fff;border-radius:8px}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.single_add_to_cart_button:hover{background-color:#d9480f;color:#fff}
.woocommerce .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:#f85606;font-weight:700}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:640px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.woocommerce ul.products{grid-template-columns:repeat(4,1fr)}}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px;min-width:0}

/* ---- মোবাইল স্পেসিং ---- */
@media(max-width:767px){
.bg-header-bar{padding:8px;gap:6px}
.bg-hbtn{min-width:32px;min-height:34px;padding:4px!important}
.bg-brand-img{max-width:85px;height:28px}
.bg-slide{padding:14px 18px 28px;gap:6px}
.bg-slide h2{font-size:18px}
.bg-slide p{-webkit-line-clamp:2}
.woocommerce-page .site-content .ast-container,.woocommerce-page #content .ast-container,.woocommerce-page .site-main,.woocommerce-page main#main{padding-left:14px!important;padding-right:14px!important}
.woocommerce div.product{display:flex;flex-direction:column;gap:14px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important;margin:0!important}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}
.woocommerce div.product form.cart .button,.bg-buynow.button{margin:0!important;flex:1 1 140px;text-align:center;padding:12px 14px!important}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important}
.woocommerce-checkout #place_order{width:100%;padding:14px!important}
}

/* ---- উন্নত শপিং কার্ট (Quantity −/+, Auto Update, Remove, Subtotal/Total, Mobile Responsive, Easy Checkout) ---- */
.bg-qty-wrap{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;background:#fff;height:38px;touch-action:manipulation}
.bg-qty-btn{width:38px;min-width:38px;height:100%;border:0!important;background:#f3f4f6!important;color:#111827!important;font-size:18px!important;font-weight:700!important;line-height:1!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s;box-shadow:none!important;-webkit-tap-highlight-color:transparent}
.bg-qty-btn:hover,.bg-qty-btn:active{background:#f85606!important;color:#fff!important}
.bg-qty-wrap input.qty{width:44px!important;min-width:44px!important;height:100%!important;border:0!important;border-left:1px solid #e5e7eb!important;border-right:1px solid #e5e7eb!important;border-radius:0!important;text-align:center!important;font-weight:700!important;font-size:15px!important;color:#111827!important;padding:0!important;margin:0!important;-moz-appearance:textfield;background:#fff!important;box-shadow:none!important}
.bg-qty-wrap input.qty::-webkit-outer-spin-button,.bg-qty-wrap input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.woocommerce-cart .woocommerce{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.06);margin-top:12px;margin-bottom:20px;max-width:100%;overflow-x:hidden}
.woocommerce-cart table.shop_table{width:100%!important;border:1px solid #e5e7eb!important;border-radius:10px!important;overflow:hidden;border-collapse:separate!important;border-spacing:0}
.woocommerce-cart table.shop_table thead th{background:#f9fafb;color:#374151;font-weight:700;font-size:14px;padding:12px 10px;border-bottom:1px solid #e5e7eb}
.woocommerce-cart table.shop_table td{padding:12px 10px;vertical-align:middle;border-bottom:1px solid #f3f4f6}
.woocommerce-cart table.shop_table .product-thumbnail img{width:64px!important;height:64px!important;object-fit:cover;border-radius:8px;border:1px solid #f3f4f6}
.woocommerce-cart table.shop_table .product-name a{color:#111827;font-weight:700;font-size:14px;text-decoration:none;word-break:break-word}
.woocommerce-cart table.shop_table .product-name a:hover{color:#f85606}
.woocommerce-cart table.shop_table .product-price,.woocommerce-cart table.shop_table .product-subtotal{font-weight:700;color:#f85606;font-size:15px}
.woocommerce-cart a.remove{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-height:30px;padding:4px 10px!important;border-radius:6px!important;background:#fef2f2!important;color:#dc2626!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;text-decoration:none!important;border:1px solid #fecaca;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.woocommerce-cart a.remove:hover,.woocommerce-cart a.remove:active{background:#dc2626!important;color:#fff!important}

/* কার্ট আপডেট লোডিং অবস্থা */
.woocommerce-cart-form.bg-cart-updating{opacity:.6;pointer-events:none;transition:opacity .2s}

/* কার্ট টোটাল ও চেকআউট বক্স */
.woocommerce-cart .cart-collaterals{width:100%!important;margin-top:16px}
.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;max-width:440px;margin-left:auto;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:16px}
.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:17px;font-weight:700;color:#111827;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #fed7aa}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table{border:0!important;background:transparent!important;border-radius:0!important}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td{background:transparent!important;padding:8px 4px!important;border-bottom:1px dashed #fed7aa}
.woocommerce-cart .cart-collaterals .cart_totals .order-total th,.woocommerce-cart .cart-collaterals .cart_totals .order-total td{font-size:17px!important;font-weight:700!important;color:#f85606!important;border-bottom:0!important;padding-top:12px!important}
.woocommerce-cart .wc-proceed-to-checkout{padding:12px 0 0!important}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:48px;padding:14px 18px!important;font-size:16px!important;font-weight:700!important;background:#f85606!important;color:#fff!important;border-radius:10px!important;box-shadow:0 4px 12px rgba(248,86,6,.28)!important;margin-bottom:8px!important;text-decoration:none!important;transition:background .2s,transform .15s;-webkit-tap-highlight-color:transparent}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#d9480f!important;transform:translateY(-1px)}
.bg-cart-checkout-note{text-align:center;font-size:12px;color:#059669;font-weight:600;margin-top:4px}

/* মোবাইল ও ছোট স্ক্রিন রেসপন্সিভ শপিং কার্ট লেআউট (All Mobile Devices + WooCommerce Classic & Block Cart) */
@media(max-width:767px){
.woocommerce-cart .woocommerce{padding:10px;border-radius:10px;margin-top:8px}
.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table_responsive{border:0!important;background:transparent!important;border-radius:0!important}
.woocommerce-cart table.shop_table thead,
.woocommerce-cart table.shop_table_responsive thead{display:none!important}
.woocommerce-cart table.shop_table tbody,
.woocommerce-cart table.shop_table_responsive tbody{display:block!important;width:100%!important}
.woocommerce-cart table.shop_table tbody tr.cart_item,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"thumb title remove" "thumb price qty" "subtotal subtotal subtotal";gap:8px 10px;align-items:center;width:100%!important;padding:12px;margin-bottom:12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.woocommerce-cart table.shop_table tbody tr.cart_item td,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td{display:block!important;width:auto!important;min-width:0!important;padding:0!important;border:0!important;text-align:left!important;background:transparent!important}
.woocommerce-cart table.shop_table tbody tr.cart_item td::before,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td::before{display:none!important;content:none!important}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-thumbnail,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail{grid-area:thumb;display:block!important}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-thumbnail img,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail img{width:64px!important;height:64px!important;max-width:64px!important;border-radius:8px}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-name,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-name{grid-area:title;font-size:14px;line-height:1.35;padding-right:4px!important}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-remove,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-remove{grid-area:remove;justify-self:end;align-self:start}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-price,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-price{grid-area:price;font-size:13px;color:#4b5563!important;font-weight:600}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-quantity,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-quantity{grid-area:qty;justify-self:end}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-subtotal,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-subtotal{grid-area:subtotal;width:100%!important;font-size:14px;color:#f85606!important;padding-top:8px!important;margin-top:2px;border-top:1px dashed #e5e7eb!important;display:flex!important;justify-content:space-between;align-items:center}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-subtotal::before,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-subtotal::before{content:"সাবটোটাল:"!important;display:inline-block!important;font-weight:600;color:#4b5563;font-size:13px}

/* কুপন ও আপডেট বাটন মোবাইল ফিট */
.woocommerce-cart table.shop_table tbody tr:not(.cart_item),
.woocommerce-cart table.shop_table_responsive tbody tr:not(.cart_item){display:block!important;width:100%!important}
.woocommerce-cart table.shop_table td.actions,
.woocommerce-cart table.shop_table_responsive td.actions{display:flex!important;flex-direction:column;gap:8px;padding:10px!important;background:#f9fafb!important;border:1px solid #e5e7eb!important;border-radius:10px}
.woocommerce-cart table.shop_table td.actions .coupon,
.woocommerce-cart table.shop_table_responsive td.actions .coupon{display:flex!important;flex-wrap:nowrap;gap:6px;width:100%;float:none!important}
.woocommerce-cart table.shop_table td.actions .coupon input.input-text,
.woocommerce-cart table.shop_table_responsive td.actions .coupon input.input-text{flex:1 1 auto;min-width:0;width:100%!important;height:40px;margin:0!important;font-size:14px}
.woocommerce-cart table.shop_table td.actions .coupon button.button,
.woocommerce-cart table.shop_table_responsive td.actions .coupon button.button{flex:0 0 auto;white-space:nowrap;height:40px;padding:0 12px!important;font-size:13px!important}
.woocommerce-cart table.shop_table td.actions button[name="update_cart"],
.woocommerce-cart table.shop_table_responsive td.actions button[name="update_cart"]{width:100%!important;height:40px;margin:0!important}

/* মোবাইল Cart Totals ও Sticky Checkout Bar */
.woocommerce-cart .cart-collaterals .cart_totals{max-width:100%!important;width:100%!important;float:none!important;padding:14px}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr{display:flex!important;justify-content:space-between;align-items:center;width:100%;padding:6px 0;border-bottom:1px dashed #fed7aa}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody tr.order-total{border-bottom:0!important;padding-top:10px}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td{display:block!important;border:0!important;padding:0!important;text-align:right!important}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th{text-align:left!important;font-weight:600;color:#374151}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td::before{display:none!important;content:none!important}
.woocommerce-cart .wc-proceed-to-checkout{position:sticky;bottom:0;z-index:50;background:#fff7ed;padding:10px 0 calc(6px + env(safe-area-inset-bottom))!important;margin-top:8px;border-top:1px solid #fed7aa}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:16px!important;min-height:50px;padding:14px 16px!important}
}

/* অতি ছোট মোবাইল স্ক্রিন (৩৬০px বা তার কম) */
@media(max-width:380px){
.woocommerce-cart table.shop_table tbody tr.cart_item,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item{grid-template-columns:54px minmax(0,1fr) auto;gap:6px 8px;padding:10px}
.woocommerce-cart table.shop_table tbody tr.cart_item td.product-thumbnail img,
.woocommerce-cart table.shop_table_responsive tbody tr.cart_item td.product-thumbnail img{width:54px!important;height:54px!important;max-width:54px!important}
.bg-qty-wrap{height:34px}
.bg-qty-btn{width:32px;min-width:32px;font-size:16px!important}
.bg-qty-wrap input.qty{width:36px!important;min-width:36px!important;font-size:14px!important}
.woocommerce-cart a.remove{padding:3px 7px!important;font-size:11px!important}
}
