.cps-slider-wrap {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 10px;
	font-family: inherit;
}

/* Header row: tabs + pagination */
.cps-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.cps-tabs {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cps-arrow {
	font-size: 18px;
	color: #999;
}

.cps-tab {
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #bbb;
	cursor: pointer;
	transition: color 0.2s ease;
}

.cps-tab.is-active,
.cps-tab:hover {
	color: #111;
}

.cps-pagination-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #999;
	font-size: 14px;
}

.cps-page-prev,
.cps-page-next {
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	font-size: 16px;
	line-height: 1;
	padding: 4px;
}

.cps-page-prev:hover,
.cps-page-next:hover {
	color: #111;
}

.cps-page-label {
	min-width: 40px;
	text-align: center;
}

/* Loading state */
.cps-loading {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
}

.cps-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #ddd;
	border-top-color: #111;
	border-radius: 50%;
	animation: cps-spin 0.7s linear infinite;
}

@keyframes cps-spin {
	to { transform: rotate(360deg); }
}

/* Slider viewport */
.cps-slider-viewport {
	position: relative;
}

.cps-swiper-instance {
	overflow: hidden;
}

.cps-products-grid {
	display: flex;
}

.cps-nav-prev,
.cps-nav-next {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 6;
	font-size: 18px;
	color: #333;
	user-select: none;
}

.cps-nav-prev { left: -18px; }
.cps-nav-next { right: -18px; }

.cps-nav-prev.swiper-button-disabled,
.cps-nav-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

/* Product card */
.cps-product-card {
	width: 260px;
	flex-shrink: 0;
}

.cps-card-media {
	position: relative;
	background: #f7f7f7;
	border-radius: 4px;
	overflow: hidden;
}

.cps-card-media img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.cps-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #e63946;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 2px;
}

.cps-card-icons {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	opacity: 0;
	transform: translateX(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cps-card-media:hover .cps-card-icons {
	opacity: 1;
	transform: translateX(0);
}

.cps-icon-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 14px;
	color: #333;
	text-decoration: none;
}

.cps-icon-btn:hover {
	background: #111;
	color: #fff;
}

.cps-card-info {
	padding: 14px 2px 0;
}

.cps-product-name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
	margin-bottom: 6px;
}

.cps-product-name:hover {
	text-decoration: underline;
}

.cps-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 13px;
}

.cps-stars {
	color: #f5a623;
	letter-spacing: 1px;
	font-size: 13px;
}

.cps-review-count {
	color: #999;
	font-size: 12px;
}

.cps-price {
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

.cps-price del {
	color: #999;
	font-weight: 400;
	margin-right: 6px;
}

.cps-price ins {
	text-decoration: none;
}

.cps-no-products {
	padding: 30px;
	text-align: center;
	color: #999;
}

/* Responsive */
@media (max-width: 900px) {
	.cps-product-card { width: 220px; }
}

@media (max-width: 600px) {
	.cps-product-card { width: 180px; }
	.cps-header-row { align-items: flex-start; }
}
