/* WebARTing WP Plugins v2.7.3 — header cart position and icon-only appearance.
   Deliberately does not modify floating cart, drawer, checkout or cart data. */

/* Put the cart before the brand at the very left of the header. */
body.wa-store-v271 .topbar {
  justify-content: flex-start;
}
body.wa-store-v271 .topbar > .brand {
  margin-right: auto;
}

/* The trigger is a semantic button for keyboard/accessibility, but visually an icon only. */
body.wa-store-v271 .topbar > .wa-cart-menu-trigger {
  order: -1;
  flex: 0 0 40px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  min-width: 40px;
  height: 42px;
  min-height: 42px;
  padding: 8px;
  margin: 0 5px 0 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f4f9ff;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
body.wa-store-v271 .topbar > .wa-cart-menu-trigger:hover,
body.wa-store-v271 .topbar > .wa-cart-menu-trigger:focus-visible {
  color: #93e5ff;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.wa-store-v271 .topbar > .wa-cart-menu-trigger:focus-visible {
  outline: 2px solid #93e5ff;
  outline-offset: 2px;
}
body.wa-store-v271 .topbar > .wa-cart-menu-trigger svg {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}
body.wa-store-v271 .topbar > .wa-cart-menu-trigger .wa-cart-counter {
  top: 0;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  font-size: 9px;
  border-width: 1px;
}

/* Up to tablet width, avoid the old desktop trigger's added right margin. */
@media (max-width: 800px) {
  body.wa-store-v271 .topbar > .wa-cart-menu-trigger {
    margin: 0 5px 0 0;
    padding: 8px;
  }
}

/* Existing narrow-screen header is a three-column grid. Preserve its grid areas. */
@media (max-width: 680px) {
  body.wa-store-v271 .topbar {
    justify-content: initial;
  }
  body.wa-store-v271 .topbar > .brand {
    margin-right: 0;
  }
  body.wa-store-v271 .topbar > .wa-cart-menu-trigger {
    order: 0;
    grid-area: account;
    justify-self: end;
    margin: 0 48px 0 0;
    width: 40px;
    min-width: 40px;
    min-height: 42px;
    z-index: 2;
  }
  /* Checkout/customer pages do not have a separate mobile account icon. */
  body.wa-store-v271.wa-store-account-head .topbar > .wa-cart-menu-trigger {
    margin-right: 0;
  }
}
