/* ==========================================================================
   YETI Hero widget
   Desktop: image fills the section, text sits on top (left).
   Phone:   text first, image below it (nothing is cropped behind the text).
   ========================================================================== */

.yeti-hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden; /* fallback for old browsers */
	overflow: clip; /* unlike hidden, lets the aspect-ratio box grow with its content */
	background: var(--yeti-nav-bg);
}
/* Desktop: hero height follows the banner's shape, so the products are never cropped.
   If the text needs more room the hero simply grows. */
@media (min-width: 1025px) {
	.yeti-hero {
		aspect-ratio: var(--yeti-hero-ratio, 1920 / 600);
	}
}

.yeti-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}
.yeti-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.yeti-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 56px;
}
.yeti-hero__content {
	max-width: 640px;
}

.yeti-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--yeti-navy);
}
.yeti-hero__title {
	margin: 0 0 18px;
	font-size: clamp(2.1rem, 3.5vw, 3.8rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--yeti-ink);
}
.yeti-hero__title u {
	text-decoration: none;
	color: var(--yeti-navy);
}
.yeti-hero__text {
	max-width: 460px;
	margin: 0 0 22px;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--yeti-ink);
}

.yeti-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}
.yeti-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--yeti-ink);
}
.yeti-hero__chip-icon {
	display: inline-flex;
	color: var(--yeti-navy);
	font-size: 18px;
	line-height: 1;
}
.yeti-hero__chip-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.yeti-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---- Tablet and phone: stack, text first then image ---- */
@media (max-width: 1024px) {
	.yeti-hero {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.yeti-hero__media {
		position: relative;
		inset: auto;
		aspect-ratio: 16 / 10;
	}
	.yeti-hero__inner {
		padding-block: 36px 28px;
	}
}
@media (max-width: 767px) {
	.yeti-hero__chips {
		gap: 10px 18px;
		margin-bottom: 24px;
	}
	.yeti-hero__actions .yeti-btn {
		flex: 1 1 auto;
		padding-inline: 18px;
		white-space: nowrap;
	}
}
