/* Blocs gamme RP — styles volontairement neutres : la police et les couleurs viennent du thème. */
:root {
	--rp-ink: #000;
	--rp-muted: #333;
	--rp-gap: clamp(24px, 4vw, 56px);
}

/* Titres et listes ------------------------------------------------------ */
.rp-block { margin: var(--rp-gap) 0; }
.rp-block__title {
	font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
	font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; margin: 0 0 .25em; color: var(--rp-ink);
}
.rp-block__subtitle {
	text-transform: uppercase; font-size: clamp(15px, 1.6vw, 20px); margin: 0 0 1em; color: var(--rp-ink);
}
.rp-block__list { list-style: disc; padding-left: 1.4em; margin: 0; }
.rp-block__list li { margin: .4em 0; color: var(--rp-muted); }
.rp-rituel .rp-block__title { font-size: clamp(18px, 2vw, 24px); }
.rp-block__steps { padding-left: 1.4em; margin: 0; }
.rp-block__steps li { margin: .35em 0; color: var(--rp-muted); }
.rp-align-right { text-align: right; }

/* Composition (accordéon) ----------------------------------------------- */
.rp-compo { margin: 1.5em 0; }
.rp-compo summary {
	cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); list-style: none;
}
.rp-compo summary::-webkit-details-marker { display: none; }
.rp-compo summary::before { content: "▶"; display: inline-block; margin-right: .5em; font-size: .7em; transition: transform .2s; }
.rp-compo[open] summary::before { transform: rotate(90deg); }
.rp-compo__body { padding: 1em 0 0; font-size: 14px; color: var(--rp-muted); }
.rp-compo__body h3 { font-size: 14px; text-transform: uppercase; margin: 1em 0 .3em; }

/* Dream Team ------------------------------------------------------------ */
.rp-dt {
	display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto;
	column-gap: clamp(8px, 1.5vw, 20px); align-items: start; margin: var(--rp-gap) 0;
}
.rp-dt__actifs { grid-column: 1; grid-row: 1 / span 2; text-align: right; align-self: center; }
.rp-dt__actif { margin: 0 0 1.6em; }
.rp-dt__actif h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 20px); margin: 0 0 .2em; }
.rp-dt__actif p { margin: 0; color: var(--rp-muted); }
.rp-dt__label {
	grid-column: 2; grid-row: 1 / span 2; writing-mode: vertical-rl; transform: rotate(180deg);
	font-weight: 900; font-size: clamp(34px, 5vw, 72px); line-height: .9; letter-spacing: -.02em; color: var(--rp-ink);
	align-self: stretch; text-align: center; white-space: nowrap;
}
.rp-dt__visual { grid-column: 3; grid-row: 1; }
.rp-dt__visual img { width: 100%; height: auto; display: block; }
.rp-dt__olfactif { grid-column: 3; grid-row: 2; }
.rp-dt__olfactif h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 20px); margin: 0; }
.rp-dt__accord { font-weight: 700; margin: 0 0 .3em; }
.rp-dt__olfactif p { margin: 0 0 .6em; color: var(--rp-muted); }
.rp-dt__note { text-transform: uppercase; font-size: .9em; color: var(--rp-ink); }

@media (max-width: 767px) {
	.rp-dt { grid-template-columns: 1fr auto; }
	.rp-dt__actifs { grid-column: 1; grid-row: 1; text-align: left; }
	.rp-dt__label { grid-column: 2; grid-row: 1 / span 3; font-size: 34px; }
	.rp-dt__visual { grid-column: 1; grid-row: 2; }
	.rp-dt__olfactif { grid-column: 1; grid-row: 3; }
}

/* Liens de gammes ------------------------------------------------------- */
.rp-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8em 2em; margin: 1.5em 0; }
.rp-links a { font-weight: 700; text-transform: uppercase; font-size: 12px; text-decoration: underline; color: var(--rp-ink); }

/* Collage ---------------------------------------------------------------- */
.rp-collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: var(--rp-gap) 0; }
.rp-collage img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (max-width: 767px) { .rp-collage { grid-template-columns: repeat(2, 1fr); } }

/* Page gamme ------------------------------------------------------------- */
.rp-hero { position: relative; width: 100%; aspect-ratio: 16 / 6; overflow: hidden; background: #f2f2f2 center / cover no-repeat; }
.rp-hero video, .rp-hero img, .rp-hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.rp-hero--vimeo iframe { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 767px) { .rp-hero { aspect-ratio: 4 / 3; } }

.rp-intro { max-width: 1100px; margin: 1.5em 0 var(--rp-gap) auto; text-align: right; }
.rp-intro__title { font-weight: 700; margin: 0 0 .3em; }
.rp-intro__text { font-size: 14px; color: var(--rp-muted); margin: 0 0 1.2em; }
.rp-intro__tagline { font-weight: 800; text-transform: uppercase; margin: 0; }

.rp-grid .rp-grid__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rp-lifestyle { position: relative; margin: var(--rp-gap) 0; overflow: hidden; }
.rp-lifestyle__img { width: 100%; height: auto; display: block; }
.rp-lifestyle__text { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); text-align: right; max-width: 55%; }
.rp-lifestyle__title { font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 5vw, 72px); line-height: .95; margin: 0; color: var(--rp-ink); }
.rp-lifestyle__subtitle { font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 2.4vw, 34px); margin: .2em 0 0; color: var(--rp-ink); }
@media (max-width: 767px) {
	.rp-lifestyle__text { position: static; transform: none; max-width: none; padding: 1em 0 0; }
}

.rp-conseil { margin: var(--rp-gap) 0; }
.rp-conseil__item { max-width: 900px; margin: 0 0 2.5em; font-size: 14px; color: var(--rp-muted); }
.rp-conseil__item:nth-child(odd) { margin-left: auto; text-align: right; }
.rp-conseil__item h3 { font-weight: 800; text-transform: uppercase; font-size: 13px; color: var(--rp-ink); margin: 0 0 .8em; }
.rp-conseil__item p { margin: 0 0 .8em; }

/* Fiche produit complète -------------------------------------------------- */
.rp-pp-wrap { max-width: 1200px; margin: 0 auto; }
.rp-pp__gamme { text-align: center; margin: .5em 0 1.5em; }
.rp-pp__gamme a { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(16px, 1.6vw, 22px); color: var(--rp-ink); text-decoration: none; }

.rp-pp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.rp-pp__gallery { position: relative; }
.rp-pp__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.rp-pp__badge {
	position: absolute; top: 0; right: 0; z-index: 5; background: #000; color: #fff;
	text-transform: uppercase; font-size: 12px; font-weight: 600; padding: .45em 1.2em;
}

.rp-pp__summary { text-align: right; }
.rp-pp__title { font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 .2em; line-height: 1.05; }
.rp-pp__meta { font-size: 12px; margin: 0 0 1em; }
.rp-pp__meta p { margin: 0; }
.rp-pp__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: #3cc13b; vertical-align: middle; }
.rp-pp__stock.is-out .rp-pp__dot { background: #c62828; }
.rp-pp__baseline { text-transform: uppercase; font-size: 12px; margin: 0 0 .3em; }
.rp-pp__excerpt { font-size: 12px; color: var(--rp-muted); margin: 0 0 1em; }
.rp-pp__excerpt p { margin: 0 0 .8em; }
.rp-pp__rating { display: flex; justify-content: flex-end; margin: 0 0 1em; }

.rp-pp__cart form.cart { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; }
.rp-pp__cart form.variations_form { display: block; }
.rp-pp__cart table.variations { margin: 0 0 12px auto; border: 0; width: auto; }
.rp-pp__cart table.variations th, .rp-pp__cart table.variations td { display: block; border: 0; padding: 0; text-align: center; }
.rp-pp__cart table.variations th label { font-size: 11px; font-weight: 400; }
.rp-pp__cart table.variations select {
	min-width: 190px; border: 2px solid #000; border-radius: 40px; padding: 10px 24px; font-weight: 700; text-align: center; background: #fff;
}
.rp-pp__cart .reset_variations { display: block; font-size: 11px; margin-top: 4px; }
.rp-pp__cart .woocommerce-variation-price { display: none; }
.rp-pp__cart .woocommerce-variation-add-to-cart { display: flex; justify-content: flex-end; gap: 10px; }
.rp-pp__cart .quantity input.qty { border: 1px solid #000; height: 100%; min-height: 46px; width: 80px; text-align: center; }
.rp-pp__cart .single_add_to_cart_button {
	background: #000 !important; color: #fff !important; border-radius: 0 !important; text-transform: uppercase;
	min-width: 230px; min-height: 46px; padding: 6px 20px !important; line-height: 1.2; display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
}
.rp-btn__label { font-size: 12px; }
.rp-btn__price { font-size: 12px; font-weight: 700; }
.rp-pp__promo { margin-top: 24px; text-align: left; }

.rp-pp__content { max-width: 1100px; margin: var(--rp-gap) auto 0; }

@media (max-width: 921px) {
	.rp-pp { grid-template-columns: 1fr; }
	.rp-pp__summary { text-align: left; }
	.rp-pp__rating, .rp-pp__cart form.cart, .rp-pp__cart .woocommerce-variation-add-to-cart { justify-content: flex-start; }
	.rp-pp__cart table.variations { margin-left: 0; }
}

/* v1.3 — galerie --------------------------------------------------------- */
.rp-gal__main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f5f5; }
.rp-gal__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .35s ease; }
.rp-gal__slide.is-active { opacity: 1; z-index: 1; }
.rp-gal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-gal__progress { height: 4px; background: #e2e2e2; margin: 14px 0; }
.rp-gal__progress span { display: block; height: 100%; background: #000; transition: width .35s ease; }
.rp-gal__thumbs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rp-gal__thumbs::-webkit-scrollbar { display: none; }
.rp-gal__thumb {
	flex: 0 0 calc((100% - 36px) / 4); padding: 0 !important; border: 1px solid transparent !important; background: none !important;
	cursor: pointer; scroll-snap-align: start; opacity: .75; transition: opacity .2s, border-color .2s; border-radius: 0 !important;
}
.rp-gal__thumb.is-active { opacity: 1; border-color: #000 !important; }
.rp-gal__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

/* v1.3 — sélecteur de taille : on masque les pastilles du plugin et on affiche la liste native en pilule */
.rp-pp__cart table.variations td.value > *:not(select):not(.reset_variations) { display: none !important; }
.rp-pp__cart table.variations td.value select {
	display: block !important; visibility: visible !important; opacity: 1 !important; position: static !important;
	width: auto !important; height: auto !important; margin: 0 0 0 auto;
	appearance: none; -webkit-appearance: none; cursor: pointer;
	min-width: 220px; border: 2px solid #000 !important; border-radius: 40px !important;
	padding: 12px 40px 12px 28px !important; font-weight: 700; font-size: 15px; text-align: right; background: #fff;
}
.rp-pp__cart table.variations tr { display: block; text-align: right; }
.rp-pp__cart table.variations th { text-align: right !important; padding: 0 28px 2px 0 !important; }
.rp-pp__cart table.variations th label { font-size: 11px !important; font-weight: 400 !important; text-transform: none; }
.rp-pp__cart .reset_variations { display: none !important; }
.rp-pp__cart .woocommerce-variation { display: none !important; }
.rp-pp__cart .single_variation_wrap { border: 0; }
.rp-pp__cart form.cart hr, .rp-pp__cart .variations_form .woocommerce-variation-add-to-cart { border-top: 0 !important; }

/* v1.3 — quantité « - 1 + » et bouton */
.rp-pp__cart .quantity {
	display: inline-flex !important; align-items: center; border: 1px solid #000; height: 52px; margin: 0 !important; background: #fff;
}
.rp-pp__cart .quantity .minus, .rp-pp__cart .quantity .plus {
	border: 0 !important; background: none !important; width: 34px; height: 100%; display: flex; align-items: center; justify-content: center;
	color: #000 !important; font-size: 16px; padding: 0 !important; box-shadow: none !important;
}
.rp-pp__cart .quantity input.qty { border: 0 !important; width: 36px !important; min-height: 0 !important; height: 100%; padding: 0 !important; font-size: 16px; background: none; box-shadow: none !important; -moz-appearance: textfield; }
.rp-pp__cart .quantity input.qty::-webkit-inner-spin-button, .rp-pp__cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rp-pp__cart .single_add_to_cart_button { min-height: 52px; border-radius: 6px !important; flex: 1 1 auto; max-width: 320px; }
.rp-pp__cart .single_add_to_cart_button.disabled { opacity: .55 !important; background: #000 !important; }

/* v1.4 */
.rp-pp__excerpt { font-size: 13px; line-height: 1.5; }
.rp-pp__cart .single_add_to_cart_button { flex-direction: column !important; gap: 2px; }
.rp-btn__label, .rp-btn__price { display: block; }
.rp-card__excerpt { font-size: 11px; text-transform: uppercase; margin: 2px 0 6px; color: var(--rp-muted); }

/* v1.5 — Dream Team sans libellé vertical (texte intégré à l'image) */
.rp-dt--nolabel { grid-template-columns: 1fr 1fr; }
.rp-dt--nolabel .rp-dt__visual, .rp-dt--nolabel .rp-dt__olfactif { grid-column: 2; }
@media (max-width: 767px) {
	.rp-dt--nolabel { grid-template-columns: 1fr; }
	.rp-dt--nolabel .rp-dt__actifs, .rp-dt--nolabel .rp-dt__visual, .rp-dt--nolabel .rp-dt__olfactif { grid-column: 1; grid-row: auto; }
}

/* v1.5 — Vidéos verticales */
.rp-videos { margin: var(--rp-gap) 0; }
.rp-videos__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rp-videos__track::-webkit-scrollbar { display: none; }
.rp-videos__item { position: relative; flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 9 / 16; margin: 0; background: #000; scroll-snap-align: start; overflow: hidden; }
.rp-videos__item video, .rp-videos__item iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; cursor: pointer; }
.rp-videos__sound {
	position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50% !important; border: 0 !important;
	background: rgba(255, 255, 255, .85) !important; color: #000 !important; font-size: 16px; padding: 0 !important; cursor: pointer; line-height: 36px;
}
@media (max-width: 767px) { .rp-videos__item { flex-basis: 70%; } }

/* v1.5 — Encart promo */
.rp-promo { display: flex; align-items: center; gap: 18px; padding: 20px 28px; text-decoration: none !important; color: #000 !important; }
.rp-promo__img { flex: 0 0 90px; }
.rp-promo__img img { width: 90px; height: 90px; object-fit: cover; display: block; }
.rp-promo__text { flex: 1; text-align: right; font-size: 12px; line-height: 1.4; }
.rp-promo__title { display: block; text-transform: uppercase; font-size: 13px; }
.rp-promo__desc { display: block; }

/* v1.5 — galerie et bloc achat utilisables séparément dans des colonnes Elementor */
.rp-pp__summary .rp-pp__promo { margin-top: 28px; }

/* v1.6 */
.rp-pp__summary { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.rp-pp__gallery { width: 100% !important; float: none !important; }
.rp-dt--image { display: block; }
.rp-dt--image img { width: 100%; height: auto; display: block; }
.rp-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* v1.8 — libellé « Sélectionner une taille » posé sur le trait de la pilule */
.rp-pp__cart table.variations tr { position: relative; padding-top: 8px; }
.rp-pp__cart table.variations th {
	position: absolute !important; top: 0; right: 34px; z-index: 2; padding: 0 8px !important; background: #fff; line-height: 16px;
}
.rp-pp__cart table.variations th label { font-size: 11px !important; margin: 0 !important; display: block; }

/* v1.8 — vidéos dans la galerie */
.rp-gal__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-gal__thumb { position: relative; }
.rp-gal__thumb video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; pointer-events: none; }
.rp-gal__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%;
	background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; line-height: 30px; text-align: center; pointer-events: none;
}

/* v2.0 — vignettes produit gamme RP -------------------------------------- */
.rp-cards { display: grid !important; grid-template-columns: repeat(var(--rp-cols, 4), minmax(0, 1fr)); gap: 40px 28px; list-style: none; margin: 30px 0 0 !important; padding: 0 !important; }
.rp-cards::before, .rp-cards::after { display: none !important; }
.rp-cards > li { width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; }
.rp-card { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.rp-card__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f4; }
.rp-card__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: opacity .35s ease; margin: 0 !important; }
.rp-card__img--alt { opacity: 0; }
.rp-card:hover .rp-card__img--alt { opacity: 1; }
.rp-card__badge { position: absolute; top: 0; right: 0; z-index: 2; background: #000; color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; padding: 6px 18px; }
.rp-card__bar { width: 100%; height: 4px; background: #e2e2e2; margin: 14px 0 18px; }
.rp-card__bar span { display: block; height: 100%; background: #000; transition: width .35s ease; }
.rp-card__title { font-weight: 800; text-transform: uppercase; font-size: 16px; margin: 0 0 8px; line-height: 1.15; }
.rp-card__title a { color: #000; text-decoration: none; }
.rp-card__excerpt { text-transform: uppercase; font-size: 11px; line-height: 1.5; margin: 0 0 12px; color: var(--rp-muted); max-width: 260px; }
.rp-card__rating { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0 0 10px; }
.rp-card__avg { font-size: 12px; color: #999; }
.rp-card__rating .star-rating { margin: 0 !important; font-size: 15px; color: #000; float: none; }

.rp-card__size { position: relative; padding-top: 8px; margin: 0 0 14px; width: 100%; max-width: 230px; }
.rp-card__size-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 6px; font-size: 10px; line-height: 16px; white-space: nowrap; z-index: 1; }
.rp-card__select, .rp-card__pill {
	display: block; width: 100%; border: 2px solid #000 !important; border-radius: 40px !important; background: #fff;
	padding: 12px 24px 10px !important; font-weight: 700; font-size: 14px; text-align: right; color: #000 !important; text-decoration: none !important;
	appearance: none; -webkit-appearance: none; cursor: pointer; height: auto !important; line-height: 1.2;
}
.rp-card--ritual .rp-card__pill { text-transform: uppercase; font-size: 12px; text-align: center; }

.rp-card__btn {
	display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	width: 100%; max-width: 230px; min-height: 46px; background: #000 !important; color: #fff !important;
	border-radius: 0 !important; text-transform: uppercase; font-size: 11px !important; padding: 6px 12px !important; margin: 0 !important;
}
.rp-card__btn-price { font-weight: 700; }
.rp-card__btn.is-disabled { opacity: .45; cursor: not-allowed; }
.rp-card__btn.loading { opacity: .6; }
.rp-card__btn.added::after { display: none !important; }
.rp-card .added_to_cart { font-size: 11px; margin-top: 6px; }

@media (max-width: 921px) { .rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }

/* v2.0 — promo image seule */
.rp-promo--image { display: block; padding: 0 !important; background: none !important; }
.rp-promo--image img { width: 100%; height: auto; display: block; }

/* v2.0.1 — visuel Dream Team fondu dans la page */
.rp-dt--image, .rp-dt--image img { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.rp-dt--image img { mix-blend-mode: multiply; } /* le blanc de l'image se confond avec le fond blanc de la page */

/* v2.2 — vidéos d'utilisation sur image de fond */
.rp-videos--bg { background-repeat: no-repeat; background-position: center; background-size: contain; padding: clamp(40px, 7vw, 90px) 0; }
.rp-videos--bg .rp-videos__track { justify-content: center; overflow: visible; gap: 14px; }
.rp-videos--bg .rp-videos__item { flex: 0 0 min(22%, 240px); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
@media (max-width: 767px) {
	.rp-videos--bg { background-size: cover; }
	.rp-videos--bg .rp-videos__track { justify-content: flex-start; overflow-x: auto; padding: 0 16px; }
	.rp-videos--bg .rp-videos__item { flex-basis: 62%; }
}

/* =====================================================================
   v2.3 — typographie unifiée, cartes épurées, étoiles
   Police des titres : police « Principale » d'Elementor (réglages globaux),
   sinon celle du texte. Pour forcer une police : --rp-title-font sur :root.
   ===================================================================== */

/* Même style pour « Pourquoi… », « Rituel… » et « La composition » */
.rp-bienfaits .rp-block__subtitle,
.rp-rituel .rp-block__title,
.rp-compo summary {
	font-family: inherit !important; font-size: clamp(17px, 1.6vw, 21px) !important; font-weight: 700 !important;
	text-transform: uppercase; line-height: 1.2; color: #000; margin: 0 0 .6em;
}
.rp-rituel { margin-top: 2em; }
.rp-compo summary::before { content: "▼"; transform: rotate(-90deg); font-size: .75em; margin-right: .45em; }
.rp-compo[open] summary::before { transform: rotate(0deg); }
.rp-block__list li, .rp-block__steps li { font-size: 14px; line-height: 1.55; margin: .25em 0; color: #000; }
.rp-block__steps strong { font-weight: 800; }

/* Sous-titre des produits essentiels : casse normale, gras via **…** */
.rp-gamme-products__sub { text-transform: none; font-size: clamp(14px, 1.3vw, 17px); margin: .2em 0 0; color: #000; }
.rp-gamme-products__sub strong { text-transform: uppercase; font-weight: 800; }

/* Cartes : pas d'ombre ni de cadre du thème, texte aligné à droite */
.rp-cards > li, .rp-cards > li.product, .rp-card { box-shadow: none !important; border: 0 !important; background: transparent !important; text-align: right !important; }
.rp-card:hover { box-shadow: none !important; transform: none !important; }
.rp-card__title { text-align: right; width: 100%; }
.rp-card__excerpt { text-align: right !important; width: 100%; max-width: none; margin-left: auto; }
.rp-card__media img, .rp-card__media { box-shadow: none !important; border: 0 !important; }

/* Bouton : libellé et prix serrés l'un au-dessus de l'autre */
.rp-card__btn {
	min-height: 0 !important; height: auto !important; line-height: 1.15 !important; gap: 1px !important;
	padding: 8px 12px !important; font-size: 11px !important; letter-spacing: .02em;
}
.rp-card__btn span { line-height: 1.15 !important; }
.rp-pp__cart .single_add_to_cart_button { line-height: 1.15 !important; gap: 1px !important; }

/* Étoiles */
.rp-rating { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 12px; width: 100%; }
.rp-rating__avg { font-size: 12px; color: #9a8f8f; }
.rp-stars { position: relative; display: inline-block; color: #d8d8d8; font-size: 17px; line-height: 1; letter-spacing: 1px; }
.rp-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #000; }
.rp-pp__rating { justify-content: flex-end; }
.rp-pp__rating .rp-stars { font-size: 22px; }
.rp-pp__review-link { font-size: 12px; text-transform: uppercase; color: #000; text-decoration: none; margin-right: 6px; }

/* v2.3.1 — cartes de même hauteur : titre et description en haut, avis / taille / bouton calés en bas */
.rp-cards { align-items: stretch; }
.rp-card { height: 100%; }
.rp-card__bottom { margin-top: auto; width: 100%; display: flex; flex-direction: column; align-items: flex-end; padding-top: 6px; }
.rp-card__bottom .rp-card__size { margin-bottom: 14px; }

/* v2.3.2 — pas de lien « Voir le panier » sous le bouton après ajout (le panier se met à jour dans l'en-tête) */
.rp-card .added_to_cart, .rp-cards .added_to_cart { display: none !important; }

/* v2.4 — vidéos dans la galerie d'ambiance */
.rp-grid__visual { position: relative; overflow: hidden; }
.rp-grid__visual video, .rp-grid__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-cards > li.rp-grid__visual { min-height: 100%; }
.rp-collage video { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

/* v2.6 — hero sur mobile : vidéo entière, sans zoom ni chevauchement */
@media (max-width: 767px) {
	.rp-hero { aspect-ratio: auto !important; height: auto; overflow: visible; }
	.rp-hero video, .rp-hero img { position: static !important; width: 100% !important; height: auto !important; object-fit: contain; display: block; }
	.rp-hero--vimeo { aspect-ratio: 16 / 9 !important; overflow: hidden; }
	.rp-hero--vimeo iframe { position: absolute !important; }
	.rp-intro { text-align: left; margin-top: 1.2em; padding: 0 4px; }
}

/* v2.6 — conseil du pro en accordéons */
.rp-conseil__item summary { list-style: none; cursor: default; pointer-events: none; }
.rp-conseil__item summary::-webkit-details-marker { display: none; }
.rp-conseil__item summary h3 { margin: 0 0 .8em; }
@media (max-width: 767px) {
	.rp-conseil__item, .rp-conseil__item:nth-child(odd) { margin: 0; text-align: left; max-width: none; border-bottom: 1px solid #e5e5e5; }
	.rp-conseil__item summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
	.rp-conseil__item summary h3 { margin: 0; }
	.rp-conseil__item summary::after { content: "+"; font-size: 20px; line-height: 1; font-weight: 400; flex: 0 0 auto; }
	.rp-conseil__item[open] summary::after { content: "–"; }
	.rp-conseil__body { padding: 0 0 16px; }
}

/* v2.7 — hero mobile dédié */
.rp-hero__mobile { display: none !important; }
@media (max-width: 767px) {
	.rp-hero--has-mobile .rp-hero__desktop { display: none !important; }
	.rp-hero--has-mobile .rp-hero__mobile { display: block !important; position: static !important; width: 100% !important; height: auto !important; }
}

/* v2.9 — badge posé au-dessus de l'image (maquette), ligne réservée sur toutes les cartes */
.rp-card__head { width: 100%; height: 24px; display: flex; justify-content: flex-end; align-items: flex-end; }
.rp-card__head .rp-card__badge { position: static; display: inline-block; padding: 5px 14px; font-size: 11px; line-height: 14px; }
.rp-pp__head { height: 32px; display: flex; justify-content: flex-end; align-items: flex-end; }
.rp-pp__head .rp-pp__badge { position: static; display: inline-block; padding: 7px 22px; font-size: 13px; line-height: 18px; }

/* v2.9.2 — badge au-dessus de l'image, alignements préservés :
   - cartes : ligne de badge de hauteur fixe ; les visuels intercalés (vidéo, photo) reçoivent le même décalage
     → le haut de toutes les images est au même niveau ;
   - fiche produit : le bloc achat reçoit le même décalage → le titre est au niveau du haut de l'image. */
:root { --rp-card-head: 24px; --rp-pp-head: 32px; }
.rp-card__head { height: var(--rp-card-head) !important; }
.rp-cards > li.rp-grid__visual { padding-top: var(--rp-card-head) !important; }
.rp-cards > li.rp-grid__visual video, .rp-cards > li.rp-grid__visual img { height: calc(100% - 0px); }
.rp-pp__head { height: var(--rp-pp-head) !important; }
@media (min-width: 922px) {
	.rp-pp__summary { padding-top: var(--rp-pp-head) !important; }
}
.rp-card__badge, .rp-pp__badge { overflow: visible; white-space: nowrap; }

/* v2.12 — accueil : tuiles des gammes */
.rp-tiles { display: grid; grid-template-columns: repeat(var(--rp-tiles, 5), minmax(0, 1fr)); gap: 0; margin: 0; }
.rp-tile { display: flex; flex-direction: column; text-decoration: none !important; color: #000 !important; }
.rp-tile__media { display: block; position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; background: #f2f2f2; }
.rp-tile__media video, .rp-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rp-tile:hover .rp-tile__media video, .rp-tile:hover .rp-tile__media img { transform: scale(1.04); }
.rp-tile__label { display: block; font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.1; margin: 14px 12px 2px; text-align: center; }
.rp-tile__cta { display: block; text-transform: uppercase; font-size: 13px; text-align: right; margin: 0 12px 10px; }
@media (max-width: 921px) {
	.rp-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.rp-tiles::-webkit-scrollbar { display: none; }
	.rp-tile { flex: 0 0 44%; scroll-snap-align: start; }
}

/* v2.12 — prix barré dans le bouton (packs en promotion) */
.rp-card__btn-price del { opacity: .75; font-weight: 400; margin-right: 6px; }
.rp-home-packs .rp-card__excerpt { max-width: 340px; }

/* v2.13 — tuiles : proportions et cadrage réglables (visuels verticaux recadrés) */
.rp-tile__media { aspect-ratio: var(--rp-tile-ratio, 1 / 1.05); }
.rp-tile__media video, .rp-tile__media img { object-position: var(--rp-tile-pos, center); }
.rp-intro__text p { margin: 0 0 1em; }

/* v2.14 — pages boutique */
.rp-archive__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 8px; }
.rp-archive__toolbar .woocommerce-result-count, .rp-archive__toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; font-size: 13px; }
.rp-archive__toolbar select.orderby { border: 2px solid #000; border-radius: 40px; padding: 8px 18px; font-size: 13px; background: #fff; }
.rp-archive .woocommerce-pagination { margin-top: 40px; text-align: center; }
.rp-archive .woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 6px; }
.rp-archive .woocommerce-pagination ul li { border: 0 !important; }
.rp-archive .woocommerce-pagination .page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #000; color: #000; }
.rp-archive .woocommerce-pagination .page-numbers.current { background: #000; color: #fff; }
.rp-hero--shop { margin-bottom: var(--rp-gap); }

/* v2.15 — Beauty looks better green + hero de pied de page */
.rp-green { margin: var(--rp-gap) 0 0; }
.rp-green__title { padding: 0 clamp(16px, 2vw, 24px); margin-bottom: 24px; }
.rp-green__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.rp-green__left { display: flex; flex-direction: column; }
.rp-green__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.rp-green__media video, .rp-green__media img, .rp-green__right video, .rp-green__right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-green__right { position: relative; overflow: hidden; min-height: 100%; }
.rp-green__right video, .rp-green__right img { position: absolute; inset: 0; }
.rp-green__text { padding: 28px clamp(16px, 2.5vw, 32px) 36px; font-size: 14px; line-height: 1.6; max-width: 520px; }
.rp-green__sub { font-weight: 700; text-transform: uppercase; margin: 0 0 .4em; }
.rp-green__text p { margin: 0 0 .6em; }
@media (max-width: 767px) {
	.rp-green__grid { grid-template-columns: 1fr; }
	.rp-green__right { aspect-ratio: 4 / 5; min-height: 0; }
}
.rp-hero--footer { margin-top: 0; }

/* v2.15.1 — visuel droit du bloc green recadré en carré (ne déborde plus) */
.rp-green__grid { align-items: start; }
.rp-green__right { aspect-ratio: 1 / 1; min-height: 0 !important; height: auto; position: relative; overflow: hidden; }
.rp-green__right video, .rp-green__right img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }

/* v2.16 — tuiles : titre en police de titre, gras, aligné à droite */
.rp-tile__label { text-align: right !important; font-weight: 900 !important; font-size: clamp(16px, 1.7vw, 24px) !important; margin: 14px 10px 0 !important; line-height: 1.05 !important; color: #000 !important; }
.rp-tile__cta { margin-top: 2px !important; font-size: 14px; }

/* v2.16 — prix barré dans le bouton du bloc achat */
.rp-btn__price del { opacity: .7; font-weight: 400; margin-right: 6px; }

/* v2.16 — packs : dans le bloc achat, on ne garde que le choix du cadeau (produits à variations) */
.rp-pp__cart .woosb-wrap .woosb-item-text,
.rp-pp__cart .woosb-wrap .woosb-text,
.rp-pp__cart .woosb-products > .woosb-product:not(.woosb-product-type-variable) { display: none !important; }
.rp-pp__cart .woosb-products { border: 0 !important; margin: 0 0 16px !important; }
.rp-pp__cart .woosb-alert { font-size: 12px; background: #fff7d6 !important; border: 0 !important; padding: 8px 12px !important; }

/* v2.16 — contenu du pack (pleine largeur) */
.rp-pack { margin: var(--rp-gap) 0; }
.rp-pack__title { margin: 0 0 20px; }
.rp-pack__group { margin: 0 0 28px; }
.rp-pack__gamme { font-weight: 800; text-transform: uppercase; font-size: 15px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid #000; }
.rp-pack__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 28px; }
.rp-pack__item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.rp-pack__thumb img { width: 40px; height: 40px; object-fit: cover; display: block; }
.rp-pack__qty { font-weight: 800; min-width: 30px; }
.rp-pack__name { flex: 1; text-transform: uppercase; }
.rp-pack__size { color: #666; font-size: 12px; white-space: nowrap; }
.rp-pack__gifts { display: grid; gap: 16px; margin: 6px 0 0; }
.rp-pack__gift { display: flex; align-items: center; gap: 24px; background: #fde8f2; padding: 20px 24px; }
.rp-pack__gift-img img { width: 140px; height: 140px; object-fit: cover; display: block; }
.rp-pack__gift-text { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.rp-pack__gift-badge { font-weight: 800; text-transform: uppercase; font-size: 12px; }
.rp-pack__gift-text strong { font-size: 20px; text-transform: uppercase; }
.rp-pack__gift-choice { font-size: 13px; color: #444; }
@media (max-width: 767px) { .rp-pack__gift { flex-direction: column; align-items: flex-start; } }

/* v2.17 — encadré « Votre cadeau offert » (maquette) dans le bloc achat des packs */
.rp-pp__cart .woosb-products > .woosb-product-type-variable {
	display: grid !important; grid-template-columns: 110px 1fr; gap: 6px 24px; align-items: center;
	background: #fde8f2 !important; padding: 16px 24px 20px !important; margin: 0 0 14px !important; border: 0 !important; text-align: right; position: relative;
}
.rp-pp__cart .woosb-product-type-variable::before { content: none !important; }
.rp-pp__cart .woosb-product-type-variable .woosb-thumb { grid-row: 1 / span 3; width: 110px !important; background: #fff; padding: 6px; }
.rp-pp__cart .woosb-product-type-variable .woosb-thumb img { width: 100% !important; height: 98px !important; object-fit: contain; display: block; margin: 0 !important; }
.rp-pp__cart .woosb-product-type-variable .woosb-title { font-weight: 400 !important; font-size: 13px; text-align: right; }
.rp-pp__cart .woosb-product-type-variable .woosb-title::before { content: "Votre cadeau offert"; display: block; font-weight: 800; text-transform: uppercase; font-size: 14px; margin-bottom: 2px; }
.rp-pp__cart .woosb-product-type-variable .woosb-title a { color: #000 !important; text-decoration: none !important; pointer-events: none; }
.rp-pp__cart .woosb-product-type-variable .woosb-price,
.rp-pp__cart .woosb-product-type-variable .reset_variations,
.rp-pp__cart .woosb-product-type-variable .label,
.rp-pp__cart .woosb-product-type-variable label,
.rp-pp__cart .woosb-product-type-variable [class*="swatch"],
.rp-pp__cart .woosb-product-type-variable .variable-items-wrapper,
.rp-pp__cart .woosb-product-type-variable [class*="cfvsw"] { display: none !important; }
.rp-pp__cart .woosb-product-type-variable .variations,
.rp-pp__cart .woosb-product-type-variable .variations_form,
.rp-pp__cart .woosb-product-type-variable .variation,
.rp-pp__cart .woosb-product-type-variable .select { display: block !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; width: 100%; }
.rp-pp__cart .woosb-product-type-variable .variations { position: relative; margin-top: 14px !important; }
.rp-pp__cart .woosb-product-type-variable .variations::before {
	content: "Sélectionner un cadeau"; position: absolute; top: -8px; right: 30px; z-index: 2; background: #fff; padding: 0 8px; font-size: 11px; line-height: 16px;
}
.rp-pp__cart .woosb-product-type-variable select {
	display: block !important; visibility: visible !important; opacity: 1 !important; position: static !important;
	width: 100% !important; max-width: 240px; margin: 0 0 0 auto !important; appearance: none; -webkit-appearance: none;
	border: 2px solid #000 !important; border-radius: 40px !important; background: #fff !important;
	padding: 14px 24px 12px !important; font-weight: 800; font-size: 15px; text-align: center; color: #000; cursor: pointer; height: auto !important;
}
@media (max-width: 767px) {
	.rp-pp__cart .woosb-products > .woosb-product-type-variable { grid-template-columns: 80px 1fr; padding: 14px !important; }
	.rp-pp__cart .woosb-product-type-variable .woosb-thumb { width: 80px !important; }
	.rp-pp__cart .woosb-product-type-variable .woosb-thumb img { height: 70px !important; }
}

/* v2.18 — encadré cadeau : sans cadre photo, hauteur alignée sur l'encart promo, pilule avec libellé sur le trait */
.rp-pp__cart .woosb-products > .woosb-product-type-variable { grid-template-columns: 90px 1fr !important; padding: 20px 28px !important; gap: 2px 24px !important; min-height: 130px; }
.rp-pp__cart .woosb-product-type-variable .woosb-thumb { width: 90px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rp-pp__cart .woosb-product-type-variable .woosb-thumb *, .rp-pp__cart .woosb-product-type-variable .woosb-thumb img { border: 0 !important; box-shadow: none !important; outline: 0 !important; }
.rp-pp__cart .woosb-product-type-variable .woosb-thumb img { width: 90px !important; height: 90px !important; object-fit: cover; }
.rp-pp__cart .woosb-product-type-variable .variations::before { content: none !important; }
.rp-pp__cart .woosb-product-type-variable .variations { margin-top: 10px !important; }
.rp-gift-hidden { display: none !important; }
.rp-gift-pill { position: relative; display: block; width: 100%; max-width: 240px; margin: 0 0 0 auto; padding-top: 8px; }
.rp-gift-pill__label { position: absolute; top: 0; right: 30px; z-index: 2; background: #fff; padding: 0 8px; font-size: 11px; line-height: 16px; white-space: nowrap; }
.rp-pp__cart .woosb-product-type-variable .rp-gift-pill select { max-width: none !important; width: 100% !important; padding: 11px 22px 9px !important; font-size: 14px; }

/* v2.19 — gamme réservée aux comptes débloqués */
.rp-card__btn--locked { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; }
.rp-locked { background: #fde8f2; padding: 18px 22px; text-align: right; }
.rp-locked p { margin: 0 0 12px; font-size: 13px; line-height: 1.5; }
.rp-locked__btn { display: inline-block; background: #000 !important; color: #fff !important; text-transform: uppercase; padding: 12px 26px !important; border-radius: 6px !important; font-size: 13px; }

/* v2.19.1 — nom de gamme des tuiles sur une seule ligne, taille adaptée à la largeur de la tuile */
.rp-tiles { container-type: inline-size; }
.rp-tile__label {
	white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
	font-size: clamp(13px, 1.35vw, 20px) !important; letter-spacing: -.01em;
}
@supports (font-size: 1cqi) {
	.rp-tile__label { font-size: clamp(13px, calc(100cqi / var(--rp-tiles, 5) * 0.075), 22px) !important; }
}
@media (max-width: 921px) { .rp-tile__label { font-size: 14px !important; } }

/* v2.22 — mention des lots sur la fiche produit */
.rp-lot-note { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; text-align: right; font-weight: 600; }

/* v2.23 — texte de présentation */
.rp-presentation__text { max-width: 900px; font-size: 15px; line-height: 1.7; color: #000; }
.rp-presentation__text p { margin: 0 0 1em; }

/* v2.23.1 — texte sous le titre d'une section de produits */
.rp-section__text { max-width: 760px; font-size: 15px; line-height: 1.6; margin: -4px 0 8px; color: #000; }

/* v2.23.2 — bloc green : titre et texte alignés sur le bord gauche de l'image */
.rp-green__title { padding-left: 0 !important; padding-right: 0 !important; }
.rp-green__text { padding-left: 0 !important; padding-right: 24px !important; }

/* v2.24.0 — liens gammes sur une seule ligne (défilement horizontal si l'écran est trop étroit) */
.rp-links { flex-wrap: nowrap !important; justify-content: space-between; gap: 1.5em !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rp-links::-webkit-scrollbar { display: none; }
.rp-links a { white-space: nowrap; flex: 0 0 auto; font-size: clamp(10px, .95vw, 12px); }
@media (max-width: 767px) { .rp-links { justify-content: flex-start; } }

/* v2.26.0 — visuel de galerie en grand format (2 colonnes, recadré au centre) */
.rp-grid .rp-cards { grid-auto-flow: row dense; }
.rp-cards > li.rp-grid__visual--wide { grid-column: span 2; }
.rp-cards > li.rp-grid__visual--wide video, .rp-cards > li.rp-grid__visual--wide img { object-fit: cover; object-position: center; }

/* v2.26.2 — grand format : le média ne fixe plus la hauteur de la ligne, il remplit la case et se recadre */
.rp-cards > li.rp-grid__visual--wide { position: relative; min-height: 320px; }
.rp-cards > li.rp-grid__visual--wide video,
.rp-cards > li.rp-grid__visual--wide img {
	position: absolute !important; top: var(--rp-card-head, 0); left: 0; right: 0; bottom: 0;
	width: 100% !important; height: auto !important; max-height: none !important; object-fit: cover; object-position: center;
}
@media (max-width: 921px) { .rp-cards > li.rp-grid__visual--wide { min-height: 0; aspect-ratio: 1 / 1; } }

/* v2.26.3 — une vidéo positionnée en absolu garde son ratio si sa hauteur est auto : hauteur explicite + débordement coupé */
.rp-cards > li.rp-grid__visual--wide { overflow: hidden !important; }
.rp-cards > li.rp-grid__visual--wide video,
.rp-cards > li.rp-grid__visual--wide img { bottom: auto; height: calc(100% - var(--rp-card-head, 0px)) !important; }

/* v2.27.2 — description de la fiche : paragraphes sans écart */
.rp-pp__excerpt p { margin: 0 !important; }

/* v2.27.3 — type de produit collé à la description (maquette) */
.rp-pp__baseline { margin: 0 !important; }
.rp-pp__excerpt { margin-top: 0 !important; }

/* v2.27.4 — galerie : l'image active occupe sa place dans la page (plus de chevauchement avec le texte
   quand la fiche n'a qu'une image, sans vignettes ni barre de progression) */
.rp-gal, .rp-gal__main { height: auto !important; }
.rp-gal__slide.is-active { position: relative !important; inset: auto; }
.rp-gal__slide.is-active img, .rp-gal__slide.is-active video { height: auto !important; aspect-ratio: 1 / 1; }
.rp-pp__gallery { margin-bottom: 16px; }

/* v2.30.1 — prix toujours sous « Ajouter au panier » (le thème du site particulier forçait l'affichage en ligne) */
.rp-card__btn, .rp-pp__cart .single_add_to_cart_button { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; }
.rp-card__btn-label, .rp-card__btn-price, .rp-btn__label, .rp-btn__price { display: block !important; width: 100%; text-align: center; }

/* v2.30.2 — bloc 2 visuels cliquable */
.rp-green__media a, .rp-green__right a { display: block; }
.rp-green__more a { font-weight: 700; text-transform: uppercase; font-size: 12px; text-decoration: underline; color: #000; }
