/* Product shared tokens */
:root, .wpcursor-component[class*="wpcursor-product-"] {
	--cns-lime: #c8f000;
	--cns-green: #1f3a2a;
	--cns-ink: #111;
	--cns-muted: #5c5c5c;
	--cns-bg: #f5f5f2;
	--cns-font: "Poppins", system-ui, sans-serif;
}
.wpcursor-component[class*="wpcursor-product-"],
.wpcursor-component[class*="wpcursor-product-"] p,
.wpcursor-component[class*="wpcursor-product-"] li,
.wpcursor-component[class*="wpcursor-product-"] h1,
.wpcursor-component[class*="wpcursor-product-"] h2,
.wpcursor-component[class*="wpcursor-product-"] h3,
.wpcursor-component[class*="wpcursor-product-"] a,
.wpcursor-component[class*="wpcursor-product-"] button,
.wpcursor-component[class*="wpcursor-product-"] span {
	font-family: "Poppins", system-ui, sans-serif !important;
	box-sizing: border-box;
}
.cns-pbar {
	position: sticky;
	top: 5.75rem;
	z-index: 30;
	background: var(--cns-bg);
	padding: 0.85rem 0 0.35rem;
}

.cns-pbar__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.85rem 1.1rem;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
	box-sizing: border-box;
}

.cns-pbar__media {
	display: block;
	width: 58px;
	height: 58px;
	overflow: hidden;
	border-radius: 10px;
	background: #f4f4f0;
}

.cns-pbar__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cns-pbar__title {
	margin: 0 0 0.2rem;
	color: #171717;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.cns-pbar__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
	margin: 0;
	color: #8a8a86;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cns-pbar__sold {
	color: var(--cns-green);
}

.cns-pbar__buy {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.cns-pbar__price {
	margin: 0;
	color: var(--cns-green);
	font-size: 1.2rem;
	font-weight: 800;
}

.cns-pbar__price .woocommerce-Price-amount {
	color: var(--cns-green);
}

.cns-pbar__form {
	margin: 0;
}

.cns-pbar__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.65rem 1.15rem;
	border: 0 !important;
	border-radius: 999px;
	background: var(--cns-lime) !important;
	color: #111 !important;
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
}

body.single-product .cns-pbar__cart:hover,
body.single-product .cns-pbar__cart:focus {
	background: #d6ff2e !important;
	color: #111 !important;
	border: 0 !important;
}

.cns-pbar__cart--ext {
	background: var(--cns-green) !important;
	color: var(--cns-lime) !important;
}

body.single-product .cns-pbar__cart--ext:hover {
	background: #2a4d38 !important;
	color: var(--cns-lime) !important;
}

/* —— Related —— */
@media (max-width: 767px) {
	.cns-pbar {
		top: 4.35rem;
	}
}

@media (max-width: 980px) {
	.cns-pbar__inner {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.cns-pbar__buy {
		grid-column: 1 / -1;
		justify-content: space-between;
	}
}

@media (max-width: 640px) {
	.cns-pbar {
		top: 4.35rem;
	}
	.cns-pbar__title {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.cns-pbar__cart {
		flex: 1 1 auto;
		min-width: 0;
		white-space: normal;
		text-align: center;
	}
}

.wpcursor-product-bar .cns-pbar__title { color: #171717 !important; font-weight: 800 !important; }
