/* Bandeau « Commandes ouvertes » sous l'en-tête (site.js, initBanner) : visible seulement si une campagne est ouverte.
   Collé sous l'en-tête quand on défile, sur toutes les pages. Croix à gauche pour le fermer. */
.som-ban{display:none; position:sticky; top:70px; z-index:48; background:#3C5A54; color:#F7F3EC; font-family:'Jost', system-ui, sans-serif; font-size:13px; white-space:nowrap;}
.som-ban b{font-weight:500; letter-spacing:1.5px; text-transform:uppercase; font-size:12px;}
.som-ban .sb-cue{color:#E3A977;}
.som-ban svg{position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none;}
.som-ban svg path{fill:none; stroke:#E3A977; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round;}
.som-ban-d{height:52px; align-items:center;}
.som-ban-d .sb-msg{flex:1; text-align:center; padding:0 20px; line-height:18px; white-space:normal;}
.som-ban-d .sb-msg b, .som-ban-d .sb-until{display:inline-block; white-space:nowrap;}
.som-ban-d .sb-until{margin-left:6px;}
.som-ban-d .sb-cue{flex:none;}
.som-ban .sb-nocue .sb-cue, .som-ban.sb-nocue .sb-cue{display:none;}
.som-ban-m{padding:12px 26px; line-height:18px; flex-direction:row; align-items:center; justify-content:space-between;}
.som-ban-m .sb-msg{flex:1; text-align:center; white-space:normal;}
.som-ban-m .sb-msg b, .som-ban-m .sb-until{display:inline-block; white-space:nowrap;}
.som-ban-m .sb-until{margin-left:6px;}
.som-ban-m:not(.sb-nocue) .sb-msg{flex:none; text-align:left;}
.som-ban-m:not(.sb-nocue) .sb-msg b, .som-ban-m:not(.sb-nocue) .sb-until{display:block; margin-left:0;}
.som-ban-m .sb-cue{margin-left:22px; text-align:right; white-space:nowrap;}
.som-ban-m:not(.sb-nocue){justify-content:flex-start;}
.som-ban-m:not(.sb-nocue) .sb-cue{position:absolute; top:50%; transform:translateY(-50%); margin:0;}
@media (min-width:481px) and (max-width:934px){ .som-ban-m{padding-left:calc((100vw - 480px)/2 + 26px); padding-right:calc((100vw - 480px)/2 + 26px);} }
body.som-ban-on .som-ban{display:flex;}
.som-ban .sb-x{position:absolute; top:50%; left:14px; transform:translateY(-50%); z-index:2; width:32px; height:32px; border:none; background:none; cursor:pointer; color:#EFE9DD; font-size:22px; line-height:1; padding:0; font-family:'Jost', system-ui, sans-serif; transition:color .15s;}
.som-ban-m .sb-x{left:2px;}
.som-ban .sb-x:hover{color:#E3A977;}


/* Page défilée : l'ombre de l'en-tête passe sous le bandeau (c'est lui le bas de l'ensemble). Bandeau fermé : l'ombre revient à l'en-tête. */
.scrolled .som-ban { box-shadow: 0 3px 12px rgba(38, 53, 49, .28); } /* un peu plus marquée que celle de l'en-tête seul (.12), sinon invisible sous le bandeau vert */
.scrolled body.som-ban-on .v-d [style*="height:96px"], .scrolled body.som-ban-on .v-m [style*="height:72px"] { box-shadow: none; }
