.sg-home-product-showcase {
	display: grid;
	gap: clamp(34px, 4vw, 54px);
	margin: clamp(36px, 5vw, 64px) auto;
	max-width: 1180px;
	padding: 0 18px;
}

.sg-home-product-showcase a,
.sg-home-product-showcase a:hover,
.sg-home-product-showcase a:focus {
	text-decoration: none !important;
}

.sg-product-rail {
	min-width: 0;
}

.sg-product-rail__header {
	align-items: end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.sg-product-rail__header h2 {
	color: var(--ast-global-color-2, #102847);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.12;
	margin: 0;
}

.sg-product-card__button {
	align-items: center;
	background: var(--ast-global-color-0, #0db5de);
	border-radius: 999px;
	color: #ffffff !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: 0 22px;
	text-decoration: none !important;
	transition: background 160ms ease, transform 160ms ease;
	white-space: nowrap;
}

.sg-product-card__button:hover {
	background: #102847;
	transform: translateY(-1px);
}

.sg-product-rail__more {
	align-items: center;
	color: var(--ast-global-color-0, #0db5de) !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 7px;
	line-height: 1.2;
	white-space: nowrap;
}

.sg-product-rail__more::after {
	content: "→";
	font-size: 16px;
	line-height: 1;
}

.sg-product-rail__more:hover {
	color: #102847 !important;
}

.sg-product-rail__viewport {
	position: relative;
}

.sg-product-rail__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 2px 2px 14px;
	scroll-behavior: smooth;
	scroll-padding-left: 2px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.sg-product-rail__track::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.sg-product-rail__track:focus {
	outline: 2px solid var(--ast-global-color-0, #0db5de);
	outline-offset: 6px;
}

.sg-product-card {
	background: #ffffff;
	border: 1px solid rgba(16, 40, 71, 0.08);
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(16, 40, 71, 0.08);
	display: flex;
	flex: 0 0 calc((100% - 54px) / 4);
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	scroll-snap-align: start;
}

.sg-product-card__image {
	background: #ffffff;
	display: block;
	line-height: 0;
	overflow: hidden;
	padding: 10px;
}

.sg-product-card__image img {
	aspect-ratio: 1 / 1;
	display: block;
	height: auto;
	object-fit: contain;
	transition: transform 220ms ease;
	width: 100%;
}

.sg-product-card:hover .sg-product-card__image img {
	transform: scale(1.035);
}

.sg-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
	text-align: center;
}

.sg-product-card__category,
.sg-product-card__category a {
	color: #8091a5;
	font-size: 12px;
	line-height: 1.35;
	text-decoration: none;
}

.sg-product-card__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 8px 0 10px;
}

.sg-product-card__title a {
	color: #202a38;
	text-decoration: none;
}

.sg-product-card__title a:hover {
	color: var(--ast-global-color-0, #0db5de);
}

.sg-product-card__price {
	color: #202a38;
	font-size: 15px;
	font-weight: 800;
	margin: auto 0 14px;
}

.sg-product-card__price del {
	color: #a6a6a6;
	font-weight: 600;
	margin-right: 4px;
	opacity: 0.85;
}

.sg-product-card__price ins {
	background: transparent;
	text-decoration: none;
}

.sg-product-card__button {
	border-radius: 9px;
	min-height: 44px;
	width: 100%;
}

.sg-product-rail__nav {
	align-items: center;
	background: #ffffff !important;
	border: 1px solid rgba(16, 40, 71, 0.1) !important;
	border-radius: 999px !important;
	box-shadow: 0 10px 24px rgba(16, 40, 71, 0.13);
	color: var(--ast-global-color-0, #0db5de) !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 32px;
	height: 46px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	opacity: 0.98;
	padding: 0 0 4px !important;
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 46px;
	z-index: 2;
}

.sg-product-rail__nav:hover {
	background: var(--ast-global-color-0, #0db5de) !important;
	color: #ffffff !important;
}

.sg-product-rail__nav--prev {
	left: -14px;
}

.sg-product-rail__nav--next {
	right: -14px;
}

@media (max-width: 1024px) {
	.sg-product-card {
		flex-basis: calc((100% - 36px) / 3);
	}
}

@media (max-width: 767px) {
	.sg-home-product-showcase {
		gap: 38px;
		margin: 36px auto 46px;
		padding: 0 16px;
	}

	.sg-product-rail__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.sg-product-rail__more {
		font-size: 14px;
	}

	.sg-product-rail__track {
		gap: 14px;
		padding-bottom: 12px;
	}

	.sg-product-card {
		flex-basis: 74%;
	}

	.sg-product-rail__nav {
		display: none;
	}
}

@media (max-width: 420px) {
	.sg-product-card {
		flex-basis: 82%;
	}
}
