/* 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-phero {
	position: relative;
	background: var(--cns-bg);
	color: var(--cns-ink);
	margin: 0;
	padding: clamp(6.75rem, 10vw, 8rem) 0 2.35rem;
	font-family: var(--cns-font);
}

.cns-phero__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(1.15rem, 4vw, 2.5rem);
	box-sizing: border-box;
	min-width: 0;
}

.cns-phero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 1.15rem;
	font-size: 0.82rem;
	color: #8a8a86;
}

.cns-phero__crumbs a {
	color: #8a8a86 !important;
	text-decoration: none !important;
}

.cns-phero__crumbs a:hover {
	color: var(--cns-green) !important;
}

.cns-phero__crumb-sep {
	opacity: 0.7;
}

.cns-phero__crumbs [aria-current="page"] {
	color: #5c5c58;
}

.cns-phero__notices {
	margin: 0 0 1rem;
}

.cns-phero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
	min-width: 0;
}

.cns-phero__gallery {
	min-width: 0;
	max-width: 100%;
}

.cns-phero__stage {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	background: #fff;
	aspect-ratio: 5 / 4;
}

.cns-phero__stage picture {
	display: block;
	width: 100%;
	height: 100%;
}

.cns-phero__stage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.cns-phero__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0 !important;
	border-radius: 999px;
	background: #fff !important;
	color: #222 !important;
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.12);
	cursor: pointer;
	transform: translateY(-50%);
}

.cns-phero__nav--prev { left: 0.85rem; }
.cns-phero__nav--next { right: 0.85rem; }

body.single-product .cns-phero__nav:hover,
body.single-product .cns-phero__nav:focus {
	background: #fff !important;
	color: #111 !important;
	border-color: transparent !important;
}

.cns-phero__thumbs {
	display: flex;
	gap: 0.7rem;
	margin-top: 0.85rem;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.2rem;
	scrollbar-width: thin;
}

.cns-phero__thumb {
	flex: 0 0 4.6rem;
	width: 4.6rem;
	min-width: 4.6rem;
	display: block;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent !important;
	border-radius: 12px;
	background: #fff !important;
	cursor: pointer;
	aspect-ratio: 5 / 4;
}

.cns-phero__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.cns-phero__thumb.is-active {
	border-color: var(--cns-lime) !important;
}

body.single-product .cns-phero__thumb:hover,
body.single-product .cns-phero__thumb:focus {
	background: #fff !important;
	color: inherit !important;
}

.cns-phero__card {
	background: #fff;
	border-radius: 24px;
	padding: clamp(1.2rem, 2.4vw, 1.7rem) clamp(1.2rem, 2.4vw, 1.85rem) 1.45rem;
	box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

.cns-phero__card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.cns-phero__sold {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.28rem;
	margin: 0;
	color: var(--cns-green);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cns-phero__sold::after {
	content: "";
	width: 100%;
	height: 3px;
	border-radius: 99px;
	background: var(--cns-lime);
}

.cns-phero__tools {
	display: flex;
	gap: 0.35rem;
}

.cns-phero__iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	color: #3a3a3a !important;
	cursor: pointer;
}

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

.cns-phero__iconbtn.is-on svg {
	fill: #e11d48;
	stroke: #e11d48;
}

.cns-phero__cats {
	margin: 0 0 0.55rem;
	color: #7a7a74;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cns-phero__title {
	margin: 0 0 0.65rem;
	color: #161616;
	font-size: clamp(1.35rem, 2.4vw, 1.95rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

.cns-phero__lead {
	margin: 0 0 1rem;
	max-width: 36rem;
	color: #5a5a56;
	font-size: 0.95rem;
	line-height: 1.55;
}

.cns-phero__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.65rem;
	margin: 0 0 1.1rem;
}

.cns-phero__price del,
.cns-phero__price del .woocommerce-Price-amount,
.cns-phero__price del .amount {
	color: #9aa193 !important;
	font-size: 1.15rem;
	font-weight: 500;
	text-decoration: line-through;
}

.cns-phero__now,
.cns-phero__now .woocommerce-Price-amount,
.cns-phero__now .amount {
	color: #b6db00 !important;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.cns-phero__points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.cns-phero__points li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.7rem;
	align-items: center;
	min-height: 4.4rem;
	padding: 0.75rem 0.85rem;
	border: 1px solid #ecece6;
	border-radius: 14px;
	background: #fafaf7;
}

.cns-phero__point-icon {
	display: inline-flex;
	color: var(--cns-green);
}

.cns-phero__points strong {
	display: block;
	color: #171717;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
}

.cns-phero__points em {
	display: block;
	margin-top: 0.12rem;
	color: #7a7a74;
	font-size: 0.78rem;
	font-style: normal;
}

.cns-phero__form {
	margin: 0;
}

.cns-phero__qty {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.95rem;
	color: #333;
	font-size: 0.92rem;
	font-weight: 600;
}

.cns-phero__qty input {
	width: 2.4rem;
	height: 2.15rem;
	border: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.cns-phero__qty input::-webkit-outer-spin-button,
.cns-phero__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cns-phero__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #e4e4de !important;
	border-radius: 999px;
	background: #fff !important;
	color: #111 !important;
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
}

body.single-product .cns-phero__qty-btn:hover,
body.single-product .cns-phero__qty-btn:focus {
	background: #f4f4f0 !important;
	color: #111 !important;
	border-color: #d8d8d0 !important;
}

.cns-phero__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 52px;
	padding: 0.85rem 1.2rem;
	border: 0 !important;
	border-radius: 999px;
	background: var(--cns-lime) !important;
	color: #111 !important;
	font-size: 1rem;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none;
}

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

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

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

.cns-phero__buynow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	margin-top: 0.7rem;
	padding: 0.2rem;
	border: 0 !important;
	background: transparent !important;
	color: var(--cns-green) !important;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

body.single-product .cns-phero__buynow:hover,
body.single-product .cns-phero__buynow:focus {
	background: transparent !important;
	color: #0f1c14 !important;
	border: 0 !important;
	text-decoration: underline;
}

.cns-phero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.65rem 1rem;
	margin: 1.15rem 0 0;
	padding: 0.95rem 0 0;
	border-top: 1px solid #efefe9;
	list-style: none;
	color: #6a6a64;
	font-size: 0.78rem;
	font-weight: 500;
}

.cns-phero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

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

.cns-phero__partner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.7rem;
	margin: 1.1rem 0 0;
	padding: 0.9rem 1rem;
	border-radius: 14px;
	background: #f6f7f3;
	color: #4d4d48;
	font-size: 0.84rem;
	line-height: 1.45;
}

.cns-phero__partner-icon {
	display: inline-flex;
	color: var(--cns-green);
}

.cns-phero__partner strong {
	display: block;
	margin-bottom: 0.15rem;
	color: #222;
}

@media (max-width: 980px) {
	.cns-phero {
		padding-top: 8.35rem;
	}

	.cns-phero__grid {
		grid-template-columns: 1fr;
	}

	.cns-phero__stage {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 640px) {
	.cns-phero__points {
		grid-template-columns: 1fr;
	}

	.cns-phero__thumbs {
		gap: 0.45rem;
	}

	.cns-phero__thumb {
		flex-basis: 4.1rem;
		width: 4.1rem;
		min-width: 4.1rem;
	}

	.cns-phero__trust {
		flex-direction: column;
		align-items: flex-start;
	}

	.cns-phero__now,
	.cns-phero__now .woocommerce-Price-amount {
		font-size: 1.45rem;
	}
}

/*
 * Header Elementor : 3 sections superposées via margin-bottom: -110px.
 * Tablette (768–1024) : menu desktop + burger en même temps. On ne garde que le burger.
 */
@media (max-width: 1024px) {
	body.single-product .elementor-element-2b0c573b {
		display: none !important;
	}

	.cns-phero {
		padding-top: 8.35rem;
	}
}

/*
 * Mobile : le header restant n’a plus de marge négative, le hero est dans le flux.
 */
@media (max-width: 767px) {
	body.single-product main#content.site-main {
		margin-top: 0 !important;
	}

	body.single-product .elementor-element-7e8f222b {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	.cns-phero {
		padding-top: 1.15rem;
	}

	.cns-pbar {
		top: 4.35rem;
	}
}

/* —— Avantages —— */
@media (max-width: 980px) {
	.cns-phero {
		padding-top: 8.35rem;
	}
	.cns-phero__grid {
		grid-template-columns: 1fr;
	}
	.cns-phero__stage {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 640px) {
	.cns-phero__points {
		grid-template-columns: 1fr;
	}
	.cns-phero__thumbs {
		gap: 0.45rem;
	}
	.cns-phero__thumb {
		flex-basis: 4.1rem;
		width: 4.1rem;
		min-width: 4.1rem;
	}
	.cns-phero__trust {
		flex-direction: column;
		align-items: flex-start;
	}
	.cns-phero__now,
	.cns-phero__now .woocommerce-Price-amount {
		font-size: 1.45rem;
	}
}

@media (max-width: 1024px) {
	.cns-phero {
		padding-top: 8.35rem;
	}
}

@media (max-width: 767px) {
	.cns-phero {
		padding-top: 1.15rem;
	}
}

.wpcursor-product-hero .cns-phero__title,
.wpcursor-product-hero h1.cns-phero__title { color: #111 !important; font-weight: 800 !important; }
.wpcursor-product-hero .cns-phero__now { color: var(--cns-lime) !important; }
