/**
 * Products For Home – hero slider element.
 *
 * Slides are stacked in one grid cell so the section is as tall as the tallest
 * slide, which lets us crossfade and run staggered reveals without measuring
 * anything in JavaScript.
 */

.pfh-hero {
	--pfh-hero-min: var(--pfh-hero-min-set, 700px);
	--pfh-hero-min-m: 520px;
	--pfh-hero-pad-y: var(--pfh-hero-pad-y-set, 56px);
	--pfh-hero-bg: #fff;
	--pfh-hero-bg-img: none;
	--pfh-hero-bg-size: cover;
	--pfh-hero-bg-pos: center center;
	--pfh-hero-overlay: transparent;
	--pfh-hero-radius: 0px;
	--pfh-text-col: 46%;
	--pfh-col-gap: 40px;

	--pfh-title-font: var(--pfh-font);
	--pfh-title-size: var(--pfh-title-size-set, 60px);
	--pfh-title-size-m: 36px;
	--pfh-title-weight: 400;
	--pfh-title-lh: 1.15;
	--pfh-title-color: #484c4d;
	--pfh-title-max: 520px;
	--pfh-text-size: 18px;
	--pfh-text-weight: 300;
	--pfh-text-lh: 1.4;
	--pfh-text-color: #66758e;
	--pfh-text-max: 412px;
	--pfh-eyebrow-size: 14px;
	--pfh-eyebrow-color: #6f8566;
	--pfh-gap-rt: 26px;
	--pfh-gap-tt: 20px;
	--pfh-gap-tb: 30px;

	--pfh-stars-w: 91px;
	--pfh-stars-gap: 10px;
	--pfh-avatar-h: 36px;
	--pfh-avatar-lap: 10px;
	--pfh-rating-gap: 16px;
	--pfh-rating-size: 14px;
	--pfh-rating-color: #000;
	--pfh-rating-font: var(--pfh-font);

	--pfh-btn-bg: #7caeb2;
	--pfh-btn-color: #fff;
	--pfh-btn-hover: #6b9da1;
	--pfh-btn-h: var(--pfh-btn-h-set, 48px);
	--pfh-btn-pad: var(--pfh-btn-pad-set, 26px);
	--pfh-btn-radius: 70px;
	--pfh-btn-size: 15px;
	--pfh-btn-arrow: 12px;
	--pfh-btn-gap: 10px;
	--pfh-btns-gap: 12px;
	--pfh-btn2-bg: #fff;
	--pfh-btn2-color: #5f6d46;
	--pfh-btn2-border: #5f6d46;

	--pfh-media-align: center;
	--pfh-media-x: 0px;
	--pfh-media-y: 0px;
	--pfh-glow: rgba(238, 230, 209, 0.85);

	--pfh-reveal-d: 26px;
	--pfh-reveal-t: 750ms;
	--pfh-stagger: 90ms;
	--pfh-crossfade: 600ms;

	--pfh-dot-size: 8px;
	--pfh-dot-gap: 20px;
	--pfh-dot-color: rgba(124, 174, 178, 0.45);
	--pfh-dot-active: #7caeb2;
	--pfh-dot-offset: 54px;

	--pfh-mq-bg: #7caeb2;
	--pfh-mq-color: #fff;
	--pfh-mq-h: 40px;
	--pfh-mq-size: 16px;
	--pfh-mq-weight: 500;
	--pfh-mq-gap: 34px;
	--pfh-mq-ls: 0.02em;
	--pfh-mq-time: 40s;
	--pfh-arrow-color: #51604f;
	--pfh-arrow-bg: rgba(255, 255, 255, 0.86);

	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: var(--pfh-hero-min);
	padding-block: var(--pfh-hero-pad-y);
	background: var(--pfh-hero-bg);
	border-radius: 0 0 var(--pfh-hero-radius) var(--pfh-hero-radius);
	overflow: hidden;
	isolation: isolate;
}

.pfh-hero__filters {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.pfh-hero--empty {
	min-height: 160px;
	display: grid;
	place-items: center;
	color: rgba(20, 24, 27, 0.5);
	border: 1px dashed rgba(20, 24, 27, 0.2);
}

/* ------------------------------------------------------------------ *
 * Background
 * ------------------------------------------------------------------ */

.pfh-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--pfh-hero-bg-img);
	background-size: var(--pfh-hero-bg-size);
	background-position: var(--pfh-hero-bg-pos);
	background-repeat: no-repeat;
	transition: opacity var(--pfh-crossfade) var(--pfh-ease);
}

.pfh-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--pfh-hero-overlay);
	pointer-events: none;
}

/* ------------------------------------------------------------------ *
 * Section decorations
 * ------------------------------------------------------------------ */

/*
 * Inset to the content column rather than the full-bleed section, so a
 * decoration placed at "82%" in the 1440 design stays beside the content on a
 * 2560 monitor instead of drifting off toward the viewport edge.
 * `--pfh-anchor` is 0px when the section anchoring is chosen instead.
 */
.pfh-hero__decor {
	position: absolute;
	inset: 0 var(--pfh-anchor, var(--pfh-edge));
	z-index: 1;
	pointer-events: none;
}

.pfh-hero.decor-full .pfh-hero__decor {
	--pfh-anchor: 0px;
}

.pfh-hero__decor-img,
.pfh-hero__float {
	position: absolute;
	/*
	 * Corner anchoring. A decoration pinned to an edge keeps the same
	 * relationship to it at every width; the percentage fallbacks are the
	 * legacy "free" placement, where the offset is a share of the section and
	 * therefore drifts as the viewport grows.
	 */
	left: var(--pfh-l, var(--pfh-x, 0%));
	right: var(--pfh-r, auto);
	top: var(--pfh-t, var(--pfh-y, 0%));
	bottom: var(--pfh-b, auto);
	width: var(--pfh-w, 160px);
	height: auto;
	opacity: var(--pfh-o, 1);
	filter: var(--pfh-cut, none);
	mix-blend-mode: var(--pfh-blend, normal);
	will-change: transform;
	/* Parallax offset; the bob keyframes below fold it in so both compose. */
	transform: translate3d(var(--pfh-px, 0px), var(--pfh-py, 0px), 0);
}

.pfh-hero.has-float-anim .pfh-hero__decor-img,
.pfh-hero.has-float-anim .pfh-hero__float {
	animation: pfh-bob 7s var(--pfh-d, 0s) ease-in-out infinite;
}

@keyframes pfh-bob {
	0%, 100% { transform: translate3d(var(--pfh-px, 0px), var(--pfh-py, 0px), 0); }
	50%      { transform: translate3d(var(--pfh-px, 0px), calc(var(--pfh-py, 0px) - 14px), 0); }
}

/* ------------------------------------------------------------------ *
 * Layout
 * ------------------------------------------------------------------ */

.pfh-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: calc(var(--pfh-container) + var(--pfh-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--pfh-gutter);
}

.pfh-hero__viewport {
	display: grid;
	grid-template-areas: "slide";
	align-items: center;
}

.pfh-hero__slide {
	grid-area: slide;
	display: grid;
	grid-template-columns: var(--pfh-text-col) 1fr;
	align-items: center;
	gap: var(--pfh-col-gap);
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--pfh-crossfade) var(--pfh-ease), visibility 0s linear var(--pfh-crossfade);
}

.pfh-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
	z-index: 1;
}

.pfh-hero.is-media-first .pfh-hero__col--text { order: 2; }
.pfh-hero.is-media-first .pfh-hero__col--media { order: 1; }
.pfh-hero.is-media-first .pfh-hero__slide { grid-template-columns: 1fr var(--pfh-text-col); }

.pfh-hero__col {
	min-width: 0;
}

.pfh-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Figma spaces each pair differently, so drive it off adjacent siblings. */
.pfh-hero__content > * + * { margin-top: 20px; }
.pfh-hero__eyebrow + *    { margin-top: 14px; }
.pfh-hero__rating + *     { margin-top: var(--pfh-gap-rt); }
.pfh-hero__title + *      { margin-top: var(--pfh-gap-tt); }
.pfh-hero__text + *       { margin-top: var(--pfh-gap-tb); }

/* ------------------------------------------------------------------ *
 * Copy
 * ------------------------------------------------------------------ */

.pfh-hero__rating {
	display: flex;
	align-items: center;
	gap: var(--pfh-rating-gap);
}

.pfh-hero__rating-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--pfh-stars-gap);
}

.pfh-hero__avatars {
	height: var(--pfh-avatar-h);
	width: auto;
	filter: var(--pfh-cut, none);
	mix-blend-mode: var(--pfh-blend, normal);
}

.pfh-hero__avatars.is-separate {
	display: inline-flex;
	align-items: center;
	filter: none;
}

.pfh-hero__avatar {
	width: var(--pfh-avatar-h);
	height: var(--pfh-avatar-h);
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(20, 24, 27, 0.12);
}

.pfh-hero__avatar + .pfh-hero__avatar {
	margin-left: calc(-1 * var(--pfh-avatar-lap));
}

.pfh-hero__stars {
	width: var(--pfh-stars-w);
	height: auto;
}

/*
 * Live star row. Occupies the same width the star image did, so switching
 * between the two does not move the text beside it. The fill is a clipped
 * overlay, which lands a partial star on the exact fraction.
 */
/*
 * The wrapper carries the FILLED colour, so currentColor anywhere inside means
 * "on". The empty row opts out explicitly. Doing it the other way round makes
 * the fill's currentColor resolve to the empty grey and every star goes flat.
 */
.pfh-hero__stars.is-live {
	position: relative;
	display: inline-block;
	width: var(--pfh-stars-w);
	line-height: 0;
	color: var(--pfh-star-color, currentColor);
}

.pfh-hero__stars-row {
	display: flex;
	gap: .14em;
	width: var(--pfh-stars-w);
	line-height: 0;
	color: var(--pfh-star-empty, rgba(31, 43, 46, .2));
}

.pfh-hero__stars-row svg {
	display: block;
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	height: auto;
	/* Without this the SVG falls back to its 300x150 intrinsic size. */
	aspect-ratio: 1;
}

.pfh-hero__stars-fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	line-height: 0;
	color: inherit;
}

/* Beats the empty rule above on specificity, so the fill stays lit. */
.pfh-hero__stars-fill .pfh-hero__stars-row {
	color: inherit;
}

.pfh-hero__rating-text {
	font-family: var(--pfh-rating-font);
	font-size: var(--pfh-rating-size);
	line-height: 1;
	color: var(--pfh-rating-color);
	white-space: nowrap;
}

.pfh-hero__eyebrow {
	font-size: var(--pfh-eyebrow-size);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pfh-eyebrow-color);
}

.pfh-hero__title {
	max-width: var(--pfh-title-max);
	font-family: var(--pfh-title-font);
	font-size: var(--pfh-title-size);
	font-weight: var(--pfh-title-weight);
	line-height: var(--pfh-title-lh);
	letter-spacing: 0;
	color: var(--pfh-slide-fg, var(--pfh-title-color));
}

.pfh-hero__title em,
.pfh-hero__title i {
	font-style: italic;
}

.pfh-hero__text {
	max-width: var(--pfh-text-max);
	font-size: var(--pfh-text-size);
	font-weight: var(--pfh-text-weight);
	line-height: var(--pfh-text-lh);
	color: var(--pfh-text-color);
}

.pfh-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--pfh-btns-gap);
}

.pfh-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--pfh-btn-gap);
	height: var(--pfh-btn-h);
	padding: 0 var(--pfh-btn-pad);
	border-radius: var(--pfh-btn-radius);
	font-size: var(--pfh-btn-size);
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color var(--pfh-speed) var(--pfh-ease), color var(--pfh-speed) var(--pfh-ease), transform var(--pfh-speed) var(--pfh-ease);
}

.pfh-hero__btn--primary {
	background: var(--pfh-btn-bg);
	color: var(--pfh-btn-color);
}

.pfh-hero__btn--primary:hover {
	background: var(--pfh-btn-hover);
	transform: translateY(-2px);
}

.pfh-hero__btn--ghost {
	background: var(--pfh-btn2-bg);
	border: 1px solid var(--pfh-btn2-border);
	color: var(--pfh-btn2-color);
}

.pfh-hero__btn--ghost:hover {
	background: var(--pfh-btn2-border);
	color: var(--pfh-btn2-bg);
	transform: translateY(-2px);
}

/* Arrows inherit currentColor, so no per-variant tinting is needed. */

.pfh-hero__btn-arrow {
	flex: none;
	width: var(--pfh-btn-arrow);
	height: var(--pfh-btn-arrow);
	background: currentColor;
	-webkit-mask: var(--pfh-arrow-src) center / contain no-repeat;
	mask: var(--pfh-arrow-src) center / contain no-repeat;
	transition: transform var(--pfh-speed) var(--pfh-ease);
}

.pfh-hero__btn:hover .pfh-hero__btn-arrow {
	transform: translateX(4px);
}

/* ------------------------------------------------------------------ *
 * Media
 * ------------------------------------------------------------------ */

.pfh-hero__media {
	position: relative;
	display: flex;
	align-items: var(--pfh-media-align);
	justify-content: center;
	min-height: 1px;
	translate: var(--pfh-media-x) var(--pfh-media-y);
}

.pfh-hero.has-glow .pfh-hero__media::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 82%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, var(--pfh-glow) 0%, transparent 68%);
	pointer-events: none;
	z-index: 0;
}

.pfh-hero__product {
	position: relative;
	z-index: 1;
	width: var(--pfh-w, 100%);
	height: auto;
	filter: var(--pfh-cut, none);
	mix-blend-mode: var(--pfh-blend, normal);
}

.pfh-hero__float {
	z-index: 0;
}

.pfh-hero__float.is-front {
	z-index: 2;
}

/* ------------------------------------------------------------------ *
 * Reveal animations
 * ------------------------------------------------------------------ */

.pfh-hero__slide [data-pfh-reveal],
.pfh-hero__slide [data-pfh-reveal-float] {
	transition:
		opacity var(--pfh-reveal-t) var(--pfh-ease) calc(var(--pfh-i, 0) * var(--pfh-stagger)),
		transform var(--pfh-reveal-t) var(--pfh-ease) calc(var(--pfh-i, 0) * var(--pfh-stagger)),
		filter var(--pfh-reveal-t) var(--pfh-ease) calc(var(--pfh-i, 0) * var(--pfh-stagger)),
		clip-path var(--pfh-reveal-t) var(--pfh-ease) calc(var(--pfh-i, 0) * var(--pfh-stagger));
}

/* Resting (hidden) state, per effect. */
.pfh-reveal-up .pfh-hero__slide [data-pfh-reveal] { opacity: 0; transform: translate3d(0, var(--pfh-reveal-d), 0); }
.pfh-reveal-left .pfh-hero__slide [data-pfh-reveal] { opacity: 0; transform: translate3d(calc(-1 * var(--pfh-reveal-d)), 0, 0); }
.pfh-reveal-zoom .pfh-hero__slide [data-pfh-reveal] { opacity: 0; transform: scale(0.94); }
.pfh-reveal-blur .pfh-hero__slide [data-pfh-reveal] { opacity: 0; filter: blur(10px); }
.pfh-reveal-fade .pfh-hero__slide [data-pfh-reveal] { opacity: 0; }
.pfh-reveal-mask .pfh-hero__slide [data-pfh-reveal] {
	opacity: 1;
	clip-path: inset(0 100% 0 0);
	transform: translate3d(0, calc(var(--pfh-reveal-d) * 0.4), 0);
}

/* Active state resets everything. */
.pfh-hero__slide.is-active [data-pfh-reveal] {
	opacity: 1;
	transform: none;
	filter: none;
	clip-path: inset(0 0 0 0);
}

/* The floats reveal alongside the media, slightly later. */
.pfh-hero__slide [data-pfh-reveal-float] { opacity: 0; }
.pfh-hero__slide.is-active [data-pfh-reveal-float] { opacity: var(--pfh-o, 1); }

/* Featured image effect. */
.pfh-media-zoom .pfh-hero__slide [data-pfh-media]  { opacity: 0; transform: scale(0.9); }
.pfh-media-up .pfh-hero__slide [data-pfh-media]    { opacity: 0; transform: translate3d(0, 36px, 0); }
.pfh-media-right .pfh-hero__slide [data-pfh-media] { opacity: 0; transform: translate3d(44px, 0, 0); }
.pfh-media-fade .pfh-hero__slide [data-pfh-media]  { opacity: 0; }

.pfh-hero__slide [data-pfh-media] {
	transition:
		opacity calc(var(--pfh-reveal-t) * 1.15) var(--pfh-ease) 60ms,
		transform calc(var(--pfh-reveal-t) * 1.15) var(--pfh-ease) 60ms;
}

.pfh-hero__slide.is-active [data-pfh-media] {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------------ *
 * Dots
 * ------------------------------------------------------------------ */

.pfh-hero__dots {
	position: absolute;
	display: flex;
	gap: var(--pfh-dot-gap);
	z-index: 3;
}

.pfh-dots-right .pfh-hero__dots,
.pfh-dots-left .pfh-hero__dots {
	top: 50%;
	transform: translateY(-50%);
	flex-direction: column;
}

.pfh-dots-right .pfh-hero__dots { right: var(--pfh-dot-offset); }
.pfh-dots-left .pfh-hero__dots { left: var(--pfh-dot-offset); }

.pfh-dots-bottom .pfh-hero__dots {
	left: 50%;
	bottom: calc(var(--pfh-dot-offset) + var(--pfh-mq-space, 0px));
	transform: translateX(-50%);
	flex-direction: row;
}

.pfh-hero__dot {
	position: relative;
	width: var(--pfh-dot-size);
	height: var(--pfh-dot-size);
	padding: 0;
	border-radius: 50%;
	background: var(--pfh-dot-color);
	overflow: hidden;
	transition: background-color var(--pfh-speed) var(--pfh-ease), transform var(--pfh-speed) var(--pfh-ease);
}

.pfh-hero__dot:hover {
	transform: scale(1.25);
}

.pfh-hero__dot.is-active {
	background: var(--pfh-dot-active);
}

/* Ring + autoplay progress on the active dot. */
.pfh-hero__dots.has-progress .pfh-hero__dot.is-active {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--pfh-dot-active);
	transform: scale(1.5);
}

.pfh-hero__dot-fill {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--pfh-dot-active);
	transform: scale(0);
	transform-origin: center;
}

.pfh-hero__dot.is-active .pfh-hero__dot-fill {
	transform: scale(0.42);
}

.pfh-hero__dots.has-progress .pfh-hero__dot.is-active .pfh-hero__dot-fill {
	animation: pfh-dot-fill var(--pfh-dot-time, 6s) linear forwards;
}

.pfh-hero__dots.has-progress.is-paused .pfh-hero__dot-fill {
	animation-play-state: paused;
}

@keyframes pfh-dot-fill {
	from { transform: scale(0.42); }
	to   { transform: scale(0.78); }
}

/* ------------------------------------------------------------------ *
 * Marquee bar
 * ------------------------------------------------------------------ */

.pfh-hero.has-marquee {
	--pfh-mq-space: var(--pfh-mq-h);
	padding-bottom: calc(var(--pfh-hero-pad-y) + var(--pfh-mq-h));
}

.pfh-hero__marquee {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	height: var(--pfh-mq-h);
	overflow: hidden;
	background: var(--pfh-mq-bg);
	color: var(--pfh-mq-color);
	-webkit-user-select: none;
	user-select: none;
}

.pfh-hero__marquee-track {
	display: flex;
	width: max-content;
	animation: pfh-marquee var(--pfh-mq-time) linear infinite;
}

.pfh-hero__marquee.is-right .pfh-hero__marquee-track {
	animation-direction: reverse;
}

.pfh-hero__marquee.is-pausable:hover .pfh-hero__marquee-track {
	animation-play-state: paused;
}

.pfh-hero__marquee-group {
	display: flex;
	align-items: center;
	gap: var(--pfh-mq-gap);
	padding-right: var(--pfh-mq-gap);
	flex: none;
}

.pfh-hero__marquee-item,
.pfh-hero__marquee-sep {
	font-size: var(--pfh-mq-size);
	font-weight: var(--pfh-mq-weight);
	line-height: 1;
	letter-spacing: var(--pfh-mq-ls);
	text-transform: uppercase;
	white-space: nowrap;
}

.pfh-hero__marquee-sep {
	opacity: 0.8;
}

@keyframes pfh-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

/* ------------------------------------------------------------------ *
 * Arrows
 * ------------------------------------------------------------------ */

.pfh-hero__arrows {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.pfh-hero__arrow {
	position: absolute;
	top: 50%;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	border-radius: 50%;
	background: var(--pfh-arrow-bg);
	color: var(--pfh-arrow-color);
	box-shadow: 0 4px 18px rgba(20, 24, 27, 0.1);
	pointer-events: auto;
	transition: background-color var(--pfh-speed) var(--pfh-ease), transform var(--pfh-speed) var(--pfh-ease);
}

.pfh-hero__arrow:hover {
	transform: translateY(-50%) scale(1.06);
}

.pfh-hero__arrow svg {
	width: 20px;
	height: 20px;
}

.pfh-hero__arrow--prev { left: 16px; }
.pfh-hero__arrow--prev svg { transform: rotate(180deg); }
.pfh-hero__arrow--next { right: 16px; }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1199px) {
	.pfh-hero {
		--pfh-title-size: 50px;
	}

	.pfh-dots-right .pfh-hero__dots { right: 2px; }
	.pfh-dots-left .pfh-hero__dots { left: 2px; }
}

@media (max-width: 991px) {
	.pfh-hero {
		--pfh-hero-min: var(--pfh-hero-min-m);
		--pfh-title-size: var(--pfh-title-size-m);
		--pfh-gutter: 20px;
		--pfh-hero-pad-y: 44px;
	}

	.pfh-hero__slide,
	.pfh-hero.is-media-first .pfh-hero__slide {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: center;
	}

	.pfh-hero__col--text { order: 1; }
	.pfh-hero__col--media { order: 2; }

	.pfh-hero__content {
		align-items: center;
	}

	.pfh-hero__title,
	.pfh-hero__text {
		max-width: 100%;
	}

	.pfh-hero__rating,
	.pfh-hero__actions {
		justify-content: center;
	}

	.pfh-hero__product {
		width: min(var(--pfh-w, 100%), 420px);
		margin-inline: auto;
	}

	/*
	 * Dots move under the slide. They stay absolutely positioned: the hero is a
	 * flex container, so a static dots strip would become a sibling column of
	 * the content instead of sitting beneath it.
	 */
	.pfh-dots-right .pfh-hero__dots,
	.pfh-dots-left .pfh-hero__dots,
	.pfh-dots-bottom .pfh-hero__dots {
		top: auto;
		right: auto;
		left: 50%;
		bottom: calc(var(--pfh-mq-space, 0px) + 20px);
		flex-direction: row;
		transform: translateX(-50%);
	}

	/*
	 * Room for the dots strip below the content. With the marquee band too:
	 * .has-marquee sets its own padding and, with two classes, won — so on a
	 * phone the dots sat on the edge of the "Shop nu" button (2026-10-03).
	 */
	.pfh-hero,
	.pfh-hero.has-marquee {
		padding-bottom: calc(var(--pfh-hero-pad-y) + var(--pfh-mq-space, 0px) + 30px);
	}

	.pfh-hero__decor-img.is-hidden-mobile {
		display: none;
	}

	.pfh-hero__arrow { width: 40px; height: 40px; }
	.pfh-hero__arrow--prev { left: 4px; }
	.pfh-hero__arrow--next { right: 4px; }
}

@media (max-width: 640px) {
	.pfh-hero {
		--pfh-btn-h: 48px;
		--pfh-btn-pad: 22px;
	}

	.pfh-hero__float {
		width: calc(var(--pfh-w, 160px) * 0.66);
	}

	.pfh-hero__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.pfh-hero__btn {
		width: 100%;
	}
}

/*
 * Compact on phones: the picture first, straight under the menu, and only the
 * text and the main button under it. The first sentence of the text stands in
 * for the headline, in its typeface (feedback, 2026-09-28 and 10-01).
 */
@media (max-width: 767px) {
	.pfh-hero.is-phone-compact .pfh-hero__col--media { order: 0; }
	.pfh-hero.is-phone-compact .pfh-hero__col--text { order: 1; }

	/*
	 * What the client crossed out (feedback #1004652): the reviewers' faces,
	 * the headline and the second button. The stars and "(396+ reviews)"
	 * were not crossed and stay (2026-10-02).
	 */
	.pfh-hero.is-phone-compact .pfh-hero__avatars,
	.pfh-hero.is-phone-compact .pfh-hero__title,
	.pfh-hero.is-phone-compact .pfh-hero__btn--ghost {
		display: none;
	}

	.pfh-hero.is-phone-compact .pfh-hero__lead {
		display: block;
		margin-bottom: 10px;
		color: var(--pfh-title-color, #484c4d);
		font-family: var(--pfh-title-font, "Playfair Display", Georgia, serif);
		font-size: var(--pfh-title-size-m, 36px);
		font-weight: var(--pfh-title-weight, 400);
		line-height: 1.15;
	}

	.pfh-hero.is-phone-compact .pfh-hero__slide { gap: 18px; }
	.pfh-hero.is-phone-compact { --pfh-hero-pad-y: 20px; }
}

/* Motion off: no autoplay, no transforms, no bobbing. */
@media (prefers-reduced-motion: reduce) {
	.pfh-hero .pfh-hero__slide [data-pfh-reveal],
	.pfh-hero .pfh-hero__slide [data-pfh-reveal-float],
	.pfh-hero .pfh-hero__slide [data-pfh-media] {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		clip-path: none !important;
	}

	.pfh-hero.has-float-anim .pfh-hero__decor-img,
	.pfh-hero.has-float-anim .pfh-hero__float {
		animation: none;
	}

	.pfh-hero__dot-fill {
		animation: none !important;
	}
}
