/* Framework 1.1.7: basket and account icons in the main navigation */
.site-menu__shop {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 8px;
}

.site-menu__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  text-decoration: none;
  transition: color .3s;
}

.site-menu__icon:hover,
.site-menu__icon:focus {
  color: #E85D41;
}

.site-menu__icon:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.site-menu__icon-svg {
  display: block;
  width: 22px;
  height: 22px;
}

.site-menu__basket-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9999px;
  background-color: #E85D41;
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 17px;
  text-align: center;
}

.site-menu__basket-count.is-empty {
  display: none;
}

.site-menu__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop: sit at the right-hand end of the links, before Donate */
@media (min-width: 1025px) {
  .site-menu__shop {
    margin-left: 0;
    padding-left: 0;
    margin-right: 8px;
  }
}

/* Small phones: tighten so logo, icons and the menu button fit */
@media (max-width: 400px) {
  .site-menu__shop {
    padding-left: 0;
  }
  .site-menu__icon {
    width: 34px;
  }
}

/* Very narrow phones: account moves into the mobile menu */
.site-mobileMenu__account {
  display: none;
}

@media (max-width: 359px) {
  .site-menu__account {
    display: none;
  }
  .site-mobileMenu__account {
    display: flex;
  }
}
