/* Habillage piste A (Coq, 16/10/2026) : commentaires « Avis en cartes » et pied de page « Bandeau ».
   Mise en forme seule, sous body.rxh : sans la classe (mode aperçu sans le lien), rien ne change. */
body.rxh {
	--rxh-encre: #191919;
	--rxh-texte: #2b2421;
	--rxh-doux: #5b4d47;
	--rxh-brun: #4b3028;
	--rxh-sable: #c99b7c;
	--rxh-peche: #f6e0cc;
	--rxh-filet: #efe2d6;
	--rxh-or: #b7791f;
	--rxh-vide: #9c7a66;
	--rxh-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
	--rxh-serif: "Jomolhari", Georgia, "Times New Roman", serif;
}

/* ===== Commentaires ===== */
body.rxh .block-comments-roxane .grid { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 24px; }
body.rxh .block-comments-roxane .grid > * { min-width: 0; margin: 0 !important; }
body.rxh .block-comments-roxane .grid_title { grid-column: 1; grid-row: 1; }
body.rxh .block-comments-roxane .grid_action { grid-column: 2; grid-row: 1; display: flex !important; justify-content: flex-end; }
body.rxh .block-comments-roxane .grid_comments_wrapper { grid-column: 1 / -1; grid-row: 2; margin-top: 10px !important; }
body.rxh .block-comments-roxane.rxh-a-note .subgrid_total { display: none !important; }

/* Note moyenne sous le titre */
body.rxh .rxh-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0; font: 400 15px/1.3 var(--rxh-sans); color: var(--rxh-texte); }
body.rxh .rxh-note strong { font-size: 18px; font-weight: 600; }
body.rxh .rxh-etoiles { position: relative; display: inline-block; line-height: 0; }
body.rxh .rxh-etoiles span { display: inline-flex; gap: 2px; }
body.rxh .rxh-etoiles svg { width: 18px; height: 18px; flex: none; }
body.rxh .rxh-etoiles .rxh-fond { color: var(--rxh-vide); }
body.rxh .rxh-etoiles .rxh-plein { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--rxh-or); }

/* Bouton d'action plein, le compteur disparaît (la note le remplace) */
body.rxh .block-comments-roxane .js-open-comment-modal { background: var(--rxh-brun) !important; border-color: var(--rxh-brun) !important; color: #fff !important; }
body.rxh .block-comments-roxane .js-open-comment-modal .btn_title { color: #fff !important; }
body.rxh .block-comments-roxane .js-open-comment-modal:hover,
body.rxh .block-comments-roxane .js-open-comment-modal:focus-visible { background: #2f1d17 !important; border-color: #2f1d17 !important; }

/* Avis en cartes, deux par ligne sur ordinateur */
body.rxh .block-comments-roxane .grid_comments { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.rxh .block-comments-roxane .comment-card { min-width: 0; margin: 0 !important; padding: 20px 22px !important; border: 0 !important; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--rxh-filet), 0 6px 20px rgba(75, 48, 40, .06); }
body.rxh .block-comments-roxane .comment-card::after { display: none !important; } /* filet de séparation du thème */
body.rxh .block-comments-roxane .comment-card .author-meta { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av nom etoiles" "av date etoiles"; align-items: center; column-gap: 12px; margin: 0 !important; }
body.rxh .block-comments-roxane .comment-card .rxh-av { grid-area: av; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--rxh-peche); color: var(--rxh-brun); font: 600 15px/1 var(--rxh-sans); }
body.rxh .block-comments-roxane .comment-card .author-meta strong { grid-area: nom; min-width: 0; overflow-wrap: anywhere; font: 600 15px/1.3 var(--rxh-sans) !important; color: var(--rxh-texte) !important; }
body.rxh .block-comments-roxane .comment-card .author-meta small { grid-area: date; font: 400 13px/1.3 var(--rxh-sans) !important; color: var(--rxh-doux) !important; margin: 0 !important; }
body.rxh .block-comments-roxane .comment-card .star-rating { grid-area: etoiles; display: inline-flex !important; gap: 2px; margin: 0 !important; }
body.rxh .block-comments-roxane .comment-card .star-rating .star { display: inline-flex; color: var(--rxh-or) !important; }
body.rxh .block-comments-roxane .comment-card .star-rating .star.empty { color: var(--rxh-vide) !important; }
body.rxh .block-comments-roxane .comment-card .star-rating svg { width: 16px !important; height: 16px !important; fill: currentColor !important; }
body.rxh .block-comments-roxane .comment-card .editor { margin-top: 10px !important; }
body.rxh .block-comments-roxane .comment-card .editor,
body.rxh .block-comments-roxane .comment-card .editor p { font: 400 15px/1.6 var(--rxh-sans) !important; color: var(--rxh-texte) !important; overflow-wrap: anywhere; }
body.rxh .block-comments-roxane .comment-card .editor p { margin: 0 0 6px !important; }
body.rxh .block-comments-roxane .comment-card .editor p:last-child { margin-bottom: 0 !important; }
body.rxh .block-comments-roxane .grid_comments > .no-comments { grid-column: 1 / -1; margin: 0 !important; font: 400 15px/1.6 var(--rxh-sans); color: var(--rxh-texte); }
body.rxh .block-comments-roxane .load-more-container { margin-top: 26px !important; text-align: center; }

@media (max-width: 767px) {
	body.rxh .block-comments-roxane .grid { grid-template-columns: minmax(0, 1fr); }
	body.rxh .block-comments-roxane .grid_action { grid-column: 1; grid-row: 2; justify-content: stretch; }
	body.rxh .block-comments-roxane .grid_action .subgrid_add,
	body.rxh .block-comments-roxane .grid_action .js-open-comment-modal { width: 100%; }
	body.rxh .block-comments-roxane .grid_comments_wrapper { grid-row: 3; }
	body.rxh .block-comments-roxane .grid_comments { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	body.rxh .block-comments-roxane .comment-card { padding: 16px 18px !important; }
}

/* ===== Pied de page : la newsletter en bandeau, les réseaux nommés en dessous ===== */
body.rxh .block-pre-footer-roxane { background: var(--rxh-peche) !important; padding: 40px 0 !important; margin: 0 !important; }
body.rxh .block-pre-footer-roxane .grid { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0; }
body.rxh .block-pre-footer-roxane .grid > * { min-width: 0; margin: 0 !important; padding: 0 !important; background: none !important; min-height: 0 !important; height: auto !important; aspect-ratio: auto !important; }
body.rxh .block-pre-footer-roxane .grid_newsletter { order: 1; display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "titre form" "texte form"; column-gap: 56px; align-items: center; text-align: left !important; }
body.rxh .block-pre-footer-roxane .grid_newsletter .subtitle { grid-area: titre; align-self: end; margin: 0 !important; font: 400 34px/1.1 var(--rxh-serif) !important; color: var(--rxh-encre) !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left !important; }
body.rxh .block-pre-footer-roxane .grid_newsletter .editor { grid-area: texte; align-self: start; margin: 8px 0 0 !important; text-align: left !important; }
body.rxh .block-pre-footer-roxane .grid_newsletter .editor p { margin: 0 !important; font: 400 15px/1.55 var(--rxh-sans) !important; color: var(--rxh-texte) !important; }
body.rxh .block-pre-footer-roxane .grid_newsletter .shortcode { grid-area: form; margin: 0 !important; width: 100%; max-width: none !important; }
body.rxh .block-pre-footer-roxane .sib_signup_form { margin: 0 !important; }
body.rxh .block-pre-footer-roxane div.sib-email-area.form-group { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "champ bouton" "accord accord"; gap: 12px 8px; margin: 0 !important; }
body.rxh .block-pre-footer-roxane input.sib-email-area { grid-area: champ; width: 100% !important; height: 48px !important; margin: 0 !important; padding: 0 18px !important; border: 1px solid var(--rxh-sable) !important; border-radius: 99px !important; background: #fff !important; font: 400 16px var(--rxh-sans) !important; color: var(--rxh-texte) !important; -webkit-appearance: none; appearance: none; box-shadow: none !important; }
body.rxh .block-pre-footer-roxane input.sib-email-area::placeholder { color: #6f5f57 !important; opacity: 1; }
body.rxh .block-pre-footer-roxane .form-action { grid-area: bouton; margin: 0 !important; }
body.rxh .block-pre-footer-roxane .form-action input[type="submit"] { height: 48px !important; min-height: 48px; margin: 0 !important; padding: 0 26px !important; border-radius: 99px !important; border: 1px solid var(--rxh-brun) !important; background: var(--rxh-brun) !important; color: #fff !important; font: 500 14px/1 var(--rxh-sans) !important; cursor: pointer; -webkit-appearance: none; appearance: none; }
body.rxh .block-pre-footer-roxane .form-action input[type="submit"]:hover,
body.rxh .block-pre-footer-roxane .form-action input[type="submit"]:focus-visible { background: #2f1d17 !important; }
body.rxh .block-pre-footer-roxane .custom-checkbox { grid-area: accord; margin: 0 !important; text-align: left !important; }
body.rxh .block-pre-footer-roxane .custom-checkbox span { font-size: 12.5px !important; line-height: 1.5 !important; color: var(--rxh-doux) !important; }
body.rxh .block-pre-footer-roxane .custom-checkbox a { color: var(--rxh-texte) !important; text-decoration: underline; }

body.rxh .block-pre-footer-roxane .grid_socials { order: 2; display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-start !important; align-items: center !important; text-align: left !important; gap: 12px 18px; margin-top: 26px !important; padding-top: 22px !important; border-top: 1px solid rgba(75, 48, 40, .15); }
body.rxh .block-pre-footer-roxane .grid_socials .title { margin: 0 !important; font: 500 15px/1.4 var(--rxh-sans) !important; color: var(--rxh-texte) !important; text-transform: none !important; letter-spacing: 0 !important; }
body.rxh .block-pre-footer-roxane .socials-list { display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 10px; margin: 0 !important; }
body.rxh .block-pre-footer-roxane .socials-list_item { display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; height: 44px !important; min-height: 44px; padding: 0 16px !important; margin: 0 !important; border: 1px solid var(--rxh-sable) !important; border-radius: 99px !important; background: #fff !important; color: var(--rxh-encre) !important; text-decoration: none !important; font: 500 14px/1 var(--rxh-sans); }
body.rxh .block-pre-footer-roxane .socials-list_item svg { width: 18px !important; height: 18px !important; flex: none; }
body.rxh .block-pre-footer-roxane .socials-list_item[href*="youtube"]::after { content: "YouTube"; }
body.rxh .block-pre-footer-roxane .socials-list_item[href*="facebook"]::after { content: "Facebook"; }
body.rxh .block-pre-footer-roxane .socials-list_item[href*="instagram"]::after { content: "Instagram"; }
body.rxh .block-pre-footer-roxane .socials-list_item[href*="tiktok"]::after { content: "TikTok"; }
body.rxh .block-pre-footer-roxane .socials-list_item:hover,
body.rxh .block-pre-footer-roxane .socials-list_item:focus-visible { border-color: var(--rxh-brun) !important; }

@media (max-width: 899px) {
	body.rxh .block-pre-footer-roxane { padding: 32px 0 !important; }
	body.rxh .block-pre-footer-roxane .grid_newsletter { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titre" "texte" "form"; }
	body.rxh .block-pre-footer-roxane .grid_newsletter .subtitle { font-size: 28px !important; }
	body.rxh .block-pre-footer-roxane .grid_newsletter .shortcode { margin-top: 18px !important; }
}
@media (max-width: 480px) {
	body.rxh .block-pre-footer-roxane div.sib-email-area.form-group { grid-template-columns: minmax(0, 1fr); grid-template-areas: "champ" "bouton" "accord"; }
	body.rxh .block-pre-footer-roxane .form-action input[type="submit"] { width: 100% !important; }
}
