.kgrs {
	position: relative;
	overflow: hidden;
	width: 100%;
	line-height: 0;
	touch-action: pan-y;
}

.kgrs-track {
	display: flex;
	align-items: flex-start;
	will-change: transform;
}

.kgrs-item {
	flex: 0 0 100%;
	min-width: 100%;
}

.kgrs-item img {
	width: 100%;
	height: auto;
	display: block;
	-webkit-user-drag: none;
	user-select: none;
}

.kgrs-item a {
	display: block;
}

/* ลูกศร */
.kgrs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 18px;
	line-height: 42px;
	text-align: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.kgrs-arrow:hover {
	background: rgba(0, 0, 0, 0.6);
}

.kgrs-prev { left: 12px; }
.kgrs-next { right: 12px; }

/* จุดบอกตำแหน่ง */
.kgrs-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.kgrs-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
	transition: background 0.2s, transform 0.2s;
}

.kgrs-dot.is-active {
	background: #fff;
	transform: scale(1.25);
}

@media (max-width: 576px) {
	.kgrs-arrow {
		width: 32px;
		height: 32px;
		font-size: 14px;
		line-height: 32px;
	}
	.kgrs-dot {
		width: 9px;
		height: 9px;
	}
}
