.gm-featured {
	--gm-navy: #0b192c;
	--gm-gold: #f59e0b;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 16px 32px;
	font-family: inherit;
	color: var(--gm-navy);
	box-sizing: border-box;
}

.gm-featured *,
.gm-featured *::before,
.gm-featured *::after {
	box-sizing: border-box;
}

.gm-featured__header {
	text-align: center;
	margin-bottom: 28px;
}

.gm-featured__kicker {
	display: block;
	margin-bottom: 6px;
	color: var(--gm-gold);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.gm-featured__title {
	margin: 0;
	color: var(--gm-navy);
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.gm-featured__rule {
	width: 48px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 999px;
	background: var(--gm-gold);
}

.gm-featured__slider {
	position: relative;
	padding: 0 8px;
}

.gm-featured__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 12px 4px 16px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.gm-featured__track::-webkit-scrollbar {
	display: none;
}

.gm-featured__card {
	position: relative;
	display: flex;
	flex: 0 0 280px;
	flex-direction: column;
	justify-content: space-between;
	scroll-snap-align: start;
	overflow: hidden;
	background: #fff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.gm-featured__card:hover {
	transform: translateY(-6px);
	border-color: #cbd5e1;
	box-shadow: 0 20px 30px -10px rgba(11, 25, 44, 0.12);
}

.gm-featured__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.gm-featured__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 208px;
	padding: 16px;
	background: #fff;
	border-bottom: 1px solid #f8fafc;
}

.gm-featured__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gm-featured__card:hover .gm-featured__img {
	transform: scale(1.06);
}

.gm-featured__body {
	padding: 16px 16px 0;
}

.gm-featured__cat {
	display: block;
	margin-bottom: 4px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gm-featured__name {
	min-height: 2.6em;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.gm-featured__name a {
	color: var(--gm-navy);
	text-decoration: none;
}

.gm-featured__name a:hover {
	color: #174a9c;
}

.gm-featured__foot {
	padding: 12px 16px 16px;
}

.gm-featured__price {
	margin-bottom: 12px;
	color: var(--gm-navy);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

.gm-featured__price del {
	margin-right: 8px;
	color: #94a3b8;
	font-size: 13px;
	font-weight: 500;
}

.gm-featured__price ins {
	color: #0284c7;
	text-decoration: none;
}

.gm-featured__buy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gm-featured__cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px;
	background: var(--gm-navy);
	color: #fff !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gm-featured__card:hover .gm-featured__cart {
	background: var(--gm-gold);
	color: var(--gm-navy) !important;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.gm-featured__cart.loading {
	opacity: 0.7;
	pointer-events: none;
}

.gm-featured__cart.added,
.gm-featured__cart.is-added {
	background: #10b981 !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.gm-featured__buy .added_to_cart {
	color: var(--gm-navy);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.gm-featured__buy .added_to_cart:hover {
	color: #174a9c;
}

.gm-featured__arrow {
	position: absolute;
	top: 42%;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #fff;
	color: var(--gm-navy);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gm-featured__arrow svg {
	width: 20px;
	height: 20px;
}

.gm-featured__arrow--prev {
	left: -6px;
}

.gm-featured__arrow--next {
	right: -6px;
}

.gm-featured__arrow:hover {
	border-color: var(--gm-gold);
	background: var(--gm-gold);
	color: var(--gm-navy);
	transform: translateY(-50%) scale(1.08);
}

.gm-featured__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	min-height: 10px;
	margin-top: 8px;
}

.gm-featured__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cbd5e1;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.gm-featured__dot.is-active {
	width: 24px;
	background: var(--gm-gold);
}

@media (min-width: 768px) {
	.gm-featured__arrow {
		display: flex;
	}

	.gm-featured__slider {
		padding: 0 28px;
	}
}

@media (max-width: 480px) {
	.gm-featured__card {
		flex-basis: 78vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gm-featured__card,
	.gm-featured__img,
	.gm-featured__cart,
	.gm-featured__arrow,
	.gm-featured__track {
		transition: none;
		scroll-behavior: auto;
	}

	.gm-featured__card:hover,
	.gm-featured__card:hover .gm-featured__img {
		transform: none;
	}
}
