/*
Theme Name:   MeowMunchBD
Theme URI:    https://meowmunchbd.com
Author:       MeowMunchBD
Description:  Standalone WooCommerce theme for MeowMunchBD, built from the MeowMunchBD Figma design: cream and charcoal surfaces, serif headlines, sand product cards, a two-row search header, a phone tab bar and a simple Bangladesh checkout. No parent theme or page builder needed.
Version:      2.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  meowmunch
*/

/* =========================================================================
   1. Fonts (bundled; Bangla letters and ৳ come from Noto Sans Bengali)
   ========================================================================= */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("assets/fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "MM Bangla"; font-weight: 400; font-display: swap; src: url("assets/fonts/noto-sans-bengali-bengali-400-normal.woff2") format("woff2"); unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "MM Bangla"; font-weight: 600; font-display: swap; src: url("assets/fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "MM Bangla"; font-weight: 700; font-display: swap; src: url("assets/fonts/noto-sans-bengali-bengali-700-normal.woff2") format("woff2"); unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

/* =========================================================================
   2. Tokens
   ========================================================================= */
:root {
	--mm-red: #E60F23;
	--mm-red-dark: #B5000C;
	--mm-red-tint: #FDECEE;
	--mm-pink: #FF6B74;
	--mm-ink: #161412;
	--mm-charcoal: #2A2521;
	--mm-muted: #6B645B;
	--mm-faint: #8F877B;
	--mm-placeholder: #9A9187;
	--mm-brandgrey: #A39A8E;
	--mm-line: #E9E2D6;
	--mm-cream: #FAF6EF;
	--mm-sand: #F1EADF;
	--mm-sand-dark: #E6DACA;
	--mm-white: #FFFFFF;
	--mm-green: #1D8A4E;
	--mm-star: #F5A623;
	--mm-dark-line: #2E2823;
	--mm-dark-text: #B9B0A4;
	--mm-bkash: #E2136E;
	--mm-nagad: #F6921E;

	--mm-sans: "Inter", "MM Bangla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mm-serif: "DM Serif Display", "MM Bangla", Georgia, "Times New Roman", serif;
	--mm-logo: "Nunito", "Inter", system-ui, sans-serif;

	--mm-gutter: 20px;
	--mm-section: 96px;
	--mm-shadow: 0 16px 20px rgba(41, 26, 10, .12);
	--mm-tabbar: 76px;
}

/* =========================================================================
   3. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.mm-lock { overflow: hidden; }
body {
	margin: 0;
	background: var(--mm-white);
	color: var(--mm-ink);
	font: 400 16px/1.625 var(--mm-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mm-red); }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--mm-red); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--mm-red-tint); color: var(--mm-ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}
.mm-skip:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 10px 16px;
	background: var(--mm-ink); color: #fff; border-radius: 999px;
}

.mm-wrap { width: 100%; max-width: calc(1200px + var(--mm-gutter) * 2); margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-icon { width: 20px; height: 20px; flex: none; max-width: none; }
.mm-hp { position: absolute; left: -9999px; }

.mm-overline {
	font: 600 12px/16px var(--mm-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mm-red);
}

/* Buttons */
.mm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 14px 24px;
	border: 1.5px solid transparent; border-radius: 999px;
	background: var(--mm-ink); color: #fff;
	font: 600 15px/20px var(--mm-sans);
	white-space: nowrap; cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.mm-btn:hover { color: #fff; background: #000; }
.mm-btn:active { transform: translateY(1px); }
.mm-btn--lg { min-height: 56px; padding: 18px 32px; }
.mm-btn--red { background: var(--mm-red); }
.mm-btn--red:hover { background: var(--mm-red-dark); }
.mm-btn--dark { background: var(--mm-ink); }
.mm-btn--light { background: #fff; color: var(--mm-ink); }
.mm-btn--light:hover { background: var(--mm-sand); color: var(--mm-ink); }
.mm-btn--outline { background: transparent; color: var(--mm-ink); border-color: var(--mm-ink); }
.mm-btn--outline:hover { background: var(--mm-ink); color: #fff; }
.mm-btn .mm-icon { width: 18px; height: 18px; }

.mm-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0;
	background: none; border: 0; border-radius: 999px; color: var(--mm-ink);
}
.mm-iconbtn .mm-icon { width: 24px; height: 24px; }

/* Chips */
.mm-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--mm-gutter) * -1); padding: 0 var(--mm-gutter); }
.mm-chips::-webkit-scrollbar { display: none; }
.mm-chip {
	flex: none; display: inline-flex; align-items: center;
	padding: 10px 18px; border: 1px solid var(--mm-line); border-radius: 999px;
	background: #fff; color: var(--mm-ink);
	font: 600 13px/18px var(--mm-sans); white-space: nowrap;
	transition: border-color .18s, background-color .18s;
}
.mm-chip:hover { border-color: var(--mm-ink); color: var(--mm-ink); }
.mm-chip.is-active { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }

/* Pill label (hero) */
.mm-pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff;
	font: 600 13px/18px var(--mm-sans); color: var(--mm-ink);
}
.mm-pill__dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--mm-red-tint); color: var(--mm-red); }
.mm-pill__dot .mm-icon { width: 14px; height: 14px; stroke-width: 2.2; }

/* Section header */
.mm-section { padding-top: var(--mm-section); }
.mm-section--last { padding-bottom: var(--mm-section); }
.mm-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.mm-shead__text { display: grid; gap: 8px; min-width: 0; }
.mm-shead__title { font: 400 44px/50px var(--mm-serif); letter-spacing: -.005em; color: var(--mm-ink); }
.mm-shead__link { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 600 13px/18px var(--mm-sans); color: var(--mm-ink); }
.mm-shead__link .mm-icon { width: 16px; height: 16px; }
.mm-chips + .mm-grid { margin-top: 36px; }
.mm-shead + .mm-chips { margin-top: -0px; }

/* Rating */
.mm-rating { display: inline-flex; align-items: center; gap: 6px; }
.mm-rating__stars { position: relative; display: inline-block; line-height: 0; }
.mm-rating__base, .mm-rating__fill { display: flex; gap: 2px; }
.mm-rating__base svg { fill: var(--mm-line); }
.mm-rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.mm-rating__fill svg { fill: var(--mm-star); flex: none; }
.mm-rating__text { font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); }

/* =========================================================================
   4. Announcement bar and header
   ========================================================================= */
.mm-announce { background: var(--mm-ink); color: #fff; }
.mm-announce__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 40px; }
.mm-announce__msg { font: 600 12px/16px var(--mm-sans); text-align: center; }
.mm-announce__side { display: flex; align-items: center; gap: 12px; font: 400 12px/16px var(--mm-sans); color: var(--mm-dark-text); }
.mm-announce__side--end { justify-content: flex-end; }
.mm-announce__side a { display: inline-flex; align-items: center; gap: 6px; color: var(--mm-dark-text); }
.mm-announce__side a:hover { color: #fff; }
.mm-announce__side .mm-icon { width: 14px; height: 14px; }

.mm-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.admin-bar .mm-header { top: 32px; }
.mm-header__row { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.mm-header__menu { display: none; margin-left: -8px; }
.mm-header__logo { flex: none; }

/* Logo */
.mm-logo { display: inline-flex; align-items: center; color: var(--mm-ink); }
.mm-logo:hover { color: var(--mm-ink); }
.mm-logo__img { max-height: 46px; width: auto; }
.mm-logo__word { display: inline-flex; align-items: center; gap: 1px; font: 900 34px/1 var(--mm-logo); letter-spacing: -.03em; white-space: nowrap; }
.mm-logo__word small { font-size: .5em; letter-spacing: -.03em; margin-left: 1px; align-self: flex-end; padding-bottom: .18em; }
.mm-logo__mark { width: .8em; height: .72em; margin: 0 .01em; transform: translateY(.05em); }
.mm-logo--light { color: #fff; }
.mm-logo--light:hover { color: #fff; }

/* Search */
.mm-search {
	position: relative; display: flex; align-items: center; gap: 12px;
	flex: 1 1 auto; max-width: 520px; height: 48px; margin: 0 auto;
	padding: 0 6px 0 20px; border: 1px solid var(--mm-line); border-radius: 999px;
	background: var(--mm-cream);
	transition: border-color .18s, background-color .18s;
}
.mm-search:focus-within { border-color: var(--mm-ink); background: #fff; }
.mm-search__icon { width: 18px; height: 18px; color: var(--mm-muted); }
.mm-search__input {
	flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none;
	font: 400 14px/22px var(--mm-sans); color: var(--mm-ink); outline: none;
}
.mm-search__input::placeholder { color: var(--mm-placeholder); opacity: 1; }
.mm-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mm-search__go {
	display: grid; place-items: center; flex: none; width: 36px; height: 36px;
	border: 0; border-radius: 999px; background: var(--mm-ink); color: #fff;
}
.mm-search__go .mm-icon { width: 16px; height: 16px; }
.mm-search__go:hover { background: var(--mm-red); }

/* Account and cart */
.mm-header__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.mm-hact { display: inline-flex; align-items: center; gap: 10px; color: var(--mm-ink); }
.mm-hact:hover { color: var(--mm-ink); }
.mm-hact:hover .mm-hact__big { color: var(--mm-red); }
.mm-hact > .mm-icon { width: 22px; height: 22px; }
.mm-hact__text { display: grid; }
.mm-hact__small { font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); white-space: nowrap; }
.mm-hact__big { font: 600 13px/18px var(--mm-sans); white-space: nowrap; transition: color .18s; }
.mm-hcart__btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--mm-cream); }
.mm-hcart__btn .mm-icon { width: 20px; height: 20px; }
.mm-count {
	position: absolute; top: -4px; left: 28px;
	display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--mm-red); color: #fff;
	font: 700 11px/1 var(--mm-sans);
}
.mm-count.is-empty { display: none; }
.mm-hcart__total .woocommerce-Price-currencySymbol { margin-right: 1px; }

/* Category bar */
.mm-catbar { border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); background: #fff; }
.mm-catbar__inner { display: flex; align-items: center; gap: 30px; min-height: 52px; }
.mm-catbar__all {
	display: inline-flex; align-items: center; gap: 8px; flex: none;
	padding: 9px 16px; border-radius: 999px; background: var(--mm-ink); color: #fff;
	font: 600 13px/18px var(--mm-sans);
}
.mm-catbar__all:hover { color: #fff; background: #000; }
.mm-catbar__all .mm-icon { width: 16px; height: 16px; }
.mm-nav--bar { display: flex; align-items: center; gap: 30px; list-style: none; flex: 1 1 auto; min-width: 0; }
.mm-nav--bar > li { position: relative; }
.mm-nav--bar > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 16px 0; font: 600 13px/18px var(--mm-sans); color: var(--mm-ink); white-space: nowrap; }
.mm-nav--bar > li > a:hover,
.mm-nav--bar > .current-menu-item > a,
.mm-nav--bar > .current-menu-ancestor > a { color: var(--mm-red); }
.mm-nav--bar > .menu-item-has-children > a::after {
	content: ""; width: 14px; height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mm-nav--bar .sub-menu {
	position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 220px;
	padding: 10px; list-style: none; border: 1px solid var(--mm-line); border-radius: 18px;
	background: #fff; box-shadow: var(--mm-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.mm-nav--bar > li:hover > .sub-menu,
.mm-nav--bar > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm-nav--bar .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; font: 400 14px/20px var(--mm-sans); }
.mm-nav--bar .sub-menu a:hover { background: var(--mm-cream); color: var(--mm-ink); }
.mm-nav-hint { font: 600 13px/18px var(--mm-sans); color: var(--mm-red); text-decoration: underline; }
.mm-catbar__offers { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; font: 600 13px/18px var(--mm-sans); color: var(--mm-red); }
.mm-catbar__offers .mm-icon { width: 16px; height: 16px; }

/* =========================================================================
   5. Home: hero
   ========================================================================= */
.mm-hero { background: var(--mm-cream); padding: 72px 0 88px; }
.mm-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.mm-hero__copy { display: grid; justify-items: start; gap: 28px; }
.mm-hero__title { font: 400 84px/86px var(--mm-serif); letter-spacing: -.01em; color: var(--mm-ink); }
.mm-hero__title em { display: block; font-style: italic; color: var(--mm-red); }
.mm-hero__text { max-width: 568px; font: 400 18px/29px var(--mm-sans); color: var(--mm-muted); }
.mm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mm-ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.mm-ticks li { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/18px var(--mm-sans); color: var(--mm-muted); }
.mm-ticks .mm-icon { width: 16px; height: 16px; color: var(--mm-green); stroke-width: 2.2; }

.mm-hero__media { position: relative; aspect-ratio: 568 / 560; border-radius: 36px; overflow: hidden; background: var(--mm-sand); }
.mm-hero__img { width: 100%; height: 100%; object-fit: cover; }
.mm-hero__chip {
	position: absolute; top: 24px; right: 35px;
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
	border-radius: 999px; background: #fff; box-shadow: var(--mm-shadow);
	font: 600 13px/18px var(--mm-sans); color: var(--mm-ink);
}
.mm-hero__chip .mm-icon { width: 18px; height: 18px; }
.mm-hero__card {
	position: absolute; left: 24px; bottom: 22px;
	display: flex; align-items: center; gap: 12px; max-width: calc(100% - 48px);
	padding: 12px 16px 12px 12px; border-radius: 20px; background: #fff; box-shadow: var(--mm-shadow);
	color: var(--mm-ink);
}
.mm-hero__card:hover { color: var(--mm-ink); }
.mm-hero__thumb { flex: none; width: 60px; height: 60px; border-radius: 14px; overflow: hidden; background: var(--mm-sand); }
.mm-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-hero__card-text { display: grid; gap: 2px; min-width: 0; }
.mm-hero__card-name { font: 600 13px/18px var(--mm-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-hero__card-price { font: 700 16px/24px var(--mm-sans); }
.mm-hero__card-price del { display: none; }
.mm-hero__card-price ins { text-decoration: none; }

/* Brands strip */
.mm-brands { border-bottom: 1px solid var(--mm-line); }
.mm-brands__inner { display: flex; align-items: center; gap: 48px; min-height: 103px; }
.mm-brands__label { flex: none; color: var(--mm-muted); }
.mm-brands__list { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex: 1; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mm-brands__list::-webkit-scrollbar { display: none; }
.mm-brands__list li { flex: none; font: 400 28px/38px var(--mm-serif); color: var(--mm-brandgrey); white-space: nowrap; }

/* Categories */
.mm-cats { display: grid; grid-template-columns: repeat(var(--mm-n, 6), minmax(0, 1fr)); gap: 24px; }
.mm-cat { display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--mm-ink); }
.mm-cat:hover { color: var(--mm-ink); }
.mm-cat__media { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-height: 280px; border-radius: 28px; overflow: hidden; background: var(--mm-sand); }
.mm-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mm-cat:hover .mm-cat__media img { transform: scale(1.04); }
.mm-cat__mark { width: 34%; height: auto; opacity: .9; }
.mm-cat__name { font: 600 15px/20px var(--mm-sans); }
.mm-cat__count { margin-top: -6px; font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); }

/* Promos */
.mm-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mm-promo { display: flex; min-height: 380px; border-radius: 32px; overflow: hidden; }
.mm-promo--light { background: var(--mm-sand); }
.mm-promo--dark { background: var(--mm-ink); }
.mm-promo__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; flex: 1; padding: 48px 40px 48px 48px; }
.mm-promo__title { font: 400 44px/50px var(--mm-serif); letter-spacing: -.005em; color: var(--mm-ink); }
.mm-promo__text { font: 400 16px/26px var(--mm-sans); color: var(--mm-muted); }
.mm-promo__note { font: 700 18px/24px var(--mm-sans); color: var(--mm-ink); }
.mm-promo__img { flex: none; width: 250px; object-fit: cover; }
.mm-promo--dark .mm-overline { color: var(--mm-pink); }
.mm-promo--dark .mm-promo__title,
.mm-promo--dark .mm-promo__note { color: #fff; }
.mm-promo--dark .mm-promo__text { color: var(--mm-dark-text); }

/* Why */
.mm-why { display: grid; grid-template-columns: 1fr 600px; align-items: center; gap: 56px; padding: 56px; border-radius: 32px; background: var(--mm-cream); }
.mm-why__copy { display: grid; gap: 16px; }
.mm-why__title { font: 400 56px/60px var(--mm-serif); letter-spacing: -.01em; color: var(--mm-ink); }
.mm-why__title em { display: block; margin-top: 16px; font-style: italic; color: var(--mm-red); }
.mm-why__text { font: 400 16px/26px var(--mm-sans); color: var(--mm-muted); }
.mm-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; }
.mm-why__item { display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; }
.mm-why__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--mm-red); color: #fff; }
.mm-why__icon .mm-icon { width: 24px; height: 24px; }
.mm-why__name { font: 600 20px/28px var(--mm-sans); color: var(--mm-ink); }
a.mm-why__name:hover { color: var(--mm-red); }
.mm-why__desc { font: 400 14px/22px var(--mm-sans); color: var(--mm-muted); }

/* Trust strip */
.mm-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 33px 0; list-style: none; }
.mm-trust__item { display: flex; align-items: center; gap: 14px; }
.mm-trust__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--mm-sand); color: var(--mm-ink); }
.mm-trust__icon .mm-icon { width: 22px; height: 22px; }
.mm-trust__title { display: block; font: 600 15px/20px var(--mm-sans); }
.mm-trust__text { display: block; margin-top: 2px; font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); }

/* Club */
.mm-club { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px; border-radius: 32px; background: var(--mm-ink); color: #fff; }
.mm-club__copy { display: grid; gap: 10px; flex: 1; min-width: 0; }
.mm-club__title { font: 400 44px/50px var(--mm-serif); letter-spacing: -.005em; color: #fff; }
.mm-club__text { font: 400 16px/26px var(--mm-sans); color: var(--mm-dark-text); }
.mm-club__form { position: relative; display: flex; align-items: center; gap: 12px; flex: 0 1 500px; height: 60px; padding: 0 6px 0 22px; border-radius: 999px; background: #fff; color: var(--mm-ink); }
.mm-club__field { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.mm-club__field .mm-icon { width: 20px; height: 20px; color: var(--mm-muted); }
.mm-club__field input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: none; font: 400 16px/26px var(--mm-sans); outline: none; }
.mm-club__field input::placeholder { color: var(--mm-placeholder); opacity: 1; }
.mm-club__error { position: absolute; left: 22px; top: calc(100% + 8px); font: 600 13px/18px var(--mm-sans); color: var(--mm-pink); }
.mm-club__done { display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 999px; background: rgba(255, 255, 255, .08); font: 600 15px/20px var(--mm-sans); }
.mm-club__done .mm-icon { color: #6FD39A; }

/* =========================================================================
   6. Product grid and cards
   ========================================================================= */
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
ul.products::before, ul.products::after { display: none; }
.mm-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mm-card__media { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--mm-sand); }
.mm-card__img, .mm-card__img img { display: block; width: 100%; height: 100%; }
.mm-card__img img { object-fit: cover; transition: transform .35s ease; }
.mm-card:hover .mm-card__img img { transform: scale(1.03); }
.mm-badge {
	position: absolute; top: 14px; left: 14px;
	padding: 5px 10px; border-radius: 999px;
	font: 600 10.5px/16px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase;
	background: var(--mm-red); color: #fff; pointer-events: none;
}
.mm-badge--new { background: var(--mm-ink); }
.mm-badge--best { background: var(--mm-star); color: var(--mm-ink); }
.mm-badge--out { background: var(--mm-muted); }
.mm-card__add {
	position: absolute; right: 14px; bottom: 14px;
	display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 999px; background: var(--mm-ink); color: #fff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	transition: background-color .18s, transform .18s;
}
.mm-card__add:hover { background: var(--mm-red); color: #fff; transform: scale(1.05); }
.mm-card__add .mm-icon { width: 22px; height: 22px; }
.mm-card__added-icon { display: none; }
.mm-card__add.loading { opacity: .6; pointer-events: none; }
.mm-card__add.added { background: var(--mm-green); }
.mm-card__add.added .mm-card__add-icon { display: none; }
.mm-card__add.added .mm-card__added-icon { display: block; }
.mm-card .added_to_cart { display: none; }
.mm-card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.mm-card__brand { font: 600 12px/16px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-muted); }
.mm-card__name { font: 600 15px/20px var(--mm-sans); color: var(--mm-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mm-card__name a { color: inherit; }
.mm-card__name a:hover { color: var(--mm-red); }
.mm-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font: 700 18px/24px var(--mm-sans); color: var(--mm-ink); }
.mm-card__price ins { order: 1; text-decoration: none; color: var(--mm-red); }
.mm-card__price del { order: 2; font: 400 14px/22px var(--mm-sans); color: var(--mm-muted); }
.mm-card__price .screen-reader-text { order: 3; }

/* =========================================================================
   7. Pages, posts, 404
   ========================================================================= */
.mm-pagehead { padding: 48px 0 32px; background: var(--mm-cream); }
.mm-pagehead--shop { padding: 32px 0 40px; }
.mm-pagehead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 20px 0 20px; }
.mm-pagehead__title { font: 400 56px/60px var(--mm-serif); letter-spacing: -.01em; color: var(--mm-ink); }
.mm-pagehead__count { flex: none; font: 400 14px/18px var(--mm-sans); color: var(--mm-muted); }
h1 .mm-pagehead__count { margin-left: 10px; font-family: var(--mm-sans); font-size: 22px; vertical-align: baseline; }
.mm-pagehead__desc { margin-top: 8px; max-width: 720px; font: 400 16px/26px var(--mm-sans); color: var(--mm-muted); }
.mm-pagehead__meta { margin-top: 8px; color: var(--mm-muted); font-size: 14px; }
.mm-pagehead--shop .mm-chips { margin-top: 0; }

.mm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); }
.mm-crumbs a { color: var(--mm-muted); }
.mm-crumbs a:hover { color: var(--mm-ink); }
.mm-crumbs__sep { display: inline-flex; }
.mm-crumbs__sep .mm-icon { width: 14px; height: 14px; }

.mm-content { padding-top: 48px; padding-bottom: var(--mm-section); max-width: calc(760px + var(--mm-gutter) * 2); }
.mm-content--wide { max-width: calc(1200px + var(--mm-gutter) * 2); }
.mm-content > * + * { margin-top: 1.1em; }
.mm-content h2 { font: 400 32px/38px var(--mm-serif); margin-top: 1.6em; }
.mm-content h3 { font: 600 20px/28px var(--mm-sans); margin-top: 1.4em; }
.mm-content p, .mm-content li { color: var(--mm-charcoal); }
.mm-content ul, .mm-content ol { padding-left: 1.3em; }
.mm-content a:not(.mm-btn):not(.button) { color: var(--mm-red); text-decoration: underline; text-underline-offset: 2px; }
.mm-content__hero img { width: 100%; border-radius: 28px; }

.mm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0 !important; }
.mm-post { display: grid; gap: 10px; align-content: start; }
.mm-post__media { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--mm-sand); }
.mm-post__media img { width: 100%; height: 100%; object-fit: cover; }
.mm-post__title { font: 400 26px/32px var(--mm-serif); }
.mm-post__excerpt { color: var(--mm-muted); font-size: 15px; }
.mm-empty { padding: 40px 0; color: var(--mm-muted); }

.mm-404 { padding: 120px 0; text-align: center; background: var(--mm-cream); }
.mm-404 .mm-wrap { display: grid; justify-items: center; gap: 16px; }
.mm-404__mark { width: 72px; height: auto; }
.mm-404__title { font: 400 56px/60px var(--mm-serif); }
.mm-404__text { max-width: 480px; color: var(--mm-muted); margin-bottom: 12px; }

.nav-links, .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin-top: 48px; list-style: none; padding: 0; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--mm-line); border-radius: 999px; font: 600 14px/18px var(--mm-sans); color: var(--mm-ink); }
.page-numbers.current { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }
a.page-numbers:hover { border-color: var(--mm-ink); color: var(--mm-ink); }
.woocommerce-pagination ul li { border: 0 !important; }

/* =========================================================================
   8. Footer
   ========================================================================= */
.mm-footer { padding: 72px 0 32px; background: var(--mm-ink); color: var(--mm-dark-text); }
.mm-footer__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px; }
.mm-footer__brand { display: grid; align-content: start; gap: 16px; }
.mm-footer__tag { font: 400 14px/22px var(--mm-sans); color: var(--mm-dark-text); }
.mm-footer__social { display: flex; gap: 10px; list-style: none; }
.mm-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--mm-dark-line); border-radius: 999px; color: #fff; }
.mm-footer__social a:hover { border-color: #fff; color: #fff; }
.mm-footer__social .mm-icon { width: 18px; height: 18px; }
.mm-footer__title {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 14px; list-style: none; cursor: default;
	font: 600 12px/16px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.mm-footer__title::-webkit-details-marker { display: none; }
.mm-footer__title .mm-icon { display: none; width: 18px; height: 18px; transition: transform .2s; }
.mm-footer__links { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.mm-footer__links a, .mm-footer__links span { font: 400 14px/22px var(--mm-sans); color: var(--mm-dark-text); }
.mm-footer__links a:hover { color: #fff; }
.mm-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; }
.mm-footer__pay-label { font: 600 12px/16px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-faint); margin-right: 0; }
.mm-pays { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.mm-pay { display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--mm-charcoal); color: #fff; font: 600 13px/18px var(--mm-sans); white-space: nowrap; }
.mm-pay--bkash { background: var(--mm-bkash); }
.mm-pay--nagad { background: var(--mm-nagad); }
.mm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--mm-dark-line); font: 400 12px/16px var(--mm-sans); color: var(--mm-faint); }
.mm-footer__policies { display: inline-flex; gap: 8px; }
.mm-footer__policies a { color: var(--mm-faint); }
.mm-footer__policies a:hover { color: #fff; }

/* =========================================================================
   9. Phone tab bar and menu drawer
   ========================================================================= */
.mm-tabbar { display: none; }
.mm-drawer { position: fixed; inset: 0; z-index: 100; }
.mm-drawer[hidden] { display: none; }
.mm-drawer__shade { position: absolute; inset: 0; background: rgba(22, 20, 18, .45); opacity: 0; transition: opacity .2s; }
.mm-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw);
	display: flex; flex-direction: column; gap: 8px; padding: 12px 20px 32px;
	background: #fff; overflow-y: auto;
	transform: translateX(-100%); transition: transform .22s ease;
}
.mm-drawer.is-open .mm-drawer__shade { opacity: 1; }
.mm-drawer.is-open .mm-drawer__panel { transform: none; }
.mm-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 8px; }
.mm-drawer__head .mm-logo__word { font-size: 24px; }
.mm-drawer__label { margin: 8px 0 4px; }
.mm-nav--drawer { list-style: none; border-top: 1px solid var(--mm-line); }
.mm-nav--drawer li { border-bottom: 1px solid var(--mm-line); }
.mm-nav--drawer a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font: 600 16px/22px var(--mm-sans); color: var(--mm-ink); }
.mm-nav--drawer .current-menu-item > a { color: var(--mm-red); }
.mm-drawer__more { display: grid; gap: 2px; margin-top: 16px; list-style: none; }
.mm-drawer__more a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font: 400 15px/22px var(--mm-sans); color: var(--mm-charcoal); }
.mm-drawer__more .mm-icon { width: 20px; height: 20px; color: var(--mm-muted); }

/* =========================================================================
   10. Tablet
   ========================================================================= */
@media (max-width: 1099px) {
	:root { --mm-section: 72px; }
	.mm-header__row { gap: 20px; }
	.mm-hact--account .mm-hact__text { display: none; }
	.mm-catbar__inner, .mm-nav--bar { gap: 22px; }
	.mm-hero__inner { gap: 40px; }
	.mm-hero__title { font-size: 64px; line-height: 66px; }
	.mm-cats { gap: 16px; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.mm-promos { grid-template-columns: 1fr; }
	.mm-why { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
	.mm-trust { grid-template-columns: repeat(2, 1fr); }
	.mm-club { flex-direction: column; align-items: stretch; padding: 40px; }
	.mm-club__form { flex-basis: auto; }
	.mm-footer__top { grid-template-columns: 1fr 1fr; }
	.mm-posts { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   11. Phone
   ========================================================================= */
@media (max-width: 767px) {
	:root { --mm-section: 44px; --mm-gutter: 20px; }
	.admin-bar .mm-header { top: 0; }

	/* Bar and header */
	.mm-announce__inner { grid-template-columns: 1fr; min-height: 34px; padding-top: 9px; padding-bottom: 9px; }
	.mm-announce__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mm-announce__side { display: none; }
	.mm-header { padding-bottom: 12px; }
	.mm-header__row { flex-wrap: wrap; gap: 0; min-height: 0; padding: 0 16px; }
	.mm-header__menu { display: inline-flex; order: 1; }
	.mm-header__logo { order: 2; margin-left: 4px; }
	.mm-logo__word { font-size: 24px; }
	.mm-header__actions { order: 3; gap: 12px; margin-left: auto; min-height: 60px; }
	.mm-hact__text { display: none; }
	.mm-hcart__btn { width: 36px; height: 36px; background: none; }
	.mm-hcart__btn .mm-icon { width: 22px; height: 22px; }
	.mm-count { top: -2px; left: 20px; min-width: 18px; height: 18px; font-size: 10px; }
	.mm-search { order: 4; flex: 1 0 100%; max-width: none; height: 44px; margin: 4px 0 0; padding: 0 6px 0 16px; gap: 10px; }
	.mm-search__go { width: 32px; height: 32px; }
	.mm-catbar { display: none; }

	/* Hero */
	.mm-hero { padding: 28px 0 32px; }
	.mm-hero__inner { grid-template-columns: 1fr; gap: 20px; }
	.mm-hero__copy { display: contents; }
	.mm-pill { order: 1; justify-self: start; gap: 8px; padding: 6px 12px 6px 6px; font-size: 12px; line-height: 16px; }
	.mm-pill__dot { width: 20px; height: 20px; }
	.mm-pill__dot .mm-icon { width: 12px; height: 12px; }
	.mm-hero__title { order: 2; font-size: 50px; line-height: 52px; letter-spacing: -.01em; }
	.mm-hero__text { order: 3; font-size: 16px; line-height: 26px; }
	.mm-hero__actions { order: 4; flex-wrap: nowrap; gap: 10px; }
	.mm-hero__actions .mm-btn--red { flex: 1; }
	.mm-hero__actions .mm-btn { padding-left: 24px; padding-right: 24px; }
	.mm-hero__media { order: 5; aspect-ratio: auto; height: 300px; border-radius: 28px; }
	.mm-ticks { order: 6; gap: 12px 16px; }
	.mm-ticks li { gap: 4px; font-size: 12px; line-height: 16px; }
	.mm-ticks .mm-icon { width: 14px; height: 14px; }
	.mm-hero__chip { top: 14px; left: 14px; right: auto; gap: 6px; padding: 8px 12px; font-size: 12px; line-height: 16px; }
	.mm-hero__chip .mm-icon { width: 16px; height: 16px; }
	.mm-hero__card { left: 14px; bottom: 14px; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; }
	.mm-hero__thumb { width: 44px; height: 44px; border-radius: 10px; }
	.mm-hero__card .mm-overline { font-size: 10px; letter-spacing: .14em; }
	.mm-hero__card-name { font-size: 12px; line-height: 16px; }
	.mm-hero__card-price { font-size: 13px; line-height: 16px; }

	/* Brands */
	.mm-brands__inner { display: block; min-height: 0; padding-top: 18px; padding-bottom: 18px; }
	.mm-brands__label { display: none; }
	.mm-brands__list { justify-content: flex-start; gap: 24px; margin: 0 calc(var(--mm-gutter) * -1); padding: 0 var(--mm-gutter); }
	.mm-brands__list li { font-size: 20px; line-height: 28px; }

	/* Section head */
	.mm-shead { margin-bottom: 20px; gap: 16px; }
	.mm-shead__title { font-size: 32px; line-height: 38px; letter-spacing: 0; }
	.mm-chips { gap: 8px; }
	.mm-chips + .mm-grid { margin-top: 20px; }

	/* Categories: swipe */
	.mm-cats { display: flex; gap: 12px; margin: 0 calc(var(--mm-gutter) * -1); padding: 0 var(--mm-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mm-gutter); scrollbar-width: none; }
	.mm-cats::-webkit-scrollbar { display: none; }
	.mm-cat { flex: 0 0 104px; scroll-snap-align: start; }
	.mm-cat__media { border-radius: 20px; }
	.mm-cat__name { font-size: 13px; line-height: 18px; }

	/* Product cards */
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.mm-card { gap: 10px; }
	.mm-card__media { border-radius: 16px; }
	.mm-badge { top: 10px; left: 10px; }
	.mm-card__add { right: 10px; bottom: 10px; width: 36px; height: 36px; }
	.mm-card__add .mm-icon { width: 18px; height: 18px; }
	.mm-card__info { gap: 4px; }
	.mm-card__name { font-size: 13px; line-height: 18px; }
	.mm-card__price { font-size: 16px; }
	.mm-grid--scroll ul.products { display: flex; gap: 12px; margin: 0 calc(var(--mm-gutter) * -1); padding: 0 var(--mm-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mm-gutter); scrollbar-width: none; }
	.mm-grid--scroll ul.products::-webkit-scrollbar { display: none; }
	.mm-grid--scroll .mm-card { flex: 0 0 167px; scroll-snap-align: start; }

	/* Promos */
	.mm-promos { gap: 20px; }
	.mm-promo { flex-direction: column; min-height: 0; border-radius: 24px; }
	.mm-promo__img { order: -1; width: 100%; height: 180px; }
	.mm-promo__body { gap: 10px; padding: 24px; }
	.mm-promo__title { font-size: 32px; line-height: 38px; letter-spacing: 0; }
	.mm-promo__text { font-size: 14px; line-height: 22px; }
	.mm-promo__note { font-size: 16px; }
	.mm-promo .mm-btn { margin-top: 4px; }

	/* Why */
	.mm-why { padding: 24px; border-radius: 24px; gap: 16px; }
	.mm-why__title { font-size: 36px; line-height: 40px; letter-spacing: -.005em; }
	.mm-why__title em { margin-top: 0; }
	.mm-why__text { display: none; }
	.mm-why__grid { gap: 12px; }
	.mm-why__item { gap: 10px; padding: 16px; border-radius: 18px; }
	.mm-why__icon { width: 40px; height: 40px; }
	.mm-why__icon .mm-icon { width: 18px; height: 18px; }
	.mm-why__name { font-size: 13px; line-height: 18px; }
	.mm-why__desc { display: none; }

	/* Trust */
	.mm-trust { grid-template-columns: 1fr; gap: 16px; padding: 0; }

	/* Club */
	.mm-club { gap: 14px; padding: 24px; border-radius: 24px; }
	.mm-club__title { font-size: 32px; line-height: 38px; letter-spacing: 0; }
	.mm-club__text { font-size: 14px; line-height: 22px; }
	.mm-club__form { flex-direction: column; align-items: stretch; height: auto; gap: 14px; padding: 0; background: none; }
	.mm-club__field { height: 52px; padding: 0 16px; border-radius: 999px; background: #fff; gap: 8px; }
	.mm-club__field .mm-icon { width: 18px; height: 18px; }
	.mm-club__field input { font-size: 14px; }
	.mm-club__error { position: static; }

	/* Pages */
	.mm-pagehead { padding: 28px 0 24px; }
	.mm-pagehead__row { margin: 12px 0 16px; align-items: flex-end; }
	.mm-pagehead__title { font-size: 40px; line-height: 44px; }
	.mm-content { padding-top: 28px; }
	.mm-posts { grid-template-columns: 1fr; }
	.mm-404 { padding: 72px 0; }
	.mm-404__title { font-size: 40px; line-height: 44px; }

	/* Footer: folding columns */
	.mm-footer { padding: 48px 0 28px; }
	.mm-footer__top { grid-template-columns: 1fr; gap: 0; }
	.mm-footer__brand { padding-bottom: 24px; }
	.mm-footer .mm-logo__word { font-size: 24px; }
	.mm-footer__col { border-top: 1px solid var(--mm-dark-line); }
	.mm-footer__title { margin: 0; padding: 16px 0; cursor: pointer; }
	.mm-footer__title .mm-icon { display: block; }
	.mm-footer__col[open] .mm-footer__title .mm-icon { transform: rotate(45deg); }
	.mm-footer__col .mm-footer__links { padding-bottom: 16px; }
	.mm-footer__pay { margin-top: 28px; }
	.mm-footer__bottom { flex-direction: column; margin-top: 28px; }

	/* Tab bar */
	body.mm-has-tabbar { padding-bottom: var(--mm-tabbar); }
	.mm-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: flex; justify-content: space-between; align-items: flex-start;
		height: calc(var(--mm-tabbar) + env(safe-area-inset-bottom, 0px)); padding: 10px 8px calc(18px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--mm-line); background: #fff;
	}
	.mm-tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; font: 400 12px/16px var(--mm-sans); color: var(--mm-muted); }
	.mm-tabbar__item.is-active { color: var(--mm-red); }
	.mm-tabbar__icon { position: relative; }
	.mm-tabbar__icon .mm-icon { width: 22px; height: 22px; }
	.mm-tabbar .mm-count { top: -4px; left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
