/* ============================================================
   TRBD Mobile-Fix v1.0 — ১০০% মোবাইল রেসপন্সিভ গ্যারান্টি
   (শুধু লেআউট ফিক্স — কোনো নতুন ফিচার নয়)
   ============================================================ */

/* ---------- সব ভিউপোর্টে সেফটি গার্ড ---------- */
html,body{overflow-x:hidden;overflow-x:clip}
img,video,iframe,embed,object{max-width:100%;height:auto}
.select2-container{max-width:100%!important}
.select2-dropdown{max-width:96vw!important}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{max-width:100%}

/* ---------- ট্যাবলেট (≤1050px) ---------- */
@media(max-width:1050px){
	.woocommerce ul.products,.woocommerce-page ul.products,ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}
	.woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:26px}
	.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{grid-template-columns:minmax(0,1fr)}
	.woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr)}
	.woocommerce-account .woocommerce-MyAccount-navigation{width:100%!important;float:none!important}
}

/* ---------- বড় মোবাইল (≤920px) ---------- */
@media(max-width:920px){
	html,body{max-width:100vw}
	.container{padding-left:14px;padding-right:14px}
	.cat-grid,.prod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.cat-card,.prod-card,.entry-card,.summary-card,.form-card,.admin-card,.cart-list,.info-card,.step,.stat,.stat-card{max-width:100%;min-width:0;overflow-wrap:anywhere}
	.cat-img img,.prod-img img{max-width:100%}
	.prod-name,.cat-name,.entry-card h1,.entry-card h2,.ci-name,.cr-name{overflow-wrap:anywhere}
	.price-row{flex-wrap:wrap}
	.ben-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.foot-main{grid-template-columns:minmax(0,1fr);gap:26px}
	.foot-bottom .container{flex-direction:column;text-align:center;gap:6px}
	.foot-bottom a{margin:0 8px;display:inline-block}
	.sec-title{gap:10px}
	.sec-title .line{width:26px}
	.sec-title h2{font-size:22px}
	.hero-copy{padding:40px 18px 34px}
	.hero h1,.hero .hero-title{font-size:34px}
	.trust-row{gap:14px}
	.trust{flex:1 1 46%;min-width:0}
	.cb-copy{padding:30px 20px}
	.cb-script{font-size:24px}
	.news-form{max-width:100%}
	.page-head h1{font-size:22px}
	.pdp-info h1,.woocommerce div.product .product_title{font-size:21px!important}
	.pdp-price .now,.woocommerce div.product p.price{font-size:22px!important}
	.f-grid{grid-template-columns:minmax(0,1fr)}
	.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
	.stats{grid-template-columns:repeat(3,minmax(0,1fr))}
	.about-hero{grid-template-columns:minmax(0,1fr)}
	.info-grid{grid-template-columns:minmax(0,1fr)}
	.cart-page,.checkout-grid{grid-template-columns:minmax(0,1fr)}
	.admin-shell{grid-template-columns:minmax(0,1fr)}
	.stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
	.admin-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.shop-toolbar{flex-direction:column;align-items:stretch}
	.chips{overflow-x:auto;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;max-width:100%;padding-bottom:4px}
	.chip{white-space:nowrap;flex-shrink:0}
	.woocommerce .woocommerce-result-count{display:block}
	.woocommerce .woocommerce-order-overview{flex-direction:column}
}

/* ---------- মোবাইল (≤720px) ---------- */
@media(max-width:720px){
	.woocommerce ul.products,.woocommerce-page ul.products,ul.products{gap:12px}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
	.woocommerce ul.products li.product .price{font-size:15px!important}
	.woocommerce table.shop_table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.hero h1,.hero .hero-title{font-size:31px}
	.hero p{font-size:14.5px}
	.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
	.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
	.cart-row{flex-wrap:wrap}
	.cr-name{font-size:13.5px}
}

/* ---------- ছোট মোবাইল (≤380px) ---------- */
@media(max-width:380px){
	.cat-grid,.prod-grid,.woocommerce ul.products,.woocommerce-page ul.products,ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
	.cat-name{font-size:14px}
	.btn{padding:12px 22px;font-size:13.5px}
}

/* ---------- হেডার মোবাইলে কমপ্যাক্ট (আইকন কাটা যাবে না) ---------- */
@media(max-width:920px){
	.nav-wrap{gap:10px;padding:10px 14px}
	.brand{min-width:0;flex:1 1 auto}
	.brand .logo{width:42px;height:42px;flex-shrink:0}
	.brand-name{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}
	.brand-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
	nav.main{flex-shrink:0}
	.h-icons{gap:2px;flex-shrink:0}
	.icon-btn{width:38px;height:38px}
	.badge-count{top:0;right:-2px}
}
@media(max-width:480px){
	.brand-name{font-size:14.5px}
	.brand-sub{font-size:9.5px}
	.icon-btn{width:36px;height:36px}
	.nav-wrap{gap:8px}
}
