/* curren-storefront — phone header from the redesign (Martfury's mobile header stays in the DOM, hidden). */
#site-header .header-mobile-v1,
#site-header .header-mobile-v2 { display: none !important; }
body.mobile-version #site-header { background: #fff !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }

/* desktop browsers below 992px (narrow window, tablet): this header instead of Martfury's narrow one */
.csf-mh--narrow { display: none; }
@media (max-width: 991px) {
	.csf-mh--narrow { display: block; }
	body:not(.mobile-version) #site-header { background: #fff !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
	body:not(.mobile-version) #site-header > *:not(.csf-mh),
	body:not(.mobile-version) #topbar,
	body:not(.mobile-version) .topbar,
	body:not(.mobile-version) #mf-promotion,
	body:not(.mobile-version) .mf-promotion { display: none !important; }
}
.csf-mh__menu { border-top: 1px solid #EEEAE0; padding: 4px 16px 10px; }
.csf-mh__menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.csf-mh__menu li { margin: 0; }
.csf-mh__menu a { display: block; padding: 11px 0; border-bottom: 1px solid #F1EEE6; font-size: 16px; font-weight: 500; color: #141414 !important; text-decoration: none !important; }
.csf-mh__menu a:hover { color: #B3121B !important; }

.csf-mh { background: #fff; border-bottom: 1px solid #E4E0D6; font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif; color: #141414; }
.csf-mh__strip { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; background: #0E0F11; color: #E9E5DA; font-size: 13px; text-align: center; }
.csf-mh__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 64px; padding: 0 8px; }
.csf-mh__btn { position: relative; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #141414 !important; cursor: pointer; }
.csf-mh__btn:active { background: #F6F4EF; }
.csf-mh__logo { display: flex; align-items: center; justify-content: center; min-width: 0; }
.csf-mh__logo img { display: block; width: auto; height: 34px; max-width: 200px; }
.csf-mh__title { flex: 1 1 auto; min-width: 0; margin: 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-family: inherit !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #141414 !important; }
.csf-mh__secure { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding-right: 6px; font-size: 13px; font-weight: 600; color: #1E6B45; }
.csf-mh__secure svg { width: 18px; height: 18px; }
.csf-mh .csf-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: #E6212C; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 18px; text-align: center; }
.csf-mh .csf-cart-count[hidden] { display: none; }

.csf-mh__search { position: relative; margin: 0; padding: 0 16px 12px; }
.csf-mh__search input[type=search] { width: 100%; height: 44px; box-sizing: border-box; margin: 0; padding: 0 46px 0 14px; border: 1px solid #D6D1C4 !important; border-radius: 8px !important; background: #FAF8F3 !important; color: #141414; font-family: inherit; font-size: 15px; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.csf-mh__search input[type=search]:focus { outline: 2px solid #E6212C; outline-offset: 1px; background: #fff !important; }
.csf-mh__search button { position: absolute; top: 0; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #5E5A52; }
.csf-mh__search button svg { width: 20px; height: 20px; }

/* the theme's space for its bottom bar showed as a white band under the dark footer; the footer
   keeps that space itself (footer.css) */
body.mobile-version { padding-bottom: 0 !important; }

/* product page: the gallery starts right under the header, as drawn (Martfury pads #content for its own header) */
body.mobile-version.single-product #content.site-content { padding-top: 0 !important; }

/* chat bubble above the fixed bottom menu / order bar instead of half behind it; the theme's
   scroll-to-top button sat in the same corner, so phones go without it */
body.mobile-version .chaty-widget { bottom: 92px !important; }
body.mobile-version #scroll-top { display: none !important; }

/* "সব ব্র্যান্ড ▾" in the ☰ menu: full row, brands open underneath */
.csf-mh__menu .csf-brand-menu { grid-column: 1 / -1; }
.csf-mh__menu .csf-brand-menu__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 11px 0; border: 0; border-bottom: 1px solid #F1EEE6; border-radius: 0; background: none !important; font-family: inherit; font-size: 16px; font-weight: 600; color: #141414 !important; cursor: pointer; }
.csf-mh__menu .csf-brand-menu__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.csf-mh__menu .csf-brand-menu__list:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 0 0 4px 12px; }

/* ...and in Martfury's phone category panel (the ☰ / ক্যাটাগরি button), styled like its other rows */
#mf-category-mobile-nav .csf-brand-menu__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0 2px 0 0; border: 0; border-radius: 0; background: none !important; font: inherit; font-weight: 600; line-height: 22.4px; color: #000 !important; cursor: pointer; }
#mf-category-mobile-nav .csf-brand-menu__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
#mf-category-mobile-nav .csf-brand-menu__list { margin: 0; padding: 6px 0 0 12px; list-style: none; }
#mf-category-mobile-nav .csf-brand-menu__list:not([hidden]) { display: block !important; }
#mf-category-mobile-nav .csf-brand-menu__list li { padding: 0; border: 0; }
#mf-category-mobile-nav .csf-brand-menu__list a { display: block; padding: 9px 0 !important; color: #141414 !important; }
#mf-category-mobile-nav .csf-brand-menu__list .current-menu-item > a { color: #B3121B !important; font-weight: 600; }
