.cpw-wrapper {
	font-family: inherit;
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.cpw-block-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 16px;
	color: #1a1a1a;
}

.cpw-card {
	position: relative;
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 2px dashed #e6e6e6;
	border-radius: 24px;
	padding: 24px 24px 24px 34px;
	gap: 24px;
	flex-wrap: nowrap;
	width: 100%;
	box-sizing: border-box;
	transition: background-color .22s ease, border-color .22s ease;
}

/* ---------- Sidebar ---------- */
.cpw-sidebar {
	position: relative;
	background-color: #e91e63;
	border-radius: 18px;
	padding: 20px 0;
	flex: 0 0 190px;
	min-height: 260px;
	box-sizing: border-box;
	border: 2px dotted #0b7657;
	overflow: visible;
}

.cpw-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpw-cat-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	color: rgba(255,255,255,0.78);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	user-select: none;
	outline: none;
	border-radius: 0;
	transition: background-color .18s ease, padding-left .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, border-radius .18s ease;
}

.cpw-cat-item .cpw-cat-label {
	color: inherit;
	text-decoration: none;
	transition: color .18s ease;
}

.cpw-cat-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	flex-shrink: 0;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* seta que aparece à esquerda da categoria */
.cpw-cat-item::before {
	content: '';
	position: absolute;
	left: -16px;
	top: 50%;
	transform: translate(-7px, -50%);
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 6px solid #e91e63;
	opacity: 0;
	transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}

/* Hover mais evidente e suave para escolher produtos */
.cpw-cat-item:hover:not(.is-active),
.cpw-cat-item:focus-visible:not(.is-active) {
	background-color: #fff;
	padding-left: 25px;
	color: #e91e63;
	border-radius: 10px 0 0 10px;
	transform: translateX(2px);
	box-shadow: -3px 0 0 rgba(255,255,255,.32);
}

.cpw-cat-item:hover:not(.is-active) .cpw-cat-dot,
.cpw-cat-item:focus-visible:not(.is-active) .cpw-cat-dot {
	background-color: currentColor;
	transform: scale(1.18);
	box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}

.cpw-cat-item:hover::before,
.cpw-cat-item:focus-visible::before,
.cpw-cat-item.is-active::before {
	opacity: 1;
	transform: translate(0, -50%);
}

/* estado ATIVO */
.cpw-cat-item.is-active {
	background: #fff;
	color: #e91e63;
	border-radius: 10px 0 0 10px;
	margin-right: -2px;
	padding-left: 24px;
	box-shadow: 0 7px 18px rgba(0,0,0,.08);
}

.cpw-cat-item.is-active .cpw-cat-label {
	color: inherit;
}

.cpw-cat-item.is-active .cpw-cat-dot {
	background: currentColor;
	transform: scale(1.12);
}

/* ---------- Painel de produto ---------- */
.cpw-panel {
	display: none;
	flex: 1 1 auto;
	gap: 28px;
	min-width: 0;
	align-items: center;
}

.cpw-panel.is-active {
	display: flex;
	animation: cpwPanelIn .23s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes cpwPanelIn {
	from { opacity: 0; transform: translateY(5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Imagem do produto ---------- */
.cpw-product-image {
	flex: 0 0 300px;
	width: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	box-sizing: border-box;
	overflow: visible;
}

.cpw-product-image img {
	max-width: 300px;
	max-height: 300px;
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(0,0,0,0.12);
	transition: transform .24s ease, box-shadow .24s ease;
	will-change: transform;
}

.cpw-image-hover-yes .cpw-product-image img:hover {
	transform: scale(1.035);
	box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

/* ---------- Offer card ---------- */
.cpw-offer {
	flex: 1 1 0;
	min-width: 0;
	padding: 8px 4px 10px;
}

.cpw-offer-title {
	font-size: 26px;
	font-weight: 800;
	margin: 4px 0 16px;
	color: #1a1a1a;
}

.cpw-features {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 42px;
	row-gap: 10px;
	width: 100%;
	max-width: 590px;
}

.cpw-features li {
	font-size: 14px;
	font-weight: 600;
	color: #444;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	line-height: 1.45;
}

.cpw-check {
	color: #2ecc71;
	font-weight: 800;
	flex: 0 0 auto;
}

.cpw-price-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 18px;
}

.cpw-price-now {
	font-size: 28px;
	font-weight: 800;
	color: #1a1a1a;
}

.cpw-price-old {
	font-size: 16px;
	color: #999;
	text-decoration: line-through;
}

.cpw-buy-btn {
	display: inline-block;
	background-color: #e91e63;
	color: #fff !important;
	font-weight: 700;
	padding: 12px 32px;
	border-radius: 999px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cpw-buy-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,.16);
	filter: brightness(.96);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1200px) {
	.cpw-wrapper { max-width: calc(100% - 32px); }
}

@media (max-width: 900px) {
	.cpw-wrapper { max-width: calc(100% - 24px); }

	.cpw-card {
		flex-direction: column;
		padding: 20px;
		flex-wrap: wrap;
	}

	.cpw-sidebar {
		flex: 1 1 auto;
		width: 100%;
		min-height: auto;
	}

	.cpw-panel,
	.cpw-panel.is-active {
		flex-direction: column;
		width: 100%;
		align-items: center;
	}

	.cpw-product-image {
		flex: 1 1 auto;
		width: 100%;
		min-height: auto;
	}

	.cpw-features { max-width: none; }
}

@media (max-width: 560px) {
	.cpw-features {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.cpw-product-image img { max-width: 100%; }
}
