/*
 * Shubh Laabh Arts — Shop banner. Full-bleed inner-page banner that uses
 * assets/images/banner/shop-banner.jpg as its real background (cover),
 * with only the page title set into the plain wall at the centre of the
 * artwork — the brass pot and carved panel (left) and the lamp and jasmine
 * (right) stay uncovered at every width. Preloaded from inc/shop.php.
 */

.sla-shop-banner,
.sla-shop-banner *,
.sla-shop-banner *::before,
.sla-shop-banner *::after {
	box-sizing: border-box;
}

.sla-shop-banner {
	position: relative;
	width: 100%;
	min-height: clamp( 190px, 20vw, 380px );
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var( --sla-gold-soft );
	background-image: url( '../images/banner/shop-banner.jpg' );
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	overflow: hidden;
	isolation: isolate;
}

/* A soft ivory glow behind the title only — lifts contrast on the sunlit
 * wall without boxing the text or dimming the artwork at either edge. */
.sla-shop-banner::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: min( 560px, 70% );
	height: 78%;
	transform: translate( -50%, -50% );
	background: radial-gradient( closest-side, rgba( 251, 248, 241, 0.62 ), rgba( 251, 248, 241, 0.28 ) 55%, rgba( 251, 248, 241, 0 ) );
	z-index: -1;
	pointer-events: none;
}

/* Hairline gold edge where the banner meets the product strip. */
.sla-shop-banner::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient( 90deg, transparent, color-mix( in srgb, var( --sla-champagne-gold ) 70%, transparent ), transparent );
}

.sla-shop-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp( 0.45rem, 0.8vw, 0.75rem );
	padding: 1.5rem 1rem;
	text-align: center;
}

.sla-shop-banner__title {
	margin: 0;
	font-family: var( --sla-font-display );
	font-weight: 600;
	font-size: clamp( 2.5rem, 1.9rem + 2.6vw, 4.5rem );
	line-height: 1;
	letter-spacing: 0.16em;
	/* Optical centring: tracking adds trailing space after the last letter. */
	padding-left: 0.16em;
	text-transform: uppercase;
	color: var( --sla-peacock-navy );
	text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.45 ), 0 0 28px rgba( 251, 248, 241, 0.9 );
}

/* Line — diamond — line ornament above and below the title. */
.sla-shop-banner__ornament {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var( --sla-champagne-gold );
}

.sla-shop-banner__ornament span {
	display: block;
	width: clamp( 34px, 5vw, 64px );
	height: 1px;
	background: linear-gradient( 90deg, transparent, currentColor );
}

.sla-shop-banner__ornament span:last-child {
	background: linear-gradient( 270deg, transparent, currentColor );
}

.sla-shop-banner__ornament i {
	display: block;
	width: 7px;
	height: 7px;
	border: 1px solid currentColor;
	transform: rotate( 45deg );
}

.sla-shop-banner__ornament--below i {
	background: currentColor;
}

@media ( max-width: 767px ) {
	/* Narrow screens see a slice of the artwork: keep the mandala and the
	 * lamp side in frame rather than the empty middle of the wall. */
	.sla-shop-banner {
		background-position: 58% 50%;
	}
}
