/* Helly home modules */

/* ---- Hero / campaign banner ------------------------------------------- */
.hh-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
	background: #e9e9e9;
	width: 100%;
}

.hh-banner__media,
.hh-banner__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hh-banner__media {
	z-index: -2;
}

.hh-banner__media img {
	object-fit: cover;
	object-position: center;
}

.hh-banner--hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	aspect-ratio: 1920 / 700;
	min-height: 500px;
	max-height: 760px;
}

.hh-banner--tile {
	aspect-ratio: 1166 / 700;
	min-height: 340px;
}

.hh-banner__content {
	position: relative;
	z-index: 2;
	width: min(100% - 80px, var(--hh-wrap));
	margin: 0 auto;
	padding: 0 0 5.6%;
}

.hh-banner--dark .hh-banner__content {
	color: var(--hh-navy);
}

.hh-banner--light .hh-banner__content {
	color: #fff;
}

.hh-banner--light::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.58) 100%);
	pointer-events: none;
}

.hh-banner__title {
	max-width: 620px;
	margin: 0;
	font-family: var(--hh-head);
	font-size: clamp(48px, 4.8vw, 78px);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: inherit;
}

.hh-brand .hh-banner h2,
.hh-brand .hh-banner p,
.hh-brand .hh-banner .hh-banner__title,
.hh-brand .hh-banner .hh-banner__sub {
	color: inherit;
}

.hh-banner__sub {
	max-width: 460px;
	margin: 14px 0 22px;
	font-family: var(--hh-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: inherit;
}

.hh-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hh-banner--hero .hh-banner__title {
	max-width: 440px;
	text-shadow: 0 1px 30px rgba(255, 255, 255, 0.45);
}

.hh-banner--tile .hh-banner__content {
	padding-bottom: 7%;
}

.hh-banner--tile .hh-banner__title {
	font-size: clamp(34px, 3vw, 48px);
	max-width: 500px;
}

.hh-banner--tile .hh-banner__sub {
	margin: 10px 0 18px;
	font-size: 14px;
}

@media (max-width: 749px) {
	.hh-banner--mobile-light .hh-banner__content {
		color: #fff;
	}

	.hh-banner--mobile-light::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.62) 100%);
		pointer-events: none;
	}

	.hh-banner--mobile-dark .hh-banner__content {
		color: var(--hh-navy);
	}

	.hh-banner--mobile-dark::after {
		display: none;
	}

	.hh-banner--hero {
		aspect-ratio: auto;
		min-height: 560px;
		max-height: none;
	}

	.hh-banner--tile {
		aspect-ratio: 4 / 5;
		min-height: 0;
	}

	.hh-banner__content {
		width: min(100% - 32px, var(--hh-wrap));
		padding-bottom: 28px;
	}

	.hh-banner__title {
		font-size: 44px;
		line-height: 0.96;
		max-width: 330px;
	}

	.hh-banner__sub {
		font-size: 14px;
		margin: 12px 0 18px;
	}

	.hh-banner--tile .hh-banner__content {
		padding-bottom: 22px;
	}

	.hh-banner--tile .hh-banner__title {
		font-size: 36px;
		max-width: 280px;
	}

	.hh-banner__actions {
		gap: 8px;
	}

	.hh-banner__actions a {
		height: 42px;
		padding: 0 18px;
		font-size: 14px;
	}
}

/* ---- Product grid / carousel ----------------------------------------- */
.hh-products {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 58px 0 62px;
	background: #fff;
}

.hh-products .hh-wrap {
	width: min(100% - 80px, var(--hh-wrap));
}

.hh-products--rail {
	padding-top: 30px;
	padding-bottom: 42px;
}

.hh-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 22px;
}

.hh-products__head h2 {
	margin: 0;
	font-family: var(--hh-head);
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hh-ink);
}

.hh-products__tools {
	display: flex;
	align-items: center;
	gap: 20px;
}

.hh-products__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--hh-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hh-ink);
	text-decoration: none;
	white-space: nowrap;
}

.hh-products__link span {
	font-size: 20px;
	line-height: 0.8;
}

.hh-products__link:hover {
	color: var(--hh-red);
}

.hh-products__arrows {
	display: flex;
	gap: 6px;
}

.hh-products__arrows button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	background: #fff;
	color: var(--hh-ink);
	font-family: Arial, sans-serif;
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hh-products__arrows button:hover:not(:disabled) {
	border-color: var(--hh-ink);
	background: var(--hh-ink);
	color: #fff;
}

.hh-products__arrows button:disabled {
	opacity: 0.28;
	cursor: default;
}

.hh-products__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hh-products--rail .hh-products__list {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 88px) / 5);
	gap: 22px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: none;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.hh-products--rail .hh-products__list::-webkit-scrollbar {
	display: none;
}

.hh-products__list li {
	min-width: 0;
	margin: 0 !important;
	scroll-snap-align: none;
}

.hh-card {
	list-style: none;
}

.hh-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--hh-gray);
}

.hh-card__media::before {
	content: "-70%";
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	height: 26px;
	padding: 0 8px;
	border-radius: 3px;
	background: var(--hh-red);
	color: #fff;
	font-family: var(--hh-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: 0.02em;
	pointer-events: none;
}

.hh-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.45s ease;
}

.hh-card__media:hover img {
	transform: scale(1.035);
}

.hh-card__badge {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.94);
	color: #333;
	font-family: var(--hh-body);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.hh-card__swatches {
	display: none !important;
}

.hh-card__swatch {
	display: block;
	width: 14px;
	height: 14px;
	border: 1px solid #c9c9c9;
	border-radius: 50%;
	box-sizing: border-box;
}

.hh-card__swatch:first-child {
	outline: 1px solid #111;
	outline-offset: 1px;
}

.hh-card__name {
	margin: 10px 0 4px;
	font-family: var(--hh-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--hh-ink);
}

.hh-card__name a {
	color: inherit;
	text-decoration: none;
}

.hh-card__name a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hh-card__price {
	font-family: var(--hh-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--hh-ink);
}

.hh-card__price .price {
	margin: 0;
	color: var(--hh-ink);
	font-size: 13px;
}

.hh-card__price del {
	color: #8a8a8a;
	font-weight: 400;
	opacity: 1;
}

.hh-card__price ins {
	color: var(--hh-red);
	font-weight: 600;
	text-decoration: none;
}

.hh-card__price .woocommerce-Price-amount {
	font-weight: inherit;
}

.hh-products__empty {
	margin: 0;
	color: var(--hh-muted);
}

@media (max-width: 849px) {
	.hh-products {
		padding: 36px 0 40px;
	}

	.hh-products .hh-wrap,
	.hh-links .hh-wrap,
	.hh-statement .hh-wrap {
		width: min(100% - 32px, var(--hh-wrap));
	}

	.hh-products__head {
		margin-bottom: 16px;
	}

	.hh-products__head h2 {
		font-size: 24px;
	}

	.hh-products__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 12px;
	}

	.hh-products--rail .hh-products__list {
		grid-auto-columns: 58%;
		gap: 12px;
	}

	.hh-products__arrows {
		display: none;
	}

	.hh-products__link {
		font-size: 12px;
	}

	.hh-card__name {
		font-size: 13px;
	}

	.hh-card__price,
	.hh-card__price .price {
		font-size: 12px;
	}

	.hh-card__badge {
		left: 6px;
		bottom: 6px;
		font-size: 9px;
		padding: 3px 6px;
	}

	.hh-card__swatches {
		margin: 8px 0 4px;
	}

	.hh-card__swatch {
		width: 12px;
		height: 12px;
	}
}

/* ---- Category quick links -------------------------------------------- */
.hh-links {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 22px 0;
	border-top: 1px solid var(--hh-line);
	border-bottom: 1px solid var(--hh-line);
	background: #fff;
}

.hh-links .hh-wrap {
	width: min(100% - 80px, var(--hh-wrap));
}

.hh-links__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.hh-links__inner a {
	position: relative;
	padding: 0 26px;
	font-family: var(--hh-head);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--hh-ink);
	text-decoration: none;
	white-space: nowrap;
}

.hh-links__inner a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	margin-top: -7px;
	background: #d5d5d5;
}

.hh-links__inner a:hover {
	color: var(--hh-red);
}

@media (max-width: 749px) {
	.hh-links {
		padding: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.hh-links::-webkit-scrollbar {
		display: none;
	}

	.hh-links__inner {
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: max-content;
		min-width: 100%;
		padding: 15px 16px;
	}

	.hh-links__inner a {
		padding: 0 16px;
		font-size: 14px;
	}

	.hh-links__inner a:first-child {
		padding-left: 0;
	}
}

/* ---- Brand statement -------------------------------------------------- */
.hh-statement {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 88px 0 82px;
	background: var(--hh-gray);
	text-align: center;
}

.hh-statement .hh-wrap {
	width: min(100% - 80px, var(--hh-wrap));
}

.hh-statement h2 {
	max-width: 900px;
	margin: 0 auto;
	font-family: var(--hh-head);
	font-size: clamp(38px, 3.6vw, 54px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--hh-ink);
}

.hh-statement p {
	max-width: 640px;
	margin: 16px auto 0;
	font-family: var(--hh-body);
	font-size: 15px;
	line-height: 1.6;
	color: #4b4b4b;
}

.hh-statement .hh-statement__pillars {
	margin-top: 28px;
	font-family: var(--hh-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hh-ink);
}

@media (max-width: 749px) {
	.hh-statement {
		padding: 48px 0 46px;
	}

	.hh-statement h2 {
		font-size: 34px;
	}

	.hh-statement p {
		font-size: 14px;
	}

	.hh-statement .hh-statement__pillars {
		margin-top: 20px;
		font-size: 12px;
		line-height: 1.6;
	}
}
