/* Aria Bello — shop hub & category archives */

.shop-hub--premium {
	position: relative;
	padding: 120px 56px 88px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 55% at 100% 0%, rgba(184, 149, 110, 0.14) 0%, transparent 58%),
		radial-gradient(ellipse 45% 40% at 0% 100%, rgba(143, 175, 138, 0.1) 0%, transparent 52%),
		linear-gradient(180deg, #F3F0EA 0%, var(--warm-white) 100%);
	border-bottom: 1px solid rgba(184, 149, 110, 0.15);
}
.shop-hub-glow {
	position: absolute;
	top: 48px;
	right: 10%;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(184, 149, 110, 0.2);
	border-radius: 50%;
	pointer-events: none;
}
.shop-hub-hero {
	max-width: 720px;
	margin-bottom: 56px;
	position: relative;
	z-index: 1;
}
.shop-hub-kicker {
	font-size: 0.6rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--charcoal);
	margin: 0 0 16px;
}
.shop-hub-title {
	font-family: var(--serif);
	font-size: clamp(2.8rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1.05;
	margin: 0 0 20px;
}
.shop-hub-title em { font-style: italic; color: var(--charcoal); }
.shop-hub-intro {
	font-size: 0.95rem;
	line-height: 1.95;
	color: var(--charcoal);
	font-weight: 300;
	margin: 0;
	max-width: 620px;
}
.shop-hub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	position: relative;
	z-index: 1;
}
.shop-hub-card {
	--shop-card-bg: #FAF8F5;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 1fr;
	min-height: 360px;
	padding: 40px 36px 36px;
	text-decoration: none;
	color: var(--jet);
	border: 1px solid rgba(184, 149, 110, 0.28);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(249, 247, 244, 0.95));
	box-shadow: 0 18px 48px rgba(17, 17, 17, 0.05);
	transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
	overflow: hidden;
	isolation: isolate;
}
.shop-hub-card:hover {
	transform: translateY(-6px);
	border-color: rgba(184, 149, 110, 0.5);
	box-shadow: 0 28px 64px rgba(17, 17, 17, 0.08);
}
.shop-hub-card-body {
	position: relative;
	z-index: 2;
	grid-row: 1;
	grid-column: 1;
	display: flex;
	flex-direction: column;
	max-width: 54%;
	min-height: 280px;
	padding: 0;
}
.shop-hub-card-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 38%;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: transparent;
}
.shop-hub-card-media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			to right,
			var(--shop-card-bg) 0%,
			rgba(250, 248, 245, 0.98) 10%,
			rgba(250, 248, 245, 0.88) 20%,
			rgba(250, 248, 245, 0.62) 32%,
			rgba(250, 248, 245, 0.28) 44%,
			transparent 58%
		),
		linear-gradient(
			to bottom,
			rgba(250, 248, 245, 0.55) 0%,
			transparent 12%,
			transparent 88%,
			rgba(250, 248, 245, 0.45) 100%
		);
}
.shop-hub-card-media img {
	position: absolute;
	top: 50%;
	right: 0;
	width: 100%;
	height: 112%;
	transform: translateY(-50%);
	object-fit: cover;
	object-position: center;
	display: block;
	opacity: 0.96;
	transition: opacity 0.45s ease, transform 0.55s ease;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0, 0, 0, 0.08) 8%,
		rgba(0, 0, 0, 0.35) 18%,
		rgba(0, 0, 0, 0.72) 30%,
		rgba(0, 0, 0, 0.95) 42%,
		#000 52%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(0, 0, 0, 0.08) 8%,
		rgba(0, 0, 0, 0.35) 18%,
		rgba(0, 0, 0, 0.72) 30%,
		rgba(0, 0, 0, 0.95) 42%,
		#000 52%
	);
}
.shop-hub-card:hover .shop-hub-card-media img {
	opacity: 1;
	transform: translateY(-50%) scale(1.02);
}
.shop-hub-card--gloss .shop-hub-card-media img {
	object-position: center 44%;
}
.shop-hub-card--hair .shop-hub-card-media img {
	object-position: center 28%;
	filter: saturate(0.92) contrast(1.02);
}
.shop-hub-card--hair .shop-hub-card-media::before {
	background:
		linear-gradient(
			to right,
			var(--shop-card-bg) 0%,
			rgba(250, 248, 245, 0.99) 12%,
			rgba(250, 248, 245, 0.9) 22%,
			rgba(250, 248, 245, 0.68) 34%,
			rgba(250, 248, 245, 0.32) 46%,
			transparent 60%
		),
		linear-gradient(
			to bottom,
			rgba(250, 248, 245, 0.65) 0%,
			transparent 12%,
			transparent 88%,
			rgba(250, 248, 245, 0.5) 100%
		);
}
.shop-hub-card--gloss::before {
	content: '';
	position: absolute;
	inset: 0;
	width: 58%;
	background: radial-gradient(circle at 88% 18%, rgba(168, 181, 160, 0.1) 0%, transparent 46%);
	pointer-events: none;
	z-index: 1;
}
.shop-hub-card--hair::before {
	content: '';
	position: absolute;
	inset: 0;
	width: 58%;
	background: radial-gradient(circle at 88% 22%, rgba(184, 149, 110, 0.08) 0%, transparent 44%);
	pointer-events: none;
	z-index: 1;
}
.shop-hub-card-num {
	font-size: 0.58rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold, #B8956E);
	margin-bottom: 18px;
	position: relative;
	z-index: 1;
}
.shop-hub-card-title {
	font-family: var(--serif);
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 0 16px;
	position: relative;
	z-index: 1;
}
.shop-hub-card-title em { font-style: italic; color: var(--charcoal); }
.shop-hub-card-text {
	font-size: 0.9rem;
	line-height: 1.85;
	color: var(--charcoal);
	font-weight: 300;
	margin: 0 0 auto;
	max-width: 360px;
	position: relative;
	z-index: 1;
}
.shop-hub-card-cta {
	display: inline-block;
	margin-top: 28px;
	font-size: 0.62rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(17, 17, 17, 0.35);
	padding-bottom: 4px;
	position: relative;
	z-index: 1;
}
.shop-hub-card-corner {
	position: absolute;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(184, 149, 110, 0.45);
	z-index: 3;
}
.shop-hub-card-corner--tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.shop-hub-card-corner--br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.shop-cat-hero--premium {
	padding: 120px 56px 48px;
	border-bottom: 1px solid rgba(184, 149, 110, 0.15);
}
.shop-cat-hero--gloss {
	background:
		radial-gradient(ellipse 60% 50% at 100% 0%, rgba(143, 175, 138, 0.12) 0%, transparent 55%),
		linear-gradient(180deg, #F5F2EC 0%, #F2EFE9 100%);
}
.shop-cat-hero--hair {
	background:
		radial-gradient(ellipse 60% 50% at 0% 0%, rgba(184, 149, 110, 0.12) 0%, transparent 55%),
		linear-gradient(180deg, #F0ECE4 0%, #F2EFE9 100%);
}
.shop-cat-hero-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	flex-wrap: wrap;
}
.shop-cat-hero-kicker {
	font-size: 0.6rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--charcoal);
	margin: 0 0 14px;
}
.shop-cat-hero-title {
	font-family: var(--serif);
	font-size: clamp(2.4rem, 4.5vw, 3.8rem);
	font-weight: 400;
	line-height: 1.05;
	margin: 0 0 16px;
}
.shop-cat-hero-title em { font-style: italic; color: var(--charcoal); }
.shop-cat-hero-tagline {
	font-size: 0.92rem;
	line-height: 1.9;
	color: var(--charcoal);
	font-weight: 300;
	margin: 0 0 12px;
	max-width: 560px;
}
.shop-cat-hero-count {
	font-size: 0.62rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold, #B8956E);
	margin: 0;
}
.shop-cat-hero-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
}
.shop-cat-back {
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--charcoal);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}
.shop-cat-back:hover { color: var(--jet); border-bottom-color: var(--gold, #B8956E); }
.shop-cat-switch {
	display: inline-flex;
	border: 1px solid rgba(184, 149, 110, 0.28);
	background: rgba(255, 255, 255, 0.72);
}
.shop-cat-switch-link {
	padding: 12px 18px;
	font-size: 0.6rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--charcoal);
	transition: background 0.2s, color 0.2s;
}
.shop-cat-switch-link + .shop-cat-switch-link { border-left: 1px solid rgba(184, 149, 110, 0.2); }
.shop-cat-switch-link.is-active,
.shop-cat-switch-link:hover {
	background: var(--jet);
	color: var(--warm-white);
}

@media (max-width: 1100px) {
	.shop-cat-hero-inner { flex-direction: column; align-items: flex-start; }
	.shop-cat-hero-nav { align-items: flex-start; width: 100%; }
}

@media (max-width: 768px) {
	.shop-hub--premium,
	.shop-cat-hero--premium { padding: 96px 24px 48px; }
	.shop-hub-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	.shop-hub-card {
		min-height: 280px;
		padding: 24px 16px 20px;
	}
	.shop-hub-card-body {
		max-width: 56%;
		min-height: 0;
	}
	.shop-hub-card-media {
		left: 40%;
	}
	.shop-hub-card-num {
		font-size: 0.48rem;
		letter-spacing: 0.22em;
		margin-bottom: 10px;
	}
	.shop-hub-card-title {
		font-size: clamp(1.05rem, 4.2vw, 1.45rem);
		margin-bottom: 10px;
	}
	.shop-hub-card-text {
		font-size: 0.68rem;
		line-height: 1.65;
		max-width: none;
	}
	.shop-hub-card-cta {
		margin-top: 14px;
		font-size: 0.48rem;
		letter-spacing: 0.16em;
	}
	.shop-hub-card-corner {
		width: 12px;
		height: 12px;
	}
	.shop-hub-card-corner--tl { top: 10px; left: 10px; }
	.shop-hub-card-corner--br { bottom: 10px; right: 10px; }
	.shop-hub-card-media img {
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.12) 10%,
			rgba(0, 0, 0, 0.45) 22%,
			rgba(0, 0, 0, 0.82) 34%,
			#000 46%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0%,
			rgba(0, 0, 0, 0.12) 10%,
			rgba(0, 0, 0, 0.45) 22%,
			rgba(0, 0, 0, 0.82) 34%,
			#000 46%
		);
	}
	.shop-hub-card-media::before {
		background:
			linear-gradient(
				to right,
				var(--shop-card-bg) 0%,
				rgba(250, 248, 245, 0.98) 12%,
				rgba(250, 248, 245, 0.82) 24%,
				rgba(250, 248, 245, 0.45) 36%,
				transparent 50%
			),
			linear-gradient(
				to bottom,
				rgba(250, 248, 245, 0.45) 0%,
				transparent 10%,
				transparent 90%,
				rgba(250, 248, 245, 0.35) 100%
			);
	}
}
