/* Al Mahjar Core — hero section (banner, slider, 3D scene). Milano tokens only (MILANO_DESIGN.md): heading font and weight,
   pill buttons with the theme's height / radius / weight, hairlines, 768px as the phone switch. Logical properties, so
   Arabic mirrors by itself. Layers inside a hero: .ahr-media (picture / video / still), .ahr-stage (3D canvas),
   .ahr-overlay (shade), .ahr-content (words). */
.almahjar-hero {
	--ahr-ink: var(--color-heading, #111);
	--ahr-paper: var(--color-background, #fff);
	--ahr-accent: var(--color-primary, #d0473e);
	--ahr-fh: var(--heading-font, inherit);
	--ahr-r: 0px;
	--ahr-sgn: 1;
	--ahr-speed: 900ms;
	--ahr-auto: 6s;
	--ahr-gut: max(
		clamp(20px, 5vw, 60px),
		calc((100% - var(--container-width, 1200px)) / 2 + var(--container-padding-x, 15px))
	);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template: 100%/100%;
	width: 100%;
	height: calc(var(--ahr-hd, 85) * 1vh);
	height: calc(var(--ahr-hd, 85) * 1svh);
	min-height: 440px;
	background: var(--color-gray, #f5f5f5);
	border-radius: var(--ahr-r);
	color: #fff;
	font-family: var(--body-font, inherit);
	-webkit-tap-highlight-color: transparent;
}
@media (max-width: 767px) {
	.almahjar-hero {
		height: calc(var(--ahr-hm, 78) * 1vh - var(--almahjar-acc-bottom-nav, 0px));
		height: calc(var(--ahr-hm, 78) * 1svh - var(--almahjar-acc-bottom-nav, 0px));
		min-height: 440px;
	}
} /* the shop's bottom bar on phones never covers the slide markers */
.almahjar-hero.ahr-w-full {
	width: var(--ahr-vw, 100vw);
	max-width: none;
	margin-inline: calc(50% - var(--ahr-vw, 100vw) / 2);
}
.almahjar-hero.ahr-w-container {
	width: calc(100% - 2 * var(--container-padding-x, 15px));
	max-width: var(--container-width, 1200px);
	margin-inline: auto;
	--ahr-gut: clamp(24px, 5vw, 70px);
}
.elementor-widget-milano-slideshow .almahjar-hero.ahr-w-full {
	width: 100%;
	margin-inline: 0;
} /* sits in the theme slideshow's own full-width spot */
.almahjar-hero *,
.almahjar-hero *::before,
.almahjar-hero *::after {
	box-sizing: border-box;
}
.almahjar-hero > *,
.ahr-slide > * {
	grid-area: 1/1;
}
.ahr-media {
	position: relative;
	z-index: 0;
	overflow: hidden;
	min-height: 0;
}
.almahjar-hero .ahr-media picture,
.almahjar-hero .ahr-media img,
.almahjar-hero .ahr-media video,
.almahjar-hero .ahr-blank {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	border: 0;
	border-radius: 0;
	user-select: none;
	-webkit-user-drag: none;
}
.ahr-blank {
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--ahr-ink) 75%, #000),
		color-mix(in srgb, var(--ahr-ink) 45%, var(--ahr-accent))
	);
}
.almahjar-hero.ahr-f-top .ahr-media img {
	object-position: 50% 15%;
}
.almahjar-hero.ahr-f-bottom .ahr-media img {
	object-position: 50% 85%;
}
.almahjar-hero.ahr-f-left .ahr-media img {
	object-position: 15% 50%;
}
.almahjar-hero.ahr-f-right .ahr-media img {
	object-position: 85% 50%;
}
.ahr-stage {
	position: relative;
	z-index: 1;
	pointer-events: auto;
}
.ahr-overlay {
	position: relative;
	z-index: 2;
	pointer-events: none;
}
/* tone and alignment are variables, so a slide's own choice beats the hero's */
.ahr-tone-light {
	--ahr-sh: rgb(0 0 0 / var(--ahr-ov, 0.35));
	--ahr-fg: #fff;
	--ahr-em: color-mix(in srgb, var(--ahr-accent) 55%, #fff);
	--ahr-b1: #fff;
	--ahr-b1-fg: #111;
	--ahr-b1h: transparent;
	--ahr-b1h-fg: #fff;
	--ahr-b1h-bd: #fff;
	--ahr-b2-fg: #fff;
	--ahr-b2-bd: rgb(255 255 255/0.7);
	--ahr-b2h: #fff;
	--ahr-b2h-fg: #111;
}
.ahr-tone-dark {
	--ahr-sh: rgb(255 255 255 / var(--ahr-ov, 0.35));
	--ahr-fg: var(--ahr-ink);
	--ahr-em: var(--ahr-accent);
	--ahr-b1: var(--btn-primary-bg-color, var(--ahr-ink));
	--ahr-b1-fg: var(--btn-primary-color, #fff);
	--ahr-b1h: var(--btn-primary-hover-bg-color, #000);
	--ahr-b1h-fg: var(--btn-primary-hover-color, #fff);
	--ahr-b1h-bd: var(--btn-primary-hover-bg-color, #000);
	--ahr-b2-fg: var(--ahr-ink);
	--ahr-b2-bd: var(--ahr-ink);
	--ahr-b2h: var(--ahr-ink);
	--ahr-b2h-fg: var(--ahr-paper);
}
.ahr-a-start {
	--ahr-ai: flex-start;
	--ahr-ta: start;
	--ahr-eb2: none;
}
.ahr-a-center {
	--ahr-ai: center;
	--ahr-ta: center;
	--ahr-eb2: block;
}
.ahr-a-end {
	--ahr-ai: flex-end;
	--ahr-ta: end;
	--ahr-eb2: none;
}
.ahr-shade-solid .ahr-overlay {
	background: var(--ahr-sh);
}
.ahr-shade-gradient .ahr-overlay {
	background: linear-gradient(
			90deg,
			var(--ahr-sh) 0%,
			color-mix(in srgb, var(--ahr-sh) 55%, transparent) 45%,
			transparent 80%
		),
		linear-gradient(0deg, color-mix(in srgb, var(--ahr-sh) 70%, transparent), transparent 45%);
}
.ahr-shade-gradient .ahr-a-end .ahr-overlay,
.ahr-shade-gradient.ahr-a-end:not(.almahjar-hero--slider) .ahr-overlay {
	background: linear-gradient(
			270deg,
			var(--ahr-sh) 0%,
			color-mix(in srgb, var(--ahr-sh) 55%, transparent) 45%,
			transparent 80%
		),
		linear-gradient(0deg, color-mix(in srgb, var(--ahr-sh) 70%, transparent), transparent 45%);
}
.ahr-shade-gradient .ahr-a-center .ahr-overlay,
.ahr-shade-gradient.ahr-a-center:not(.almahjar-hero--slider) .ahr-overlay {
	background: radial-gradient(ellipse 70% 65% at 50% 55%, var(--ahr-sh), transparent 85%);
}
[dir="rtl"] .ahr-shade-gradient .ahr-overlay {
	scale: -1 1;
}
.ahr-shade-none .ahr-overlay {
	display: none;
}
@media (max-width: 767px) {
	.ahr-shade-gradient .ahr-overlay,
	.ahr-shade-gradient .ahr-a-end .ahr-overlay,
	.ahr-shade-gradient.ahr-a-end .ahr-overlay {
		background: linear-gradient(
			0deg,
			var(--ahr-sh) 0%,
			color-mix(in srgb, var(--ahr-sh) 60%, transparent) 45%,
			transparent 85%
		);
	}
}

/* words */
.ahr-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: var(--ahr-ai, flex-start);
	text-align: var(--ahr-ta, start);
	color: var(--ahr-fg, #fff);
	padding: clamp(70px, 9vw, 110px) var(--ahr-gut);
	pointer-events: none;
	min-width: 0;
}
.ahr-v-start .ahr-content {
	justify-content: flex-start;
}
.ahr-v-end .ahr-content {
	justify-content: flex-end;
}
.ahr-inner {
	max-width: min(620px, 100%);
	display: flex;
	flex-direction: column;
	align-items: inherit;
	gap: 0;
}
.ahr-s-xl .ahr-inner {
	max-width: min(820px, 100%);
}
.ahr-s-m .ahr-inner {
	max-width: min(540px, 100%);
}
.ahr-inner a,
.ahr-inner button {
	pointer-events: auto;
}
.ahr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: var(--subheading-weight, 500);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.92;
}
.ahr-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}
.ahr-eyebrow::after {
	content: "";
	display: var(--ahr-eb2, none);
	width: 28px;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}
[dir="rtl"] .ahr-eyebrow {
	letter-spacing: 0;
}
.almahjar-hero .ahr-title {
	margin: 0;
	color: inherit;
	font-family: var(--ahr-fh);
	font-weight: var(--heading-font-weight, 600);
	letter-spacing: var(--heading-letter-spacing, -0.034em);
	line-height: 1.04;
	font-size: clamp(40px, 6.2vw, 84px);
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.ahr-s-m .ahr-title {
	font-size: clamp(32px, 4.4vw, 58px);
}
.ahr-s-xl .ahr-title {
	font-size: clamp(46px, 8.4vw, 120px);
	line-height: 0.98;
}
[dir="rtl"] .almahjar-hero .ahr-title {
	letter-spacing: 0;
	line-height: 1.2;
}
.ahr-title em {
	font-style: normal;
	color: var(--ahr-em, var(--ahr-accent));
}
.ahr-text {
	margin: 20px 0 0;
	max-width: 46ch;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.6;
	opacity: 0.9;
}
.ahr-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
	justify-content: var(--ahr-ai, flex-start);
}
.almahjar-hero .ahr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--btn-height, 50px);
	padding: 0 var(--btn-padding-x, 40px);
	border: 1px solid transparent;
	border-radius: var(--btn-radius, 30px);
	font-family: var(--btn-font, inherit);
	font-size: var(--btn-font-size, 15px);
	font-weight: var(--btn-font-weight, 600);
	letter-spacing: var(--btn-letter-spacing, normal);
	text-transform: var(--btn-text-transform, none);
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	transition:
		background-color 0.3s,
		color 0.3s,
		border-color 0.3s,
		transform 0.3s;
}
.almahjar-hero .ahr-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.almahjar-hero .ahr-btn.is-main {
	background: var(--ahr-b1);
	color: var(--ahr-b1-fg);
	border-color: var(--ahr-b1);
}
.almahjar-hero .ahr-btn.is-main:hover {
	background: var(--ahr-b1h);
	color: var(--ahr-b1h-fg);
	border-color: var(--ahr-b1h-bd);
}
.almahjar-hero .ahr-btn.is-alt {
	background: transparent;
	color: var(--ahr-b2-fg);
	border-color: var(--ahr-b2-bd);
	backdrop-filter: blur(6px);
}
.almahjar-hero .ahr-btn.is-alt:hover {
	background: var(--ahr-b2h);
	color: var(--ahr-b2h-fg);
	border-color: var(--ahr-b2h);
}
@media (max-width: 767px) {
	.ahr-content {
		padding: 90px 20px 70px;
	}
	.ahr-v-center .ahr-content {
		justify-content: flex-end;
	}
	.ahr-text {
		font-size: 15px;
		margin-top: 14px;
	}
	.ahr-btns {
		margin-top: 24px;
		gap: 10px;
	}
	.almahjar-hero .ahr-btn {
		padding: 0 28px;
	}
	.ahr-eyebrow {
		margin-bottom: 12px;
		font-size: 12px;
	}
	.almahjar-hero--slider .ahr-content {
		padding-bottom: 84px;
	}
}

/* words come in */
@keyframes ahr-rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes ahr-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes ahr-blur {
	from {
		opacity: 0;
		filter: blur(14px);
		transform: scale(1.03);
	}
	to {
		opacity: 1;
		filter: none;
		transform: none;
	}
}
@keyframes ahr-mask {
	from {
		opacity: 0;
		clip-path: inset(0 0 100% 0);
		transform: translateY(40%);
	}
	to {
		opacity: 1;
		clip-path: inset(0 0 -10% 0);
		transform: none;
	}
}
.ahr-inner > * {
	animation: var(--ahr-in, none) 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--ahr-d0, 0.1s) + var(--ahr-n, 0) * 0.13s);
}
.ahr-inner > :nth-child(2) {
	--ahr-n: 1;
}
.ahr-inner > :nth-child(3) {
	--ahr-n: 2;
}
.ahr-inner > :nth-child(4) {
	--ahr-n: 3;
}
.ahr-anim-rise {
	--ahr-in-k: ahr-rise;
}
.ahr-anim-fade {
	--ahr-in-k: ahr-fade;
}
.ahr-anim-blur {
	--ahr-in-k: ahr-blur;
}
.ahr-anim-mask {
	--ahr-in-k: ahr-mask;
}
.almahjar-hero:not(.almahjar-hero--slider) .ahr-inner > *,
.ahr-slide.is-active .ahr-inner > * {
	--ahr-in: var(--ahr-in-k);
}
.almahjar-hero--slider {
	--ahr-d0: calc(var(--ahr-speed) * 0.35);
}
.almahjar-hero--slider.is-first {
	--ahr-d0: 0.1s;
}

/* banner movement */
@keyframes ahr-kb {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.16) translate3d(-1.6%, -1.2%, 0);
	}
}
@keyframes ahr-zo {
	from {
		transform: scale(1.18);
	}
	to {
		transform: scale(1);
	}
}
.ahr-m-kenburns .ahr-media img {
	animation: ahr-kb 20s ease-in-out infinite alternate;
	will-change: transform;
}
.ahr-m-zoomout .ahr-media img {
	animation: ahr-zo 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.ahr-m-parallax .ahr-media img {
	transform: translate3d(0, var(--ahr-par, 0px), 0) scale(1.18);
	will-change: transform;
}
/* banner: picture and text side by side */
.ahr-l-split {
	grid-template: 100%/1fr 1fr;
	background: color-mix(in srgb, var(--ahr-ink) 5%, var(--ahr-paper));
}
.ahr-l-split > .ahr-media {
	grid-area: 1/2;
}
.ahr-l-split > .ahr-content {
	grid-area: 1/1;
}
.almahjar-hero.ahr-l-split {
	--ahr-fg: var(--ahr-ink);
	--ahr-em: var(--ahr-accent);
	--ahr-b1: var(--btn-primary-bg-color, var(--ahr-ink));
	--ahr-b1-fg: var(--btn-primary-color, #fff);
	--ahr-b1h: var(--btn-primary-hover-bg-color, #000);
	--ahr-b1h-fg: var(--btn-primary-hover-color, #fff);
	--ahr-b1h-bd: var(--ahr-b1h);
	--ahr-b2-fg: var(--ahr-ink);
	--ahr-b2-bd: var(--ahr-ink);
	--ahr-b2h: var(--ahr-ink);
	--ahr-b2h-fg: var(--ahr-paper);
}
.ahr-l-split > .ahr-overlay {
	display: none;
}
.ahr-l-split.ahr-a-end > .ahr-media {
	grid-area: 1/1;
}
.ahr-l-split.ahr-a-end > .ahr-content {
	grid-area: 1/2;
}
.almahjar-hero.ahr-l-split.ahr-a-end {
	--ahr-ai: flex-start;
	--ahr-ta: start;
}
.ahr-l-split .ahr-content {
	padding-inline: clamp(24px, 6vw, 90px);
}
@media (max-width: 767px) {
	.almahjar-hero.ahr-l-split {
		grid-template: minmax(0, 58%) auto/100%;
		height: auto;
		min-height: 0;
	}
	.ahr-l-split > .ahr-media,
	.ahr-l-split.ahr-a-end > .ahr-media {
		grid-area: 1/1;
		height: calc(var(--ahr-hm, 78) * 0.6vh);
		min-height: 300px;
	}
	.ahr-l-split > .ahr-content,
	.ahr-l-split.ahr-a-end > .ahr-content {
		grid-area: 2/1;
		padding: 34px var(--container-padding-x, 15px) 40px;
	}
}

/* ===== slider ===== */
.almahjar-hero--slider {
	outline: 0;
}
.ahr-track {
	position: relative;
	z-index: 0;
	touch-action: pan-y;
	overflow: hidden;
}
.ahr-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template: 100%/100%;
	visibility: hidden;
	transition: none;
	overflow: hidden;
}
.ahr-slide.is-active,
.ahr-slide.is-leaving {
	visibility: visible;
}
.ahr-slide.is-active {
	z-index: 2;
}
.ahr-slide.is-leaving {
	z-index: 1;
}
.ahr-slide.has-link.is-active {
	cursor: pointer;
}
.ahr-slide .ahr-media img {
	transform-origin: 50% 50%;
}
.ahr-kb .ahr-slide.is-active .ahr-media img,
.ahr-kb .ahr-slide.is-leaving .ahr-media img {
	animation: ahr-kb calc(var(--ahr-auto) + var(--ahr-speed) * 2 + 4s) linear both;
}
/* fade */
.ahr-fx-fade .ahr-slide,
.ahr-fx-zoom .ahr-slide {
	opacity: 0;
}
.ahr-fx-fade .ahr-slide.is-active,
.ahr-fx-zoom .ahr-slide.is-active {
	opacity: 1;
	transition: opacity var(--ahr-speed) ease;
}
.ahr-fx-fade .ahr-slide.is-leaving,
.ahr-fx-zoom .ahr-slide.is-leaving {
	opacity: 1;
}
/* zoom fade: the new slide settles in from a little closer */
.ahr-fx-zoom .ahr-slide .ahr-media {
	transform: scale(1.14);
}
.ahr-fx-zoom .ahr-slide.is-active .ahr-media {
	transform: none;
	transition: transform calc(var(--ahr-speed) * 1.6) cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ahr-fx-zoom .ahr-slide.is-leaving .ahr-media {
	transform: scale(0.96);
	transition: transform var(--ahr-speed) ease;
}
/* slide */
.ahr-fx-slide .ahr-slide {
	transform: translate3d(calc(var(--ahr-sgn) * 100%), 0, 0);
}
.ahr-fx-slide .ahr-slide.is-active {
	transform: none;
	transition: transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1);
}
.ahr-fx-slide .ahr-slide.is-leaving {
	transform: translate3d(calc(var(--ahr-sgn) * -100%), 0, 0);
	transition: transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1);
}
/* parallax slide: the new slide covers the old one, its picture lagging behind */
.ahr-fx-parallax .ahr-slide {
	transform: translate3d(calc(var(--ahr-sgn) * 100%), 0, 0);
}
.ahr-fx-parallax .ahr-slide .ahr-media {
	transform: translate3d(calc(var(--ahr-sgn) * -55%), 0, 0);
}
.ahr-fx-parallax .ahr-slide.is-active,
.ahr-fx-parallax .ahr-slide.is-active .ahr-media {
	transform: none;
	transition: transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1);
}
.ahr-fx-parallax .ahr-slide.is-leaving {
	transform: translate3d(calc(var(--ahr-sgn) * -30%), 0, 0);
	transition: transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1);
}
.ahr-fx-parallax .ahr-slide.is-leaving .ahr-media {
	transform: none;
	filter: brightness(0.55);
	transition: filter var(--ahr-speed) ease;
}
/* curtain wipe */
.ahr-fx-curtain .ahr-slide {
	clip-path: inset(0 0 0 100%);
}
.ahr-fx-curtain[data-dir="prev"] .ahr-slide {
	clip-path: inset(0 100% 0 0);
}
[dir="rtl"] .ahr-fx-curtain .ahr-slide {
	clip-path: inset(0 100% 0 0);
}
[dir="rtl"] .ahr-fx-curtain[data-dir="prev"] .ahr-slide {
	clip-path: inset(0 0 0 100%);
}
.almahjar-hero.ahr-fx-curtain .ahr-slide.is-active,
.almahjar-hero.ahr-fx-curtain .ahr-slide.is-leaving {
	clip-path: inset(0 0 0 0);
}
.ahr-fx-curtain .ahr-slide.is-active {
	transition: clip-path var(--ahr-speed) cubic-bezier(0.77, 0, 0.18, 1);
}
.ahr-fx-curtain .ahr-slide .ahr-media {
	transform: scale(1.12);
}
.ahr-fx-curtain .ahr-slide.is-active .ahr-media {
	transform: none;
	transition: transform calc(var(--ahr-speed) * 1.5) cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ahr-fx-curtain .ahr-slide.is-leaving .ahr-media {
	transform: none;
}
/* card stack: the old slide sinks back, the new one rises over it */
.ahr-fx-stack .ahr-slide {
	transform: translate3d(0, 100%, 0);
}
.ahr-fx-stack[data-dir="prev"] .ahr-slide {
	transform: translate3d(0, -100%, 0);
}
.almahjar-hero.ahr-fx-stack .ahr-slide.is-active {
	transform: none;
	transition: transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1);
}
.almahjar-hero.ahr-fx-stack .ahr-slide.is-leaving {
	transform: scale(0.9);
	filter: brightness(0.5);
	border-radius: calc(var(--rounded-radius, 10px) * 2);
	transition:
		transform var(--ahr-speed) cubic-bezier(0.7, 0, 0.2, 1),
		filter var(--ahr-speed) ease,
		border-radius var(--ahr-speed) ease;
}
/* dragging */
.almahjar-hero.is-dragging .ahr-slide.is-active {
	transform: translate3d(var(--ahr-drag, 0px), 0, 0);
	transition: none;
}
.almahjar-hero.ahr-fx-curtain.is-dragging .ahr-slide.is-active,
.almahjar-hero.ahr-fx-fade.is-dragging .ahr-slide.is-active,
.almahjar-hero.ahr-fx-zoom.is-dragging .ahr-slide.is-active {
	transform: translate3d(calc(var(--ahr-drag, 0px) * 0.35), 0, 0);
}
.almahjar-hero.is-dragging {
	cursor: grabbing;
}

/* controls: markers on the start side, counter and arrows on the end side, on the page's own grid */
.ahr-arrow,
.ahr-nav,
.ahr-count,
.ahr-play {
	position: absolute;
	z-index: 5;
}
.almahjar-hero--slider {
	--ahr-ctl: #fff;
	--ahr-ctl-dim: rgb(255 255 255/0.35);
}
.almahjar-hero--slider.ahr-tone-dark {
	--ahr-ctl: var(--ahr-ink);
	--ahr-ctl-dim: color-mix(in srgb, var(--ahr-ink) 25%, transparent);
}
.ahr-arrow {
	inset-block-end: clamp(24px, 4vw, 44px);
	inset-inline-end: var(--ahr-gut);
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ahr-ctl-dim);
	border-radius: 50%;
	background: transparent;
	color: var(--ahr-ctl);
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition:
		background-color 0.3s,
		border-color 0.3s,
		color 0.3s,
		opacity 0.3s;
}
.ahr-arrow::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 10px;
	height: 10px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: translateX(-2px) rotate(-45deg);
}
.ahr-prev {
	inset-inline-end: calc(var(--ahr-gut) + 62px);
}
.ahr-prev::before {
	transform: translateX(2px) rotate(135deg);
}
[dir="rtl"] .ahr-arrow::before {
	transform: translateX(2px) rotate(135deg);
}
[dir="rtl"] .ahr-prev::before {
	transform: translateX(-2px) rotate(-45deg);
}
.ahr-arrow:hover {
	background: var(--ahr-ctl);
	border-color: var(--ahr-ctl);
	color: var(--ahr-paper);
}
.ahr-tone-light .ahr-arrow:hover {
	color: #111;
}
.ahr-arrow:focus-visible,
.ahr-dot:focus-visible,
.ahr-play:focus-visible {
	outline: 2px solid var(--ahr-ctl);
	outline-offset: 3px;
}
.ahr-arrow[disabled] {
	opacity: 0.3;
	pointer-events: none;
}
.ahr-count {
	inset-block-end: clamp(24px, 4vw, 44px);
	inset-inline-end: calc(var(--ahr-gut) + 134px);
	height: 52px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ahr-ctl);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}
.ahr-cur {
	font-weight: var(--heading-font-weight, 600);
}
.ahr-tot {
	opacity: 0.6;
}
.ahr-tot::before {
	content: "/";
	margin-inline-end: 8px;
	opacity: 0.6;
}
.ahr-play {
	inset-block-start: clamp(18px, 3vw, 30px);
	inset-inline-end: var(--ahr-gut);
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ahr-ctl-dim);
	border-radius: 50%;
	background: transparent;
	color: var(--ahr-ctl);
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.3s;
}
.ahr-play:hover {
	opacity: 1;
}
.ahr-play::before,
.ahr-play::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 2px;
	height: 11px;
	margin-top: -5.5px;
	background: currentColor;
	border-radius: 1px;
}
.ahr-play::before {
	left: calc(50% - 4px);
}
.ahr-play::after {
	left: calc(50% + 2px);
}
.is-stopped .ahr-play::after {
	display: none;
}
.is-stopped .ahr-play::before {
	left: calc(50% - 3px);
	width: 0;
	height: 0;
	margin-top: -6px;
	background: none;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
	border-radius: 0;
}
.ahr-nav {
	inset-block-end: clamp(24px, 4vw, 44px);
	inset-inline-start: var(--ahr-gut);
	height: 52px;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 2 * var(--ahr-gut) - 200px);
}
.ahr-dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ahr-ctl);
	cursor: pointer;
	font: inherit;
	line-height: 1;
}
.ahr-bar {
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	display: block;
	height: 100%;
	width: 100%;
	background: var(--ahr-ctl);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}
[dir="rtl"] .ahr-bar {
	transform-origin: 100% 50%;
}
.ahr-dot.is-active .ahr-bar {
	transform: scaleX(1);
}
@keyframes ahr-prog {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}
.ahr-dot.is-running .ahr-bar {
	animation: ahr-prog var(--ahr-auto) linear both;
}
.is-paused .ahr-dot.is-running .ahr-bar,
.is-stopped .ahr-dot.is-running .ahr-bar {
	animation-play-state: paused;
}
/* lines */
.ahr-nav--lines .ahr-dot {
	width: clamp(28px, 4vw, 56px);
	height: 22px;
}
.ahr-nav--lines .ahr-dot::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	background: var(--ahr-ctl-dim);
	border-radius: 2px;
}
.ahr-nav--lines .ahr-bar {
	top: 50%;
	height: 2px;
	margin-top: -1px;
	border-radius: 2px;
}
/* dots */
.ahr-nav--dots .ahr-dot {
	width: 10px;
	height: 10px;
	border-radius: 10px;
	background: var(--ahr-ctl-dim);
	overflow: hidden;
	transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ahr-nav--dots .ahr-dot.is-active {
	width: 34px;
}
/* numbers */
.ahr-nav--numbers {
	gap: 22px;
}
.ahr-nav--numbers .ahr-dot {
	padding-bottom: 10px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	opacity: 0.55;
	transition: opacity 0.3s;
}
.ahr-nav--numbers .ahr-dot.is-active {
	opacity: 1;
	font-weight: var(--heading-font-weight, 600);
}
.ahr-nav--numbers .ahr-dot::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: var(--ahr-ctl-dim);
}
.ahr-nav--numbers .ahr-bar {
	top: auto;
	height: 2px;
}
.ahr-nav--numbers .ahr-dot:not(.is-active) .ahr-bar,
.ahr-nav--numbers .ahr-dot:not(.is-active)::before {
	opacity: 0;
}
/* small pictures */
.ahr-nav--thumbs {
	height: auto;
	gap: 8px;
}
.ahr-nav--thumbs .ahr-dot {
	width: 64px;
	height: 46px;
	border-radius: min(var(--rounded-radius, 10px), 8px);
	overflow: hidden;
	opacity: 0.6;
	outline: 1px solid var(--ahr-ctl-dim);
	outline-offset: -1px;
	transition:
		opacity 0.3s,
		transform 0.3s;
}
.almahjar-hero .ahr-nav--thumbs .ahr-dot img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	border-radius: 0;
}
.ahr-nav--thumbs .ahr-dot.is-active {
	opacity: 1;
	transform: translateY(-3px);
	outline: 2px solid var(--ahr-ctl);
}
.ahr-nav--thumbs .ahr-bar {
	top: auto;
	height: 3px;
}
@media (max-width: 767px) {
	.ahr-arrow,
	.ahr-count {
		display: none;
	}
	.ahr-nav {
		inset-inline: var(--container-padding-x, 15px);
		inset-block-end: 22px;
		max-width: none;
		height: auto;
		justify-content: flex-start;
	}
	.almahjar-hero--slider.ahr-a-center .ahr-nav {
		justify-content: center;
	}
	.ahr-nav--lines .ahr-dot {
		flex: 1 1 0;
		max-width: 60px;
	}
	.ahr-nav--thumbs .ahr-dot {
		width: 48px;
		height: 36px;
	}
	.ahr-play {
		inset-inline-end: var(--container-padding-x, 15px);
	}
}
.is-single .ahr-nav,
.is-single .ahr-count,
.is-single .ahr-arrow,
.is-single .ahr-play {
	display: none;
}

/* ===== 3D scene ===== */
.almahjar-hero--scene {
	--ahr-c1: var(--color-heading, #111);
	--ahr-c2: var(--color-primary, #d0473e);
	--ahr-bg: var(--color-gray, #f5f5f5);
	background: var(--ahr-bg);
}
.almahjar-hero--scene > .ahr-media {
	transition:
		opacity 1.2s ease,
		visibility 0s 1.2s;
}
.almahjar-hero--scene.is-3d > .ahr-media {
	opacity: 0;
	visibility: hidden;
}
.ahr-stage canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
	touch-action: pan-y;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.is-3d .ahr-stage canvas {
	opacity: 1;
}
.ahr-sc-ring .ahr-stage,
.ahr-sc-frames .ahr-stage {
	cursor: grab;
}
.ahr-sc-ring .ahr-stage:active {
	cursor: grabbing;
}
@media (min-width: 768px) {
	.ahr-sc-ring.ahr-v-center .ahr-content,
	.ahr-sc-coverflow.ahr-v-center .ahr-content {
		justify-content: flex-start;
		padding-top: clamp(36px, 7vh, 80px);
	}
} /* the ring and the arc turn in the lower half, the words sit above them (on phones: 3D above, words below) */
.ahr-sc-coverflow .ahr-stage,
.ahr-sc-helix .ahr-stage,
.ahr-sc-wall .ahr-stage,
.ahr-sc-spotlight .ahr-stage,
.ahr-sc-tunnel .ahr-stage,
.ahr-sc-fan .ahr-stage,
.ahr-sc-globe .ahr-stage,
.ahr-sc-book .ahr-stage {
	cursor: grab;
}
/* the product card under the product being pointed at */
.ahr-tag {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 150px;
	max-width: min(250px, 80%);
	padding: 10px 14px 11px;
	border: 1px solid var(--color-border, #ebebeb);
	border-radius: min(var(--rounded-radius, 10px), 12px);
	background: color-mix(in srgb, var(--color-background, #fff) 90%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow, 5px 0 30px rgba(0, 0, 0, 0.08));
	color: var(--color-text, #444);
	font: 13px/1.35 var(--body-font, inherit);
	text-decoration: none !important;
	text-align: start;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.25s,
		visibility 0s 0.25s;
	will-change: transform;
}
.ahr-tag.is-on {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.25s;
}
.ahr-tag:focus-visible {
	outline: 2px solid var(--ahr-ink);
	outline-offset: 2px;
}
.ahr-tag-n {
	display: block;
	color: var(--color-heading, #111);
	font-size: 14px;
	font-weight: var(--heading-font-weight, 600);
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ahr-tag-p {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	font-variant-numeric: tabular-nums;
}
.ahr-tag-p del {
	font-size: 12px;
	opacity: 0.6;
}
.ahr-tag-p del:empty,
.ahr-tag-p span:empty {
	display: none;
}
.ahr-tag-p del:not(:empty) + span {
	color: var(--color-primary, #d0473e);
	font-weight: var(--subheading-weight, 500);
}
.ahr-tag-v {
	margin-top: 6px;
	color: var(--color-heading, #111);
	font-size: 11px;
	font-weight: var(--heading-font-weight, 600);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ahr-tag-v::after {
	content: " →";
}
[dir="rtl"] .ahr-tag-v {
	letter-spacing: 0;
}
[dir="rtl"] .ahr-tag-v::after {
	content: " ←";
}
.ahr-tag:hover .ahr-tag-v {
	color: var(--color-primary, #d0473e);
}
@media (max-width: 767px) {
	.ahr-tag {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		column-gap: 8px;
		row-gap: 0;
		min-width: 0;
		max-width: calc(100% - 40px);
		padding: 7px 12px;
		font-size: 12px;
	}
	.ahr-tag-n {
		flex: 1 1 100%;
		font-size: 13px;
	}
	.ahr-tag-v {
		margin: 0;
	}
} /* phones: two short lines */

/* less motion asked for: everything still, the slider only moves when asked */
@media (prefers-reduced-motion: reduce) {
	.almahjar-hero *,
	.almahjar-hero *::before,
	.almahjar-hero *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
	.ahr-m-parallax .ahr-media img {
		transform: none;
	}
}
/* logo: above the words, or in a corner of the hero */
.ahr-logo {
	z-index: 4;
	line-height: 0;
	pointer-events: none;
}
.ahr-logo img {
	width: var(--ahr-lw, 120px);
	max-width: 60vw;
	height: auto;
	display: block;
}
.ahr-logo b {
	font-size: calc(var(--ahr-lw, 120px) / 5);
	line-height: 1.2;
	color: var(--ahr-fg, #fff);
}
.ahr-logo-white img {
	filter: brightness(0) invert(1);
}
.ahr-logo-black img {
	filter: brightness(0);
}
.ahr-inner > .ahr-logo {
	margin: 0 0 22px;
}
.ahr-logo--tl,
.ahr-logo--tc,
.ahr-logo--tr,
.ahr-logo--bl,
.ahr-logo--bc,
.ahr-logo--br {
	position: absolute;
	padding: clamp(18px, 3vw, 36px) var(--ahr-gut);
}
.ahr-logo--tl,
.ahr-logo--tc,
.ahr-logo--tr {
	top: 0;
}
.ahr-logo--bl,
.ahr-logo--bc,
.ahr-logo--br {
	bottom: 0;
}
.ahr-logo--tl,
.ahr-logo--bl {
	inset-inline-start: 0;
}
.ahr-logo--tr,
.ahr-logo--br {
	inset-inline-end: 0;
}
.ahr-logo--tc,
.ahr-logo--bc {
	left: 50%;
	transform: translateX(-50%);
}
@media (max-width: 767px) {
	.ahr-logo img {
		width: calc(var(--ahr-lw, 120px) * 0.75);
	}
}

/* ===== product slides: products or a buy-together set over a pattern, a colour or a picture =====
   Layers: .ahr-media (the pattern / picture), .ahr-fx (the three.js canvas, hero-fx.js), .ahr-overlay (shade, only over a
   picture), .ahr-show (the words and the cards side by side; words on top on phones). Cards: li (its place in the
   arrangement) > a (comes in, holds the frame) > .ahr-pc-img (the picture; tilts with the pointer, hero.js) + .ahr-pc-b
   (name and price). The slide's design comes as variables (size, gap, shape, corners, colours) and classes (shadow,
   frame, where the name sits, hover, entrance, the set's +). */
.ahr-k-products,
.ahr-k-set {
	--ahr-g: 20px;
	--ahr-cs: 1;
	--ahr-ar: 3/4;
	--ahr-arn: 0.75;
	--ahr-cr: 10px;
	--ahr-nfs: 14px;
	--ahr-tw: 40%;
	--ahr-dir: 1;
	--ahr-ih: clamp(200px, calc(var(--ahr-hd, 85) * 1svh - 330px), 520px);
	--ahr-cw: calc(var(--ahr-ih) * var(--ahr-arn) * var(--ahr-cs));
}
[dir="rtl"] .ahr-k-products,
[dir="rtl"] .ahr-k-set {
	--ahr-dir: -1;
}
.ahr-pat {
	position: absolute;
	inset: 0;
	display: block;
	background: var(--ahr-p1, var(--color-gray, #f5f5f5));
	--ahr-pc2: var(--ahr-p2, var(--color-heading, #111));
}
.ahr-pat::before,
.ahr-pat::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.ahr-pat::before {
	background: var(--ahr-pc2);
	opacity: 0.1;
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	animation: ahr-pat-drift 90s linear infinite;
}
.ahr-pat::after {
	background: radial-gradient(60% 70% at 72% 38%, rgb(255 255 255/0.55), transparent 70%),
		radial-gradient(
			45% 55% at 12% 92%,
			color-mix(in srgb, var(--color-primary, #d0473e) 12%, transparent),
			transparent 70%
		);
}
@keyframes ahr-pat-drift {
	to {
		-webkit-mask-position: 240px 160px;
		mask-position: 240px 160px;
	}
}
.ahr-pat--stars::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.1'%3E%3Crect x='26' y='26' width='28' height='28'/%3E%3Crect x='26' y='26' width='28' height='28' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 40h12M68 40h12M40 0v12M40 68v12M0 0l14 14M80 0L66 14M0 80l14-14M80 80L66 66'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.1'%3E%3Crect x='26' y='26' width='28' height='28'/%3E%3Crect x='26' y='26' width='28' height='28' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 40h12M68 40h12M40 0v12M40 68v12M0 0l14 14M80 0L66 14M0 80l14-14M80 80L66 66'/%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.13;
}
.ahr-pat--arches::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='84' viewBox='0 0 56 84'%3E%3Cpath d='M8 84V34a20 20 0 0 1 40 0v50' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='84' viewBox='0 0 56 84'%3E%3Cpath d='M8 84V34a20 20 0 0 1 40 0v50' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
	opacity: 0.12;
}
.ahr-pat--waves::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28' viewBox='0 0 64 28'%3E%3Cpath d='M0 14q16-12 32 0t32 0' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28' viewBox='0 0 64 28'%3E%3Cpath d='M0 14q16-12 32 0t32 0' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
	opacity: 0.13;
}
.ahr-pat--dots::before {
	-webkit-mask-image: radial-gradient(circle, #000 1.3px, transparent 1.9px);
	mask-image: radial-gradient(circle, #000 1.3px, transparent 1.9px);
	-webkit-mask-size: 22px 22px;
	mask-size: 22px 22px;
	opacity: 0.18;
}
.ahr-pat--grid::before {
	-webkit-mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
	mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
	-webkit-mask-size: 44px 44px;
	mask-size: 44px 44px;
	opacity: 0.09;
}
.ahr-pat--stripes::before {
	-webkit-mask-image: repeating-linear-gradient(135deg, #000 0 1px, transparent 1px 16px);
	mask-image: repeating-linear-gradient(135deg, #000 0 1px, transparent 1px 16px);
	opacity: 0.09;
	animation: none;
}
.ahr-pat--glow::before {
	opacity: 0;
}
.ahr-pat--glow::after {
	background: radial-gradient(
			50% 60% at 75% 35%,
			color-mix(in srgb, var(--color-primary, #d0473e) 22%, transparent),
			transparent 70%
		),
		radial-gradient(45% 55% at 20% 80%, color-mix(in srgb, var(--ahr-pc2) 14%, transparent), transparent 70%),
		radial-gradient(40% 40% at 50% 50%, rgb(255 255 255/0.5), transparent 75%);
	animation: ahr-glow 14s ease-in-out infinite alternate;
}
@keyframes ahr-glow {
	to {
		transform: scale(1.15) translate(-3%, 2%);
	}
}
.ahr-pat--plain::before,
.ahr-pat--plain::after {
	display: none;
}
.ahr-bg-pattern > .ahr-overlay {
	display: none;
}
/* the 3D layer */
.ahr-fx {
	position: relative;
	z-index: 1;
	pointer-events: none;
	min-height: 0;
}
.ahr-fx canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
	opacity: 0;
	transition: opacity 1.4s ease;
}
.ahr-fx.is-on canvas {
	opacity: 1;
}
/* words beside the cards */
.ahr-show {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, var(--ahr-tw)) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 72px);
	height: 100%;
	min-height: 0;
	padding: clamp(56px, 7vw, 90px) var(--ahr-gut) clamp(96px, 9vw, 124px);
	pointer-events: none;
}
.ahr-show > .ahr-content {
	padding: 0;
	z-index: auto;
}
.ahr-show .ahr-inner {
	max-width: min(520px, 100%);
}
.ahr-show .ahr-title {
	font-size: clamp(34px, 4.4vw, 64px);
}
.ahr-s-xl .ahr-show .ahr-title {
	font-size: clamp(40px, 5.6vw, 84px);
}
.ahr-s-m .ahr-show .ahr-title {
	font-size: clamp(30px, 3.4vw, 48px);
}
.ahr-slide.ahr-a-end .ahr-show {
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--ahr-tw));
}
.ahr-slide.ahr-a-end .ahr-show > .ahr-content {
	order: 2;
}
.ahr-slide.ahr-a-center .ahr-show {
	grid-template-columns: 100%;
	grid-template-rows: auto minmax(0, 1fr);
	justify-items: center;
	gap: clamp(18px, 3vh, 36px);
	padding-top: clamp(40px, 6vh, 70px);
}
.ahr-slide.ahr-a-center {
	--ahr-ih: clamp(180px, calc(var(--ahr-hd, 85) * 1svh - 460px), 420px);
}
.ahr-prods-w {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.2vh, 24px);
	min-width: 0;
	width: 100%;
	pointer-events: auto;
}
.ahr-pv-start .ahr-prods-w {
	align-self: start;
}
.ahr-pv-end .ahr-prods-w {
	align-self: end;
}
.almahjar-hero .ahr-prods {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--ahr-g);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ahr-pc {
	position: relative;
	flex: 0 1 var(--ahr-cw);
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	transition:
		transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
		flex-grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
		opacity 0.5s;
}
.almahjar-hero .ahr-pc-a {
	position: relative;
	display: block;
	color: var(--ahr-fg, #111);
	text-decoration: none;
	outline: 0;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ahr-pc-a:focus-visible .ahr-pc-img {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.ahr-pc-img {
	position: relative;
	display: block;
	aspect-ratio: var(--ahr-ar);
	overflow: hidden;
	border-radius: var(--ahr-cr);
	background: color-mix(in srgb, var(--ahr-p2, #111) 6%, var(--ahr-p1, #f5f5f5));
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition:
		transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
		box-shadow 0.5s;
	will-change: transform;
}
.almahjar-hero .ahr-pc-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--ahr-fit, cover);
	border-radius: 0;
	transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
	user-select: none;
	-webkit-user-drag: none;
}
.ahr-k-products[style*="--ahr-fit:contain"] .ahr-pc-img,
.ahr-k-set[style*="--ahr-fit:contain"] .ahr-pc-img {
	background: #fff;
}
/* shadow */
.ahr-sh-soft .ahr-pc-img {
	box-shadow:
		0 34px 60px -34px rgb(0 0 0/0.5),
		0 10px 24px -16px rgb(0 0 0/0.3);
}
.ahr-sh-deep .ahr-pc-img {
	box-shadow:
		0 50px 80px -30px rgb(0 0 0/0.65),
		0 18px 34px -14px rgb(0 0 0/0.4);
}
.ahr-sh-glow .ahr-pc-img {
	box-shadow: 0 26px 70px -22px color-mix(in srgb, var(--ahr-accent) 70%, transparent);
}
/* frame around the picture (and the name) */
.ahr-fr-card .ahr-pc-a,
.ahr-fr-glass .ahr-pc-a,
.ahr-fr-outline .ahr-pc-a {
	padding: 10px;
	border-radius: calc(var(--ahr-cr) + 8px);
}
.ahr-fr-card .ahr-pc-a {
	background: var(--ahr-cbg, #fff);
	color: var(--color-heading, #111);
	box-shadow: 0 30px 60px -36px rgb(0 0 0/0.5);
}
.ahr-fr-card .ahr-pc-img,
.ahr-fr-glass .ahr-pc-img,
.ahr-fr-outline .ahr-pc-img {
	box-shadow: none;
}
.ahr-fr-glass .ahr-pc-a {
	background: rgb(255 255 255/0.22);
	border: 1px solid rgb(255 255 255/0.45);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 30px 60px -36px rgb(0 0 0/0.45);
}
.ahr-fr-outline .ahr-pc-a {
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
.ahr-fr-card .ahr-pc-b,
.ahr-fr-glass .ahr-pc-b,
.ahr-fr-outline .ahr-pc-b {
	padding: 0 4px 4px;
}
/* name and price */
.ahr-pc-b {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 12px;
	min-width: 0;
}
.ahr-pc-n {
	max-width: 100%;
	font-size: var(--ahr-nfs);
	line-height: 1.3;
	font-weight: var(--heading-font-weight, 600);
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ahr-pc-p {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	font-size: calc(var(--ahr-nfs) - 1px);
	opacity: 0.9;
	font-variant-numeric: tabular-nums;
}
.ahr-pc-p del {
	opacity: 0.55;
	font-size: 0.9em;
}
.ahr-pc-p ins {
	text-decoration: none;
	color: var(--ahr-em, var(--ahr-accent));
	font-weight: var(--subheading-weight, 500);
}
.ahr-pc-p .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.ahr-ic .ahr-pc-n {
	color: var(--ahr-nc);
}
.ahr-ic .ahr-pc-p,
.ahr-ic .ahr-pc-p ins {
	color: var(--ahr-prc);
}
.ahr-ia-center .ahr-pc-b,
.ahr-a-center.ahr-ia-start .ahr-pc-b {
	align-items: center;
	text-align: center;
}
.ahr-a-center.ahr-ia-start .ahr-pc-b {
	align-items: flex-start;
	text-align: start;
}
.ahr-ip-over .ahr-pc-b,
.ahr-ip-hover .ahr-pc-b,
.ahr-pl-mosaic .ahr-pc-b,
.ahr-pl-strips .ahr-pc-b {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	margin: 0;
	padding: 40px 14px 13px;
	border-radius: 0 0 var(--ahr-cr) var(--ahr-cr);
	background: linear-gradient(0deg, rgb(0 0 0/0.62), rgb(0 0 0/0.25) 60%, transparent);
	color: #fff;
}
.ahr-fr-card.ahr-ip-over .ahr-pc-b,
.ahr-fr-glass.ahr-ip-over .ahr-pc-b,
.ahr-fr-outline.ahr-ip-over .ahr-pc-b,
.ahr-fr-card.ahr-ip-hover .ahr-pc-b,
.ahr-fr-glass.ahr-ip-hover .ahr-pc-b,
.ahr-fr-outline.ahr-ip-hover .ahr-pc-b {
	inset-inline: 10px;
	bottom: 10px;
}
.ahr-ip-over .ahr-pc-p ins,
.ahr-ip-hover .ahr-pc-p ins,
.ahr-pl-mosaic .ahr-pc-p ins,
.ahr-pl-strips .ahr-pc-p ins {
	color: #fff;
}
.ahr-ip-hover .ahr-pc-b {
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.35s,
		transform 0.35s;
}
.ahr-ip-hover .ahr-pc-a:hover .ahr-pc-b,
.ahr-ip-hover .ahr-pc-a:focus-visible .ahr-pc-b {
	opacity: 1;
	transform: none;
}
.ahr-noinfo .ahr-pc-b {
	display: none;
}
/* badges on the picture */
.ahr-pc-bds {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	pointer-events: none;
}
.ahr-pc-bd {
	padding: 4px 9px;
	border-radius: 20px;
	background: var(--ahr-bdg, #d0473e);
	color: #fff;
	font-size: 11px;
	font-weight: var(--subheading-weight, 500);
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.ahr-pc-bd.is-sale {
	background: #111;
	font-variant-numeric: tabular-nums;
	direction: ltr;
	unicode-bidi: isolate;
} /* −20% stays −20% in Arabic */
[dir="rtl"] .ahr-pc-bd {
	letter-spacing: 0;
}
/* when pointed at */
.ahr-hv-tilt .ahr-pc-a:hover .ahr-pc-img img,
.ahr-hv-zoom .ahr-pc-a:hover .ahr-pc-img img {
	transform: scale(1.06);
}
.ahr-hv-zoom .ahr-pc-a:hover .ahr-pc-img img {
	transform: scale(1.12);
}
.ahr-hv-lift .ahr-pc-a:hover {
	transform: translateY(-10px);
}
.ahr-sh-soft.ahr-hv-lift .ahr-pc-a:hover .ahr-pc-img,
.ahr-sh-soft.ahr-hv-tilt .ahr-pc-a:hover .ahr-pc-img {
	box-shadow:
		0 44px 70px -34px rgb(0 0 0/0.55),
		0 14px 30px -16px rgb(0 0 0/0.32);
}
/* cards come in one after the other */
@keyframes ahr-pc-rise {
	from {
		opacity: 0;
		transform: translateY(46px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes ahr-pc-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes ahr-pc-zoom {
	from {
		opacity: 0;
		transform: scale(0.82);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes ahr-pc-side {
	from {
		opacity: 0;
		transform: translateX(calc(70px * var(--ahr-dir)));
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.ahr-slide.is-active .ahr-pc-a {
	animation: ahr-pc-rise 1.05s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--ahr-d0, 0.1s) + 0.22s + var(--k, 0) * 0.1s);
}
.ahr-slide.is-active.ahr-en-fade .ahr-pc-a {
	animation-name: ahr-pc-fade;
}
.ahr-slide.is-active.ahr-en-zoom .ahr-pc-a {
	animation-name: ahr-pc-zoom;
}
.ahr-slide.is-active.ahr-en-side .ahr-pc-a {
	animation-name: ahr-pc-side;
}
.ahr-slide.is-active.ahr-en-none .ahr-pc-a {
	animation: none;
}
/* ---- arrangements ---- */
/* staggered */
.ahr-pl-stagger .ahr-pc:nth-child(odd) {
	transform: translateY(-6%);
}
.ahr-pl-stagger .ahr-pc:nth-child(even) {
	transform: translateY(7%);
}
/* even row */
.ahr-pl-row .ahr-prods {
	align-items: flex-start;
}
/* spotlight: one big, the others listed beside it */
.almahjar-hero .ahr-pl-spot .ahr-prods {
	display: grid;
	grid-template-columns: minmax(0, var(--ahr-cw)) minmax(0, 260px);
	justify-content: center;
	align-items: center;
	align-content: center;
	column-gap: clamp(16px, 2.4vw, 36px);
	row-gap: 12px;
}
.ahr-pl-spot .ahr-pc:first-child {
	grid-column: 1;
	grid-row: 1 / span 6;
}
.ahr-pl-spot .ahr-pc:not(:first-child) {
	grid-column: 2;
}
.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: calc(var(--ahr-cr) + 4px);
	background: color-mix(in srgb, var(--ahr-p1, #fff) 55%, rgb(255 255 255/0.5));
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--color-heading, #111);
}
.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-a:hover {
	transform: translateX(calc(4px * var(--ahr-dir)));
}
.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-img {
	border-radius: max(4px, calc(var(--ahr-cr) * 0.6));
	box-shadow: 0 8px 18px -10px rgb(0 0 0/0.35);
}
.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-b {
	position: static;
	margin: 0;
	padding: 0;
	background: none;
	color: inherit;
	opacity: 1;
	transform: none;
}
.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-bds {
	display: none;
}
.ahr-pl-spot.ahr-tone-light .ahr-pc:not(:first-child) .ahr-pc-a {
	background: rgb(0 0 0/0.3);
	color: #fff;
}
/* fanned cards: the name under the middle one, or under the one pointed at */
.ahr-pl-fan .ahr-prods {
	padding-block: 4% 8%;
	padding-inline: calc(var(--ahr-g) * 1.6 + 10px);
}
.ahr-pl-fan .ahr-pc {
	flex-basis: calc(var(--ahr-cw) * 0.84);
}
.ahr-pl-fan .ahr-pc {
	--d: calc(var(--k) - (var(--n) - 1) / 2);
	margin-inline: calc(var(--ahr-g) * -1.6 - 10px);
	transform: translateY(calc(var(--d) * var(--d) * 14px)) rotate(calc(var(--d) * 7deg * var(--ahr-dir)));
	transform-origin: 50% 130%;
}
.ahr-pl-fan .ahr-pc:hover,
.ahr-pl-fan .ahr-pc:focus-within {
	z-index: 5;
	transform: translateY(-6%) rotate(0deg) scale(1.04);
}
.ahr-pl-fan .ahr-pc.is-mid {
	z-index: 3;
}
.ahr-pl-fan .ahr-pc-b {
	opacity: 0;
	transform: translateY(-6px);
	transition:
		opacity 0.3s,
		transform 0.3s;
}
.ahr-pl-fan .ahr-pc:hover .ahr-pc-b,
.ahr-pl-fan .ahr-pc:focus-within .ahr-pc-b,
.ahr-pl-fan .ahr-prods:not(:hover):not(:focus-within) .ahr-pc.is-mid .ahr-pc-b {
	opacity: 1;
	transform: none;
}
/* grid: two rows of tiles */
.almahjar-hero .ahr-pl-grid .ahr-prods {
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	align-items: start;
	max-width: calc(
		((var(--ahr-ih) * 0.92 - var(--ahr-g) * (var(--rows) - 1)) / var(--rows)) * var(--ahr-arn) * var(--ahr-cs) *
			var(--cols) + var(--ahr-g) * (var(--cols) - 1)
	);
}
.ahr-pl-grid.ahr-ip-below:not(.ahr-noinfo) .ahr-prods {
	max-width: calc(
		((var(--ahr-ih) * 0.92 - (var(--ahr-g) + 46px) * (var(--rows) - 1) - 46px) / var(--rows)) * var(--ahr-arn) *
			var(--ahr-cs) * var(--cols) + var(--ahr-g) * (var(--cols) - 1)
	);
}
.ahr-pl-grid .ahr-pc {
	flex: none;
	width: auto;
}
/* mosaic: one big tile, small ones around it */
.almahjar-hero .ahr-pl-mosaic .ahr-prods {
	--mh: calc(var(--ahr-ih) * 1.05 * var(--ahr-cs));
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(var(--mc), minmax(0, 1fr));
	grid-template-rows: repeat(2, calc((var(--mh) - var(--ahr-g)) / 2));
	max-width: calc(var(--mh) * var(--ahr-arn) * (1 + var(--mc) * 0.5) + var(--ahr-g) * var(--mc));
}
.ahr-pl-mosaic .ahr-pc {
	flex: none;
	width: auto;
	min-height: 0;
}
.ahr-pl-mosaic .ahr-pc:first-child,
.ahr-pl-mosaic .ahr-pc:nth-child(2):last-child {
	grid-row: 1/3;
}
.ahr-pl-mosaic .ahr-pc-a,
.ahr-pl-mosaic .ahr-pc-img,
.ahr-pl-strips .ahr-pc-a,
.ahr-pl-strips .ahr-pc-img {
	height: 100%;
	aspect-ratio: auto;
}
/* strips: tall panels, the one pointed at opens wide */
.almahjar-hero .ahr-pl-strips .ahr-prods {
	height: calc(var(--ahr-ih) * 1.08 * var(--ahr-cs));
	max-width: calc(
		var(--ahr-ih) * 1.08 * var(--ahr-cs) * var(--ahr-arn) * (1 + (var(--n) - 1) * 0.38) + var(--ahr-g) *
			(var(--n) - 1)
	);
	align-items: stretch;
}
.ahr-pl-strips .ahr-pc {
	flex: 1 1 0;
	height: 100%;
}
.ahr-pl-strips .ahr-prods:not(:hover):not(:focus-within) .ahr-pc:first-child,
.ahr-pl-strips .ahr-pc:hover,
.ahr-pl-strips .ahr-pc:focus-within {
	flex-grow: 3.4;
}
.ahr-pl-strips .ahr-pc-b {
	opacity: 0;
	transition: opacity 0.4s 0.1s;
}
.ahr-pl-strips .ahr-prods:not(:hover):not(:focus-within) .ahr-pc:first-child .ahr-pc-b,
.ahr-pl-strips .ahr-pc:hover .ahr-pc-b,
.ahr-pl-strips .ahr-pc:focus-within .ahr-pc-b {
	opacity: 1;
}
.ahr-pl-strips .ahr-pc-n {
	white-space: nowrap;
}
/* moving carousel: the line and its copies glide by, pausing while pointed at */
@keyframes ahr-mq {
	to {
		transform: translateX(calc(-100% / var(--reps, 2) * var(--ahr-dir)));
	}
}
.ahr-pl-marquee .ahr-prods-w {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.almahjar-hero .ahr-pl-marquee .ahr-prods {
	width: max-content;
	justify-content: flex-start;
	gap: 0;
	animation: ahr-mq calc(var(--n) * var(--reps, 2) * 3.2s) linear infinite;
}
.ahr-pl-marquee .ahr-prods:hover,
.ahr-pl-marquee .ahr-prods:focus-within {
	animation-play-state: paused;
}
.ahr-pl-marquee .ahr-pc {
	flex: 0 0 calc(var(--ahr-cw) * 0.82);
	margin-inline-end: var(--ahr-g);
}
/* card deck: a stack that deals the next card by itself (hero.js) */
.almahjar-hero .ahr-pl-deck .ahr-prods {
	position: relative;
	display: block;
	width: calc(var(--ahr-cw) * 0.9);
	max-width: 100%;
	height: calc(var(--ahr-cw) * 0.9/var (--ahr-arn) + 64px);
	margin-inline: auto;
}
.ahr-pl-deck .ahr-pc {
	position: absolute;
	inset: 0 0 auto;
	width: 100%;
	z-index: calc(20 - var(--p));
	transform: translate(calc(var(--p) * 16px * var(--ahr-dir)), calc(var(--p) * -12px))
		rotate(calc(var(--p) * 4deg * var(--ahr-dir))) scale(calc(1 - var(--p) * 0.05));
	opacity: calc(1 - var(--p) * 0.22);
	transition:
		transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
		opacity 0.6s;
}
.ahr-pl-deck .ahr-pc:not(.is-front) .ahr-pc-b {
	opacity: 0;
}
.ahr-pl-deck.ahr-fr-glass .ahr-pc-a {
	background: color-mix(in srgb, var(--color-background, #fff) 94%, transparent);
} /* stacked: the cards behind never show through the front one */
.ahr-pl-deck .ahr-pc.is-out {
	transform: translate(calc(-115% * var(--ahr-dir)), 6%) rotate(calc(-14deg * var(--ahr-dir)));
	opacity: 0;
	transition-duration: 0.45s;
}
.ahr-pl-deck .ahr-pc-b {
	transition: opacity 0.4s;
}
.ahr-deck {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
}
.ahr-deck-next {
	position: absolute;
	z-index: 30;
	top: calc(var(--ahr-cw) * 0.9/var (--ahr-arn) / 2 - 22px);
	inset-inline-end: -22px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-background, #fff);
	color: var(--color-heading, #111);
	box-shadow: 0 10px 24px -10px rgb(0 0 0/0.45);
	cursor: pointer;
	transition: transform 0.3s;
}
.ahr-deck-next:hover {
	transform: scale(1.08);
}
.ahr-deck-next:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.ahr-deck-next::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 9px;
	height: 9px;
	border: solid currentColor;
	border-width: 0 1.6px 1.6px 0;
	transform: translateX(-2px) rotate(-45deg);
}
[dir="rtl"] .ahr-deck-next::before {
	transform: translateX(2px) rotate(135deg);
}
/* curved arc: the middle one in front, the others turning away */
.ahr-pl-arc .ahr-prods {
	perspective: 1300px;
	padding-block: 2%;
	padding-inline: calc(var(--ahr-g) * 0.4);
}
.ahr-pl-arc .ahr-pc {
	--d: calc(var(--k) - (var(--n) - 1) / 2);
	margin-inline: calc(var(--ahr-g) * -0.4);
	transform: translateZ(calc(var(--d) * var(--d) * -46px)) rotateY(calc(var(--d) * -16deg * var(--ahr-dir)));
}
.ahr-pl-arc .ahr-pc.is-mid {
	z-index: 3;
}
.ahr-pl-arc .ahr-pc:hover,
.ahr-pl-arc .ahr-pc:focus-within {
	z-index: 5;
	transform: translateZ(40px) rotateY(0deg);
}
/* polaroids */
.ahr-pl-polaroid .ahr-prods {
	padding-inline: calc(var(--ahr-g) * 0.5 + 12px);
}
.ahr-pl-polaroid .ahr-pc {
	margin-inline: calc(var(--ahr-g) * -0.5);
}
.ahr-pl-polaroid .ahr-pc:nth-child(3n + 1) {
	transform: rotate(-5deg) translateY(2%);
}
.ahr-pl-polaroid .ahr-pc:nth-child(3n + 2) {
	transform: rotate(3.5deg) translateY(-4%);
}
.ahr-pl-polaroid .ahr-pc:nth-child(3n) {
	transform: rotate(-1.5deg) translateY(5%);
}
.ahr-pl-polaroid .ahr-pc:hover,
.ahr-pl-polaroid .ahr-pc:focus-within {
	z-index: 5;
	transform: rotate(0deg) translateY(-5%) scale(1.04);
}
.almahjar-hero .ahr-pl-polaroid .ahr-pc-a {
	padding: 10px 10px 0;
	border-radius: 3px;
	background: #fff;
	color: #222;
	box-shadow: 0 20px 44px -20px rgb(0 0 0/0.55);
}
.ahr-pl-polaroid .ahr-pc-img {
	border-radius: 2px;
	box-shadow: none;
}
.ahr-pl-polaroid .ahr-pc-b {
	position: static;
	margin: 0;
	padding: 12px 4px 16px;
	align-items: center;
	text-align: center;
	background: none;
	color: inherit;
	opacity: 1;
	transform: none;
}
.ahr-pl-polaroid .ahr-pc-p ins {
	color: var(--ahr-accent);
}
.ahr-pl-polaroid.ahr-noinfo .ahr-pc-a {
	padding-bottom: 34px;
}
/* tray: the products together on one panel */
.almahjar-hero .ahr-pl-tray .ahr-prods {
	width: fit-content;
	max-width: 100%;
	padding: clamp(14px, 2vw, 26px);
	border-radius: calc(var(--ahr-cr) + 16px);
	background: color-mix(in srgb, var(--color-background, #fff) 80%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 34px 80px -44px rgb(0 0 0/0.5);
	align-items: flex-start;
}
.ahr-pl-tray .ahr-pc {
	flex-basis: calc(var(--ahr-cw) * 0.78);
}
.ahr-pl-tray .ahr-pc-a {
	color: var(--color-heading, #111);
}
.ahr-pl-tray .ahr-pc-img {
	box-shadow: none;
}
/* a set: "+" between its products (circle, thin, or none), and the set price */
.ahr-k-set:is(.ahr-pl-stagger, .ahr-pl-row, .ahr-pl-tray, .ahr-pl-polaroid, .ahr-pl-arc):not(.ahr-plus-none)
	.ahr-pc
	+ .ahr-pc::before {
	content: "+";
	position: absolute;
	z-index: 6;
	top: calc(var(--ahr-cw) / var(--ahr-arn) * 0.5);
	inset-inline-start: calc(var(--ahr-g) / -2);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 50%;
	background: var(--color-background, #fff);
	color: var(--color-heading, #111);
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
	box-shadow: 0 6px 16px -6px rgb(0 0 0/0.35);
}
.ahr-k-set.ahr-pl-tray:not(.ahr-plus-none) .ahr-pc + .ahr-pc::before {
	top: calc(var(--ahr-cw) * 0.78/var (--ahr-arn) * 0.5);
}
.ahr-k-set.ahr-plus-line:not(.ahr-plus-none) .ahr-pc + .ahr-pc::before {
	background: none;
	box-shadow: none;
	color: var(--ahr-fg, #111);
	font-size: 30px;
	font-weight: 200;
}
.ahr-k-set.ahr-pl-tray.ahr-plus-line:not(.ahr-plus-none) .ahr-pc + .ahr-pc::before {
	color: var(--color-heading, #111);
}
[dir="rtl"] .ahr-k-set .ahr-pc + .ahr-pc::before {
	margin: -15px -15px 0 0;
}
.ahr-setp {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 10px;
	padding: 10px 18px;
	border-radius: var(--btn-radius, 30px);
	background: color-mix(in srgb, var(--color-background, #fff) 82%, transparent);
	color: var(--color-heading, #111);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px -18px rgb(0 0 0/0.4);
	font-variant-numeric: tabular-nums;
}
.ahr-setp-l {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.7;
}
[dir="rtl"] .ahr-setp-l {
	letter-spacing: 0;
}
.ahr-setp s {
	opacity: 0.5;
	font-size: 14px;
}
.ahr-setp b {
	font-size: 18px;
	font-weight: var(--heading-font-weight, 600);
}
.ahr-setp em {
	font-style: normal;
	font-size: 12px;
	font-weight: var(--subheading-weight, 500);
	padding: 3px 9px;
	border-radius: 20px;
	background: var(--color-primary, #d0473e);
	color: #fff;
}
/* the slider's markers follow the open slide's words (white on a dark slide, ink on a light one) */
.almahjar-hero--slider.is-ctl-dark {
	--ahr-ctl: var(--ahr-ink);
	--ahr-ctl-dim: color-mix(in srgb, var(--ahr-ink) 25%, transparent);
}
.almahjar-hero--slider.is-ctl-light {
	--ahr-ctl: #fff;
	--ahr-ctl-dim: rgb(255 255 255/0.35);
}
/* phones: words on top, the cards a row that swipes sideways (the slider changes slides when swiped anywhere else);
   the moving carousel keeps moving and the deck keeps dealing */
@media (max-width: 767px) {
	.ahr-k-products,
	.ahr-k-set {
		--ahr-cw: min(38vw, 176px);
	}
	.ahr-show,
	.ahr-slide.ahr-a-end .ahr-show,
	.ahr-slide.ahr-a-center .ahr-show {
		grid-template-columns: 100%;
		grid-template-rows: auto auto;
		align-content: center;
		gap: 16px;
		padding: 52px 0 64px;
	}
	.ahr-slide.ahr-a-end .ahr-show > .ahr-content {
		order: 0;
	}
	.ahr-show > .ahr-content {
		padding-inline: 20px;
		justify-content: flex-start;
	}
	.ahr-show .ahr-title,
	.ahr-s-xl .ahr-show .ahr-title {
		font-size: clamp(28px, 8.4vw, 40px);
	}
	.ahr-show .ahr-text {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		margin-top: 10px;
	}
	.ahr-show .ahr-btns {
		margin-top: 18px;
	}
	.ahr-prods-w {
		gap: 10px;
		align-self: auto !important;
	}
	.almahjar-hero .ahr-slide:not(.ahr-pl-marquee):not(.ahr-pl-deck) .ahr-prods {
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 12px;
		width: auto;
		max-width: none;
		height: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 20px;
		padding: 4px 20px 10px;
		border-radius: 0;
		background: none;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		perspective: none;
		scrollbar-width: none;
		touch-action: pan-x pan-y;
		overscroll-behavior-x: contain;
	}
	.ahr-prods::-webkit-scrollbar {
		display: none;
	}
	.ahr-slide:not(.ahr-pl-marquee):not(.ahr-pl-deck) .ahr-pc {
		flex: 0 0 var(--ahr-cw);
		height: auto;
		scroll-snap-align: start;
		transform: none !important;
		margin: 0;
		grid-row: auto !important;
	}
	.ahr-slide:not(.ahr-pl-marquee):not(.ahr-pl-deck) .ahr-pc:first-child {
		margin-inline-start: auto;
	}
	.ahr-slide:not(.ahr-pl-marquee):not(.ahr-pl-deck) .ahr-pc:last-child {
		margin-inline-end: auto;
	} /* centred while they fit, a row to swipe when they do not */
	.ahr-pl-mosaic .ahr-pc-a,
	.ahr-pl-mosaic .ahr-pc-img,
	.ahr-pl-strips .ahr-pc-a,
	.ahr-pl-strips .ahr-pc-img {
		height: auto;
		aspect-ratio: var(--ahr-ar);
	}
	.ahr-pl-mosaic .ahr-pc-img,
	.ahr-pl-strips .ahr-pc-img {
		aspect-ratio: var(--ahr-ar);
	}
	.ahr-pl-strips .ahr-pc-b,
	.ahr-pl-fan .ahr-pc-b {
		opacity: 1 !important;
		transform: none;
	}
	.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-a {
		display: block;
		padding: 0;
		background: none !important;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		color: var(--ahr-fg, #111);
	}
	.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-b {
		margin-top: 10px;
	}
	.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-img {
		border-radius: var(--ahr-cr);
	}
	.ahr-pl-spot .ahr-pc:not(:first-child) .ahr-pc-bds {
		display: flex;
	}
	.ahr-pl-fan .ahr-prods {
		padding-block: 4px 10px;
	}
	.ahr-pl-polaroid .ahr-pc-b {
		padding: 9px 2px 12px;
	}
	.ahr-pl-marquee .ahr-pc {
		flex-basis: min(34vw, 150px);
	}
	.almahjar-hero .ahr-pl-deck .ahr-prods {
		width: min(36vw, 156px);
		height: calc(min(36vw, 156px) / var(--ahr-arn) + 50px);
		margin-top: 22px;
	}
	.ahr-pl-deck .ahr-pc {
		transform: translate(calc(var(--p) * 10px * var(--ahr-dir)), calc(var(--p) * -7px))
			rotate(calc(var(--p) * 3deg * var(--ahr-dir))) scale(calc(1 - var(--p) * 0.05));
	}
	.ahr-deck-next {
		top: calc(22px + min(36vw, 156px) / var(--ahr-arn) / 2 - 20px);
		width: 40px;
		height: 40px;
		inset-inline-end: -20px;
	}
	.ahr-k-set .ahr-pc + .ahr-pc::before {
		display: none !important;
	}
	.ahr-pc-b {
		margin-top: 9px;
	}
	.ahr-setp {
		margin-inline: 20px;
		padding: 6px 14px;
	}
	.ahr-setp b {
		font-size: 16px;
	}
	.ahr-setp-l {
		font-size: 11px;
	}
}
