/* Routine de Rentrée — ATF conversion, CTA dans le flux. */

body.single-product:has([data-c3-rentree-wizard]) .c3-sticky-atc,
body.single-product:has([data-c3-rentree-wizard]) .c3-rentree-sticky,
body.single-product:has([data-c3-rentree-wizard]) .c3-promo-sticky {
	display: none !important;
}

body.single-product:has([data-c3-rentree-wizard]).has-c3-promo-sticky {
	padding-bottom: 0;
}

body.single-product.postid-148 .c3-product-hero {
	gap: 12px;
	padding-block: 8px 16px;
}

body.single-product.postid-148 .c3-gallery-thumbs {
	display: none !important;
}

body.single-product.postid-148 .c3-gallery-slide {
	aspect-ratio: 3 / 4;
	max-height: min(38vh, 320px);
}

body.single-product.postid-148 .c3-gallery-slide__image,
body.single-product.postid-148 .c3-gallery-image {
	object-fit: cover;
	object-position: center;
}

.c3-buybox--rentree .c3-buybox__benefit {
	margin: 0 0 10px;
	max-width: 36rem;
	font-size: .92rem;
	line-height: 1.4;
}

.c3-buybox--rentree .c3-buybox__price {
	margin: 0 0 6px;
}

.c3-buybox--rentree .c3-buybox__price .amount,
.c3-buybox--rentree .c3-buybox__price .woocommerce-Price-amount {
	font-size: clamp(1.85rem, 4.2vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
}

.c3-buybox--rentree .c3-buybox__offer {
	margin: 0 0 6px;
	color: var(--c3-text-secondary, #52525b);
	font-size: .84rem;
	font-weight: 550;
	line-height: 1.4;
	text-align: left;
}

.c3-buybox--rentree .c3-buybox__until {
	margin: 0 0 14px;
	color: var(--c3-text-secondary, #52525b);
	font-size: .84rem;
	font-weight: 550;
	line-height: 1.4;
}

.c3-buybox--rentree .c3-buybox__value-line,
.c3-buybox--rentree .c3-buybox__variant-note {
	display: none !important;
}

.c3-buybox--rentree .c3-buybox__form {
	margin-top: 0;
}

.c3-rentree-wizard--simple {
	display: grid;
	gap: 14px;
	scroll-margin-top: 88px;
}

.c3-rentree-wizard__panel {
	display: grid;
	gap: 8px;
}

.c3-rentree-wizard__heading {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(1.02rem, 2.8vw, 1.18rem);
	font-weight: 700;
	line-height: 1.2;
}

.c3-rentree-wizard__heading--sub {
	font-size: clamp(.95rem, 2.6vw, 1.08rem);
}

.c3-rentree-wizard .c3-zayt-scent-grid,
.c3-rentree-wizard__cards--zayt {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 8px !important;
	margin-top: 0;
}

.c3-rentree-wizard .c3-coffret-wizard__cards--two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.c3-rentree-wizard .c3-coffret-card {
	min-height: 64px;
	padding: 10px 10px;
	text-align: left;
}

.c3-rentree-wizard .c3-coffret-card strong {
	display: block;
	font-size: .86rem;
	line-height: 1.25;
}

.c3-rentree-wizard .c3-coffret-card span,
.c3-rentree-wizard .c3-zayt-scent-card__inspiration {
	display: block;
	margin-top: 3px;
	color: var(--c3-text-secondary, #71717a);
	font-size: .72rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.3;
}

.c3-rentree-wizard .c3-coffret-card.is-selected span,
.c3-rentree-wizard .c3-coffret-card.is-selected .c3-zayt-scent-card__inspiration {
	color: rgba(255, 255, 255, .78);
}

.c3-rentree-wizard__oos,
.c3-zayt-scent-card__oos {
	display: block;
	margin-top: 4px;
	color: #52525b;
	font-size: .72rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.c3-rentree-wizard__panel--ghusl,
.c3-rentree-wizard__panel--peigne {
	padding-top: 10px;
	border-top: 1px solid var(--c3-border, #e5e5e5);
}

.c3-rentree-wizard__atc-wrap {
	position: static !important;
	padding: 2px 0 0 !important;
	background: none !important;
}

.c3-rentree-wizard-form .woocommerce-variation-add-to-cart {
	position: static !important;
	display: grid;
	gap: 10px;
	padding: 0 !important;
	background: none !important;
}

.c3-rentree-wizard-form .c3-native-variations {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.c3-rentree-wizard-form .quantity {
	height: 44px;
}

.c3-rentree-wizard__atc {
	width: 100%;
	min-height: 56px;
	padding: 0 16px;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .03em;
}

.c3-rentree-wizard__atc strong {
	font-weight: 800;
	font-size: 1.05em;
}

.c3-rentree-wizard__atc:disabled {
	opacity: .45;
	cursor: not-allowed;
}

@media (min-width: 768px) {
	body.single-product.postid-148 .c3-product-hero {
		gap: 28px;
		padding-block: 12px 24px;
		align-items: start;
	}

	body.single-product.postid-148 .c3-gallery-slide {
		max-height: none;
		aspect-ratio: 3 / 4;
	}

	.c3-rentree-wizard {
		max-width: 520px;
	}

	.c3-rentree-wizard .c3-zayt-scent-grid,
	.c3-rentree-wizard__cards--zayt {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1024px) {
	body.single-product.postid-148 .c3-product-gallery {
		position: static;
		grid-template-columns: minmax(0, 1fr);
		max-height: none;
	}
}

body.c3-campaign-3ilm .c3-rentree-wizard {
	max-width: 520px;
}
