  /* Barre fixee en haut au defilement. L'en-tete du site est lui aussi
     collant : on le decale de la hauteur reelle de la barre, mesuree en JS,
     pour qu'ils s'empilent au lieu de se superposer. */
  /* Un element collant ne depasse jamais son parent : c'est donc le conteneur
     de la section (barre + en-tete) qu'on epingle, pas la barre seule. */
  #shopify-section-{{ section.id }} { position: sticky; top: 0; z-index: 70; }
  .trustbar--marquee { background: var(--navy); color: #fff; overflow: hidden; }
  .site-header { position: static; }
  .trustbar--marquee .tb-track {
    display: flex; width: max-content;
    animation: tb-scroll 34s linear infinite;
  }
  .trustbar--marquee:hover .tb-track { animation-play-state: paused; }
  .trustbar--marquee .tb-seq { display: flex; align-items: center; padding: 10px 0; }
  .tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13.5px; }
  .tb-item b { font-weight: 700; }
  .tb-ico { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
  .tb-free { font-style: italic; color: var(--gold); font-weight: 700; }
  .tb-plus { font-size: 16px; font-weight: 700; opacity: .55; margin: 0 2px; }
  .tb-sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.32); margin: 0 26px; flex: 0 0 auto; }
  .tb-carrier { display: inline-flex; align-items: center; }
  .tb-carrier img { height: 20px; width: auto; display: block; }
  @keyframes tb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (max-width: 760px) {
    .trustbar--marquee .tb-seq { padding: 8px 0; }
    .tb-item { font-size: 12.5px; gap: 7px; }
    .tb-sep { margin: 0 18px; }
    .tb-carrier img { height: 19px; }
    .trustbar--marquee .tb-track { animation-duration: 26s; }
  }
  @media (prefers-reduced-motion: reduce) {
    .trustbar--marquee .tb-track { animation: none; }
    .trustbar--marquee { overflow-x: auto; }
  }
  /* ── Tiroir mobile : hierarchie nette, tailles homogenes ────────── */
  .mobile-menu { background: var(--navy); color: #fff; display: flex; flex-direction: column; }

  .mobile-menu__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); flex: 0 0 auto;
  }
  .mobile-menu__brand { display: flex; align-items: center; }
  .mobile-menu__brand svg, .mobile-menu__brand img { height: 26px; width: auto; }
  .mobile-menu button.mobile-menu__close {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.08); border: 0; border-radius: 999px;
    color: #fff; font-family: inherit; font-size: 13px; font-weight: 600;
    line-height: 1; letter-spacing: .01em;
    padding: 0 13px 0 10px; cursor: pointer; min-height: 34px;
  }
  .mobile-menu button.mobile-menu__close svg {
    width: 13px; height: 13px; transform: rotate(180deg); flex: 0 0 auto;
  }
  .mobile-menu .mobile-menu__brand img { height: 26px; width: auto; display: block; }

  .mobile-menu__nav { flex: 1 1 auto; overflow-y: auto; padding: 6px 0 10px; }

  .mm-title {
    margin: 16px 18px 6px; font-size: 10.5px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  }

  .mm-item {
    display: flex; align-items: center; gap: 13px;
    min-height: 56px; padding: 8px 18px; color: #fff; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .mm-item:active { background: rgba(255,255,255,.06); }
  .mm-ic {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.07); color: var(--gold);
  }
  .mm-ic svg { width: 17px; height: 17px; }
  .mm-label {
    flex: 1; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.25;
    display: flex; flex-direction: column; gap: 2px;
  }
  .mm-label small { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.55); }
  .mm-go { flex: 0 0 auto; display: flex; color: rgba(255,255,255,.35); }
  .mm-go svg { width: 15px; height: 15px; }

  .mobile-menu__foot {
    flex: 0 0 auto; padding: 14px 18px calc(16px + var(--safe-b));
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-menu__foot .btn-alert {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; min-height: 52px; border-radius: 999px;
    background: var(--red); color: #fff; border: 0;
    font-size: 16px; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  }
  .mobile-menu__foot .btn-alert svg { width: 18px; height: 18px; }
  .mobile-menu__disc {
    margin: 11px 0 0; text-align: center; font-size: 11.5px;
    color: rgba(255,255,255,.45); line-height: 1.4;
  }
  .cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; }
  .cart-count {
    position: absolute; top: -5px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--red); color: #fff;
    font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
    font-variant-numeric: tabular-nums;
  }
  .cart-count[hidden] { display: none; }

/* Centrage réel du logo dans l'en-tête. « margin-inline:auto » ne centre que
   dans l'espace libre entre le burger et le bloc panier, dont les largeurs
   diffèrent : le logo se décalait donc vers la droite. Un positionnement
   absolu le cale sur l'axe du header, quels que soient ses voisins. */
@media (max-width: 900px) {
	.site-header .header-inner { position: relative; }

	.site-header .brand {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		margin-inline: 0;
	}

	/* La place libérée revient aux éléments latéraux. */
	.site-header .h-right { margin-left: auto; }
}
