/* ==========================================================================
   MerchMart — base, layout, header, front-page sections, footer
   Tokens come from the reference storefront: Cabin, #215ADA blue,
   #D4DFF8 / #A6BEF2 tints, #737373 body copy, 60px pill buttons, 1320px grid.
   ========================================================================== */

:root {
	--mm-primary: #215ADA;
	--mm-primary-dark: #1B49B4;
	--mm-tint: #D4DFF8;
	--mm-tint-strong: #A6BEF2;
	--mm-tint-soft: #EEF2FB;
	--mm-hero-bg: #A6BEF2;
	--mm-black: #000000;
	--mm-heading: #000000;
	--mm-text: #6B6B6B;
	--mm-text-strong: #333333;
	--mm-muted: #6F6F6F;
	--mm-border: #ECECEC;
	--mm-soft: #F9F9F9;
	--mm-panel: #F3F3F3;
	--mm-danger: #CC2E2E;
	--mm-success: #1F7A3A;
	--mm-warning: #F5A623;
	--mm-white: #FFFFFF;
	--mm-radius: 16px;
	--mm-radius-sm: 12px;
	--mm-pill: 60px;
	--mm-container: 1320px;
	--mm-gutter: 24px;
	--mm-section: 80px;
	--mm-font: "Cabin", "Segoe UI", system-ui, -apple-system, sans-serif;
	--mm-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	--mm-shadow-lg: 0 20px 50px rgba(0, 0, 0, .12);
	--mm-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--mm-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--mm-text);
	background: var(--mm-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--mm-primary); text-decoration: none; transition: color .2s var(--mm-ease); }
a:hover { color: var(--mm-primary-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--mm-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: 44px; } h2 { font-size: 34px; } h3 { font-size: 22px; } h4 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--mm-text-strong); }
:focus-visible { outline: 2px solid var(--mm-primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--mm-black); color: #fff; border-radius: 8px; }
.mm-light { font-weight: 400; }
.mm-empty { padding: 32px; text-align: center; background: var(--mm-soft); border-radius: var(--mm-radius); }

/* ---------- Layout ---------- */
.mm-site { overflow-x: clip; }
.mm-container { width: 100%; max-width: var(--mm-container); margin-inline: auto; padding-inline: var(--mm-gutter); }
.mm-section { padding-block: var(--mm-section); }
.mm-section + .mm-section { padding-top: 0; }
.mm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mm-gutter); list-style: none; padding: 0; }
.mm-section-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.mm-section-heading { margin-bottom: 40px; }
.mm-section-heading.mm-align-center { text-align: center; }
.mm-kicker { margin: 0 0 6px; font-size: 16px; color: var(--mm-text); }
.mm-title { margin: 0; font-size: 34px; }
.mm-title-sm { font-size: 24px; }

/* ---------- Buttons ---------- */
.mm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 16px 32px; border: 1px solid transparent; border-radius: var(--mm-pill);
	font-size: 18px; font-weight: 600; line-height: 1.2; white-space: nowrap;
	transition: background .2s var(--mm-ease), color .2s var(--mm-ease), transform .2s var(--mm-ease), box-shadow .2s var(--mm-ease);
}
.mm-btn:hover { transform: translateY(-1px); }
.mm-btn-primary { background: var(--mm-primary); color: #fff; }
.mm-btn-primary:hover { background: var(--mm-primary-dark); color: #fff; box-shadow: 0 10px 24px rgba(33, 90, 218, .3); }
.mm-btn-dark { background: var(--mm-black); color: #fff; font-size: 14px; padding: 12px 22px; }
.mm-btn-dark:hover { background: var(--mm-primary); color: #fff; }
.mm-btn-light { background: var(--mm-tint); color: var(--mm-primary-dark); font-size: 14px; padding: 11px 22px; font-weight: 600; }
.mm-btn-light:hover { background: var(--mm-primary); color: #fff; }
.mm-btn-white { background: #fff; color: var(--mm-primary); }
.mm-btn-white:hover { background: var(--mm-black); color: #fff; }
.mm-btn-outline { background: transparent; border-color: var(--mm-black); color: var(--mm-black); font-size: 14px; padding: 9px 22px; }
.mm-btn-outline:hover { background: var(--mm-black); color: #fff; }
.mm-btn-block { width: 100%; }
.mm-btn-sm { font-size: 13px; padding: 9px 18px; }

/* ---------- Badges ---------- */
.mm-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 30px; font-size: 12px; font-weight: 600; line-height: 1.3; color: #fff; background: var(--mm-primary); text-transform: uppercase; letter-spacing: .02em; }
.mm-badge-sale { background: var(--mm-primary); }
.mm-badge-hot, .mm-badge-danger { background: var(--mm-danger); }
.mm-badge-dark { background: var(--mm-black); }
.mm-badge-stock { background: #EAF7EE; color: var(--mm-success); border: 1px solid #BFE7CB; font-size: 11px; font-weight: 700; }
.mm-badge-lg { font-size: 14px; padding: 6px 12px; }

/* ---------- Icons ---------- */
.mm-icon { flex: none; }
.mm-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #C93F14; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.mm-topbar { background: linear-gradient(90deg, #C9332A 0%, #215ADA 32%, #215ADA 100%); color: #fff; font-size: 12px; }
.mm-topbar-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 36px; gap: 24px; }
.mm-topbar-text { margin: 0; }
.mm-topbar-text a { margin-left: 8px; color: #fff; font-weight: 700; text-decoration: underline; }
.mm-topbar-menu { display: flex; gap: 16px; list-style: none; }
.mm-topbar-menu a { color: #fff; }
.mm-topbar-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: transparent; color: #fff; opacity: .8; }
.mm-topbar-close:hover { opacity: 1; }

/* ==========================================================================
   Header (expanded)
   ========================================================================== */
.mm-header { position: relative; z-index: 60; background: transparent; }
.mm-header-nav-row { background: #fff; }
.mm-header-main-row { position: relative; z-index: 2; }
.mm-header-spacer { height: 0; }
.mm-header-nav-row { border-bottom: 1px solid var(--mm-border); }
.mm-nav { display: flex; justify-content: center; }
.mm-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.mm-menu > li { position: relative; }
.mm-menu > li > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 17px 12px; font-size: 16px; font-weight: 500; color: var(--mm-heading); transition: color .4s ease-in-out; }
.mm-menu > li > a::before { content: ""; position: absolute; z-index: -1; inset: 9px 0; border-radius: 30px; background: var(--mm-tint-soft); opacity: 0; transform: scale(.6); transition: transform .35s var(--mm-ease), opacity .35s var(--mm-ease); }
.mm-menu > li:hover > a::before, .mm-menu > li.current-menu-item > a::before { opacity: 1; transform: scale(1); }
.mm-menu > li > a:hover, .mm-menu > li.current-menu-item > a { color: var(--mm-primary); }
.mm-menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mm-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 70; min-width: 230px; padding: 12px 0; list-style: none; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, .1); opacity: 0; visibility: hidden; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: opacity .2s ease-in-out, visibility .2s ease-in-out, clip-path .4s ease-in-out; }
.mm-menu > li:hover > .sub-menu, .mm-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.mm-menu .sub-menu a { display: block; padding: 8px 22px; font-size: 15px; font-weight: 500; color: var(--mm-text-strong); transition: color .3s, padding-left .3s var(--mm-ease); }
.mm-menu .sub-menu a:hover { color: var(--mm-primary); padding-left: 28px; }

.mm-header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 94px; }
.mm-header-brand { position: relative; grid-column: 1; display: flex; align-items: center; gap: 20px; }
.merchmart-home .mm-header-brand { padding-right: 84px; }
.merchmart-home .mm-header-brand::before { content: ""; position: absolute; z-index: -1; top: -11px; bottom: -28px; right: 106px; left: calc(-1 * max((100vw - var(--mm-container)) / 2, 0px) - var(--mm-gutter)); background: var(--mm-hero-bg); border-radius: 24px 0 0 0; }
.merchmart-home .mm-header-brand::after { content: ""; position: absolute; z-index: -1; top: -11px; left: calc(100% - 106px); width: 69px; height: 79px; background: var(--mm-hero-bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69 78'%3E%3Cpath d='M0 0h1c11.7 0 22.2 7.9 26.8 20l14.5 38c4.6 12.1 15.1 20 26.8 20H0z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69 78'%3E%3Cpath d='M0 0h1c11.7 0 22.2 7.9 26.8 20l14.5 38c4.6 12.1 15.1 20 26.8 20H0z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.mm-header.is-sticky .mm-header-brand::before, .mm-header.is-sticky .mm-header-brand::after { display: none; }
.mm-burger { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--mm-heading); order: 2; transition: background .4s cubic-bezier(0, 0, .34, .54); }
.mm-burger-lines { position: relative; display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; }
.mm-burger-lines::before, .mm-burger-lines::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; border-radius: 1px; transform-origin: 0 50%; transition: transform .65s cubic-bezier(.3, 1, .3, 1) 80ms, top .4s; }
.mm-burger-lines::before { top: -5px; }
.mm-burger-lines::after { top: 5px; transform: scaleX(.75); }
.mm-burger:hover .mm-burger-lines::after { transform: scaleX(1); }
.mm-burger:hover .mm-burger-lines::before { transform: scaleX(.75); }
.mm-burger:hover { background: rgba(255, 255, 255, .55); }
.mm-logo img { max-height: 40px; width: auto; }
.mm-logo-text { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; letter-spacing: .04em; color: var(--mm-heading); }
.mm-logo-mark { width: 30px; height: 30px; border-radius: 8px 8px 12px 12px; background: linear-gradient(135deg, var(--mm-primary), #6E8FE8); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .18); }
.mm-logo-a { color: var(--mm-primary); } .mm-logo-b { font-weight: 400; color: var(--mm-heading); }

/* Search */
.mm-header-search { grid-column: 2; max-width: 460px; }
.mm-search { display: flex; align-items: stretch; gap: 14px; }
.mm-search-box { display: flex; flex: 1; min-width: 0; height: 42px; border: 1px solid var(--mm-border); border-radius: 10px; background: #fff; overflow: hidden; }
.mm-search-box:focus-within { border-color: var(--mm-primary); box-shadow: 0 0 0 3px rgba(33, 90, 218, .12); }
.mm-search-cat { position: relative; display: flex; align-items: center; flex: none; }
.mm-search-cat select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 16px; border: 0; border-right: 1px solid var(--mm-border); border-radius: 0; background: #fff; font-size: 14px; font-weight: 500; color: var(--mm-heading); }
.mm-search-cat .mm-icon { position: absolute; right: 12px; pointer-events: none; color: var(--mm-heading); }
.mm-search-field { position: relative; display: flex; align-items: center; flex: 1; }
.mm-search-field input { width: 100%; height: 40px; padding: 0 44px 0 16px; border: 0; border-radius: 0; background: #fff; font-size: 15px; }
.mm-search-field input:focus { outline: none; }
.mm-search-camera { position: absolute; right: 12px; display: grid; place-items: center; color: var(--mm-muted); }
.mm-search-submit { flex: none; display: grid; place-items: center; width: 68px; height: 42px; border: 0; border-radius: 10px; background: var(--mm-black); color: #fff; transition: background .2s; }
.mm-search-submit:hover { background: var(--mm-primary); }

/* Actions */
.mm-header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
.mm-action { display: inline-flex; align-items: center; gap: 10px; color: var(--mm-heading); }
.mm-action-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mm-tint); color: var(--mm-heading); }
.mm-action-wishlist { order: -1; }
.mm-action-text { display: flex; flex-direction: column; line-height: 1.15; }
.mm-action-text small { font-size: 12px; color: var(--mm-text); }
.mm-action-text strong { font-size: 15px; font-weight: 600; }
.mm-header-actions > .mm-action-icon[data-search-open] { display: none; }
.mm-header .mm-action-compare { display: none; }
.mm-action-wishlist .mm-count, .mm-action-compare .mm-count { top: -4px; right: -4px; }

/* ---------- Compact / sticky ---------- */
.mm-header.is-sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); animation: headerSticky .5s ease-in-out; }
@keyframes headerSticky { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }
.mm-header.is-sticky .mm-header-nav-row { position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: visible; border: 0; pointer-events: none; }
.mm-header.is-sticky .mm-header-nav-row .mm-container { display: flex; justify-content: center; }
.mm-header.is-sticky .mm-nav { pointer-events: auto; height: 80px; align-items: center; }
.mm-header.is-sticky .mm-menu > li > a { padding: 8px 14px; }
.mm-header.is-sticky .mm-header-main { min-height: 80px; grid-template-columns: auto 1fr auto; }
.mm-header.is-sticky { background: #fff; }
.mm-header.is-sticky .mm-burger { order: 0; width: 40px; height: 40px; background: var(--mm-panel); }
.mm-header.is-sticky .mm-action-wishlist { order: 0; }
.mm-header.is-sticky .mm-header-brand { gap: 22px; }
.mm-header.is-sticky .mm-header-search { display: none; }
.mm-header.is-sticky .mm-header-actions { gap: 8px; }
.mm-header.is-sticky .mm-action-icon { background: transparent; }
.mm-header.is-sticky .mm-action-text small { display: none; }
.mm-header.is-sticky .mm-action-account .mm-action-text { display: none; }
.mm-header.is-sticky .mm-action-cart .mm-action-text strong { font-size: 16px; }
.mm-header.is-sticky .mm-cart-total-label { display: none; }
.mm-header.is-sticky .mm-header-actions > .mm-action-icon[data-search-open], .mm-header.is-sticky .mm-action-compare { display: inline-grid; }
.mm-header.is-sticky .mm-action-compare { display: inline-flex; }

/* ---------- Off-canvas panel (left) ---------- */
.mm-drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .4s ease-in-out, visibility .4s ease-in-out; }
.mm-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mm-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 95; display: flex; flex-direction: column; width: min(338px, 92vw); background: #fff; box-shadow: var(--mm-shadow-lg); transform: translateX(-110%); transition: transform .85s cubic-bezier(.23, 1, .32, 1); }
.mm-drawer.is-open { transform: translateX(0); }
.mm-drawer-top { padding: 24px 24px 20px; background: var(--mm-tint); }
.mm-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mm-drawer-head .mm-logo img { max-height: 32px; }
.mm-drawer-head .mm-logo-text { font-size: 22px; }
.mm-drawer-close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--mm-heading); transition: transform .3s var(--mm-ease), background .3s; }
.mm-drawer-close:hover { background: var(--mm-black); color: #fff; transform: rotate(90deg); }
.mm-round-icon { flex: none; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--mm-tint); color: var(--mm-heading); overflow: hidden; }
.mm-round-icon img { width: 100%; height: 100%; object-fit: cover; }
.mm-drawer-top .mm-round-icon { background: #fff; }
.mm-drawer-account { display: flex; align-items: center; gap: 12px; color: var(--mm-heading); }
.mm-drawer-account-text { display: flex; flex-direction: column; line-height: 1.25; }
.mm-drawer-account-text small { font-size: 12px; color: var(--mm-text); }
.mm-drawer-account-text strong { font-size: 14px; font-weight: 600; }
.mm-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.mm-drawer-mobile { display: none; }
.mm-drawer-cats { list-style: none; display: grid; gap: 4px; }
.mm-drawer-cats a { display: flex; align-items: flex-start; gap: 14px; padding: 12px 8px; border-radius: 12px; color: var(--mm-heading); transition: background .3s, transform .3s var(--mm-ease); }
.mm-drawer-cats a:hover { background: var(--mm-soft); transform: translateX(4px); }
.mm-drawer-cats .mm-round-icon { margin-top: 2px; transition: background .3s, color .3s; }
.mm-drawer-cats a:hover .mm-round-icon { background: var(--mm-primary); color: #fff; }
.mm-drawer-cat-text { display: flex; flex-direction: column; gap: 4px; }
.mm-drawer-cat-text strong { font-size: 16px; font-weight: 600; }
.mm-drawer-cat-text span { font-size: 14px; line-height: 1.4; color: #444; }
.mm-drawer-foot { padding: 28px 24px; background: var(--mm-tint); display: grid; gap: 8px; }
.mm-drawer-foot-strong { margin: 0; font-weight: 600; color: var(--mm-heading); }
.mm-drawer-foot-link { font-weight: 600; color: var(--mm-primary); }
.mm-drawer .mm-search-box { flex-direction: column; height: auto; }
.mm-drawer .mm-search-cat select { width: 100%; border-right: 0; border-bottom: 1px solid var(--mm-border); }
.mm-drawer .mm-search-submit { width: 56px; }
.mm-drawer-nav { margin: 20px 0; }
.mm-drawer-menu { list-style: none; }
.mm-drawer-menu li { position: relative; border-bottom: 1px solid var(--mm-border); }
.mm-drawer-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--mm-heading); }
.mm-drawer-menu .sub-menu { display: none; list-style: none; padding-left: 14px; }
.mm-drawer-menu li.is-open > .sub-menu { display: block; }
.mm-drawer-menu .sub-menu a { font-weight: 500; font-size: 15px; color: var(--mm-text-strong); }
.mm-submenu-toggle { position: absolute; right: 0; top: 8px; width: 32px; height: 32px; border: 0; background: transparent; }
.mm-submenu-toggle::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-right: 2px solid var(--mm-heading); border-bottom: 2px solid var(--mm-heading); transform: rotate(45deg); transition: transform .2s; }
li.is-open > .mm-submenu-toggle::before { transform: rotate(-135deg); }
.mm-drawer-links { display: grid; gap: 8px; }
.mm-drawer-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--mm-soft); color: var(--mm-heading); font-weight: 600; }
body.mm-drawer-open, body.mm-modal-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.mm-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 615px; }
.mm-hero-panel { display: flex; align-items: center; background: var(--mm-hero-bg); }
.mm-hero-copy { width: 100%; max-width: calc(var(--mm-container) / 2); margin-left: auto; padding: 100px var(--mm-gutter) 100px calc(var(--mm-gutter) + 94px); }
.mm-hero-kicker { margin: 0 0 24px; font-size: 24px; color: var(--mm-heading); }
.mm-hero-title { margin: 0 0 28px; font-size: 54px; line-height: 1.18; font-weight: 700; color: var(--mm-heading); }
.mm-hero-price { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.mm-hero-price-label { font-size: 16px; color: var(--mm-text-strong); }
.mm-hero-price-value { font-size: 30px; font-weight: 700; color: var(--mm-primary); }
.mm-hero-media { position: relative; overflow: hidden; background: var(--mm-tint); }
.mm-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.mm-hero-placeholder { display: grid; place-items: center; height: 100%; min-height: 360px; padding: 24px; text-align: center; background: repeating-linear-gradient(45deg, var(--mm-tint), var(--mm-tint) 12px, var(--mm-tint-soft) 12px, var(--mm-tint-soft) 24px); color: var(--mm-primary); font-weight: 600; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.mm-marquee { overflow: hidden; padding: 22px 0; white-space: nowrap; }
.mm-marquee-light { background: #fff; color: var(--mm-heading); border-bottom: 1px solid var(--mm-border); }
.mm-marquee-primary { background: var(--mm-primary); color: #fff; }
.mm-marquee-track { display: flex; width: max-content; animation: mm-marquee 40s linear infinite; }
.mm-marquee:hover .mm-marquee-track { animation-play-state: paused; }
.mm-marquee-group { display: flex; }
.mm-marquee-item { display: inline-flex; align-items: center; gap: 14px; padding-right: 64px; font-size: 16px; font-weight: 600; }
.mm-marquee-light .mm-icon { color: var(--mm-primary); }
@keyframes mm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mm-marquee-track { animation: none; } }

/* ==========================================================================
   Categories
   ========================================================================== */
.mm-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mm-gutter); }
.mm-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 36px 24px 32px; border-radius: var(--mm-radius); background: var(--mm-tint); color: var(--mm-heading); transition: transform .25s var(--mm-ease), box-shadow .25s var(--mm-ease); }
.mm-cat-tile:hover { transform: translateY(-4px); box-shadow: var(--mm-shadow); color: var(--mm-primary); }
.mm-cat-media { display: grid; place-items: center; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: #E9E9EE; }
.mm-cat-media img { width: 100%; height: 100%; object-fit: cover; }
.mm-cat-placeholder { color: var(--mm-tint-strong); }
.mm-cat-name { font-size: 16px; font-weight: 500; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.products, .mm-grid-4 { list-style: none; padding: 0; margin: 0; }
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mm-gutter); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products li.product { margin: 0; width: auto; float: none; }
.mm-product-card { display: flex; flex-direction: column; height: 100%; padding: 20px; border: 1px solid var(--mm-border); border-radius: var(--mm-radius); background: #fff; transition: box-shadow .25s var(--mm-ease), transform .25s var(--mm-ease); }
.mm-product-card:hover { box-shadow: var(--mm-shadow); transform: translateY(-3px); }
.mm-product-media { position: relative; margin-bottom: 18px; border-radius: var(--mm-radius-sm); overflow: hidden; background: var(--mm-tint-soft); aspect-ratio: 1 / 1; }
.mm-product-card-wide .mm-product-media { aspect-ratio: 16 / 10; background: var(--mm-panel); }
.mm-product-thumb { display: block; height: 100%; }
.mm-product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--mm-ease); }
.mm-product-card:hover .mm-product-thumb img { transform: scale(1.04); }
.mm-product-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mm-wishlist-btn { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mm-tint); color: var(--mm-primary-dark); transition: all .2s var(--mm-ease); }
.mm-wishlist-btn:hover { background: var(--mm-primary); color: #fff; }
.mm-wishlist-btn.is-active { background: var(--mm-danger); color: #fff; }
.mm-wishlist-btn.is-active .mm-icon { fill: currentColor; }
.mm-wishlist-btn.is-busy { opacity: .6; }
.mm-product-body { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.mm-product-cat { font-size: 14px; font-weight: 500; color: var(--mm-primary); }
.mm-product-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; }
.mm-product-title a { color: var(--mm-heading); }
.mm-product-title a:hover { color: var(--mm-primary); }
.mm-product-card-wide .mm-product-title { font-size: 18px; font-weight: 600; }
.mm-rating { display: flex; align-items: center; gap: 2px; }
.mm-star { color: #D9D9D9; display: inline-flex; }
.mm-star.is-on { color: var(--mm-warning); }
.mm-star .mm-icon { fill: currentColor; stroke: none; }
.mm-rating-count { margin-left: 4px; font-size: 13px; color: var(--mm-muted); }
.mm-product-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; font-size: 18px; font-weight: 700; color: var(--mm-heading); }
.mm-product-price .price { display: inline-flex; align-items: center; gap: 8px; }
.mm-product-price del { color: var(--mm-muted); font-weight: 400; }
.mm-product-price ins { text-decoration: none; }
.mm-product-card-wide .mm-product-price { font-size: 20px; }
.mm-product-card .mm-btn-dark { margin-top: 10px; }
.mm-compare-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 8px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--mm-heading); }
.mm-compare-btn:hover, .mm-compare-btn.is-active { color: var(--mm-primary); }

/* ==========================================================================
   Featured carousel
   ========================================================================== */
.mm-carousel { position: relative; }
.mm-carousel-track { display: flex; gap: var(--mm-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mm-carousel-track::-webkit-scrollbar { display: none; }
.mm-carousel-item { flex: 0 0 calc(50% - var(--mm-gutter) / 2); scroll-snap-align: start; }
.mm-carousel-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--mm-panel); color: var(--mm-heading); transform: translateY(-50%); transition: background .2s, color .2s; }
.mm-carousel-btn:hover { background: var(--mm-black); color: #fff; }
.mm-carousel-btn:disabled { opacity: .4; cursor: default; }
.mm-carousel-prev { left: -60px; } .mm-carousel-next { right: -60px; }

/* ==========================================================================
   Process
   ========================================================================== */
.mm-steps { list-style: none; display: grid; gap: 60px; }
.mm-step { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; gap: 24px; }
.mm-step-media img, .mm-media-placeholder { width: 100%; border-radius: var(--mm-radius); }
.mm-media-placeholder { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--mm-tint-soft), var(--mm-tint)); }
.mm-media-placeholder-tall { aspect-ratio: 3 / 2; }
.mm-step-marker { position: relative; display: grid; place-items: center; align-self: stretch; }
.mm-step-marker::before { content: ""; position: absolute; top: 0; bottom: -60px; left: 50%; border-left: 2px dashed var(--mm-tint-strong); }
.mm-step:last-child .mm-step-marker::before { bottom: 0; }
.mm-step-marker span { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--mm-tint); color: var(--mm-primary-dark); font-size: 22px; font-weight: 700; }
.mm-step-copy h3 { font-size: 30px; margin-bottom: 14px; }
.mm-step-copy p { margin: 0; max-width: 560px; }
.mm-step-media { grid-column: 1; grid-row: 1; }
.mm-step-marker { grid-column: 2; grid-row: 1; }
.mm-step-copy { grid-column: 3; grid-row: 1; }
.mm-step:nth-child(even) .mm-step-media { grid-column: 3; }
.mm-step:nth-child(even) .mm-step-copy { grid-column: 1; }

/* ==========================================================================
   Shop the look
   ========================================================================== */
.mm-look-inner { display: grid; grid-template-columns: 1fr 380px; border-radius: var(--mm-radius); overflow: hidden; }
.mm-look-media { position: relative; background: var(--mm-tint-soft); }
.mm-look-media img { width: 100%; height: 100%; object-fit: cover; }
.mm-hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.mm-hotspot-dot { display: block; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); position: relative; }
.mm-hotspot-dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--mm-primary); animation: mm-pulse 1.8s ease-out infinite; }
@keyframes mm-pulse { 0% { box-shadow: 0 0 0 0 rgba(33, 90, 218, .5); } 100% { box-shadow: 0 0 0 14px rgba(33, 90, 218, 0); } }
.mm-hotspot-card { position: absolute; left: 50%; bottom: calc(100% + 10px); min-width: 180px; padding: 10px 14px; border-radius: 10px; background: #fff; box-shadow: var(--mm-shadow-lg); transform: translateX(-50%); opacity: 0; visibility: hidden; transition: all .2s var(--mm-ease); text-align: center; }
.mm-hotspot:hover .mm-hotspot-card, .mm-hotspot:focus .mm-hotspot-card { opacity: 1; visibility: visible; }
.mm-hotspot-name { display: block; font-size: 14px; font-weight: 600; color: var(--mm-heading); }
.mm-hotspot-price { display: block; font-size: 14px; color: var(--mm-primary); font-weight: 700; }
.mm-look-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 60px 40px; text-align: center; background: var(--mm-primary); color: #fff; }
.mm-look-title { margin: 0; font-size: 40px; line-height: 1.2; color: #fff; }

/* ==========================================================================
   Video band
   ========================================================================== */
.mm-video-band { position: relative; display: grid; place-items: center; min-height: 520px; padding: 80px 24px; border-radius: 24px; background: var(--mm-tint); overflow: hidden; }
.mm-video-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 640px; text-align: center; }
.mm-video-copy .mm-section-heading { margin-bottom: 8px; }
.mm-video-copy .mm-title { font-size: 46px; font-weight: 400; }
.mm-video-copy .mm-title .mm-light { font-weight: 700; }
.mm-play { display: grid; place-items: center; width: 86px; height: 86px; border: 0; border-radius: 50%; background: var(--mm-primary); color: #fff; box-shadow: 0 0 0 12px rgba(33, 90, 218, .18); transition: transform .2s var(--mm-ease), box-shadow .2s; }
.mm-play:hover { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(33, 90, 218, .22); color: #fff; }
.mm-play.is-disabled { opacity: .6; cursor: default; }
.mm-video-deco { position: absolute; top: 50%; width: 320px; transform: translateY(-50%); pointer-events: none; }
.mm-video-deco-left { left: 4%; transform: translateY(-50%) rotate(-8deg); }
.mm-video-deco-right { right: 4%; transform: translateY(-50%) rotate(8deg); }
.mm-video-deco img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .15)); }

/* Modal */
.mm-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.mm-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); }
.mm-modal-body { position: relative; width: min(1000px, 100%); }
.mm-modal-frame { aspect-ratio: 16 / 9; border-radius: var(--mm-radius); overflow: hidden; background: #000; }
.mm-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.mm-modal-close { position: absolute; right: 0; top: -52px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; }

/* ==========================================================================
   Features
   ========================================================================== */
.mm-feature-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mm-gutter); }
.mm-feature { text-align: center; }
.mm-feature-icon { display: inline-grid; place-items: center; margin-bottom: 18px; color: var(--mm-primary); }
.mm-feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.mm-feature p { margin: 0; font-size: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.mm-footer { background: var(--mm-soft); padding-top: 64px; color: var(--mm-text); }
.mm-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; }
.mm-footer-brand { padding-right: 40px; border-right: 1px solid #E1E1E1; }
.mm-footer-brand .mm-logo { margin-bottom: 22px; }
.mm-footer-desc { max-width: 300px; }
.mm-footer-label { margin: 22px 0 2px; font-size: 16px; font-weight: 600; color: var(--mm-heading); }
.mm-footer-phone { display: inline-block; font-size: 24px; font-weight: 700; color: var(--mm-heading); }
.mm-footer-strong { font-weight: 600; color: var(--mm-heading); }
.mm-footer-email { margin-top: 22px; color: var(--mm-heading); font-weight: 600; }
.mm-footer-email a { color: var(--mm-heading); }
.mm-footer-email a:hover { color: var(--mm-primary); }
.mm-widget-title { margin: 0 0 18px; font-size: 18px; font-weight: 600; }
.mm-footer-menu { list-style: none; display: grid; gap: 14px; }
.mm-footer-menu a, .mm-widget a { color: var(--mm-text-strong); font-size: 15px; }
.mm-footer-menu a:hover, .mm-widget a:hover { color: var(--mm-primary); }
.mm-footer-promo { display: block; margin-top: 48px; border-radius: var(--mm-radius-sm); overflow: hidden; }
.mm-footer-social-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 0; margin-top: 36px; border-top: 1px solid #E1E1E1; }
.mm-footer-social, .mm-footer-apps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mm-social-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mm-primary); color: #fff; transition: background .2s, transform .2s; }
.mm-social-btn:hover { background: var(--mm-black); color: #fff; transform: translateY(-2px); }
.mm-app-badge { display: inline-flex; flex-direction: column; justify-content: center; min-width: 130px; padding: 6px 14px; border-radius: 8px; background: var(--mm-black); color: #fff; line-height: 1.15; }
.mm-app-badge small { font-size: 10px; } .mm-app-badge strong { font-size: 16px; }
.mm-app-badge:hover { color: #fff; background: var(--mm-primary); }
.mm-footer-bottom { background: #fff; border-top: 1px solid var(--mm-border); }
.mm-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; min-height: 76px; }
.mm-copyright { margin: 0; font-size: 14px; }
.mm-payments { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.mm-pay { display: inline-block; padding: 4px 8px; border: 1px solid var(--mm-border); border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--mm-text-strong); background: #fff; }
.mm-pay-visa { color: #1A1F71; } .mm-pay-mc { color: #C4001A; } .mm-pay-amex { color: #23639E; } .mm-pay-paypal { color: #003087; } .mm-pay-mpesa { color: #1F7A3A; }
.mm-legal-menu { list-style: none; display: flex; gap: 18px; font-size: 14px; }
.mm-legal-menu a { color: var(--mm-text-strong); }

/* ---------- Misc UI ---------- */
.mm-to-top { position: fixed; right: 28px; bottom: 28px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mm-tint); color: var(--mm-primary); box-shadow: var(--mm-shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s var(--mm-ease); }
.mm-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mm-to-top:hover { background: var(--mm-primary); color: #fff; }
.mm-toast { position: fixed; left: 50%; bottom: 32px; z-index: 300; padding: 12px 22px; border-radius: var(--mm-pill); background: var(--mm-black); color: #fff; font-size: 14px; font-weight: 600; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: all .25s var(--mm-ease); }
.mm-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   Inner pages: blog, page, 404
   ========================================================================== */
.mm-main { min-height: 40vh; }
.mm-page, .mm-blog, .mm-single, .mm-404, .mm-page-shop { padding-block: 40px 80px; }
.mm-page-header { margin-bottom: 32px; }
.mm-page-header .mm-title { font-size: 40px; }
.mm-page-thumb img { border-radius: var(--mm-radius); margin-bottom: 32px; }
.mm-entry-content { max-width: 860px; }
.mm-entry-content img { border-radius: var(--mm-radius-sm); }
.mm-entry-content p a, .mm-entry-content li:not(.product) a, .mm-entry-content td a { text-decoration: underline; }
.mm-entry-content .mm-product-card a, .mm-entry-content .mm-btn, .mm-entry-content .button, .mm-entry-content .mm-compare-table a, .mm-entry-content .wc-block-components-button { text-decoration: none; }
.woocommerce-page .mm-entry-content, .mm-wide-page .mm-entry-content { max-width: none; }
.mm-entry-content h2, .mm-entry-content h3 { margin-top: 1.4em; }
.mm-entry-content blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--mm-primary); background: var(--mm-soft); border-radius: 0 var(--mm-radius-sm) var(--mm-radius-sm) 0; }
.mm-entry-content pre { padding: 16px; overflow-x: auto; border-radius: var(--mm-radius-sm); background: var(--mm-black); color: #fff; }
.mm-entry-content table { width: 100%; border-collapse: collapse; }
.mm-entry-content th, .mm-entry-content td { padding: 10px 12px; border: 1px solid var(--mm-border); }
.mm-blog-layout { display: grid; gap: 40px; }
.has-sidebar .mm-blog-layout { grid-template-columns: 1fr 320px; }
.mm-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mm-gutter); }
.mm-single .mm-post-grid { grid-template-columns: 1fr; }
.mm-post-card { display: flex; flex-direction: column; border: 1px solid var(--mm-border); border-radius: var(--mm-radius); overflow: hidden; background: #fff; transition: box-shadow .25s; }
.mm-post-card:hover { box-shadow: var(--mm-shadow); }
.mm-post-thumb { display: block; aspect-ratio: 16 / 10; background: var(--mm-tint-soft); }
.mm-post-thumb img, .mm-post-thumb .mm-media-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.mm-post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mm-post-meta { display: flex; gap: 14px; font-size: 13px; color: var(--mm-muted); }
.mm-post-meta a { color: var(--mm-primary); }
.mm-post-title { margin: 0; font-size: 20px; }
.mm-post-title a { color: var(--mm-heading); }
.mm-post-title a:hover { color: var(--mm-primary); }
.mm-post-excerpt p { margin: 0; }
.mm-readmore { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mm-sidebar .mm-widget { margin-bottom: 32px; padding: 24px; border: 1px solid var(--mm-border); border-radius: var(--mm-radius); }
.mm-widget ul { list-style: none; display: grid; gap: 10px; }
.mm-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: var(--mm-pill); background: var(--mm-tint); color: var(--mm-primary); font-size: 13px; font-weight: 600; }
.mm-post-nav { display: flex; justify-content: space-between; gap: 24px; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--mm-border); font-weight: 600; }
.mm-post-nav a { color: var(--mm-heading); }
.mm-post-nav a:hover { color: var(--mm-primary); }
.pagination, .woocommerce-pagination { margin-top: 48px; }
.nav-links, .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; list-style: none; border: 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--mm-pill); background: var(--mm-soft); color: var(--mm-heading); font-weight: 600; border: 0 !important; }
.page-numbers.current, a.page-numbers:hover { background: var(--mm-primary) !important; color: #fff !important; }
.mm-404 { text-align: center; }
.mm-404-inner { max-width: 620px; margin: 0 auto; padding: 40px 0; }
.mm-404-code { margin: 0; font-size: 120px; font-weight: 700; line-height: 1; color: var(--mm-tint-strong); }
.mm-404 .mm-search { max-width: 480px; margin: 24px auto; }
.mm-404-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.mm-search-simple .mm-search-field input { height: 44px; border: 1px solid var(--mm-border); border-radius: var(--mm-pill); }
.mm-search-simple .mm-search-submit { border-radius: 50%; width: 44px; }
.mm-none { padding: 48px 0; }

/* Comments */
.mm-comments { margin-top: 56px; max-width: 860px; }
.mm-comment-list, .mm-comment-list .children { list-style: none; }
.mm-comment-list .children { margin-left: 32px; }
.mm-comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--mm-border); }
.comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: 13px; color: var(--mm-muted); }
.comment-reply-link { font-size: 13px; font-weight: 600; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--mm-heading); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .mm-entry-content input:not([type="submit"]), .mm-entry-content textarea, .mm-entry-content select { width: 100%; padding: 12px 16px; border: 1px solid var(--mm-border); border-radius: 12px; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--mm-primary); outline: none; box-shadow: 0 0 0 3px rgba(33, 90, 218, .12); }
.comment-form p { margin-bottom: 16px; }

/* Compare table */
.mm-table-scroll { overflow-x: auto; }
.mm-compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.mm-compare-table th, .mm-compare-table td { padding: 16px; border-bottom: 1px solid var(--mm-border); vertical-align: top; text-align: left; }
.mm-compare-table th { width: 160px; font-weight: 600; color: var(--mm-heading); background: var(--mm-soft); }
.mm-compare-table td { position: relative; width: 25%; }
.mm-compare-table td img { border-radius: var(--mm-radius-sm); }
.mm-compare-row-name a { font-weight: 600; color: var(--mm-heading); }
.mm-compare-remove { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--mm-shadow); }
.mm-compare-remove:hover { background: var(--mm-danger); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
	.mm-carousel-prev { left: -12px; } .mm-carousel-next { right: -12px; }
}
@media (max-width: 1200px) {
	.mm-cat-grid, ul.products, .mm-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mm-hero-title { font-size: 44px; }
	.mm-hero-copy { padding-left: var(--mm-gutter); }
	.mm-header-main { gap: 20px; }
	.mm-action-account .mm-action-text { display: none; }
	.mm-look-title { font-size: 32px; }
	.mm-footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 992px) {
	:root { --mm-section: 56px; }
	.mm-header-nav-row { display: none; }
	.mm-header-main { grid-template-columns: auto 1fr auto; min-height: 84px; }
	.mm-header { background: #fff; }
	.merchmart-home .mm-header-brand { padding-right: 0; }
	.merchmart-home .mm-header-brand::before, .merchmart-home .mm-header-brand::after { display: none; }
	.mm-drawer-mobile { display: block; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--mm-border); }
	.mm-burger { order: 0; }
	.mm-action-wishlist { order: 0; }
	.mm-header-search { display: none; }
	.mm-header-actions > .mm-action-icon[data-search-open] { display: inline-grid; }
	.mm-action-cart .mm-action-text { display: none; }
	.mm-header-actions { gap: 8px; }
	.mm-action-icon { background: transparent; }
	.mm-hero { grid-template-columns: 1fr; min-height: 0; }
	.mm-hero-copy { max-width: none; padding: 64px var(--mm-gutter); }
	.mm-hero-title { font-size: 40px; }
	.mm-hero-media img { aspect-ratio: 4 / 3; }
	.mm-cat-grid, ul.products, .mm-grid-4, .mm-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mm-cat-media { width: 140px; height: 140px; }
	.mm-carousel-item { flex-basis: calc(100% - 48px); }
	.mm-step { grid-template-columns: 56px 1fr; gap: 16px 20px; }
	.mm-step-media, .mm-step:nth-child(even) .mm-step-media { grid-column: 2; grid-row: 1; }
	.mm-step-marker { grid-column: 1; grid-row: 1 / span 2; }
	.mm-step-copy, .mm-step:nth-child(even) .mm-step-copy { grid-column: 2; grid-row: 2; }
	.mm-step-marker span { width: 48px; height: 48px; font-size: 16px; }
	.mm-step-copy h3 { font-size: 24px; }
	.mm-look-inner { grid-template-columns: 1fr; }
	.mm-video-deco { display: none; }
	.mm-video-copy .mm-title { font-size: 34px; }
	.mm-video-band { min-height: 380px; }
	.has-sidebar .mm-blog-layout { grid-template-columns: 1fr; }
	.mm-footer-grid { grid-template-columns: 1fr 1fr; }
	.mm-footer-brand { grid-column: 1 / -1; padding-right: 0; border-right: 0; padding-bottom: 24px; border-bottom: 1px solid #E1E1E1; }
	.mm-footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	:root { --mm-gutter: 16px; --mm-section: 48px; }
	.mm-section-bar { flex-direction: column; align-items: flex-start; }
	.mm-title { font-size: 28px; }
	.mm-hero-title { font-size: 32px; }
	.mm-hero-kicker { font-size: 18px; }
	.mm-btn { font-size: 16px; padding: 14px 26px; }
	.mm-topbar-inner { justify-content: flex-start; padding-right: 32px; }
	.mm-header-main { gap: 10px; min-height: 68px; }
	.mm-header-brand { gap: 8px; }
	.mm-logo img { max-height: 32px; }
	.mm-logo-text { font-size: 20px; }
	.mm-header .mm-action-wishlist, .mm-header .mm-action-account, .mm-header .mm-action-compare, .mm-header.is-sticky .mm-action-compare { display: none; }
	.mm-burger { width: 32px; height: 32px; }
	.mm-logo-mark { width: 24px; height: 24px; }
	.mm-logo-text { font-size: 18px; gap: 6px; }
	.mm-logo { min-width: 0; }
	.mm-header-actions { gap: 4px; }
	.mm-topbar-menu { display: none; }
	.mm-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mm-cat-tile { padding: 20px 12px; gap: 12px; }
	.mm-cat-media { width: 96px; height: 96px; }
	ul.products, .mm-grid-4 { gap: 12px; }
	.mm-product-card { padding: 12px; }
	.mm-carousel-item { flex-basis: 100%; }
	.mm-carousel-btn { display: none; }
	.mm-post-grid { grid-template-columns: 1fr; }
	.mm-look-title { font-size: 26px; }
	.mm-look-panel { padding: 40px 24px; }
	.mm-video-copy .mm-title { font-size: 26px; }
	.mm-play { width: 64px; height: 64px; }
	.mm-feature-list { grid-template-columns: 1fr; gap: 28px; }
	.mm-footer-grid { grid-template-columns: 1fr; }
	.mm-footer-col:last-child { grid-column: auto; }
	.mm-footer-bottom-inner { flex-direction: column; text-align: center; padding-block: 16px; }
	.mm-payments { justify-content: center; }
	.mm-404-code { font-size: 80px; }
}

/* Swatch notch on wide cards (bottom-right of the image, like the reference) */
.mm-swatches { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px 0 14px; border-radius: 14px 0 0 0; background: #fff; }
.mm-swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9d9d9; }
.mm-swatch-more { margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--mm-heading); }

/* ---------- Product FAQ tab ---------- */
.mm-faq { display: grid; gap: 10px; max-width: 860px; }
.mm-faq-item { border: 1px solid var(--mm-border); border-radius: var(--mm-radius-sm); background: #fff; }
.mm-faq-item summary { padding: 14px 18px; font-weight: 600; color: var(--mm-heading); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mm-faq-item summary::-webkit-details-marker { display: none; }
.mm-faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--mm-primary); }
.mm-faq-item[open] summary::after { content: "–"; }
.mm-faq-answer { padding: 0 18px 16px; }

/* ---------- Category directory ("Shop categories" template) ---------- */
.mm-directory-search { max-width: 640px; margin: 8px 0 32px; }
.mm-recent { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; }
.mm-chip { display: inline-block; padding: 4px 12px; border-radius: var(--mm-pill); background: var(--mm-tint); color: var(--mm-primary); font-weight: 600; font-size: 13px; }
.mm-chip:hover { background: var(--mm-primary); color: #fff; }
.mm-directory-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mm-gutter); padding: 0; }
.mm-directory-item a { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--mm-border); border-radius: var(--mm-radius); background: #fff; color: var(--mm-heading); transition: box-shadow .25s, transform .25s var(--mm-ease); }
.mm-directory-item a:hover { box-shadow: var(--mm-shadow); transform: translateY(-3px); }
.mm-directory-item .mm-cat-media { width: 84px; height: 84px; flex: none; color: var(--mm-tint-strong); }
.mm-directory-body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--mm-text); }
.mm-directory-body strong { font-size: 16px; color: var(--mm-heading); }
.mm-directory-body small { color: var(--mm-primary); font-weight: 600; }
@media (max-width: 992px) { .mm-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mm-directory-grid { grid-template-columns: 1fr; } }

/* ---------- Canvas template and block-editor sections ---------- */
.mm-canvas { padding-block: 0; }
.mm-canvas > .alignfull { margin-inline: 0; width: 100%; }
.mm-entry-content .mm-section { padding-inline: 0; }
.wp-block-group.mm-hero { grid-template-columns: 1fr 1fr; }
.wp-block-group.mm-hero .mm-hero-media figure { margin: 0; height: 100%; }
.wp-block-group.mm-hero .mm-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.mm-hero-price .mm-hero-price-label { font-size: 16px; color: var(--mm-text-strong); }
.wp-block-buttons .mm-btn-primary .wp-block-button__link { border-radius: var(--mm-pill); background: var(--mm-primary); color: #fff; font-weight: 600; font-size: 18px; padding: 16px 32px; }
.wp-block-list.mm-steps { padding: 0; }
.wp-block-list.mm-steps .mm-step { display: grid; }
.mm-header-block .mm-header-main { min-height: 84px; }
.mm-header-block .wp-block-navigation a { font-weight: 500; color: var(--mm-heading); }
.mm-footer-block { padding-block: 48px 24px; }
.mm-footer-block .wp-block-navigation a { color: var(--mm-text-strong); font-size: 15px; }

/* ---------- Pages assembled from the storefront patterns ---------- */
.mm-has-storefront .mm-page { padding-top: 0; }
.mm-has-storefront .mm-page-header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.mm-has-storefront .mm-entry-content { max-width: none; }
.mm-has-storefront .mm-entry-content > .alignfull, .mm-has-storefront .mm-entry-content > .wp-block-group.mm-hero { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.mm-entry-content .mm-section { padding-block: 40px; }
.mm-entry-content .mm-section + .mm-section { padding-top: 0; }
.mm-entry-content .mm-hero + .mm-marquee, .mm-entry-content .wp-block-shortcode + .mm-section { margin-top: 0; }
.mm-has-storefront .mm-marquee { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-group.mm-hero .mm-hero-copy { padding: 100px var(--mm-gutter) 100px calc(var(--mm-gutter) + 94px); }
@media (max-width: 992px) { .wp-block-group.mm-hero { grid-template-columns: 1fr; } .wp-block-group.mm-hero .mm-hero-copy { padding: 64px var(--mm-gutter); } }

/* ---------- Block-theme templates (MerchMart Blocks child) ---------- */
ul.wp-block-post-template.mm-post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mm-gutter); }
ul.wp-block-post-template.mm-post-grid > li { margin: 0; }
.mm-post-card .wp-block-post-featured-image.mm-post-thumb { margin: 0; aspect-ratio: 16 / 10; background: var(--mm-tint-soft); }
.mm-post-card .wp-block-post-featured-image.mm-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-post-card .wp-block-post-featured-image.mm-post-thumb a { display: block; height: 100%; }
.mm-post-meta .wp-block-post-date, .mm-post-meta .wp-block-post-terms, .mm-post-meta .wp-block-post-author-name { font-size: 13px; color: var(--mm-muted); }
.mm-post-card .wp-block-post-excerpt__more-link { display: inline-flex; margin-top: 8px; font-weight: 600; }
.wp-block-query-pagination.pagination { gap: 8px; margin-top: 48px; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--mm-pill); background: var(--mm-soft); color: var(--mm-heading); font-weight: 600; }
.wp-block-query-pagination .page-numbers.current { background: var(--mm-primary); color: #fff; }
.mm-page-header .wp-block-query-title, .mm-page-header .wp-block-post-title { margin: 0; }
.mm-page-header .wp-block-term-description p { margin: 8px 0 0; }
.mm-page-thumb.wp-block-post-featured-image img { border-radius: var(--mm-radius); }
.mm-page-thumb.wp-block-post-featured-image { margin-bottom: 32px; }
.wp-block-post-terms.mm-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: var(--mm-pill); background: var(--mm-tint); color: var(--mm-primary); font-size: 13px; font-weight: 600; }
.mm-post-nav .wp-block-post-navigation-link a { color: var(--mm-heading); font-weight: 600; }
.wp-block-comments.mm-comments { margin-top: 56px; }
.wp-block-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--mm-border); }
.wp-block-comments .wp-block-avatar img { border-radius: 50%; }
.wp-block-group.mm-section { padding-inline: var(--mm-gutter); }
.mm-shop-layout > .wp-block-shortcode, .mm-shop-layout > .wp-block-merchmart-section { display: contents; }
.mm-block-theme .mm-woo-main .woocommerce-breadcrumb { display: none; }
.mm-block-theme .mm-404 .wp-block-search { max-width: 480px; margin: 24px auto; }

/* ---------- Contact form ---------- */
.mm-contact-form label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--mm-heading); font-size: 14px; }
.mm-contact-form input:not([type="checkbox"]), .mm-contact-form select, .mm-contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--mm-border); border-radius: 12px; background: #fff; font: inherit; }
.mm-contact-form input:focus, .mm-contact-form select:focus, .mm-contact-form textarea:focus { border-color: var(--mm-primary); outline: none; box-shadow: 0 0 0 3px rgba(33, 90, 218, .12); }
.mm-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.mm-contact-form p { margin: 0 0 16px; }
.mm-contact-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--mm-text-strong); }
.mm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mm-notice { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--mm-radius-sm); font-weight: 600; }
.mm-notice-ok { background: #EAF7EE; color: var(--mm-success); }
.mm-notice-bad { background: #FCE9E6; color: var(--mm-danger); }
.mm-contact-map { margin-top: 24px; border-radius: var(--mm-radius); overflow: hidden; }
.mm-contact-map iframe { width: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 640px) { .mm-contact-grid { grid-template-columns: 1fr; } }

/* ---------- merchmart/section block wrapper ---------- */
.mm-section-block { display: contents; }
.mm-section-block-editor { min-height: 40px; }
.mm-section-block-editor .mm-marquee-track { animation: none; }

/* Links inside comments and post bodies must not rely on colour alone */
.comment-content a, .wp-block-comment-content a, .mm-entry-content a:not(.mm-btn):not(.wp-block-button__link):not(.mm-chip) { text-decoration: underline; }
.mm-entry-content .mm-product-card a, .mm-entry-content .mm-cat-tile, .mm-entry-content .mm-hotspot, .mm-entry-content .mm-directory-item a { text-decoration: none; }
.mm-contact-consent input[type="checkbox"], .mm-entry-content .mm-contact-consent input[type="checkbox"] { width: auto; margin: 4px 0 0; flex: none; }
