.n19-home-products {
	padding: 24px 0;
	background: #f7f7f7;
}

.n19-home-products .container {
	width: min(calc(100% - 40px), 1274px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.n19-home-products__heading {
	display: flex;
	align-items: center;
	gap: 16px;
}

.n19-home-products__accent {
	display: block;
	width: 7.5px;
	height: 30.41px;
	flex: 0 0 auto;
}

/* Override WooCommerce's global img { height: auto } */
.n19-home-products__heading img.n19-home-products__accent {
	width: 7.5px;
	height: 30.41px;
	max-width: none;
}

.n19-home-products__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: #202020;
}

.n19-home-products__carousel {
	display: block;
}

.n19-home-products__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}

.n19-home-products__viewport::-webkit-scrollbar {
	display: none;
}

.n19-home-products__arrow {
	display: none;
}

.n19-home-products .n19-products-module {
	width: max-content;
}

.n19-home-products .woocommerce ul.products,
.n19-home-products .woocommerce-page ul.products {
	display: flex;
	grid-template-columns: none;
	gap: 10px;
	width: max-content;
}

.n19-home-products .woocommerce ul.products li.product,
.n19-home-products .woocommerce-page ul.products li.product {
	width: 260px;
	max-width: 260px;
	flex: 0 0 260px;
	scroll-snap-align: start;
}

.n19-home-products__footer {
	display: flex;
	justify-content: center;
}

.n19-home-products__cta {
	min-height: 42px;
	padding: 8px 16px 8px 24px;
	border: 0.7px solid #2b7d86;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	color: #2b7d86;
	background: transparent;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.n19-home-products__cta:hover,
.n19-home-products__cta:focus-visible {
	background: #2b7d86;
	border-color: #2b7d86;
	color: #ffffff;
	text-decoration: none;
}

.n19-home-products__cta-icon {
	width: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}

@media (min-width: 992px) {
	.n19-home-products {
		padding: 32px 0;
	}

	.n19-home-products .container {
		width: min(calc(100% - 48px), 1274px);
		gap: 32px;
	}

	.n19-home-products__heading {
		gap: 24px;
	}

	.n19-home-products__title {
		font-size: 20px;
	}

	.n19-home-products__carousel {
		width: calc(100% + 100px);
		margin-inline: -50px;
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		align-items: center;
		gap: 10px;
	}

	.n19-home-products__viewport {
		overflow: hidden;
		scroll-snap-type: none;
	}

	.n19-home-products__arrow {
		position: relative;
		top: auto;
		width: 40px;
		height: 40px;
		border: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 8px;
		background: #ffffff;
		color: #87c5cd;
		font: inherit;
		font-size: 24px;
		cursor: pointer;
		transform: none;
		transition: opacity 0.2s ease, color 0.2s ease;
	}

	.n19-home-products__arrow--prev {
		left: auto;
	}

	.n19-home-products__arrow--next {
		right: auto;
	}

	.n19-home-products__arrow:hover,
	.n19-home-products__arrow:focus-visible {
		color: #498e96;
	}

	.n19-home-products__arrow:disabled {
		opacity: 0.35;
		cursor: default;
	}

	.n19-home-products__arrow.is-hidden {
		visibility: hidden;
		pointer-events: none;
	}

	.n19-home-products .n19-products-module,
	.n19-home-products .woocommerce ul.products,
	.n19-home-products .woocommerce-page ul.products {
		width: max-content;
	}

	.n19-home-products .woocommerce ul.products li.product,
	.n19-home-products .woocommerce-page ul.products li.product {
		width: 311px;
		max-width: 311px;
		flex-basis: 311px;
	}

	.n19-home-products__cta {
		padding-left: 24px;
		padding-right: 16px;
		border-color: #498e96;
		color: #498e96;
	}

	.n19-home-products__cta:hover,
	.n19-home-products__cta:focus-visible {
		background: #498e96;
		border-color: #498e96;
	}
}

/* Design system alignment */
.n19-home-products {
	background: var(--surface-muted);
	color: var(--text-body);
}

.n19-home-products__heading {
	gap: var(--section-heading-gap);
}

.n19-home-products__title {
	color: var(--text-heading);
}

.n19-home-products__cta {
	border-color: var(--btn-outline-border);
	color: var(--btn-outline-color);
}

.n19-home-products__cta:hover,
.n19-home-products__cta:focus-visible {
	background: transparent;
	border-color: var(--btn-outline-hover-border);
	color: var(--btn-outline-hover-color);
}

@media (min-width: 992px) {
	.n19-home-products__arrow {
		background: var(--surface-elevated);
		color: var(--accent-soft);
	}

	.n19-home-products__arrow:hover,
	.n19-home-products__arrow:focus-visible {
		color: var(--accent);
	}
}

.n19-home-products__cta.n19-btn--tertiary-arrow:hover,
.n19-home-products__cta.n19-btn--tertiary-arrow:focus-visible {
	background: transparent;
	border-color: var(--btn-outline-hover-border);
	color: var(--btn-outline-hover-color);
}
