/* RH Manager frontend helpers. Keep existing homepage look. */

.ra-hero__visual.has-rhm-img {
	background-image: none;
	overflow: hidden;
}

.ra-hero__visual.has-rhm-img .rhm-picture,
.ra-hero__visual.has-rhm-img .rhm-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ra-hero__visual.has-rhm-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.ra-trendboard--swap {
	direction: rtl;
}

.ra-trendboard--swap > * {
	direction: ltr;
}

.ra-trendboard--solo {
	grid-template-columns: minmax(0, 1fr);
}

.rhm-banner {
	position: relative;
	margin: 28px 0;
	overflow: hidden;
	max-width: 100%;
}

.rhm-banner--full {
	width: 100%;
}

.rhm-banner__inner {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
}

.rhm-banner--full .rhm-banner__inner {
	border-radius: 0;
}

.rhm-banner__media {
	line-height: 0;
	max-width: 100%;
}

.rhm-banner__media img,
.rhm-banner__media .rhm-picture {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.rhm-banner__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.rhm-banner__copy {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	padding: 24px 28px;
	max-width: min(42rem, 100%);
	color: #fff;
	pointer-events: none;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.rhm-banner__copy .ra-btn {
	pointer-events: auto;
	margin-top: 12px;
}

.rhm-banner--center .rhm-banner__copy {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	text-align: center;
}

.rhm-banner--right .rhm-banner__copy {
	left: auto;
	right: 0;
	text-align: right;
}

.rhm-banner__label {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rhm-banner__copy h2 {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.rhm-banner__copy p {
	margin: 0;
}

@media (max-width: 767px) {
	.rhm-banner {
		margin: 18px 0;
	}

	.rhm-banner__inner {
		border-radius: 12px;
	}

	.rhm-banner__copy {
		position: relative;
		inset: auto;
		transform: none;
		padding: 16px 4px 0;
		color: inherit;
		text-shadow: none;
		max-width: 100%;
	}

	.rhm-banner--center .rhm-banner__copy,
	.rhm-banner--right .rhm-banner__copy {
		left: auto;
		right: auto;
		transform: none;
	}
}

.ra-shopcat__icon img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	display: block;
}

.ra-notes__mark img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: block;
}

.ra-notes__item {
	text-decoration: none;
	color: inherit;
}

.ra-footer__pay img {
	object-fit: contain;
}

@media (max-width: 720px) {
	.ra-shopcat__icon img {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 900px) {
	.ra-shopcat__icon img {
		width: 56px;
		height: 56px;
	}
}
