/* Haute Optique — Marketing (category banner + promo card).
   Self-contained tokens (child main.css isn't loaded on the front end). */

.ho-cat-banner {
	--ho-ink: #1a1a1a;
	--ho-radius: 14px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	min-height: 300px;
	margin: 0 clamp( 16px, 4vw, 60px ) 34px;
	padding: 48px 52px;
	border-radius: var(--ho-radius);
	overflow: hidden;
	background: #f2f2f2;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background image layer + legibility overlay */
.ho-cat-banner__bg {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; z-index: 0;
}
.ho-cat-banner--img::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient( 90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.05) 100% );
}
.ho-cat-banner__inner { position: relative; z-index: 2; max-width: 620px; }

.ho-cat-banner__title {
	margin: 0 0 12px;
	font-size: 40px;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ho-ink);
}
.ho-cat-banner__desc {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.5;
	color: #444;
}
.ho-cat-banner--img .ho-cat-banner__title,
.ho-cat-banner--img .ho-cat-banner__desc { color: #fff; }

.ho-cat-banner__cta {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 999px;
	background: var(--ho-ink);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
	transition: transform .15s ease, opacity .15s ease;
}
.ho-cat-banner__cta:hover { transform: translateY(-1px); opacity: .92; }
.ho-cat-banner--img .ho-cat-banner__cta { background: #fff; color: var(--ho-ink) !important; }

/* --- Promo card: occupies one product-grid slot --- */
.ho-promo-card { list-style: none; }
.ho-promo-card .ho-promo-card__link,
.ho-promo-card .ho-promo-card__inner {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	overflow: hidden;
	background: #f2f2f2;
}
.ho-promo-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.ho-promo-card a:hover img { transform: scale(1.03); }

/* Responsive banner */
@media ( max-width: 768px ) {
	.ho-cat-banner { min-height: 220px; padding: 32px 26px; margin: 0 16px 24px; }
	.ho-cat-banner__title { font-size: 28px; }
	.ho-cat-banner__desc { font-size: 15px; }
}
