/* ==========================================================================
   Homepage (guest): stats strip, tiles, category squares, savings band,
   why-us cards, ever-ready team. Loaded on the front page only.
   ========================================================================== */

/* ---- Stats strip: sits directly under the hero ---- */
.mm-hero { margin-bottom: 0; }
.mm-stats { background: #fff; border-bottom: 1px solid var(--line); margin: 0; }
.mm-stats ul { list-style: none; padding-block: 0; margin-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-stats li { display: flex; align-items: center; gap: 10px; padding: 12px 8px; }
.mm-stats__ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tone-bg); color: var(--tone-fg); }
.mm-stats__ico .mm-ico { width: 19px; height: 19px; }
.mm-stats strong { display: block; font: 800 17px/1.2 var(--display); color: var(--ink); }
.mm-stats small { display: block; font-size: 12.5px; color: var(--mute); }
@media (min-width: 768px) {
	.mm-stats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mm-stats li { justify-content: center; padding: 16px 12px; }
	.mm-stats li + li { border-left: 1px solid var(--line-2); }
}

/* ---- Four tiles ---- */
.mm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mm-tile { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mm-tile:hover { border-color: var(--tone-fg); box-shadow: var(--sh-md); transform: translateY(-2px); }
.mm-tile__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--tone-bg); color: var(--tone-fg); }
.mm-tile__ico .mm-ico { width: 22px; height: 22px; }
.mm-tile strong { display: block; font-size: 14px; line-height: 1.25; }
.mm-tile small { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); line-height: 1.35; }
.mm-tile__arrow { margin-left: auto; flex: none; width: 16px; height: 16px; color: var(--subtle); }
@media (max-width: 767px) {
	.mm-tiles { display: flex; overflow-x: auto; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
	.mm-tiles::-webkit-scrollbar { display: none; }
	.mm-tile { flex: 0 0 76%; max-width: 290px; scroll-snap-align: start; }
}
@media (min-width: 1024px) { .mm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mm-tile { padding: 16px 18px; } }

/* ---- Shop by category: small squares with a round picture ---- */
.mm-cats { display: flex; gap: 10px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.mm-cats::-webkit-scrollbar { display: none; }
.mm-cat { display: flex; flex: 0 0 98px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 112px; padding: 12px 6px 10px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); text-align: center; text-decoration: none !important; scroll-snap-align: start; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mm-cat:hover { border-color: var(--pri-l); box-shadow: var(--sh-md); transform: translateY(-2px); }
.mm-cat__img { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--mist); overflow: hidden; }
.mm-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.mm-cat__img .mm-ico { width: 26px; height: 26px; color: var(--pri); }
.mm-cat__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.mm-cat--all { background: var(--mist); border-color: transparent; }
.mm-cat--all .mm-cat__img { background: var(--pri); }
.mm-cat--all .mm-cat__img .mm-ico { color: #fff; }
@media (min-width: 768px) {
	.mm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); overflow: visible; margin-inline: 0; padding: 0; gap: 12px; }
	.mm-cat { flex: none; aspect-ratio: 1; min-height: 0; }
	.mm-cat__img { width: 68px; height: 68px; }
}

/* ---- Savings band: compact, full ---- */
.mm-savings { position: relative; overflow: hidden; display: grid; gap: 16px; align-items: center; padding: 20px 18px; border-radius: var(--r-xl); background: var(--pri-d); color: #fff; }
.mm-savings::before { content: ""; position: absolute; inset: 0; background: url("../img/pills.svg") 0 0 / 208px 120px repeat; opacity: .1; -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%); }
.mm-savings > * { position: relative; }
.mm-savings__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--mint); }
.mm-savings__big { font: 800 40px/1.05 var(--display); margin-top: 4px; }
.mm-savings p { margin: 6px 0 0; max-width: 34ch; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.mm-savings__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mm-savings__stats div { padding: 12px 6px; text-align: center; border-radius: 14px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); }
.mm-savings__stats strong { display: block; font: 800 21px/1.1 var(--display); }
.mm-savings__stats small { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(255, 255, 255, .8); }
@media (min-width: 900px) {
	.mm-savings { grid-template-columns: 1fr 1.05fr; gap: 32px; padding: 24px 34px; }
	.mm-savings__big { font-size: 46px; }
	.mm-savings__stats strong { font-size: 26px; }
}

/* ---- Why us ---- */
.mm-whyhead { margin-bottom: 20px; }
.mm-whyhead h2 { font-size: 26px; }
.mm-whyhead p { color: var(--mute); }
.mm-why { padding: 22px 16px; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s, box-shadow .15s, transform .15s; }
.mm-why:hover { border-color: var(--tone-fg); box-shadow: var(--sh-md); transform: translateY(-2px); }
.mm-why__ico { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--tone-bg); color: var(--tone-fg); }
.mm-why__ico .mm-ico { width: 24px; height: 24px; }
.mm-why h3 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.mm-why p { margin: 0; font-size: 13px; color: var(--mute); }

/* ---- Ever-ready team ---- */
.mm-ever { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 24px 20px; border-radius: var(--r-lg); background: var(--teal); color: var(--ink); }
.mm-ever::before { content: ""; position: absolute; inset: 0; background: url("../img/pills.svg") 0 0 / 208px 120px repeat; opacity: .14; -webkit-mask-image: linear-gradient(to left, #000, transparent 55%); mask-image: linear-gradient(to left, #000, transparent 55%); }
.mm-ever > * { position: relative; }
.mm-ever .mm-eyebrow { color: var(--ink); opacity: .75; }
.mm-ever h2 { margin: 2px 0 6px; font-size: 26px; color: var(--ink); }
.mm-ever p { margin: 0; font-size: 14px; color: var(--ink); }
.mm-ever__btns { display: flex; gap: 10px; align-items: center; }
.mm-ever__btns .mm-btn--ink { background: var(--ink); color: #fff; }
.mm-ever__call { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); }
@media (min-width: 768px) { .mm-ever { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 34px; } }

/* "Picked for you" (guests: from this browser's recently viewed) */
.mm-picked { padding-block: 12px 4px; }
.mm-picked[hidden] { display: none; }
