.mhcs-widget {
	--mhcs-bg: #1a1818;
	--mhcs-card: #212121;
	--mhcs-border: #2a2a2a;

	position: relative;
	background: transparent;
	font-family: 'Almarai', sans-serif;
	overflow: visible !important;
	isolation: isolate;
	padding-top: 1rem;
}

.mhcs-widget,
.mhcs-widget *:not(svg):not(svg *):not(i):not([class*="icon"]):not([class*="fa-"]) {
	font-family: 'Almarai', sans-serif;
}

.mhcs-widget *,
.mhcs-widget *::before,
.mhcs-widget *::after {
	box-sizing: border-box;
}

.mhcs-widget[dir="ltr"] {
	direction: ltr;
}

.mhcs-widget[dir="rtl"] {
	direction: rtl;
}

/* Orbs */
.mhcs-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.mhcs-orb { position: absolute; border-radius: 9999px; filter: blur(80px); opacity: 0.15; background: #fff; }
.mhcs-orb-1 { top: -160px; right: -160px; width: 500px; height: 500px; }
.mhcs-orb-2 { top: 80px; left: 0; width: 400px; height: 400px; opacity: 0.08; }

/* Hero */
.mhcs-hero {
	position: relative;
	z-index: 10;
	max-width: 64rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 0;
	text-align: right;
}

.mhcs-hero h1 {
	font-weight: 500;
	line-height: 1.1;
	margin: 0;
	font-size: 50px;
	color: #fff;
}

@media (max-width: 767px) {
	.mhcs-hero h1 { font-size: 30px; }
}

/* Slider section */
.mhcs-slider-section { position: relative; z-index: 10; margin-top: 2rem; padding-top: 40px; }
@media (min-width: 640px) { .mhcs-slider-section { margin-top: 3rem; padding-top: 50px; } }
@media (min-width: 768px) { .mhcs-slider-section { margin-top: 4rem; padding-top: 60px; } }

.mhcs-viewport {
	overflow: hidden;
	direction: ltr;
	padding-top: 80px;
	margin-top: -80px;
}

.mhcs-track { display: flex; will-change: transform; direction: ltr; }
.mhcs-slide { flex-shrink: 0; padding: 0 0.375rem; }
@media (min-width: 640px) { .mhcs-slide { padding: 0 0.625rem; } }

.mhcs-card { position: relative; cursor: pointer; transition: filter .5s, opacity .5s; }
.mhcs-card.dim { opacity: 0.7; filter: blur(1px); }

.mhcs-arch {
	position: relative;
	aspect-ratio: 3 / 5;
	overflow: hidden;
	border-top-left-radius: 9999px;
	border-top-right-radius: 9999px;
	background: var(--mhcs-card);
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.mhcs-arch-link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 2;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.mhcs-arch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform;
	display: block;
}

.mhcs-cat-label {
	position: absolute;
	bottom: 250px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 999px;
	z-index: 5;
	transition: all .3s ease;
	pointer-events: none;
	white-space: nowrap;
}

.mhcs-card:hover .mhcs-cat-label {
	background: #fff;
	color: #111;
	transform: translateX(-50%) translateY(-4px);
}

/* Controls */
.mhcs-controls {
	max-width: 1280px;
	margin: 1.75rem auto 0;
	padding: 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	direction: ltr;
}
@media (min-width: 640px) { .mhcs-controls { padding: 0 1.5rem; margin-top: 2rem; } }

.mhcs-counter {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: #9a9a9a;
	flex-shrink: 0;
	direction: ltr;
}
.mhcs-current { font-size: 1.375rem; color: #fff; font-weight: 700; line-height: 1; }
.mhcs-counter-bar { width: 2rem; height: 1px; background: #2a2a2a; }

.mhcs-progress-wrap { display: none; flex: 1; }
@media (min-width: 560px) { .mhcs-progress-wrap { display: block; } }

.mhcs-progress { position: relative; height: 1px; background: #2a2a2a; direction: ltr; }
.mhcs-progress > div { position: absolute; top: 0; left: 0; height: 1px; background: #fff; transition: width .5s; }

.mhcs-nav-btns { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; direction: ltr; }

.mhcs-nav-btn {
	width: 60px;
	height: 60px;
	border-radius: 9999px;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(33,33,33,0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	transition: background .2s, border-color .2s, transform .15s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	padding: 0;
}
.mhcs-nav-btn:active { transform: scale(0.93); }
.mhcs-nav-btn.primary { background: #fff; color: #1a1818; border: 0; }
.mhcs-nav-btn svg { width: 22px; height: 22px; }

.mhcs-spacer { height: 4rem; }
@media (min-width: 768px) { .mhcs-spacer { height: 5rem; } }

.mhcs-data { display: none; }
