/*!
 * 
 *   @bornfight/gocart v1.0.9
 *   
 * 
 *   Copyright (c) Bornfight (https://www.bornfight.com/)
 * 
 *   This source code is licensed under the MIT license found in the
 *   LICENSE file in the root directory of this source tree.
 *   
 */
.go-cart__modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 420px;
  height: 220px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
}
.go-cart__modal.is-open {
  opacity: 1;
  visibility: visible;
}
.go-cart__overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background-color: rgb(0 0 0 / 40%);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
}
.go-cart__overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.go-cart__drawer {
  position: fixed;
  top: 0;
  right: -480px;
  z-index: 40;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  backface-visibility: hidden;
}
.go-cart__drawer.is-open {
  transform: translateX(-480px);
}
.go-cart__drawer--left {
  right: auto;
  left: -480px;
}
.go-cart__drawer--left.is-open {
  transform: translateX(480px);
}
.go-cart__mini-cart {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  width: 480px;
  height: 480px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  cursor: auto;
  backface-visibility: hidden;
}
.go-cart__mini-cart.is-open {
  opacity: 1;
  visibility: visible;
}
.go-cart__empty {
  text-align: center;
  padding: 40px 0;
}
.go-cart__trigger {
  position: relative;
  cursor: pointer;
}
.go-cart__button {
  background: #000;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
}
.go-cart-modal {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.go-cart-modal__close {
  position: absolute;
  z-index: 10;
  right: 20px;
  top: 20px;
  line-height: 0;
  cursor: pointer;
}
.go-cart-modal__content {
  width: 100%;
  padding: 20px;
  text-align: center;
}
.go-cart-modal__buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
}
.go-cart-drawer {
  position: relative;
  height: 100%;
}
.go-cart-drawer__header {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px;
}
.go-cart-drawer__close {
  cursor: pointer;
  line-height: 0;
}
.go-cart-drawer__content {
  height: calc(100% - 280px);
  overflow: hidden;
  overflow-y: scroll;
  padding: 0 30px;
}
.go-cart-drawer__subtotal {
  align-items: center;
  height: 50px;
  padding: 0 30px;
}
.go-cart-drawer__footer,
.go-cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.go-cart-drawer__footer {
  flex-direction: column;
  height: 170px;
  padding: 20px 30px;
}
.go-cart-mini-cart {
  position: relative;
}
.go-cart-mini-cart__content {
  position: relative;
  height: 330px;
  overflow: hidden;
  overflow-y: scroll;
  padding: 0 30px;
}
.go-cart-mini-cart__subtotal {
  align-items: center;
  height: 50px;
  padding: 0 30px;
}
.go-cart-mini-cart__footer,
.go-cart-mini-cart__subtotal {
  display: flex;
  justify-content: space-between;
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.go-cart-mini-cart__footer {
  height: 100px;
  text-align: center;
  padding: 20px 30px;
}
.go-cart-item__single {
  position: relative;
  transition: all 0.3s ease-in-out;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}
.go-cart-item__info-wrapper {
  position: relative;
  display: flex;
}
.go-cart-item__info {
  max-width: 250px;
  line-height: 1.18;
  padding: 10px 10px 10px 30px;
}
.go-cart-item__image {
  width: 90px;
  height: 110px;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}
.go-cart-item__title {
  vertical-align: top;
}
.go-cart-item__variant {
  position: relative;
  top: 5px;
}
.go-cart-item__quantity {
  position: absolute;
  bottom: 10px;
  display: flex;
  align-items: center;
}
.go-cart-item__quantity-label {
  margin-right: 5px;
}
.go-cart-item__quantity-number {
  width: 30px;
  height: 24px;
  margin: 0;
  text-align: center;
  font-size: 1rem;
  color: #000;
  border: none;
  outline: none;
  appearance: textfield;
}
.go-cart-item__quantity-number::-webkit-inner-spin-button,
.go-cart-item__quantity-number::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
  display: none;
}
.go-cart-item__quantity-button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f5f5f5;
  font-size: 1rem;
  padding: 0 5px;
  margin: 0 2px;
  cursor: pointer;
  user-select: none;
}
.go-cart-item__price {
  position: absolute;
  bottom: 25px;
  right: 0;
}
.go-cart-item__remove {
  position: absolute;
  right: 0;
  top: 25px;
  cursor: pointer;
}
.go-cart-modal-item {
  position: relative;
  display: flex;
}
.go-cart-modal-item__info {
  max-width: 250px;
  padding: 10px 10px 10px 30px;
  line-height: 1.18;
}
.go-cart-modal-item__image {
  width: 90px;
  height: 110px;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}
.is-invisible {
  opacity: 0;
  visibility: hidden;
}
