/* Module AutoProgFrance — contenu de la bande supérieure uniquement. */
@media (min-width: 768px) {
  /* L'ancien lien « Contact us » reste actif, mais masqué tant que le module l'est. */
  #header .header-top #_desktop_contact_link {
    display: none !important;
  }

  #header .header-top__left {
    flex: 0 0 60%;
    max-width: 60%;
  }

  #header .header-top__right {
    flex: 0 0 40%;
    max-width: 40%;
  }

  #header .header-top .apf-trustbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
  }

  #header .header-top .apf-trustbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f8fafc !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
  }

  #header .header-top .apf-trustbar__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: #39b6ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #header .header-top .apf-trustbar__item:nth-child(3) {
    display: none;
  }

  /* Le compteur blanc doit afficher un chiffre bleu foncé lisible. */
  #header .header-top .header-block__badge,
  #header .header-top .cart-products-count {
    color: #172033 !important;
    background-color: #f8fafc !important;
  }
}

@media (min-width: 1200px) {
  #header .header-top__left {
    flex: 0 0 72%;
    max-width: 72%;
  }

  #header .header-top__right {
    flex: 0 0 28%;
    max-width: 28%;
  }

  #header .header-top .apf-trustbar {
    gap: clamp(16px, 2vw, 32px);
  }

  #header .header-top .apf-trustbar__item {
    font-size: 13px;
  }

  #header .header-top .apf-trustbar__item:nth-child(3) {
    display: inline-flex;
  }
}
