/* Product page (round 4, task 05), built on the section kit (kit.css). Only what is
   page specific lives here: the buy area, the numbers, what to know before you take
   it, the research and bundle rows, the dose section's spacing and the bundle swap
   tiles. Heads, buttons, cards, the product grid, the purchase benefits, the dose
   line, the liquid light panels, the ordering band, the reviews list, the questions
   and the email band are the kit's. Colours come from the tokens only. */

/* ---------- Buy area: the first screen, an ink band under the ink header ---------- */
.mm-pd-buy { padding-block: 20px clamp(48px, 5vw, 72px); }
.mm-crumbs ol {
	display: flex; flex-wrap: wrap; margin: 0 0 20px; padding: 0; list-style: none;
	font: 400 14px/1.5 var(--mm-body);
}
.mm-pd-buy .mm-crumbs li { color: var(--mm-on-ink); }
.mm-crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .5; }
.mm-crumbs a { color: inherit; text-decoration: none; }
.mm-crumbs a:hover { color: var(--mm-accent-text); }
.mm-crumbs [aria-current] { color: var(--mm-paper); }
.mm-pd-buy__notices .woocommerce-message, .mm-pd-buy__notices .woocommerce-info, .mm-pd-buy__notices .woocommerce-error { color: var(--mm-ink); }

.mm-pd-buy__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* Gallery: the main photo in a square cell with the kit's mark on it, thumbnails as square buttons. */
.mm-pd-gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mm-pd-gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--mm-cell); }
.mm-pd-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mm-pd-gallery .mm-pd-gallery__mark { padding: 11px 15px 10px; font-size: 16px; }
.mm-pd-gallery__thumbs { display: flex; gap: 12px; margin: -4px -8px -8px -4px; padding: 4px 8px 8px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mm-pd-gallery__thumbs::-webkit-scrollbar { display: none; }
.mm-pd-gallery__thumb {
	display: block; width: 72px; height: 72px; padding: 0; overflow: hidden; cursor: pointer;
	background: var(--mm-cell); border: 2px solid transparent; opacity: .72;
	transition: opacity .2s, border-color .2s;
}
.mm-pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-pd-gallery__thumb:hover { opacity: 1; }
.mm-pd-gallery__thumb.is-on { opacity: 1; border-color: var(--mm-accent); }

/* Info: title, rating, price, potency with its meaning, the description, the form, the benefits. */
.mm-pd-buy__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.mm-pd-buy .mm-pd-buy__title { margin: 0; font: 400 clamp(42px, 4.2vw, 64px)/.9 var(--mm-display); letter-spacing: .01em; text-transform: uppercase; color: var(--mm-paper); text-wrap: balance; }
.mm-pd-buy .mm-pd-buy__rating { margin: 0; }
.mm-pd-buy__rating a { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--mm-body); color: var(--mm-on-ink); text-decoration: none; }
.mm-pd-buy__rating a:hover { color: var(--mm-accent-text); }
.mm-pd-buy .mm-stars { --mm-star-on: var(--mm-green); --mm-star-off: var(--mm-line-ink); }
.mm-pd-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.mm-pd-buy .mm-pd-buy__price p { margin: 0; }
.mm-pd-buy .mm-pd-buy__amount { font: 400 clamp(38px, 3.2vw, 48px)/1 var(--mm-display); letter-spacing: .02em; color: var(--mm-accent-text); }
.mm-pd-buy__amount del { margin-right: 8px; font-size: .62em; color: var(--mm-mute-2); }
.mm-pd-buy__amount ins { text-decoration: none; }
.mm-pd-buy .mm-pd-buy__per, .mm-pd-buy .mm-pd-buy__apart, .mm-pd-buy .mm-pd-buy__save { font: 700 14px/1.4 var(--mm-body); color: var(--mm-on-ink); }
.mm-pd-buy .mm-pd-buy__potency { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
/* The label and the level wrap together, under the meter when the line is short. */
.mm-pd-buy__potency-text { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.mm-pd-buy__potency[hidden] { display: none !important; }
.mm-pd-buy { --mm-card-line: var(--mm-line-ink); }
.mm-pd-buy .mm-meter { grid-template-columns: repeat(10, 14px); gap: 4px; }
.mm-pd-buy .mm-meter__seg { width: 14px; height: 14px; }
.mm-pd-buy__potency-label { font: 700 15px/1 var(--mm-body); color: var(--mm-paper); }
.mm-pd-buy .is-high .mm-pd-buy__potency-label { color: var(--mm-highlight); }
.mm-pd-buy__level { font: 400 15px/1 var(--mm-body); color: var(--mm-on-ink); }
.mm-pd-buy .mm-pd-buy__intro { margin: 2px 0 4px; font: 400 17px/1.6 var(--mm-body); color: var(--mm-on-ink); text-wrap: pretty; }

.mm-pd-buy__form { display: grid; gap: 14px; width: 100%; container-type: inline-size; }
.mm-pd-pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.mm-pd-pick__legend { margin: 0 0 10px; padding: 0; font: 700 14px/1 var(--mm-body); color: var(--mm-on-ink); }
.mm-pd-pick__row { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-pd-pick__opt { position: relative; cursor: pointer; }
.mm-pd-pick__opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mm-pd-pick__face {
	display: grid; justify-items: center; gap: 4px; min-width: 76px; padding: 11px 14px 10px; text-align: center;
	color: var(--mm-paper); border: 1.5px solid rgba(245, 245, 240, .62); transition: background-color .15s, color .15s, border-color .15s;
}
.mm-pd-pick__label { font: 700 14px/1 var(--mm-body); }
.mm-pd-pick__sub { font: 400 14px/1.2 var(--mm-body); opacity: .75; }
.mm-pd-pick__opt:hover .mm-pd-pick__face { background: rgba(245, 245, 240, .1); }
.mm-pd-pick__opt input:checked + .mm-pd-pick__face { color: var(--mm-ink); background: var(--mm-paper); border-color: var(--mm-paper); }
.mm-pd-pick__opt input:focus-visible + .mm-pd-pick__face { outline: 2px solid var(--mm-accent); outline-offset: 2px; }
.mm-pd-pick__opt.is-out { cursor: not-allowed; }
.mm-pd-pick__opt.is-out .mm-pd-pick__face { color: rgba(245, 245, 240, .42); border-color: rgba(245, 245, 240, .2); text-decoration: line-through; background: none; }

.mm-pd-buy__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.mm-pd-qty { display: flex; min-height: 58px; border: 2px solid rgba(245, 245, 240, .62); }
.mm-pd-qty__btn { display: grid; place-items: center; width: 48px; padding: 0; color: var(--mm-paper); background: none; border: 0; cursor: pointer; }
.mm-pd-qty__btn .mm-icon { width: 20px; height: 20px; }
.mm-pd-qty__btn:hover { background: rgba(245, 245, 240, .1); }
.mm-pd-qty__input { width: 48px; padding: 0; text-align: center; color: var(--mm-paper); background: none; border: 0; font: 700 15px/1 var(--mm-body); -moz-appearance: textfield; appearance: textfield; }
.mm-pd-qty__input::-webkit-inner-spin-button, .mm-pd-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mm-pd-buy__add { flex: 1 1 200px; justify-content: center; min-height: 58px; padding-left: 26px; font-size: 18px; }
.mm-pd-buy .mm-restock__btn { justify-content: center; }
.mm-pd-wish { display: grid; place-items: center; width: 58px; min-height: 58px; padding: 0; color: var(--mm-paper); background: none; border: 2px solid rgba(245, 245, 240, .62); cursor: pointer; transition: color .15s, background-color .15s, border-color .15s; }
.mm-pd-wish .mm-icon { width: 24px; height: 24px; }
.mm-pd-wish:hover { color: var(--mm-accent-text); border-color: var(--mm-accent); }
.mm-pd-wish[aria-pressed='true'] { color: var(--mm-ink); background: var(--mm-accent); border-color: var(--mm-accent); }
.mm-pd-wish[aria-pressed='true'] .mm-icon { fill: currentColor; }
.mm-pd-buy .mm-pd-buy__swapnote, .mm-pd-buy .mm-pd-buy__status { margin: 0; font: 400 14px/1.5 var(--mm-body); color: var(--mm-on-ink); }
.mm-pd-buy__status:empty { display: none; }
.mm-pd-buy .mm-pd-buy__status.is-error, .mm-pd-buy .mm-pd-buy__swapnote.is-alert { color: var(--mm-highlight-text); }

/* Sold out: one line, then the kit's back in stock form in place of the button. In a
   narrow column (phones, the tablet column from 768 px) the button goes under the field,
   full width, before the field cuts its placeholder (rollout S8 width check). */
.mm-pd-soon { display: grid; gap: 12px; width: 100%; container-type: inline-size; }
.mm-pd-buy .mm-pd-soon__text { margin: 0; font: 700 16px/1.5 var(--mm-body); color: var(--mm-paper); }
@container (max-width: 459px) {
	.mm-pd-soon .mm-restock--page { grid-template-columns: minmax(0, 1fr); }
}

/* A narrow form (phones, the tablet column): Add to cart takes its own row first, then the
   quantity and the wishlist share the next one at full tap size. */
@container (max-width: 459px) {
	.mm-pd-buy__actions .mm-pd-buy__add { flex-basis: 100%; order: -1; }
	.mm-pd-qty { flex: 1; justify-content: space-between; }
}

/* The purchase benefits (kit) directly under the button, set apart by space alone (no divider). */
.mm-pd-buy .mm-pd-buy__benefits { margin-top: 24px; }

@media (max-width: 760px) {
	.mm-pd-buy__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
	.mm-pd-buy { padding-top: 14px; }
	.mm-crumbs ol { margin-bottom: 14px; }
	.mm-pd-gallery__thumb { width: 60px; height: 60px; }
	/* The product's own name is the title right under, so the trail stops at its category. */
	.mm-crumbs li:has([aria-current]) { display: none; }
	.mm-pd-buy .mm-pd-buy__intro { font-size: 16px; }
	.mm-restock--page { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- The numbers (Ben's pick of three, 28 Oct 2026): the potency as one wide led scale
   that lights up in turn (product.js), the rating and the level over it, the strain across from
   them; the other figures as large type under it, no boxes and no rules. ---------- */
.mm-num { display: grid; gap: 18px; }
.mm-num p { margin: 0; }
.mm-num__top { display: grid; gap: 28px; }
.mm-num__rate { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 28px; margin-top: 6px; }
.mm-num__top .mm-num__fig { max-width: 440px; }
.mm-num .mm-num__label { margin: 0; font: 400 24px/1 var(--mm-display); letter-spacing: .02em; text-transform: uppercase; color: var(--mm-accent-text); }
.mm-num .mm-num__pot { font: 400 clamp(120px, 15vw, 210px)/.8 var(--mm-display); color: var(--mm-accent-text); }
.mm-num.is-high .mm-num__pot { color: var(--mm-highlight-text); }
.mm-num__pot span { margin-left: 6px; font-size: .3em; color: var(--mm-ink); }
.mm-band--ink .mm-num__pot span { color: var(--mm-paper); }
.mm-num .mm-num__level { display: grid; gap: 4px; padding-bottom: 8px; font: 600 15px/1.3 var(--mm-body); color: inherit; }
.mm-num__level strong { font: 400 clamp(34px, 3.4vw, 48px)/.95 var(--mm-display); text-transform: uppercase; }
.mm-num__scale { display: grid; gap: 12px; }
.mm-num__meter { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(4px, .6vw, 8px); }
.mm-num__meter i { display: block; height: clamp(44px, 6vw, 88px); background: color-mix(in srgb, currentColor 12%, transparent); transition: background-color .35s ease calc(var(--k) * 80ms + .1s); }
.mm-num__meter i.is-on { background: var(--mm-accent); }
.mm-num__meter i.is-half { background: linear-gradient(90deg, var(--mm-accent) 50%, color-mix(in srgb, currentColor 12%, transparent) 50%); }
.is-high .mm-num__meter i.is-on { background: var(--mm-highlight); }
.is-high .mm-num__meter i.is-half { background: linear-gradient(90deg, var(--mm-highlight) 50%, color-mix(in srgb, currentColor 12%, transparent) 50%); }
.mm-js .mm-num:not(.is-in) .mm-num__meter i { background: color-mix(in srgb, currentColor 12%, transparent); }
.mm-num__zones { display: flex; gap: 5px; }
.mm-num__zones span { flex: var(--mm-span) 1 0; font: 700 14px/1.3 var(--mm-body); opacity: .6; }
.mm-num__zones .is-on { opacity: 1; }
.mm-num__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px clamp(28px, 3vw, 48px); margin-top: clamp(36px, 4vw, 60px); }
.mm-num__fig { display: grid; align-content: start; gap: 8px; min-width: 0; }
.mm-num .mm-num__pre { font: 700 14px/1.2 var(--mm-body); color: inherit; }
.mm-num .mm-num__big { font: 400 clamp(52px, 5vw, 80px)/.9 var(--mm-display); text-transform: uppercase; color: var(--mm-ink); }
.mm-band--ink .mm-num .mm-num__big { color: var(--mm-paper); }
.mm-num .is-name .mm-num__big { font-size: clamp(40px, 3.6vw, 56px); }
.mm-num .mm-num__note { font: 400 15px/1.6 var(--mm-body); color: var(--mm-mute); }
.mm-band--ink .mm-num .mm-num__note { color: var(--mm-on-ink); }
.mm-num__fig .mm-tbc { font-size: 14px; }
@media (min-width: 861px) {
	.mm-num__top { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.mm-num__meter i { transition: none; }
}

/* ---------- How it feels: the kit head's paragraph over the liquid light panels ---------- */
.mm-pd-feels .mm-head { max-width: 860px; }
.mm-pd-feels .mm-head__lead { max-width: 64ch; font-size: clamp(17px, 1.3vw, 19px); }
.mm-band--ink.mm-pd-feels .mm-head__lead { color: var(--mm-paper); }

/* ---------- How to dose it: the kit's dose line, the protocols as question rows ---------- */
.mm-pd-lead { max-width: 60ch; margin: calc(var(--mm-head-gap) * -1 + 18px) auto var(--mm-head-gap); text-align: center; font-size: var(--mm-text); line-height: 1.7; }
.mm-band--light .mm-pd-lead { color: var(--mm-mute); }
.mm-pd-dose__notes { max-width: 860px; margin: clamp(40px, 4vw, 56px) auto 0; }
.mm-pd-dose .mm-pd-dose__close { max-width: 70ch; margin: 24px auto 0; text-align: center; font-size: 15px; line-height: 1.7; }

/* ---------- What to know before you take it (Ben's pick, 28 Oct 2026: "Do A in black", always
   the ink band, mm_pd_tones()): the description as topics (mm_pd_before_topics()), liquid light
   strips side by side, one open at a time (product.js). A closed strip shows its title on its
   side; the open one its title on the field and, beside it on the quiet surface, the list as
   Bebas words and the text. On phones the strips stack as bars that open. ---------- */
.mm-know { --know-surface: var(--mm-cell); --know-text: var(--mm-ink); display: grid; gap: 8px; }
.mm-band--ink .mm-know { --know-surface: var(--mm-cell-ink); --know-text: var(--mm-on-ink); }
.mm-know p { margin: 0; }
.mm-know__strip { display: grid; min-width: 0; }
.mm-know__head { margin: 0; }
.mm-know__btn { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; width: 100%; min-height: 84px; padding: 18px 20px; border: 0; border-radius: 0; background: var(--mm-ink); color: var(--mm-paper); font: inherit; text-align: left; cursor: pointer; }
.mm-know__btn::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(13, 13, 13, .62) 0%, rgba(13, 13, 13, .16) 60%, rgba(13, 13, 13, .04) 100%); transition: background-color .3s ease; }
.mm-know__btn > :not(.mm-field) { position: relative; z-index: 2; }
.mm-know__btn:focus-visible { outline: 3px solid var(--mm-accent); outline-offset: -3px; }
.mm-know__strip:not(.is-open) .mm-know__btn:hover::after { background-color: rgba(13, 13, 13, .2); }
.mm-know__title { font: 400 clamp(26px, 2.4vw, 36px)/.95 var(--mm-display); letter-spacing: .01em; text-transform: uppercase; color: var(--mm-paper); }
.mm-know__body { display: grid; gap: 22px; align-content: start; padding: 24px 20px 28px; background: var(--know-surface); }
.mm-js .mm-know__strip:not(.is-open) .mm-know__body { display: none; }
.mm-know .mm-know__lead { max-width: 46ch; font: 600 15px/1.45 var(--mm-body); color: var(--know-text); }
.mm-know .mm-know__words { display: grid; gap: 2px; margin-top: 8px; color: var(--mm-accent-text); }
.mm-know__words span { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--mm-display); text-transform: uppercase; }
.mm-know__text { display: grid; gap: 14px; }
.mm-know .mm-know__text p { max-width: 68ch; font: 400 var(--mm-text)/1.7 var(--mm-body); color: var(--know-text); }
.mm-know__text strong { font-weight: 700; }
.mm-know__text a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--mm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mm-know__text a:hover { color: var(--mm-accent-text); }
@media (min-width: 861px) {
	.mm-know { display: flex; min-height: 540px; }
	.mm-know__strip { display: flex; flex: 0 0 96px; overflow: hidden; transition: flex-grow .6s var(--mm-ease-out), flex-basis .6s var(--mm-ease-out); }
	.mm-know__strip.is-open { flex: 1 1 0; }
	.mm-know__strip.is-open .mm-know__body { animation: mm-know-fade .45s ease .25s both; }
	.mm-know__head { display: flex; flex: 1 0 100%; }
	.mm-know__strip.is-open .mm-know__head { flex: 0 0 clamp(240px, 34%, 400px); }
	.mm-know__btn { min-height: 0; padding: 28px 24px; }
	.mm-know__strip:not(.is-open) .mm-know__title { max-height: 100%; font-size: 28px; writing-mode: vertical-rl; transform: rotate(180deg); }
	.mm-know__strip.is-open .mm-know__title { font-size: clamp(36px, 3.6vw, 56px); }
	.mm-know__strip.is-open .mm-know__btn { cursor: default; }
	.mm-know__body { flex: 1 1 0; min-width: 440px; align-content: center; padding: clamp(28px, 3vw, 48px); }
}
@keyframes mm-know-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.mm-know__strip { transition: none; }
	.mm-know__strip.is-open .mm-know__body { animation: none; }
}

/* ---------- The research (Ben's pick of three, 28 Oct 2026): the studies on the carousel, each a
   liquid light field (the condition, the headline result) over the finding and its source on
   the band's quiet surface. ---------- */
.mm-rs { --rs-surface: var(--mm-cell); --rs-text: var(--mm-ink); }
.mm-band--ink .mm-rs { --rs-surface: var(--mm-cell-ink); --rs-text: var(--mm-on-ink); }
.mm-rs p { margin: 0; }
.mm-rs__item { display: flex; flex-direction: column; background: var(--rs-surface); }
.mm-rs__field { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(260px, 22vw, 300px); padding: 22px; background: var(--mm-ink); color: var(--mm-paper); }
.mm-rs__field::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(13, 13, 13, .62) 0%, rgba(13, 13, 13, .14) 50%, rgba(13, 13, 13, 0) 75%); }
.mm-rs .mm-rs__field > p { position: relative; z-index: 2; color: var(--mm-paper); }
.mm-rs__field > .mm-rs__word { position: absolute; top: 22px; left: 22px; right: 22px; z-index: 2; margin: 0; font: 400 26px/1 var(--mm-display); letter-spacing: .01em; text-transform: uppercase; color: var(--mm-paper); }
.mm-rs__big { font: 400 clamp(56px, 22cqi, 96px)/.85 var(--mm-display); text-transform: uppercase; }
.mm-rs .mm-rs__say { margin-top: 8px; font: 600 15px/1.4 var(--mm-body); }
.mm-rs__words { display: flex; flex: 1 1 auto; flex-direction: column; gap: 16px; padding: 22px; }
.mm-rs__text { font-size: var(--mm-text-sm); line-height: 1.65; color: var(--rs-text); }
.mm-rs .mm-rs__src { margin-top: auto; font: 700 14px/1.5 var(--mm-body); }

/* ---------- Bundle: what's inside, the swap tiles for a sold out item ---------- */
.mm-pd-swap { min-width: 0; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; border: 0; }
.mm-pd-swap__legend { display: block; max-width: 30ch; margin: 0 auto 22px; padding: 0; text-align: center; font: 400 clamp(26px, 2.4vw, 34px)/1 var(--mm-display); text-transform: uppercase; text-wrap: balance; }
.mm-pd-swap__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px var(--mm-grid-gap); }
.mm-pd-swap__opt { position: relative; min-width: 0; cursor: pointer; }
.mm-pd-swap__opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mm-pd-swap__face { display: grid; gap: 8px; text-align: center; }
.mm-pd-swap__pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--mm-cell); border: 2px solid transparent; transition: border-color .2s; }
.mm-pd-swap__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mm-reveal-ease); }
.mm-pd-swap__check { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; color: transparent; background: var(--mm-paper); border: 2px solid var(--mm-ink); }
.mm-pd-swap__check .mm-icon { width: 17px; height: 17px; stroke-width: 2.8; }
.mm-pd-swap__name { font: 700 14px/1.35 var(--mm-body); }
.mm-pd-swap__price { font: 400 14px/1.3 var(--mm-body); opacity: .72; }
.mm-pd-swap__opt:hover .mm-pd-swap__pic img { transform: scale(1.04); }
.mm-pd-swap__opt input:checked + .mm-pd-swap__face .mm-pd-swap__pic { border-color: var(--mm-ink); }
.mm-band--ink .mm-pd-swap__opt input:checked + .mm-pd-swap__face .mm-pd-swap__pic { border-color: var(--mm-accent); }
.mm-pd-swap__opt input:checked + .mm-pd-swap__face .mm-pd-swap__check { color: var(--mm-ink); background: var(--mm-accent); }
.mm-pd-swap__opt input:focus-visible + .mm-pd-swap__face .mm-pd-swap__pic { outline: 2px solid var(--mm-accent); outline-offset: 3px; }
.mm-pd-inside .mm-pd-swap__done { margin: 20px 0 0; text-align: center; font: 700 14px/1.5 var(--mm-body); color: var(--mm-accent-text); }
@media (max-width: 900px) {
	.mm-pd-swap__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
}

/* Category names run long ("Shop all Extra-Strength Shroom Capsules"): on a phone the foot button wraps inside the screen. */
@media (max-width: 600px) {
	.mm-pd .mm-foot .mm-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
	.mm-pd-gallery__thumb, .mm-pd-pick__face, .mm-pd-wish, .mm-pd-swap__pic, .mm-pd-swap__pic img { transition: none; }
}

/* ---------- Bundle: What's inside and How to use it over time (Ben's pick of three directions each,
   28 Oct 2026: "A"). Parts that light in turn carry data-mm-lit (mm_pd_lit_script()); without the
   script they show lit. ---------- */
.mm-ia__pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--mm-cell); }
.mm-ia__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mm-reveal-ease); }
a.mm-ia__pic:hover img { transform: scale(1.04); }
.mm-ia p, .mm-ua p, .mm-ia__price p { margin: 0; }

/* What's inside A, Unpacked: picture over a liquid light field per item, the price as two bars. */
.mm-ia { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--mm-grid-gap); margin: 0; padding: 0; list-style: none; }
.mm-ia__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-width: 0; }
.mm-ia__pic { aspect-ratio: auto; height: 100%; min-height: 112px; }
.mm-ia__pic img { object-fit: contain; } /* a stretched cell shows the whole photo on its own ground */
.mm-ia__field { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; color: var(--mm-paper); background: var(--mm-ink); }
.mm-ia__field::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(13, 13, 13, .62) 0%, rgba(13, 13, 13, .22) 60%, rgba(13, 13, 13, .1) 100%); }
.mm-ia__field > :not(.mm-field) { position: relative; z-index: 2; }
.mm-ia .mm-ia__name { margin: 0; font: 400 22px/1 var(--mm-display); letter-spacing: .01em; text-transform: uppercase; color: var(--mm-paper); }
.mm-ia__name a { color: inherit; text-decoration: none; }
.mm-ia__name a:hover { text-decoration: underline; text-decoration-color: var(--mm-accent); text-underline-offset: 4px; }
.mm-ia .mm-ia__amount { font: 400 clamp(30px, 3vw, 46px)/.95 var(--mm-display); text-transform: uppercase; color: var(--mm-paper); }
.mm-ia .mm-ia__pot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 700 14px/1.2 var(--mm-body); color: var(--mm-paper); }
.mm-ia__leds { display: grid; grid-template-columns: repeat(10, 12px); gap: 3px; }
.mm-ia__leds i { display: block; height: 12px; background: rgba(245, 245, 240, .26); }
.mm-ia__leds i.is-on { background: var(--mm-accent); }
.mm-ia__leds i.is-half { background: linear-gradient(90deg, var(--mm-accent) 50%, rgba(245, 245, 240, .26) 50%); }
.mm-ia__leds.is-high i.is-on { background: var(--mm-highlight); }
.mm-ia__leds.is-high i.is-half { background: linear-gradient(90deg, var(--mm-highlight) 50%, rgba(245, 245, 240, .26) 50%); }
.mm-ia .mm-ia__src { margin-top: auto; font: 400 13px/1.5 var(--mm-body); color: rgba(245, 245, 240, .88); }
.mm-ia__price { display: grid; gap: 22px; margin-top: clamp(36px, 4vw, 56px); }
.mm-ia__bars { display: grid; gap: 10px; }
.mm-pd-inside .mm-ia__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: calc(var(--w) * 100%); padding: 14px 18px; font: 600 15px/1.2 var(--mm-body); color: inherit; background: color-mix(in srgb, currentColor 10%, transparent); clip-path: inset(0); transition: clip-path .9s var(--mm-reveal-ease); }
.mm-ia__bar strong { font: 400 clamp(28px, 2.6vw, 38px)/1 var(--mm-display); white-space: nowrap; }
.mm-pd-inside .mm-ia__bar.is-bundle { color: var(--mm-ink); background: var(--mm-accent); transition-delay: .35s; }
.mm-js .mm-ia__price:not(.is-lit) .mm-ia__bar { clip-path: inset(0 100% 0 0); }
.mm-pd-inside .mm-ia__save { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font: 400 clamp(56px, 6vw, 96px)/.85 var(--mm-display); color: var(--mm-accent-text); }
.mm-ia__save span { font: 700 16px/1.2 var(--mm-body); color: var(--mm-ink); }
.mm-band--ink .mm-ia__save span { color: var(--mm-paper); }
@media (min-width: 700px) {
	.mm-ia { grid-template-columns: repeat(var(--mm-ia-n, 3), minmax(0, 1fr)); }
	.mm-ia__item { grid-template-columns: none; grid-template-rows: auto 1fr; }
	.mm-ia__pic { aspect-ratio: 1; height: auto; }
	.mm-ia__pic img { object-fit: cover; }
	.mm-ia__field { min-height: 300px; padding: 24px; gap: 14px; }
	.mm-ia .mm-ia__name { font-size: 26px; }
}
@media (min-width: 861px) {
	.mm-ia__price { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(32px, 4vw, 64px); }
	.mm-pd-inside .mm-ia__save { flex-direction: column; align-items: flex-end; text-align: right; }
}

/* How to use A, The path: the items as stops on one led line, each a tile; lights in turn. */
.mm-ua { position: relative; display: grid; gap: 12px; margin: 0; padding: 0 0 0 34px; list-style: none; }
.mm-ua::before, .mm-ua::after { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: currentColor; opacity: .22; }
.mm-ua::after { background: var(--mm-accent); opacity: 1; transform-origin: top; transition: transform calc(var(--mm-ua-n, 3) * .45s) linear .1s; }
.mm-js .mm-ua:not(.is-lit)::after { transform: scaleY(0); }
.mm-ua__stop { position: relative; min-width: 0; }
.mm-ua__mark { position: absolute; left: -34px; top: 22px; z-index: 1; width: 16px; height: 16px; background: var(--mm-accent); transition: background-color .3s, box-shadow .3s; transition-delay: calc(var(--i) * .45s + .2s); }
.mm-js .mm-ua:not(.is-lit) .mm-ua__mark { background: var(--mm-band-bg, var(--mm-paper)); box-shadow: inset 0 0 0 2px currentColor; }
.mm-ua__tile { display: grid; align-content: start; gap: 8px; height: 100%; padding: 20px; background: var(--mm-cell); transition: opacity .5s, transform .5s var(--mm-reveal-ease); transition-delay: calc(var(--i) * .45s + .2s); }
.mm-band--ink .mm-ua__tile { background: var(--mm-cell-ink); }
.mm-js .mm-ua:not(.is-lit) .mm-ua__tile { opacity: .35; transform: translateY(10px); }
.mm-ua .mm-ua__title { margin: 0; font: 400 clamp(22px, 1.9vw, 28px)/.95 var(--mm-display); letter-spacing: .01em; text-transform: uppercase; }
.mm-ua .mm-ua__dose { margin-top: 10px; font: 400 clamp(44px, 4.4vw, 68px)/.9 var(--mm-display); text-transform: uppercase; color: var(--mm-accent-text); }
.mm-ua .mm-ua__level { font: 700 15px/1.3 var(--mm-body); color: inherit; }
.mm-ua .mm-ua__space { font: 400 15px/1.6 var(--mm-body); color: var(--mm-mute); }
.mm-band--ink .mm-ua .mm-ua__space { color: var(--mm-on-ink); }
@media (min-width: 861px) {
	.mm-ua { grid-template-columns: repeat(var(--mm-ua-n, 3), minmax(0, 1fr)); column-gap: var(--mm-grid-gap); padding: 32px 0 0; }
	.mm-ua::before, .mm-ua::after { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
	.mm-ua::after { transform-origin: left; }
	.mm-js .mm-ua:not(.is-lit)::after { transform: scaleX(0); }
	.mm-ua__mark { left: 0; top: -32px; }
	.mm-ua__tile { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.mm-ia__pic img, .mm-ia__bar, .mm-ua::after, .mm-ua__mark, .mm-ua__tile { transition: none; }
}
