/*!
 * Montrose Weekly Flyer – Online · "Paper & Glass"
 * Everything is scoped to .mfo so the theme's styles can't change the flyer and the
 * flyer can't change the theme. Colours pass WCAG AA on the surfaces they sit on.
 */

body.mfo-full { margin: 0; background: #F2EFEA; }
html:has(body.mfo-full) { background: #F2EFEA; }
body.mfo-lock { overflow: hidden; }

.mfo {
	--paper: #F2EFEA;
	--paper-2: #F7F4EF;
	--tile: #E6E1D8;
	--ink: #1D1A16;
	--body: #4A453E;
	--muted: #635C52;
	--dim: #857D71;
	--line: rgba(29, 26, 22, 0.12);
	--line-2: rgba(29, 26, 22, 0.18);
	--accent: #B4380B;
	--accent-ink: #FFF8F2;
	--night: #15120E;
	--cream: #F2EADC;
	--cream-dim: #A39A8B;
	--glass: rgba(250, 248, 244, 0.66);
	--glass-line: rgba(255, 255, 255, 0.72);
	--glass-dark: rgba(21, 18, 14, 0.78);
	--sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);

	position: relative;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: 0;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.mfo *, .mfo *::before, .mfo *::after { box-sizing: border-box; }
.mfo :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.mfo :where(h1, h2, h3, h4) { font-family: var(--sans); color: inherit; text-transform: none; font-weight: 500; }
.mfo :where(ul, ol) { list-style: none; }
.mfo :where(a) { color: inherit; text-decoration: none; background: none; box-shadow: none; }
.mfo :where(a:hover) { color: inherit; opacity: 1; }
.mfo :where(button) {
	font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
	text-transform: none; letter-spacing: inherit; box-shadow: none; min-height: 0; min-width: 0;
	line-height: inherit; border-radius: 0; text-shadow: none; -webkit-appearance: none; appearance: none;
}
.mfo :where(img) { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.mfo :where(input[type=search], input[type=text]) {
	-webkit-appearance: none; appearance: none; border: 0; background: transparent; box-shadow: none;
	font: inherit; color: inherit; margin: 0; padding: 0; height: auto; min-height: 0; border-radius: 0; outline: none; width: 100%;
}
.mfo :where(input[type=search])::-webkit-search-decoration { -webkit-appearance: none; }
.mfo :where(s) { text-decoration: line-through; }
.mfo [hidden] { display: none !important; }
.mfo :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mfo-night :focus-visible, .mfo-bagbar :focus-visible { outline-color: var(--cream); }
.mfo-sr { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mfo-i { display: block; flex: none; }

.mfo-wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.mfo section[id], .mfo [id="everything"] { scroll-margin-top: 104px; }
.mfo-label { font-family: var(--mono); font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- Utility strip */
.mfo-util { background: var(--ink); color: #E9E2D5; font-size: 13px; line-height: 1.4; }
.mfo-util__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.mfo-util__links { display: flex; gap: 20px; }
.mfo-util a { color: #E9E2D5; }
.mfo-util a:hover { color: #FFFFFF; }

/* ---------------------------------------------------------------- Navigation */
.mfo-nav { position: sticky; top: 12px; z-index: 40; padding: 0 24px; margin-top: 12px; }
.admin-bar .mfo-nav { top: 44px; }
.mfo-nav__bar {
	position: relative; max-width: 1392px; margin: 0 auto; display: flex; align-items: center; gap: 12px 20px;
	padding: 10px 10px 10px 18px; border-radius: 20px;
	background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
	border: 1px solid var(--glass-line); box-shadow: 0 1px 0 rgba(29, 26, 22, .04), 0 14px 44px rgba(29, 26, 22, .09);
}
.mfo-logo { display: flex; align-items: center; gap: 10px; padding-right: 6px; flex: none; min-height: 44px; }
.mfo-logo img { width: 32px; height: 30px; }
.mfo-logo span { font-size: 20px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.mfo-nav__links { display: flex; gap: 2px; }
.mfo-nav__link { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mfo-nav__link:hover { background: rgba(29, 26, 22, .05); }
.mfo-nav__link.is-current { background: rgba(29, 26, 22, .07); }
.mfo-nav__link[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.mfo-nav__link[aria-expanded="true"] .mfo-i { transform: rotate(180deg); }
.mfo-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(29, 26, 22, .055); color: var(--muted); }
.mfo-search input { font-size: 15px; color: var(--ink); min-width: 0; }
.mfo-search input::placeholder { color: var(--muted); opacity: 1; }
.mfo-search--nav { flex: 1 1 240px; max-width: 420px; margin-left: auto; }
.mfo-nav__tools { display: flex; align-items: center; gap: 6px; flex: none; }
.mfo-iconbtn { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mfo-iconbtn:hover { background: rgba(29, 26, 22, .06); }
.mfo-iconbtn--ink { background: var(--ink); color: var(--paper); }
.mfo-iconbtn--ink:hover { background: #000; }
.mfo-bagbtn { height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.mfo-bagbtn:hover { background: #000; }
.mfo-show-sm { display: none; }

/* Mega menu */
.mfo-mega {
	position: absolute; left: 24px; right: 24px; top: calc(100% + 10px); max-width: 1392px; margin: 0 auto;
	padding: 30px 34px 22px; border-radius: 26px;
	background: rgba(250, 248, 244, .93); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5);
	border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 80px rgba(29, 26, 22, .16);
	animation: mfo-drop .22s var(--ease);
}
.mfo-mega__grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr 1.1fr; gap: 40px; }
.mfo-mega__head { display: flex; justify-content: space-between; padding: 0 14px 10px; }
.mfo-mega__cat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 14px; border-radius: 14px; border-top: 1px solid rgba(29, 26, 22, .08); text-align: left; }
.mfo-mega__cat:hover { background: rgba(29, 26, 22, .05); }
.mfo-mega__cat span:first-child { font-size: 30px; line-height: 1.15; letter-spacing: -.035em; font-weight: 500; }
.mfo-mega__cat .mfo-i { opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); }
.mfo-mega__cat:hover .mfo-i { opacity: 1; transform: none; }
.mfo-mega__cat span:last-child { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mfo-mega__col { display: flex; flex-direction: column; gap: 2px; }
.mfo-mega__col .mfo-label { padding-bottom: 10px; }
.mfo-mega__link { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 7px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-align: left; }
.mfo-mega__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mfo-mega__link span { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); }
.mfo-mega__link .is-sale { color: var(--accent); }
.mfo-mega__brand { display: block; width: 100%; padding: 5px 0; font-size: 16px; text-align: left; }
.mfo-mega__brand:hover { text-decoration: underline; text-underline-offset: 4px; }
.mfo-mega__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(29, 26, 22, .1); font-size: 14px; color: var(--body); }
.mfo-mega__foot span, .mfo-mega__foot a { display: flex; align-items: center; gap: 10px; }
.mfo-mega__foot a { margin-left: auto; font-weight: 500; color: var(--ink); }
.mfo-feature { position: relative; display: block; width: 100%; min-height: 420px; border-radius: 22px; background: var(--tile); overflow: hidden; text-align: left; }
.mfo-feature img { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 76%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }

/* ---------------------------------------------------------------- Hero */
.mfo-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 48px; align-items: end; padding-top: 64px; padding-bottom: 24px; }
.mfo-hero__text { display: flex; flex-direction: column; gap: 26px; padding-bottom: 8px; }
.mfo-hero__title { font-size: clamp(72px, 10.5vw, 156px); line-height: .88; letter-spacing: -.058em; font-weight: 500; color: var(--ink); }
.mfo-hero__lead { max-width: 520px; font-size: 20px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.mfo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; max-width: 560px; }
.mfo-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(29, 26, 22, .14); text-align: left; width: 100%; }
.mfo-stat:hover { border-color: var(--ink); }
.mfo-stat__n { font-size: 34px; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.mfo-stat__n.is-sale { color: var(--accent); }
.mfo-stat__l { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--body); }
.mfo-hero__media { position: relative; }
.mfo-heroCard { position: relative; border-radius: 32px; background: var(--tile); aspect-ratio: 1 / 1; max-height: 660px; width: 100%; overflow: hidden; }
.mfo-heroCard__open { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 4%; width: 100%; }
.mfo-heroCard__open img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.mfo-heroCard__open:hover img { transform: scale(1.03); }
.mfo-heroCard .mfo-badges { top: 20px; left: 20px; }
.mfo-glass {
	position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 24px;
	background: rgba(250, 248, 244, .56); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 18px 50px rgba(29, 26, 22, .12);
}
.mfo-glass__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mfo-glass__brand { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.mfo-glass__name { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; font-weight: 500; }
.mfo-glass__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.mfo-glass__price strong { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.mfo-glass__price strong.is-sale { color: var(--accent); }
.mfo-glass__price s { font-size: 14px; color: var(--body); }
.mfo-glass__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mfo-glass__facts div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mfo-glass__facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.mfo-glass__facts dd { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.mfo-glass__btns { display: flex; gap: 10px; }

/* ---------------------------------------------------------------- Buttons */
.mfo-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.mfo-pill:hover { border-color: var(--ink); }
.mfo-pill--big { height: 52px; padding: 0 26px; }
.mfo-pill--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mfo-pill--ink:hover { background: #000; color: var(--paper); }
.mfo-pill--night { color: var(--cream); border-color: rgba(242, 234, 220, .24); }
.mfo-pill--night:hover { border-color: var(--cream); }
.mfo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 500; white-space: nowrap; }
.mfo-btn:hover { background: #000; color: var(--paper); }
.mfo-btn[disabled], .mfo-btn.is-busy { opacity: .6; cursor: progress; }
.mfo-btn--grow { flex: 1; }

/* ---------------------------------------------------------------- Category rail */
.mfo-rail { padding-top: 56px; }
.mfo-rail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.mfo-railItem { display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; }
.mfo-railItem__tile { border-radius: 22px; background: var(--tile); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mfo-railItem__tile img { width: 70%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.mfo-railItem:hover img { transform: scale(1.05); }
.mfo-railItem__row { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.mfo-railItem__row span:first-child { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.mfo-railItem__row span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- Section headings */
.mfo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.mfo-head__text { display: flex; flex-direction: column; gap: 16px; }
.mfo-h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.mfo-h2__dim { color: var(--dim); }

/* ---------------------------------------------------------------- Horizontal rows */
.mfo-rowsec { padding-top: 120px; }
.mfo-row { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -40px; padding: 0 40px 8px; scroll-padding: 0 40px; }
.mfo-row::-webkit-scrollbar { display: none; }
.mfo-row > * { flex: none; width: 300px; scroll-snap-align: start; }
.mfo-row .mfo-card__media { aspect-ratio: auto; height: 360px; }
.mfo-seeall { height: 360px; border-radius: 24px; border: 1px solid rgba(29, 26, 22, .16); display: flex; flex-direction: column; justify-content: space-between; padding: 24px; text-align: left; }
.mfo-seeall:hover { border-color: var(--ink); }
.mfo-seeall strong { font-size: 30px; line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.mfo-seeall span:last-child { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }

/* ---------------------------------------------------------------- Cards */
.mfo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 40px 16px; }
.mfo-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mfo-card__media { position: relative; border-radius: 24px; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; }
.mfo-card__open { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.mfo-card__open img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.mfo-card__open:hover img { transform: scale(1.04); }
.mfo-card__noimg { width: 52%; aspect-ratio: 1 / 1; border-radius: 18px; border: 1px dashed rgba(29, 26, 22, .2); }
.mfo-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; pointer-events: none; }
.mfo-badge { font-family: var(--mono); font-size: 11px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.mfo-badge--sale { background: var(--accent); color: var(--accent-ink); letter-spacing: .04em; }
.mfo-badge--soft { background: rgba(250, 248, 244, .78); color: var(--ink); }
.mfo-add {
	position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, .75); background: rgba(250, 248, 244, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink);
	transition: transform .2s var(--ease), background .2s;
}
.mfo-add:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mfo-add:active { transform: scale(.94); }
.mfo-add.is-busy { pointer-events: none; }
.mfo-add.is-busy .mfo-i { animation: mfo-spin .8s linear infinite; }
.mfo-add.is-done { background: var(--ink); color: var(--paper); border-color: var(--ink); }
a.mfo-add { text-decoration: none; }
.mfo-card__body { display: flex; flex-direction: column; gap: 5px; padding: 0 4px; }
.mfo-card__brand { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 14px; }
.mfo-card__name { font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.mfo-card__name button { text-align: left; }
.mfo-card__name button:hover { text-decoration: underline; text-underline-offset: 3px; }
.mfo-card__meta { font-size: 14px; color: var(--muted); }
.mfo-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.mfo-price strong { font-size: 17px; font-weight: 500; }
.mfo-price strong.is-sale { color: var(--accent); }
.mfo-price s { font-size: 14px; color: var(--muted); }
.mfo-few { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- Night band */
.mfo-night { margin-top: 128px; background: var(--night); color: var(--cream); padding: 104px 0 112px; }
.mfo-night .mfo-label, .mfo-night .mfo-h2__dim, .mfo-night .mfo-card__brand, .mfo-night .mfo-card__meta, .mfo-night .mfo-price s, .mfo-night .mfo-few { color: var(--cream-dim); }
.mfo-night .mfo-card__name, .mfo-night .mfo-price strong { color: var(--cream); }
.mfo-night .mfo-add { background: rgba(21, 18, 14, .62); border-color: rgba(255, 255, 255, .12); color: var(--cream); }
.mfo-night .mfo-add:hover, .mfo-night .mfo-add.is-done { background: var(--cream); color: var(--night); border-color: var(--cream); }
.mfo-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 32px 16px; }

/* ---------------------------------------------------------------- Everything + filters */
.mfo-all { padding-top: 120px; }
.mfo-all .mfo-h2 { margin-bottom: 28px; }
.mfo-filters {
	position: sticky; top: 96px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px; margin: 0 -8px 20px; border-radius: 30px;
	background: rgba(242, 239, 234, .74); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .6);
}
.admin-bar .mfo-filters { top: 128px; }
.mfo:not(.mfo--full) .mfo-filters { top: 12px; }
.mfo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mfo-chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.mfo-chip:hover { border-color: var(--ink); }
.mfo-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mfo-chip span { margin-left: 6px; font-family: var(--mono); font-size: 12px; opacity: .7; }
.mfo-filters__tools { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.mfo-search--bar { display: none; min-width: 200px; }
.mfo:not(.mfo--full) .mfo-search--bar { display: flex; }
.mfo-toggle { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.mfo-toggle:hover { border-color: var(--ink); }
.mfo-toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mfo-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.mfo-status { min-height: 20px; margin: 0 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.mfo-empty, .mfo-error { padding: 64px 24px; border-radius: 24px; border: 1px dashed rgba(29, 26, 22, .22); text-align: center; color: var(--body); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mfo-more { display: flex; justify-content: center; padding-top: 48px; }

/* Skeletons */
.mfo-skel { border-radius: 24px; background: linear-gradient(100deg, #E6E1D8 30%, #EDE9E2 50%, #E6E1D8 70%); background-size: 300% 100%; animation: mfo-shimmer 1.4s infinite linear; }
.mfo-skel--card { aspect-ratio: 3 / 4; }
.mfo-skel--hero { aspect-ratio: 1 / 1; max-height: 660px; border-radius: 32px; }

/* ---------------------------------------------------------------- Footer */
.mfo-foot { margin-top: 140px; border-top: 1px solid var(--line); overflow: hidden; }
.mfo-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; padding-top: 64px; }
.mfo-foot__brand { display: flex; flex-direction: column; gap: 16px; }
.mfo-foot__brand img { width: 44px; height: 41px; }
.mfo-foot__brand p { max-width: 280px; font-size: 15px; color: var(--body); }
.mfo-foot nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mfo-foot nav .mfo-label { margin-bottom: 4px; }
.mfo-foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mfo-foot__legal { padding-top: 48px; font-size: 13px; color: var(--muted); }
.mfo-foot__word { font-size: clamp(110px, 21vw, 320px); line-height: .76; letter-spacing: -.07em; font-weight: 600; padding: 56px 24px 0; margin-bottom: -.1em; white-space: nowrap; color: var(--ink); user-select: none; }

/* ---------------------------------------------------------------- Bag bar + toast */
.mfo-bagbar {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 16px;
	padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--glass-dark); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px rgba(21, 18, 14, .28); color: var(--cream); white-space: nowrap; animation: mfo-rise .3s var(--ease);
}
.mfo-bagbar__sum { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.mfo-bagbar__sum strong { font-weight: 500; }
.mfo-bagbar__sep { width: 1px; height: 18px; background: rgba(242, 234, 220, .24); }
.mfo-bagbar__cta { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--cream); color: var(--night); font-size: 15px; font-weight: 500; }
.mfo-bagbar__cta:hover { background: #FFFFFF; }
.mfo-toast {
	position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 80; max-width: min(560px, calc(100% - 32px)); padding: 12px 18px; border-radius: 16px;
	background: rgba(250, 248, 244, .9); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8);
	box-shadow: 0 14px 40px rgba(29, 26, 22, .16); font-size: 15px; color: var(--ink); text-align: center; animation: mfo-rise .25s var(--ease);
}
.mfo-toast.is-error { border-color: rgba(180, 56, 11, .35); }

/* ---------------------------------------------------------------- Scrim, sheet, drawer */
.mfo-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(21, 18, 14, .36); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: mfo-fade .2s ease; }
.mfo-sheet {
	position: fixed; z-index: 70; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1080px, calc(100% - 48px)); max-height: calc(100vh - 48px); overflow: auto;
	display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 28px; box-shadow: 0 40px 120px rgba(21, 18, 14, .28); animation: mfo-pop .28s var(--ease);
}
.mfo-sheet__media { position: relative; background: var(--tile); min-height: 520px; display: flex; align-items: center; justify-content: center; }
.mfo-sheet__media img { width: 82%; max-width: 480px; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.mfo-sheet__media .mfo-badges { top: 20px; left: 20px; }
.mfo-sheet__body { display: flex; flex-direction: column; gap: 24px; padding: 32px 36px 36px; min-width: 0; }
.mfo-sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mfo-close { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mfo-close:hover { border-color: var(--ink); }
.mfo-sheet__name { font-size: 40px; line-height: 1.04; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.mfo-sheet__price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.mfo-sheet__price strong { font-size: 28px; letter-spacing: -.02em; font-weight: 500; }
.mfo-sheet__price strong.is-sale { color: var(--accent); }
.mfo-sheet__price s { font-size: 17px; color: var(--muted); }
.mfo-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.mfo-facts div { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.mfo-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mfo-facts dd { font-size: 17px; font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.mfo-buy { display: flex; gap: 10px; }
.mfo-stepper { display: flex; align-items: center; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); flex: none; }
.mfo-stepper button { width: 48px; height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mfo-stepper button:hover { background: rgba(29, 26, 22, .05); }
.mfo-stepper button[disabled] { opacity: .35; cursor: default; }
.mfo-stepper output { min-width: 24px; text-align: center; font-weight: 500; }
.mfo-stepper--sm { height: 44px; }
.mfo-stepper--sm button { width: 40px; height: 42px; }
.mfo-info { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }
.mfo-info li { display: flex; align-items: center; gap: 12px; }
.mfo-info .mfo-i { color: var(--ink); }
.mfo-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mfo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.mfo-msg { font-size: 14px; line-height: 1.45; color: var(--accent); }

.mfo-drawer {
	position: fixed; z-index: 70; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px;
	background: rgba(247, 244, 239, .95); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8);
	box-shadow: 0 30px 90px rgba(21, 18, 14, .26); animation: mfo-slide .3s var(--ease);
}
.mfo-drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 16px 24px; }
.mfo-drawer__top h2 { display: flex; align-items: baseline; gap: 10px; font-size: 26px; letter-spacing: -.03em; font-weight: 500; }
.mfo-drawer__top h2 span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.mfo-lines { flex: 1; overflow-y: auto; padding: 4px 24px 8px; display: flex; flex-direction: column; gap: 18px; }
.mfo-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(29, 26, 22, .1); }
.mfo-line__img { width: 84px; height: 84px; border-radius: 18px; background: var(--tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mfo-line__img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.mfo-line__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mfo-line__name { font-size: 15px; line-height: 1.3; font-weight: 500; }
.mfo-line__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mfo-line__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 2px; }
.mfo-line__row strong { font-size: 15px; font-weight: 500; }
.mfo-line.is-busy { opacity: .55; pointer-events: none; }
.mfo-drawer__foot { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(29, 26, 22, .1); background: rgba(242, 239, 234, .6); }
.mfo-note { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(29, 26, 22, .045); }
.mfo-note strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 500; }
.mfo-note span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--body); }
.mfo-note--warn { background: rgba(180, 56, 11, .08); }
.mfo-note--warn strong { color: var(--accent); }
.mfo-sums { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.mfo-sums div { display: flex; justify-content: space-between; gap: 16px; }
.mfo-sums dt { color: var(--body); }
.mfo-sums dd { font-weight: 500; }
.mfo-sums dd.is-quiet { font-weight: 400; color: var(--body); }
.mfo-checkout { height: 56px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 500; }
.mfo-checkout:hover { background: #000; }
.mfo-small { text-align: center; font-size: 13px; color: var(--muted); }
.mfo-small a { text-decoration: underline; text-underline-offset: 3px; }
.mfo-bagEmpty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--body); }

/* ---------------------------------------------------------------- Mobile menu */
.mfo-menu { position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #E9E5DE; overflow-y: auto; animation: mfo-fade .2s ease; }
.mfo-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 14px; border-radius: 18px; background: #FAF8F4; }
.mfo-menu__top .mfo-logo img { width: 28px; height: 26px; }
.mfo-menu__top .mfo-logo span { font-size: 18px; }
.mfo-menu__card { display: flex; flex-direction: column; padding: 8px 20px; border-radius: 24px; background: #FAF8F4; }
.mfo-menu__row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; font-size: 28px; letter-spacing: -.035em; font-weight: 500; text-align: left; border-top: 1px solid rgba(29, 26, 22, .1); }
.mfo-menu__row:first-child { border-top: 0; }
.mfo-menu__row[aria-expanded="true"] .mfo-i { transform: rotate(180deg); }
.mfo-menu__sub { display: flex; flex-direction: column; padding: 0 0 12px; }
.mfo-menu__sub button { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 9px 0; font-size: 19px; letter-spacing: -.01em; text-align: left; }
.mfo-menu__sub button span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mfo-menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.mfo-menu__small { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--body); padding: 6px; }

/* ---------------------------------------------------------------- Age confirmation */
.mfo-age { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(242, 239, 234, .88); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.mfo-age__card { width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 32px 32px; border-radius: 28px; background: #FAF8F4; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 80px rgba(29, 26, 22, .14); text-align: center; }
.mfo-age__card h2 { font-size: 32px; line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.mfo-age__card p { color: var(--body); }
.mfo-age__btns { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }

/* ---------------------------------------------------------------- Motion */
@keyframes mfo-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes mfo-spin { to { transform: rotate(360deg); } }
@keyframes mfo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mfo-rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes mfo-pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes mfo-slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes mfo-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mfo-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.mfo *, .mfo *::before, .mfo *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
	.mfo-mega__grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.mfo-js-megafeature { display: none; }
}
@media (max-width: 960px) {
	.mfo-hide-sm, .mfo-nav__links, .mfo-search--nav { display: none !important; }
	.mfo-show-sm { display: flex; }
	.mfo-mega { display: none !important; }
	.mfo-nav__tools { margin-left: auto; }
	.mfo-search--bar { display: flex; }
	.mfo-hero { padding-top: 40px; gap: 32px; }
	.mfo-sheet { grid-template-columns: 1fr; }
	.mfo-sheet__media { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
	.mfo-wrap { padding: 0 16px; }
	.mfo-util { display: none; }
	.mfo-nav { padding: 0 10px; top: 10px; margin-top: 10px; }
	.mfo-nav__bar { padding: 6px 6px 6px 14px; border-radius: 18px; gap: 4px; }
	.mfo-logo img { width: 28px; height: 26px; }
	.mfo-logo span { font-size: 18px; }
	.mfo-bagbtn { padding: 0 12px; }
	.mfo-hero { padding-top: 32px; }
	.mfo-hero__text { gap: 18px; }
	.mfo-hero__title { font-size: 76px; }
	.mfo-hero__lead { font-size: 17px; }
	.mfo-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.mfo-stat { padding: 12px 12px 11px; border-radius: 16px; gap: 4px; }
	.mfo-stat__n { font-size: 28px; }
	.mfo-stat__l { font-size: 13px; }
	.mfo-stat__l .mfo-i { display: none; }
	.mfo-heroCard { border-radius: 28px; aspect-ratio: auto; height: 460px; }
	.mfo-heroCard__open { padding-top: 40px; }
	.mfo-heroCard__open img { width: 70%; height: 54%; }
	.mfo-glass__facts div:nth-child(n+3) { display: none; }
	.mfo-glass { left: 12px; right: 12px; bottom: 12px; padding: 14px; gap: 12px; border-radius: 20px; }
	.mfo-glass__name { font-size: 18px; }
	.mfo-glass__price strong { font-size: 18px; }
	.mfo-glass__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
	.mfo-glass__btns .mfo-pill { display: none; }
	.mfo-rail { padding-top: 32px; }
	.mfo-rail__grid { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; gap: 10px; }
	.mfo-rail__grid::-webkit-scrollbar { display: none; }
	.mfo-railItem { flex: none; width: 132px; }
	.mfo-rowsec { padding-top: 64px; }
	.mfo-row { margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; gap: 12px; }
	.mfo-row > * { width: 230px; }
	.mfo-row .mfo-card__media { height: 260px; }
	.mfo-seeall { height: 260px; }
	.mfo-h2 { font-size: 32px; }
	.mfo-head { margin-bottom: 20px; }
	.mfo-night { margin-top: 72px; padding: 64px 0 72px; }
	.mfo-grid, .mfo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
	.mfo-card__media { border-radius: 20px; }
	.mfo-card__name { font-size: 14px; }
	.mfo-card__meta { font-size: 13px; }
	.mfo-card__brand { font-size: 10px; }
	.mfo-price strong { font-size: 15px; }
	.mfo-price s { font-size: 13px; }
	.mfo-few { display: none; }
	.mfo-add { right: 8px; bottom: 8px; }
	.mfo-badges { top: 10px; left: 10px; }
	.mfo-badge { font-size: 10px; padding: 6px 8px; }
	.mfo-all { padding-top: 72px; }
	.mfo-filters { top: 80px; border-radius: 22px; }
	.admin-bar .mfo-filters { top: 126px; }
	.mfo-chips { position: relative; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
	.mfo-chips::-webkit-scrollbar { display: none; }
	.mfo-chip { flex: none; }
	.mfo-filters__tools { width: 100%; margin-left: 0; }
	.mfo-search--bar { flex: 1; min-width: 0; }
	.mfo-foot { margin-top: 88px; }
	.mfo-foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 44px; }
	.mfo-foot__brand { grid-column: 1 / -1; }
	.mfo-bagbar { left: 12px; right: 12px; bottom: 16px; transform: none; justify-content: space-between; animation: mfo-fade .2s ease; }
	.mfo-toast { bottom: 88px; }
	.mfo-sheet { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: calc(100vh - 40px); border-radius: 28px 28px 0 0; animation: mfo-up .28s var(--ease); }
	.mfo-sheet__media { aspect-ratio: auto; height: 280px; margin: 12px 12px 0; border-radius: 22px; }
	.mfo-sheet__media img { width: 230px; height: 230px; }
	.mfo-sheet__body { padding: 18px 16px 24px; gap: 18px; }
	.mfo-sheet__name { font-size: 30px; }
	.mfo-sheet__price strong { font-size: 22px; }
	.mfo-facts { gap: 12px 10px; }
	.mfo-facts dd { font-size: 15px; }
	.mfo-sheet .mfo-buy { position: sticky; bottom: -24px; margin: 0 -16px -24px; padding: 12px 16px 24px; background: rgba(247, 244, 239, .94); border-top: 1px solid rgba(29, 26, 22, .08); }
	.mfo-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: calc(100vh - 40px); height: calc(100vh - 40px); border-radius: 26px 26px 0 0; animation: mfo-up .28s var(--ease); }
}
