/* Top bar 4 — the template's topbar-s3 (home-decor, home-headphone): country
   and language at the start, the messages between two arrows in the middle,
   the store's social accounts at the end. Measured at 1440px: 44px (9px
   above and below a 26px line), 16px text, white on #101010, in
   container-full (1800px, 15px sides); three bands 3 : 6 : 3, the arrows at
   the two ends of the middle band (from 1200px only), the message centred
   in it; country and language 24px apart; the social glyphs 20px, 20px
   apart. From 992px to 1199px the arrows go; below 992px only the message
   shows, across the bar. */
.amer-topbar--d4 > .amer-container { max-inline-size: 1800px; }
.amer-topbar--d4 .amer-topbar__row { min-block-size: 44px; padding-block: 9px; gap: 0; justify-content: center; }
.amer-topbar--d4 .amer-topbar__start,
.amer-topbar--d4 .amer-topbar__end { display: none; align-items: center; gap: 24px; flex: 1 1 0; min-inline-size: 0; }
.amer-topbar--d4 .amer-topbar__end { justify-content: flex-end; }
.amer-topbar--d4 .amer-topbar__messages { flex: 1 1 100%; min-inline-size: 0; justify-content: space-between; gap: 30px; }
.amer-topbar--d4 .amer-topbar__track { flex: 1 1 auto; }
.amer-topbar--d4 .amer-topbar__arrow { display: none; flex: none; }
.amer-topbar--d4 .amer-footer__social { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.amer-topbar--d4 .amer-footer__social li { display: flex; }
.amer-topbar--d4 .amer-footer__social a { display: inline-grid; place-items: center; inline-size: 20px; block-size: 20px; font-size: 20px; line-height: 1; color: inherit; transition: color .3s var(--amer-ease); }
.amer-topbar--d4 .amer-footer__social a:hover, .amer-topbar--d4 .amer-footer__social a:focus-visible { color: var(--amer-accent); }

@media (min-width: 992px) {
  .amer-topbar--d4 .amer-topbar__start,
  .amer-topbar--d4 .amer-topbar__end { display: flex; }
  .amer-topbar--d4 .amer-topbar__messages { flex: 0 0 50%; padding-inline: 7.5px; }
}
@media (min-width: 1200px) {
  .amer-topbar--d4 .amer-topbar__arrow { display: grid; }
  /* The glyphs sit on the band's two outer edges, as the template's. */
  .amer-topbar--d4 [data-amer-rotator-prev] { justify-items: start; }
  .amer-topbar--d4 [data-amer-rotator-next] { justify-items: end; }
  /* The message keeps the template's col-4 between the two col-1 arrow
     bands (450px at 1440px), so a long one is cut where the template's is. */
  .amer-topbar--d4 .amer-topbar__track { flex: 0 1 calc(66.6667% - 10px); }
}
