/* Fenêtre de consentement : en bas à gauche, discrète. Aucun bouton flottant : on la rouvre avec le lien « Cookies » du pied de page. */
.rs-cookies {
	position: fixed; left: 1rem; bottom: 1rem; z-index: 1000;
	display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem;
	box-sizing: border-box; max-width: 34rem; padding: 1rem 1.2rem;
	background: #fff; color: #111; border: 1px solid var(--wp--preset--color--accent-1, #B01828); border-radius: 4px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35); font-size: .95rem; line-height: 1.45;
}
.rs-cookies[hidden] { display: none; }
/* Petit cookie dessiné (SVG intégré), dans la fenêtre. */
.rs-cookies__icon {
	flex: 0 0 auto; width: 2.4rem; height: 2.4rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4a28 28 0 1 0 28 28 12 12 0 0 1-12-12 12 12 0 0 1-12-12 4 4 0 0 0-4-4z' fill='%23d9953b' stroke='%237a4a14' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='22' cy='24' r='4' fill='%237a4a14'/%3E%3Ccircle cx='24' cy='42' r='4.5' fill='%237a4a14'/%3E%3Ccircle cx='40' cy='44' r='3.5' fill='%237a4a14'/%3E%3Ccircle cx='38' cy='28' r='3' fill='%237a4a14'/%3E%3Ccircle cx='13' cy='36' r='2.5' fill='%237a4a14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rs-cookies__text { flex: 1 1 14rem; margin: 0; }
.rs-cookies__text a { color: var(--wp--preset--color--accent-1, #B01828); }
.rs-cookies__btns { display: flex; gap: .6rem; flex: 0 0 auto; }
.rs-cookies__btn {
	cursor: pointer; font: inherit; font-weight: 700; padding: .5rem 1.1rem; border-radius: 3px;
	color: #fff; background: var(--wp--preset--color--accent-1, #B01828); border: 2px solid var(--wp--preset--color--accent-1, #B01828);
}
.rs-cookies__btn:hover, .rs-cookies__btn:focus-visible { background: #8A1220; border-color: #8A1220; }
.rs-cookies__btn--ghost { color: #111; background: #fff; border-color: #111; }
.rs-cookies__btn--ghost:hover, .rs-cookies__btn--ghost:focus-visible { color: #fff; background: #111; border-color: #111; }
.rs-cookies__btn:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
@media (max-width: 600px) {
	.rs-cookies { right: 1rem; max-width: none; }
	.rs-cookies__btns { width: 100%; }
	.rs-cookies__btn { flex: 1 1 0; }
}
