.c3-product-hero { display: grid; gap: var(--space-8); padding-block: var(--space-6) var(--space-16); }
.c3-product-gallery { min-width: 0; }
.c3-gallery-thumbs { display: none; }
.c3-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.c3-gallery-track::-webkit-scrollbar { display: none; }
.c3-gallery-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 1; background: var(--c3-surface); scroll-snap-align: start; }
.c3-gallery-image { width: 100%; height: 100%; object-fit: cover; }
.c3-gallery-slide__placeholder { border: 0; }
.c3-gallery-slide__image { width: 100%; height: 100%; object-fit: cover; }
.c3-gallery-dots { display: flex; justify-content: center; gap: var(--space-2); padding-top: var(--space-3); }
.c3-gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--c3-border-strong); transition: transform var(--motion-fast), background var(--motion-fast); }
.c3-gallery-dots span.is-active { transform: scale(1.15); background: var(--c3-black); }
.c3-buybox { min-width: 0; }
.c3-buybox h1 { margin-bottom: var(--space-1); font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.c3-product-type { margin-bottom: var(--space-3); color: var(--c3-text-secondary); }
.c3-buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-block: var(--space-4) var(--space-2); }
.c3-buybox__price ins { font-size: 1.65rem; font-weight: 800; text-decoration: none; }
.c3-buybox__price del { position: relative; color: var(--c3-text-muted); font-size: 1rem; font-weight: 400; text-decoration: none; }
.c3-buybox__price del::after { position: absolute; top: 52%; left: 0; right: 0; border-top: 1px solid currentColor; content: ""; }
.c3-buybox__price > .amount { font-size: 1.65rem; font-weight: 800; }
.c3-buybox .c3-bundle-value { margin: 0 0 var(--space-4); max-width: 420px; }
.c3-buybox .c3-bundle-value__compare { margin: 0 0 8px; color: var(--c3-text-secondary); font-size: .9rem; }
.c3-buybox .c3-bundle-value__list { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid var(--c3-border); background: var(--c3-surface); list-style: none; font-size: .8rem; }
.c3-buybox .c3-bundle-value__list li { display: flex; justify-content: space-between; gap: 12px; color: var(--c3-text-secondary); }
.c3-buybox__benefit { max-width: 480px; color: var(--c3-text-secondary); }
.c3-purchase-options { margin-block: var(--space-5); }
.c3-purchase-option { display: flex; min-height: 52px; align-items: center; gap: var(--space-2); border: 1px solid var(--c3-border); padding: 10px var(--space-3); }
.c3-purchase-option.is-selected { border: 1.5px solid var(--c3-black); background: var(--c3-surface); }
.c3-purchase-option > div { display: flex; flex: 1; justify-content: space-between; gap: var(--space-3); }
.c3-atc-form { display: grid; gap: var(--space-3); }
.c3-atc-form .quantity { display: inline-flex; width: 92px; height: 44px; border: 1px solid var(--c3-border-strong); border-radius: var(--radius-sm); }
.c3-atc-form .quantity .qty { width: 100%; border: 0; background: var(--c3-white); text-align: center; }
.c3-atc-button { width: 100%; }
.c3-format-help { margin: 0 0 var(--space-3); color: var(--c3-text-secondary); font-size: var(--fs-small); line-height: 1.45; }
.c3-variations { display: grid; gap: var(--space-5); }
.c3-variation-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.c3-variation-group legend { margin-bottom: var(--space-2); font-size: var(--fs-micro); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.c3-variant-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.c3-variant-pill { min-height: 44px; border: 1px solid var(--c3-border-strong); border-radius: var(--radius-pill); padding-inline: var(--space-4); background: var(--c3-white); font-size: var(--fs-small); font-weight: 500; }
.c3-variant-pill:hover { border-color: var(--c3-black); }
.c3-variant-pill.is-selected { border-color: var(--c3-black); background: var(--c3-black); color: var(--c3-white); }
.c3-variant-pill[disabled] { cursor: not-allowed; opacity: .35; text-decoration: line-through; }
.c3-native-variations select { width: 100%; min-height: 48px; margin-top: var(--space-2); border: 1px solid var(--c3-border-strong); background: var(--c3-white); }
.c3-js .c3-native-variations { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.single_variation_wrap { display: grid; gap: var(--space-3); }
.woocommerce-variation-add-to-cart { display: grid; gap: var(--space-3); }
.c3-variation-status { min-height: 20px; color: var(--c3-text-secondary); font-size: var(--fs-small); }
.c3-buybox-assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); color: var(--c3-text-secondary); font-size: var(--fs-micro); }
.c3-buybox-assurances > div { display: grid; flex: 1 1 100px; justify-items: center; gap: 10px; border-right: 1px solid var(--c3-border); padding: 18px 8px; text-align: center; }
.c3-buybox-assurances > div:last-child { border: 0; }
.c3-buybox-assurances .c3-icon { width: 34px; height: 34px; stroke-width: 1.4; }
.c3-buybox-assurances strong { color: var(--c3-black); font-size: .65rem; line-height: 1.3; }
.c3-inline-upsell { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--space-3); margin-block: var(--space-6); border: 1px solid var(--c3-border); border-radius: var(--radius-md); padding: var(--space-3); }
.c3-inline-upsell__media { display: block; width: 64px; height: 64px; overflow: hidden; background: var(--c3-white); }
.c3-inline-upsell__media .c3-visual-photo,
.c3-inline-upsell__media img,
.c3-inline-upsell__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--c3-white); }
.c3-inline-upsell__content { display: grid; min-width: 0; font-size: var(--fs-small); }
.c3-inline-upsell__content > span:first-child { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.c3-inline-upsell__button { min-height: 38px; border: 1px solid var(--c3-black); border-radius: var(--radius-sm); padding: var(--space-2); font-size: var(--fs-micro); font-weight: 700; }
.c3-product-accordions { margin-top: var(--space-6); }
.c3-product-accordions details p.c3-product-accordions__inci { margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px dashed var(--c3-border); font-size: .78rem; line-height: 1.6; }
.c3-product-accordions__inci span { display: block; margin-bottom: 6px; color: var(--c3-text); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.c3-product-routine, .c3-product-faq { padding-block: var(--space-16); background: var(--c3-surface); }

/* Routine 4 rôles — grille géométrique (01 / rôle / nom séparés). */
.c3-routine-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	margin: clamp(28px, 4vw, 48px) 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--c3-border);
	background: var(--c3-border);
	overflow: hidden;
}
.c3-routine-steps__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0;
	min-height: 108px;
	background: #fff;
}
.c3-routine-steps__item:nth-child(even) { background: #000; color: #fff; }
.c3-routine-steps__index {
	display: grid;
	place-items: center;
	border-right: 1px solid var(--c3-border);
	font-family: var(--font-serif, Georgia, serif);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
}
.c3-routine-steps__item:nth-child(even) .c3-routine-steps__index {
	border-right-color: #3f3f46;
	color: #fff;
}
.c3-routine-steps__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 18px 20px;
	min-width: 0;
}
.c3-routine-steps__role {
	display: block;
	font-size: clamp(0.95rem, 1.6vw, 1.1rem);
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}
.c3-routine-steps__name {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c3-text-secondary);
}
.c3-routine-steps__item:nth-child(even) .c3-routine-steps__name { color: #a1a1aa; }
@media (min-width: 720px) {
	.c3-routine-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Échiquier 2×2 : cases 2 et 3 noires. */
	.c3-routine-steps__item:nth-child(even) { background: #fff; color: inherit; }
	.c3-routine-steps__item:nth-child(even) .c3-routine-steps__index { border-right-color: var(--c3-border); color: inherit; }
	.c3-routine-steps__item:nth-child(even) .c3-routine-steps__name { color: var(--c3-text-secondary); }
	.c3-routine-steps__item:nth-child(2),
	.c3-routine-steps__item:nth-child(3) { background: #000; color: #fff; }
	.c3-routine-steps__item:nth-child(2) .c3-routine-steps__index,
	.c3-routine-steps__item:nth-child(3) .c3-routine-steps__index { border-right-color: #3f3f46; color: #fff; }
	.c3-routine-steps__item:nth-child(2) .c3-routine-steps__name,
	.c3-routine-steps__item:nth-child(3) .c3-routine-steps__name { color: #a1a1aa; }
}
@media (min-width: 1100px) {
	.c3-routine-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	/* Une rangée : B / N / B / N */
	.c3-routine-steps__item:nth-child(2),
	.c3-routine-steps__item:nth-child(3) { background: #fff; color: inherit; }
	.c3-routine-steps__item:nth-child(2) .c3-routine-steps__index,
	.c3-routine-steps__item:nth-child(3) .c3-routine-steps__index { border-right-color: var(--c3-border); color: inherit; }
	.c3-routine-steps__item:nth-child(2) .c3-routine-steps__name,
	.c3-routine-steps__item:nth-child(3) .c3-routine-steps__name { color: var(--c3-text-secondary); }
	.c3-routine-steps__item:nth-child(even) { background: #000; color: #fff; }
	.c3-routine-steps__item:nth-child(even) .c3-routine-steps__index { border-right-color: #3f3f46; color: #fff; }
	.c3-routine-steps__item:nth-child(even) .c3-routine-steps__name { color: #a1a1aa; }
	.c3-routine-steps__item:nth-child(even) .c3-routine-steps__index { border-right-color: #3f3f46; }
}
/* ---------- Avis fiche produit (premium) ---------- */
.c3-product-reviews { padding-block: clamp(64px, 8vw, 120px); background: #fafafa; border-top: 1px solid var(--c3-border); }
.c3-product-reviews__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 20px; margin-bottom: clamp(28px, 4vw, 48px);
}
.c3-product-reviews__head h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.c3-product-reviews__note {
	max-width: 52ch; margin: 0; color: var(--c3-text-secondary); font-size: .9rem; line-height: 1.5;
}
.c3-product-reviews__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .9rem; }
.c3-product-reviews__stars { letter-spacing: .06em; }
.c3-product-reviews__empty { margin: 0 0 32px; color: var(--c3-text-secondary); }
.c3-product-reviews__grid {
	display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: clamp(36px, 5vw, 64px);
	align-items: stretch;
}
.c3-product-review-card {
	display: flex; flex-direction: column; gap: 12px; height: 100%;
	border: 1px solid var(--c3-border); padding: 22px 22px 20px; background: #fff;
}
.c3-product-review-card__stars { flex: 0 0 auto; font-size: .85rem; letter-spacing: .08em; }
.c3-product-review-card blockquote {
	flex: 1 1 auto; margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 650; line-height: 1.45;
}
.c3-product-review-card footer {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto;
	color: var(--c3-text-secondary); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.c3-product-review-card footer > * { flex: 0 0 auto; align-self: center; }
.c3-product-review-card footer strong { color: var(--c3-black); }
.c3-product-review-card__product {
	display: inline-flex; align-items: center; justify-content: center;
	height: auto; max-height: none; border: 1px solid var(--c3-border); border-radius: 999px;
	padding: 4px 10px; font-size: .65rem; line-height: 1.2; white-space: nowrap;
}
.c3-product-reviews__form-wrap {
	display: grid; gap: 22px; border: 1px solid #000; padding: clamp(22px, 3vw, 36px); background: #fff;
}
.c3-product-reviews__form-intro h3 { margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.c3-product-reviews__form-intro p { margin: 0; max-width: 56ch; color: var(--c3-text-secondary); font-size: .88rem; }
.c3-wc-reviews .woocommerce-Reviews-title,
.c3-wc-reviews .comment-reply-title { display: none !important; }
.c3-wc-reviews .comment-form { display: grid; gap: 12px; margin: 0; }
.c3-wc-reviews .comment-form-author,
.c3-wc-reviews .comment-form-email,
.c3-wc-reviews .comment-form-comment,
.c3-wc-reviews .comment-form-rating { margin: 0; }
.c3-wc-reviews .comment-form label { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 750; }
.c3-wc-reviews .comment-form input[type="text"],
.c3-wc-reviews .comment-form input[type="email"],
.c3-wc-reviews .comment-form textarea,
.c3-wc-reviews .comment-form select {
	width: 100%; min-height: 48px; border: 1px solid #d4d4d8; border-radius: 0;
	padding: 10px 12px; background: #fff; font-size: 16px;
}
.c3-wc-reviews .comment-form textarea { min-height: 120px; resize: vertical; }
.c3-wc-reviews .form-submit { margin: 8px 0 0; }
.c3-wc-reviews .form-submit .submit,
.c3-wc-reviews .form-submit input[type="submit"] {
	min-height: 52px; border: 1px solid #000; border-radius: 0; padding: 0 22px;
	background: #000; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
@media (min-width: 720px) {
	.c3-product-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c3-wc-reviews .comment-form-author,
	.c3-wc-reviews .comment-form-email { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
	.c3-wc-reviews .comment-form-author { margin-right: 12px; }
}
@media (min-width: 1100px) {
	.c3-product-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.c3-sticky-atc { position: fixed; z-index: var(--z-sticky-atc); right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-height: 72px; border-top: 1px solid var(--c3-border); padding: 10px var(--space-4) calc(10px + env(safe-area-inset-bottom)); background: var(--c3-white); }
.c3-sticky-atc[hidden] { display: none; }
.c3-sticky-atc__meta { display: grid; min-width: 0; line-height: var(--lh-small); }
.c3-sticky-atc__meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c3-sticky-atc__meta strong del { position: relative; margin-right: 6px; color: var(--c3-text-muted); font-size: .72rem; font-weight: 500; text-decoration: none; }
.c3-sticky-atc__meta strong del::after { position: absolute; top: 52%; left: 0; right: 6px; border-top: 1px solid currentColor; content: ""; }
.c3-sticky-atc__meta strong ins { color:var(--c3-black); font-size:1.12rem; font-weight:800; text-decoration:none; }
.c3-sticky-atc__meta span { overflow: hidden; color: var(--c3-text-secondary); font-size: var(--fs-micro); text-overflow: ellipsis; white-space: nowrap; }
.c3-sticky-atc__button { min-width: 148px; }
@media (min-width: 768px) { .c3-sticky-atc { display: none !important; } }
@media (min-width: 1024px) {
  .c3-product-hero { grid-template-columns: minmax(0, 1.38fr) minmax(380px, .92fr); align-items: start; gap: 56px; padding-block: var(--space-10) var(--space-16); }
  /* Packshot + miniatures suivent le scroll jusqu’en bas du hero (≈ Livraison & retours dans le buybox). */
  .c3-product-gallery {
	position: sticky;
	top: 104px;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: var(--space-4);
	align-items: start;
	align-self: start;
	max-height: calc(100vh - 120px);
	z-index: 2;
  }
  .c3-gallery-thumbs {
	display: grid;
	align-content: start;
	gap: var(--space-2);
	max-height: calc(100vh - 128px);
	overflow-y: auto;
	scrollbar-width: thin;
  }
  .c3-gallery-thumb { overflow: hidden; width: 76px; height: 76px; border: 1px solid var(--c3-border); padding: 0; background: var(--c3-surface); flex: none; }
  .c3-gallery-thumb.is-active { border: 1.5px solid var(--c3-black); }
  .c3-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .c3-gallery-track {
	overflow: hidden;
	min-height: 0;
	max-height: calc(100vh - 128px);
  }
  .c3-gallery-slide { aspect-ratio: 1; max-height: calc(100vh - 128px); }
  .c3-gallery-dots { display: none; }
  /* Buybox scroll libre : la galerie sticky reste visible pendant qu’on descend jusqu’aux accordéons. */
  .c3-buybox { position: static; max-width: 480px; }
}
.c3-delivery-estimator { margin-top: 18px; border-block: 1px solid var(--c3-border); padding-block: 16px; }
.c3-delivery-estimator p { margin: 0 0 7px; font-size: .78rem; }
.c3-delivery-estimator > button { display: inline-flex; align-items: center; gap: 7px; padding: 0; font-size: .8rem; }
.c3-delivery-estimator .c3-icon { width: 22px; height: 22px; }
.c3-delivery-modal { position: fixed; z-index: calc(var(--z-overlay) + 5); inset: 0; display: grid; place-items: center; padding: 14px; }
.c3-delivery-modal[hidden] { display: none; }
.c3-delivery-modal__backdrop { position: absolute; inset: 0; width: 100%; background: rgba(0,0,0,.52); }
.c3-delivery-modal__panel { position: relative; width: min(525px,100%); border-radius: 14px; padding: 28px 24px; background: var(--c3-white); }
.c3-delivery-modal__panel h2 { margin-bottom: 24px; text-align: center; }
.c3-delivery-modal__close { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; border-radius: 50%; background: var(--c3-surface); font-size: 1.6rem; }
.c3-delivery-modal__fields { display: grid; grid-template-columns: 145px 1fr; gap: 10px; }
.c3-delivery-modal__select { position: relative; }
.c3-delivery-modal select, .c3-delivery-modal input { min-width: 0; min-height: 52px; border: 1px solid var(--c3-border-strong); padding: 0 12px; background: var(--c3-white); }
.c3-delivery-modal__select select { padding-left: 34px; }
.c3-delivery-flags { display: inline-flex; align-items: center; pointer-events: none; }
.c3-delivery-flags .c3-flag { display: none; }
.c3-delivery-flags .c3-flag.is-active { display: inline-block; }
.c3-delivery-modal__select .c3-delivery-flags { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); z-index: 1; width: 1.15em; height: .8em; font-size: 1.1rem; }
.c3-delivery-estimator > button .c3-delivery-flags { width: 1.1em; height: .78em; margin: 0 2px; font-size: 1rem; }
.c3-delivery-modal .c3-button { width: 100%; margin-top: 16px; }
.c3-delivery-modal small { display: block; margin-top: 12px; color: var(--c3-text-muted); font-size: .65rem; }
.c3-delivery-modal__error { color: var(--c3-black); font-weight: 700; }
.c3-product-proof header { max-width: 760px; margin-bottom: 50px; }
.c3-product-proof__grid { display: grid; border: 1px solid var(--c3-border); }
.c3-product-proof__grid article { min-height: 280px; border-bottom: 1px solid var(--c3-border); padding: 30px; }
.c3-product-proof__grid article:last-child { border: 0; }
.c3-proof-symbol { display: flex; align-items: flex-end; min-height: 100px; font-size: clamp(3rem,7vw,5rem); font-weight: 800; line-height: 1; }
.c3-proof-symbol .c3-icon { width:clamp(52px,6vw,76px); height:clamp(52px,6vw,76px); stroke-width:1.25; }
.c3-product-proof__grid h3 { font-size: 1.35rem; }
.c3-product-proof__grid p { max-width: 260px; color: var(--c3-text-secondary); }
/* Différence : bloc = ratio exact de la photo (1200×896). Aucune bande grise. */
.c3-product-difference {
	display: grid; grid-template-columns: 1fr; align-items: stretch;
	margin: 0; padding: 0; min-height: 0 !important;
	background: var(--c3-surface);
}
.c3-product-difference__media {
	position: relative; width: 100%; margin: 0; padding: 0;
	aspect-ratio: 1200 / 896; overflow: hidden; background: var(--c3-surface);
}
.c3-product-difference__visual,
.c3-product-difference__media .c3-visual-photo,
.c3-product-difference__media img {
	position: absolute !important; inset: 0; display: block !important;
	width: 100% !important; height: 100% !important; max-height: none !important;
	margin: 0 !important; border: 0; object-fit: cover !important; object-position: center;
}
.c3-product-difference__copy {
	display: flex; flex-direction: column; justify-content: center; gap: 12px;
	margin: 0; min-height: 0 !important;
	padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 48px);
}
.c3-product-difference__copy h2 { max-width: 480px; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; }
.c3-product-difference__copy p { max-width: 540px; }
@media (min-width: 768px) {
	.c3-product-proof__grid { grid-template-columns: repeat(3, 1fr); }
	.c3-product-proof__grid article { border-right: 1px solid var(--c3-border); border-bottom: 0; }
	.c3-product-difference { grid-template-columns: 1fr 1fr; }
	.c3-product-difference__media { width: auto; }
	.c3-product-difference__copy { min-height: 100%; }
}
