/* ── Product Carousel Widget ── */

.pc-widget {
	position: relative;
}

.pc-viewport {
	overflow: hidden;
}

.pc-track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
	padding: 5px 0;
}

/* ── Card ── */

.pc-card {
	flex: 0 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 16px;
	overflow: hidden;
	transition: box-shadow 0.25s;
}

.pc-card:hover {

}

.pc-card__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

.elementor-widget-product-carousel .pc-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 12px;
	color: #1a1a1a;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.9em;
}

.pc-card__image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	margin-bottom: 12px;
}

.pc-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ── Footer: Price + Cart ── */

.pc-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	gap: 8px;
}

.pc-card__price {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
}

.pc-card__price del {
	opacity: 0.45;
	font-weight: 400;
	font-size: 0.85em;
}

.pc-card__price ins {
	text-decoration: none;
}

.pc-card__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	background: #ff6a00;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	cursor: pointer;
	border: none;
}

.pc-card__cart:hover {
	filter: brightness(0.9);
	transform: scale(1.06);
}

.pc-card__cart svg {
	stroke: currentColor;
	pointer-events: none;
}

.pc-card__cart.added::after {
	content: '✓';
	position: absolute;
	font-size: 11px;
}

/* ── Controls: Progress + Arrows ── */

.pc-controls {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.pc-progress {
	flex: 1;
	height: 4px;
	background: #e5e5e5;
	border-radius: 2px;
	position: relative;
	overflow: hidden;
}

.pc-progress__bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #ff6a00;
	border-radius: 2px;
	transition: width 0.45s ease, margin-left 0.45s ease;
}

.pc-nav {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.pc-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1.5px solid #ff6a00;
	background: transparent;
	color: #ff6a00;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.2s;
	padding: 0;
	line-height: 1;
	user-select: none;
}

.pc-nav__btn:hover {
	background: #ff6a00;
	color: #fff;
}

.cs-product-carousel button.rc__nav-btn.rc__nav-btn--next:focus {
    color: #fff
    
}

/* ── Responsive ── */

@media (max-width: 767px) {
	.pc-card__title {
		font-size: 13px;
		min-height: 2.6em;
	}
	.pc-card__price {
		font-size: 14px;
	}
	.pc-controls {
		gap: 12px;
		margin-top: 14px;
	}
}
