.visuallyhidden {
  display: none;
}

.shopify-buy__select-icon {
  display: none;
}

.shopify-buy-cart-wrapper.shopify-buy-frame.shopify-buy-frame--cart {
  max-width: none !important;
  width: 100vw !important;
  transition: none !important;
}

.shopify-buy__cart-bottom {
  display: flex;
  flex-direction: column;
}

.shopify-buy-frame--toggle {
  position: static !important;
  display: inline-block !important;
  font-family: 'Arial-Narrow', sans-serif;
  font-size: var(--font-size-large);
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1;
  text-align: right;
  transform: none !important;
  -webkit-transform: none !important;
}

.shopify-buy__cart-toggle {
  /* Un-reset by default -- the SDK's own CSS gives this a padded green
     pill (padding: 8px 10px, background, border-radius), which is what
     was actually throwing off alignment with the checkout button and
     subtotal price (both explicitly flush: padding:0, margin:0,
     line-height:1). Matching that here is what lines the three up. */
  padding: 0;
  margin: 0;
  min-width: 0;
  background: none;
  border-radius: 0;
  color: inherit;
  line-height: 1;
}

.shopify-buy__cart-toggle:hover {
    color: var(--link-hover);
}

.shopify-buy__icon-cart {
  display: none;
}

.shopify-buy--visually-hidden {
  display:none;
}

.shopify-buy__cart-toggle__count {
  cursor: pointer;
}

.shopify-buy__cart-toggle__count:before {
  content: "Cart (";
}

.shopify-buy__cart-toggle__count:after {
  content: ")";
}

.shopify-buy__cart {
  padding: var(--margin);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--cart-background-color);
  overflow-y: auto;
}

.shopify-buy__cart__header {
  position: fixed;
  height: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.shopify-buy__cart__title {
  display: none;
}

.shopify-buy__btn--close {
  display: flex;
  all: unset;
  font-family: 'Arial-Narrow', sans-serif;
  font-weight:inherit;
  position:fixed;
  top: var(--margin);
  right: var(--margin);
  width: min-content;
  max-width: calc(var(--margin) + 33%);
  background:none;
  border:none;
  line-height: 1;
  margin:0;
  padding:0;
  cursor: pointer;
  font-size: var(--font-size-large);
}

.shopify-buy__btn--close:focus {
  background:none;
  border:none;
  outline:0;
}

.shopify-buy__btn--close > * {
  display: none;
}

.shopify-buy__btn--close::after {
  content: "Continue shopping";
}


.shopify-buy__cart-items {
  list-style-type: none;
  padding: 0;
}

.shopify-buy__cart-item {
  margin-bottom: var(--vertical-gap);
  display: grid;
  max-width: 66%;
  grid-template-columns: 2fr 1fr 1fr 140px 1fr;
  grid-gap: var(--gap);
  align-items: start;
}

.shopify-buy__cart-item__ships-from {
  margin: 1em 0 0;
}

.shopify-buy__cart-item__image img {
  display: block;
  width: 100%;
}

.shopify-buy__quantity-container {
  display: flex;
  justify-content: space-between;
  margin: 0;
}


.shopify-buy__cart-item__quantity-input {
  flex: 1 1 auto;
  min-width: 0;
}

.shopify-buy__cart-item__price-and-discounts {
  margin: 0;
}

.shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {
  all: unset;
  font-family: 'Arial-Narrow', sans-serif;
  font-weight:inherit;
  font-size: inherit;
  background:none;
  border:none;
  padding: 0 0.25em 0 0;
  margin: 0;
}

.shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg {
  display: none;
}

.shopify-buy__quantity-decrement::after {
  content: "–";
}

.shopify-buy__quantity-decrement {
  order: 2;
}

.shopify-buy__quantity-increment::after {
  content: "+";
}

.shopify-buy__quantity-increment {
  order: 3;
}

/* Variants with 1 or 0 left in stock: a +/- stepper that can only ever
   land on 1 or 0 isn't a real choice, so only the decrement button (the
   part that already removes the item on click) stays, relabeled. */
.shopify-buy__quantity-container--single-stock .shopify-buy__quantity-increment,
.shopify-buy__quantity-container--single-stock .shopify-buy__cart-item__quantity-input {
  display: none;
}

.shopify-buy__quantity-container--single-stock .shopify-buy__quantity-decrement::after {
  content: "Remove";
}

.shopify-buy__quantity-container--single-stock {
  margin: 0 var(--margin) 0 0;
}





input {
  margin:0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.shopify-buy__cart__subtotal__text {
  display: none;
}

.shopify-buy__cart__subtotal__price {
  font-family: 'Arial-Narrow', sans-serif;
  position:fixed;
  bottom: var(--margin);
  left: var(--margin);
  margin:0;
  font-size: var(--font-size-large);
  line-height: 1;
}

.shopify-buy__cart__subtotal__price:before {
  content: "Subtotal";
  display: block;
}

.shopify-buy__cart__notice {
  display: none;
}

.shopify-buy__btn--cart-checkout {
  font-family: 'Arial-Narrow', sans-serif;
  position:fixed;
  bottom: var(--margin);
  right: var(--margin);
  line-height: 1;
  margin:0;
  padding:0;
  cursor: pointer;
  font-size: var(--font-size-large);
  color: inherit;
  text-align: left;
  background: none;
  border: none;
}

@media (max-width: 600px) {

  .shopify-buy-frame--toggle {
    width: auto;
  }

  .shopify-buy__cart-scroll {
    min-height: 100vh;
  }

  .shopify-buy__cart-item {
    grid-template-columns: 1fr;
  }

  .shopify-buy__cart-item__image img {
    max-width: 128px;
    max-height: 128px;
  }

  .shopify-buy__cart-empty-text {
    position:fixed;
    top: var(--margin);
    left: var(--margin);
  }

  .shopify-buy__btn--close {
    transform: translateY(-50%);
    top: 50%;
  }


}