.cpp-pro-carousel,
.cpp-pro-carousel * {
	box-sizing: border-box;
}

.cpp-pro-carousel {
	--cpp-cols: 4;
	--cpp-gap: 20px;
	--cpp-gap-total: 60px;
	--cpp-speed: 450ms;
	--cpp-easing: cubic-bezier(.22,.61,.36,1);
	--cpp-card-bg: #ffffff;
	--cpp-card-color: #063f46;
	--cpp-card-border-color: #e5e7eb;
	--cpp-card-border-width: 1px;
	--cpp-card-radius: 16px;
	--cpp-image-bg: #f3f5ee;
	--cpp-title-color: #005764;
	--cpp-title-size: 16px;
	--cpp-term-color: #73b9ad;
	--cpp-term-size: 11px;
	--cpp-price-color: #005764;
	--cpp-price-size: 24px;
	--cpp-button-bg: #e66e1d;
	--cpp-button-color: #ffffff;
	--cpp-button-hover-bg: #c95f16;
	--cpp-arrows-color: #005764;
	--cpp-dots-color: #005764;
	position: relative;
	width: 100%;
	max-width: 100%;
	color: var(--cpp-card-color);
}

.cpp-pro-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.cpp-pro-carousel__heading {
	margin: 0;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.2;
	font-weight: 800;
	color: var(--cpp-title-color);
}

.cpp-pro-carousel__shell {
	position: relative;
	width: 100%;
}

.cpp-pro-carousel__viewport {
	overflow: hidden;
	width: 100%;
	outline: none;
}

.cpp-pro-carousel__viewport:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 87, 100, .18);
	border-radius: calc(var(--cpp-card-radius) + 4px);
}

.cpp-pro-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--cpp-gap);
	transition: transform var(--cpp-speed) var(--cpp-easing);
	will-change: transform;
	touch-action: pan-y;
}

.cpp-pro-carousel.is-dragging .cpp-pro-carousel__track {
	transition: none;
	cursor: grabbing;
}

.cpp-pro-carousel--smooth-ready .cpp-pro-carousel__track {
	transition: none;
}

.cpp-pro-carousel--smooth-ready .cpp-pro-carousel__viewport {
	cursor: grab;
}

.cpp-pro-carousel__slide {
	flex: 0 0 calc((100% - var(--cpp-gap-total)) / var(--cpp-cols));
	width: calc((100% - var(--cpp-gap-total)) / var(--cpp-cols));
	min-width: 0;
}

.cpp-pro-carousel--equal-height .cpp-pro-carousel__slide,
.cpp-pro-carousel--equal-height .cpp-pro-product-card {
	height: 100%;
}

.cpp-pro-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--cpp-card-bg);
	color: var(--cpp-card-color);
	border: var(--cpp-card-border-width) solid var(--cpp-card-border-color);
	border-radius: var(--cpp-card-radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cpp-pro-carousel--hover-none .cpp-pro-product-card:hover {
	transform: none;
}

.cpp-pro-carousel--hover-lift .cpp-pro-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 38px rgba(15, 23, 42, .14);
}

.cpp-pro-carousel--hover-zoom .cpp-pro-product-card__image-box img {
	transition: transform .32s ease;
}

.cpp-pro-carousel--hover-zoom .cpp-pro-product-card:hover .cpp-pro-product-card__image-box img {
	transform: scale(1.06);
}

.cpp-pro-carousel--hover-glow .cpp-pro-product-card:hover {
	box-shadow: 0 0 0 2px rgba(0, 87, 100, .10), 0 18px 42px rgba(15, 23, 42, .16);
}

.cpp-pro-product-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}

.cpp-pro-sale-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 4px 9px;
	border-radius: 0 0 0 0;
	background: #ff3b30;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .02em;
}

.cpp-pro-product-card__image-link {
	display: block;
	padding: 14px 14px 0;
	text-decoration: none;
	color: inherit;
}

.cpp-pro-product-card__image-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 150px;
	overflow: hidden;
	background: var(--cpp-image-bg);
	border-radius: calc(var(--cpp-card-radius) - 5px);
}

.cpp-pro-product-card__image-box img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin: 0;
}

.cpp-pro-product-card__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 8px;
	padding: 18px 20px 20px;
	text-align: center;
}

.cpp-pro-product-card__title {
	margin: 0;
	font-size: var(--cpp-title-size);
	font-weight: 800;
	line-height: 1.18;
}

.cpp-pro-product-card__title a {
	color: var(--cpp-title-color);
	text-decoration: none;
}

.cpp-pro-product-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cpp-pro-product-card__terms,
.cpp-pro-product-card__terms a {
	color: var(--cpp-term-color);
	font-size: var(--cpp-term-size);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
}

.cpp-pro-product-card__price {
	margin-top: auto;
	color: var(--cpp-price-color);
	font-size: var(--cpp-price-size);
	font-weight: 900;
	line-height: 1.1;
}

.cpp-pro-product-card__price .amount,
.cpp-pro-product-card__price ins,
.cpp-pro-product-card__price bdi {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.cpp-pro-product-card__price del {
	display: block;
	margin-bottom: 3px;
	opacity: .55;
	font-size: .65em;
	font-weight: 700;
}

.cpp-pro-product-card__footer {
	flex: 0 0 auto;
}

.cpp-pro-product-card__button,
.cpp-pro-product-card__button.button,
.woocommerce .cpp-pro-product-card__button.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 0;
	border-radius: 0;
	background: var(--cpp-button-bg);
	color: var(--cpp-button-color);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.cpp-pro-product-card__button:hover,
.cpp-pro-product-card__button:focus,
.cpp-pro-product-card__button.button:hover,
.woocommerce .cpp-pro-product-card__button.button:hover {
	background: var(--cpp-button-hover-bg);
	color: var(--cpp-button-color);
	text-decoration: none;
}

.cpp-pro-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 999px;
	background: #ffffff;
	color: var(--cpp-arrows-color);
	box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
	font-size: 35px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.cpp-pro-carousel__arrow:hover {
	transform: translateY(-50%) scale(1.04);
}

.cpp-pro-carousel__arrow[disabled] {
	opacity: .35;
	cursor: not-allowed;
	transform: translateY(-50%);
}

.cpp-pro-carousel__arrow--prev {
	left: 10px;
}

.cpp-pro-carousel__arrow--next {
	right: 10px;
}

.cpp-pro-carousel__arrow span {
	display: block;
	margin-top: -3px;
}

.cpp-pro-carousel__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	margin-top: 18px;
}

.cpp-pro-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid var(--cpp-dots-color);
	border-radius: 999px;
	background: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}

.cpp-pro-carousel__dot.is-active {
	width: 22px;
	background: var(--cpp-dots-color);
}

.cpp-pro-notice {
	padding: 14px 16px;
	border: 1px solid #d7dce1;
	border-radius: 10px;
	background: #f8fafc;
	color: #334155;
}

@media (max-width: 767px) {
	.cpp-pro-carousel__arrow {
		width: 36px;
		height: 36px;
		font-size: 30px;
	}

	.cpp-pro-carousel__arrow--prev {
		left: -8px;
	}

	.cpp-pro-carousel__arrow--next {
		right: -8px;
	}

	.cpp-pro-product-card__image-link {
		padding: 10px 10px 0;
	}

	.cpp-pro-product-card__image-box {
		height: 128px;
	}

	.cpp-pro-product-card__content {
		padding: 14px 12px 16px;
		gap: 7px;
	}

	.cpp-pro-product-card__title {
		font-size: 14px;
	}

	.cpp-pro-product-card__price {
		font-size: 20px;
	}

	.cpp-pro-product-card__button,
	.cpp-pro-product-card__button.button,
	.woocommerce .cpp-pro-product-card__button.button {
		min-height: 48px;
		padding: 12px 10px;
		font-size: 14px;
	}
}


@media (prefers-reduced-motion: reduce) {
	.cpp-pro-carousel__track,
	.cpp-pro-product-card,
	.cpp-pro-product-card__image-box img,
	.cpp-pro-carousel__arrow,
	.cpp-pro-carousel__dot {
		transition-duration: .01ms !important;
	}
}

/* v1.2.0: mejoras de suavidad para movimiento lateral continuo */
.cpp-pro-carousel--smooth-ready .cpp-pro-carousel__track {
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}

.cpp-pro-carousel--smooth-ready .cpp-pro-carousel__slide {
	transform: translateZ(0);
}
