.gc-showcase-carousel {
	--gc-carousel-gap: 18px;
	--gc-carousel-visible: var(--gc-carousel-desktop, 4);
	position: relative;
	width: 100%;
	min-width: 0;
	color: #1f1f1f;
}

.gc-showcase-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 20px;
}

.gc-showcase-carousel__header h2 {
	margin: 0;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
	font-weight: 800;
	color: #1f1f1f;
}

.gc-showcase-carousel__header > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #ff7438;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	margin-left: auto;
}

.gc-showcase-carousel__header > a:hover { color: #db5520; }
.gc-showcase-carousel__header > a svg { width: 17px; height: 17px; }

.gc-showcase-carousel__viewport {
	min-width: 0;
	overflow: hidden;
}

.gc-showcase-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--gc-carousel-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 5px 2px 16px;
}

.gc-showcase-carousel__track::-webkit-scrollbar { display: none; }

.gc-showcase-carousel__slide {
	flex: 0 0 calc((100% - (var(--gc-carousel-visible) - 1) * var(--gc-carousel-gap)) / var(--gc-carousel-visible));
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.gc-showcase-carousel__slide > .gc-card {
	height: 100%;
	margin: 0;
}

.gc-showcase-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 8px;
}

.gc-showcase-carousel__controls[hidden] { display: none; }

.gc-showcase-carousel__controls button {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #dfe1e5;
	border-radius: 50%;
	background: #fff;
	color: #1f1f1f;
	box-shadow: 0 3px 10px rgba(31, 31, 31, .06);
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease, transform .18s ease, background .18s ease;
}

.gc-showcase-carousel__controls button:hover,
.gc-showcase-carousel__controls button:focus-visible {
	border-color: #ff7438;
	background: #fff7f2;
	color: #ff7438;
	outline: none;
}

.gc-showcase-carousel__controls button:active { transform: scale(.95); }
.gc-showcase-carousel__controls button[hidden] { display: none; }
.gc-showcase-carousel__controls svg { width: 20px; height: 20px; }

.gc-showcase-carousel__counter {
	min-width: 48px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 1024px) {
	.gc-showcase-carousel { --gc-carousel-visible: var(--gc-carousel-tablet, 2); }
}

@media (max-width: 767px) {
	.gc-showcase-carousel {
		--gc-carousel-visible: var(--gc-carousel-mobile, 1);
		--gc-carousel-gap: 14px;
	}
	.gc-showcase-carousel__header { align-items: flex-end; margin-bottom: 14px; }
	.gc-showcase-carousel__header h2 { font-size: 24px; }
	.gc-showcase-carousel__header > a { font-size: 13px; }
	.gc-showcase-carousel__track { overflow-x: auto; }
	.gc-showcase-carousel__controls { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.gc-showcase-carousel__track { scroll-behavior: auto; }
}
