html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: #16212c;
	font-family: Arial, Helvetica, sans-serif;
}

img {
	display: block;
	max-width: 100%;
}

.hn-main-container {
	width: min(1200px, calc(100% - 32px));
	margin: 0 auto;
}

.shark-brand-switcher {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 18px 0 10px;
	flex-wrap: wrap;
}

.shark-brand-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 10px 18px;
	border: 1px solid rgba(22, 33, 44, 0.1);
	border-radius: 999px;
	background: #ffffff;
	color: #16212c;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.shark-brand-logo {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.shark-brand-logo-shark {
	max-height: 22px;
}

.shark-brand-logo-ninja {
	max-height: 26px;
}

.shark-brand-button:hover,
.shark-brand-button:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(22, 33, 44, 0.3);
}

.shark-brand-button.is-active {
	border-color: #16212c;
}

.shark-carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
	--carousel-gap: 16px;
	--carousel-visible-items: 4;
}

.shark-scroll-carousel {
	display: flex;
	gap: var(--carousel-gap);
	width: 100%;
	overflow-x: auto;
	padding: 4px 2px 12px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.shark-scroll-carousel::-webkit-scrollbar {
	display: none;
}

.shark-carousel-item {
	flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--carousel-visible-items) - 1))) / var(--carousel-visible-items));
	min-width: 240px;
	scroll-snap-align: start;
}

.shark-carousel-item a {
	display: block;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(22, 33, 44, 0.1);
	transition: transform 180ms ease;
}

.shark-carousel-item a:hover,
.shark-carousel-item a:focus-visible {
	transform: translateY(-2px);
}

.shark-carousel-item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.shark-carousel-arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(22,33,44,0.06);
	border-radius: 999px;
	background: rgba(255,255,255,0.6);
	color: #16212c;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.shark-carousel-arrow:hover,
.shark-carousel-arrow:focus-visible {
	transform: none;
	background: rgba(255,255,255,0.9);
}

.shark-carousel-arrow:disabled {
	opacity: 0.25;
	cursor: default;
	transform: none;
}

.shark-carousel-arrow[hidden] {
	display: none;
}

.shark-carousel-container.is-shrinked .shark-carousel-item {
	min-width: 0;
}

.shark-carousel-container.is-compact .shark-scroll-carousel {
	justify-content: center;
}

.shark-carousel-container.is-compact .shark-carousel-item {
	max-width: 320px;
}

@media (max-width: 1024px) {
	.shark-carousel-container {
		--carousel-visible-items: 3;
	}
}

@media (max-width: 768px) {
	.hn-main-container {
		width: min(100% - 20px, 1200px);
	}

	.shark-brand-button {
		min-width: 120px;
		padding: 9px 16px;
	}

	.shark-brand-logo-shark {
		max-height: 20px;
	}

	.shark-brand-logo-ninja {
		max-height: 22px;
	}

	.shark-carousel-container {
		--carousel-visible-items: 1;
		gap: 8px;
	}

	.shark-carousel-arrow {
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.shark-carousel-item {
		min-width: 82%;
	}

	.shark-carousel-container.is-compact .shark-carousel-item {
		max-width: none;
	}
}

@media (max-width: 540px) {
	.shark-carousel-container {
		--carousel-visible-items: 1;
	}

	.shark-carousel-item {
		min-width: 88%;
	}
}
