/**
 * Renov Recherche : champ, suggestions, surface mobile, page de resultats.
 * -----------------------------------------------------------------------------
 * Couleurs et rayons repris du catalogue (renov-parcours) : marine pour le
 * texte, corail pour l'accent, gris clair pour les separations. Contrastes AA
 * (texte corail en #CA4A3C, gris en #5B6178). Les variables du catalogue sont
 * utilisees quand elles existent, avec des valeurs de repli.
 */

.rr,
.rr-panneau,
.rr-dialogue {
	--rr-encre: var(--rn-encre, #1A1D3E);
	--rr-encre-2: var(--rn-encre-2, #3A4059);
	--rr-doux: var(--rn-doux, #5B6178);
	--rr-trait: var(--rn-trait, #E3E6ED);
	--rr-trait-fort: var(--rn-trait-fort, #CBD1DC);
	--rr-fond-2: var(--rn-fond-2, #F5F5F7);
	--rr-corail: var(--rn-corail-500, #E45444);
	--rr-corail-texte: var(--rn-corail-600, #CA4A3C);
	--rr-corail-fonce: var(--rn-corail-700, #B14135);
	--rr-corail-clair: var(--rn-corail-50, #FFF1EE);
	--rr-corail-bouton: var(--rn-corail-400, #FD604F);
	/* Bouton de recherche (demande du 13/10/2026) : fond #D74512, survol
	   #FF7B4D, texte blanc. Contraste du texte blanc : 4,4:1 au repos,
	   2,6:1 au survol (voir rapport). */
	--rr-recherche-fond: #D74512;
	--rr-recherche-survol: #FF7B4D;
	--rr-recherche-texte: #FFFFFF;
	--rr-vert: var(--rn-vert, #0E7C4A);
	--rr-vert-clair: var(--rn-vert-50, #E8F6EF);
	--rr-ambre: var(--rn-ambre, #8A5209);
	--rr-ambre-clair: var(--rn-ambre-50, #FDF3E4);
	--rr-rayon: 12px;
	--rr-ombre: 0 18px 40px -12px rgba(26, 29, 62, .28), 0 4px 12px rgba(26, 29, 62, .08);
	font-family: inherit;
	color: var(--rr-encre);
}

.rr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===================================================================
 * Le champ
 * ================================================================ */

.rr {
	position: relative;
	width: 100%;
	text-align: left;
}

.rr-form {
	margin: 0;
	width: 100%;
}

.rr-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: inherit;
}

.rr-champ {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	padding: 0 4px 0 14px;
	background: #fff;
	border: 1.5px solid var(--rr-trait-fort);
	border-radius: var(--rr-rayon);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.rr-champ:focus-within {
	border-color: var(--rr-encre);
	box-shadow: 0 0 0 3px rgba(26, 29, 62, .14);
}

.rr-loupe {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--rr-doux);
}

.rr .rr-input,
.rr .rr-input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 6px;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	outline: 0;
	font: inherit;
	font-size: 16px; /* 16 px : iOS ne zoome pas au focus. */
	line-height: 1.2;
	color: var(--rr-encre);
	-webkit-appearance: none;
	appearance: none;
}

.rr .rr-input::placeholder {
	color: var(--rr-doux);
	opacity: 1;
}

.rr .rr-input::-webkit-search-cancel-button,
.rr .rr-input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.rr-effacer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--rr-doux);
	cursor: pointer;
}

.rr-effacer:hover { background: var(--rr-fond-2); color: var(--rr-encre); }
.rr-effacer[hidden] { display: none; }

.rr-valider {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	height: 40px;
	min-width: 44px;
	margin: 0;
	padding: 0 18px;
	background: var(--rr-recherche-fond);
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--rr-recherche-texte);
	cursor: pointer;
	transition: background-color .15s ease;
}

.rr-valider:hover { background: var(--rr-recherche-survol); color: var(--rr-recherche-texte); }

.rr-valider .rr-icone { flex: 0 0 auto; }

.rr-effacer:focus-visible,
.rr-valider:focus-visible,
.rr-ouvrir:focus-visible,
.rr-dialogue-fermer:focus-visible,
.rr-lien:focus-visible,
.rr-btn-relancer:focus-visible,
.rr-vue:focus-visible,
.rr-onglet:focus-visible {
	outline: 3px solid var(--rr-encre);
	outline-offset: 2px;
}

.rr.is-chargement .rr-loupe {
	animation: rr-pulse 1s ease-in-out infinite;
}


/* Les boutons du theme ont leurs propres styles (fond corail, majuscules,
   ombres) : les notres les neutralisent explicitement. */
.rr button,
.rr-panneau button,
.rr-dialogue button,
button.rr-ouvrir,
.rr-vues button {
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	line-height: 1.2 !important;
	min-height: 0;
	width: auto;
}

.rr button.rr-effacer {
	background: transparent !important;
	color: var(--rr-doux) !important;
	padding: 0 !important;
	width: 40px;
}

.rr button.rr-effacer:hover { background: var(--rr-fond-2) !important; color: var(--rr-encre) !important; }

.rr button.rr-valider { background: var(--rr-recherche-fond) !important; color: var(--rr-recherche-texte) !important; }
.rr button.rr-valider:hover { background: var(--rr-recherche-survol) !important; color: var(--rr-recherche-texte) !important; }
.rr button.rr-valider svg,
button.rr-ouvrir svg { fill: currentColor; color: inherit; }

/* Focus clavier visible sur fond clair comme sur l'image de l'accueil :
   anneau sombre separe du bouton par un liseré blanc. */
.rr button.rr-valider:focus-visible,
button.rr-ouvrir:focus-visible {
	outline: 3px solid var(--rr-encre) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff !important;
}
.rr-dialogue button.rr-dialogue-fermer { background: var(--rr-fond-2) !important; color: var(--rr-encre) !important; }
.rr-vues button.rr-vue { background: #fff !important; color: var(--rn-doux, #5B6178) !important; }
.rr-vues button.rr-vue[aria-pressed="true"] { background: var(--rn-encre, #1A1D3E) !important; color: #fff !important; }
button.rr-ouvrir { background: var(--rr-recherche-fond, #D74512) !important; color: var(--rr-recherche-texte, #fff) !important; padding: 0 !important; }
button.rr-ouvrir:hover { background: var(--rr-recherche-survol, #FF7B4D) !important; color: var(--rr-recherche-texte, #fff) !important; }
.rr-panneau button.rr-lien,
.rr-panneau button.rr-btn-relancer { background: transparent !important; color: var(--rr-encre) !important; }

/* Variantes ---------------------------------------------------------- */

.rr--entete .rr-champ {
	background: var(--rr-corail-clair);
	border-color: transparent;
}

.rr--entete .rr-champ:focus-within { background: #fff; }

.rr--accueil .rr-label { color: inherit; }

.rr--accueil .rr-champ {
	height: 60px;
	padding-left: 18px;
	border-color: transparent;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35);
}

.rr--accueil .rr-valider {
	height: 48px;
	padding: 0 22px;
}

.rr--page .rr-champ { height: 52px; }

.rr--menu .rr-champ { height: 46px; }
.rr--menu .rr-valider-txt { display: none; }

.rr--mobile .rr-champ { height: 50px; }
.rr--mobile .rr-valider-txt { display: none; }

@media (max-width: 1200px) {
	.rr--entete .rr-valider-txt { display: none; }
	.rr--entete .rr-valider { padding: 0 12px; }
}

@media (max-width: 599px) {
	.rr--accueil .rr-valider-txt,
	.rr--page .rr-valider-txt { display: none; }
	.rr--accueil .rr-valider,
	.rr--page .rr-valider { padding: 0 14px; }
}

/* ===================================================================
 * Le panneau de suggestions
 * ================================================================ */

.rr-panneau {
	background: #fff;
	color: var(--rr-encre);
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
}

.rr-panneau[hidden] { display: none !important; }

.rr-panneau--flottant {
	position: fixed;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--rr-trait);
	border-radius: 14px;
	box-shadow: var(--rr-ombre);
}

.rr-liste {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px;
	-webkit-overflow-scrolling: touch;
}

.rr-panneau.is-chargement .rr-groupe { opacity: .55; transition: opacity .2s ease .15s; }

.rr-groupe + .rr-groupe {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid var(--rr-trait);
}

.rr-groupe-titre {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px 4px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rr-doux);
}

.rr-groupe-compte {
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	font-variant-numeric: tabular-nums;
}

/* Options ------------------------------------------------------------ */

.rr-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--rr-encre) !important;
	text-decoration: none !important;
	cursor: pointer;
}

.rr-opt:hover,
.rr-opt.is-actif {
	background: var(--rr-corail-clair);
}

/* L'option courante au clavier se voit aussi par un contour discret et neutre. */
.rr-opt.is-actif {
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12);
}

.rr-opt mark {
	padding: 0;
	background: transparent;
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(228, 84, 68, .55);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.rr-vignette {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--rr-trait);
	border-radius: 8px;
}

.rr-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 3px;
	object-fit: contain;
}

.rr-vignette-vide {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(-45deg, var(--rr-fond-2) 0 7px, #EEF0F4 7px 14px);
}

.rr-opt-corps {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1 1 auto;
	min-width: 0;
}

.rr-opt-titre {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.rr-opt-option {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--rr-corail-texte);
}

.rr-opt-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 12px;
	color: var(--rr-doux);
}

.rr-ref {
	font-weight: 600;
	letter-spacing: .03em;
	font-variant-numeric: tabular-nums;
	color: var(--rr-encre-2);
}

.rr-ref mark { text-decoration: none; background: #FFF4C7; border-radius: 3px; padding: 0 2px; }

.rr-stock {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
}

.rr-stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.rr-stock--ok { color: var(--rr-vert); }
.rr-stock--ko { color: var(--rr-ambre); }

.rr-compat { color: var(--rr-doux); }

.rr-lot {
	padding: 0 6px;
	border-radius: 999px;
	background: var(--rr-encre);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.6;
}

/* Prix : calcule par renov-pricing, pose quand il arrive. */
.rr-prix {
	flex: 0 0 auto;
	min-width: 84px;
	max-width: 150px;
	text-align: right;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--rr-encre);
}

.rr-prix.is-vide { min-width: 0; }

.rr-prix .rp-prices,
.rr-prix .rp-line { display: block; }
.rr-prix .rp-line + .rp-line { margin-top: 2px; }
.rr-prix .rp-label { display: block; font-size: 10.5px; font-weight: 500; color: var(--rr-doux); }
.rr-prix .rp-line:not(.rp-active) { font-weight: 600; color: var(--rr-encre-2); }
.rr-prix del { color: var(--rr-doux); font-weight: 500; }
.rr-prix ins { text-decoration: none; }
.rr-prix small,
.rr-prix .tax_label { font-size: 10px; font-weight: 500; color: var(--rr-doux); }

.rr-prix-attente {
	display: inline-block;
	width: 64px;
	height: 14px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--rr-fond-2) 25%, #EEF0F4 37%, var(--rr-fond-2) 63%);
	background-size: 400% 100%;
	animation: rr-brille 1.4s ease infinite;
}

/* Options simples : categories, contenus, recentes */
.rr-opt--simple { min-height: 40px; padding: 8px 10px; }

.rr-opt-texte {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rr-opt-parent { color: var(--rr-doux); font-weight: 400; }

.rr-opt-n,
.rr-opt-type {
	flex: 0 0 auto;
	font-size: 12px;
	color: var(--rr-doux);
	font-variant-numeric: tabular-nums;
}

.rr-ico-hist,
.rr-ico-loupe,
.rr-ico-dossier,
.rr-ico-doc {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: var(--rr-doux);
	-webkit-mask: var(--rr-masque) center / contain no-repeat;
	mask: var(--rr-masque) center / contain no-repeat;
}

.rr-ico-hist { --rr-masque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 1-8.95 10h2.02A7 7 0 1 0 7.05 7.05L9 9H3V3l2.64 2.64A8.96 8.96 0 0 1 12 3Zm1 4v5l4 2.4-.75 1.23L11 13V7h2Z'/%3E%3C/svg%3E"); }
.rr-ico-loupe { --rr-masque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.96 12.05l4.25 4.24-1.42 1.42-4.24-4.25A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E"); }
.rr-ico-dossier { --rr-masque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h7l2 2h9v12H3V5Zm2 4v8h14V9H5Z'/%3E%3C/svg%3E"); }
.rr-ico-doc { --rr-masque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v14H6V2Zm2 2v16h10V9h-5V4H8Zm2 9h6v2h-6v-2Zm0 4h6v2h-6v-2Z'/%3E%3C/svg%3E"); }

.rr-opt--tous {
	justify-content: center;
	min-height: 46px;
	font-weight: 700;
	color: var(--rr-corail-texte) !important;
}

.rr-groupe--tous { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--rr-trait); }

/* Notes et etats ---------------------------------------------------- */

.rr-note {
	margin: 4px 4px 6px;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--rr-ambre-clair);
	color: var(--rr-ambre);
	font-size: 13px;
	line-height: 1.4;
}

.rr-etat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 14px 12px;
	font-size: 14px;
	color: var(--rr-encre-2);
}

.rr-etat strong { color: var(--rr-encre); font-size: 14.5px; }
.rr-etat a { color: var(--rr-corail-texte); font-weight: 600; }

.rr-etat--chargement {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: var(--rr-doux);
}

.rr-roue {
	width: 18px;
	height: 18px;
	border: 2px solid var(--rr-trait-fort);
	border-top-color: var(--rr-corail);
	border-radius: 50%;
	animation: rr-tourne .7s linear infinite;
}

.rr-etat--erreur strong { color: var(--rr-corail-fonce); }

.rr-btn-relancer,
.rr-lien {
	margin: 0;
	padding: 8px 12px;
	background: transparent;
	border: 1.5px solid var(--rr-trait-fort);
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--rr-encre);
	cursor: pointer;
}

.rr-pied {
	display: flex;
	justify-content: flex-end;
	padding: 6px 10px 8px;
	border-top: 1px solid var(--rr-trait);
}

.rr-pied .rr-lien { border: 0; padding: 6px 8px; color: var(--rr-doux); text-decoration: underline; }

/* Petits ecrans : le prix passe sous le titre. */
@media (max-width: 479px) {
	.rr-opt--produit { flex-wrap: wrap; align-items: flex-start; }
	.rr-opt--produit .rr-opt-corps { flex-basis: calc(100% - 68px); }
	.rr-opt--produit .rr-prix { flex-basis: 100%; max-width: none; margin-left: 68px; text-align: left; }
	.rr-opt--produit .rr-prix .rp-line { display: inline-block; margin-right: 10px; }
	.rr-opt--produit .rr-prix .rp-label { display: inline; }
}

/* ===================================================================
 * Surface mobile
 * ================================================================ */

.rr-ouvrir-li { list-style: none; }

.rr-ouvrir {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	background: var(--rn-corail-50, #FFF1EE);
	border: 0;
	border-radius: 999px;
	color: var(--rn-encre, #1A1D3E);
	cursor: pointer;
}

@media (max-width: 1024px) {
	.rr-ouvrir { display: inline-flex; }
	.nikstore-header_icon_set_ul:has(.rr-ouvrir) { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
	/* L'en-tete mobile garde le menu, la loupe et le panier sur une ligne. */
	.d_flex_cart:has(.rr-ouvrir) { flex-wrap: nowrap !important; gap: 10px !important; }
}

@media (max-width: 400px) {
	button.rr-ouvrir { width: 40px; height: 40px; }
}

html.rr-verrou,
html.rr-verrou body { overflow: hidden !important; }

.rr-dialogue {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	height: var(--rr-hauteur, 100vh);
	height: var(--rr-hauteur, 100dvh);
	padding: env(safe-area-inset-top, 0) 0 0;
	background: #fff;
}

.rr-dialogue[hidden] { display: none !important; }

.rr-dialogue-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 6px 16px;
}

.rr-dialogue .rr-dialogue-titre {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--rr-encre);
}

.rr-dialogue-fermer {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	background: var(--rr-fond-2);
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--rr-encre);
	cursor: pointer;
}

.rr-dialogue .rr--mobile {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.rr-dialogue .rr--mobile .rr-form {
	position: sticky;
	top: 0;
	padding: 4px 12px 10px;
	background: #fff;
	border-bottom: 1px solid var(--rr-trait);
}

.rr-dialogue .rr--mobile .rr-panneau {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.rr-dialogue .rr-liste { padding: 6px 8px 24px; }
.rr-dialogue .rr-opt { min-height: 52px; }

/* ===================================================================
 * Page de resultats
 * ================================================================ */

.rr-entete .rr {
	max-width: 760px;
	margin-top: 14px;
}

.rr-titre { overflow-wrap: anywhere; }
.rr-titre-q { color: var(--rn-corail-600, #CA4A3C); }

.rr-avis {
	max-width: 760px;
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--rn-ambre-50, #FDF3E4);
	color: var(--rn-ambre, #8A5209);
	font-size: 14px;
	line-height: 1.45;
}

.rr-avis a { color: inherit; font-weight: 700; text-decoration: underline; }

.rr-onglets {
	display: flex;
	gap: 4px;
	margin-top: 18px;
	border-bottom: 1px solid var(--rn-trait, #E3E6ED);
}

.rr-onglet {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	margin-bottom: -1px;
	border-bottom: 3px solid transparent;
	font-weight: 600;
	color: var(--rn-doux, #5B6178) !important;
	text-decoration: none !important;
}

.rr-onglet.is-actif {
	border-bottom-color: var(--rn-corail-500, #E45444);
	color: var(--rn-encre, #1A1D3E) !important;
}

.rr-onglet-n {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--rn-fond-2, #F5F5F7);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.rr-onglet-contenus .rn-filtres,
.rr-onglet-contenus .rn-barre,
.rr-onglet-contenus .rn-fond { display: none !important; }

.rr-onglet-contenus .rn-corps { grid-template-columns: minmax(0, 1fr) !important; }

/* Option de gamme trouvee, sur la carte */
.rr-option {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rn-corail-600, #CA4A3C);
}

.rr-option-lib {
	display: inline-block;
	margin-right: 4px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--rn-corail-50, #FFF1EE);
	font-size: 11px;
}

.rr-option--lot { color: var(--rn-doux, #5B6178); }

.rr-option--ref { margin: 2px 0 4px; }

/* Reference exacte : contour sombre, pour se distinguer du « Kit complet »
   plein et du stock en vert, sans ajouter de couleur. */
.rr-badge-ref {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0 7px 0 5px;
	border: 1px solid var(--rr-encre, var(--rn-encre, #1B1F3B));
	border-radius: 999px;
	color: var(--rr-encre, var(--rn-encre, #1B1F3B));
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.rr-badge-ref::before {
	content: "";
	width: 9px;
	height: 5px;
	margin-top: -2px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}

/* Grille / liste */
.rr-vues {
	display: inline-flex;
	margin-right: 12px;
	border: 1px solid var(--rn-trait-fort, #CBD1DC);
	border-radius: 8px;
	overflow: hidden;
	vertical-align: middle;
}

.rr-vue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 38px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 0;
	color: var(--rn-doux, #5B6178);
	cursor: pointer;
}

.rr-vue + .rr-vue { border-left: 1px solid var(--rn-trait-fort, #CBD1DC) !important; }

.rn-barre-d { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

@media (max-width: 767px) {
	.rr-vues { display: none; }
}

@media (min-width: 768px) {

	html.rr-vue-liste .rn-catalogue .rn-grille {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	html.rr-vue-liste .rn-catalogue .rn-carte {
		flex-direction: row !important;
		align-items: center;
		gap: 18px;
		padding: 12px 16px;
	}

	html.rr-vue-liste .rn-catalogue .rn-carte-vignette {
		flex: 0 0 88px !important;
		width: 88px !important;
	}

	html.rr-vue-liste .rn-catalogue .rn-carte-corps {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 250px;
		grid-auto-rows: auto;
		column-gap: 24px;
		row-gap: 2px;
		align-items: start;
	}

	html.rr-vue-liste .rn-catalogue .rn-carte-corps > :not(.rn-carte-pied) { grid-column: 1; }

	html.rr-vue-liste .rn-catalogue .rn-carte-pied {
		grid-column: 2;
		grid-row: 1 / span 6;
		align-self: center;
		margin: 0 !important;
	}

	html.rr-vue-liste .rn-catalogue .rn-carte-titre { font-size: 15px; }
}

/* Contenus techniques */
.rr-contenus {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rr-contenu-lien {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	height: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--rn-trait, #E3E6ED);
	border-radius: 12px;
	color: var(--rn-encre, #1A1D3E) !important;
	text-decoration: none !important;
}

.rr-contenu-lien:hover { border-color: var(--rn-trait-fort, #CBD1DC); box-shadow: 0 8px 18px -6px rgba(26, 29, 62, .18); }

.rr-contenu-img {
	grid-row: 1 / span 2;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
}

.rr-contenu-type { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--rn-corail-600, #CA4A3C); }
.rr-contenu-titre { font-weight: 600; line-height: 1.3; }

/* Aucun resultat */
.rr-vide {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 760px;
	padding: 24px 0 32px;
}

.rr-vide h2 { margin: 0; font-size: 20px; color: var(--rn-encre, #1A1D3E); }
.rr-vide p { margin: 0; color: var(--rn-encre-2, #3A4059); }
.rr-vide-suggestion a { font-weight: 700; color: var(--rn-corail-600, #CA4A3C); }
.rr-vide-bloc { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rn-trait, #E3E6ED); }
.rr-vide-bloc h3 { margin: 0 0 8px; font-size: 15px; color: var(--rn-encre, #1A1D3E); }
.rr-vide-note { font-size: 13px; color: var(--rn-doux, #5B6178) !important; }
.rr-vide-liste { margin: 8px 0 0; padding: 0; list-style: none; }
.rr-vide-liste li + li { margin-top: 6px; }
.rr-vide-ref { font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 6px; }
.rr-vide-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rr-vide-cats a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1.5px solid var(--rn-trait-fort, #CBD1DC);
	border-radius: 999px;
	font-weight: 600;
	color: var(--rn-encre, #1A1D3E) !important;
	text-decoration: none !important;
}
.rr-vide-cats a:hover { border-color: var(--rn-encre, #1A1D3E); }
.rr-vide-sans { font-weight: 500; color: var(--rn-doux, #5B6178); margin-left: 4px; }
.rr-vide-contact a { font-weight: 700; color: var(--rn-corail-600, #CA4A3C); }

/* Accueil : le conteneur du theme garde sa largeur */
.renov-el-hero__search.rr-hote { display: block; width: 100%; max-width: 640px; }
.renov-el-hero__search.rr-hote .rr-label { color: #fff; }

/* ===================================================================
 * Animations
 * ================================================================ */

@keyframes rr-tourne { to { transform: rotate(360deg); } }
@keyframes rr-pulse { 50% { opacity: .35; } }
@keyframes rr-brille { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (prefers-reduced-motion: reduce) {
	.rr-roue,
	.rr-prix-attente,
	.rr.is-chargement .rr-loupe { animation: none; }
	.rr-panneau.is-chargement .rr-groupe { transition: none; }
}
