/* ==========================================================
   HolidayMarketBD — main.css
   ========================================================== */
:root{
  --navy:#132A63; --navy2:#0D1F4D; --orange:#F5760F; --orange2:#FF8C1A; --gold:#FFC72C;
  --red:#E0212B; --green:#1F9D55; --purple:#7C5CD6; --teal:#17a2a2;
  --bg:#F6F7FB; --line:#E7E9F2; --text:#132A4D; --muted:#5b6478; --white:#fff;
  --radius:12px; --bn:'Hind Siliguri',system-ui,sans-serif; --en:'Poppins',system-ui,sans-serif;
  --bn-h:62px; --container-max-width:1280px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--bn);background:var(--bg);color:var(--text);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--orange)}
ul{margin:0;padding:0;list-style:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{line-height:1.3;color:var(--navy2);margin:0 0 .5em}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link:focus{clip:auto;width:auto;height:auto;background:#fff;padding:10px;z-index:99999;top:6px;left:6px}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.hmbd-container{max-width:1280px;margin:0 auto;padding:0 20px;width:100%}
.hmbd-i{display:inline-block;vertical-align:middle;flex-shrink:0}
.hmbd-green{color:var(--green)}
.hmbd-em{display:inline-block;width:15px;text-align:center;font-style:normal}

/* ---------- Buttons ---------- */
.hmbd-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:14px;padding:11px 22px;border-radius:8px;border:0;white-space:nowrap;transition:filter .15s}
.hmbd-btn:hover{filter:brightness(1.07);color:inherit}
.hmbd-btn-gold{background:var(--gold);color:var(--navy2)}
.hmbd-btn-orange{background:var(--orange);color:#fff}
.hmbd-btn-orange:hover{color:#fff}
.hmbd-block{display:flex;width:100%}
.hmbd-icon-btn{background:none;border:0;padding:6px;color:inherit;display:inline-flex}

/* ---------- Utility bar ---------- */
.hmbd-utility{background:#EEF1F8;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.hmbd-utility-in{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:16px}
.hmbd-utility-l,.hmbd-utility-r{display:flex;align-items:center;gap:20px}
.hmbd-utility b{color:var(--text)}
.hmbd-utility .hmbd-i{color:var(--red);margin-right:2px}
.hmbd-utility-r .hmbd-i{color:var(--muted)}
.hmbd-utility-menu{display:flex;gap:18px}

/* ---------- Header ---------- */
.hmbd-header{background:#fff;position:relative;z-index:50}
.hmbd-header-in{display:flex;align-items:center;gap:28px;padding-top:16px;padding-bottom:16px}
.hmbd-menu-toggle{display:none}
.hmbd-brand{flex-shrink:0}
.hmbd-logo{display:flex;align-items:center;gap:10px}
.hmbd-logo-name{display:block;font-family:var(--en);font-weight:800;font-size:21px;line-height:1}
.hmbd-logo-name b{font-weight:800}
.hmbd-logo-name .c1{color:var(--navy)} .hmbd-logo-name .c2{color:var(--orange)}
.hmbd-logo-bd{font-style:normal;background:var(--green);color:#fff;font-size:10px;padding:2px 6px;border-radius:4px;vertical-align:top;margin-left:4px;font-weight:700}
.hmbd-logo-sub{display:block;font-family:var(--en);font-size:11px;color:var(--muted);margin-top:3px}
.custom-logo{max-height:52px;width:auto}

.hmbd-header-search{flex:1;min-width:0}
.hmbd-search{display:flex;border:2px solid var(--navy);border-radius:8px;overflow:hidden;height:48px;background:#fff}
.hmbd-search-cat{border:0;border-right:1px solid var(--line);background:#f2f3f8;padding:0 12px;font:inherit;font-size:14px;color:var(--muted);max-width:170px;outline:0}
.hmbd-search-input{flex:1;min-width:0;border:0;padding:0 16px;font:inherit;font-size:14px;outline:0;background:#fff;-webkit-appearance:none}
.hmbd-search-btn{background:var(--orange);color:#fff;border:0;padding:0 24px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px}
.hmbd-mobile-search{display:none}

.hmbd-actions{display:flex;align-items:center;gap:22px}
.hmbd-act{display:flex;align-items:center;gap:8px;font-size:13px}
.hmbd-act-ic{position:relative;width:38px;height:38px;border-radius:50%;background:#f2f3f8;display:flex;align-items:center;justify-content:center;color:var(--navy)}
.hmbd-act-tx small{display:block;color:var(--muted);font-size:12px;line-height:1.2}
.hmbd-act-tx b{font-weight:700;line-height:1.2}
.hmbd-cart-count{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--orange);color:#fff;font:700 10px/17px var(--en);text-align:center}

.hmbd-nav{background:var(--navy)}
.hmbd-nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px}
.hmbd-nav .hmbd-menu{display:flex;gap:6px;flex-wrap:wrap}
.hmbd-nav .hmbd-menu>li{position:relative}
.hmbd-nav .hmbd-menu>li>a{display:block;color:#fff;font-size:14px;padding:14px 12px;border-bottom:2px solid transparent}
.hmbd-nav .hmbd-menu>li:hover>a,.hmbd-nav .hmbd-menu>li.current-menu-item>a{border-color:var(--gold);color:#fff}
.hmbd-nav .sub-menu{position:absolute;top:100%;left:0;min-width:210px;background:#fff;border:1px solid var(--line);border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(13,31,77,.15);display:none;z-index:60;padding:6px 0}
.hmbd-nav li:hover>.sub-menu,.hmbd-nav li:focus-within>.sub-menu{display:block}
.hmbd-nav .sub-menu a{display:block;padding:9px 16px;font-size:13.5px;color:var(--text)}
.hmbd-nav-cta{margin:8px 0;padding:9px 18px;font-size:13px}

/* ---------- Sections / Elementor helpers ---------- */
.hmbd-site-content{min-height:50vh}
.hmbd-sec{padding-top:24px;padding-bottom:24px}
.hmbd-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.hmbd-sec-title{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700;margin:0}
.hmbd-bar{display:inline-block;width:8px;height:22px;background:var(--orange);border-radius:4px}
.hmbd-sec-link{font-size:13px;font-weight:600;color:var(--orange)}
.hmbd-sec-cd{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted)}

.hmbd-cd{display:inline-flex;align-items:center;gap:4px}
.hmbd-cd i{font-style:normal;color:var(--muted)}
.hmbd-cd-box{display:inline-block;text-align:center;border-radius:6px;padding:3px 8px;min-width:40px}
.hmbd-cd-box b{display:block;font:700 15px var(--en);line-height:1.3}
.hmbd-cd-box small{display:block;font-size:9.5px;opacity:.8;line-height:1.1}
.hmbd-cd-dark .hmbd-cd-box{background:var(--navy2);color:#fff}
.hmbd-cd-light .hmbd-cd-box{background:#fff;color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.08)}

.hmbd-catlist{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;height:fit-content}
.hmbd-catlist li a{display:flex;align-items:center;gap:10px;padding:11px 16px;font-size:13.5px;border-bottom:1px solid #f2f2f6}
.hmbd-catlist li a .hmbd-i:last-child{margin-left:auto;color:var(--muted)}
.hmbd-catlist-ic{width:24px;display:flex;justify-content:center;color:var(--navy)}
.hmbd-catlist-ic img{width:24px;height:24px;object-fit:contain}
.hmbd-catlist-all{display:block;text-align:center;padding:12px;font-size:14px;font-weight:600;color:var(--navy);border-top:1px solid var(--line)}

.hmbd-caticons{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:14px;text-align:center}
.hmbd-caticon-circle{width:74px;height:74px;margin:0 auto 8px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--navy);transition:border-color .15s}
.hmbd-caticon-circle img{width:100%;height:100%;object-fit:cover}
.hmbd-caticon-circle b{font-size:24px}
.hmbd-caticons a:hover .hmbd-caticon-circle{border-color:var(--orange)}
.hmbd-caticon-name{font-size:12.5px;font-weight:600;color:var(--navy)}

.hmbd-trust-wrap{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}
.hmbd-trust{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.hmbd-trust-item{display:flex;align-items:center;gap:12px;padding:6px 14px}
.hmbd-trust-item b{display:block;font-size:13px}
.hmbd-trust-item span:not(.hmbd-trust-ic){font-size:11.5px;color:var(--muted)}
.hmbd-trust-ic{width:42px;height:42px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
.hmbd-trust-ic.is-orange{background:var(--orange)} .is-navy{background:var(--navy)} .is-teal{background:var(--teal)} .is-green{background:var(--green)} .is-orange2{background:var(--orange2)}

.hmbd-vendors{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hmbd-vendor{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;transition:box-shadow .15s}
.hmbd-vendor:hover{box-shadow:0 8px 24px rgba(13,31,77,.1)}
.hmbd-vendor-av{width:64px;height:64px;border-radius:50%;overflow:hidden;background:#e8f1fb}
.hmbd-vendor-av img{width:100%;height:100%;object-fit:cover;display:block}
.hmbd-vendor-name{font-size:14.5px}
.hmbd-badge{display:inline-flex;align-items:center;gap:3px;background:#e6f6ec;color:var(--green);font-size:11px;font-weight:700;padding:2px 10px;border-radius:99px}
.hmbd-vendor-meta{font-size:12px;color:var(--muted)}

.hmbd-cta{border-radius:16px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff;background:linear-gradient(120deg,var(--navy2),var(--navy))}
.hmbd-cta h2{color:#fff;font-size:24px;margin-bottom:8px}
.hmbd-cta p{margin:0;color:#c8d1ea;font-size:13.5px;max-width:480px}
.hmbd-note{background:#fff8e6;border:1px dashed var(--gold);padding:10px 14px;border-radius:8px;font-size:13px}

/* Default (no-Elementor) hero */
.hmbd-default-hero{display:grid;grid-template-columns:250px 1fr;gap:20px;padding-top:24px;padding-bottom:10px}
.hmbd-hero-banner{border-radius:16px;min-height:360px;padding:40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:linear-gradient(180deg,#dcecfb,#eef6ff 55%,#fdf3df)}
.hmbd-hero-banner h1{font-size:38px;margin:6px 0}
.hmbd-hero-sub{font-weight:700;color:var(--navy);font-size:20px;margin:0}
.hmbd-hero-banner .hmbd-btn{margin-top:18px}

/* ---------- Footer ---------- */
.hmbd-footer{background:var(--navy2);color:#c8d1ea;margin-top:40px}
.hmbd-footer a:hover{color:#fff}
.hmbd-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.3fr;gap:32px;padding-top:44px;padding-bottom:44px}
.hmbd-footer h4{color:#fff;font-size:14px;font-weight:600;margin-bottom:14px}
.hmbd-foot-brand p{font-size:12.5px;line-height:1.9;color:#a7b1cc;margin:12px 0}
.hmbd-foot-logo .hmbd-logo-name .c1,.hmbd-foot-logo .hmbd-logo-sub{color:#fff}
.hmbd-foot-logo svg rect{fill:var(--orange)}
.hmbd-foot-menu li{margin-bottom:10px;font-size:12.5px}
.hmbd-foot-contact li{display:flex;gap:8px;align-items:flex-start}
.hmbd-foot-contact .hmbd-i{margin-top:3px;color:var(--gold)}
.hmbd-social{display:flex;gap:10px}
.hmbd-social a{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;font-family:var(--en)}
.hmbd-foot-bottom{border-top:1px solid rgba(255,255,255,.1)}
.hmbd-foot-bottom-in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;padding-bottom:16px;font-size:12px;color:#8b96b8}
.hmbd-pay{display:flex;gap:8px;flex-wrap:wrap}
.hmbd-pay span{background:rgba(255,255,255,.1);padding:3px 10px;border-radius:4px;font-size:11px}

/* ---------- Generic pages / blog ---------- */
.hmbd-page .hmbd-container{padding-top:24px;padding-bottom:24px}
.hmbd-page.hmbd-fullwidth,.hmbd-elementor-page .hmbd-page{padding:0}
.hmbd-card-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:20px}
.hmbd-entry-title{font-size:28px}
.hmbd-entry-content>*:first-child{margin-top:0}
.hmbd-meta{font-size:13px;color:var(--muted);margin-bottom:16px}
.hmbd-single-thumb{border-radius:10px;margin-bottom:18px}
.hmbd-archive-head{padding:24px 0 8px}
.hmbd-blog,.hmbd-single,.hmbd-404{padding-top:24px;padding-bottom:30px}
.hmbd-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}
.hmbd-post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.hmbd-post-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.hmbd-post-body{padding:16px}
.hmbd-post-body time{font-size:12px;color:var(--muted)}
.hmbd-post-body h2{font-size:17px;margin:4px 0 6px}
.hmbd-post-body p{font-size:13.5px;color:var(--muted);margin:0}
.hmbd-empty{text-align:center;padding:40px 20px}
.hmbd-empty .hmbd-search{max-width:520px;margin:18px auto}
.hmbd-404-num{font:800 72px var(--en);color:var(--orange);line-height:1}
.navigation.pagination{text-align:center;margin:20px 0}
.page-numbers{display:inline-block;padding:7px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;margin:0 2px}
.page-numbers.current{background:var(--orange);color:#fff;border-color:var(--orange)}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=url],textarea,select{font-family:inherit;font-size:14px}
.hmbd-comment-list{list-style:none;padding:0}
.hmbd-comment-list li{padding:12px 0;border-bottom:1px solid var(--line)}

/* ---------- WooCommerce ---------- */
.hmbd-shop-wrap{padding-top:22px;padding-bottom:30px}
.hmbd-with-sidebar{max-width:1280px;margin:0 auto;padding:22px 20px;display:grid;grid-template-columns:260px 1fr;gap:24px}
.hmbd-with-sidebar .hmbd-container{max-width:none;padding:0}
.hmbd-with-sidebar .hmbd-shop-wrap{padding:0}
.hmbd-shop-sidebar .widget{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:16px}
.widget-title{font-size:15px}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.woocommerce-products-header__title,.product_title{font-size:26px}
.woocommerce-result-count{font-size:13px;color:var(--muted)}
.woocommerce-ordering select{border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff}

.woocommerce ul.products,.hmbd-products ul.products{display:grid!important;grid-template-columns:repeat(5,1fr);gap:18px;margin:0 0 24px!important;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:auto!important;float:none!important;margin:0!important}
.woocommerce ul.products li.product{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding:0 0 14px;display:flex;flex-direction:column;transition:box-shadow .18s;text-align:left}
.woocommerce ul.products li.product:hover{box-shadow:0 10px 26px rgba(13,31,77,.12)}
.woocommerce ul.products li.product a img{margin:0 0 10px!important;width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef2fb;display:block}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13.5px;font-weight:600;line-height:1.4;padding:0 14px;margin:0 0 4px;color:var(--text);min-height:38px;overflow:hidden}
.woocommerce ul.products li.product .price{display:block;padding:0 14px;font:700 15px var(--en);color:var(--navy2)}
.woocommerce ul.products li.product .price del{color:#aab0c0;font-weight:500;font-size:12px;opacity:1;margin-right:4px}
.woocommerce ul.products li.product .price ins{text-decoration:none;background:none}
.woocommerce ul.products li.product .star-rating{margin:6px 14px 0;font-size:12px;color:var(--gold)}
.woocommerce ul.products li.product .button{margin:10px 14px 0;align-self:flex-start;font-size:12.5px;padding:8px 14px}
.woocommerce span.onsale{position:absolute;top:8px;left:8px;right:auto;margin:0;z-index:2;min-height:0;min-width:0;line-height:1.4;background:var(--red);color:#fff;font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:5px}

.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--orange);color:#fff;border-radius:8px;font-family:inherit;font-weight:600}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--orange2);color:#fff}
.woocommerce a.button.checkout-button,.woocommerce #payment #place_order{background:var(--navy);padding:14px 20px;font-size:15px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--navy2);font:700 24px var(--en)}
.woocommerce div.product p.price del{color:#aab0c0;font-size:16px}
.woocommerce div.product form.cart .button{padding:13px 28px}
.woocommerce div.product div.images img{border-radius:var(--radius)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:#fff}
.woocommerce-message,.woocommerce-info{border-top-color:var(--orange)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--orange)}
.woocommerce table.shop_table{border-radius:var(--radius);background:#fff}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{border:1px solid var(--line);border-radius:8px;padding:10px 12px;height:auto}
.hmbd-page .woocommerce{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.hmbd-products .woocommerce{background:none;border:0;padding:0}

/* Dokan */
.dokan-btn-theme,.dokan-btn.dokan-btn-theme{background:var(--orange)!important;border-color:var(--orange)!important;color:#fff!important}
.hmbd-dokan-store #primary,.hmbd-dokan-dashboard #primary{max-width:1280px;margin:0 auto;padding:0 20px}
.hmbd-dokan-dashboard .hmbd-page .hmbd-container{padding-top:20px}
.hmbd-dokan-dashboard .hmbd-card-box{padding:0;border:0;background:none}
.dokan-dashboard-wrap,.dokan-store-wrap{font-family:var(--bn)}
.dokan-single-store .profile-frame{border-radius:var(--radius);overflow:hidden}

/* ---------- Overlay / drawers ---------- */
.hmbd-overlay{position:fixed;inset:0;background:rgba(10,18,40,.55);opacity:0;visibility:hidden;transition:.25s;z-index:998}
.hmbd-drawer{position:fixed;top:0;bottom:0;left:0;width:min(86vw,340px);background:#fff;z-index:999;transform:translateX(-102%);transition:transform .28s ease;display:flex;flex-direction:column;visibility:hidden;box-shadow:6px 0 30px rgba(0,0,0,.2)}
.hmbd-drawer.is-open{transform:none;visibility:visible}
body.hmbd-lock{overflow:hidden}
body.hmbd-lock .hmbd-overlay{opacity:1;visibility:visible}
.hmbd-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}
.hmbd-drawer-head .hmbd-logo-name{font-size:18px}
.hmbd-drawer-head .hmbd-logo svg{width:34px;height:34px}
.hmbd-drawer-title{font-size:17px;color:var(--navy2)}
.hmbd-drawer-body{padding:8px 16px 24px;overflow-y:auto;flex:1;overscroll-behavior:contain}
.hmbd-mobile-menu>li>a,.hmbd-drawer-body .hmbd-menu>li>a{display:block;padding:13px 4px;border-bottom:1px solid var(--line);font-size:15px;font-weight:500}
.hmbd-mobile-menu .sub-menu{padding-left:14px}
.hmbd-mobile-menu .sub-menu a{display:block;padding:9px 0;font-size:14px;color:var(--muted)}
.hmbd-drawer-body .hmbd-btn{margin-top:18px}
.hmbd-drawer-contact{margin-top:16px;font-size:14px;color:var(--muted)}
.hmbd-cat-row{display:flex;align-items:center;border-bottom:1px solid var(--line)}
.hmbd-cat-row>a{flex:1;display:flex;align-items:center;gap:10px;padding:12px 4px;font-weight:500}
.hmbd-cat-th{width:32px;height:32px;border-radius:50%;background:#f2f3f8;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--navy)}
.hmbd-cat-th img{width:100%;height:100%;object-fit:cover}
.hmbd-acc-toggle{background:none;border:0;padding:10px;color:var(--muted);transition:transform .2s}
.has-kids.is-open>.hmbd-cat-row .hmbd-acc-toggle{transform:rotate(180deg)}
.hmbd-cat-sub{display:none;padding:4px 0 8px 42px;background:#fafbfe}
.has-kids.is-open>.hmbd-cat-sub{display:block}
.hmbd-cat-sub a{display:block;padding:8px 0;font-size:14px;color:var(--muted)}

.hmbd-search-overlay{position:fixed;inset:0 0 auto 0;background:#fff;z-index:999;padding:14px 16px;transform:translateY(-105%);transition:transform .25s;box-shadow:0 10px 30px rgba(0,0,0,.2);visibility:hidden}
.hmbd-search-overlay.is-open{transform:none;visibility:visible}
.hmbd-so-close{margin-left:auto;display:flex;margin-bottom:8px}

/* Elementor header helpers */
.hmbd-cart-inline{position:static;display:inline-block;margin-left:4px;vertical-align:middle}
.elementor-location-header,.hmbd-el-header{position:relative;z-index:50}
.hmbd-open-menu,.hmbd-open-cats,.hmbd-open-search{cursor:pointer}
@media(min-width:769px){.hmbd-only-mobile{display:none!important}}
@media(max-width:768px){.hmbd-only-desktop{display:none!important}}

/* ---------- Mobile bottom navigation (Martfury-style) ---------- */
.hmbd-bottom-nav{display:none}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .woocommerce ul.products,.hmbd-products ul.products{grid-template-columns:repeat(4,1fr)}
  .hmbd-footer-grid{grid-template-columns:1fr 1fr 1fr}
  .hmbd-trust{grid-template-columns:repeat(3,1fr)}
  .hmbd-act-tx{display:none}
  .hmbd-act-account .hmbd-act-tx{display:none}
}
@media (max-width:900px){
  .woocommerce ul.products,.hmbd-products ul.products{grid-template-columns:repeat(3,1fr)}
  .hmbd-vendors{grid-template-columns:repeat(2,1fr)}
  .hmbd-default-hero{grid-template-columns:1fr}
  .hmbd-catlist{display:none}
  .hmbd-post-grid{grid-template-columns:repeat(2,1fr)}
  .hmbd-with-sidebar{grid-template-columns:1fr}
}
@media (max-width:768px){
  body{font-size:14.5px;padding-bottom:calc(var(--bn-h) + env(safe-area-inset-bottom))}
  body:not(.hmbd-has-bottom-nav){padding-bottom:0}
  .hmbd-container{padding:0 14px}
  .hmbd-utility,.hmbd-nav,.hmbd-header-search,.hmbd-act-account,.hmbd-act-wish{display:none}
  .hmbd-header{position:sticky;top:0;box-shadow:0 2px 10px rgba(13,31,77,.08)}
  .hmbd-header-in{padding-top:10px;padding-bottom:10px;gap:10px}
  .hmbd-menu-toggle{display:inline-flex;color:var(--navy)}
  .hmbd-brand{flex:1}
  .hmbd-logo-name{font-size:18px}
  .hmbd-logo svg{width:34px;height:34px}
  .hmbd-logo-sub{display:none}
  .hmbd-mobile-search{display:block;padding:0 0 10px}
  .hmbd-mobile-search .hmbd-search{height:42px}
  .hmbd-mobile-search .hmbd-search-cat{display:none}
  .hmbd-mobile-search .hmbd-search-btn span{display:none}
  .hmbd-mobile-search .hmbd-search-btn{padding:0 16px}
  .hmbd-has-bottom-nav .hmbd-act-cart{display:none}  /* কার্ট বটম বারে আছে */
  .hmbd-caticons{display:flex;overflow-x:auto;gap:12px;padding-bottom:6px;margin:0 -14px;padding-left:14px;padding-right:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .hmbd-caticons::-webkit-scrollbar{display:none}
  .hmbd-caticons>a{flex:0 0 72px}
  .hmbd-caticon-circle{width:62px;height:62px}
  .hmbd-trust{grid-template-columns:1fr 1fr}
  .hmbd-trust-item{padding:6px 4px}
  .hmbd-cta{flex-direction:column;align-items:flex-start;padding:26px 22px}
  .hmbd-sec-title{font-size:18px}
  .hmbd-sec-head{margin-bottom:12px}
  .hmbd-sec-cd{order:3;width:100%}
  .hmbd-cd-box{min-width:36px;padding:2px 6px}
  .woocommerce ul.products,.hmbd-products ul.products{grid-template-columns:repeat(2,1fr);gap:10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 10px;font-size:13px}
  .woocommerce ul.products li.product .price{padding:0 10px}
  .woocommerce ul.products li.product .star-rating{margin-left:10px}
  .woocommerce ul.products li.product .button{margin-left:10px;margin-right:10px}
  .hmbd-footer-grid{grid-template-columns:1fr 1fr;gap:22px;padding-top:30px;padding-bottom:30px}
  .hmbd-foot-brand,.hmbd-footer-grid>.hmbd-foot-col:last-child{grid-column:1/-1}
  .hmbd-foot-bottom-in{flex-direction:column;text-align:center}
  .hmbd-post-grid{grid-template-columns:1fr}
  .hmbd-card-box{padding:18px}
  .hmbd-page .woocommerce{padding:14px}

  .hmbd-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:900;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 18px rgba(13,31,77,.08);height:calc(var(--bn-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
  .hmbd-bn-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#6b7491;font-size:11px;font-weight:500;padding:6px 2px;position:relative;-webkit-tap-highlight-color:transparent}
  .hmbd-bn-item.is-active{color:var(--orange)}
  .hmbd-bn-item.is-active::before{content:"";position:absolute;top:0;left:30%;right:30%;height:3px;border-radius:0 0 3px 3px;background:var(--orange)}
  .hmbd-bn-item:active{background:#f6f7fb}
  .hmbd-bn-ic{position:relative;display:inline-flex}
  .hmbd-bn-ic .hmbd-cart-count{top:-6px;right:-9px}
  body.hmbd-lock .hmbd-bottom-nav{z-index:1}
  /* Woo notices / scroll-top sit above bar */
  .woocommerce-store-notice{bottom:calc(var(--bn-h) + env(safe-area-inset-bottom))}
}
@media (max-width:380px){
  .hmbd-bn-item{font-size:10px}
}
@media (min-width:769px){
  .hmbd-drawer,.hmbd-search-overlay{display:none}
  .hmbd-overlay{display:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.hmbd-nav-inline{background:none}
.hmbd-nav-inline .hmbd-menu{display:flex;flex-wrap:wrap;gap:6px}
.hmbd-nav-inline .hmbd-menu>li>a{display:block;color:#fff;font-size:14px;padding:12px;border-bottom:2px solid transparent}
.hmbd-nav-inline .hmbd-menu>li:hover>a{border-color:var(--gold);color:#fff}

/* Shop category chips */
.hmbd-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hmbd-chips::-webkit-scrollbar{display:none}
.hmbd-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:99px;padding:6px 14px;font-size:13px;font-weight:600;color:var(--navy);white-space:nowrap}
.hmbd-chip img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.hmbd-chip.is-active{background:var(--orange);border-color:var(--orange);color:#fff}

/* ---------- Fix: শপ/হোম গ্রিড ডেস্কটপে পুরো চওড়া ---------- */
.hmbd-shop-wrap,.hmbd-no-sidebar{display:block;width:100%}
.woocommerce ul.products,.woocommerce-page ul.products,.hmbd-products ul.products{float:none!important;width:100%!important;max-width:100%!important;clear:both;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;min-width:0;max-width:none;margin:0!important}
.woocommerce nav.woocommerce-pagination,.woocommerce-pagination{float:none!important;clear:both;width:100%;text-align:center;margin:10px 0 0}
.woocommerce-result-count{float:left;margin:0 0 14px}
.woocommerce-ordering{float:right;margin:0 0 14px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
@media (max-width:1100px){.woocommerce ul.products,.woocommerce-page ul.products,.hmbd-products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:900px){.woocommerce ul.products,.woocommerce-page ul.products,.hmbd-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:768px){.woocommerce ul.products,.woocommerce-page ul.products,.hmbd-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- শপ লেআউট (ফিক্স) ---------- */
.hmbd-shop-layout{padding-top:22px;padding-bottom:30px}
.hmbd-shop-layout.has-sidebar{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.hmbd-shop-main{min-width:0}
.hmbd-shop-sidebar .widget{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:16px}
@media (max-width:900px){
  .hmbd-shop-layout.has-sidebar{grid-template-columns:minmax(0,1fr)}
  .hmbd-shop-layout.has-sidebar .hmbd-shop-sidebar{order:2}
}

/* ডেলিভারি চার্জের লেখা + চেকআউট রেডিও */
.hmbd-delivery-note{background:#fff8e6;border:1px dashed var(--gold);border-radius:10px;padding:10px 14px;font-size:13px;margin:14px 0;color:var(--navy2)}
#billing_hmbd_area_field .woocommerce-input-wrapper{display:flex;flex-direction:column;gap:8px}
#billing_hmbd_area_field label.radio{display:inline-flex;align-items:center;gap:8px;font-weight:600;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
#billing_hmbd_area_field input[type=radio]{margin:0}
.woocommerce form .form-row textarea#billing_address_1{min-height:84px}

.hmbd-delivery-row td{background:#fff8e6;border-top:1px dashed var(--gold)!important;font-size:13px;line-height:1.7;padding:10px 12px!important;color:var(--navy2)}

/* Buy Now */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.woocommerce div.product form.cart .quantity{margin:0;float:none}
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .hmbd-buy-now{flex:1 1 150px;margin:0;float:none;text-align:center}
.woocommerce .hmbd-buy-now,.woocommerce button.button.hmbd-buy-now{background:var(--navy)!important;color:#fff!important;padding:13px 26px;border-radius:8px;font-weight:700;border:0}
.woocommerce .hmbd-buy-now:hover{filter:brightness(1.15)}
.woocommerce-variation-add-to-cart-disabled .hmbd-buy-now{opacity:.5}
.woocommerce ul.products li.product a.button.hmbd-buy-loop{display:block;margin:6px 14px 0;text-align:center;background:var(--navy);color:#fff;align-self:stretch}
@media (max-width:768px){.woocommerce ul.products li.product a.button.hmbd-buy-loop{margin:6px 10px 0}}

/* ---------- শপ লেআউট: সাইডবার বামে, পণ্য ডানে (ফিক্স v1.1.1) ---------- */
.hmbd-shop-layout.has-sidebar{grid-template-columns:260px minmax(0,1fr);grid-template-areas:"side main"}
.hmbd-shop-layout.has-sidebar .hmbd-shop-sidebar{grid-area:side;order:0}
.hmbd-shop-layout.has-sidebar .hmbd-shop-main{grid-area:main}
@media (max-width:900px){
  .hmbd-shop-layout.has-sidebar{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "side"}
}
