.kweli-product-carousel {
	--kweli-pc-columns: 4;
	--kweli-pc-gap: 16px;
	position: relative;
	width: 100%;
}

.kweli-product-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.kweli-product-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.kweli-product-carousel__track {
	display: flex;
	gap: var(--kweli-pc-gap);
	align-items: stretch;
}

.kweli-product-card {
	position: relative;
	flex: 0 0 calc((100% - (var(--kweli-pc-gap) * (var(--kweli-pc-columns) - 1))) / var(--kweli-pc-columns));
	min-width: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 12px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}

.kweli-product-carousel--equal-height .kweli-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.kweli-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.kweli-product-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 210px;
	margin-bottom: 12px;
	text-decoration: none;
	overflow: hidden;
}

.kweli-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kweli-product-card__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 8px;
}

.kweli-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.kweli-product-card__title a:hover {
	text-decoration: underline;
}

.kweli-product-card__rating {
	margin-bottom: 8px;
	line-height: 1;
}

.kweli-product-card__price {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 10px;
}

.kweli-product-card__price del {
	opacity: 0.55;
	font-weight: 400;
}

.kweli-product-card__stock {
	font-size: 12px;
	margin-bottom: 10px;
}

.kweli-product-card__stock--instock {
	color: #0a7a24;
}

.kweli-product-card__stock--outofstock {
	color: #a30000;
}

.kweli-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: auto;
	padding: 10px 12px;
	border-radius: 8px;
	background: #111111;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.kweli-product-card__button:hover,
.kweli-product-card__button:focus {
	color: #ffffff;
	background: #333333;
	text-decoration: none;
}

.kweli-product-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.kweli-product-carousel__arrow--prev {
	left: -12px;
}

.kweli-product-carousel__arrow--next {
	right: -12px;
}

.kweli-product-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.kweli-product-carousel-empty,
.kweli-product-carousel-notice {
	padding: 12px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: #ffffff;
}

@media (max-width: 767px) {
	.kweli-product-carousel--mobile-light .kweli-product-carousel__viewport {
		scroll-snap-type: x mandatory;
	}

	.kweli-product-carousel--mobile-light .kweli-product-carousel__arrow {
		display: none;
	}

	.kweli-product-card__image {
		height: 160px;
	}
}

.kweli-product-carousel[data-autoplay="marquee"] .kweli-product-carousel__viewport {
	scroll-behavior: auto;
}

.kweli-pc-use-image-ratio-yes .kweli-product-card__image {
	aspect-ratio: var(--kweli-pc-image-ratio, 4 / 3);
	height: auto;
}

.kweli-product-card__image img {
	object-position: center center;
}

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

.kweli-product-card__price del {
	margin-right: 6px;
}
