/* Nexora : seuls ajouts au thème Cosmoplus (fond blanc, choix taille/couleur, guide des tailles). */
:root{--cm-page-background:#fff}
html,body{background:#fff}
.nx-option{margin:0 0 22px}
.nx-option-head{font-size:13px;margin-bottom:12px;display:flex;gap:6px;align-items:baseline}
.nx-option-head a{margin-left:auto;font-size:12px;text-decoration:underline;color:#777}
.nx-swatches{display:flex;gap:12px;flex-wrap:wrap}
.nx-swatch{width:30px;height:30px;border-radius:50%;background:var(--sw);box-shadow:0 0 0 3px #fff,0 0 0 4px #ddd}
.nx-swatch.is-active{box-shadow:0 0 0 3px #fff,0 0 0 5px #14110e}
.nx-size-options{display:flex;gap:10px;flex-wrap:wrap}
.nx-size-options button{min-width:58px;height:44px;border:1px solid #ddd;background:#fff;font:inherit;font-size:14px;cursor:pointer}
.nx-size-options button:hover{border-color:#14110e}
.nx-size-options button[aria-pressed=true]{background:#14110e;color:#fff;border-color:#14110e}
.nx-shake{animation:nxShake .4s}@keyframes nxShake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.field-error{color:#a33;font-size:12px;min-height:16px;margin:8px 0 0}
.nx-variant{display:flex;align-items:center;font-size:12px;color:#777}
.nx-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:6px}
.nx-old{color:#999;font-weight:400;font-size:.7em}
.nx-guide-table{overflow-x:auto;max-width:820px;margin:0 auto 45px}
.nx-guide-table table{width:100%;border-collapse:collapse;font-size:14px;min-width:500px}
.nx-guide-table th,.nx-guide-table td{padding:15px 12px;border-bottom:1px solid #e5e5e5;text-align:center}
.nx-guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1000px;margin:0 auto}
.nx-guide-steps article{background:#f5f5f5;padding:24px}
.nx-guide-steps h3{font-family:CM Serif,Georgia,serif;margin:8px 0}
.nx-guide-steps p{font-size:14px;line-height:1.7;margin:0}
.nx-guide-note{text-align:center;font-size:13px;color:#777;margin-top:28px}
@media(max-width:680px){.nx-guide-steps{grid-template-columns:1fr}}
.nx-editorials-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.nx-routines>a>div{width:100%}
@media(max-width:680px){.nx-editorials-two{grid-template-columns:1fr}}

/* Logo image */
.nx-logo{display:flex;align-items:center;line-height:0}
.nx-logo img{height:52px;width:auto;display:block}
.nx-logo-footer img{height:60px}
@media(max-width:900px){.nx-logo img{height:44px}}
@media(max-width:680px){.nx-logo img{height:36px}.nx-logo-footer img{height:48px}}

/* Barre de menu : plus de bloc coloré collé sous le header, liens centrés */
@media(min-width:901px){.cm-nav{justify-content:center!important;gap:clamp(8px,2.4vw,40px)!important}}
.cm-nav>a.cm-nav-featured{background:transparent!important;color:#8a5bb0!important;font-weight:700;padding:0 15px!important}
.cm-nav>a.cm-nav-featured:hover{text-decoration:underline}

/* Bouton mode sombre */
.nx-theme-toggle{display:grid;place-items:center}
.nx-theme-toggle svg{width:24px;height:24px}
.nx-theme-toggle .nx-sun{display:none}
html[data-theme=dark] .nx-theme-toggle .nx-sun{display:block}
html[data-theme=dark] .nx-theme-toggle .nx-moon{display:none}
html{transition:background-color .2s}
