/**
 * MN International — shop.css
 *
 * Homepage blocks, product card, archive, PDP, cart, checkout.
 * Loaded only where there is a catalogue (inc/enqueue.php).
 */

/* ==========================================================================
   1. B01 — Hero
   ========================================================================== */

/* Black copy panel. The brand gold only works on black, and the display line
   is the one place the gold should be at full strength. Continuous with the
   black header above it - the whole top of the page reads as one field, which
   is the luxury-retail convention and what the logo asks for. */
.mn-hero { background: var(--color-chrome); overflow: hidden; }

.mn-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.mn-hero__panel {
	display: flex; align-items: center;
	padding: var(--space-9) var(--space-5) var(--space-8);
	background: var(--color-chrome);
	color: var(--color-ink);
}

.mn-hero__copy {
	width: 100%;
	max-width: calc(var(--container) / 2);
	margin-left: auto;
	padding-right: var(--space-5);
}

.mn-hero__eyebrow {
	display: flex; align-items: center; gap: var(--space-4);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	/* Full-strength accent here, not accent-deep: on the black panel the brand
	   gold measures 8.2:1, so it carries body-size text comfortably. The
	   accent/accent-deep split is about the LIGHT ground, not about size. */
	color: var(--color-accent-deep);
	margin-bottom: var(--space-5);
}
.mn-hero__eyebrow-rule { width: 34px; height: 2px; background: var(--color-accent); }

.mn-hero__title {
	font-size: var(--step-5);
	/* The logo is a LIGHT geometric sans, widely letterspaced. A heavy, tight
	   headline beside it would read as a different brand, so the display face
	   follows the wordmark: light weight, open tracking. */
	font-weight: 300;
	letter-spacing: .04em;
	line-height: 1.02;
	text-transform: uppercase;
	margin-bottom: var(--space-5);
	color: var(--color-ink);
}

.mn-hero__title-a,
.mn-hero__title-b { display: block; }

/* The gold line. On black this is 8.2:1 - no caveat needed. */
.mn-hero__title-b { color: var(--color-accent-deep); }

.mn-hero__kicker {
	display: flex; align-items: center; gap: var(--space-4);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-ink-muted);
	margin-bottom: var(--space-7);
}
.mn-hero__kicker-rule { width: 28px; height: 1px; background: currentColor; flex: none; }

/* On the black panel the primary button would be black on black. Gold fill,
   black type: 8.2:1, and it is the single strongest call to action on the page. */
.mn-hero__cta {
	padding-inline: var(--space-8);
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-primary);
}
.mn-hero__cta:hover {
	background: var(--color-primary-contrast);
	border-color: var(--color-primary-contrast);
	color: var(--color-primary);
}

/* Phones: 3:2, not 4:3. The copy panel already sits above the picture, and
   every pixel of hero height pushes the first products further down. */
.mn-hero__media { position: relative; aspect-ratio: 3 / 2; }
.mn-hero__img { width: 100%; height: 100%; object-fit: cover; }

.mn-hero__placeholder {
	width: 100%; height: 100%;
	display: grid; place-items: center;
	background:
		radial-gradient(ellipse at 68% 34%, var(--color-border) 0%, transparent 60%),
		linear-gradient(155deg, var(--color-secondary) 0%, var(--color-primary) 100%);
	color: var(--color-ink);
	text-align: center;
	padding: var(--space-6);
}

.mn-hero__placeholder-note {
	font-size: var(--step--1);
	line-height: 1.8;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	opacity: .82;
}
.mn-hero__placeholder-note strong { font-weight: 700; }
.mn-hero__placeholder-note em { font-style: normal; opacity: .7; text-transform: none; letter-spacing: normal; }

.mn-hero__badge {
	position: absolute;
	top: 50%; left: 0;
	transform: translate(-50%, -50%);
	width: clamp(88px, 16vw, 132px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-primary);
	display: grid; place-items: center;
	text-align: center;
	box-shadow: 0 0 0 1px rgba(11,11,11,.35);
}

.mn-hero__badge-text {
	font-family: var(--font-display);
	font-size: clamp(.72rem, .6rem + .5vw, .95rem);
	font-weight: 500;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .02em;
}

@media (max-width: 767px) {
	/* On a phone the badge would sit off the left edge; move it inside. */
	.mn-hero__badge { left: auto; right: var(--space-5); top: var(--space-5); transform: none; }
}

@media (min-width: 768px) {
	.mn-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
	.mn-hero__panel { padding: var(--space-10) var(--space-7); }
	.mn-hero__media { aspect-ratio: auto; min-height: 540px; }
}

@media (min-width: 1280px) {
	.mn-hero__media { min-height: 620px; }
}

/* --- Hero slider -----------------------------------------------------------
   Slides are stacked in one grid cell and crossfade. Stacking, rather than a
   sliding strip, keeps the hero ONE height whichever slide is showing, so
   autoplay never shoves the rest of the page up and down (no layout shift).
   On tablet and up slide 1 (the split hero) sets that height; banner slides
   fit inside it. */

.mn-hero { position: relative; }
.mn-hero__track { display: grid; }
.mn-hero__slide { grid-area: 1 / 1; min-width: 0; }
.mn-hero__slide > .mn-hero__grid { height: 100%; }

.mn-hero--slider .mn-hero__slide {
	opacity: 0;
	visibility: hidden;                 /* also removes it from tab order + a11y tree */
	transition: opacity .7s ease, visibility 0s linear .7s;
}
.mn-hero--slider .mn-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .7s ease, visibility 0s;
}

/* Banner slide: copy panel + finished artwork. The artwork has its prices
   and dates baked in, so it is shown whole - never object-fit: cover, which
   would cut them off - and aligned right. Phones: banner on top, copy under. */
.mn-hero__split {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--color-chrome);
}
.mn-hero__split > .mn-hero__banner { order: -1; }
.mn-hero__split > .mn-hero__panel {
	flex: 1;
	/* Room under the button for the slider controls. */
	padding-bottom: calc(var(--space-9) + var(--space-5));
}

.mn-hero__banner {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--color-primary);
}
.mn-hero__banner-img { display: block; width: 100%; height: auto; }

/* Second-slide headline one step down: slide 1 carries the page's h1, and
   the panel here is narrower beside a wide banner. */
.mn-hero__title--secondary { font-size: var(--step-4); }

@media (min-width: 768px) {
	.mn-hero__split {
		display: grid;
		grid-template-columns: minmax(300px, 1fr) minmax(0, 1.85fr);
	}
	.mn-hero__split > .mn-hero__banner { order: 0; }
	.mn-hero__split > .mn-hero__panel { padding: var(--space-9) var(--space-6) var(--space-9) var(--space-7); }
	.mn-hero__split .mn-hero__copy { max-width: 460px; margin-left: auto; padding-right: 0; }

	/* Out of flow, so the banner never makes the hero taller than slide 1. */
	.mn-hero__banner-img {
		position: absolute; inset: 0;
		z-index: 1;
		height: 100%;
		object-fit: contain;
		object-position: right center;
	}
	/* Where the box is a different shape from the 3:2 artwork, the spare
	   space is filled with the same artwork blurred and dimmed, so it reads
	   as the banner's backdrop rather than as letterbox bars. */
	.mn-hero__banner::before {
		content: "";
		position: absolute; inset: -48px;
		background: var(--mn-banner) center / cover no-repeat;
		filter: blur(36px) brightness(.5) saturate(1.1);
	}
}

@media (min-width: 1280px) {
	.mn-hero__split > .mn-hero__panel { padding-left: var(--space-9); }
}

/* --- Overlay slide: full-width picture, words on top -----------------------
   Same height as a split slide, so the hero does not jump when it changes.
   The scrim is what keeps white and gold text readable on ANY photograph:
   it is a darkening, not a colour, so the picture still reads as itself. */
.mn-hero__slide--overlay,
.mn-hero__slide--banner { display: grid; }
.mn-hero__slide > .mn-hero__overlay,
.mn-hero__slide > .mn-hero__full { align-self: stretch; }

.mn-hero__overlay {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 520px;
	overflow: hidden;
	background: var(--color-primary);
	color: var(--color-primary-contrast);
}
.mn-hero__overlay picture { display: contents; }
.mn-hero__overlay-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.mn-hero__overlay::after {
	content: "";
	position: absolute; inset: 0;
	/* Phones: words sit at the bottom, so darken from the bottom up. */
	background: linear-gradient(0deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.45) 55%, rgba(11,11,11,.10) 100%);
}
.mn-hero__overlay-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: var(--space-9) calc(var(--space-9) + var(--space-6));   /* room for the slider controls */
}
.mn-hero__overlay .mn-hero__copy { margin: 0; max-width: 560px; padding: 0; }
.mn-hero__overlay .mn-hero__kicker { color: rgba(255,255,255,.78); }

.mn-hero__overlay--center { text-align: center; }
.mn-hero__overlay--center .mn-hero__copy { margin-inline: auto; }
.mn-hero__overlay--center .mn-hero__eyebrow,
.mn-hero__overlay--center .mn-hero__kicker { justify-content: center; }

@media (min-width: 768px) {
	.mn-hero__overlay { align-items: center; min-height: 540px; }
	.mn-hero__overlay-inner { padding-block: var(--space-10); }
	/* Desktop, words on the left: darken the left, leave the right clear. */
	.mn-hero__overlay--left::after {
		background: linear-gradient(90deg, rgba(11,11,11,.80) 0%, rgba(11,11,11,.50) 45%, rgba(11,11,11,0) 78%);
	}
	.mn-hero__overlay--center::after { background: rgba(11,11,11,.50); }
}
@media (min-width: 1280px) {
	.mn-hero__overlay { min-height: 620px; }
}

/* --- Banner-only slide: the artwork IS the content ---------------------------
   It shows at its own shape (--mn-ar, from the image), full width, nothing
   cut off. Where its box is a different shape — a taller slide beside it, or
   the height cap below — it is shown whole and centred over a blurred, dimmed
   copy of itself, the same treatment as a finished banner in a split slide. */
.mn-hero__full {
	position: relative;
	display: block;
	width: 100%;                        /* an aspect-ratio box would otherwise shrink to fit its height */
	overflow: hidden;
	aspect-ratio: var(--mn-ar, 16 / 7);
	background: var(--color-primary);
}
.mn-hero__full picture { display: contents; }
.mn-hero__full::before {
	content: "";
	position: absolute; inset: -48px;
	background: var(--mn-banner) center / cover no-repeat;
	filter: blur(36px) brightness(.5) saturate(1.1);
}
.mn-hero__full-img {
	position: absolute; inset: 0;
	z-index: 1;
	width: 100%; height: 100%;
	object-fit: contain;
}
/* A tall artwork must not push the shop below the fold: past this height it
   is shown whole inside the box, over its own blurred backdrop. */
@media (min-width: 768px) { .mn-hero__full { max-height: 620px; } }
.mn-hero__full:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -4px; }

/* Controls: one dark pill, bottom right - over the photograph on slide 1,
   clear of the copy panel and the offer badge. */
.mn-hero__controls {
	position: absolute;
	right: var(--space-5);
	bottom: var(--space-5);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: var(--space-1);
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-pill);
	background: rgba(11, 11, 11, .66);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--color-primary-contrast);
}
.mn-hero__controls[hidden] { display: none; }

.mn-hero__ctl,
.mn-hero__dot {
	display: inline-grid;
	place-items: center;
	height: 44px;                       /* touch target */
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.mn-hero__ctl { width: 44px; border-radius: 50%; }
.mn-hero__ctl svg { width: 20px; height: 20px; }
.mn-hero__ctl:hover { color: var(--color-accent); }

.mn-hero__dots { display: inline-flex; }
.mn-hero__dot { width: 24px; }
.mn-hero__dot::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .55);
	transition: width .3s ease, background-color .3s ease;
}
.mn-hero__dot[aria-current="true"]::before { width: 20px; background: var(--color-accent); }
.mn-hero__dot:hover::before { background: var(--color-primary-contrast); }
.mn-hero__dot[aria-current="true"]:hover::before { background: var(--color-accent); }
.mn-hero__dots .mn-hero__dot[aria-current="true"] { width: 32px; }

.mn-hero__ico-play { display: none; }
.mn-hero.is-paused .mn-hero__ico-pause { display: none; }
.mn-hero.is-paused .mn-hero__ico-play { display: block; }

.mn-hero__ctl:focus-visible,
.mn-hero__dot:focus-visible,
.mn-hero__banner:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: -2px;
}

@media (min-width: 768px) {
	.mn-hero__controls { right: var(--space-7); bottom: var(--space-7); }
}

@media (prefers-reduced-motion: reduce) {
	.mn-hero--slider .mn-hero__slide,
	.mn-hero--slider .mn-hero__slide.is-active,
	.mn-hero__dot::before { transition: none; }
}

/* ==========================================================================
   2. B03 — Category strip
   ========================================================================== */

.mn-catstrip__list {
	display: flex;
	gap: var(--space-4);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: var(--space-3);
	scrollbar-width: thin;
}

.mn-catstrip__item { flex: 0 0 auto; scroll-snap-align: start; width: 132px; }

@media (min-width: 1024px) {
	.mn-catstrip__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; }
	.mn-catstrip__item { width: auto; }
}

.mn-catstrip__link { display: grid; gap: var(--space-3); text-decoration: none; text-align: center; }

.mn-catstrip__media {
	display: block; aspect-ratio: 1; border-radius: var(--radius-md);
	background: var(--color-surface-alt); overflow: hidden;
}
.mn-catstrip__media img { width: 100%; height: 100%; object-fit: cover; }

.mn-catstrip__label {
	font-size: var(--step--1); font-weight: 600;
	text-transform: uppercase; letter-spacing: var(--tracking-wide);
}
.mn-catstrip__count { font-size: var(--step--1); color: var(--color-ink-muted); }

/* ==========================================================================
   3. Product grid and card
   ========================================================================== */

.mn-productgrid,
ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-7) var(--space-4);
	margin: 0; padding: 0; list-style: none;
}

/* WooCommerce clears its float layout with
   `.woocommerce ul.products::before/::after { content:" "; display:table }`.
   In a grid container those two pseudo-elements become real grid items: the
   first card is pushed into cell 2 and the last one wraps to a row of its own,
   which is the empty top-left cell in every product grid. Nothing to clear
   here -- grid does not float.

   Woo's selector is `.woocommerce ul.products::before`, so ours has to carry
   one more class than that to win regardless of which stylesheet loads last --
   hence the `.mn` body class in front. */
.mn .mn-productgrid::before,
.mn .mn-productgrid::after,
.mn.woocommerce ul.products::before,
.mn.woocommerce ul.products::after,
.mn ul.products::before,
.mn ul.products::after { content: none; display: none; }

@media (min-width: 768px) { .mn-productgrid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-9) var(--space-6); } }
@media (min-width: 1024px) { .mn-productgrid, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Four across is the most a card gets (29 Oct 2026). At six the cards fell to
   about 210px, where names truncated and the button text wrapped -- the
   cramped grid on the live shop. Wider screens get wider cards instead.

   A homepage rail holds four cards, so between 768 and 1023px it shows two
   rows of two rather than three and an orphan. */
@media (min-width: 768px) and (max-width: 1023px) {
	.mn-productgrid--rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Every track is minmax(0, 1fr), never plain 1fr. A plain 1fr track is
   minmax(auto, 1fr): it grows to fit its widest card, and with square image
   boxes and a stretched row that fed back into the column width -- the live
   shop came out with columns of 200 and 338px side by side (29 Oct 2026). */
.mn-card {
	position: relative;               /* contains Woo's visually hidden describedby span */
	min-width: 0;
	/* A white card on a fine border, lifting on hover (29 Oct 2026: "make
	   the product card more visible" -- the borderless version read faint). */
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.mn-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .mn-card:hover { transform: none; } }

.mn-card__media {
	position: relative; display: block;
	/* Square on the card (29 Oct 2026: "a bit chubby and short"); the product
	   page keeps the portrait --product-ratio, where the photo is the point. */
	aspect-ratio: 1 / 1;
	background: var(--color-surface-alt);
	overflow: hidden;
}

.mn-card__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover; object-position: center;
	transition: opacity .5s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.mn-card__img--hover { opacity: 0; }
.mn-card:hover .mn-card__img--hover { opacity: 1; }
.mn-card:hover .mn-card__img { transform: scale(1.04); }

.mn-card__badges { position: absolute; top: var(--space-3); left: var(--space-3); display: grid; gap: var(--space-2); justify-items: start; }

/* Small, square, letterspaced. NEW is the brand pair: gold on black (8.2:1). */
.mn-badge {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 0;
	font-size: 10px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase;
	line-height: 1.2;
}
.mn-badge--new { background: var(--color-chrome); color: var(--color-accent-deep); }
.mn-badge--sale { background: var(--color-sale); color: #fff; }
.mn-badge--out { background: var(--color-surface); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }

.mn-card__body {
	/* Short and left-aligned (29 Oct 2026, after nuttyfrutyss.lk: "the product
	   cards are too long"): name, one meta line, dots, then price and button. */
	padding: 10px 12px 12px;
	display: flex; flex-direction: column; gap: 6px;
	flex: 1;
	text-align: left;
}

.mn-card__title {
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.15;
	/* Two-line clamp so a long name cannot make one card taller than its row,
	   and two lines reserved so a short one does not pull its stars up out of
	   line with the card beside it. */
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
	height: 2.3em;
}
.mn-card__title a { text-decoration: none; color: var(--color-ink); transition: color .2s ease; }
.mn-card__title a:hover { color: var(--color-accent-deep); }

/* Woo's loop sheet styles every h3 and strong inside `ul.products li.product`
   -- `.woocommerce ul.products li.product h3 { padding:.5em 0; font-size:1em }`
   and `... li.product strong { display:block }`. On the shop and category
   pages that let a third title line show under the clamp and broke the KOKO
   line into three ("or / 3 × Rs 2,067 / with KOKO"). Four classes, so these
   win over Woo's three-class-three-element selectors whichever loads last. */
.mn.woocommerce .mn-card .mn-card__title { padding: 0; margin: 0; font-size: 1.08rem; }
.mn.woocommerce .mn-card .mn-bnpl strong,
.mn .mn-card .mn-bnpl strong { display: inline; }
/* Same sheet: `li.product .button { margin-top:1em }` and
   `li.product a img { height:auto; margin:0 0 1em }`. */
.mn.woocommerce .mn-card .mn-card__add { margin-top: 6px; }

/* Solid black "Add to cart", deep gold on hover (29 Oct 2026: the outline
   version read too faint). Specific enough to beat `.woocommerce a.button` above. */
.mn .mn-card a.mn-card__add,
.mn.woocommerce .mn-card a.mn-card__add,
.mn.woocommerce ul.products li.product a.mn-card__add {   /* beats Woo's `ul.products li.product .button { display:inline-block }` */
	display: flex; align-items: center; justify-content: center;
	min-height: 40px;                  /* 44 on touch screens, below */
	padding-block: 0;
	line-height: 1.2;
	background: var(--color-primary);
	color: var(--color-primary-contrast);
	border: 1px solid var(--color-primary);
	border-radius: 0;
	font-size: 11px; font-weight: 500;
	letter-spacing: .2em;
	transition: background-color .25s ease, color .25s ease;
}
.mn .mn-card a.mn-card__add:hover,
.mn.woocommerce .mn-card a.mn-card__add:hover { background: var(--color-accent-deep); color: #fff; border-color: var(--color-accent-deep); }
.mn .mn-card a.mn-card__add.loading { opacity: .6; }

/* Two cards across a phone leave ~150px of button. At the desktop padding
   (2 × 32px) "SELECT OPTIONS" ran out of the side of it. */
.mn-card .mn-card__add { padding-inline: var(--space-4); }
@media (pointer: coarse) {
	.mn .mn-card a.mn-card__add,
	.mn.woocommerce .mn-card a.mn-card__add,
	.mn.woocommerce ul.products li.product a.mn-card__add { min-height: 44px; }
}
@media (max-width: 599px) {
	.mn .mn-card a.mn-card__add,
	.mn.woocommerce .mn-card a.mn-card__add { padding-inline: var(--space-2); font-size: 10.5px; letter-spacing: .1em; }
	.mn-card__body { padding: 8px 10px 10px; gap: 5px; }
	.mn.woocommerce .mn-card .mn-card__title, .mn-card__title { font-size: 1rem; }
	.mn-card__price { font-size: 1.05rem; }
}
.mn.woocommerce .mn-card .mn-card__media img { height: 100%; margin: 0; }

.mn-card__spec {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Rating: five stars, filled to the average. One element, two layers of the
   same glyph run, so a 4.5 shows four and a half stars without a half-star
   icon. The empty layer is the border colour; the filled layer is the deep
   gold, which carries on ivory (CLAUDE.md, the gold rule). */
/* Stock and stars share one line under the name. */
.mn-card__meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 2px 8px;
	min-height: 14px;
}
.mn-card__rating {
	display: inline-flex; align-items: center;
	gap: 4px;
	font-size: 11px; line-height: 1;
	color: var(--color-ink-muted);
}
.mn-stars {
	--rating: 0%;
	position: relative; display: inline-block;
	font-size: 11px; letter-spacing: 1px; line-height: 1;
	color: color-mix(in srgb, var(--color-ink-muted) 40%, transparent);
}
.mn-stars::before { content: "\2605\2605\2605\2605\2605"; }
.mn-stars::after {
	content: "\2605\2605\2605\2605\2605";
	position: absolute; inset: 0 auto 0 0;
	width: var(--rating); overflow: hidden; white-space: nowrap;
	color: var(--color-accent-deep);
}
.mn-card__reviews { font-variant-numeric: lining-nums; }

/* Colour preview: dots, not buttons (the choice is made on the product page). */
.mn-card__swatches {
	display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
	gap: 0;
	margin: 0 0 0 -5px;               /* first colour lines up with the name */
	padding: 0; list-style: none;
}
/* Each dot is a button with a 26px tap area around a 16px colour. */
.mn-card__swatches li { display: flex; }
.mn-card__dot {
	position: relative;
	width: 26px; height: 26px; padding: 0;
	border: 0; border-radius: 50%;
	background: none; cursor: pointer;
}
.mn-card__dot::before {
	content: ""; position: absolute; inset: 5px;
	border-radius: 50%;
	background: var(--swatch, var(--color-surface));
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.mn-card__dot:hover::after,
.mn-card__dot[aria-pressed="true"]::after {
	content: ""; position: absolute; inset: 1px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--color-ink);
}
.mn-card.is-picked .mn-card__img--hover { display: none; }

/* Keep "Rs 5,250" and "Rs 4,500" whole; on a phone the pair wraps as two
   prices rather than splitting one of them across lines. */
.mn-card__price del,
.mn-card__price ins,
.mn-card__price > .amount { white-space: nowrap; }
@media (max-width: 599px) {
	.mn-card__dot { width: 24px; height: 24px; }
	.mn-card__dot::before { inset: 5px; }
	.mn-card__dot:hover::after,
	.mn-card__dot[aria-pressed="true"]::after { inset: 1px; }
}
.mn-card__dot--none::before {
	background: linear-gradient(135deg, var(--color-surface) 45%, var(--color-border) 45% 55%, var(--color-surface) 55%);
}
.mn-card__more { padding-left: 2px; font-size: 11px; color: var(--color-ink-muted); font-variant-numeric: lining-nums; }

/* Price, payment line and button sit at the bottom of the card, so a row
   lines up on price and button whatever the names above it do. */
.mn-card__foot {
	margin-top: auto;
	display: flex; flex-direction: column; gap: 1px;
	padding-top: 2px;
}

/* Tighter rows in the card's text (29 Oct 2026). The colour-dot list also
   picked up a 16px bottom margin from a general list rule. */
.mn .mn-card .mn-card__swatches { margin: 0; }

.mn-card__price {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-accent-deep);
	font-variant-numeric: lining-nums;
}

.mn-card__stock {
	display: inline-flex; align-items: center; gap: 5px;
	margin: 0;
	font-size: 11px; font-weight: 500; letter-spacing: .03em; line-height: 1.2;
}
.mn-card__stock::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.mn-card__stock--in  { color: var(--color-success); }
.mn-card__stock--low { color: var(--color-warning); }
.mn-card__stock--out { color: var(--color-danger); }

/* Held open when the price is outside the KOKO range, so buttons stay level. */
.mn-card__pay { min-height: 15px; font-size: 11px; line-height: 15px; }
.mn-card__pay .mn-bnpl { margin: 0; font-size: 11px; line-height: 15px; }
/* One line on a phone too: two cards across leave ~145px for it, so the
   card drops "or" and "with" there and reads "3 × Rs 2,067 KOKO". */
@media (max-width: 599px) {
	.mn-card__pay .mn-bnpl { white-space: nowrap; }
	.mn-card__pay .mn-bnpl__or { display: none; }
	.mn-card__pay .mn-bnpl__mark { max-width: 44px; }
}
.mn-card__price del { color: var(--color-ink-muted); font-weight: 400; margin-right: var(--space-2); }
.mn-card__price ins { text-decoration: none; color: var(--color-sale); }
.mn-price-from { font-weight: 400; font-size: var(--step--1); color: var(--color-ink-muted); }

.mn-card__add { margin-top: 6px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-card .added_to_cart { display: none; }

/* ==========================================================================
   4. BNPL messaging
   ========================================================================== */

.mn-bnpl {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	line-height: 1.5;
}
.mn-bnpl strong { color: var(--color-ink); font-weight: 600; }
.mn-bnpl__brand { font-weight: 700; color: var(--color-accent-deep); letter-spacing: .04em; }

/* The provider's mark, sized to the line rather than to the file.
   Inline, not flex: the line is a sentence and has to wrap like one. A flex
   container turns each run of text into its own item, which on a narrow product
   card breaks "or 3 × Rs 4,300 with KOKO" onto four separate lines. */
.mn-bnpl__mark {
	height: 1.3em;
	width: auto;
	max-width: 76px;
	object-fit: contain;
	display: inline-block;
	vertical-align: -0.3em;              /* optical baseline, not box bottom */
}

.mn-bnpl--card { font-size: 12px; }
.mn-bnpl--card .mn-bnpl__mark { height: 1.2em; max-width: 58px; vertical-align: -0.27em; }
.mn-bnpl--pdp { margin-block: var(--space-3) var(--space-5); }
.mn-bnpl--pdp .mn-bnpl__mark { height: 1.15em; max-width: 54px; vertical-align: -0.25em; }
.mn-bnpl--above { color: var(--color-warning); }

/* ==========================================================================
   5. B04 — Promo pair
   ========================================================================== */

.mn-promos__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
@media (min-width: 768px) { .mn-promos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mn-promo {
	display: flex; align-items: center; gap: var(--space-5);
	padding: var(--space-7);
	border-radius: 2px;
	text-decoration: none;
	min-height: 128px;
	transition: transform .2s ease;
}
.mn-promo:hover { transform: translateY(-2px); }

.mn-promo--dark { background: var(--color-chrome); color: var(--color-ink); }
.mn-promo--light { background: var(--color-surface-alt); color: var(--color-ink); border: 1px solid var(--color-border); }

.mn-promo__icon {
	flex: none; width: 54px; height: 54px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid currentColor;
	opacity: .85;
}
.mn-promo__icon svg { width: 24px; height: 24px; }

.mn-promo__text { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; min-width: 0; }

.mn-promo__eyebrow {
	font-size: var(--step--1);
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	opacity: .72;
}

.mn-promo__title {
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 500;
	font-variant-numeric: lining-nums;
	letter-spacing: .02em;
	line-height: 1.2;
}
.mn-promo--dark .mn-promo__title { color: var(--color-accent-deep); }

.mn-promo__arrow { flex: none; opacity: .6; }
.mn-promo__arrow svg { width: 22px; height: 22px; }

/* ==========================================================================
   6. B09 — Shop the look
   The section is a product rail now (template-parts/home/lookbook.php) and
   uses the card styles above. Nothing of its own.
   ========================================================================== */

/* ==========================================================================
   7. B15 — Newsletter
   ========================================================================== */

.mn-newsletter { background: var(--color-surface-alt); }

.mn-newsletter__inner {
	display: grid; gap: var(--space-6);
	align-items: center;
}

@media (min-width: 900px) {
	.mn-newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-10); }
	.mn-newsletter__privacy { grid-column: 2; }
}

.mn-newsletter__title { font-size: var(--step-3); font-weight: 400; letter-spacing: .01em; }
.mn-newsletter__sub { color: var(--color-ink-muted); margin-top: var(--space-3); max-width: 44ch; }

.mn-newsletter__form { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.mn-newsletter__field { flex: 1 1 220px; }
.mn-newsletter__privacy { font-size: var(--step--1); color: var(--color-ink-muted); }
.mn-newsletter__privacy a { color: var(--color-accent-deep); }

/* ==========================================================================
   8. Archive
   ========================================================================== */

.mn-shop { padding-block: var(--space-6) var(--space-10); }

.mn-archive__head { margin-bottom: var(--space-7); }
.mn-archive__title { font-size: var(--step-4); font-weight: 300; letter-spacing: .03em; text-transform: uppercase; }
.mn-archive__intro { margin-top: var(--space-4); color: var(--color-ink-muted); max-width: 68ch; }

.mn-subcats { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-7); }
.mn-subcats__link {
	display: inline-flex; align-items: center; gap: var(--space-2);
	padding: var(--space-2) var(--space-5);
	border: 1px solid var(--color-border); border-radius: var(--radius-pill);
	font-size: var(--step--1); text-decoration: none;
}
.mn-subcats__link:hover { border-color: var(--color-ink); }
.mn-subcats__count { color: var(--color-ink-muted); font-size: 12px; }

.mn-archive { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }

@media (min-width: 1024px) {
	.mn-archive { grid-template-columns: 248px minmax(0, 1fr); gap: var(--space-9); align-items: start; }
}

/* A category with nothing to filter has no sidebar: the grid uses the width. */
@media (min-width: 1024px) { .mn-archive--nofilters { grid-template-columns: minmax(0, 1fr); } }

.mn-shoptools {
	display: flex; align-items: center; gap: var(--space-4);
	flex-wrap: wrap;
	margin-bottom: var(--space-6);
	padding-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-border);
}
.mn-shoptools .woocommerce-result-count { font-size: var(--step--1); color: var(--color-ink-muted); margin: 0; }
.mn-shoptools .woocommerce-ordering { margin-left: auto; margin-bottom: 0; }
.mn-shoptools .woocommerce-ordering select { min-width: 190px; }
.mn-shoptools__filter { min-height: 42px; padding-inline: var(--space-5); }

@media (min-width: 1024px) { .mn-shoptools__filter { display: none; } }

/* --- Filters ------------------------------------------------------------ */

.mn-archive__aside-head { display: none; }

@media (max-width: 1023px) {
	.mn-archive__aside {
		position: fixed; inset: auto 0 0 0; z-index: var(--z-drawer);
		background: var(--color-surface);
		border-top-left-radius: var(--radius-lg);
		border-top-right-radius: var(--radius-lg);
		max-height: 82vh; overflow-y: auto;
		transform: translateY(100%);
		transition: transform .25s ease;
		box-shadow: var(--shadow-md);
		padding: 0 var(--space-5) var(--space-8);
	}
	.mn-archive__aside.is-open { transform: none; }
	.mn-archive__aside-head {
		position: sticky; top: 0;
		display: flex; align-items: center; justify-content: space-between;
		padding-block: var(--space-5);
		background: var(--color-surface);
		border-bottom: 1px solid var(--color-border);
		font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide);
		font-size: var(--step--1);
	}
	.mn-archive__aside-close { background: none; border: 0; padding: var(--space-2); }
	.mn-archive__aside-close svg { width: 18px; height: 18px; }
}

.mn-filters__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--space-5); }
.mn-filters__title { font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--tracking-wider); }
.mn-filters__clear { font-size: var(--step--1); color: var(--color-accent-deep); }

.mn-filters__group { border: 0; padding: 0; margin: 0 0 var(--space-6); }
.mn-filters__legend {
	font-size: var(--step--1); font-weight: 600;
	text-transform: uppercase; letter-spacing: var(--tracking-wide);
	padding: 0; margin-bottom: var(--space-3);
}

.mn-filters__options { display: grid; gap: var(--space-1); max-height: 260px; overflow-y: auto; }

.mn-filters__option {
	display: flex; align-items: center; gap: var(--space-3);
	padding: var(--space-2) 0;
	font-size: var(--step--1);
	cursor: pointer;
	min-height: 34px;
}
.mn-filters__option input { width: 16px; height: 16px; min-height: 0; accent-color: var(--color-accent-deep); flex: none; }
.mn-filters__chip {
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--swatch, var(--color-border));
	border: 1px solid var(--color-border); flex: none;
}
.mn-filters__name { flex: 1; }
.mn-filters__count { color: var(--color-ink-muted); font-size: 12px; }

.mn-filters__apply { width: 100%; }

/* ==========================================================================
   9. Single product
   ========================================================================== */

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-6);
	padding-block: var(--space-5) var(--space-6);
	position: relative;
}

/* --- Gallery (29 Oct 2026) ----------------------------------------------
   Supplied photos come in every shape, and Woo shows them at their own
   ratio -- so the main image jumped height from product to product and from
   slide to slide. Every image now sits in the catalogue's square box
   (--product-ratio, 1:1 from the profile), contained on the ivory ground so
   nothing is cropped, with the thumbnails as an even row of squares below.

   Woo's layout sheet floats the gallery at 48% of its parent; inside this
   grid that halved it again, which is the shrunken image on a desktop. */
.mn.woocommerce.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery {
	float: none;
	width: 100%;
	margin: 0;
}
.single-product .woocommerce-product-gallery__image {
	aspect-ratio: var(--product-ratio);
	background: var(--color-surface-alt);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.single-product .woocommerce-product-gallery__image > a { display: block; height: 100%; }
/* Cropped to fill the frame (29 Oct 2026), not letterboxed: the frame is
   the catalogue's portrait 4:5, the photos are mostly 3:4, so only a sliver
   of background goes. Centred, which is where the product is. */
.mn.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
}
.mn.woocommerce.single-product div.product div.images { position: relative; }
/* Woo's zoom layer is an absolutely placed copy of the image; it must not
   pick up the contain rule or it misaligns with the cursor. */
.single-product .woocommerce-product-gallery__image img.zoomImg { object-fit: initial; width: auto; height: auto; }

.mn.woocommerce.single-product div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--space-3);
	margin-top: var(--space-3);
}
.mn.woocommerce.single-product div.product div.images .flex-control-thumbs li {
	width: auto; float: none;
	aspect-ratio: var(--product-ratio);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-surface-alt);
	box-shadow: inset 0 0 0 1px var(--color-border);
}
.mn.woocommerce.single-product div.product div.images .flex-control-thumbs li img {
	width: 100%; height: 100%; object-fit: cover;
	opacity: .55; transition: opacity .15s ease;
}
.mn.woocommerce.single-product div.product div.images .flex-control-thumbs li img.flex-active,
.mn.woocommerce.single-product div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.mn.woocommerce.single-product div.product div.images .flex-control-thumbs li:has(img.flex-active) { box-shadow: inset 0 0 0 2px var(--color-ink); }

/* The magnifier: a quiet round button, not Woo's drawn loupe on white. */
.mn.woocommerce.single-product div.product div.images .woocommerce-product-gallery__trigger {
	top: var(--space-4); right: var(--space-4);
	width: 40px; height: 40px;
	box-shadow: var(--shadow-sm);
}

/* Summary column: a readable measure, not the full half-page. */
.single-product div.product .summary { max-width: 560px; }

@media (min-width: 900px) {
	.single-product div.product {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: var(--space-8) var(--space-9);
		align-items: start;
	}
	/* The gallery scrolls with the page. It was sticky, which pinned the image
	   while the details ran past it -- readable in a mockup, unsettling in use,
	   and it leaves a tall column of empty space once the details outrun the
	   image. Woo's own rule sets `position: relative` on this element, which is
	   fine: nothing here sets `top`, so relative has no effect. */
	.mn.woocommerce.single-product div.product .woocommerce-product-gallery {
		position: relative;              /* the magnifier sits on the photo, not over the title */
		top: auto;
	}
}

/* Only the gallery and the buy box are columns.
   WooCommerce hangs the tabs, the specs, upsells and related products off
   `div.product` as further children, so on a two-column grid they fall into the
   next free cell — the description lands half-width in the right-hand column
   under the buy box, and related products gets four cards in 585px. Everything
   after the summary spans the full width. */
.single-product div.product > *:not(.woocommerce-product-gallery):not(.summary) {
	grid-column: 1 / -1;
}

/* A grid item defaults to min-width:auto, so a child that scrolls sideways --
   the tab strip on a phone -- pushes the whole page wide instead of scrolling
   inside itself. */
.single-product div.product > * { min-width: 0; }

/* --- Description / additional information tabs -------------------------- */

/* Spacing below the buy box (29 Oct 2026): the grid gap is the only gap.
   Tabs, specs and related each added 40px of margin on top of it, which
   left 100-130px holes between the sections. */
.woocommerce-tabs {
	margin-top: 0;
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-7);
}

/* Woo's own tab chrome -- grey boxes, borders, curved corners -- comes from
   `.woocommerce div.product .woocommerce-tabs ul.tabs li` (and its ::before
   / ::after). Cleared, so the tabs read as the underlined labels below. */
.mn.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 var(--space-6); overflow: visible; }
.mn.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.mn.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.mn.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.mn.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none; border: 0; border-radius: 0;
	margin: 0; padding: 0;
}
.mn.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0 0 var(--space-4); color: var(--color-ink-muted); font-weight: 500; }
.mn.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--color-ink); }
.mn.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }

.woocommerce-tabs ul.tabs {
	display: flex; flex-wrap: wrap;
	gap: var(--space-6);
	margin: 0 0 var(--space-6);
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--color-border);
}

.woocommerce-tabs ul.tabs li { margin: 0; }

.woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding-bottom: var(--space-4);
	margin-bottom: -1px;                 /* sit the underline on the rule */
	border-bottom: 2px solid transparent;
	font-size: var(--step--1); font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tracking-wide);
	color: var(--color-ink-muted);
	text-decoration: none;
}

.woocommerce-tabs ul.tabs li a:hover { color: var(--color-ink); }

.woocommerce-tabs ul.tabs li.active a {
	color: var(--color-ink);
	border-bottom-color: var(--color-accent-deep);
}

/* Narrow screens: scroll the strip sideways rather than wrap it. A wrapped tab
   list puts the second row underneath the rule the first row sits on, which
   reads as a broken border. */
@media (max-width: 640px) {
	.woocommerce-tabs ul.tabs {
		flex-wrap: nowrap;
		gap: var(--space-5);
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
	.woocommerce-tabs ul.tabs li a { white-space: nowrap; }
}

.woocommerce-Tabs-panel {
	max-width: 68ch;
	line-height: 1.75;
}
.woocommerce-Tabs-panel > * + * { margin-top: var(--space-4); }
.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol { padding-left: var(--space-6); }

/* Woo opens each panel with an h2 repeating the tab label. Kept for screen
   readers, hidden from sight -- on screen the active tab already says it. */
.woocommerce-Tabs-panel > h2:first-child {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap;
}

/* The attributes table Woo prints in "Additional information". */
.woocommerce-product-attributes {
	width: 100%; border-collapse: collapse;
	font-size: var(--step--1);
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: var(--space-4) 0;
	border-bottom: 1px solid var(--color-border);
	text-align: left; vertical-align: top;
}
.woocommerce-product-attributes th { width: 40%; font-weight: 500; color: var(--color-ink-muted); }
.woocommerce-product-attributes p { margin: 0; }

/* --- Related products / upsells ----------------------------------------- */

.single-product .related,
.single-product .up-sells {
	margin-top: 0;
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-7);
}

.single-product .related > h2,
.single-product .up-sells > h2 {
	font-size: var(--step-2); font-weight: 400;
	letter-spacing: .03em;
	margin-bottom: var(--space-6);
}

.single-product .product_title { font-size: var(--step-3); font-weight: 500; letter-spacing: .02em; line-height: 1.15; margin-bottom: var(--space-3); }

/* Woo's rating row under the title, when a product has reviews. */
.single-product .woocommerce-product-rating { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); font-size: var(--step--1); }
.single-product .woocommerce-product-rating .star-rating { color: var(--color-accent-deep); margin: 0; }

/* Prefixed with the body classes because Woo sets
   `.woocommerce:where(...) div.product span.price { font-size: 1.25em; color: #958e09 }`
   -- `:where()` adds no specificity, but `.woocommerce div.product span.price`
   still outranks `.single-product .price`, which is why the price stayed 20px
   and olive whatever this block said. */
.mn.woocommerce.single-product div.product .price,
.single-product .price {
	/* A step larger than the old sans sat at. Cormorant's x-height is small, so
	   matching the previous px size left the price looking subordinate to the
	   product name -- on a product page the price is the second thing read. */
	font-size: var(--step-3);
	font-weight: 600;
	color: var(--color-accent-deep);
	font-family: var(--font-display);
	line-height: 1.1;
	margin-bottom: var(--space-3);
}
.single-product .price del { color: var(--color-ink-muted); font-weight: 400; font-size: .7em; margin-right: var(--space-3); }
.single-product .price ins { text-decoration: none; color: var(--color-sale); }

.woocommerce-product-details__short-description { color: var(--color-ink-muted); margin-bottom: var(--space-5); max-width: 56ch; }

.single-product .stock { font-size: var(--step--1); }
.single-product .stock.in-stock { color: var(--color-success); }
.single-product .stock.out-of-stock { color: var(--color-danger); }

/* --- The buy row ------------------------------------------------------- */

/* Quantity and button on one line, same height. A simple product's form.cart
   holds both directly; a variable product's holds the variations table, and the
   pair only appears inside .woocommerce-variation-add-to-cart once a variation
   is chosen -- so both wrappers get the same row. */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
}

.woocommerce div.product form.cart .quantity { flex: 0 0 auto; display: flex; }

.woocommerce .quantity input.qty,
.quantity input[type="number"] {
	width: 88px;
	height: 52px;
	padding: 0 var(--space-2);
	text-align: center;
	font-size: 16px;                     /* under 16 and iOS zooms the page */
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-ink);
}

.single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 52px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 var(--space-6);
	background: var(--color-primary); color: var(--color-primary-contrast);
	border: 1px solid var(--color-primary); border-radius: var(--radius-sm);
	font-size: var(--step--1); font-weight: 600;
	letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.single_add_to_cart_button:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }

/* Before a colour is picked Woo marks the button `disabled`. It stays the
   same black "Add to cart" (29 Oct 2026) -- a grey button read as broken.
   Pressing it says what is missing, under the options (mn-core.js,
   chooseFirst()). */
.mn.woocommerce div.product .single_add_to_cart_button.disabled,
.mn.woocommerce div.product .single_add_to_cart_button.disabled:hover {
	opacity: 1;                          /* Woo fades it to .5 */
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-contrast);
	cursor: pointer;
}

.mn-choose {
	margin: var(--space-3) 0 0;
	padding: var(--space-3) var(--space-4);
	border-left: 2px solid var(--color-accent-deep);
	background: var(--color-surface-alt);
	font-size: var(--step--1);
	color: var(--color-ink);
}
.mn-swatches.is-asking .mn-swatches__row { animation: mn-ask .5s ease 2; border-radius: var(--radius-sm); }
@keyframes mn-ask {
	0%, 100% { box-shadow: 0 0 0 0 rgba(138, 97, 20, 0); }
	50%      { box-shadow: 0 0 0 4px rgba(138, 97, 20, .25); }
}

/* The swatches carry the attribute name and the chosen value, so Woo's own
   table label repeats it -- "Colour   COLOUR:". Kept for screen readers,
   which still use it to name the underlying select. */
.woocommerce div.product form.cart .variations th.label label {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
	display: block; width: auto; padding: 0; border: 0;
}
.woocommerce div.product form.cart .reset_variations {
	font-size: var(--step--1); color: var(--color-ink-muted);
}

/* The colours-to-button gap (29 Oct 2026) was ~70px: the "Clear" link took
   a line of its own under the swatches, Woo gives the table a 1em bottom
   margin, and the empty variation box below added more. "Clear" now sits at
   the right end of the "Colour:" line, and the empty box takes no room. */
.mn.woocommerce div.product form.cart .variations td.value { position: relative; }
.mn.woocommerce div.product form.cart .reset_variations {
	position: absolute; top: 0; right: 0;
	margin: 0; line-height: 1.4;
}
.mn.woocommerce div.product form.cart .variations { margin-bottom: var(--space-5); }
.mn.woocommerce div.product form.cart .variations tr + tr td.value { margin-top: var(--space-5); }
.mn.woocommerce div.product .single_variation:empty { display: none; }
.mn.woocommerce div.product .single_variation:not(:empty) { margin-bottom: var(--space-4); }

/* --- Key features (doc 07 §3) ------------------------------------------- */

.mn-features {
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-5);
	margin-block: var(--space-5);
}
.mn-features__title {
	font-size: var(--step--1); text-transform: uppercase;
	letter-spacing: var(--tracking-wider); margin-bottom: var(--space-4);
}
.mn-features__list { display: grid; gap: var(--space-3); }
.mn-features__item {
	position: relative;
	padding-left: var(--space-6);
	font-size: var(--step--1);
	line-height: 1.6;
}
.mn-features__item::before {
	content: ''; position: absolute; left: 0; top: .62em;
	width: 8px; height: 2px; background: var(--color-accent);
}

/* --- Trust row ---------------------------------------------------------- */

.mn-pdp-trust {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
	margin: var(--space-6) 0 0; padding: 0; list-style: none;
}
.mn-pdp-trust li {
	display: flex; align-items: center; gap: var(--space-3);
	padding: var(--space-3) var(--space-4);
	background: var(--color-surface-alt);
	border-radius: var(--radius-sm);
	font-size: 13px; line-height: 1.3; color: var(--color-ink);
}
.mn-pdp-trust strong { display: block; font-weight: 600; }
.mn-pdp-trust small { display: block; font-size: 12px; color: var(--color-ink-muted); font-variant-numeric: lining-nums; }
.mn-pdp-trust svg { width: 22px; height: 22px; flex: none; color: var(--color-accent-deep); }
@media (max-width: 380px) { .mn-pdp-trust { grid-template-columns: minmax(0, 1fr); } }

/* --- Specifications ----------------------------------------------------- */

/* Top margin only: the block below opens with its own rule and margin, and two
   stacked margins leave a hole you can park a car in. */
.mn-specs { margin-block: 0; max-width: 760px; }
.mn-specs__title { font-size: var(--step-2); font-weight: 400; letter-spacing: .03em; margin-bottom: var(--space-5); }
.mn-specs__table { font-size: var(--step--1); }
.mn-specs__table th,
.mn-specs__table td { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.mn-specs__table th { width: 40%; font-weight: 500; color: var(--color-ink-muted); }

/* --- Swatches ----------------------------------------------------------- */

.mn-swatches { margin-bottom: 0; }

.mn-swatches__legend {
	display: block; font-size: var(--step--1);
	text-transform: uppercase; letter-spacing: var(--tracking-wide);
	color: var(--color-ink-muted); margin-bottom: var(--space-3);
}
.mn-swatches__chosen { color: var(--color-ink); font-weight: 600; text-transform: none; letter-spacing: normal; }

.mn-swatches__row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* The native select stays in the DOM so Woo's own variation JS keeps working;
   it is only hidden visually. */
.mn-swatches__native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.mn-swatch {
	display: inline-flex; align-items: center; gap: var(--space-2);
	min-height: 44px; padding: var(--space-2) var(--space-4);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: var(--step--1);
	transition: border-color .15s ease;
}
.mn-swatch:hover { border-color: var(--color-ink-muted); }
.mn-swatch.is-active { border-color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-ink); }

/* Greyed out, never hidden (doc 07 §2). */
.mn-swatch.is-unavailable { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.mn-swatch--colour { padding-left: var(--space-2); }
.mn-swatch--colour .mn-swatch__chip {
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--swatch, var(--color-border));
	border: 1px solid rgba(0,0,0,.12);
	flex: none;
}
.mn-swatch--label .mn-swatch__chip { display: none; }

/* --- Delivery district selector ----------------------------------------- */

.mn-district {
	display: flex; gap: var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	margin-block: var(--space-5);
	background: var(--color-surface-alt);
}
.mn-district.is-loading { opacity: .6; }
.mn-district > svg { width: 22px; height: 22px; flex: none; color: var(--color-accent-deep); margin-top: 2px; }
.mn-district__body { flex: 1; min-width: 0; }
.mn-district__label {
	display: block; font-size: var(--step--1);
	text-transform: uppercase; letter-spacing: var(--tracking-wide);
	color: var(--color-ink-muted); margin-bottom: var(--space-2);
}
.mn-district__select { background: var(--color-surface); }
.mn-district__estimate { font-size: var(--step--1); margin-top: var(--space-3); }

/* --- Sticky buy bar (mobile) -------------------------------------------- */

.mn-stickybuy {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header);
	display: flex; align-items: center; gap: var(--space-4);
	padding: var(--space-4) var(--space-5);
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	box-shadow: var(--shadow-md);
	transform: translateY(110%);
	transition: transform .25s ease;
}
.mn-stickybuy.is-visible { transform: none; }
.mn-stickybuy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mn-stickybuy__name {
	font-size: var(--step--1); font-weight: 600;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mn-stickybuy__price { font-size: var(--step--1); color: var(--color-accent-deep); }
.mn-stickybuy .mn-btn { flex: none; }

@media (min-width: 900px) { .mn-stickybuy { display: none; } }

/* ==========================================================================
   10. Cart & checkout
   ========================================================================== */

.woocommerce-cart .mn-shop,
.woocommerce-checkout .mn-shop { padding-block: var(--space-8) var(--space-10); }

.woocommerce table.shop_table {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	border-collapse: separate;
	border-spacing: 0;
	font-size: var(--step--1);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); }
.woocommerce table.shop_table th { text-align: left; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-wide); }

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
	min-height: 48px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: var(--space-3) var(--space-6);
	background: var(--color-primary); color: var(--color-primary-contrast);
	border: 1px solid var(--color-primary); border-radius: var(--radius-sm);
	font-size: var(--step--1); font-weight: 600;
	letter-spacing: var(--tracking-wide); text-transform: uppercase;
	text-decoration: none;
}
.woocommerce .button:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }

.woocommerce .button.alt,
.woocommerce #place_order { background: var(--color-primary); }

/* Errors inline and in plain language (doc 08 §5). */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-accent-deep);
	background: var(--color-surface-alt);
	padding: var(--space-5) var(--space-6);
	border-radius: var(--radius-sm);
	font-size: var(--step--1);
	list-style: none;
	margin-bottom: var(--space-6);
}
.woocommerce-error { border-left-color: var(--color-danger); }

/* WooCommerce draws an icon in each notice, absolutely positioned 1.5em from
   the left, and leaves 3.5em of padding for it. The padding above replaced
   that, so the icon sat on top of the first word. Room for it again, the icon
   placed in that room, and coloured to the brand instead of Woo's blue/red.
   `body` in front so this wins whichever stylesheet loads last. */
body .woocommerce-error,
body .woocommerce-message,
body .woocommerce-info { padding-left: calc(var(--space-6) + 1.75em); }

body .woocommerce-error::before,
body .woocommerce-message::before,
body .woocommerce-info::before {
	left: var(--space-5);
	top: calc(var(--space-5) + .25em);
	color: var(--color-accent-deep);
}
body .woocommerce-error::before { color: var(--color-danger); }
body .woocommerce-message::before { color: var(--color-success); }

.woocommerce form .form-row { margin-bottom: var(--space-5); }
.woocommerce form .form-row label { display: block; margin-bottom: var(--space-2); }

/* Coupon field collapsed by default — discounting is rare here and a big
   "got a code?" box invites people to leave and go looking for one. */
.woocommerce-form-coupon-toggle .woocommerce-info { font-size: var(--step--1); }

/* The cart's actions row: coupon on the left, Update cart on the right.
   NOT `display: flex` on the cell. That looks like the obvious fix and it is a
   trap: a <td> with colspan="6" stops spanning the moment its display is no
   longer table-cell, so the row collapses to the width of column one and drags
   the remove column out to 335px with it. The cell stays a table cell; only
   its children are laid out. */
.woocommerce td.actions { text-align: left; }
.woocommerce td.actions::after { content: ""; display: table; clear: both; }

.woocommerce td.actions .coupon {
	display: inline-flex; flex-wrap: wrap; align-items: center;
	gap: var(--space-3);
	vertical-align: middle;
}
.woocommerce td.actions .coupon .input-text { width: 230px; flex: none; }
.woocommerce td.actions > .button { float: right; }

/* Fixed widths on the two columns that hold no text. Left to themselves the
   browser gives an empty header cell whatever space the widest body cell asks
   for, which is how the remove column ended up wider than the product name. */
.woocommerce table.cart th.product-remove,
.woocommerce table.cart td.product-remove { width: 48px; padding-inline: 0; text-align: center; }
.woocommerce table.cart th.product-thumbnail,
.woocommerce table.cart td.product-thumbnail { width: 96px; }
.woocommerce table.cart td.product-thumbnail img { width: 72px; height: auto; border-radius: var(--radius-sm); }
.woocommerce table.cart td.product-price,
.woocommerce table.cart td.product-subtotal { white-space: nowrap; }
.woocommerce table.cart td.product-name { font-weight: 500; }
.woocommerce table.cart td.product-name a { text-decoration: none; }
.woocommerce table.cart td.product-name a:hover { color: var(--color-accent-deep); }

/* Woo paints the remove control with `color: var(--wc-red) !important`, the one
   place its stylesheet reaches for !important, so the usual body-class opt-out
   and plain specificity both lose. Redefining the variable wins without an
   !important war of our own -- and it puts Woo's error states on the brand's
   red rather than #a00 at the same time. */
.mn { --wc-red: var(--color-danger); }

.mn-bnpl-row td { border-bottom: 0 !important; padding-top: 0 !important; }

/* ==========================================================================
   11. Style guide page
   ========================================================================== */

.mn-sg__section { margin-block: var(--space-9); }
.mn-sg__h { font-size: var(--step-2); font-weight: 400; letter-spacing: .03em; margin-bottom: var(--space-5); }

.mn-sg__swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-4); }
.mn-sg__swatch { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.mn-sg__chip { height: 84px; }
.mn-sg__meta { padding: var(--space-4); font-size: var(--step--1); display: grid; gap: 2px; }
.mn-sg__token { font-weight: 600; }
.mn-sg__hex { color: var(--color-ink-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mn-sg__ratio { font-size: 12px; }
.mn-sg__ratio--pass { color: var(--color-success); }
.mn-sg__ratio--large { color: var(--color-warning); }
.mn-sg__ratio--fail { color: var(--color-danger); }

.mn-sg__row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.mn-sg__type > * + * { margin-top: var(--space-4); }
.mn-sg__label { font-size: 12px; color: var(--color-ink-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ==========================================================================
   11. Size guide (doc 07 §2)
   ========================================================================== */

.mn-sizeguide__open-wrap { margin-bottom: var(--space-4); }

.mn-sizeguide__open {
	display: inline-flex; align-items: center; gap: var(--space-3);
	min-height: 44px;                    /* touch target, not just the text */
	padding: 0;
	background: none; border: 0;
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--color-border);
}
.mn-sizeguide__open:hover { color: var(--color-accent-deep); text-decoration-color: currentColor; }
.mn-sizeguide__open svg { width: 18px; height: 18px; flex: none; color: var(--color-accent-deep); }

.mn-sizeguide {
	position: fixed; inset: 0;
	z-index: var(--z-modal);
	display: grid; place-items: center;
	padding: var(--space-5);
	pointer-events: none;
}
.mn-sizeguide.is-open { pointer-events: auto; }

.mn-sizeguide__scrim {
	position: absolute; inset: 0;
	background: rgba(11,11,11,.55);
	opacity: 0; transition: opacity .2s ease;
}
.mn-sizeguide.is-open .mn-sizeguide__scrim { opacity: 1; }

.mn-sizeguide__panel {
	position: relative;
	width: min(460px, 100%);
	max-height: min(86vh, 720px);
	display: flex; flex-direction: column;
	background: var(--color-surface);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	opacity: 0; transform: translateY(8px) scale(.99);
	transition: opacity .2s ease, transform .2s ease;
}
.mn-sizeguide.is-open .mn-sizeguide__panel { opacity: 1; transform: none; }

.mn-sizeguide__head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-6) var(--space-6) var(--space-5);
	border-bottom: 1px solid var(--color-border);
}

/* "Regular Fit" leads in the display serif, "size chart" sits under it in the
   body sans -- the same two-line lockup the client's own chart uses. */
.mn-sizeguide__title {
	font-size: var(--step-2);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1.15;
}
.mn-sizeguide__title span {
	display: block;
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--color-accent-deep);
	margin-top: var(--space-2);
}

.mn-sizeguide__close {
	flex: none;
	width: 44px; height: 44px;
	margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) 0 0;
	display: grid; place-items: center;
	background: none; border: 0;
	color: var(--color-ink-muted);
}
.mn-sizeguide__close:hover { color: var(--color-ink); }
.mn-sizeguide__close svg { width: 18px; height: 18px; }

.mn-sizeguide__body { padding: var(--space-6); overflow-y: auto; }

.mn-sizeguide__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 2px;
	font-size: var(--step--1);
	font-variant-numeric: lining-nums tabular-nums;
	text-align: center;
}
.mn-sizeguide__table thead th {
	padding: var(--space-4) var(--space-3);
	background: var(--color-primary);
	color: var(--color-accent);
	border-radius: var(--radius-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}
.mn-sizeguide__table tbody th,
.mn-sizeguide__table tbody td {
	padding: var(--space-4) var(--space-3);
	background: var(--color-surface-alt);
	border-radius: var(--radius-sm);
}
.mn-sizeguide__table tbody th { font-weight: 600; }
.mn-sizeguide__table tbody td { color: var(--color-ink-muted); }

.mn-sizeguide__how,
.mn-sizeguide__note {
	font-size: var(--step--1);
	color: var(--color-ink-muted);
	line-height: 1.6;
}
.mn-sizeguide__how { margin-top: var(--space-5); }
.mn-sizeguide__note { margin-top: var(--space-3); font-style: italic; }

@media (max-width: 480px) {
	.mn-sizeguide { padding: 0; place-items: end stretch; }
	.mn-sizeguide__panel {
		width: 100%;
		max-height: 88vh;
		border-radius: var(--radius-md) var(--radius-md) 0 0;
		transform: translateY(16px);
	}
}

/* ==========================================================================
   12. Cart page — items left, totals in a sticky right column (doc 08 §2)
   ========================================================================== */

/* Woo's cart.php emits the form and `.cart-collaterals` as siblings, with no
   wrapper to flex, so the page container becomes the grid. Everything else it
   contains -- notices, the page title, cross-sells moved out of the sidebar --
   spans both columns; only those two take a column each. */
@media (min-width: 900px) {
	.woocommerce-cart .mn-shop {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 364px);
		gap: var(--space-7) var(--space-9);
		align-items: start;
	}

	.woocommerce-cart .mn-shop > * { grid-column: 1 / -1; min-width: 0; }
	.woocommerce-cart .mn-shop > .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .mn-shop > .cart-collaterals { grid-column: 2; }

	/* Follows the customer down a long basket. --header-real-h is the measured
	   header; the token is the no-JS fallback. */
	.woocommerce-cart .cart-collaterals {
		position: sticky;
		top: calc(var(--header-real-h, var(--header-h)) + var(--space-5));
	}
}

.woocommerce-cart .cart_totals {
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-6);
}

.woocommerce-cart .cart_totals > h2 {
	font-size: var(--step--1);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--color-ink-muted);
	margin-bottom: var(--space-5);
}

/* The totals table is a summary, not a data grid: no rules, no cell padding
   borrowed from the item table, and the figures right-aligned so they stack in
   a readable column. */
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	border: 0;
	background: none;
	padding: var(--space-3) 0;
}

.woocommerce-cart .cart_totals table.shop_table th {
	font-size: var(--step--1);
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: var(--color-ink-muted);
	width: 46%;
}

.woocommerce-cart .cart_totals table.shop_table td {
	text-align: right;
	font-variant-numeric: lining-nums tabular-nums;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-border);
	font-size: var(--step-0);
	color: var(--color-ink);
	font-weight: 600;
}
.woocommerce-cart .cart_totals .order-total td {
	font-family: var(--font-display);
	font-size: var(--step-2);
	color: var(--color-accent-deep);
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-methods { font-size: var(--step--1); }
.woocommerce-cart .cart_totals .shipping__inner { text-align: right; }

.woocommerce-cart .wc-proceed-to-checkout { margin-top: var(--space-5); }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; }

/* Cross-sells, now under the cart rather than in the sidebar. */
.woocommerce-cart .cross-sells { margin-top: var(--space-8); }
.woocommerce-cart .cross-sells > h2 {
	font-size: var(--step-2);
	font-weight: 400;
	letter-spacing: .01em;
	margin-bottom: var(--space-6);
}

@media (max-width: 899px) {
	/* Stacked. The totals card keeps its own breathing room above it. */
	.woocommerce-cart .cart-collaterals { margin-top: var(--space-7); }
}

/* --- Responsive tables -------------------------------------------------- *
 * inc/enqueue.php drops Woo's `woocommerce-smallscreen` stylesheet, which is
 * what normally collapses these tables on a phone -- but nothing replaced it,
 * so the six-column cart table ran 80px past the viewport at 390px. Woo marks
 * these tables `shop_table_responsive` and puts a `data-title` on every cell
 * for exactly this, so each row becomes a card and each cell gets its own
 * label back. Covers cart, checkout review and order details.
 * ----------------------------------------------------------------------- */
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive,
	.woocommerce table.shop_table_responsive tbody,
	.woocommerce table.shop_table_responsive tr,
	.woocommerce table.shop_table_responsive th,
	.woocommerce table.shop_table_responsive td {
		display: block;
		width: auto;
	}

	.woocommerce table.shop_table_responsive thead { display: none; }

	.woocommerce table.shop_table_responsive tr {
		position: relative;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-md);
		padding: var(--space-5);
		margin-bottom: var(--space-4);
	}

	.woocommerce table.shop_table_responsive td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		padding: var(--space-2) 0;
		border: 0;
		text-align: right;
	}

	/* The label Woo already put on the cell, now that the header row is gone. */
	.woocommerce table.shop_table_responsive td::before {
		content: attr(data-title);
		flex: none;
		font-size: var(--step--1);
		font-weight: 500;
		letter-spacing: var(--tracking-wide);
		text-transform: uppercase;
		color: var(--color-ink-muted);
		text-align: left;
	}

	/* The thumbnail, the name and the remove control are not label/value
	   pairs -- they are the card's identity. */
	.woocommerce table.shop_table_responsive td.product-thumbnail,
	.woocommerce table.shop_table_responsive td.product-name,
	.woocommerce table.shop_table_responsive td.product-remove,
	.woocommerce table.shop_table_responsive td.actions { display: block; text-align: left; }

	.woocommerce table.shop_table_responsive td.product-thumbnail::before,
	.woocommerce table.shop_table_responsive td.product-name::before,
	.woocommerce table.shop_table_responsive td.product-remove::before,
	.woocommerce table.shop_table_responsive td.actions::before { content: none; }

	.woocommerce table.shop_table_responsive td.product-thumbnail img { width: 84px; height: auto; }
	.woocommerce table.shop_table_responsive td.product-name { font-weight: 500; padding-bottom: var(--space-3); }

	/* Remove sits in the corner of the card rather than taking a whole row. */
	.woocommerce table.shop_table_responsive td.product-remove {
		position: absolute; top: var(--space-3); right: var(--space-3);
		width: 44px; height: 44px; padding: 0;
	}
	.woocommerce table.shop_table_responsive td.product-remove a {
		display: grid; place-items: center;
		width: 100%; height: 100%;
		text-decoration: none; color: var(--color-ink-muted); font-size: 20px;
	}

	.woocommerce table.shop_table_responsive td.product-quantity { justify-content: space-between; }
	.woocommerce table.shop_table_responsive td.actions { border-top: 1px solid var(--color-border); margin-top: var(--space-3); padding-top: var(--space-5); }

	/* The coupon field and its button stack rather than fighting for one line. */
	.woocommerce .coupon { display: grid; gap: var(--space-3); }
	.woocommerce .coupon .input-text { width: 100%; }
	.woocommerce .coupon .button,
	.woocommerce td.actions > .button { width: 100%; }
}

@media (max-width: 767px) {
	/* The totals table is two columns and already label/value: it stays a
	   table. Collapsing it the way the item table collapses prints the label
	   twice -- once from its own <th>, once from the data-title ::before. */
	.woocommerce .cart_totals table.shop_table_responsive { display: table; width: 100%; }
	.woocommerce .cart_totals table.shop_table_responsive tbody { display: table-row-group; }
	.woocommerce .cart_totals table.shop_table_responsive tr {
		display: table-row;
		border: 0; padding: 0; margin: 0;
	}
	.woocommerce .cart_totals table.shop_table_responsive th,
	.woocommerce .cart_totals table.shop_table_responsive td { display: table-cell; }
	.woocommerce .cart_totals table.shop_table_responsive td::before { content: none; }

	/* The float that puts Update cart on the right at desktop width has to go,
	   or it sits on top of Apply coupon in the stacked card. */
	.woocommerce td.actions > .button { float: none; width: 100%; margin-top: var(--space-3); }
	.woocommerce td.actions .coupon { display: grid; gap: var(--space-3); width: 100%; }
	.woocommerce td.actions .coupon .input-text { width: 100%; }
}

/* Size guide: one tab per fit. Both charts are in the overlay so a customer
   can compare Regular against Oversized without leaving the product. */
.mn-sizeguide__tabs {
	display: flex;
	gap: var(--space-5);
	padding: 0 var(--space-6);
	border-bottom: 1px solid var(--color-border);
}

.mn-sizeguide__tab {
	background: none; border: 0;
	padding: var(--space-4) 0;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	font-size: var(--step--1); font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-ink-muted);
	white-space: nowrap;
}
.mn-sizeguide__tab:hover { color: var(--color-ink); }
.mn-sizeguide__tab.is-active {
	color: var(--color-ink);
	border-bottom-color: var(--color-accent-deep);
}

/* The fit's name when there is only one chart and so no tab strip. */
.mn-sizeguide__fit {
	font-size: var(--step--1); font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--color-accent-deep);
	margin-bottom: var(--space-4);
}

.mn-sizeguide__panel-body[hidden] { display: none; }

/* Cart page: the [woocommerce_cart] shortcode wraps the form and the totals in
   a .woocommerce div, so the grid above would see one child. `contents` lets
   the form and .cart-collaterals sit in the page grid directly. */
.woocommerce-cart .mn-shop > .woocommerce { display: contents; }

/* ==========================================================================
   13. Order received (thank-you page)
   ==========================================================================
   One narrow column, like the policy pages (page.php). WooCommerce's layout
   stylesheet is dequeued, so its floats and two-column address boxes are
   rebuilt here as grids. Every rule is scoped to .woocommerce-order so the
   same Woo classes in My Account are untouched. */

.woocommerce-order > * + * { margin-top: var(--space-7); }

/* "Thank you. Your order has been received." */
.woocommerce-order .woocommerce-thankyou-order-received {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-5) var(--space-6);
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-success);
	border-radius: var(--radius-sm);
	font-size: var(--step-1);
	line-height: 1.4;
}
.woocommerce-order .woocommerce-thankyou-order-received::before {
	content: "";
	flex: none;
	width: 28px; height: 28px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat,
		var(--color-success);
}

/* Order number / date / email / total / payment method, and the bank
   details: a grid of labelled cells. Woo floats these with dashed dividers,
   and clears them with ::before/::after — which inside a grid would be two
   empty cells, so they are switched off (one more class than Woo's rule). */
.woocommerce .woocommerce-order ul.order_details {
	display: grid;
	/* auto-fit: columns only for cells that exist — five overview cells sit in
	   one row on desktop, three bank cells fill their row with no blank box. */
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	overflow: hidden;                      /* clips the outer half of each cell's rule */
	background: var(--color-surface);
}
.woocommerce .woocommerce-order > ul.order_details { margin-top: var(--space-5); }
.woocommerce-order-received .woocommerce-order ul.order_details::before,
.woocommerce-order-received .woocommerce-order ul.order_details::after { display: none; }

.woocommerce .woocommerce-order ul.order_details li {
	float: none;
	margin: 0;
	padding: var(--space-4) var(--space-5);
	border: 0;
	/* Dividers drawn by each cell (right + bottom), so a short last row leaves
	   white space rather than a grey block; the list clips the outer edges. */
	box-shadow: 1px 0 0 var(--color-border), 0 1px 0 var(--color-border);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-ink-muted);
}
.woocommerce .woocommerce-order ul.order_details li strong {
	display: block;
	margin-top: var(--space-1);
	font-size: var(--step-0);
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: var(--color-ink);
	overflow-wrap: anywhere;              /* a long email never pushes the grid wide */
	font-variant-numeric: lining-nums tabular-nums;
}

/* Section headings: one size, one rhythm. */
.woocommerce-order h2 {
	font-size: var(--step-2);
	font-weight: 400;
	margin: 0 0 var(--space-4);
}

/* --- Bank transfer: the part the customer has to act on -------------------
   The instructions paragraph and the bank details become one card, so "what
   to do" and "where to pay" read together. */
.woocommerce-order > .woocommerce-order-overview + p {
	margin-top: var(--space-7);
	padding: var(--space-6) var(--space-6) 0;
	border: 1px solid var(--color-border);
	border-bottom: 0;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
	background: var(--color-surface-alt);
}
.woocommerce-order .woocommerce-bacs-bank-details {
	padding: var(--space-5) var(--space-6) var(--space-6);
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
}
.woocommerce-order > .woocommerce-order-overview + p + .woocommerce-bacs-bank-details {
	margin-top: 0;
	border-top: 0;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.woocommerce-order .wc-bacs-bank-details-heading {
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--color-ink-muted);
	margin-bottom: var(--space-3);
}
.woocommerce-order .wc-bacs-bank-details-account-name {
	font-family: var(--font-body);
	font-size: var(--step-1);
	font-weight: 600;
	margin: var(--space-5) 0 var(--space-4);
}
.woocommerce-order .wc-bacs-bank-details-account-name::before {
	content: "Account name";
	display: block;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-ink-muted);
	margin-bottom: var(--space-1);
}
/* The account number is what gets typed into a banking app: make it big. */
.woocommerce .woocommerce-order .bacs_details li.account_number strong {
	font-size: var(--step-1);
	letter-spacing: .04em;
	white-space: nowrap;                    /* never split an account number across lines */
	overflow-wrap: normal;
}
/* Room for the account number on one line: one column on a phone, and on
   wider screens the account number gets the wider column. */
.woocommerce .woocommerce-order ul.bacs_details { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
	.woocommerce .woocommerce-order ul.bacs_details { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); }
}

/* Order summary: two columns on a phone, three from 600px. The email gets a
   double-width cell so an address is never broken mid-word; `dense` lets the
   next cells fill the gap it would otherwise leave. */
.woocommerce .woocommerce-order ul.woocommerce-order-overview {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: row dense;
}
@media (min-width: 600px) {
	.woocommerce .woocommerce-order ul.woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.woocommerce .woocommerce-order ul.woocommerce-order-overview li.email { grid-column: span 2; }
.woocommerce .woocommerce-order ul.woocommerce-order-overview li strong { overflow-wrap: break-word; }

/* --- Order details table ---------------------------------------------------- */
.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td { vertical-align: top; }
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child > * { vertical-align: middle; }
.woocommerce-order .woocommerce-table--order-details .product-total,
.woocommerce-order .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-order .woocommerce-table--order-details tfoot th {
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: var(--color-ink-muted);
}
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
	font-weight: 600;
	color: var(--color-ink);
	border-bottom: 0;
}
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
	font-family: var(--font-display);
	font-size: var(--step-1);
	color: var(--color-accent-deep);
}
.woocommerce-order .woocommerce-table--order-details .shipped_via {
	display: block;
	color: var(--color-ink-muted);
}
.woocommerce-order .woocommerce-table--order-details .product-quantity { font-weight: 500; color: var(--color-ink-muted); }

/* --- Addresses: side by side from 600px ----------------------------------- */
.woocommerce-order .woocommerce-customer-details .col2-set {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-6);
	width: auto;
}
@media (min-width: 600px) {
	.woocommerce-order .woocommerce-customer-details .col2-set { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.woocommerce-order .woocommerce-customer-details .col2-set::before,
.woocommerce-order .woocommerce-customer-details .col2-set::after { display: none; }
.woocommerce-order .woocommerce-customer-details .col2-set .col-1,
.woocommerce-order .woocommerce-customer-details .col2-set .col-2 { float: none; width: auto; max-width: none; }

.woocommerce .woocommerce-order .woocommerce-customer-details address {
	height: calc(100% - 2.6rem);           /* both boxes the same height */
	padding: var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-style: normal;
	line-height: 1.7;
}
.woocommerce .woocommerce-order .woocommerce-customer-details address p { margin: var(--space-2) 0 0; }
/* WooCommerce only shows the Email cell to a logged-in customer. A guest order
   has four cells, not five, which left a blank box beside Payment method:
   four cells in one row on desktop, a 2 x 2 grid on a phone. */
@media (min-width: 600px) {
	.woocommerce .woocommerce-order ul.woocommerce-order-overview:not(:has(li.email)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ==========================================================================
   MN International — light hero (2026-11-12)
   The copy panel is white like the header, so the top of the page still reads
   as one field — a light one. Headline in ink, second line in MN pink.
   ========================================================================== */

.mn-hero { background: var(--color-chrome); border-bottom: 1px solid var(--color-border); }
.mn-hero__panel { background: var(--color-chrome); color: var(--color-ink); }
.mn-hero__title { color: var(--color-ink); }
.mn-hero__title-b { color: var(--color-accent-deep); }
.mn-hero__eyebrow-rule { background: var(--mn-ribbon); width: 48px; height: 3px; }
.mn-hero__cta { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-contrast); }
.mn-hero__cta:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); color: #fff; }

/* No photography yet: a soft wash of the four logo colours, not a dark block. */
.mn-hero__placeholder {
	background:
		radial-gradient(circle at 22% 28%, rgba(238, 49, 105, .20) 0, transparent 46%),
		radial-gradient(circle at 78% 26%, rgba(0, 174, 239, .18) 0, transparent 44%),
		radial-gradient(circle at 70% 80%, rgba(140, 198, 63, .20) 0, transparent 46%),
		radial-gradient(circle at 24% 82%, rgba(43, 58, 151, .14) 0, transparent 44%),
		var(--color-surface-alt);
	color: var(--color-ink);
}
.mn-hero__badge { background: var(--color-accent-deep); color: #fff; box-shadow: 0 6px 24px rgba(238, 49, 105, .28); }
.mn-hero__split, .mn-hero__banner { background: var(--color-chrome); }

.mn-badge--new { background: var(--mn-blue); color: #fff; }
.mn-promo--dark { background: #FDEEF3; color: var(--color-ink); border: 1px solid #F8D3E0; }
.mn-promo--dark .mn-promo__title { color: var(--color-accent-deep); }
.mn-promo--light { background: #EEF7FD; border-color: #CFE9F8; }
/* MN's hero lines are longer than Big C's ("Makeup & hair care / delivered
   island-wide"), so the display size comes down one step to keep it to four lines. */
.mn-hero__title { font-size: var(--step-4); }

/* ==========================================================================
   Alignment pass (2026-11-13)
   ========================================================================== */

/* Hero image: shown whole, not cropped. The placeholder mosaic lost "P5 Royal
   Flush" off its right edge under object-fit: cover. On MN's white hero the
   letterbox is invisible. Revisit (cover) when real hero photography lands. */
.mn-hero__img { object-fit: contain; background: var(--color-chrome); }

/* Product gallery: WooCommerce's hover-zoom puts an 868px enlargement inside
   the slide. On a phone it hung past the screen edge and the whole product
   page could be dragged sideways (measured: 443px of page in a 390px screen). */
.woocommerce-product-gallery,
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__image { overflow: hidden; }

/* --- Checkout: form left, order summary right --------------------------------
   Classic checkout prints #customer_details, then the "Your order" heading and
   #order_review as siblings inside form.checkout. On desktop the form is the
   grid: details in column one, the summary pinned in column two. Woo's own
   .col2-set halves are undone, so each field gets the column's full width. */
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout form.checkout .col2-set .col-2 { margin-top: var(--space-6); }

@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
		grid-template-rows: auto 1fr;
		column-gap: var(--space-9);
		align-items: start;
	}
	.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
	.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
	.woocommerce-checkout form.checkout > #order_review {
		grid-column: 2; grid-row: 2;
		position: sticky; top: calc(var(--header-real-h, 84px) + var(--space-5));
	}
	.woocommerce-checkout form.checkout::before,
	.woocommerce-checkout form.checkout::after { content: none; }
}

#order_review_heading {
	font-family: var(--font-display); font-weight: 500;
	font-size: var(--step-1); letter-spacing: var(--tracking-wide); text-transform: uppercase;
	margin-bottom: var(--space-4);
}
.woocommerce-checkout #order_review {
	border: 1px solid var(--color-border); border-radius: var(--radius-md, 8px);
	padding: var(--space-5);
	background: var(--color-surface);
}
.woocommerce-checkout #order_review .shop_table { border: 0; margin-bottom: var(--space-5); }

/* Payment box: Woo paints it lilac (#ebe9eb). On MN's white it is a soft band. */
body.woocommerce-checkout #payment {
	background: var(--color-surface-alt);
	border-radius: var(--radius-md, 8px);
}
body.woocommerce-checkout #payment div.payment_box {
	background: var(--color-surface);
	color: var(--color-ink-muted);
	border: 1px solid var(--color-border);
}
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--color-surface); }
body.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--color-border); }
body.woocommerce-checkout #payment #place_order {
	width: 100%; float: none;
	min-height: 52px;
	background: var(--color-primary); color: var(--color-primary-contrast);
	letter-spacing: var(--tracking-wider); text-transform: uppercase;
}
body.woocommerce-checkout #payment #place_order:hover { background: var(--color-accent-deep); }

/* Product tabs on a phone: "Description / Additional information / Reviews"
   is ~443px of tab strip, wider than a 390px screen, which let the whole
   product page drag sideways. Below 600px the strip scrolls on its own line
   instead, and the gaps tighten. */
@media (max-width: 599px) {
	.mn.woocommerce div.product .woocommerce-tabs ul.tabs {
		display: flex; flex-wrap: nowrap; gap: var(--space-5);
		overflow-x: auto; scrollbar-width: none;
		margin-inline: calc(var(--space-5) * -1); padding-inline: var(--space-5);
	}
	.mn.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
	.mn.woocommerce div.product .woocommerce-tabs ul.tabs li { flex: none; margin: 0; }
}

/* Cart grid, corrected (2026-11-13). The rules above address the form and
   .cart-collaterals as children of .mn-shop, but the [woocommerce_cart]
   shortcode puts them inside a .woocommerce div. `display: contents` on that
   div lets them take part in the grid, yet a `>` selector still sees the real
   DOM, so they were never placed: the empty notices wrapper took column one
   and the cart table was pushed into the narrow totals column. */
@media (min-width: 900px) {
	.woocommerce-cart .mn-shop > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
	.woocommerce-cart .mn-shop > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .mn-shop > .woocommerce > .cart-collaterals { grid-column: 2; }
	.woocommerce-cart .mn-shop > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
}
/* At 900-1199px the items column was ~420px: thumbnails shrank to ~10px and
   product names broke word by word. Side by side from 1200px; stacked below. */
@media (min-width: 900px) and (max-width: 1199px) {
	.woocommerce-cart .mn-shop { display: block; }
	.woocommerce-cart .cart-collaterals { position: static; margin-top: var(--space-7); }
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	font-size: var(--step--1); letter-spacing: var(--tracking-wider);
	white-space: nowrap; padding-block: var(--space-4);
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	padding-inline: var(--space-4); letter-spacing: var(--tracking-wide); font-size: 13px;
}

/* --- Search results head (2026-11-30) ------------------------------------
   Eyebrow + the query as the title, then the search box again so a shopper
   can change the words without going back up to the header. */
.mn-archive__eyebrow {
	margin: 0 0 var(--space-2);
	font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-wider); text-transform: uppercase;
	color: var(--color-accent-deep);
}
.mn-archive__title--search { font-size: var(--step-3); text-transform: none; letter-spacing: 0; font-weight: 400; overflow-wrap: anywhere; }
.mn-archive__head--search .mn-searchform { margin: var(--space-5) 0 0; width: min(100%, 36rem); }
.mn-archive .mn-empty .mn-searchform { display: none; }
