/* Homepage only: existing Bengali type, green/gold identity and commerce controls. */
.market-home .hm-hero{background:#f6f3e9;min-height:350px}
.market-home .hm-hero-copy{min-width:0}
.market-home .hm-hero h1{overflow-wrap:anywhere}
.market-home .hm-hero-description{max-width:48ch}
.market-home .hm-hero-chips{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:22px;color:#526158;font-size:12px}
.market-home .hm-hero-chips>*{border-bottom:1px solid #c9d2c3;padding-bottom:4px}
.market-home .hm-hero-display{min-width:0;margin:24px;height:310px;align-self:center}
.market-home .hm-hero-products{display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:1fr 1fr;gap:12px}
.market-home .hm-hero-product{display:flex;flex-direction:column;min-height:0;min-width:0;padding:12px;background:#fff;border:1px solid #e3dfd2;border-radius:10px;box-shadow:0 5px 18px #23352b08;color:#14532d}
.market-home .hm-hero-product:first-child{grid-row:span 2}
.market-home .hm-hero-products[data-hero-count="1"]{grid-template-columns:minmax(0,360px);justify-content:center}
.market-home .hm-hero-products[data-hero-count="2"] .hm-hero-product{grid-row:span 2}
.market-home .hm-hero-product img{width:100%;min-height:0;flex:1;object-fit:contain}
.market-home .hm-hero-product span{font-size:13px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-home .hm-hero-banner{background:#fff;border-radius:8px;padding:12px}
.market-home .hm-hero-banner img{width:100%;height:100%;object-fit:contain}
.market-home .hm-hero-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center}
.market-home .hm-hero-placeholder svg{width:100%;height:calc(100% - 28px)}
.market-home .hm-hero-placeholder span{font-size:12px;color:#875621}
.market-home footer{overflow-wrap:anywhere}
.market-home footer .flex>div{min-width:0}
.market-home{--hm-green:#14532d;--hm-ink:#23352b;--hm-muted:#526158;--hm-border:#dde5de;--hm-paper:#f7f8f4;--hm-spice:#875621;background:var(--hm-paper);color:var(--hm-ink)}
.market-home .hm-container{width:min(1280px,calc(100% - 40px));margin-inline:auto}
.market-home .hm-section{padding-block:32px;scroll-margin-top:90px}
.market-home .hm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.market-home .hm-section-heading h2{font-family:'Noto Serif Bengali',serif;font-size:26px;line-height:1.4;font-weight:700;color:var(--hm-green)}
.market-home .hm-section-heading p{margin-top:6px;color:var(--hm-muted);font-size:14px;max-width:65ch}
.market-home .hm-section-heading>a,.market-home .hm-quick-links a{color:var(--hm-green);font-size:14px;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.market-home .hm-hero{display:grid;grid-template-columns:1.15fr 1fr;margin-top:24px;background:#f6f3e9;border:1px solid var(--hm-border);border-radius:12px;overflow:hidden}
.market-home .hm-hero-copy{padding:30px 36px;align-self:center}
.market-home .hm-hero h1{font-family:'Noto Serif Bengali',serif;font-size:clamp(28px,3.1vw,42px);font-weight:700;line-height:1.35;max-width:22ch;color:var(--hm-green)}
.market-home .hm-hero-copy>p{max-width:55ch;margin:16px 0;color:var(--hm-muted);line-height:1.75;font-size:16px}
.market-home .hm-hero-copy .hm-campaign{font-size:13px;color:var(--hm-spice);margin-top:0}
.market-home .hm-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.market-home .hm-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border-radius:6px;background:var(--hm-green);border:1px solid var(--hm-green);color:white;font-weight:600;font-size:15px}
.market-home .hm-button-outline{background:transparent;color:var(--hm-green)}
.market-home .hm-quick-links{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:16px}
.market-home .hm-hero-media{min-width:0;padding:20px;background:white;display:flex;flex-direction:column;justify-content:center;align-items:center}
.market-home .hm-hero-media>img{width:100%;height:290px;background:white}
.market-home .hm-hero-caption{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0 0;font-size:14px;color:var(--hm-green)}
.market-home .hm-hero-caption span{font-size:12px;white-space:nowrap}
.market-home .hm-hero-note{padding:32px;align-self:center}.market-home .hm-hero-note h2{font-weight:700;font-size:24px}.market-home .hm-hero-note p{margin:16px 0;color:var(--hm-muted)}
.market-home .hm-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.market-home .hm-categories>a{display:flex;align-items:center;gap:10px;padding:14px;background:white;border:1px solid var(--hm-border);border-radius:8px;min-width:0;font-size:14px;font-weight:600}
.market-home .hm-categories>a:hover,.market-home .hm-categories>a[aria-current]{border-color:var(--hm-green)}
.market-home .hm-category-symbol{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#edf3e9;color:var(--hm-green);font-family:'Noto Serif Bengali',serif;font-size:23px}
.market-home #products{padding:24px 20px 40px;scroll-margin-top:80px}
.market-home .hm-catalog-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}
.market-home .hm-mode-tabs{display:flex;border:1px solid var(--hm-border);border-radius:6px;overflow:hidden;background:white}
.market-home .hm-mode-tabs a{padding:10px 18px;min-height:44px;font-weight:600;font-size:14px}
.market-home .hm-mode-tabs a[data-active="1"]{background:var(--hm-green);color:white}
.market-home .hm-search{flex:1;min-width:200px;max-width:440px}
.market-home .hm-search input{width:100%;min-height:46px;padding:10px 14px;border:1px solid #9aaa9c;border-radius:6px;background:white;font-size:15px}
.market-home .hm-search>span{font-size:13px;color:var(--hm-muted);display:block;margin-bottom:4px}
.market-home #card-view,.market-home .hm-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.market-home .product-card,.market-home .hm-product-tile{border:1px solid var(--hm-border);border-radius:8px;box-shadow:none;background:white;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.market-home .product-card:hover,.market-home .hm-product-tile:hover{transform:none;box-shadow:0 3px 12px #143b2010;border-color:#a9bcad}
.market-home .product-card [data-slideshow]{height:190px}
.market-home .product-card>.p-5{padding:16px}
.market-home .product-card h3,.market-home .hm-product-tile h3{font-size:18px;line-height:1.5;font-weight:700;color:var(--hm-green)}
.market-home .product-card .p-chip{min-height:44px;border-radius:5px}
.market-home .product-card [id^=card-from-]{font-size:22px;color:var(--hm-green)}
.market-home .product-card .card-chip.active .chip-lbl{color:#fff}
.market-home .product-card .text-gray-400{color:var(--hm-muted)}
.market-home .product-card [id^=card-retail-btns]{flex-wrap:wrap}
.market-home .product-card [id^=card-retail-btns]>*{min-width:90px;min-height:44px}
.market-home .hm-wholesale{padding:32px 0;background:#f1eee3;border-block:1px solid #e7dfca;scroll-margin-top:85px}
.market-home .hm-tile-image{display:block;height:190px;background:#f1f5f3}
.market-home .hm-tile-image img{width:100%;height:100%}
.market-home .hm-tile-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.market-home .hm-channel-label{font-size:12px;color:var(--hm-spice)}
.market-home .hm-tile-body p,.market-home .hm-tile-body>small{font-size:13px;color:var(--hm-muted);line-height:1.6}
.market-home .hm-tile-body .hm-price{font-size:20px;font-weight:700;color:var(--hm-green)}
.market-home .hm-price small{font-size:12px;font-weight:400}
.market-home .hm-tile-action{margin-top:auto;padding-top:14px;min-height:44px;font-size:14px;color:var(--hm-green);font-weight:600}
.market-home .hm-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--hm-border)}
.market-home .hm-benefits>div{padding:24px 18px;border-right:1px solid var(--hm-border)}
.market-home .hm-benefits>div:last-child{border-right:0}.market-home .hm-benefits svg{color:var(--hm-green);margin-bottom:12px}.market-home .hm-benefits h3{font-weight:600;margin-bottom:8px}.market-home .hm-benefits p{font-size:14px;line-height:1.7;color:var(--hm-muted)}
.market-home .hm-empty{padding:28px;border:1px dashed #b5c3b6;border-radius:8px;color:var(--hm-muted);background:white}.market-home .hm-empty a{text-decoration:underline}
.market-home #fixed-combos,.market-home #combo-builder,.market-home #reviews,.market-home #contact{padding-top:32px;padding-bottom:32px}
.market-home .hm-wholesale-cta{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;background:#eaf0e5;border:1px solid var(--hm-border);border-radius:8px;margin-bottom:24px}
.market-home .hm-wholesale-cta h2{font-family:'Noto Serif Bengali',serif;font-size:25px;font-weight:700;color:var(--hm-green)}.market-home .hm-wholesale-cta p{margin-top:8px;color:var(--hm-muted);max-width:65ch;font-size:14px}
.market-home :is(a,button,input):focus-visible{outline:3px solid #b78421;outline-offset:3px}
@media(max-width:1199px){.market-home .hm-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-home .hm-hero-copy{padding:24px}}
@media(max-width:767px){.market-home .hm-container{width:calc(100% - 28px)}.market-home .hm-hero{grid-template-columns:1fr;margin-top:14px}.market-home .hm-hero-copy{padding:22px}.market-home .hm-hero-media>img{height:190px}.market-home .hm-section{padding-block:24px}.market-home .hm-section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.market-home .hm-section-heading h2{font-size:23px}.market-home .hm-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-home #products{padding-inline:14px}.market-home .hm-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.market-home .hm-benefits>div{padding:16px 10px}.market-home .hm-wholesale-cta{flex-direction:column;align-items:flex-start;padding:22px}.market-home .hm-search{max-width:none}.market-home .hm-section-heading>a{white-space:normal}}
@media(prefers-reduced-motion:reduce){.market-home .product-card,.market-home .card-slide{transition:none!important}}
/* The desktop navigation exceeds tablet width; use its existing drawer. */
@media(min-width:768px) and (max-width:1023px){
    .market-home>header nav{display:none}
    .market-home>header [data-drawer-open]{display:flex}
    .market-home>[data-drawer]:not(.hidden){display:block}
}
@media(max-width:767px){
    .market-home .hm-hero-note{padding:16px 22px;border-top:1px solid var(--hm-border)}
    .market-home .hm-hero-note h2{font-size:18px}
    .market-home .hm-hero-note p{margin:8px 0;font-size:14px}
}

@media(max-width:767px){.market-home .hm-hero{min-height:0}.market-home .hm-hero-copy{padding:22px 22px 10px}.market-home .hm-hero h1{font-size:28px}.market-home .hm-hero-copy>p{font-size:14px;margin-block:10px}.market-home .hm-actions{margin-top:16px;gap:8px}.market-home .hm-actions .hm-button{flex:1;padding-inline:10px;min-width:0}.market-home .hm-hero-chips{margin-top:14px;font-size:11px;gap:8px}.market-home .hm-hero-display{height:180px;margin:12px 20px 20px}.market-home .hm-hero-product{padding:8px}.market-home .hm-hero-product span{font-size:11px}}

.market-home .hm-hero .hm-button{transition:background-color .15s,box-shadow .15s}
.market-home .hm-hero .hm-button:hover{background:#0d4022;box-shadow:0 3px 10px #14532d20}
.market-home .hm-hero .hm-button-outline:hover{background:#e8eddf;box-shadow:none}
.market-home .hm-hero-product:hover{border-color:#a8b8a0}
@media(prefers-reduced-motion:reduce){.market-home .hm-hero .hm-button{transition:none}}

/* Catalogue controls share one height; the accessible search label does not offset its input. */
.market-home .hm-catalog-tools{display:grid;grid-template-columns:auto minmax(200px,1fr) auto;align-items:center;gap:12px}
.market-home .hm-search{display:flex;gap:8px;max-width:none;min-width:0;margin:0}
.market-home .hm-search input{min-width:0;flex:1;height:46px}
.market-home .hm-search button{height:46px;padding:0 18px;border:1px solid var(--hm-green);border-radius:6px;background:var(--hm-green);color:white;flex-shrink:0}
.market-home .hm-mode-tabs a{height:44px;display:flex;align-items:center;padding:0 18px}
.market-home .hm-view-toggle{display:flex;gap:4px}
.market-home .hm-view-toggle button{height:46px;border:1px solid var(--hm-border);border-radius:6px;padding:0 16px}
.market-home .hm-slider{margin-top:24px;background:#f6f3e9;border:1px solid var(--hm-border);border-radius:12px;overflow:hidden}
.market-home .hm-slides{display:grid}
.market-home .hm-slide{grid-area:1/1;visibility:hidden;opacity:0;transition:opacity .3s ease;width:100%;margin:0;border:0;border-radius:0;min-height:350px}
.market-home .hm-slide.is-current{visibility:visible;opacity:1}
.market-home .hm-slide-title{font-family:'Noto Serif Bengali',serif;font-size:clamp(28px,3.1vw,42px);font-weight:700;line-height:1.35;max-width:22ch;color:var(--hm-green);overflow-wrap:anywhere}
.market-home .hm-slide .hm-hero-description{overflow-wrap:anywhere}
.market-home .hm-slider-controls{display:flex;justify-content:center;align-items:center;gap:8px;padding:0 16px 8px}
.market-home .hm-slider-controls[hidden]{display:none}
.market-home .hm-slider-controls button{min-width:36px;min-height:36px;border-radius:6px;color:var(--hm-green);font-size:22px}
.market-home .hm-slider-controls button:hover{background:#e8eddf}
.market-home .hm-slider-dots{display:flex;flex-wrap:wrap;justify-content:center}
.market-home .hm-slider-dots button{display:grid;place-items:center}
.market-home .hm-slider-dots span{width:8px;height:8px;border-radius:50%;background:#a8b8a0}
.market-home .hm-slider-dots [aria-pressed=true] span{background:var(--hm-green);width:20px;border-radius:8px}
@media(max-width:900px){.market-home .hm-catalog-tools{grid-template-columns:1fr auto}.market-home .hm-search{grid-row:2;grid-column:1/-1}}
@media(max-width:767px){.market-home .hm-catalog-tools{display:flex;flex-direction:column;align-items:stretch}.market-home .hm-mode-tabs a{flex:1;justify-content:center}.market-home .hm-view-toggle{align-self:flex-end}.market-home .hm-slider{margin-top:14px}.market-home .hm-slide{margin-top:0;min-height:0}.market-home .hm-slide-title{font-size:28px}.market-home .hm-slide .hm-hero-display{height:190px}.market-home .hm-slider-controls button{min-height:44px;min-width:40px}.market-home .hm-slider-dots button{min-width:32px}}
@media(prefers-reduced-motion:reduce){.market-home .hm-slide{transition:none}}

/* Phones (< 768px): one product card per row, capped at 480px and centred so it
   doesn't stretch on 600-767px screens. Tablet/desktop rules above (3 / 4 columns)
   are unchanged. Chip sizing lives here (not in the markup) because the
   mode-toggle JS rebuilds the chip HTML with its own classes. */
@media(max-width:767px){
.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.market-home .product-card,.market-home .hm-product-tile{width:100%;max-width:480px;margin-inline:auto;border-radius:16px;border-color:#f3f4f6;box-shadow:0 1px 2px #0000000d}
.market-home .product-card [data-slideshow],.market-home .hm-tile-image{height:auto;aspect-ratio:4/3}
.market-home .product-card>.p-5,.market-home .hm-tile-body{padding:12px}
.market-home .product-card h3,.market-home .hm-product-tile h3{font-size:16px;font-weight:600;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.market-home .product-card>.p-5>p{font-size:14px;color:#4b5563}
.market-home .product-card [id^=card-from-]{font-size:18px}
.market-home .product-card [id^=card-chips]{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.market-home .product-card .p-chip{min-height:44px;display:flex;flex-direction:column;justify-content:center;padding:6px 4px}
.market-home .product-card .chip-lbl{font-size:13px}
.market-home .product-card .chip-val{font-size:14px}
.market-home .product-card [id^=card-retail-btns]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.market-home .product-card [id^=card-retail-btns]>*{min-width:0;display:flex;align-items:center;justify-content:center}
}

html{scroll-behavior:smooth}
@media(max-width:767px){.market-home .hm-view-toggle{display:none}.market-home .hm-search button{display:none}}
.ms-wa-fab{position:fixed;right:14px;bottom:88px;z-index:45;display:flex;align-items:center;gap:8px;background:#25d366;color:#fff;font-weight:700;font-size:14px;padding:12px 16px;border-radius:999px;box-shadow:0 8px 22px rgba(0,0,0,.25);text-decoration:none}
.ms-wa-fab svg{width:22px;height:22px;flex:none}
@media(min-width:1024px){.ms-wa-fab{bottom:24px;right:24px}}
@media(max-width:380px){.ms-wa-fab span{display:none}.ms-wa-fab{padding:13px}}
@media(max-width:767px){.ms-wa-fab span{display:none}.ms-wa-fab{padding:13px;right:12px;bottom:86px}}

/* ═══════════════ Modern storefront refresh (2026-10) ═══════════════
   Card-based, image-led layout in the style of large BD grocery shops:
   trust strip, picture categories, square product photos, 2-up cards on phones.
   Styling only — every id / data-* the homepage JS uses is unchanged. */
.market-home{--hm-paper:#f6f7f2;--hm-card-shadow:0 1px 2px rgba(20,40,25,.05),0 4px 14px rgba(20,40,25,.05);--hm-card-hover:0 14px 32px rgba(20,83,45,.14)}
.market-home .hm-section-heading h2{position:relative;padding-left:14px}
.market-home .hm-section-heading h2::before{content:"";position:absolute;left:0;top:.35em;bottom:.35em;width:5px;border-radius:4px;background:linear-gradient(#c9a227,#14532d)}
.market-home .hm-section-heading>a{text-decoration:none;font-weight:600;padding:0 14px;border-radius:999px;background:#eaf2e7;min-height:38px}
.market-home .hm-section-heading>a:hover{background:#d9e8d3}

/* Hero: softer card */
.market-home .hm-slider,.market-home .hm-hero{border:0;border-radius:20px;box-shadow:var(--hm-card-shadow);background:linear-gradient(135deg,#fbf6e7 0%,#eef4e6 100%)}

/* Trust strip */
.market-home .hm-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.market-home .hm-trust-item{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border-radius:16px;box-shadow:var(--hm-card-shadow);min-width:0}
.market-home .hm-trust-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eaf2e7;color:#14532d}
.market-home .hm-trust-icon svg{width:24px;height:24px}
.market-home .hm-trust-item strong{display:block;font-size:15px;color:#14532d;line-height:1.3}
.market-home .hm-trust-item small{display:block;font-size:12px;color:var(--hm-muted);line-height:1.4;margin-top:2px}

/* Picture categories */
.market-home .hm-cat-row{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.market-home .hm-cat{flex:none;width:118px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:12px 8px;border-radius:18px;background:#fff;box-shadow:var(--hm-card-shadow);scroll-snap-align:start;transition:transform .15s,box-shadow .15s;border:2px solid transparent}
.market-home .hm-cat:hover{transform:translateY(-2px);box-shadow:var(--hm-card-hover)}
.market-home .hm-cat[aria-current]{border-color:#14532d;background:#f3f8f1}
.market-home .hm-cat-img{width:76px;height:76px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#f4efe1;color:#14532d;font-family:'Noto Serif Bengali',serif;font-size:30px;font-weight:700;box-shadow:inset 0 0 0 3px #fff,0 0 0 1px #e7e2d2}
.market-home .hm-cat-img img{width:100%;height:100%;object-fit:cover}
.market-home .hm-cat-all{background:#14532d;color:#fff}.market-home .hm-cat-all svg{width:32px;height:32px}
.market-home .hm-cat-name{font-weight:700;font-size:14px;line-height:1.3;color:#1f2a22}
.market-home .hm-cat-count{font-size:11px;color:var(--hm-muted)}

/* Catalogue toolbar */
.market-home .hm-catalog-tools{background:#fff;padding:10px;border-radius:16px;box-shadow:var(--hm-card-shadow)}
.market-home .hm-mode-tabs{border-radius:12px;border-color:#e3e8e1}
.market-home .hm-search input,.market-home .hm-search button,.market-home .hm-view-toggle button{border-radius:12px}

/* Product cards */
.market-home .product-card,.market-home .hm-product-tile{border:1px solid #edf0ea;border-radius:18px;box-shadow:var(--hm-card-shadow);transition:transform .18s ease,box-shadow .18s ease}
.market-home .product-card:hover,.market-home .hm-product-tile:hover{transform:translateY(-4px);box-shadow:var(--hm-card-hover);border-color:#dfe8db}
.market-home .product-card [data-slideshow],.market-home .hm-tile-image{height:auto;aspect-ratio:1/1;background:#fff}
.market-home .product-card .product-artwork,.market-home .hm-tile-image .product-artwork{background:#fff}
.market-home .product-card>.p-5{padding:14px 16px 16px}
.market-home .product-card h3,.market-home .hm-product-tile h3{font-size:17px;line-height:1.45;color:#1f2a22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-home .product-card [id^=card-from-]{color:#14532d;font-size:22px}
.market-home .hm-stock-badge{top:10px;left:10px;font-size:10px;box-shadow:none}
.market-home .hm-cat-badge{top:10px;right:10px;box-shadow:none;border:1px solid #e3e8e1}
.market-home .product-card .p-chip{border-radius:10px;min-height:42px}
.market-home .product-card [id^=card-retail-btns] button{border-radius:12px;font-weight:700;box-shadow:0 4px 12px rgba(20,83,45,.18)}
.market-home .product-card .hm-card-detail{border-radius:12px}
.market-home .card-dot{box-shadow:0 0 0 1px rgba(0,0,0,.15)}

/* Trust strip + categories on tablets */
@media(max-width:1023px){.market-home .hm-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Phones: 2 compact cards per row (like large grocery apps) */
@media(max-width:767px){
.market-home .hm-trust{gap:8px;margin-top:12px}
.market-home .hm-trust-item{padding:10px;gap:8px;border-radius:14px}
.market-home .hm-trust-icon{width:36px;height:36px;border-radius:10px}.market-home .hm-trust-icon svg{width:20px;height:20px}
.market-home .hm-trust-item strong{font-size:13px}.market-home .hm-trust-item small{font-size:11px}
.market-home .hm-cat{width:92px;padding:10px 6px;border-radius:16px}
.market-home .hm-cat-img{width:60px;height:60px;font-size:24px}
.market-home .hm-cat-name{font-size:12.5px}
.market-home .hm-catalog-tools{padding:8px;gap:8px}
.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.market-home .product-card,.market-home .hm-product-tile{max-width:none;border-radius:14px}
.market-home .product-card:hover,.market-home .hm-product-tile:hover{transform:none}
.market-home .product-card [data-slideshow],.market-home .hm-tile-image{aspect-ratio:1/1}
.market-home .product-card>.p-5,.market-home .hm-tile-body{padding:10px}
.market-home .product-card h3,.market-home .hm-product-tile h3{font-size:14px;line-height:1.4;font-weight:700;-webkit-line-clamp:2;min-height:2.8em}
.market-home .product-card .hm-card-desc,.market-home .product-card .hm-cat-badge{display:none}
.market-home .hm-stock-badge{top:6px;left:6px;font-size:9px;padding:1px 6px}
.market-home .product-card [id^=card-price-wrap]{margin-top:6px}
.market-home .product-card [id^=card-from-]{font-size:17px}
.market-home .product-card .hm-from{font-size:10px}
/* Pack chips: one swipeable row instead of a tall grid */
.market-home .product-card [id^=card-chips]{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(64px,1fr);overflow-x:auto;gap:6px;margin-top:8px;padding-bottom:2px;scrollbar-width:none}
.market-home .product-card [id^=card-chips]::-webkit-scrollbar{display:none}
.market-home .product-card .p-chip{min-height:40px;padding:4px 2px;border-radius:8px}
.market-home .product-card .chip-lbl{font-size:10.5px}.market-home .product-card .chip-val{font-size:12.5px}
/* One full-width add button; title and photo already open the details */
.market-home .product-card .hm-card-detail{display:none}
.market-home .product-card [id^=card-retail-btns]{display:flex;margin-top:10px;gap:0}
.market-home .product-card [id^=card-retail-btns]>*{flex:1;min-height:40px;font-size:13px;padding:8px 6px;border-radius:10px}
.market-home .product-card .ms-qa{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.market-home .product-card .ms-qa>*{font-size:12px;padding:8px 4px;border-radius:10px;min-height:38px}
.market-home .hm-tile-body h3{min-height:2.8em}
.market-home .hm-tile-body p{font-size:12px}
.market-home .hm-tile-body .hm-price{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.market-home .hm-cat,.market-home .product-card{transition:none}}

/* ── Compact cards (2026-10-19): packs are picked on the details page ── */
.market-home .product-card [id^=card-chips],.market-home .product-card .hm-card-desc{display:none}
.market-home .product-card>.p-5{padding:12px 14px 14px}
.market-home .product-card h3{font-size:15.5px;line-height:1.4;min-height:2.8em}
.market-home .product-card [id^=card-price-wrap]{margin-top:6px;flex-wrap:wrap;row-gap:0}
.market-home .product-card [id^=card-from-]{font-size:20px}
.market-home .product-card .hm-from{font-size:11.5px}
.market-home .product-card .hm-from-pack{color:#14532d;font-weight:600}
.market-home .product-card [id^=card-retail-btns]{display:flex;gap:8px;margin-top:12px}
.market-home .product-card [id^=card-retail-btns]>*{min-height:40px;min-width:0;border-radius:11px;box-shadow:none}
.market-home .product-card .hm-card-detail{display:flex!important;align-items:center;justify-content:center;flex:1;font-weight:700;padding:8px 6px}
.market-home .product-card .hm-card-quickadd{flex:none;width:42px;padding:0}
.market-home #card-view,.market-home .hm-product-grid{gap:16px}
@media(min-width:1280px){.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1279px){.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:640px) and (max-width:767px){.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.market-home .hm-stock-badge{font-size:9.5px;padding:1px 7px}
.market-home .hm-cat-badge{font-size:9.5px;padding:1px 7px}
@media(max-width:767px){
.market-home #card-view,.market-home .hm-product-grid{gap:10px}
.market-home .product-card>.p-5{padding:9px 10px 10px}
.market-home .product-card h3{font-size:13.5px}
.market-home .product-card [id^=card-from-]{font-size:16px}
.market-home .product-card .hm-from{font-size:10px}
.market-home .product-card [id^=card-retail-btns]{gap:6px;margin-top:8px}
.market-home .product-card [id^=card-retail-btns]>*{min-height:36px;font-size:12.5px}
.market-home .product-card .hm-card-quickadd{width:36px}
}

/* ── Phones (2026-10-19 b): one card per row, photo left / details right ── */
@media(max-width:767px){
.market-home #card-view,.market-home .hm-product-grid{grid-template-columns:minmax(0,1fr);gap:10px}
.market-home .product-card,.market-home .hm-product-tile{flex-direction:row;align-items:stretch;border-radius:16px}
.market-home .product-card>a.block,.market-home .hm-product-tile>.hm-tile-image{flex:0 0 38%;max-width:160px;align-self:stretch;background:#fff}
.market-home .product-card [data-slideshow]{height:100%!important;min-height:150px;aspect-ratio:auto}
.market-home .hm-tile-image{height:auto;min-height:150px;aspect-ratio:auto}
.market-home .product-card>.p-5,.market-home .hm-tile-body{flex:1;min-width:0;padding:12px 12px 12px 14px}
.market-home .product-card h3,.market-home .hm-product-tile h3{font-size:15px;line-height:1.4;min-height:0;-webkit-line-clamp:2}
.market-home .product-card [id^=card-from-]{font-size:18px}
.market-home .product-card .hm-from{font-size:11px}
.market-home .hm-stock-badge{top:6px;left:6px;font-size:9px;padding:0 6px}
.market-home .card-dot{width:5px;height:5px}
.market-home .product-card [id^=card-retail-btns]{margin-top:10px;gap:8px}
.market-home .product-card [id^=card-retail-btns]>*{min-height:38px;font-size:13.5px}
.market-home .product-card .hm-card-quickadd{width:40px}
/* Wholesale actions fit the narrower column: price button full width, then two compact buttons */
.market-home .product-card .ms-qa{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:2px}
.market-home .product-card .ms-qa>*{min-height:36px;font-size:12px;padding:6px 4px;border-radius:10px;gap:3px;overflow:hidden}
.market-home .product-card .ms-qa>:first-child{grid-column:1/-1;font-size:13.5px;min-height:38px}
.market-home .product-card .ms-qa svg{width:14px;height:14px}
.market-home .product-card [id^=card-wholesale-btns]{margin-top:10px}
}
@media(max-width:767px){
.market-home .product-card .hm-card-desc{display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;margin-top:2px;color:#6b7280}
}
/* Photos fill the card frame evenly (portrait / landscape shots no longer leave gaps). */
.market-home .product-card .card-slide,.market-home .product-card [data-slideshow] img,
.market-home .hm-tile-image img,.market-home [data-list-product] .product-artwork{object-fit:cover!important;object-position:center;background:#fff}

/* ── পাইকারি section (2026-10-20): B2B banner + text-first cards ── */
.market-home .hm-ws-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;margin-bottom:18px;border-radius:20px;color:#fff;background:linear-gradient(120deg,#0f3d22 0%,#14532d 55%,#1d6b3d 100%);box-shadow:0 10px 28px rgba(15,61,34,.18);position:relative;overflow:hidden}
.market-home .hm-ws-banner::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,39,.35),transparent 70%)}
.market-home .hm-ws-kicker{display:inline-block;font-size:12px;font-weight:700;color:#0f3d22;background:#c9a227;border-radius:999px;padding:2px 10px}
.market-home .hm-ws-banner h2{font-family:'Noto Serif Bengali',serif;font-size:26px;font-weight:700;margin-top:8px;color:#fff}
.market-home .hm-ws-banner p{margin-top:6px;max-width:60ch;color:#d9eadf;font-size:14px;line-height:1.7}
.market-home .hm-ws-points{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:13px;color:#fff}
.market-home .hm-ws-points li{display:flex;align-items:center;gap:6px}
.market-home .hm-ws-points li::before{content:"✓";display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#c9a227;color:#0f3d22;font-size:11px;font-weight:800}
.market-home .hm-ws-banner-cta{display:flex;flex-direction:column;gap:10px;flex:none;position:relative;z-index:1}
.market-home .hm-ws-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border-radius:12px;font-weight:700;font-size:14px;white-space:nowrap}
.market-home .hm-ws-btn-light{background:#fff;color:#14532d}.market-home .hm-ws-btn-light:hover{background:#f1f5ee}
.market-home .hm-ws-btn-wa{background:#25d366;color:#fff}.market-home .hm-ws-btn-wa:hover{background:#1fb457}
.market-home .hm-ws-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.market-home .hm-ws-tile{display:flex;flex-direction:column;gap:8px;padding:16px;background:#fff;border:1px solid #e7e2d2;border-top:4px solid #c9a227;border-radius:16px;box-shadow:var(--hm-card-shadow);min-width:0;transition:box-shadow .18s,transform .18s}
.market-home .hm-ws-tile:hover{box-shadow:var(--hm-card-hover);transform:translateY(-3px)}
.market-home .hm-ws-top{display:flex;justify-content:space-between;gap:8px}
.market-home .hm-ws-cat{font-size:11.5px;font-weight:700;color:#875621;background:#fbf3df;border-radius:999px;padding:2px 10px}
.market-home .hm-ws-out{font-size:11px;font-weight:700;color:#b91c1c}
.market-home .hm-ws-tile h3{font-size:16.5px;font-weight:700;line-height:1.4;color:#1f2a22}
.market-home .hm-ws-tile h3 a:hover{color:#14532d;text-decoration:underline}
.market-home .hm-ws-desc{font-size:13px;line-height:1.6;color:#5b6b60;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-home .hm-ws-facts{display:flex;flex-direction:column;gap:5px;margin-top:2px}
.market-home .hm-ws-fact{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#4b5a50}
.market-home .hm-ws-fact svg{width:15px;height:15px;flex:none;color:#14532d}
.market-home .hm-ws-fact b{color:#1f2a22}
.market-home .hm-ws-moq{background:#eef5ea;border-radius:8px;padding:5px 8px;color:#14532d}
.market-home .hm-ws-actions{margin-top:auto;padding-top:6px}
.market-home .hm-ws-actions .ms-qa>*{min-height:40px}
.market-home .hm-ws-more{font-size:12.5px;font-weight:600;color:#14532d;text-align:center}
.market-home .hm-ws-more:hover{text-decoration:underline}
@media(max-width:1199px){.market-home .hm-ws-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.market-home .hm-ws-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-home .hm-ws-banner{flex-direction:column;align-items:flex-start}.market-home .hm-ws-banner-cta{flex-direction:row;flex-wrap:wrap;width:100%}}
@media(max-width:600px){
.market-home .hm-ws-grid{grid-template-columns:minmax(0,1fr);gap:10px}
.market-home .hm-ws-banner{padding:20px 18px;border-radius:16px}
.market-home .hm-ws-banner h2{font-size:22px}
.market-home .hm-ws-banner-cta>*{flex:1 1 100%}
.market-home .hm-ws-tile{padding:14px}
.market-home .hm-ws-actions .ms-qa>*{font-size:13px}
}

/* ── Picture banner slides (2026-10-20): whole image is the link, no buttons ── */
.market-home .hm-slider:has(.hm-slide-banner){position:relative;background:none;box-shadow:none;border-radius:20px}
.market-home .hm-slide-banner{display:block;padding:0;min-height:0;border-radius:20px;overflow:hidden;background:#eef2ea;box-shadow:var(--hm-card-shadow)}
.market-home .hm-slide-banner picture,.market-home .hm-slide-banner img{display:block;width:100%}
.market-home .hm-slide-banner img{aspect-ratio:16/5;object-fit:cover;object-position:center}
.market-home a.hm-slide-banner:focus-visible{outline:3px solid #b78421;outline-offset:3px}
.market-home .hm-slider:has(.hm-slide-banner) .hm-slider-controls{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:2;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.88);box-shadow:0 2px 10px rgba(0,0,0,.15)}
.market-home .hm-slider:has(.hm-slide-banner) .hm-slider-controls button{min-width:30px;min-height:30px;font-size:18px}
@media(max-width:767px){
.market-home .hm-slide-banner{border-radius:14px}
.market-home .hm-slide-banner.has-mobile img{aspect-ratio:3/2}
.market-home .hm-slider:has(.hm-slide-banner) .hm-slider-controls{bottom:8px;padding:0 4px}
.market-home .hm-slider:has(.hm-slide-banner) .hm-slider-controls [data-prev],.market-home .hm-slider:has(.hm-slide-banner) .hm-slider-controls [data-next]{display:none}
}
