/* Carrossel de produtos — Distribuição V2 */
.cw-prod-showcase {
	position: relative;
	width: 1920px;
	background: var(--accent, #FA1818);
	padding: 46px 0 64px;
	overflow: hidden;
}

.cw-prod-showcase__title {
	text-align: center;
	font-weight: 500;
	font-size: 40px;
	letter-spacing: -0.02em;
	color: #fff !important;
	margin: 0 0 46px;
}

.cw-prod-showcase__viewport {
	position: relative;
	width: 1920px;
	min-height: 430px;
	overflow-x: hidden;
	overflow-y: visible;
}

.cw-prod-showcase__track {
	position: relative;
	display: flex;
	align-items: center;
	gap: 30px;
	min-height: 430px;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.cw-prod-showcase__track.is-busy .cw-prod-showcase__card:not(.is-open) {
	opacity: 0.32;
	pointer-events: none;
}

.cw-prod-showcase__spacer {
	flex: 0 0 auto;
}

.cw-prod-showcase__card {
	position: relative;
	flex: 0 0 306px;
	width: 306px;
	height: 344px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
	border: 2px solid transparent;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	transition: flex-basis 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
		width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
		height 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
		box-shadow 0.35s ease, border-color 0.35s ease;
}

.cw-prod-showcase__card--focus {
	flex: 0 0 360px;
	width: 360px;
	height: 408px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
	border-color: rgba(255, 255, 255, 0.85);
	z-index: 2;
}

.cw-prod-showcase__card.is-open {
	flex: 0 0 540px;
	width: 540px;
	height: auto;
	min-height: 430px;
	cursor: default;
	z-index: 3;
}

.cw-prod-showcase__face {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 1 1 auto;
}

.cw-prod-showcase__face--front {
	align-items: center;
	padding: 26px 16px 30px;
}

.cw-prod-showcase__card.is-open .cw-prod-showcase__face--front {
	display: none;
}

.cw-prod-showcase__face--back {
	display: none;
	padding: 24px 28px 28px;
	opacity: 0;
	transition: opacity 0.3s ease 0.1s;
}

.cw-prod-showcase__card.is-open .cw-prod-showcase__face--back {
	display: flex;
	opacity: 1;
}

.cw-prod-showcase__card-media {
	width: 100%;
	max-width: 272px;
	height: 150px;
	border-radius: 15px;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.cw-prod-showcase__card--focus .cw-prod-showcase__card-media {
	max-width: 326px;
	height: 160px;
}

.cw-prod-showcase__card-media img {
	max-height: 190px;
	max-width: 92%;
	object-fit: contain;
	transform: translateY(-14px);
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.cw-prod-showcase__card-sku {
	margin-top: 26px;
	color: var(--accent, #FA1818);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: -0.02em;
	text-align: center;
}

.cw-prod-showcase__card-name {
	margin-top: 10px;
	color: #000;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-align: center;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cw-prod-showcase__face--back .cw-prod-showcase__card-name {
	justify-content: flex-start;
	text-align: left;
	font-weight: 600;
	font-size: 22px;
	min-height: auto;
	margin-top: 0;
	margin-bottom: 4px;
}

.cw-prod-showcase__card--focus .cw-prod-showcase__card-sku {
	margin-top: 30px;
	font-size: 15px;
}

.cw-prod-showcase__card--focus .cw-prod-showcase__card-name {
	font-size: 24px;
	min-height: 52px;
}

.cw-prod-showcase__card-btn {
	margin-top: auto;
	width: 160px;
	height: 52px;
	border-radius: 15px;
	background: #fff;
	border: 3px solid var(--accent, #FA1818);
	color: var(--accent, #FA1818);
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-prod-showcase__card--focus .cw-prod-showcase__card-btn {
	width: 178px;
	height: 58px;
	font-size: 18px;
}

.cw-prod-showcase__card-btn:hover {
	background: var(--accent, #FA1818);
	color: #fff;
}

.cw-prod-showcase__back {
	flex: 0 0 auto;
	align-self: flex-start;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 2px solid var(--accent, #FA1818);
	background: #fff;
	color: var(--accent, #FA1818);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-bottom: 14px;
	transition: background 0.2s, color 0.2s;
}

.cw-prod-showcase__back:hover {
	background: var(--accent, #FA1818);
	color: #fff;
}

.cw-prod-showcase__features {
	list-style: disc;
	padding-left: 22px;
	margin: 0 0 20px;
	color: #1a202c;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

.cw-prod-showcase__features li {
	margin: 5px 0;
}

.cw-prod-showcase__contact {
	margin-top: auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 50px;
	padding: 0 26px;
	border-radius: 15px;
	background: #fff;
	border: 3px solid var(--accent, #FA1818);
	color: var(--accent, #FA1818) !important;
	font-weight: 500;
	font-size: 17px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, color 0.2s;
}

.cw-prod-showcase__contact:hover {
	background: var(--accent, #FA1818);
	color: #fff !important;
}

.cw-prod-showcase__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 26px;
}

.cw-prod-showcase__dot {
	height: 13px;
	width: 13px;
	border-radius: 7px;
	border: none;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.5);
	padding: 0;
	transition: width 0.3s, background 0.3s;
}

.cw-prod-showcase__dot--active {
	width: 34px;
	background: #fff;
}

@media (max-width: 1024px) {
	.cw-prod-showcase {
		width: auto;
	}

	.cw-prod-showcase__viewport {
		width: 100%;
		height: auto;
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding: 30px 0 10px;
	}

	.cw-prod-showcase__track {
		transform: none !important;
		gap: 18px !important;
		padding: 0 18px;
	}

	.cw-prod-showcase__spacer {
		flex-basis: 2px !important;
	}

	.cw-prod-showcase__card,
	.cw-prod-showcase__card--focus {
		flex: 0 0 280px;
		width: 280px;
		scroll-snap-align: center;
	}

	.cw-prod-showcase__card.is-open {
		flex: 0 0 min(340px, calc(100vw - 36px));
		width: min(340px, calc(100vw - 36px));
	}
}
