/**
 * Exxenpana five-banner hero refresh.
 * The bundled artwork reserves its left side for this responsive copy block.
 */
.hero-revision .hero-shell {
	display: block;
	height: auto;
	min-height: 0;
}

.hero-revision .hero-slider {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 1630 / 965;
	border-radius: clamp(0.5rem, 1vw, 1rem);
}

.hero-revision .hero-slide {
	align-items: center;
	padding: clamp(4.75rem, 8vw, 7.5rem) clamp(2rem, 6vw, 6rem);
	background-size: cover;
}

.hero-revision .hero-slide::before {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 58%);
}

.hero-revision .hero-slide--light-copy::before {
	background: linear-gradient(90deg, rgba(13, 12, 11, 0.58) 0%, rgba(13, 12, 11, 0.27) 38%, rgba(13, 12, 11, 0) 60%);
}

.hero-revision .hero-slide-content {
	width: min(42%, 590px);
	max-width: 590px;
	color: #1b1917;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.18);
}

.hero-revision .hero-slide-content .badge {
	display: inline-flex;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(27, 25, 23, 0.2);
	color: #1b1917;
	backdrop-filter: blur(5px);
}

.hero-revision .hero-slide-content h2 {
	margin: clamp(0.75rem, 1.4vw, 1.25rem) 0 0;
	color: #1b1917;
	font-size: clamp(2rem, 3.25vw, 3.65rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.hero-revision .hero-slide-content h2 br {
	display: block;
}

.hero-revision .hero-slide-content p {
	max-width: 34rem;
	margin-top: clamp(0.8rem, 1.5vw, 1.25rem);
	color: rgba(27, 25, 23, 0.82);
	font-size: clamp(0.9rem, 1.18vw, 1.08rem);
	line-height: 1.55;
}

.hero-revision .hero-slide--light-copy .hero-slide-content,
.hero-revision .hero-slide--light-copy .hero-slide-content h2 {
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-revision .hero-slide--light-copy .hero-slide-content p {
	color: rgba(255, 255, 255, 0.88);
}

.hero-revision .hero-slide--light-copy .hero-slide-content .badge {
	background: rgba(20, 18, 17, 0.34);
	border-color: rgba(255, 255, 255, 0.38);
	color: #fff;
}

.hero-revision .hero-slide-actions {
	margin-top: clamp(1rem, 2vw, 1.65rem);
}

.hero-revision .hero-slide-actions .btn {
	max-width: 100%;
	min-height: 46px;
	white-space: normal;
	text-align: center;
}

.hero-revision .hero-slide-actions .btn:hover,
.hero-revision .hero-slide-actions .btn:focus-visible {
	transform: translateY(-2px);
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.hero-revision .hero-slider {
		height: clamp(430px, 128vw, 560px);
		aspect-ratio: auto;
	}

	.hero-revision .hero-slide {
		padding: 5.25rem clamp(1.15rem, 5vw, 2rem) 4.75rem;
		background-position: 39% center !important;
	}

	.hero-revision .hero-slide::before {
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 58%, rgba(255, 255, 255, 0.14) 100%);
	}

	.hero-revision .hero-slide--light-copy::before {
		background: linear-gradient(90deg, rgba(13, 12, 11, 0.78) 0%, rgba(13, 12, 11, 0.6) 58%, rgba(13, 12, 11, 0.14) 100%);
	}

	.hero-revision .hero-slide-content {
		width: min(100%, 25rem);
	}

	.hero-revision .hero-slide-content h2 {
		font-size: clamp(1.35rem, 6vw, 2.2rem);
		line-height: 1.12;
	}

	.hero-revision .hero-slide-content p {
		font-size: clamp(0.84rem, 3.6vw, 0.98rem);
		line-height: 1.48;
	}

	.hero-revision .hero-slider-controls {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.65rem;
	}
}

@media (max-width: 360px) {
	.hero-revision .hero-slide-content {
		width: 94%;
	}

	.hero-revision .hero-slide-content h2 {
		font-size: 1.3rem;
	}

	.hero-revision .hero-slide-actions .btn {
		width: 100%;
		padding-inline: 0.75rem;
		font-size: 0.72rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-revision .hero-slide,
	.hero-revision .hero-slide-actions .btn {
		transition: none;
	}
}

/* The vanity artwork includes copy space on its left. In this split card the
 * copy already has a dedicated column, so crop that empty portion and keep the
 * bathroom composition anchored to the right edge. */
.material-focus-card .promo-media {
	overflow: hidden;
}

.material-focus-card .promo-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	transform: scale(1.55);
	transform-origin: right center;
}

@media (max-width: 768px) {
	.material-focus-card .promo-media > img {
		transform: scale(1.38);
	}
}

/* Category flyout: category labels navigate, arrow buttons only expand branches. */
.hero-revision .hero-category-panel {
	inset: 54px auto auto 0;
	max-height: min(72vh, 640px);
	overflow-y: auto;
	padding: 0.9rem;
}

.hero-revision .hero-category-panel-head {
	margin-bottom: 0.7rem;
	padding: 0 0 0.7rem;
}

.hero-revision .hero-category-list {
	gap: 0.35rem;
}

.hero-revision .hero-category-row {
	grid-template-columns: minmax(0, 1fr) 40px;
	gap: 0.35rem;
}

.hero-revision .hero-category-item:not(.has-children) > .hero-category-row {
	grid-template-columns: minmax(0, 1fr);
}

.hero-revision .hero-category-row > a {
	min-height: 46px;
	padding: 0.65rem 0.8rem;
	background: #f7f5f2;
	border-color: transparent;
	border-radius: 8px;
	font-size: 0.84rem;
}

.hero-revision .hero-category-row > a:hover,
.hero-revision .hero-category-row > a:focus-visible {
	background: #fff;
	border-color: #bbb6ad;
	transform: none;
	box-shadow: inset 3px 0 0 #171717;
}

.hero-revision .hero-category-branch-toggle {
	display: grid;
	width: 40px;
	min-width: 40px;
	min-height: 46px;
	place-items: center;
	background: #fff;
	border: 1px solid #d8d4cd;
	border-radius: 8px;
	color: #292724;
	cursor: pointer;
}

.hero-revision .hero-category-branch-toggle:hover,
.hero-revision .hero-category-branch-toggle:focus-visible {
	background: #f0ede8;
	border-color: #aaa49a;
	color: #171717;
	outline: 2px solid rgba(23, 23, 23, 0.2);
	outline-offset: 2px;
}

.hero-revision .hero-category-branch-toggle[aria-expanded="true"] {
	background: #171717;
	border-color: #171717;
	color: #fff;
}

.hero-revision .hero-category-arrow {
	display: block;
	width: 17px;
	height: 17px;
	transform: rotate(-90deg);
	transition: transform 160ms ease;
}

.hero-revision .hero-category-branch-toggle[aria-expanded="true"] .hero-category-arrow {
	transform: rotate(0deg);
}

.hero-revision .hero-category-children {
	position: relative;
	margin: 0.35rem 0 0 0.8rem;
	padding: 0 0 0 0.75rem;
	border-left: 1px solid #cbc6bd;
}

.hero-revision .hero-category-children::before {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	width: 0.75rem;
	height: 1px;
	background: #cbc6bd;
}

.hero-revision .hero-category-children .hero-category-row > a {
	min-height: 42px;
	background: #fcfbf9;
	font-size: 0.8rem;
}

.hero-revision .hero-category-level-2 .hero-category-row > a {
	background: #fff;
	font-size: 0.77rem;
}

@media (max-width: 430px) {
	.hero-revision .hero-category-panel {
		width: calc(100vw - 1.25rem);
		max-height: calc(100vh - 9rem);
		padding: 0.75rem;
	}

	.hero-revision .hero-category-row {
		grid-template-columns: minmax(0, 1fr) 38px;
	}

	.hero-revision .hero-category-branch-toggle {
		width: 38px;
		min-width: 38px;
	}
}

/* Keep the complete homepage category card clickable above carousel layers. */
.categories-section .category-card-destination,
.categories-section .category-card-destination .category-card-media,
.categories-section .category-card-destination .category-card-content,
.categories-section .category-card-destination .category-card-link {
	pointer-events: auto;
	cursor: pointer;
}
