/**
 * Home page: hero.
 * Loaded on the front page and on any page that holds a home hero (see mw_is_home_page()).
 * Heights come from theme.json tokens (--wp--custom--hero--min-height--*): 320px phones, 360px tablet, 540px desktop.
 * The hero holds two photos (desktop and phone); mw_hero_picture() merges them into one <picture>,
 * switching at 768px. There is no overlay on the photo (removed 2026-11-17, the hero holds no text).
 */

.mw-hero {
	--mw-hero-min-height: var(--wp--custom--hero--min-height--mobile);

	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--mw-hero-min-height);
	margin-block: 0;
	overflow: hidden;
	background-color: var(--wp--preset--color--contrast);
}

@media (min-width: 768px) {
	.mw-hero {
		--mw-hero-min-height: var(--wp--custom--hero--min-height--tablet);
	}
}

@media (min-width: 1024px) {
	.mw-hero {
		--mw-hero-min-height: var(--wp--custom--hero--min-height--desktop);
	}
}

/*
 * Tablets and small laptops (768 to 1439px) show the whole desktop photo: the hero takes the photo's own
 * shape (8:3, the 2560 x 960 px banner) instead of a fixed height, so nothing is cropped. Change
 * --mw-hero-ratio if the banner is made in another shape. From 1440px the fixed 540px height returns.
 */
@media (min-width: 768px) and (max-width: 1439px) {
	.mw-hero {
		--mw-hero-min-height: 0px;

		aspect-ratio: var(--mw-hero-ratio, 8 / 3);
	}
}

/* The photo fills the hero. Before the page is rendered (in the editor) the two Image blocks simply stack. */
.mw-hero .mw-hero__media,
.mw-hero .mw-hero__img {
	max-width: none;
	margin: 0;
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.mw-hero .mw-hero__img {
	object-fit: cover;
	object-position: center;
}

/* The header overlays the hero, so keep the text clear of it. */
.mw-hero__content {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--custom--hero--content-width);
	margin-block: 0;
	padding-inline: var(--wp--preset--spacing--40, 1rem);
}

/* From 768px (where the desktop photo shows) the text block sits on the right side of the hero; phones keep it centred. */
@media (min-width: 768px) {
	.mw-hero {
		justify-content: flex-end;
	}

	.mw-hero__content {
		width: 50%;
		max-width: 34rem;
		margin-inline: 0 clamp(2rem, 6vw, 6rem);
	}
}

body.mw-header-transparent .mw-hero__content {
	padding-top: var(--mw-header-height);
}

.mw-hero__content h1 {
	margin-block-end: var(--wp--preset--spacing--30);
}

/*
 * Home page: tag line.
 * One centred line under the hero. The row can hold text, symbols and small images (icons):
 * any image added to the row is capped to a small icon size so it never grows into a banner.
 */
.mw-tagline {
	box-sizing: border-box;
	margin-block: 0;
	padding: clamp(1.25rem, 3vw, 2rem) var(--wp--preset--spacing--40, 1rem);
}

.mw-tagline .mw-tagline__row {
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

.mw-tagline .mw-tagline__text {
	margin: 0;
	font-size: clamp(1.125rem, 1rem + 0.8vw, 1.625rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.35;
	text-wrap: balance;
}

.mw-tagline .mw-tagline__row .wp-block-image {
	margin: 0;
	line-height: 0;
}

.mw-tagline .mw-tagline__row img {
	display: block;
	width: auto;
	max-width: none;
	height: clamp(22px, 2.4vw, 30px);
}

/*
 * Home page: banner tag line (variant "mw-tagline--banner", owner chose option D, a cream band with a woven
 * saree border above and below, a party popper on the left and a diya on the right). The wording is two editable
 * paragraphs; the border and the two icons are CSS only (assets/icons/tagline-*.svg). Below 1100px the two
 * lines stack so the text never needs more room than a phone has.
 */
.mw-tagline.mw-tagline--banner {
	--mw-tag-size: clamp(1.125rem, 0.6rem + 1.9vw, 2.25rem);
	position: relative;
	padding-block: clamp(2.5rem, 1.5rem + 2.4vw, 3.25rem);
}

.mw-tagline--banner::before,
.mw-tagline--banner::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	height: 12px;
	background: url("../icons/tagline-border.svg") repeat-x center / auto 12px;
	pointer-events: none;
}

.mw-tagline--banner::before {
	top: 8px;
}

.mw-tagline--banner::after {
	bottom: 8px;
}

.mw-tagline.mw-tagline--banner .mw-tagline__row {
	position: relative;
	flex-direction: column;
	gap: 0.25rem;
	padding-inline: clamp(2.75rem, 12vw, 4rem);
}

.mw-tagline--banner .mw-tagline__row::before,
.mw-tagline--banner .mw-tagline__row::after {
	content: "";
	position: absolute;
	top: 50%;
	width: clamp(28px, 4.6vw, 66px);
	aspect-ratio: 1;
	transform: translateY(-50%);
	background: center / contain no-repeat;
	pointer-events: none;
}

.mw-tagline--banner .mw-tagline__row::before {
	inset-inline-start: clamp(0.25rem, 4vw, 5rem);
	background-image: url("../icons/tagline-popper.svg");
}

.mw-tagline--banner .mw-tagline__row::after {
	inset-inline-end: clamp(0.25rem, 4vw, 5rem);
	background-image: url("../icons/tagline-diya.svg");
}

.mw-tagline.mw-tagline--banner .mw-tagline__brand,
.mw-tagline.mw-tagline--banner .mw-tagline__text {
	margin: 0;
	font-size: var(--mw-tag-size);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-wrap: balance;
	color: var(--wp--preset--color--contrast);
}

.mw-tagline.mw-tagline--banner .mw-tagline__brand {
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.mw-tagline.mw-tagline--banner .mw-tagline__text {
	letter-spacing: 0.06em;
}

.mw-tagline--banner .mw-tagline__text::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-inline-end: 0.5em;
	vertical-align: 0.1em;
	background: url("../icons/tagline-sparkle.svg") center / contain no-repeat;
}

@media (max-width: 599px) {
	.mw-tagline.mw-tagline--banner .mw-tagline__text {
		font-size: calc(var(--mw-tag-size) * 0.9);
	}
}

@media (min-width: 1100px) {
	.mw-tagline.mw-tagline--banner .mw-tagline__row {
		flex-direction: row;
		gap: 1rem 0.9rem;
		padding-inline: 6.5rem;
	}

	.mw-tagline.mw-tagline--banner {
		padding-block: 1.75rem;
	}
}

@media (max-width: 359px) {
	.mw-tagline--banner .mw-tagline__row::before,
	.mw-tagline--banner .mw-tagline__row::after {
		display: none;
	}
}

/*
 * Home page: shared section styles.
 * Every home section is a full-width Group with the class mw-home-section and, when it has one,
 * a centred uppercase heading with the class mw-section-title.
 */
.mw-home-section {
	box-sizing: border-box;
	margin-block: 0;
	padding-block: clamp(1.5rem, 4vw, 2.75rem);
	padding-inline: 0;
}

.mw-home-section .mw-section-title {
	margin: 0 0 clamp(1rem, 2.5vw, 1.75rem);
	padding-inline: var(--wp--preset--spacing--40, 1rem);
	font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

/* Blocks placed in a section may use the full wide width, not only the narrow content width of the constrained layout. */
.mw-home-section > .mw-cat-icons {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

/* Category icons band: tighter space above and below the row (owner request 2026-11-13). */
.mw-home-section.mw-category-icons {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(0.25rem, 0.75vw, 0.625rem);
}

/*
 * Home page: product rows (Product Collection blocks with the shop card), shared by the focused items
 * (Featured products) and the new arrivals (newest products).
 * Phones and tablets: one row that scrolls sideways with snapping (about two and a half cards in view,
 * so the next card peeks in). Focused items: a 4-column grid from 768px. New arrivals: a 5-column grid from
 * 1024px. Each section is hidden while its product list is empty.
 */
.mw-home-section:is(.mw-focused-items, .mw-new-arrivals) {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
}

:is(.mw-focused-items, .mw-new-arrivals):not(:has(.wc-block-product-template > li)) {
	display: none;
}

:is(.mw-focused-items, .mw-new-arrivals) > .mw-home-cards {
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
	padding-inline: 12px;
}

:is(.mw-focused-items, .mw-new-arrivals) .mw-home-cards ul.wc-block-product-template,
:is(.mw-focused-items, .mw-new-arrivals) .mw-home-cards ul.wc-block-product-template.is-flex-container {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0 -12px;
	padding: 0 12px 6px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	list-style: none;
	scroll-padding-inline: 12px;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	/* The list is the containing block of the cards' absolutely positioned parts, so its scrolling clips them and the page does not scroll sideways. */
	position: relative;
}

:is(.mw-focused-items, .mw-new-arrivals) .mw-home-cards ul.wc-block-product-template::-webkit-scrollbar {
	display: none;
}

:is(.mw-focused-items, .mw-new-arrivals) .mw-home-cards .wc-block-product-template > li {
	flex: 0 0 min(44%, 200px);
	width: auto;
	max-width: none;
	margin: 0;
	scroll-snap-align: start;
}

/* New arrivals: below 1024px only the first five cards show (the second desktop row is hidden). */
@media (max-width: 1023px) {
	.mw-new-arrivals .mw-home-cards .wc-block-product-template > li:nth-child(n + 6) {
		display: none;
	}
}

/*
 * New arrivals and Magik Spotlight on phones (below 768px, owner request): the heading is centred with a line on each side,
 * the cards are a 2 x 2 grid (four products), the View all link under the heading is hidden and a centred
 * View all pill sits at the bottom. From 768px the pill is hidden and the heading link is back.
 */
:is(.mw-new-arrivals, .mw-focused-items) :is(.mw-new-arrivals__more, .mw-focused-items__more) {
	display: none;
}

@media (max-width: 767px) {
	.mw-home-section:is(.mw-new-arrivals, .mw-focused-items) > .mw-section-head {
		justify-content: center;
	}

	:is(.mw-new-arrivals, .mw-focused-items) > .mw-section-head::before,
	:is(.mw-new-arrivals, .mw-focused-items) > .mw-section-head::after {
		display: block;
		flex: 1 1 0;
		min-width: 1rem;
	}

	:is(.mw-new-arrivals, .mw-focused-items) > .mw-section-head::after {
		order: 1;
	}

	:is(.mw-new-arrivals, .mw-focused-items) > .mw-section-head .wp-block-buttons {
		display: none;
	}

	:is(.mw-new-arrivals, .mw-focused-items) .mw-home-cards ul.wc-block-product-template,
	:is(.mw-new-arrivals, .mw-focused-items) .mw-home-cards ul.wc-block-product-template.is-flex-container {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	:is(.mw-new-arrivals, .mw-focused-items) .mw-home-cards .wc-block-product-template > li {
		flex: none;
		scroll-snap-align: none;
	}

	:is(.mw-new-arrivals, .mw-focused-items) .mw-home-cards .wc-block-product-template > li:nth-child(n + 5) {
		display: none;
	}

	:is(.mw-new-arrivals, .mw-focused-items) :is(.mw-new-arrivals__more, .mw-focused-items__more) {
		display: flex;
		justify-content: center;
		margin: 1.25rem 0 0;
	}

	:is(.mw-new-arrivals, .mw-focused-items) :is(.mw-new-arrivals__more-btn, .mw-focused-items__more-btn) .wp-block-button__link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0.5rem 2rem;
		border: 1px solid var(--wp--preset--color--secondary);
		border-radius: 999px;
		background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--contrast);
		font-size: 0.9375rem;
		font-weight: 400;
		text-decoration: none;
	}

	:is(.mw-new-arrivals, .mw-focused-items) :is(.mw-new-arrivals__more-btn, .mw-focused-items__more-btn) .wp-block-button__link:hover {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--contrast);
	}
}

@media (min-width: 768px) {
	:is(.mw-focused-items, .mw-new-arrivals) > .mw-home-cards {
		padding-inline: 24px;
	}

	.mw-focused-items .mw-home-cards ul.wc-block-product-template,
	.mw-focused-items .mw-home-cards ul.wc-block-product-template.is-flex-container {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.mw-focused-items .mw-home-cards .wc-block-product-template > li {
		flex: none;
		scroll-snap-align: none;
	}
}

@media (min-width: 1024px) {
	.mw-focused-items .mw-home-cards ul.wc-block-product-template,
	.mw-focused-items .mw-home-cards ul.wc-block-product-template.is-flex-container {
		gap: 20px;
	}

	.mw-new-arrivals .mw-home-cards ul.wc-block-product-template,
	.mw-new-arrivals .mw-home-cards ul.wc-block-product-template.is-flex-container {
		display: grid;
		grid-auto-flow: row;
		grid-template-rows: none;
		grid-auto-columns: auto;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 20px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.mw-new-arrivals .mw-home-cards .wc-block-product-template > li {
		flex: none;
		scroll-snap-align: none;
	}
}

/* Focused items heading row: heading with thin lines, View all link on the line below. */
.mw-home-section > .mw-section-head {
	box-sizing: border-box;
	gap: 12px;
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin: 0 auto 0.875rem;
	padding-inline: 12px;
}

.mw-section-head .mw-section-head__title {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
	font-weight: 300;
	line-height: 1.3;
}

/*
 * Line style (owner reference image, 2026-11-13): a short thin line, the heading, then a long thin
 * line that fills the rest of the row up to the View all button. The lines are drawn by the row itself,
 * so the heading text stays plain editable text.
 */
.mw-home-section > .mw-section-head {
	justify-content: flex-start;
	gap: clamp(0.625rem, 1.5vw, 1.25rem);
}

.mw-section-head::before,
.mw-section-head::after {
	content: "";
	align-self: center;
	height: 0;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border-strong) 35%, #fff);
}

.mw-section-head::before {
	flex: 0 0 clamp(1.25rem, 3vw, 3rem);
}

.mw-section-head::after {
	flex: 1 1 0;
	order: 1;
	min-width: 1rem;
}

.mw-home-section > .mw-section-head {
	flex-wrap: wrap;
	row-gap: 0;
	margin-bottom: 0.25rem;
}

/*
 * View all (owner chose style C, 2026-11-13): a quiet text link with a small arrow, on its own line
 * below the heading and its lines, right-aligned to the card edge. The arrow is drawn from
 * assets/icons/arrow-right.svg with a mask, so it follows the text colour.
 */
.mw-section-head .wp-block-buttons {
	flex: 0 0 100%;
	order: 3;
	justify-content: flex-end;
	margin: 0;
}

.mw-section-head .mw-section-head__btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.mw-section-head .mw-section-head__btn .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	mask: url("../icons/arrow-right.svg") center / contain no-repeat;
	transition: transform 0.15s ease;
}

.mw-section-head .mw-section-head__btn .wp-block-button__link:hover {
	background: none;
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mw-section-head .mw-section-head__btn .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.mw-section-head .mw-section-head__btn .wp-block-button__link::after {
		transition: none;
	}
}

@media (min-width: 768px) {
	.mw-home-section > .mw-section-head {
		padding-inline: 24px;
	}
}

/* Very narrow phones (under 360px): drop the short line before the heading so the heading stays on one line. */
@media (max-width: 359px) {
	.mw-section-head::before {
		display: none;
	}
}

/* Collection banners: arrow icon (the block's own stylesheet cannot hold a url(), WordPress may inline it). */
.mw-cb .mw-cb__arrow::before {
	-webkit-mask: url("../icons/chevron-right.svg") center / contain no-repeat;
	mask: url("../icons/chevron-right.svg") center / contain no-repeat;
}

/* New collection section: the shared heading row without a View all link. */
.mw-home-section > .mw-section-head.mw-section-head--plain {
	margin-bottom: 0.875rem;
}

.mw-home-section.mw-new-collection {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
}

.mw-home-section > .mw-cb {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

/* New collection: one full-width banner at a time (2026-11-16). Repeated here from the block stylesheet because home.css is versioned by file time, while block stylesheets are cached for a week under the WordPress version. */
.mw-home-section > .mw-cb .mw-cb__track {
	gap: 12px;
}

.mw-home-section > .mw-cb .mw-cb__track::after {
	display: none;
}

.mw-home-section > .mw-cb .mw-cb__slide {
	flex: 0 0 100%;
}

@media (min-width: 768px) {
	.mw-home-section > .mw-cb .mw-cb__track {
		gap: 24px;
	}
}

/* Centred section heading variant (the shoppable videos): a line on each side of the centred heading. */
.mw-home-section > .mw-section-head.mw-section-head--center {
	justify-content: center;
}

.mw-section-head--center::before,
.mw-section-head--center::after {
	flex: 1 1 0;
	min-width: 1rem;
}

.mw-section-head--center::after {
	order: 1;
}

@media (max-width: 359px) {
	.mw-section-head--center::before {
		display: block;
	}
}

/* Shoppable videos: the section and its heading are hidden until a video tile exists. */
.mw-shoppable-videos:not(:has(.mw-sv__item)) {
	display: none;
}

.mw-home-section.mw-shoppable-videos {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
}

.mw-home-section > .mw-sv {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

/* A roomier gap between the heading row and the videos (owner request, same as the category tiles). */
.mw-home-section.mw-shoppable-videos > .mw-section-head.mw-section-head--plain {
	margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

/* Category tiles: the section and its width inside the constrained Group; hidden while no category tile exists. */
.mw-home-section.mw-category-tiles {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
}

.mw-category-tiles:not(:has(.mw-ct__li)) {
	display: none;
}

/* A roomier gap between the heading row and the tiles (owner request). */
.mw-home-section.mw-category-tiles > .mw-section-head.mw-section-head--plain {
	margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.mw-home-section > .mw-ct {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

/* Customer testimonials: the section and its width inside the constrained Group; hidden while no testimonial has a quote. */
.mw-home-section.mw-testimonials {
	padding-block: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
}

.mw-testimonials:not(:has(.mw-tm__item)) {
	display: none;
}

.mw-home-section > .mw-tm {
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
}

/* Email sign-up band: cream background, centred heading and line, the form (hidden while the Core plugin is off). */
.mw-home-section.mw-email-signup {
	padding-block: clamp(1.75rem, 1.25rem + 2.5vw, 3.25rem);
	padding-inline: 16px;
}

.mw-email-signup:not(:has(.mw-sf)) {
	display: none;
}

.mw-email-signup > .mw-email-signup__title {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
	font-weight: 300;
	line-height: 1.3;
}

.mw-email-signup > .mw-email-signup__text {
	max-width: 560px;
	margin: 0.5rem auto 1.25rem;
	font-size: 1rem;
}

/* Intro text section (between the testimonials and the email sign-up): centred heading and a muted paragraph with bold key phrases. */
.mw-home-section.mw-intro-text {
	/* The same gap as the testimonials' bottom padding sits above the line and below it, so the line is centred between the two sections. */
	--mw-intro-gap: clamp(1.25rem, 3vw, 2rem);
	padding-block: 0 clamp(1.5rem, 1rem + 2.5vw, 3rem);
	padding-inline: 16px;
	text-align: center;
}

/* A subtle divider line (the same tint as the section heading lines) before the intro text. */
.mw-intro-text::before {
	content: "";
	display: block;
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1440px);
	height: 0;
	margin: 0 auto var(--mw-intro-gap);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--border-strong) 35%, #fff);
}

.mw-intro-text > .mw-intro-text__title {
	max-width: 1100px;
	margin: 0 auto;
	font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
	font-weight: 300;
	line-height: 1.4;
}

.mw-intro-text > .mw-intro-text__text {
	max-width: 1100px;
	margin: clamp(1rem, 0.75rem + 1.2vw, 1.75rem) auto 0;
	color: var(--wp--preset--color--text-muted);
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
	line-height: 1.9;
}

.mw-intro-text .mw-intro-text__text strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

/* Category product rows (block magikweaves/category-products) reuse the New Arrivals rules above; the heading row is drawn by the block itself. */
.mw-category-row > .mw-section-head {
	display: flex;
}

/* Phones: home section headings one step darker, Regular 400 instead of Light 300 (owner request, 2026-11-16). Jost 400 is already loaded and preloaded. */
@media (max-width: 767px) {
	.mw-section-head .mw-section-head__title,
	.mw-email-signup > .mw-email-signup__title,
	.mw-intro-text > .mw-intro-text__title {
		font-weight: 400;
	}
}

/* Phones: the round category photos are a little bigger, 84px instead of 72px (owner request, 2026-11-16). Repeated here because home.css is versioned by file time and block stylesheets are cached for a week. */
@media (max-width: 767px) {
	.mw-home-section .mw-cat-icons {
		--mw-cat-size: 84px;
	}
}

/* A linked hero: the anchor fills the hero, so a click anywhere on the photo follows the link. */
.mw-hero .mw-hero__link {
	position: absolute;
	inset: 0;
	display: block;
	max-width: none; /* The constrained layout of the hero group would otherwise narrow the link, and the photo with it, to the text width. */
	margin: 0;
}

.mw-hero .mw-hero__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--secondary);
	outline-offset: -3px;
}
