/*
 * Thème clair (07/11/2026, demande de Kevin) : PAR DÉFAUT depuis le 07/11 au soir (header.php pose data-theme="clair") ; chaque visiteur peut repasser en sombre
 * avec le bouton soleil / lune de l'en-tête (choix gardé dans son navigateur, voir exomori.js et header.php).
 * Tout est rangé sous html[data-theme="clair"] : sans ce réglage, cette feuille ne change rien.
 * Les couleurs des photos de figurines ne sont jamais retouchées.
 */
html[data-theme="clair"] {
	color-scheme: light;
	--fond: #f3f3f5;
	--carte: #ffffff;
	--surface: #eceef2;
	--bordure: #dcdfe6;
	--bordure-carte: #c3c8d3;
	--ligne: color-mix(in srgb, var(--jaune) 30%, transparent);
	--texte: #17181d;
	--texte-2: #555a68;
	--creme: #17181d;
	--titre: #121318;
	/* Accent plus foncé pour le texte sur fond clair (le carmin clair est trop pâle sur du blanc). */
	--jaune-clair: color-mix(in srgb, var(--jaune) 82%, #000);
	--promo-texte: #c4121d;
	--nouv-texte: #0b6fb3;
	--dem-texte: #6b45d6;
	--pre-texte: #6b45d6;
	--logo-mori: #17181d;
	--vermillon: #d2401f;
}
html[data-theme="clair"] body { background: var(--fond); color: var(--texte); }

/* ========== Règles générées depuis les feuilles du site (couleurs claires écrites en dur) ========== */
html[data-theme="clair"] .exo-recherche { background: rgba(20, 22, 30, 0.054); border: 1px solid rgba(20, 22, 30, 0.144); box-shadow: inset 0 1px 0 rgba(20, 22, 30, 0.09), 0 6px 20px rgba(0, 0, 0, .35); }
html[data-theme="clair"] .exo-recherche:focus-within { background: rgba(20, 22, 30, 0.081); }
html[data-theme="clair"] .exo-recherche input::placeholder { color: rgba(23, 24, 29, 0.62); }
html[data-theme="clair"] .exo-icone__lbl { color: var(--texte-2); }
html[data-theme="clair"] .term-description { color: var(--texte-2); }
html[data-theme="clair"] .exo-carte__media { background: var(--surface); }
html[data-theme="clair"] .exo-carte__prix, html[data-theme="clair"] .exo-main ul.products li.product .exo-carte__prix { color: var(--texte); }
html[data-theme="clair"] .exo-carte__prix ins { color: var(--texte); }
html[data-theme="clair"] .exo-prix-devis { color: #5c517f; }
html[data-theme="clair"] .woocommerce-error::before { color: color-mix(in srgb, var(--rouge) 52%, #000) !important; }
html[data-theme="clair"] .exo-encadre__titre { color: #6d6963; }
html[data-theme="clair"] .exo-encadre__texte { color: #6e6963; }
html[data-theme="clair"] .exo-encadre .exo-ico { color: #746f69; }
html[data-theme="clair"] .exo-garantie .exo-ico { color: color-mix(in srgb, var(--bleu) 52%, #000); }
html[data-theme="clair"] .exo-pied nav a { color: var(--texte-2); }
html[data-theme="clair"] .exo-fiche__serie { color: var(--texte-2); }
html[data-theme="clair"] .exo-fiche__version svg { box-shadow: 0 0 0 1px rgba(20, 22, 30, 0.135); }
html[data-theme="clair"] .exo-fiche__devis { color: #5c517f; }
html[data-theme="clair"] .exo-stock-faible { color: #7f3d38; }
html[data-theme="clair"] .exo-stock-faible span { box-shadow: 0 0 0 3px rgba(255, 77, 77, .2); }
html[data-theme="clair"] .exo-encart { background: rgba(20, 22, 30, 0.018); }
html[data-theme="clair"] .exo-fiche__atouts li { color: var(--texte-2); }
html[data-theme="clair"] .exo-texte { color: var(--texte-2); }
html[data-theme="clair"] .exo-demande-encart { color: var(--texte-2); }
html[data-theme="clair"] .exo-demande__erreur { color: #7f3d38; }
html[data-theme="clair"] .exo-statut--processing, html[data-theme="clair"] .exo-statut--completed { color: #1a7045; }
html[data-theme="clair"] .exo-statut--cancelled, html[data-theme="clair"] .exo-statut--refunded, html[data-theme="clair"] .exo-statut--failed { color: #7f3d38; background: rgba(255, 77, 77, .12); }
html[data-theme="clair"] .woocommerce-orders-table .woocommerce-button.annuler-preco { color: #7f4d49; border-color: rgba(255, 77, 77, .6); }
html[data-theme="clair"] .exo-encart--erreur { color: #7f5956; background: rgba(255, 77, 77, .06); border-color: rgba(255, 77, 77, .5); }
html[data-theme="clair"] .exo-liv__prix strong.exo-offert { color: #1a7045; }
html[data-theme="clair"] .exo-offert { color: #1a7045; }
html[data-theme="clair"] .exo-barre-livraison.is-atteint strong { color: #1a7045; }
html[data-theme="clair"] .exo-univers-carte__img { background: var(--surface); }
html[data-theme="clair"] .exo-sm__img { background: var(--surface); }
html[data-theme="clair"] .exo-fiche__officiel { color: #3f7154; }
html[data-theme="clair"] .exo-alerte-univers__ok { color: #3f7154; }
html[data-theme="clair"] .exo-alerte-univers__err { color: color-mix(in srgb, var(--rouge) 52%, #000); }
html[data-theme="clair"] .exo-fiche__pastille--ap { color: #47687f; }
html[data-theme="clair"] .exo-carte__ap { color: #47687f; }
html[data-theme="clair"] .exo-avant-premiere__titre { color: #47687f !important; }
html[data-theme="clair"] .exo-carte .exo-btn--prevenir, html[data-theme="clair"] .exo-carte .exo-btn--prevenir:hover { color: #7f4040; }
html[data-theme="clair"] .exo-carte .exo-btn--prevenir:hover { background: rgba(255, 77, 77, .1); }
html[data-theme="clair"] .exo-fav.is-actif, html[data-theme="clair"] .exo-fav.is-actif:hover { border-color: rgba(255, 77, 77, .7); }
html[data-theme="clair"] .exo-prevenir { background: rgba(255, 77, 77, .06); border: 1px solid rgba(255, 77, 77, .45); }
html[data-theme="clair"] .exo-prevenir__titre { color: #7f4040; }
html[data-theme="clair"] .exo-prevenir__ligne .exo-btn { color: #7f4040; }
html[data-theme="clair"] .exo-prevenir__ligne .exo-btn:hover { background: rgba(255, 77, 77, .12); }
html[data-theme="clair"] .exo-prevenir__ok { color: #7f4040; }
html[data-theme="clair"] .exo-coin--epuise { background: var(--surface); }
html[data-theme="clair"] .exo-carte__dispo { color: #1a7045; }
html[data-theme="clair"] body.motif-trame::before { background: radial-gradient(rgba(20, 22, 30, 0.045) 1px, transparent 1.5px) 0 0 / 14px 14px; }
html[data-theme="clair"] body.motif-hachures::before { background: repeating-linear-gradient(135deg, rgba(20, 22, 30, 0.027) 0 1px, transparent 1px 14px); }
html[data-theme="clair"] body.motif-vitesse::before { background: repeating-conic-gradient(from 0deg at 50% -20%, rgba(20, 22, 30, 0.032) 0deg .5deg, transparent .5deg 3deg); }
html[data-theme="clair"] .exo-profil__changer { color: var(--texte); }
html[data-theme="clair"] .exo-profil__rang { background: rgba(20, 22, 30, 0.045); }
html[data-theme="clair"] .exo-mdp li.is-ok { color: #1a7045; }
html[data-theme="clair"] .exo-pied__garanties .exo-ico { color: color-mix(in srgb, var(--bleu) 52%, #000); }
html[data-theme="clair"] .exo-aime:hover { border-color: rgba(255, 77, 109, .5); }
html[data-theme="clair"] .exo-aime.is-aime { border-color: rgba(255, 77, 109, .55); }
html[data-theme="clair"] .exo-cc__liste { background: var(--surface, rgba(20, 22, 30, 0.036)); }
html[data-theme="clair"] .exo-cmd__photo b { color: var(--texte); }
html[data-theme="clair"] .exo-faq__rubrique h2 { color: color-mix(in srgb, var(--c, var(--texte)) 52%, #000); }
html[data-theme="clair"] .exo-faq__rubrique .exo-faq__q summary:hover { color: color-mix(in srgb, var(--c, var(--jaune-clair)) 52%, #000); }
html[data-theme="clair"] .exo-faq__sommaire a:hover { color: color-mix(in srgb, var(--c, var(--texte)) 52%, #000); }
html[data-theme="clair"] .exo-carte__dispo--demande { color: color-mix(in srgb, var(--dem-b) 52%, #000); }
html[data-theme="clair"] .exo-carte__dispo--preco { color: color-mix(in srgb, var(--pre-b) 52%, #000); }
html[data-theme="clair"] .exo-zoom__fermer, html[data-theme="clair"] .exo-zoom__prec, html[data-theme="clair"] .exo-zoom__suiv { color: var(--texte); border: 1px solid rgba(20, 22, 30, 0.162); }
html[data-theme="clair"] .exo-zoom__compteur { color: rgba(23, 24, 29, 0.75); }
html[data-theme="clair"] .exo-panier__etat { color: #1a7045; }
html[data-theme="clair"] .exo-panier__etat--precommande { color: color-mix(in srgb, var(--pre-a, var(--jaune)) 52%, #000); }
html[data-theme="clair"] .exo-panier__etat--sur-demande { color: color-mix(in srgb, var(--dem-a, #ff9f43) 52%, #000); }
html[data-theme="clair"] .exo-panier__prix ins .amount { color: color-mix(in srgb, var(--promo, #ff5c70) 52%, #000); }
html[data-theme="clair"] .exo-melange__sur { color: color-mix(in srgb, var(--pre-a, var(--jaune)) 52%, #000); }
html[data-theme="clair"] .exo-melange__liste li.is-preco em { color: color-mix(in srgb, var(--pre-a, var(--jaune)) 52%, #000); }
html[data-theme="clair"] .exo-melange__liste li.is-demande em { color: color-mix(in srgb, var(--dem-a, #a78bfa) 52%, #000); }
html[data-theme="clair"] .exo-relais { background: rgba(20, 22, 30, 0.027); }
html[data-theme="clair"] .exo-cc__design input:checked + img { box-shadow: 0 0 0 3px rgba(20, 22, 30, 0.054), 0 6px 20px rgba(0, 0, 0, .4); }
html[data-theme="clair"] .exo-panier-vide__lien.is-preco { color: color-mix(in srgb, var(--pre-b) 52%, #000); }
html[data-theme="clair"] .exo-panier-vide__lien.is-demande { color: color-mix(in srgb, var(--dem-a) 52%, #000); }
html[data-theme="clair"] .exo-panier-vide__lien.is-promo { color: color-mix(in srgb, var(--rouge-tag) 52%, #000); }
html[data-theme="clair"] .exo-prevenir-arrivee > summary .exo-ico { color: color-mix(in srgb, var(--pre-b, var(--jaune)) 52%, #000); }
html[data-theme="clair"] .exo-prevenir__reassort { background: rgba(20, 22, 30, 0.045); }
html[data-theme="clair"] .exo-sans-compte svg { color: #1a7045; }
html[data-theme="clair"] .exo-encart__urgence b { color: color-mix(in srgb, var(--pre-b) 52%, #000); }
html[data-theme="clair"] .exo-suggest__st--preco { color: color-mix(in srgb, var(--pre-b, #ffd23f) 52%, #000); }
html[data-theme="clair"] .exo-suggest__st--stock { color: #176b3d; }
html[data-theme="clair"] .exo-suggest a:hover, html[data-theme="clair"] .exo-suggest a.is-choisi { background: rgba(20, 22, 30, 0.063); }
html[data-theme="clair"] .exo-economie th, html[data-theme="clair"] .exo-economie td { color: #1a7045; }
html[data-theme="clair"] .exo-mode__urgence b { color: color-mix(in srgb, var(--m-txt) 52%, #000); }
html[data-theme="clair"] .exo-mode__garantie .exo-encart__ico { color: color-mix(in srgb, var(--m-txt) 52%, #000); }
html[data-theme="clair"] .exo-fiche__paiement > span .exo-ico { color: #1e6e42; }
html[data-theme="clair"] .exo-sorties__statut.is-ouvert { color: #1a7045; }
@media (max-width: 600px) { html[data-theme="clair"] .exo-vedette__statut { color: color-mix(in srgb, var(--c) 52%, #000); } }
@media (max-width: 600px) { html[data-theme="clair"] .exo-vedettes__points i { background: rgba(20, 22, 30, 0.225); } }
/* 08/11/2026 : logos d'univers (souvent blancs) : fond sombre gardé en clair, voir plus bas. */
html[data-theme="clair"] .exo-chat__statut { color: rgba(23, 24, 29, 0.78); }
html[data-theme="clair"] .exo-chat__statut.is-enligne { color: #47785e; }
html[data-theme="clair"] .exo-chat__fermer { color: var(--texte); background: rgba(20, 22, 30, 0.09); }
html[data-theme="clair"] .exo-chat__fermer:hover { background: rgba(20, 22, 30, 0.18); }
html[data-theme="clair"] .exo-chat__erreur { color: #7f4540; }
html[data-theme="clair"] .exo-bienvenue__txt span { color: var(--texte-2); }
html[data-theme="clair"] .exo-bienvenue__copier { color: var(--texte-2); }
html[data-theme="clair"] .exo-bienvenue__code.is-copie .exo-bienvenue__copier { color: #1a7045; }

/* ========== Corrections à la main ========== */
html[data-theme="clair"] .exo-entete { background: #ffffff; border-bottom: 1px solid var(--bordure); }
html[data-theme="clair"] .exo-entete.is-colle { box-shadow: 0 8px 22px rgba(20, 22, 30, .12); }

/* ---------- Boutons blancs : sur fond clair ils deviennent noirs (même forme carrée) ---------- */
html[data-theme="clair"] .boutons-blancs .exo-btn:not(.exo-btn--contour):not(.exo-btn--ghost):not(.exo-btn--prevenir),
html[data-theme="clair"] .boutons-blancs.woocommerce a.button, html[data-theme="clair"] .boutons-blancs .woocommerce a.button,
html[data-theme="clair"] .boutons-blancs .woocommerce button.button, html[data-theme="clair"] .boutons-blancs .woocommerce input.button,
html[data-theme="clair"] .boutons-blancs .woocommerce a.button.alt, html[data-theme="clair"] .boutons-blancs .woocommerce button.button.alt,
html[data-theme="clair"] .boutons-blancs .woocommerce #respond input#submit,
html[data-theme="clair"] .boutons-blancs .wp-element-button, html[data-theme="clair"] .boutons-blancs .wc-block-components-button:not(.is-link) {
	background: linear-gradient(180deg, #23252d, #121318);
	color: #ffffff;
}
html[data-theme="clair"] .boutons-blancs .woocommerce button.button:disabled, html[data-theme="clair"] .boutons-blancs .woocommerce button.button.disabled,
html[data-theme="clair"] .boutons-blancs .woocommerce input.button:disabled, html[data-theme="clair"] .boutons-blancs .woocommerce a.button.disabled { color: #ffffff; }
html[data-theme="clair"] body.boutons-blancs .exo-btn.loading::before { border-color: #ffffff transparent #ffffff transparent; }

/* ---------- Cartes produit et vignettes : fond blanc derrière les photos ---------- */
html[data-theme="clair"] .exo-carte__media,
html[data-theme="clair"] .exo-univers-carte__img,
html[data-theme="clair"] .exo-sm__img { background: #ffffff; }
html[data-theme="clair"] .exo-carte { box-shadow: 0 1px 2px rgba(20, 22, 30, .06); }

/* ---------- Taille (règle et socle) ---------- */
html[data-theme="clair"] .exo-taille__regle { fill: #eceef2; }
html[data-theme="clair"] .exo-taille__socle { fill: #c3c8d3; }

/* ---------- Ombres trop marquées pensées pour le noir ---------- */
html[data-theme="clair"] .exo-suggest { box-shadow: 0 18px 40px rgba(20, 22, 30, .18); }

/* ---------- Bouton soleil / lune : soleil en sombre (passer en clair), lune en clair (repasser en sombre) ---------- */
.exo-icone--theme { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: var(--texte); }
.exo-icone--theme .exo-theme__soleil, .exo-icone--theme .exo-theme__lune { display: grid; place-items: center; }
.exo-icone--theme .exo-theme__lune { display: none; }
html[data-theme="clair"] .exo-icone--theme .exo-theme__lune { display: grid; }
html[data-theme="clair"] .exo-icone--theme .exo-theme__soleil { display: none; }
.exo-icone--theme:focus-visible { outline: 2px solid var(--jaune); outline-offset: 4px; border-radius: 6px; }

/* ---------- Bande menu : reste bleu nuit, texte blanc ---------- */
html[data-theme="clair"] .exo-bande, html[data-theme="clair"] .exo-bande .exo-menu__liste > li > a { color: #ffffff; }
/* Cadre « Promotions » : garde le texte prévu pour sa couleur (foncé sur le jaune fluo). */
html[data-theme="clair"] .exo-bande .exo-menu__liste > li.exo-promo > a { color: var(--sur-promo, #fff); }
html[data-theme="clair"] .exo-bande__infos { color: var(--texte-2); }

/* ---------- Disponibilités des cartes : vert, violet et jaune foncés pour rester lisibles sur blanc ---------- */
html[data-theme="clair"] .exo-carte__dispo { color: #13824a; }
html[data-theme="clair"] .exo-carte__dispo--clos { color: var(--texte-2); }

/* ---------- Sections volontairement sombres (bannière d'accueil, « Collectionnez autrement ») :
   on y garde les couleurs du thème sombre pour que tout reste lisible. ---------- */
html[data-theme="clair"] .exo-heros,
html[data-theme="clair"] .exo-coll {
	--texte: #f5f6ff; --texte-2: #b0b3c3; --titre: #f7f0e5; --creme: #f7f0e5;
	--carte: #1a1c22; --surface: #22252d; --bordure: #2b2e38; --bordure-carte: #3d4252;
	--jaune-clair: #d86875;
	color: var(--texte);
}
html[data-theme="clair"] .exo-coll .boutons-blancs .exo-btn:not(.exo-btn--contour), html[data-theme="clair"] .boutons-blancs .exo-coll .exo-btn:not(.exo-btn--contour):not(.exo-btn--ghost),
html[data-theme="clair"] .boutons-blancs .exo-heros .exo-btn:not(.exo-btn--contour):not(.exo-btn--ghost) { background: linear-gradient(180deg, #ffffff, #e4e8f5); color: #0b1030; }

/* ---------- Pied de page : liens un peu plus foncés ---------- */
html[data-theme="clair"] .exo-pied nav a { color: #3f4350; }
html[data-theme="clair"] .exo-pied nav a:hover { color: var(--jaune); }

/* ---------- Pastilles de raccourcis (accueil sur téléphone) : texte de la couleur foncée ---------- */
html[data-theme="clair"] .exo-raccourci { color: color-mix(in srgb, var(--c) 50%, #000); }

/* ---------- 08/11/2026 (Kevin) : logos d'univers ----------
   Beaucoup de logos de licences sont blancs (dessinés pour le thème sombre) : sur fond blanc ils disparaissaient
   (≈ 90 sur 261). Leurs tuiles gardent donc le fond graphite, en clair comme en sombre. */
html[data-theme="clair"] .exo-univers-carte--logo .exo-univers-carte__img,
html[data-theme="clair"] .exo-sm__img--logo, /* menu déroulant : Univers, Kits à monter (Gunpla, Blokees…) */
html[data-theme="clair"] .exo-vedette__img--logos { background: radial-gradient(circle at 50% 45%, #2b2e38, #111216 75%); }
html[data-theme="clair"] .exo-fiche__licence { padding: 8px 12px; border-radius: 8px; background: #17181d; }

/* ---------- 08/11/2026 : contrôle de lisibilité du thème clair (toutes les pages, panier, commande) ---------- */
/* Panier : croix « retirer » et « Vider le panier » en rouge clair (#ff6b6b) illisibles sur fond clair. */
html[data-theme="clair"] .woocommerce table.cart a.remove,
html[data-theme="clair"] .exo-panier a.remove,
html[data-theme="clair"] .woocommerce table.cart td.actions .exo-vider-panier,
html[data-theme="clair"] .exo-panier__actions .exo-vider-panier { color: #c4121d !important; }
html[data-theme="clair"] .exo-relais__erreur { color: #c4121d; }
/* Fiche produit : mention légale « 4x PayPal » (#8a8fa8) trop pâle sur fond blanc. */
html[data-theme="clair"] .exo-4x__legal summary,
html[data-theme="clair"] .exo-4x__legal p { color: var(--texte-2); }
/* Bandeau code de bienvenue : « Copier » sur fond gris. */
html[data-theme="clair"] .exo-bienvenue__copier { color: var(--texte); }

/* ---------- 10/11/2026 (Kevin) : menus déroulants de la bande (Figurines, Kits à monter, Univers…) ----------
   Le panneau gardait son fond bleu nuit écrit en dur (exomori.css) alors que le texte passe en foncé :
   « Blokees », « Pantasy », « Lumibricks »… étaient invisibles. Panneau blanc sur ordinateur (sur téléphone le menu
   est déjà à plat, sans fond). Les tuiles de logos gardent leur fond graphite (règle du 08/11 ci-dessus). */
@media (min-width: 990px) {
	html[data-theme="clair"] .exo-menu__liste .sub-menu {
		background: #ffffff;
		border-color: var(--bordure);
		box-shadow: 0 24px 50px rgba(17, 18, 22, .16), 0 0 0 1px rgba(17, 18, 22, .04) inset;
	}
	html[data-theme="clair"] .exo-menu__liste .sub-menu a:hover,
	html[data-theme="clair"] .exo-menu__liste .sub-menu .current-menu-item > a { color: var(--jaune); }
}
